/* ========================================
   MME Vacation Club — Design Tokens & Base
   ======================================== */

:root {
  /* Brand colors (from brandbook) */
  --brand-aqua: #62ADA8;      /* primary — mar de Maceió */
  --brand-teal: #467890;      /* secondary — profundidade */
  --brand-night: #20243C;     /* deep — luxo */

  /* Neutrals (warm sand-tinted whites, deep navy blacks) */
  --sand-50:  #FBF8F4;
  --sand-100: #F4EEE5;
  --sand-200: #E8DFD1;
  --sand-300: #C9BFB0;
  --ink-900:  #0F1220;
  --ink-700:  #2A2F45;
  --ink-500:  #5B6078;
  --ink-400:  #8A8FA3;
  --line:     rgba(32, 36, 60, 0.12);
  --line-strong: rgba(32, 36, 60, 0.24);

  /* Derived */
  --accent: var(--brand-aqua);
  --accent-ink: #1E5F5B;

  /* Type */
  --font-sans: 'Hanken Grotesk', 'Neue Haas Grotesk Display Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-script: 'Sacramento', 'Parisienne', 'Brush Script MT', cursive;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 18, 32, 0.06), 0 2px 6px rgba(15, 18, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 18, 32, 0.08), 0 2px 6px rgba(15, 18, 32, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 18, 32, 0.18), 0 6px 16px rgba(15, 18, 32, 0.08);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-900);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Type scale */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-500);
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 0.9;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark {
  background: var(--brand-night);
  color: var(--sand-50);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--sand-50); }
.section--dark .eyebrow { color: var(--brand-aqua); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), background 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { display: inline-block; transition: transform 300ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--brand-night);
  color: var(--sand-50);
}
.btn--primary:hover { background: var(--ink-900); box-shadow: var(--shadow-md); }

.btn--accent {
  background: var(--brand-aqua);
  color: white;
}
.btn--accent:hover { background: var(--brand-teal); box-shadow: 0 10px 24px rgba(70, 120, 144, 0.35); }

.btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn--ghost:hover { background: currentColor; color: var(--brand-night); }

.section--dark .btn--ghost { border-color: rgba(251, 248, 244, 0.4); }
.section--dark .btn--ghost:hover { background: var(--sand-50); color: var(--brand-night); border-color: var(--sand-50); }

