/* ============================================================
   RESET & TOKENS — copiados do design system canônico do BlindRank
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:root {
  /* Cores — design system canônico */
  --t-bg: #ffffff;
  --t-text-1: #0a0a0a;
  --t-text-2: #3a3a3a;
  --t-text-3: #767676;          /* ajustado para WCAG AA (≥4.5:1) */
  --t-text-4: #bbbbbb;
  --t-text-5: #e8e4de;

  --t-accent: #8B1A00;          /* CTA bordô — exclusivo */
  --t-accent-hover: #6B1200;

  --tier-1: #C04000;            /* Destaque terracota */
  --tier-2: #C47820;            /* Intermediário âmbar */
  --tier-3: #F0D080;            /* Base dourado */

  --t-stroke: #0a0a0a;
  --t-rule: rgba(10,10,10,0.08);
  --t-rule-strong: rgba(10,10,10,0.15);

  /* Tipografia */
  --font-display: 'Eudoxus Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1600px;
  --gutter: clamp(20px, 4vw, 56px);
}

body {
  font-family: var(--font-body);
  color: var(--t-text-1);
  background: var(--t-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}

/* ============================================================
   HEADER — logo à esquerda + nav à direita
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--t-rule);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img {
  height: 80px;
  width: auto;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.site-header__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--t-text-1);
  transition: color 200ms ease;
}
.site-header__nav a:hover { color: var(--t-text-1); }
.site-header__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__nav-locale { display: none; }
.site-header__language {
  position: relative;
}
.site-header__language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--t-text-2);
}
.site-header__language-trigger::-webkit-details-marker {
  display: none;
}
.site-header__language-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}
.site-header__language[open] .site-header__language-trigger::after {
  transform: rotate(225deg) translateY(-1px);
}
.site-header__language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 92px;
  padding: 6px;
  border: 1px solid var(--t-rule);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(10,10,10,0.12);
  z-index: 20;
}
.site-header__language-option,
.site-header__language a.site-header__language-option {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t-text-2);
  white-space: nowrap;
}
.site-header__language-option--current {
  color: var(--t-text-1);
  background: rgba(10,10,10,0.04);
}
.site-header__language a:hover,
.site-header__language a:focus-visible {
  color: var(--t-text-1);
  background: rgba(10,10,10,0.035);
}
.site-header__pin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: #ffffff;
  border: 1.5px solid rgba(10,10,10,0.18);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--t-text-2);
  white-space: nowrap;
  transition: color 200ms ease, border-color 200ms ease;
}
.site-header__pin-link:hover {
  color: var(--t-text-1);
  border-color: rgba(10,10,10,0.35);
}

/* Hambúrguer (default escondido em desktop) */
.site-header__menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: 6px;
  transition: background 200ms ease;
}
.site-header__menu-toggle:hover { background: rgba(0,0,0,0.04); }
.site-header__menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--t-text-1);
  border-radius: 2px;
  position: absolute;
  left: 9px;
  transition: transform 200ms ease, top 200ms ease, opacity 200ms ease;
}
.site-header__menu-toggle span:nth-child(1) { top: 14px; }
.site-header__menu-toggle span:nth-child(2) { top: 24px; }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 19px;
  transform: rotate(-45deg);
}

/* ============================================================
   HERO — texto centralizado + ranking desenhado
   ============================================================ */
