/* ============================================================
   CASA MAIS AMBIENTES — LANDING
   Paleta: cream + wine + ink
   ============================================================ */

:root {
  --bg: #F7F3EC;
  --bg-soft: #EFE8DC;
  --bg-warm: #E5DBCB;
  --ink: #1F1A14;
  --ink-soft: #4A3F33;
  --muted: #8B7B68;
  --line: #D8CDB9;

  /* Wine — cor principal de marca */
  --wine: #6B2737;
  --wine-deep: #4A1A26;
  --wine-soft: #8C3F4F;

  /* Gold — acento secundário em fundos escuros */
  --gold: #B08D57;
  --gold-soft: #C9A878;

  --dark: #2A231C;
  --dark-deep: #161108;
  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 24px;

  --shadow-sm: 0 4px 16px rgba(31, 26, 20, 0.06);
  --shadow-md: 0 12px 40px rgba(31, 26, 20, 0.12);
  --shadow-lg: 0 30px 80px rgba(31, 26, 20, 0.18);

  --easing: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ====================== INTRO (cortina) ====================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.intro-panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50vh;
  background: var(--bg);
  pointer-events: auto;
  transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1) 0s;
  will-change: transform;
}

.intro-top { top: 0; transform-origin: top; }
.intro-bottom { bottom: 0; transform-origin: bottom; }

body.loaded .intro-top { transform: translateY(-100%); }
body.loaded .intro-bottom { transform: translateY(100%); }

/* Linha central que se desenha enquanto o counter sobe */
.intro::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--wine);
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: introLine 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}

body.loaded .intro::after {
  animation: introLineOut 0.5s ease forwards;
}

@keyframes introLine {
  0% { width: 0; }
  100% { width: 240px; }
}

@keyframes introLineOut {
  to { width: 0; opacity: 0; }
}

.intro-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 4;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.loaded .intro-content {
  opacity: 0;
  transform: translateY(-12px);
}

.intro-name {
  display: flex;
  gap: 0.4ch;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
  overflow: hidden;
}

.intro-name i {
  display: inline-block;
  font-style: normal;
  transform: translateY(110%);
  animation: introRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.intro-name i:last-child {
  font-style: italic;
  color: var(--wine);
  animation-delay: 0.3s;
}

@keyframes introRise { to { transform: translateY(0); } }

.intro-sub {
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  opacity: 0;
  animation: introFade 0.7s ease 0.8s forwards;
}

@keyframes introFade { to { opacity: 1; } }

.intro-counter {
  position: absolute;
  bottom: 32px;
  right: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-soft);
  z-index: 4;
  opacity: 0;
  animation: introFade 0.5s ease 0.3s forwards;
}

.intro-tag {
  position: absolute;
  bottom: 38px;
  left: 36px;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  z-index: 4;
  opacity: 0;
  animation: introFade 0.5s ease 0.3s forwards;
}

body.loaded .intro-counter,
body.loaded .intro-tag {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Conteúdo escondido até o intro terminar */
body.is-loading { overflow: hidden; }
body.is-loading .hero-image img { transform: scale(1.15); }
body.is-loading .hero-content > * { opacity: 0; transform: translateY(40px); }
body.is-loading .hero-scroll,
body.is-loading .hero-corner,
body.is-loading .site-header .brand { opacity: 0; }

body.loaded .site-header .brand {
  opacity: 1;
  transition: opacity 0.7s ease 1.3s;
}

/* Revelação suave após cortina abrir */
body.loaded .hero-image img {
  transform: scale(1);
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

body.loaded .hero-content > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s var(--easing), transform 1.2s var(--easing);
  transition-delay: 0.85s;
}

body.loaded .hero-scroll {
  opacity: 1;
  transition: opacity 0.8s ease 1.5s;
}

body.loaded .hero-corner {
  opacity: 1;
  transition: opacity 0.8s ease 1.4s;
}

/* ====================== RESET ====================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--easing); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--wine); color: var(--white); }

/* ====================== UTILITIES ====================== */
.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 28px;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow-light { color: rgba(255, 255, 255, 0.7); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: inherit;
}

.section-title em {
  font-style: italic;
  color: var(--wine);
}

.section-head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 4rem;
  max-width: 720px;
}

