@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&family=Italiana&display=swap');

:root {
  --ink: #15120E;
  --ink-soft: #3a342c;
  --muted: #8a8274;
  --line: #e6dfd3;
  --line-soft: #efe9dd;
  --paper: #FFFDFB;
  --cream: #F5F1EA;
  --gold: #B89968;
  --gold-deep: #8E744A;

  --display: "Cormorant Garamond", serif;
  --accent: "Italiana", serif;
  --sans: "Inter", system-ui, sans-serif;

  --max: 1440px;
  --gut: clamp(20px, 5vw, 80px);
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

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

/* UTILS */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.serif {
  font-family: var(--display);
  font-weight: 300;
}

.italic {
  font-family: var(--display);
  font-style: italic;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(9.6px);
  -webkit-backdrop-filter: blur(9.6px);
}

.btn.ghost:hover {
  background: var(--ink);
}

.btn.gold {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn.gold:hover {
  background: var(--gold);
  color: white;
}

/* SECTIONS */
section {
  padding: 120px 0;
  position: relative;
  overflow: hidden; /* Garante que animações internas não vazem lateralmente */
}

.bg-cream {
  background-color: var(--cream);
}

.bg-ink {
  background-color: var(--ink);
  color: var(--line);
}

/* SECTIONS HEADERS */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--accent);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-lede {
  font-family: var(--display);
  font-size: 20px;
  max-width: 700px;
  color: var(--ink-soft);
  font-style: italic;
}

/* NAV */
nav {
  height: 90px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(255, 253, 251, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  /* Aumentado para ficar sobre o overlay */
  border-bottom: 1px solid var(--line-soft);
}

nav.active {
  background: #FFFDFB;
  backdrop-filter: none;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  /* Maior que o nav */
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--ink);
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFDFB !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-menu-links a {
  font-family: var(--display);
  font-size: 32px;
  color: var(--ink);
  font-style: italic;
  /* Corrigido de text-transform */
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 50px;
}

.logo-img {
  height: 64px;
  /* Tamanho ajustável conforme necessário */
  width: auto;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-group a {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.nav-group a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-group a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

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

.nav-left {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
}



.nav-right {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}




.nav-links-sub {
  display: flex;
  gap: 40px;
}

.nav-cta {
  background: var(--ink) !important;
  color: white !important;
  border: none !important;
}

/* Botão específico do menu (mais compacto) */
.nav-inner .nav-cta {
  padding: 10px 20px !important;
  font-size: 11px !important;
}

.nav-cta:hover {
  background: var(--ink-soft) !important;
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  opacity: 0.4;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-switcher img {
  width: 24px;
  height: auto;
  display: block;
  border-radius: 2px;
  filter: grayscale(100%);
  transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.lang-switcher a:hover img,
.lang-switcher a.active img {
  filter: grayscale(0%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
}


.lang-switcher.mobile {
  margin: 40px 0 0;
  justify-content: center;
  gap: 30px;
}


.lang-switcher.mobile a {
  flex-direction: column;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  gap: 8px;
  opacity: 0.6;
}

.lang-switcher.mobile a.active {
  color: var(--gold);
  opacity: 1;
}

.lang-switcher.mobile img {
  width: 28px;
}


/* HERO SLIDER */
.hero.swiper {
  height: 100vh;
  width: 100%;
  border-bottom: 1px solid var(--line-soft);
}

.hero .swiper-slide {
  height: 100%;
  display: flex;
  align-items: flex-start; /* Alinha o conteúdo no topo do slide */
  position: relative;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
  width: 100%;

}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.3s;
  padding-top: 128px;       /* O espaço de 24px que você quer no topo */  
}

.swiper-slide-active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-family: var(--accent);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 30px;
  color: var(--ink);
}

.hero-subtitle {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

/* Pagination Custom */
.hero .swiper-pagination {
  bottom: 40px !important;
}

.hero .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--gold);
  opacity: 0.3;
  transition: 0.3s;
  border-radius: 50%;
}

.hero .swiper-pagination-bullet-active {
  opacity: 1;
  width: 40px;
  border-radius: 4px;
}

/* INSTITUTIONAL */
.inst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* SPLIT FULL-BLEED SECTION */
.split-section {
  padding: 0 !important;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0;
  padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  padding-right: var(--gut);
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Swiper para Distribuição */
.distribucionSwiper {
  width: 100%;
  height: 100%;
}

.distribucionSwiper .swiper-pagination-bullet {
  background: var(--gold);
  opacity: 0.3;
}

.distribucionSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.inst-text h2 {
  margin-bottom: 30px;
}

.inst-text p {
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 20px;
  color: var(--ink-soft);
}

/* DIFFERENTIALS */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.diff-item {
  padding: 40px;
  border: 1px solid var(--line);
  transition: 0.3s;
}

.diff-item:hover {
  border-color: var(--gold);
  background: var(--cream);
}

.diff-item h3 {
  font-family: var(--accent);
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.diff-item p {
  font-size: 14px;
  color: var(--muted);
}

/* BRAND SCROLLER */
.brand-scroller-track {
  background-color: var(--ink);
  padding: 0px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-scroller {
  display: flex;
  gap: 50px;
  /* Reduzi o gap para equilibrar com os dots */
  width: max-content;
  animation: scroll 65s linear infinite;
  align-items: center;
}

.scroller-dot {
  width: 5px;
  height: 5px;
  background-color: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}

.scroller-item {
  flex-shrink: 0;
}

.scroller-item img {
  height: 100px;
  width: auto;
  transition: all 0.4s ease;
}


@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.33%);
  }
}

/* MARCAS / CURADORIA */
.section-padded {
  padding: 120px 0;
}

.curadoria-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 100px;
}

.curadoria-content .eyebrow {
  margin-bottom: 25px;
}

.curadoria-content h2 {
  margin-bottom: 30px;
}

.curadoria-visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.curadoria-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 20px 20px 60px rgba(21, 18, 14, 0.08);
}

.brand-categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* BRANDS */
.brand-category {
  margin-bottom: 80px;
}

.brand-category h3 {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.brand-name {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 300;
}

/* AZHARE */
.azhare {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 140px 0;
}

.azhare .eyebrow {
  color: var(--gold);
  opacity: 0.8;
}

.azhare h2 {
  font-family: var(--accent);
  color: var(--paper);
  margin-bottom: 30px;
  font-size: clamp(48px, 8vw, 90px);
  font-weight: 300;
}

.azhare p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--line-soft);
  line-height: 1.4;
}

/* CONTACT */
.contact-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box h2 {
  font-size: 72px;
}

/* FOOTER PREMIUM */
footer {
  padding: 100px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--paper);
}