.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* Utility */
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.section--dark .divider { background: rgba(251, 248, 244, 0.1); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(98, 173, 168, 0.12);
  color: var(--accent-ink);
}
.tag--amber { background: rgba(234, 164, 62, 0.14); color: #8A5A14; }
.tag--night { background: rgba(32, 36, 60, 0.08); color: var(--brand-night); }
.tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--brand-aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========================================
   Navbar — sticky + dropdown
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 300ms var(--ease), backdrop-filter 300ms var(--ease), border-color 300ms var(--ease), padding 300ms var(--ease), box-shadow 300ms var(--ease);
  padding: 18px 0;
  border-bottom: 1px solid transparent;
}
.navbar--scrolled {
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(15, 18, 32, 0.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo { display: flex; align-items: center; transition: color 300ms var(--ease); }
.navbar__logo-img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 300ms var(--ease), height 300ms var(--ease);
}
.navbar--scrolled .navbar__logo-img {
  filter: none;
  height: 38px;
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.navbar__lang {
  display: inline-flex;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-50);
  opacity: 0.85;
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(251,248,244,0.2);
  transition: color 300ms var(--ease), border-color 300ms var(--ease);
}
.navbar--scrolled .navbar__lang {
  color: var(--ink-700);
  border-left-color: var(--line);
}
.navbar__lang button {
  color: inherit;
  padding: 4px 6px;
  font-weight: 500;
  letter-spacing: inherit;
  opacity: 0.6;
  transition: opacity 200ms var(--ease);
}
.navbar__lang button.is-active,
.navbar__lang button:hover { opacity: 1; }

.navbar__nav > a,
.navbar__dropdown-trigger {
  font-size: 14px;
  font-weight: 500;
  color: var(--sand-50);
  opacity: 0.92;
  transition: opacity 200ms var(--ease), color 300ms var(--ease);
  position: relative;
  background: transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar--scrolled .navbar__nav > a,
.navbar--scrolled .navbar__dropdown-trigger { color: var(--ink-700); }
.navbar__nav > a:hover,
.navbar__dropdown-trigger:hover { opacity: 1; }
.navbar__nav > a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 250ms var(--ease);
}
.navbar__nav > a:hover::after { width: 100%; }
.navbar__chev {
  transition: transform 250ms var(--ease);
  opacity: 0.7;
}
.navbar__dropdown[data-open="true"] .navbar__chev { transform: rotate(180deg); }

/* Mega dropdown */
.navbar__dropdown { position: relative; }
.navbar__mega {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 560px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 18, 32, 0.14);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
  z-index: 55;
}
.navbar__dropdown[data-open="true"] .navbar__mega,
.navbar__dropdown:hover .navbar__mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.navbar__mega-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--r-md);
  align-items: center;
  transition: background 200ms var(--ease);
  color: var(--ink-700) !important;
}
.navbar__mega-item:hover { background: var(--sand-100); }
.navbar__mega-item::after { display: none !important; }
.navbar__mega-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}
.navbar__mega-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.navbar__mega-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 10px;
  padding: 2px 8px;
}
.navbar__mega-item p {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.4;
  margin: 0;
}
.navbar__mega-foot {
  border-top: 1px solid var(--line);
  padding: 14px 14px 4px;
  margin-top: 6px;
}
.navbar__mega-foot a {
  color: var(--brand-teal) !important;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.navbar__mega-foot a::after { display: none !important; }
.navbar__mega-foot .arrow { transition: transform 200ms var(--ease); }
.navbar__mega-foot a:hover .arrow { transform: translateX(3px); }

.navbar__cta {
  background: var(--brand-aqua);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.navbar__cta:hover {
  background: var(--brand-teal);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(70, 120, 144, 0.3);
}
.navbar__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--sand-50);
  transition: color 300ms var(--ease), background 300ms var(--ease);
}
.navbar--scrolled .navbar__burger { color: var(--brand-night); }
.navbar__burger:active { background: rgba(255, 255, 255, 0.08); }
.navbar__burger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--brand-night);
  color: var(--sand-50);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  transform: translateY(-100%);
  transition: transform 400ms var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
}
.mobile-menu__close {
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(251, 248, 244, 0.2);
  color: var(--sand-50);
}
.mobile-menu__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.5);
  margin-bottom: 14px;
}
.mobile-menu__products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.mm-product {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 14px;
  background: rgba(251, 248, 244, 0.04);
  border: 1px solid rgba(251, 248, 244, 0.08);
  border-radius: var(--r-md);
  color: var(--sand-50) !important;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.mm-product:active { background: rgba(251, 248, 244, 0.08); }
.mm-product img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
}
.mm-product strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--sand-50);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.mm-product span {
  font-size: 12px;
  color: var(--brand-aqua);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mm-product svg { color: rgba(251, 248, 244, 0.4); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.mobile-menu__nav a {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(251, 248, 244, 0.08);
  color: var(--sand-50);
  display: flex;
  align-items: center;
}
.mobile-menu__nav a .num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand-aqua);
  margin-right: 20px;
  opacity: 0.7;
  min-width: 20px;
}
.mobile-menu__footer {
  padding-top: 8px;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}
.mobile-menu__contact {
  font-size: 13px;
  color: rgba(251, 248, 244, 0.6);
}