.hero {
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(60px, 10vh, 100px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero__content {
  display: block;
  text-align: center;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-accent);
  margin-bottom: 28px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.3vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--t-text-1);
  margin: 0;
}
.hero__headline-line { display: inline; }
.hero__headline-line--stack { display: block; }
.hero__headline-emphasis {
  position: relative;
  display: inline-block;
  color: inherit;
  font-weight: 600;
}
.hero__headline-emphasis::after {
  content: "";
  position: absolute;
  left: -0.16em;
  right: -0.05em;
  bottom: -0.11em;
  height: 0.2em;
  background-image: url("data:image/svg+xml,%3Csvg width='220' height='14' viewBox='0 0 220 14' preserveAspectRatio='none' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 9C38 5 72 7 108 5.5C145 4 180 5 216 3.8' stroke='%23C04000' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M8 11C52 9 90 10 132 8.2C166 6.8 192 7.6 212 6.2' stroke='%23C04000' stroke-opacity='0.24' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.hero__text {
  max-width: 1120px;
  margin: 0 auto;
  min-width: 0;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding-top: 28px;
}
.hero__actions:empty {
  display: none;
}

.hero__subhead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--t-text-2);
  margin: 26px auto 0;
  max-width: 70ch;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.hero__actions .hero__cta-row {
  width: 100%;
  align-items: center;
}
.hero__beta-note {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--t-text-3);
  text-align: center;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  background: var(--t-accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 200ms ease, transform 200ms ease;
  letter-spacing: -0.005em;
}
.btn-accent:hover {
  background: var(--t-accent-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  background: #ffffff;
  color: var(--t-text-1);
  border: 1.5px solid rgba(10,10,10,0.18);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  border-radius: 9999px;
  transition: border-color 200ms ease, transform 200ms ease;
  letter-spacing: -0.005em;
}
.btn-ghost:hover {
  border-color: rgba(10,10,10,0.4);
  transform: translateY(-1px);
}

/* Ranking desenhado do topo. Mesmos elementos da tela de resultado do app. */
.rank {
  max-width: 880px;
  margin: 0 auto;
  border-top: 2px solid var(--t-stroke);
  text-align: left;
}
.rank__row {
  display: grid;
  grid-template-columns: 56px 92px minmax(0, 1fr) auto;
  column-gap: clamp(12px, 2.4vw, 32px);
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--t-rule-strong);
}
.rank__row--first {
  grid-template-columns: clamp(72px, 12vw, 148px) auto minmax(0, 1fr) auto;
  padding: clamp(28px, 5vh, 48px) 0;
  border-bottom-color: var(--t-stroke);
}
.rank__pos {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--t-text-3);
}
.rank__row--first .rank__pos {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--tier-1);
}
.rank__wine {
  display: grid;
  justify-items: center;
  gap: 6px;
  line-height: 1;
}
.rank__wine b {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.rank__wine i {
  font-style: normal;
  font-size: 0.55em;
  color: var(--t-text-3);
  margin-right: 2px;
}
.rank__wine small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-text-3);
}
.rank__row--first .rank__wine b { font-size: clamp(34px, 4vw, 52px); }
.rank__label {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.rank__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--t-text-1);
}
.rank__vintage {
  color: var(--t-text-3);
  font-weight: 400;
}
.rank__producer {
  font-size: 15px;
  color: var(--t-text-3);
}
.rank__row--first .rank__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.rank__row--first .rank__producer {
  font-size: clamp(16px, 1.6vw, 20px);
  margin-top: 6px;
}
.rank__score {
  display: grid;
  justify-items: end;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
}
.rank__row--first .rank__score { font-size: clamp(40px, 6vw, 84px); }
.rank__score small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--t-text-3);
  margin-top: 10px;
}

/* ============================================================
   RULE — separadores editoriais
   ============================================================ */
.rule {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.rule__line {
  height: 1px;
  background: var(--t-rule-strong);
}

/* ============================================================
   SECTION — base
   ============================================================ */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(100px, 14vh, 160px) var(--gutter);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-text-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ============================================================
   SEQUÊNCIA DE MOMENTOS — alternada
   ============================================================ */
.moments {
  background: #fafaf8;
  border-top: 1px solid var(--t-rule);
  border-bottom: 1px solid var(--t-rule);
}
.moments__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 140px);
  align-items: start;
}
.moments__header {
  position: sticky;
  top: 140px;
}
.moments__header .section__eyebrow {
  /* #767676 no fundo #fafaf8 da seção dá 4,35:1; #707070 passa em AA (4,7:1). */
  color: #707070;
}
.moments__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 24px;
  color: var(--t-text-1);
}