.footer-grid-premium {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.footer-logo-link {
  display: block;
  margin-bottom: 30px;
}

.footer-logo-img {
  height: 128px;
  width: auto;
  display: block;
}


.footer-sublogo {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}

.footer-address {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-title {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 30px;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.footer-payments {
  display: flex;
  gap: 10px;
}

.payment-badge {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border-radius: 2px;
}

/* PAGE: MARCAS */
.page-marcas .page-header {
  padding: 160px 0 100px;
  border-bottom: 1px solid var(--line);
}

.brand-group {
  margin-bottom: 120px;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.group-header h2 {
  font-family: var(--accent);
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.group-header .line {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.brand-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.brand-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 50px 40px;
  transition: all 0.5s var(--cubic);
  position: relative;
  overflow: hidden;
}

.brand-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(21, 18, 14, 0.05);
}

.brand-card.signature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.brand-card.signature h3 {
  color: var(--gold);
}

.brand-info h3 {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 300;
  margin-bottom: 15px;
}

.brand-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.brand-card.signature p {
  color: var(--line-soft);
  opacity: 0.8;
}

.brand-link {
  display: inline-block;
  margin-top: 25px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.brand-link:hover {
  border-bottom-color: var(--gold);
}

@media (min-width: 901px) {
  .sticky-desktop {
    position: sticky;
    top: 130px;
  }
}

@media (max-width: 900px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .inst-grid,
  .footer-grid,
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  nav {
    height: 70px; /* Reduz a altura do menu no mobile */
  }
  .nav-group {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .logo-img {
    height: 50px;
  }


  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    padding-bottom: 60px;
  }

  .hero-bg-img {
    object-position: center;
  }

  .hero-content{
    padding-top: 16px;       /* O espaço de 24px que você quer no topo */  
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-ctas {
    flex-direction: column;
  }
  
  .btn.ghost {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(9.6px);
  -webkit-backdrop-filter: blur(9.6px);
}

  .brand-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid-premium {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .azhare h2 {
    font-size: 50px;
  }

  .curadoria-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .curadoria-visual {
    order: -1;
  }

  .curadoria-visual img {
    height: 400px;
  }

  .brand-scroller {
    animation-duration: 20s;
    gap: 60px;
  }

  /* SPLIT SECTION MOBILE */
  .split-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-content {
    padding: 80px var(--gut);
  }

  .split-image {
    height: 400px;
    order: -1;
  }
}

/* AJUSTES PARA NOTEBOOKS / TELAS MÉDIAS */
@media (max-width: 1300px) and (min-width: 901px) {

  .nav-group,
  .nav-right,
  .nav-left {
    gap: 20px;
  }

  .nav-links-sub {
    gap: 20px;
  }

  .nav-actions {
    gap: 15px;
  }

  .logo {
    margin: 0 25px;
  }

  .lang-switcher {
    gap: 8px;
  }

  .nav-inner .nav-cta {
    padding: 8px 15px !important;
  }
}