.section-head .eyebrow { margin-inline: auto; display: inline-block; }
.section-head .section-sub { margin-inline: auto; }
.section-head-light { color: var(--white); }
.section-head-light .section-title em { color: var(--gold-soft); }
.section-head-light .section-sub { color: rgba(255, 255, 255, 0.7); }

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.7;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.lede em { font-style: italic; color: var(--ink); }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.4s var(--easing);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(107, 39, 55, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

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

.btn-large { padding: 1.2rem 2.4rem; font-size: 0.95rem; }

/* ====================== HEADER ====================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  pointer-events: none;
  transition: background 0.5s var(--easing), backdrop-filter 0.5s var(--easing), border-color 0.5s var(--easing);
}

/* Logo sempre clicável; nav e CTA são habilitados em .visible */
.site-header .brand { pointer-events: auto; }

/* Sobre o hero (sem .visible): logo em branco, nav e CTA invisíveis */
.site-header:not(.visible) .brand-mark { color: var(--white); }
.site-header:not(.visible) .brand-sub { color: rgba(255, 255, 255, 0.65); }
.site-header:not(.visible) .nav-toggle span { background: var(--white); }

.site-header:not(.visible) .primary-nav,
.site-header:not(.visible) .nav-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--easing);
}

/* Quando saímos do hero (.visible): nav completa aparece */
.site-header.visible {
  pointer-events: auto;
  background: rgba(247, 243, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header.visible .primary-nav,
.site-header.visible .nav-cta {
  opacity: 1;
  transition: opacity 0.6s var(--easing) 0.1s;
}

.site-header.visible.scrolled {
  border-color: var(--line);
  background: rgba(247, 243, 236, 0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.5s var(--easing);
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
  transition: color 0.5s var(--easing);
}

.primary-nav { display: flex; gap: 2.5rem; }

.primary-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width 0.3s var(--easing);
}

.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: var(--wine);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s var(--easing);
}

.nav-cta:hover {
  background: var(--wine-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: all 0.3s var(--easing);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.5rem 24px 2rem;
  gap: 1.25rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.1rem;
  font-family: var(--serif);
  color: var(--ink);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-cta {
  background: var(--wine);
  color: var(--white) !important;
  padding: 1rem !important;
  border-radius: 999px;
  text-align: center;
  border: none !important;
}

/* ====================== HERO ====================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image { position: absolute; inset: 0; z-index: 0; }

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 17, 8, 0.45) 0%, rgba(22, 17, 8, 0.2) 30%, rgba(22, 17, 8, 0.7) 100%),
    linear-gradient(90deg, rgba(22, 17, 8, 0.4) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 0;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-soft);
}

/* Canto inferior esquerdo: assinatura discreta */
.hero-corner {
  position: absolute;
  left: 24px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.hero-corner span:first-child { color: rgba(255, 255, 255, 0.85); }

.hero-scroll {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
}

.hero-scroll span { transform: rotate(180deg); }

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 30%;
  background: var(--white);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* ====================== AWARD BANNER ====================== */
.award-banner {
  background: var(--wine);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.award-banner::before,
.award-banner::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.award-banner::before { top: -200px; left: -200px; }
.award-banner::after { bottom: -200px; right: -200px; }

.award-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 1.6rem;
  position: relative;
}

.award-line span:nth-child(1),
.award-line span:nth-child(3) {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.award-mini {
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.award-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.65rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 1000px;
  margin: 0 auto 1.1rem;
  position: relative;
}

.award-title em {
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.1em;
}

.award-sub {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.55;
  position: relative;
}

/* ====================== STORY ====================== */
.story {
  padding: 8rem 0;
  background: var(--bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.story-images {
  position: relative;
  aspect-ratio: 1 / 1.05;
}

.story-img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--easing);
}

.story-img:hover img { transform: scale(1.05); }

.story-img-1 {
  width: 75%;
  height: 75%;
  top: 0;
  left: 0;
}

.story-img-2 {
  width: 55%;
  height: 60%;
  bottom: 0;
  right: 0;
  border: 8px solid var(--bg);
}

.story-badge {
  position: absolute;
  bottom: 18%;
  left: -8%;
  width: 140px;
  height: 140px;
  background: var(--wine);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.story-badge span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 500;
}

.story-badge strong {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  margin-top: 4px;
}

.story-content em {
  font-style: italic;
  color: var(--wine);
}

.story-content .lede em {
  font-style: italic;
  color: var(--ink);
}

.story-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.story-signature .line {
  width: 50px;
  height: 1px;
  background: var(--wine);
}

.story-signature span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}

/* ====================== CATEGORIES (slider) ====================== */
.categories {
  padding: 8rem 0;
  background: var(--bg-soft);
  overflow: hidden;
}

.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.cat-head .section-title { margin-bottom: 0; }

.cat-buttons {
  display: flex;
  gap: 12px;
}

.cat-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  transition: all 0.4s var(--easing);
}

.cat-arrow:hover {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}

.cat-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cat-arrow:disabled:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.cat-slider {
  overflow: hidden;
  cursor: grab;
  /* Sangra para fora do container — efeito editorial */
  margin-left: max(24px, calc((100% - 1280px) / 2));
}

.cat-slider:active { cursor: grabbing; }

.cat-track {
  display: flex;
  gap: 1.25rem;
  user-select: none;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0;
}

.cat-track::-webkit-scrollbar { display: none; }

.cat-card {
  flex: 0 0 calc((100vw - 48px - 28px * 3) / 4);
  max-width: 320px;
  min-width: 240px;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  scroll-snap-align: start;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.5s var(--easing);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--easing), filter 0.5s var(--easing);
  filter: brightness(0.78);
}

.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22, 17, 8, 0.85) 100%);
  pointer-events: none;
}