/* Mobile bottom dock (persistent quick-access) */
.mdock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 45;
  background: rgba(251, 248, 244, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 4px;
}
.mdock__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--r-md);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: 0.02em;
  transition: background 200ms var(--ease);
}
.mdock__item:active { background: var(--sand-100); }
.mdock__item svg { opacity: 0.9; }
.mdock__item--accent {
  color: white;
  background: #25D366;
}
.mdock__item--accent:active { background: #1fb858; }

@media (max-width: 960px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__burger { display: flex; }
  .mdock { display: flex; }
  /* Give page content breathing room above the dock */
  body { padding-bottom: 72px; }
  .whatsapp { display: none !important; }
}
@media (max-width: 520px) {
  .navbar__logo-img { height: 40px; }
  .navbar--scrolled .navbar__logo-img { height: 34px; }
}

/* ========================================
   Gallery strip
   ======================================== */
.gallery-strip {
  background: var(--sand-50);
  padding: 0 0 clamp(72px, 10vw, 120px);
}
.gallery-strip__header {
  max-width: var(--container-wide);
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}
.gallery-strip__header .eyebrow { margin-bottom: 12px; }
.gallery-strip__header h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  max-width: 26ch;
}
.gallery-strip__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sand-200);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption {
  position: absolute;
  left: 16px; bottom: 16px;
  color: white;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
@media (max-width: 900px) { .gallery-strip__track { grid-template-columns: repeat(2, 1fr); } }
.news { background: var(--sand-100); }
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__visual {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.news-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.news-card__meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  display: flex;
  gap: 10px;
}
.news-card__meta .dot { color: var(--brand-aqua); }
.news-card__title {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-weight: 500;
}
.news-card__excerpt { font-size: 14px; color: var(--ink-500); line-height: 1.5; }
.news-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-teal);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card__link .arrow { transition: transform 250ms var(--ease); }
.news-card:hover .news-card__link .arrow { transform: translateX(3px); }
@media (max-width: 900px) { .news__grid { grid-template-columns: 1fr; } .news__header { flex-direction: column; align-items: start; } }

/* ========================================
   Careers
   ======================================== */
.careers {
  background: var(--sand-50);
}
.careers__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.careers__visual {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.careers__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.careers__body h2 { max-width: 18ch; margin-bottom: 20px; }
.careers__body p { color: var(--ink-500); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.careers__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .careers__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--sand-50);
  overflow: hidden;
  isolation: isolate;
  padding-top: 120px;
  padding-bottom: 64px;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(32, 36, 60, 0.45) 0%, rgba(32, 36, 60, 0.05) 35%, rgba(32, 36, 60, 0.0) 55%, rgba(32, 36, 60, 0.75) 100%),
    linear-gradient(90deg, rgba(32, 36, 60, 0.25) 0%, rgba(32, 36, 60, 0) 60%);
}
.hero__content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(251, 248, 244, 0.25);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(32, 36, 60, 0.25);
}
.hero__kicker-dot {
  width: 24px; height: 24px;
  background: var(--brand-aqua);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-night);
  font-weight: 700;
  font-size: 11px;
}
.hero__headline {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--sand-50);
  max-width: 14ch;
  font-weight: 500;
}
.hero__headline .script {
  font-size: 1.12em;
  font-style: normal;
  font-weight: 400;
  color: var(--brand-aqua);
  display: inline-block;
  margin-right: 0.08em;
  transform: translateY(0.04em);
  line-height: 0.8;
}
.hero__sub {
  margin-top: 28px;
  max-width: 48ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(251, 248, 244, 0.82);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
  min-width: 240px;
}
.hero__meta-stat {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.7);
}
.hero__meta-stat strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  color: var(--sand-50);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  text-transform: none;
}
.hero__meta-stat .script-accent {
  font-family: var(--font-sans);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  color: var(--brand-aqua);
  line-height: 0.9;
  font-weight: 400;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(251, 248, 244, 0.6), rgba(251, 248, 244, 0));
  animation: scroll-pulse 2.4s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 860px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__meta { align-items: flex-start; text-align: left; }
  .hero { min-height: 92vh; }
}

/* ========================================
   Marquee / ticker (brand strip)
   ======================================== */
