/* ==========================================================================
   Monduvin — Landing "Duas Margens"
   Mobile first: a base é 390–430 px. Tablet/desktop só refinam no fim.
   ========================================================================== */

:root {
  /* Paleta */
  --cream: #F5EFE6;
  --paper: #FBF8F3;
  --ink: #2A2724;          /* grafite */
  --ink-soft: #5B554F;
  --line: #E3D9CA;
  --burgundy: #6E1F30;     /* Margem Direita / ação */
  --burgundy-deep: #4B1521;
  --burgundy-tint: #F1E2E2;
  --olive: #56593A;        /* Margem Esquerda */
  --olive-tint: #E8E8D8;
  --water: #D9E0DF;
  --water-ink: #6E8184;

  /* Tipografia */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --radius: 4px;
  --section-y: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); /* 17px */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
em { font-style: italic; }
strong { font-weight: 600; }
s { text-decoration-thickness: 1px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible { outline-color: var(--cream); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 680px; }
.container--mid { max-width: 880px; }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--burgundy-deep); color: var(--cream); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  margin: 0 0 14px;
  font: 600 .75rem/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--left { color: var(--olive); }
.eyebrow--right { color: var(--burgundy); }

.h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); line-height: 1.15; margin-bottom: 20px; }
.h2 em { color: var(--burgundy); }
.lead { font: italic 400 1.25rem/1.45 var(--serif); color: var(--ink); margin-bottom: 1.1em; }