.cat-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.65);
}

.cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.6rem;
  /* Altura fixa — garante que o título começa SEMPRE no mesmo Y */
  height: 9.5rem;
  display: flex;
  flex-direction: column;
}

.cat-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  /* Reserva 2 linhas — texto encostado no FUNDO do h3 (alinha pela base) */
  height: 2.4em;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cat-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
  /* p ocupa o espaço restante de forma idêntica em todos os cards */
  flex: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--easing), transform 0.4s var(--easing);
}

.cat-card:hover .cat-info p {
  opacity: 1;
  transform: translateY(0);
}

.cat-progress {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.cat-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  background: var(--wine);
  transition: width 0.4s var(--easing);
}

/* ====================== SHOWCASE ====================== */
.showcase {
  padding: 8rem 0;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.showcase-marquee {
  margin-top: 2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee2 50s linear infinite;
  width: max-content;
}

@keyframes marquee2 { to { transform: translateX(-50%); } }

.marquee-track figure {
  flex-shrink: 0;
  width: 380px;
  height: 480px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.marquee-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

.marquee-track figure:hover img { transform: scale(1.05); }

.showcase-marquee:hover .marquee-track { animation-play-state: paused; }

/* ====================== DELIVERY ====================== */
.delivery {
  padding: 8rem 0 0;
  background: var(--bg);
  overflow: hidden;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.delivery-content em { font-style: italic; color: var(--wine); }

.delivery-content .lede { margin-bottom: 2.5rem; }

/* === Cities marquee (full-width) === */
.cities-marquee {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.cities-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: citiesScroll 60s linear infinite;
  white-space: nowrap;
}

.cities-track:hover { animation-play-state: paused; }

.cities-track > span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  flex-shrink: 0;
  transition: color 0.4s var(--easing);
}

.cities-track > span:hover { color: var(--wine); }

.cities-track .dot {
  font-family: var(--sans);
  font-size: 0.6rem;
  color: var(--wine);
  opacity: 0.55;
  align-self: center;
}

.cities-track .dot:hover { color: var(--wine); }

@keyframes citiesScroll { to { transform: translateX(-50%); } }

.delivery-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
}

.delivery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delivery-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--bg);
  padding: 1.5rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--serif);
  box-shadow: var(--shadow-md);
}

.delivery-badge strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.delivery-badge span {
  font-style: italic;
  color: var(--wine);
  font-size: 1rem;
}

/* ====================== CONTACT ====================== */
.contact {
  padding: 5rem 0 4.5rem;
  background: var(--bg-soft);
  color: var(--ink);
  position: relative;
}