.brandstrip {
  background: var(--brand-night);
  color: var(--sand-50);
  padding: 26px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(251, 248, 244, 0.08);
}
.brandstrip__track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.brandstrip__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.75);
}
.brandstrip__item .script {
  font-family: var(--font-sans);
  font-size: inherit;
  font-style: italic;
  font-weight: 500;
  color: var(--brand-aqua);
  text-transform: none;
  letter-spacing: 0;
}
.brandstrip__item .dot {
  width: 6px; height: 6px;
  background: var(--brand-aqua);
  border-radius: 999px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================
   Products (3 cards detalhados)
   ======================================== */
.products {
  background: var(--sand-50);
  position: relative;
}
.products__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.products__title .script {
  font-size: 1.18em;
  font-style: normal;
  font-weight: 400;
  color: var(--brand-aqua);
  line-height: 0.78;
  display: block;
  margin-bottom: 2px;
}
.products__intro { color: var(--ink-500); max-width: 54ch; font-size: 17px; line-height: 1.55; }

.products__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card--reverse { grid-template-columns: 1fr 1.1fr; }
.product-card--reverse .product-card__visual { order: 2; }

.product-card__visual {
  position: relative;
  min-height: 460px;
  background: var(--sand-200);
  overflow: hidden;
}
.product-card__visual img,
.product-card__visual .placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.product-card:hover .product-card__visual img,
.product-card:hover .product-card__visual .placeholder { transform: scale(1.04); }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 24px;
}
.placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 10px);
}
.placeholder--aqua { background: linear-gradient(135deg, #62ADA8 0%, #467890 100%); }
.placeholder--teal { background: linear-gradient(135deg, #467890 0%, #20243C 100%); }
.placeholder--night { background: linear-gradient(135deg, #20243C 0%, #3A4170 100%); }
.placeholder__label {
  position: relative;
  z-index: 1;
  max-width: 240px;
}

.product-card__status {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
}

.product-card__body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-card__no {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-aqua);
  line-height: 1;
}
.product-card__name {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.product-card__name .small {
  display: block;
  font-size: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  font-weight: 500;
  margin-bottom: 12px;
}
.product-card__desc { color: var(--ink-500); font-size: 15px; line-height: 1.6; }
.product-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.product-card__specs dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 4px;
}
.product-card__specs dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
}
.product-card__cta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .products__header { grid-template-columns: 1fr; }
  .product-card, .product-card--reverse { grid-template-columns: 1fr; }
  .product-card--reverse .product-card__visual { order: 0; }
  .product-card__visual { min-height: 320px; }
}

/* ========================================
   About + stats
   ======================================== */
.about {
  background: var(--brand-teal);
  color: var(--sand-50);
  position: relative;
  overflow: hidden;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__title {
  color: var(--sand-50);
}
.about__title .script {
  color: var(--brand-aqua);
  font-size: 1em;
  display: inline-block;
}
.about__body { color: rgba(251, 248, 244, 0.75); font-size: 17px; line-height: 1.65; }
.about__body p + p { margin-top: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(251, 248, 244, 0.12);
}
.stat {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(251, 248, 244, 0.12);
}
.stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid rgba(251, 248, 244, 0.12); }
.stat:nth-child(even) { padding-left: 24px; }
.stat__num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sand-50);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat__num .suffix { font-size: 0.45em; color: var(--brand-aqua); font-weight: 400; }
.stat__label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.6);
}

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ========================================
   Timeline
   ======================================== */
.timeline {
  background: var(--sand-100);
  padding: clamp(72px, 10vw, 120px) 0;
}
.timeline__header {
  max-width: 720px;
  margin-bottom: 64px;
}
.timeline__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline__track::before {
  content: '';
  position: absolute;
  top: 10px; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
}
.timeline__item {
  padding-top: 32px;
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  width: 13px; height: 13px;
  border-radius: 999px;
  background: var(--brand-aqua);
  border: 3px solid var(--sand-100);
  box-shadow: 0 0 0 1px var(--brand-aqua);
}
.timeline__year {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: 8px;
}
.timeline__text {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .timeline__track { grid-template-columns: 1fr; }
  .timeline__track::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline__item { padding-left: 32px; padding-top: 0; padding-bottom: 28px; }
  .timeline__item::before { top: 0; left: 0; }
}

/* ========================================
   Why MME (feature grid)
   ======================================== */