.moments__list {
  list-style: none;
  border-top: 1px solid var(--t-rule-strong);
}
.moment {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 32px;
  padding: clamp(32px, 5vh, 52px) 0;
  border-bottom: 1px solid var(--t-rule-strong);
}
.moment__number {
  grid-row: span 2;
  padding-top: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--t-accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.moment__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
  color: var(--t-text-1);
}
.moment__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--t-text-2);
  max-width: 52ch;
}

/* ============================================================
   PARA QUEM É — 3 cards por persona
   ============================================================ */
.audience {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(100px, 14vh, 160px) var(--gutter);
}
.audience__header {
  margin: 0 auto 64px;
  max-width: 720px;
  text-align: center;
}
.audience__header .section__eyebrow {
  justify-content: center;
}
.audience__header .section__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.audience__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 24px;
  color: var(--t-text-1);
}
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.audience-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow:
    0 2px 6px rgba(10,10,10,0.07),
    0 22px 56px rgba(10,10,10,0.13);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 3px 8px rgba(10,10,10,0.08),
    0 28px 64px rgba(10,10,10,0.16);
}
.audience-card__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-text-3);
  margin-bottom: 16px;
}
.audience-card__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--t-text-1);
  margin-bottom: 16px;
}
.audience-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--t-text-2);
}

/* ============================================================
   MÉTODO — colofão técnico estilo ficha de revista
   ============================================================ */
.method {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 72% 48% at -8% 48%, rgba(245,238,226,0.14) 0%, rgba(245,238,226,0.07) 32%, rgba(10,10,10,0.02) 58%, transparent 74%),
    linear-gradient(25deg, transparent 0%, transparent 10%, rgba(245,238,226,0.11) 22%, rgba(245,238,226,0.07) 34%, rgba(245,238,226,0.03) 48%, transparent 66%),
    linear-gradient(180deg, #10100f 0%, #090909 48%, #050505 100%);
  color: #f5f3f0;
}
.method__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 120px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.method__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tier-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.method__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.method__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-top: 20px;
  color: #ffffff;
}
.method__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.method__item {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: baseline;
}
.method__item:last-child { border-bottom: none; padding-bottom: 0; }
.method__item-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tier-3);
}
.method__item-text {
  font-size: 16px;
  line-height: 1.55;
  color: #e8e4de;
}
.method__item-text em {
  font-style: italic;
  color: #ffffff;
}

/* ============================================================
   SCAN INTELIGENTE — destaque do diferencial de IA
   ============================================================ */
.scan {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.scan__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.scan__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.scan__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.scan__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-top: 20px;
  color: var(--t-text-1);
}
.scan__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--t-text-2);
  max-width: 46ch;
}

/* ============================================================
   BETA — gratuito, sem preço fechado
   ============================================================ */
.beta,
.origin {
  border-top: 1px solid var(--t-rule);
}
.beta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 11vh, 120px) var(--gutter);
  text-align: center;
}
.beta .section__eyebrow,
.origin .section__eyebrow {
  justify-content: center;
}
.beta .section__eyebrow::after,
.origin .section__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.beta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  color: var(--t-text-1);
}
.beta__lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--t-text-1);
  max-width: 680px;
  margin: 0 auto 24px;
}
.beta__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--t-text-2);
  max-width: 68ch;
  margin: 0 auto;
}
.beta__text + .beta__text {
  margin-top: 16px;
}

/* ============================================================
   CTA FINAL — centralizado, contraste com hero
   ============================================================ */
.cta-final {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(120px, 16vh, 180px) var(--gutter);
  text-align: center;
}
.cta-final__text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--t-text-2);
  max-width: 480px;
  margin: 0 auto 48px;
}

/* ============================================================
   FAQ — accordion nativo, layout 2 colunas desktop
   ============================================================ */