.contact-head {
  margin-bottom: 2.75rem;
  position: relative;
}

.contact-head .section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: start;
  position: relative;
}

/* lista tipográfica */
.contact-list { margin: 0; }

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(31, 26, 20, 0.1);
}

.contact-row:last-child {
  border-bottom: 1px solid rgba(31, 26, 20, 0.1);
}

.contact-row dt {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
  padding-top: 0.25rem;
}

.contact-row dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.contact-row dd a:not(.social-btn) {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.3s var(--easing), border-color 0.3s var(--easing);
}

.contact-row dd a:not(.social-btn):hover {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.contact-row-social dd {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(31, 26, 20, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.3s var(--easing), border-color 0.3s var(--easing), color 0.3s var(--easing);
}

.social-btn:hover,
.contact-row dd .social-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
}

/* CTA editorial */
.contact-cta {
  border-left: 1px solid rgba(107, 39, 55, 0.2);
  padding: 0.25rem 0 0.25rem 2.5rem;
}

.contact-cta .eyebrow { margin-bottom: 1rem; }

.contact-cta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.contact-cta h3 em { font-style: italic; color: var(--wine); }

.contact-cta p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 460px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--wine);
  transition: color 0.3s var(--easing), gap 0.3s var(--easing);
}

.cta-link svg { transition: transform 0.3s var(--easing); }

.cta-link:hover {
  color: var(--wine);
  gap: 1.15rem;
}

.cta-link:hover svg { transform: translateX(4px); }

.contact-cta small {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(31, 26, 20, 0.5);
}

/* ====================== FOOTER ====================== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-mark {
  color: var(--white);
  font-size: 1.6rem;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.32em;
}

.footer-tag {
  margin-top: 1.25rem;
  max-width: 280px;
  line-height: 1.7;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-tag em {
  font-style: italic;
  color: var(--gold-soft);
}

.footer-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s var(--easing);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-col a:hover { color: var(--gold-soft); }

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.site-footer .social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.3s var(--easing), border-color 0.3s var(--easing), color 0.3s var(--easing);
  margin-bottom: 0;
}

.site-footer .social-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-since {
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

/* ====================== REVEAL ====================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====================== RESPONSIVO ====================== */
@media (max-width: 1024px) {
  .story-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-cta {
    border-left: 0;
    padding: 2.25rem 0 0;
    border-top: 1px solid rgba(107, 39, 55, 0.2);
  }

  .cat-card { flex: 0 0 calc((100vw - 80px) / 3); }

  .cat-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 768px) {
  .container { width: min(1280px, 100% - 32px); }

  .primary-nav,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .hero {
    height: 90vh;
    min-height: 600px;
  }

  .hero-content { padding: 2rem 0; }
  .hero-scroll { display: none; }

  .story,
  .categories,
  .showcase,
  .delivery,
  .contact { padding: 5rem 0; }

  .award-banner { padding: 3rem 0; }
  .award-line { margin-bottom: 1.2rem; }
  .award-line span:nth-child(1),
  .award-line span:nth-child(3) { width: 30px; }
  .award-title { margin-bottom: 0.9rem; }
  .award-sub { font-size: 0.88rem; line-height: 1.5; }

  .cat-slider { margin-left: 16px; }
  .cat-card { flex: 0 0 78vw; max-width: 320px; min-width: 0; }

  .marquee-track figure {
    width: 280px;
    height: 360px;
  }

  .city-list { grid-template-columns: 1fr; }

  .contact { padding: 3.75rem 0 3.5rem; }
  .contact-head { margin-bottom: 1.75rem; }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.05rem 0;
  }
  .contact-row dt { padding-top: 0; }
  .contact-cta {
    padding: 2rem 0 0;
    border-top: 1px solid rgba(107, 39, 55, 0.2);
  }

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

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

  .story-badge {
    width: 100px;
    height: 100px;
    left: -5%;
  }

  .story-badge strong { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .btn { padding: 0.9rem 1.6rem; font-size: 0.78rem; }
  .brand-mark { font-size: 1.35rem; }
  .hero-corner { font-size: 0.6rem; left: 16px; bottom: 20px; }
  .hero-corner span { letter-spacing: 0.25em; }
}

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