.why {
  background: var(--sand-50);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 56px;
}
.why__item {
  background: var(--sand-50);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background 300ms var(--ease);
}
.why__item:hover { background: white; }
.why__num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-aqua);
  line-height: 0.9;
}
.why__item h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.why__item p { color: var(--ink-500); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  background: var(--brand-teal);
  color: var(--sand-50);
  position: relative;
  overflow: hidden;
}
.testimonials h2 { color: var(--sand-50); max-width: 18ch; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testimonial {
  background: rgba(251, 248, 244, 0.06);
  border: 1px solid rgba(251, 248, 244, 0.12);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 400ms var(--ease), background 400ms var(--ease);
}
.testimonial:hover { transform: translateY(-4px); background: rgba(251, 248, 244, 0.1); }
.testimonial__quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--sand-50);
}
.testimonial__quote::before {
  content: '“';
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 600;
  color: var(--brand-aqua);
  display: block;
  line-height: 0.6;
  margin-bottom: 16px;
}
.testimonial__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 248, 244, 0.12);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-aqua), var(--brand-night));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  color: var(--sand-50);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.testimonial__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--sand-50);
  margin: 0;
}
.testimonial__role {
  font-size: 12px;
  color: rgba(251, 248, 244, 0.65);
  margin-top: 2px;
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ========================================
   Certifications
   ======================================== */
.certs {
  background: var(--sand-50);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.certs__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 28px;
}
.certs__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}
.cert {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  transition: opacity 200ms var(--ease);
}
.cert:hover { opacity: 1; }
.cert__dot {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(98, 173, 168, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
}

/* ========================================
   CTA block
   ======================================== */
.ctaband {
  background: var(--brand-aqua);
  padding: clamp(56px, 8vw, 96px) 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.ctaband__inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 48px;
  align-items: center;
}
.ctaband h2 {
  color: white;
  font-size: clamp(32px, 4.2vw, 56px);
  max-width: 18ch;
}
.ctaband h2 .script {
  color: var(--brand-night);
  font-size: 1.18em;
}
.ctaband p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 18px;
  max-width: 52ch;
  font-size: 17px;
}
.ctaband__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}
.ctaband .btn--primary { background: var(--brand-night); }
.ctaband .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: white; }
.ctaband .btn--ghost:hover { background: white; color: var(--brand-aqua); border-color: white; }
@media (max-width: 860px) {
  .ctaband__inner { grid-template-columns: 1fr; }
}

/* ========================================
   Contact form
   ======================================== */