.faq {
  border-top: 1px solid var(--t-rule);
}
.faq__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 120px) var(--gutter);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.faq__header {
  text-align: left;
  margin-bottom: 0;
  position: sticky;
  top: 120px;
}
.faq .section__eyebrow {
  justify-content: flex-start;
}
.faq .section__eyebrow::after {
  display: none;
}
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
  color: var(--t-text-1);
}
.faq__list {
  display: grid;
  gap: 0;
}
.faq__item {
  border: 0;
  border-top: 1px solid rgba(10,10,10,0.14);
  border-radius: 0;
  background: transparent;
}
.faq__item:first-child { border-top: 0; }
.faq__item:last-child { border-bottom: 1px solid rgba(10,10,10,0.14); }
.faq__question {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--t-text-1);
  user-select: none;
}
.faq__question-number {
  color: var(--t-accent);
  font-family: var(--font-body);
  font-size: 0.78em;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(0.02em);
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::after {
  content: "+";
  flex: 0 0 auto;
  grid-column: 3;
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: var(--t-accent);
}
.faq__item[open] .faq__question::after {
  content: "−";
}
/* animação suave — grid-template-rows trick (sem JS) */
.faq__answer-grid {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__item[open] .faq__answer-grid {
  grid-template-rows: 1fr;
}
.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}
.faq__answer {
  padding: 0 0 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--t-text-2);
}
.faq__more {
  margin-top: 18px;
  padding-top: 8px;
}
.faq__more-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--t-text-2);
}
.faq__more-link {
  color: var(--t-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms ease;
}
.faq__more-link:hover {
  color: var(--t-accent-hover);
}

/* ============================================================
   SUPORTE. Página centralizada
   ============================================================ */
.support {
  min-height: calc(100vh - 122px);
  padding: clamp(32px, 5vh, 56px) var(--gutter);
  display: grid;
  place-items: center;
}
.support__shell {
  width: min(100%, 980px);
}
.support__header {
  text-align: center;
  margin: 0 auto 20px;
}
.support__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--t-text-1);
  margin: 0 0 12px;
}
.support__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--t-text-2);
  max-width: 460px;
  margin: 0 auto;
}
.support__panel {
  border: 1px solid var(--t-rule);
  border-radius: 12px;
  padding: clamp(12px, 1.8vw, 18px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(12px, 1.8vw, 18px);
  background: #ffffff;
}
.support__card {
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: 10px;
  padding: clamp(16px, 2.2vw, 22px);
  background: #ffffff;
}
.support__card--email {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}
.support__card-header {
  margin-bottom: 14px;
}
.support__card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--t-text-1);
  margin: 0;
}
.support__email-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--t-text-2);
  margin: 14px 0 0;
}
.support__email-link {
  color: var(--t-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  transition: color 200ms ease;
}
.support__email-link:hover {
  color: var(--t-accent-hover);
}
.contact__form {
  display: grid;
  gap: 10px;
}
.contact__field {
  display: grid;
  gap: 6px;
}
.contact__label {
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  color: var(--t-text-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.contact__input,
.contact__textarea {
  width: 100%;
  border: 1px solid var(--t-rule-strong);
  border-radius: 9px;
  background: #ffffff;
  color: var(--t-text-1);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.contact__textarea {
  min-height: 104px;
  resize: vertical;
}
.contact__input:focus,
.contact__textarea:focus {
  border-color: rgba(196,120,32,0.72);
  box-shadow: 0 0 0 3px rgba(196,120,32,0.12);
}
.contact__input::placeholder,
.contact__textarea::placeholder {
  color: var(--t-text-4);
}
.contact__input[aria-invalid="true"],
.contact__textarea[aria-invalid="true"] {
  border-color: var(--t-accent);
}
.contact__error {
  font-size: 13px;
  line-height: 1.35;
  color: var(--t-accent);
}
.contact__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}
.contact__status {
  flex: 1 1 260px;
  min-height: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--t-text-2);
}
.contact__status--success {
  color: #2f6b3f;
}
.contact__status--error {
  color: var(--t-accent);
}
.contact__status a {
  color: var(--t-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact__status a:hover {
  color: var(--t-accent-hover);
}
.contact__submit[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* ============================================================
   FOOTER — uma linha
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--t-rule);
  padding: 32px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.site-footer__meta { justify-self: end; }
.site-footer__meta {
  font-size: 12px;
  color: var(--t-text-3);
}
.site-footer__links {
  display: flex;
  gap: 24px;
}
.site-footer__links a {
  font-size: 12px;
  color: var(--t-text-3);
  transition: color 200ms ease;
}
.site-footer__links a:hover { color: var(--t-text-1); }

/* ============================================================
   SCROLL-DRIVEN ANIMATIONS — progressive enhancement
   ============================================================ */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes reveal-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — mobile first refinement
   ============================================================ */
@media (max-width: 880px) {
  .site-header__inner {
    gap: 16px;
  }
  .site-header__logo img {
    height: 56px !important;
  }
  .site-header__controls {
    margin-left: auto;
  }
  .site-header__language {
    display: none;
  }
  .site-header__pin-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
  .site-header__menu-toggle { display: block; }

  /* Nav escondida por default no mobile, abre como overlay quando data-menu-open=true */
  .site-header__nav { display: none; }
  .site-header[data-menu-open="true"] .site-header__nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--t-rule);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    gap: 0;
  }
  .site-header[data-menu-open="true"] .site-header__nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--t-rule);
  }
  .site-header[data-menu-open="true"] .site-header__nav a:last-child {
    border-bottom: none;
  }
  .site-header[data-menu-open="true"] .site-header__nav .site-header__nav-locale { display: block; }
  /* Mobile: subhead e ações centralizados, como o título */
  .hero__actions {
    align-items: center;
    text-align: center;
    padding-top: 24px;
  }
  .hero__subhead {
    text-align: center;
    max-width: none;
  }
  .hero__subhead-break { display: none; }
  .hero__actions .hero__cta-row {
    align-items: center;
    width: fit-content;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .hero__content {
    margin-bottom: 56px;
  }
  .hero__text,
  .hero__actions,
  .hero__subhead {
    max-width: calc(100vw - (2 * var(--gutter)));
    width: 100%;
  }
  .hero__headline {
    font-size: 29px;
    line-height: 1.12;
  }
  .hero__headline-line {
    display: block;
  }
  .hero__beta-note { text-align: center; }


  .rank__row {
    grid-template-columns: 30px 56px minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 16px 0;
  }
  .rank__row--first {
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 14px;
  }
  .rank__row--first .rank__pos { grid-column: 1 / 3; grid-row: 1; }
  .rank__row--first .rank__score { grid-column: 3; grid-row: 1; }
  .rank__row--first .rank__wine { grid-column: 1; grid-row: 2; }
  .rank__row--first .rank__label { grid-column: 2 / -1; grid-row: 2; }
  .rank__row--first .rank__wine b { font-size: 30px; }
  .rank__pos { font-size: 16px; }
  .rank__wine b { font-size: 24px; }
  .rank__name { font-size: 16px; }
  .rank__score { font-size: 20px; }

  .moments__inner { grid-template-columns: 1fr; }
  .moments__header { position: static; text-align: center; }
  .moments__header .section__eyebrow { justify-content: center; }
  .moments__header .section__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
  }
  .moment { grid-template-columns: 1fr; }
  .moment__number { padding: 0 0 12px; }

  .scan__inner { grid-template-columns: 1fr; gap: 24px; }

  .method__inner { grid-template-columns: 1fr; gap: 40px; }
  .method__item { grid-template-columns: 1fr; gap: 8px; }

  .audience-cards { grid-template-columns: 1fr; gap: 20px; }

  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__header { position: static; text-align: center; }
  .faq .section__eyebrow { justify-content: center; }
  .faq .section__eyebrow::after { display: block; }

  .support {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 44px;
  }
  .support__header { margin-bottom: 20px; }
  .support__panel { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .support__card { padding: 18px; }
  .support__card--email { gap: 12px; }
  .contact__actions { align-items: stretch; flex-direction: column; }
  .contact__submit { width: 100%; }
  .contact__status { flex-basis: auto; text-align: center; }

  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer__meta { justify-self: auto; }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 26px;
  }
  .hero__headline-emphasis {
    white-space: nowrap;
  }
}

@media (min-width: 881px) {
  .hero__headline-line--stack {
    white-space: nowrap;
  }
}