/* Etiqueta da margem (sempre a mesma cor para o mesmo lado) */
.side {
  display: block;
  margin-bottom: 4px;
  font: 600 .6875rem/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.side--left { color: var(--olive); }
.side--right { color: var(--burgundy); }

.micro { margin: 10px 0 0; font-size: .875rem; color: var(--ink-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .875rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--burgundy); color: #fff; }
.btn--primary:hover { background: var(--burgundy-deep); }
.btn--ghost { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
.btn--ghost:hover { background: var(--burgundy); color: #fff; }
.btn--light { background: var(--cream); color: var(--burgundy-deep); }
.btn--light:hover { background: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 60px; font-size: .9375rem; letter-spacing: .05em; }
.btn--sm { min-height: 46px; padding: 10px 16px; font-size: .8125rem; letter-spacing: .06em; }

.link-btn {
  padding: 8px 2px; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px;
}

.cta-block { margin-top: 40px; text-align: center; }
.cta-block .btn { width: 100%; max-width: 380px; }
.cta-block--left { text-align: left; }

/* ---------- Preço ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 14px; }
.price__old { font-size: 1rem; color: var(--ink-soft); }
.price__now { font: 500 2rem/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.price--lg { justify-content: center; }
.price--lg .price__now { font-size: 2.75rem; }
.price--lg .price__old { font-size: 1.125rem; }
.tag {
  align-self: center;
  padding: 5px 10px; border-radius: 99px;
  background: var(--olive-tint); color: var(--olive);
  font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header { background: var(--cream); }
.site-header__inner { display: flex; justify-content: center; padding: 12px var(--gutter) 4px; }
.site-header__logo { width: auto; height: 34px; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero { padding: 14px 0 36px; }
.hero__grid { display: flex; flex-direction: column; }
.hero .eyebrow { margin-bottom: 10px; text-align: center; }
.hero__title {
  font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3.5rem);
  line-height: 1.12;
  text-align: center;
}
.hero__title em { display: block; margin-top: 6px; color: var(--burgundy); }

/* No mobile o texto de apoio vai para depois do CTA: preço e compra aparecem antes */
.hero__copy { display: contents; }
.hero .eyebrow { order: 1; }
.hero__title { order: 2; }
.hero__duo { order: 3; }
.hero__buy { order: 4; }

.hero__buy .price { justify-content: center; }
.hero__buy .micro { text-align: center; }

/* Duas garrafas separadas pela Gironde */
.duo {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: start; /* garrafas no mesmo "chão", mesmo com legendas de alturas diferentes */
  margin: 18px 0 20px;
}
.duo__wine { display: flex; flex-direction: column; align-items: center; text-align: center; }
.duo__wine img {
  height: 200px; width: auto;
  filter: drop-shadow(0 14px 10px rgba(42, 39, 36, .16));
}
.duo figcaption { margin-top: 10px; font-size: .8125rem; line-height: 1.35; }
.duo figcaption strong { display: block; font: 500 .9375rem/1.25 var(--serif); letter-spacing: 0; }
.duo__aoc { display: block; color: var(--ink-soft); margin-top: 2px; }

.duo__river { position: relative; align-self: stretch; display: flex; justify-content: center; }
.duo__river svg { width: 12px; height: 100%; overflow: visible; }
.duo__river path { fill: none; stroke: var(--water-ink); stroke-width: 1.2; opacity: .55; vector-effect: non-scaling-stroke; }
.duo__river span {
  position: absolute; top: 34%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  padding: 2px 6px; background: var(--cream);
  font: italic 400 .75rem/1 var(--serif); color: var(--water-ink); letter-spacing: .04em;
}
.duo__river--plus { align-items: center; padding-bottom: 60px; }
.duo__river--plus span {
  position: static; transform: none; background: none;
  font: 300 1.75rem/1 var(--serif); font-style: normal; color: var(--ink-soft);
}

/* ==========================================================================
   2. PERGUNTA (continuação do vídeo) — curta: retoma e passa adiante
   ========================================================================== */
.question { padding-block: 48px 44px; }
.question__intro { font-size: .9375rem; opacity: .8; margin-bottom: 8px; }
.question__title { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); line-height: 1.12; margin-bottom: 18px; }
.question__answer { font: 400 1.125rem/1.45 var(--serif); margin-bottom: 26px; }
.question__answer em { display: block; margin-top: 2px; font-size: 1.625rem; line-height: 1.25; color: #fff; }
.question__pair { display: grid; gap: 12px; padding: 18px 0; border-block: 1px solid rgba(245, 239, 230, .2); margin-bottom: 20px; }
.question__pair li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; font-size: 1rem; line-height: 1.45; }
.question__year { font: 400 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.question__year--right { color: #E7B8BF; }
.question__year--left { color: #C9CCA6; }
.question__close { margin: 0; font: italic 400 1.1875rem/1.4 var(--serif); }

/* ==========================================================================
   3. MAPA — explicação visual imediata
   ========================================================================== */
.section--tight { padding-block: 56px; }
.map-section__grid { display: grid; gap: 8px; }
.map-section .h2 { margin-bottom: 0; }
.map { margin: 0; max-width: 440px; width: 100%; justify-self: center; }
.map__svg { width: 100%; height: auto; overflow: hidden; }
.map__water { fill: var(--water); }
.map__river { fill: none; stroke: var(--water); stroke-width: 6; stroke-linecap: round; }
.map__zone--left { fill: var(--olive); opacity: .14; }
.map__zone--right { fill: var(--burgundy); opacity: .12; }
.map__dot--left { fill: var(--olive); }
.map__dot--right { fill: var(--burgundy); }
.map__city { fill: var(--ink-soft); }
.map__north { stroke: var(--ink-soft); stroke-width: 1; }
.map__ocean { font: italic 400 12px var(--serif); fill: var(--water-ink); letter-spacing: .08em; }
.map__gironde { font: italic 500 13px var(--serif); fill: var(--water-ink); letter-spacing: .1em; }
.map__place { font: 500 18px var(--serif); fill: var(--ink); }
.map__bank { font: 600 10.5px var(--sans); letter-spacing: .14em; }
.map__bank--left { fill: var(--olive); }
.map__bank--right { fill: var(--burgundy); }
.map__wine-name { font: italic 400 13px var(--serif); fill: var(--ink-soft); }
.map__small { font: 500 11px var(--sans); fill: var(--ink-soft); }

/* Animação discreta do mapa (só com JS e sem "reduzir movimento") */
.js .map[data-map] .map__dot { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease) .15s; }
.js .map.is-in .map__dot { transform: scale(1); }

/* ==========================================================================
   4. COMPARAÇÃO — dois cartões lidos em 3 segundos
   A linha de cada cartão se lê atravessando: 2020 × 2014, Haut-Médoc × Blaye,
   Juventude × Evolução.
   ========================================================================== */
.duel {
  position: relative;
  display: grid; grid-template-columns: 1fr 36px 1fr;
  grid-template-rows: repeat(7, auto);
  margin: 8px 0 0;
}
/* A Gironde também separa a comparação */
.duel::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--water-ink); opacity: .3;
}
.duel__card {
  grid-row: 1 / -1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* Subgrid: as fileiras dos dois cartões ficam alinhadas mesmo quando um nome
   quebra em duas linhas (ano com ano, denominação com denominação). */
@supports (grid-template-rows: subgrid) {
  .duel__card { display: grid; grid-template-rows: subgrid; justify-items: center; align-content: start; }
}
.duel__card--left { grid-column: 1; }
.duel__card--right { grid-column: 3; }
.duel__card img { height: 104px; width: auto; margin-bottom: 12px; filter: drop-shadow(0 8px 6px rgba(42, 39, 36, .14)); }
.duel__card .side { margin-bottom: 2px; }
.duel__card p, .duel__name { margin: 0; }
.duel__year { font: 400 3rem/1.05 var(--serif); letter-spacing: -.02em; }
.duel__card--left .duel__year, .duel__card--left .duel__trait { color: var(--olive); }
.duel__card--right .duel__year, .duel__card--right .duel__trait { color: var(--burgundy); }
.duel__name { font: 500 1rem/1.25 var(--serif); letter-spacing: 0; margin-top: 6px; }
.duel__aoc { font-size: .9375rem; color: var(--ink); }
.duel__trait { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); width: 80%; font: italic 400 1.375rem/1.2 var(--serif); }
.duel__detail { margin-top: 4px !important; font-size: .8125rem; line-height: 1.35; color: var(--ink-soft); }
.duel__vs {
  grid-column: 2; grid-row: 3;
  position: relative; z-index: 1; align-self: center; justify-self: center;
  padding: 4px 0; background: var(--paper);
  font: 300 1.5rem/1 var(--serif); color: var(--ink-soft);
}

/* ==========================================================================
   5. BORDEAUX NA TAÇA (escuro) — o argumento central
   ========================================================================== */
.experience .h2 em { display: block; color: #E7B8BF; }
.experience p { font-size: 1.0625rem; }
.versus { display: grid; gap: 6px; margin: 26px 0; padding: 18px 0; text-align: center; }
.versus li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 12px; font: 400 1.375rem/1.3 var(--serif); }
.versus span:first-child { text-align: right; }
.versus span:last-child { text-align: left; }
.versus i { font-style: normal; font-size: 1rem; opacity: .7; }
.versus .versus__long { font-size: 1.0625rem; }
.versus--dark { border-block: 1px solid rgba(245, 239, 230, .2); }
.versus--dark .versus__r { color: #E7B8BF; }
.versus--dark .versus__l { color: #C9CCA6; }
.experience__close { margin: 0; font: 400 1.25rem/1.45 var(--serif); }
.experience__close em { display: block; color: #E7B8BF; }
.experience .micro { color: rgba(245, 239, 230, .78); font-size: .875rem; }
.experience .cta-block { margin-top: 30px; }

/* ==========================================================================
   6. CURADORIA — headline dominante, foto real, duas frases
   ========================================================================== */
.curation__grid { display: grid; gap: 22px; }
.curation__head .lead { margin-bottom: 0; }
.curation__photo { padding: 4px 10px 8px; }
/* Moldura polaroid: papel levemente quente, base mais alta com a legenda */
.polaroid {
  margin: 0 auto; max-width: 460px;
  padding: 12px 12px 0;
  background: #FFFDF9;
  box-shadow: 0 1px 2px rgba(42, 39, 36, .08), 0 14px 30px -12px rgba(42, 39, 36, .28);
  transform: rotate(-1.6deg);
  transition: transform .5s var(--ease);
}
.polaroid img { width: 100%; height: auto; filter: saturate(.92) contrast(1.03); }
.polaroid figcaption {
  padding: 14px 4px 18px;
  font: italic 400 1.0625rem/1.35 var(--serif); color: var(--ink);
  text-align: center;
}
.polaroid__kicker {
  display: block; margin-bottom: 4px;
  font: 600 .6875rem/1.2 var(--sans); font-style: normal;
  letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy);
}
@media (hover: hover) { .polaroid:hover { transform: rotate(-.4deg); } }
.curation__body p { font-size: 1.0625rem; }
.curation__punch { margin: 0; font: 500 1.25rem/1.4 var(--serif) !important; color: var(--burgundy); }

/* ==========================================================================
   7–8. VINHOS — o ano é o protagonista, o texto é curto
   ========================================================================== */
.wine__grid { display: grid; gap: 24px; }
.wine__visual {
  position: relative; margin: 0;
  display: flex; justify-content: center; align-items: flex-end;
  padding: 22px 0 18px; border-radius: var(--radius); overflow: hidden;
}
.wine__visual--right { background: var(--burgundy-tint); }
.wine__visual--left { background: var(--olive-tint); }
.wine__visual img { position: relative; z-index: 1; height: 236px; width: auto; filter: drop-shadow(0 16px 12px rgba(42, 39, 36, .18)); }
.wine__year {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font: 400 clamp(7rem, 5rem + 12vw, 11rem)/1 var(--serif); letter-spacing: -.03em;
  color: #fff; opacity: .6; pointer-events: none; user-select: none;
}
.wine .h2 { margin-bottom: 10px; }
.wine .lead { font-size: 1.375rem; }
.wine__visual--right + .wine__copy .lead { color: var(--burgundy); }
.wine__visual--left + .wine__copy .lead { color: var(--olive); }
.wine__copy p:not(.eyebrow):not(.lead) { font-size: 1.0625rem; }
.wine__proof {
  padding-left: 14px; border-left: 2px solid var(--burgundy);
  font: italic 400 1rem/1.45 var(--serif) !important; color: var(--ink);
}
.note {
  margin: 0 0 1em; padding: 12px 14px;
  background: var(--cream); border-left: 2px solid var(--olive);
  font-size: .9375rem !important; line-height: 1.5; color: var(--ink-soft);
}
.note strong { color: var(--olive); }

/* Ficha curta: 4 dados em grade 2 × 2 no celular */
.specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px;
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.specs dt { font: 600 .6875rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.specs dd { margin: 2px 0 0; font-size: .9375rem; line-height: 1.4; }
.wine .cta-block { margin-top: 36px; }

/* ==========================================================================
   9. PARA QUEM — três linhas
   ========================================================================== */
.h2--sm { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.audience__list { border-top: 1px solid var(--line); }
.audience__list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem; line-height: 1.5;
}
.audience__list li::before {
  content: ""; position: absolute; left: 2px; top: 1.45em;
  width: 14px; height: 1px; background: var(--burgundy);
}

/* ==========================================================================
   10. OFERTA FINAL
   ========================================================================== */
.offer { padding-top: 8px; }
.offer__card {
  max-width: 560px; margin: 0 auto;
  padding: 36px 16px 26px;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.offer__duo { margin: 20px 0 22px; }
.offer__duo .duo__wine img { height: 220px; }
.offer__price { text-align: center; }
.offer__unit { margin: 0 0 12px; font-size: .9375rem; color: var(--ink-soft); }
.offer__unit span { display: block; }
.offer__unit span:first-child { color: var(--ink); font-weight: 500; }
.offer__free {
  display: inline-block; margin: 0 0 20px; padding: 7px 14px; border-radius: 99px;
  background: var(--olive-tint); color: var(--olive);
  font: 600 .8125rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
/* Redução de risco: informação operacional, não selo */
.offer__trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  text-align: center;
}
.offer__trust li { font-size: .75rem; line-height: 1.35; color: var(--ink-soft); }
.offer__trust li::before { content: "✓"; display: block; margin-bottom: 2px; color: var(--olive); font-size: .8125rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block; cursor: pointer;
  min-height: 56px; padding: 16px 40px 16px 0;
  font: 500 1.0625rem/1.4 var(--serif);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--burgundy); border-bottom: 1.5px solid var(--burgundy);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 8px 20px 0; color: var(--ink-soft); font-size: 1rem; }
.faq__chat { margin: 24px 0 0; font-size: .9375rem; color: var(--ink-soft); }
.offer__chat { margin: 18px 0 0; text-align: center; font-size: .9375rem; color: var(--ink-soft); }
.link-btn { min-height: 44px; }

/* ==========================================================================
   CHAT CONCIERGE (iframe criado sob demanda)
   Celular: tela cheia, acompanhando o teclado. Desktop: painel no canto.
   ========================================================================== */
.chat-frame { position: fixed; left: 0; right: 0; top: 0; height: 100%; z-index: 90; }
.chat-frame[hidden] { display: none; }
.chat-frame__backdrop { display: none; }
.chat-frame__panel { position: absolute; inset: 0; background: var(--paper); }
.chat-frame__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
.chat-frame__loading {
  position: absolute; left: 0; right: 0; top: 45%; margin: 0;
  text-align: center; font: italic 400 1rem/1.4 var(--serif); color: var(--ink-soft);
}
.chat-frame.is-ready .chat-frame__loading { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { padding: 56px 0 calc(40px + var(--sticky-space, 0px)); background: var(--cream); font-size: .9375rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer__logo { height: 34px; width: auto; margin-bottom: 18px; }
.site-footer__tagline { font: italic 400 1.25rem/1.4 var(--serif); color: var(--ink); }
.site-footer__legal { font-size: .8125rem; margin-top: 18px; margin-bottom: 0; }
.site-footer__company {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  font-style: normal; font-size: .75rem; line-height: 1.7; letter-spacing: .01em; color: var(--ink-soft);
}
.site-footer__line { display: block; }
.site-footer__line > span { display: block; }
.site-footer__company i { font-style: normal; margin: 0 .5em; color: #BDB3A5; }
.site-footer__company a { color: inherit; text-decoration: underline; text-decoration-color: #CFC5B7; text-underline-offset: 3px; }
.site-footer__company a:hover { color: var(--burgundy); text-decoration-color: currentColor; }

/* ==========================================================================
   STICKY CTA (mobile)
   ========================================================================== */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(42, 39, 36, .06);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky.is-visible { transform: none; }
.sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 560px; margin: 0 auto; }
.sticky__text { margin: 0; line-height: 1.25; }
.sticky__text strong { display: block; font: 500 1rem/1.25 var(--serif); }
.sticky__text span { font-size: .8125rem; color: var(--olive); font-weight: 500; }
body.has-sticky { --sticky-space: 72px; }

/* ==========================================================================
   Reveal (somente com JS; sem JS tudo aparece)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .map[data-map] .map__dot { transform: none; transition: none; }
  .sticky, .btn, .faq summary::after, .polaroid { transition: none; }
}

/* ==========================================================================
   Telas pequenas (< 370 px)
   ========================================================================== */
@media (max-width: 399px) {
  .btn { padding-inline: 16px; letter-spacing: .04em; }
}

@media (max-width: 369px) {
  :root { --gutter: 16px; }
  .duo { grid-template-columns: 1fr 26px 1fr; }
  .duo__wine img { height: 176px; }
  .duel { grid-template-columns: 1fr 24px 1fr; }
  .duel__year { font-size: 2.5rem; }
  .sticky__text strong { font-size: .9375rem; }
}

/* ==========================================================================
   Tablet (≥ 700 px)
   ========================================================================== */
@media (min-width: 700px) {
  :root { --gutter: 32px; --section-y: 96px; }
  /* Altura como teto, não fixa: se a coluna apertar, a garrafa encolhe inteira
     em vez de ser espremida na largura. */
  .duo__wine img { height: auto; width: auto; max-width: 100%; max-height: 260px; }
  .duo { grid-template-columns: 1fr 60px 1fr; max-width: 520px; margin-inline: auto; }
  .hero__buy { width: 100%; max-width: 420px; margin: 0 auto; }
  .section--tight { padding-block: 80px; }
  .duel { max-width: 560px; margin-inline: auto; grid-template-columns: 1fr 64px 1fr; }
  .duel__card img { height: 132px; }
  .versus li { font-size: 1.5rem; }
  .offer__card { padding: 56px 48px 40px; }
  .offer__duo .duo__wine img { max-height: 280px; }
  .cta-block .btn { width: auto; min-width: 320px; }
  .sticky__inner { max-width: 640px; }

  /* Rodapé: empresa + CNPJ numa linha, endereço + contato na outra */
  .site-footer__line > span { display: inline; white-space: nowrap; }
  .site-footer__line > span + span::before { content: "·"; margin: 0 .5em; color: #BDB3A5; }
}

/* ==========================================================================
   Desktop (≥ 1024 px): mesma narrativa, mais respiro e lado a lado
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --section-y: 120px; }
  .site-header__inner { justify-content: flex-start; max-width: 1140px; margin: 0 auto; padding: 22px var(--gutter) 0; }

  /* Hero em duas colunas: texto + compra à esquerda, garrafas à direita */
  .hero { padding: 48px 0 96px; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "copy duo" "buy duo";
    column-gap: 64px; align-items: center;
  }
  .hero__copy { display: block; grid-area: copy; align-self: end; }
  .hero .eyebrow, .hero__title { text-align: left; }
  .hero__title em { margin-top: 10px; }
  .hero__duo { grid-area: duo; margin: 0; max-width: none; grid-template-columns: 1fr 44px 1fr; }
  .hero__duo .duo__wine img { max-height: 440px; }
  .hero__buy { grid-area: buy; align-self: start; margin: 32px 0 0; max-width: 420px; }
  .hero__buy .price, .hero__buy .micro { justify-content: flex-start; text-align: left; }
  .duo figcaption { font-size: .875rem; }
  .duo figcaption strong { font-size: 1.0625rem; }

  .question { padding-block: 88px; }
  .section--tight { padding-block: 96px; }

  .map-section__grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
  .map { max-width: 480px; }

  .curation__grid {
    grid-template-columns: 5fr 6fr; column-gap: 80px; row-gap: 24px;
    grid-template-areas: "photo head" "photo body"; align-items: end;
  }
  .curation__head { grid-area: head; }
  .curation__photo { grid-area: photo; align-self: center; }
  .curation__body { grid-area: body; align-self: start; }

  .wine__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  /* Geografia: Margem Direita com a garrafa à direita, Esquerda à esquerda */
  .wine__grid--right .wine__visual { order: 2; }
  .wine__visual { padding: 48px 0 40px; }
  .wine__visual img { height: 400px; }
  .wine__copy { max-width: 520px; }

  /* Oferta: garrafas à esquerda, preço e compra à direita */
  .offer__card {
    max-width: 980px; padding: 56px 64px;
    display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 64px;
    grid-template-rows: 1fr auto auto auto auto auto auto 1fr;
    grid-template-areas: "duo ." "duo eyebrow" "duo title" "duo price" "duo cta" "duo trust" "duo chat" "duo .";
  }
  .offer__card > .eyebrow { grid-area: eyebrow; text-align: left; }
  .offer__card > .h2 { grid-area: title; text-align: left; }
  .offer__duo { grid-area: duo; margin: 0; align-self: center; }
  .offer__price { grid-area: price; text-align: left; }
  .offer__price .price--lg { justify-content: flex-start; }
  .offer__card > .btn { grid-area: cta; }
  .offer__trust { grid-area: trust; text-align: left; }
  .offer__chat { grid-area: chat; text-align: left; }
  .offer__duo { grid-template-columns: 1fr 36px 1fr; }
  .offer__duo .duo__wine img { max-height: 340px; }

  /* Sticky: no desktop só aparece como barra discreta centralizada */
  .sticky { left: 50%; right: auto; bottom: 20px; width: 520px; padding: 10px 12px 10px 22px; border: 1px solid var(--line); border-radius: 6px; transform: translate(-50%, 140%); }
  .sticky.is-visible { transform: translate(-50%, 0); }
  body.has-sticky { --sticky-space: 90px; }

  .chat-frame { height: 100% !important; top: 0 !important; }
  .chat-frame__backdrop { display: block; position: absolute; inset: 0; background: rgba(42, 39, 36, .28); }
  .chat-frame__panel {
    inset: auto 24px 24px auto; width: 400px; height: min(640px, calc(100vh - 48px));
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
    box-shadow: 0 24px 64px rgba(42, 39, 36, .22);
  }

  .btn--primary:hover, .btn--ghost:hover { transform: translateY(-1px); }

  /* As duas linhas da empresa passam da coluna de texto do rodapé: cabem inteiras */
  .site-footer__company { width: max-content; }
}