.contact {
  background: var(--sand-100);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact__aside .script {
  font-size: 38px;
  font-style: normal;
  font-weight: 400;
  color: var(--brand-aqua);
  display: block;
  line-height: 0.85;
  margin-bottom: 2px;
}
.contact__info {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__info-item .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.contact__info-item .value {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-900);
}
.contact__info-item a.value { transition: color 200ms var(--ease); }
.contact__info-item a.value:hover { color: var(--brand-teal); }

.form {
  background: white;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form__row--single { grid-template-columns: 1fr; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.form__field input,
.form__field select,
.form__field textarea {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  font-size: 16px;
  background: transparent;
  color: var(--ink-900);
  transition: border-color 200ms var(--ease);
  border-radius: 0;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 0;
  border-color: var(--brand-aqua);
}
.form__field textarea { resize: vertical; min-height: 100px; }
.form__submit {
  width: 100%;
  margin-top: 12px;
}
.form__consent {
  font-size: 12px;
  color: var(--ink-400);
  margin-top: 16px;
  text-align: center;
}
.form__consent a { text-decoration: underline; }

.form__status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(98, 173, 168, 0.1);
  color: var(--accent-ink);
  font-size: 14px;
  display: none;
}
.form__status.is-visible { display: block; }

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--ink-900);
  color: rgba(251, 248, 244, 0.7);
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251, 248, 244, 0.1);
}
.footer__brand .lockup { color: var(--sand-50); margin-bottom: 20px; }
.footer__blurb { font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footer h4 {
  color: var(--sand-50);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a {
  font-size: 14px;
  color: rgba(251, 248, 244, 0.65);
  transition: color 200ms var(--ease);
}
.footer__list a:hover { color: var(--sand-50); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(251, 248, 244, 0.4);
  gap: 20px;
  flex-wrap: wrap;
}
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(251, 248, 244, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(251, 248, 244, 0.7);
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.footer__socials a:hover { background: var(--brand-aqua); color: white; border-color: var(--brand-aqua); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ========================================
   WhatsApp floating
   ======================================== */
.whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 40;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 250ms var(--ease);
}
.whatsapp::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 0; }
}
.whatsapp:hover { transform: scale(1.06); }
.whatsapp svg { width: 28px; height: 28px; position: relative; z-index: 1; }

/* ========================================
   Tweaks panel
   ======================================== */
.tweaks {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 45;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 20px 20px 18px;
  min-width: 260px;
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.tweaks__row { margin-bottom: 14px; }
.tweaks__row:last-child { margin-bottom: 0; }
.tweaks__row label {
  font-size: 12px;
  color: var(--ink-500);
  display: block;
  margin-bottom: 6px;
}
.tweaks__swatches { display: flex; gap: 8px; }
.tweaks__swatch {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.tweaks__swatch:hover { transform: scale(1.1); }
.tweaks__swatch.is-active { border-color: var(--ink-900); }
.tweaks__seg {
  display: flex;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 3px;
  gap: 2px;
}
.tweaks__seg button {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 999px;
  color: var(--ink-500);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.tweaks__seg button.is-active {
  background: var(--brand-night);
  color: var(--sand-50);
}

/* Entry animations */
/* ========================================
   Mar Resort flagship gallery
   Dark mosaic — signals the launch
   ======================================== */
.mar-gallery {
  background: var(--brand-night);
  color: var(--sand-50);
  padding: clamp(80px, 11vw, 140px) 0 clamp(80px, 11vw, 140px);
  position: relative;
  overflow: hidden;
}
.mar-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(98, 173, 168, 0.18), transparent 60%),
    radial-gradient(60% 50% at 10% 100%, rgba(70, 120, 144, 0.22), transparent 60%);
  pointer-events: none;
}
.mar-gallery > * { position: relative; z-index: 1; }

.mar-gallery__header {
  max-width: var(--container-wide);
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.mar-gallery__header .eyebrow { margin-bottom: 14px; }
.mar-gallery__header h3 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--sand-50);
  font-weight: 500;
  max-width: 18ch;
}
.mar-gallery__header h3 .script {
  font-family: var(--font-script);
  color: var(--brand-aqua);
  font-style: normal;
  font-weight: 400;
  font-size: 1.05em;
}
.mar-gallery__lead {
  color: rgba(251, 248, 244, 0.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 42ch;
}

.mar-gallery__grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.mar-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(251, 248, 244, 0.04);
  margin: 0;
  grid-column: span 4;
  grid-row: span 2;
  isolation: isolate;
}
.mar-item--hero { grid-column: span 8; grid-row: span 3; }
.mar-item--wide { grid-column: span 8; grid-row: span 2; }
.mar-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
  display: block;
}
.mar-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 36, 60, 0) 45%, rgba(32, 36, 60, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.mar-item figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--sand-50);
}
.mar-item__kicker {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-aqua);
  opacity: 0.95;
}
.mar-item__label {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--sand-50);
  max-width: 32ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.mar-item--hero .mar-item__label { font-size: 19px; max-width: 28ch; }
.mar-item:hover img { transform: scale(1.05); }

.mar-gallery__cta {
  max-width: var(--container-wide);
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mar-gallery__cta p {
  color: rgba(251, 248, 244, 0.72);
  font-size: 17px;
  max-width: 40ch;
  margin: 0;
}
.mar-gallery .btn--primary {
  background: var(--brand-aqua);
  color: var(--brand-night);
  font-weight: 600;
}
.mar-gallery .btn--primary:hover {
  background: var(--sand-50);
  box-shadow: 0 16px 32px rgba(98, 173, 168, 0.25);
}

/* Tablet */
@media (max-width: 960px) {
  .mar-gallery__header {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .mar-gallery__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
  }
  .mar-item { grid-column: span 3; grid-row: span 2; }
  .mar-item--hero { grid-column: span 6; grid-row: span 3; }
  .mar-item--wide { grid-column: span 6; grid-row: span 2; }
}

/* Mobile */
@media (max-width: 640px) {
  .mar-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 12px;
  }
  .mar-item,
  .mar-item--hero,
  .mar-item--wide { grid-column: span 1; grid-row: span 1; }
  .mar-item--hero { grid-row: span 2; }
  .mar-gallery__cta { justify-content: flex-start; }
}

/* Sub-brand logo inside product cards — ao lado do número, mesma altura */
.product-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.product-card__brand {
  height: 60px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
  object-position: left center;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
  .product-card__head { gap: 14px; }
  .product-card__brand { height: 48px; max-width: 130px; padding-left: 14px; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
