/* ============================================================
   TOKENS — Júlia Brignol Advocacia
   Derivados na íntegra do design_system/design-system.html
   Extensões editoriais: aurora viva, easings cinematográficos,
   sombras magnéticas, numerais decorativos.
   ============================================================ */
:root {
  /* Cores · identidade Júlia Brignol */
  --color-vinho:           #2B0C0C;
  --color-vinho-center:    #310D0E;
  --color-vinho-edge:      #270A0B;
  --color-vinho-deep:      #1C0707;
  --color-vinho-light:     #3A1212;
  --color-dourado:         #C9A15B;
  --color-dourado-soft:    #D9BB80;
  --color-offwhite:        #F5EFE6;

  /* Estado · erro (derivado do field-help--error do DS: #E0817A / #B0413E) */
  --color-error:           #B0413E;
  --color-error-soft:      #E0817A;

  /* Alphas sobre vinho */
  --on-vinho-1: rgba(245, 239, 230, 0.92);
  --on-vinho-2: rgba(245, 239, 230, 0.70);
  --on-vinho-3: rgba(245, 239, 230, 0.50);
  --on-vinho-4: rgba(245, 239, 230, 0.30);
  --on-vinho-5: rgba(245, 239, 230, 0.12);

  /* Alphas sobre off-white */
  --on-off-1: rgba(42, 10, 12, 0.92);
  --on-off-2: rgba(42, 10, 12, 0.70);
  --on-off-3: rgba(42, 10, 12, 0.50);
  --on-off-4: rgba(42, 10, 12, 0.30);
  --on-off-5: rgba(42, 10, 12, 0.10);

  /* Dourado em alphas */
  --gold-5:  rgba(201, 161, 91, 0.05);
  --gold-10: rgba(201, 161, 91, 0.10);
  --gold-20: rgba(201, 161, 91, 0.20);
  --gold-30: rgba(201, 161, 91, 0.30);
  --gold-50: rgba(201, 161, 91, 0.50);
  --gold-70: rgba(201, 161, 91, 0.70);

  /* Aurora · halos cinematográficos em movimento lento */
  --aurora-1: rgba(201, 161, 91, 0.14);
  --aurora-2: rgba(217, 187, 128, 0.10);
  --aurora-3: rgba(58, 18, 18, 0.55);

  /* Tipografia */
  --font-serif: "Cormorant Garamond", "Bodoni Moda", Georgia, serif;
  --font-sans:  "Montserrat", "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-mono:  ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Easings */
  --ease-reveal:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-default:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-pulse:     cubic-bezier(0.4, 0, 0.6, 1);
  --ease-out:       cubic-bezier(0, 0, 0.2, 1);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-magnetic:  cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Durations */
  --d-fast:    150ms;
  --d-base:    300ms;
  --d-slow:    500ms;
  --d-reveal:  800ms;
  --d-letter:  900ms;
  --d-aurora:  18s;

  /* Sombras */
  --shadow-soft:     0 4px 30px rgba(0, 0, 0, 0.45);
  --shadow-strong:   0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-gold:     0 0 20px rgba(201, 161, 91, 0.22);
  --shadow-gold-s:   0 0 12px rgba(201, 161, 91, 0.55);
  --shadow-magnetic: 0 18px 48px -18px rgba(201, 161, 91, 0.55), 0 0 24px rgba(201, 161, 91, 0.18);

  /* Raios */
  --r-sm:   0.125rem;
  --r-md:   0.375rem;
  --r-lg:   0.5rem;
  --r-xl:   0.75rem;
  --r-2xl:  1.5rem;
  --r-3xl:  2rem;
  --r-full: 9999px;

  /* Numerais decorativos editoriais */
  --numeral-size:    clamp(7rem, 16vw, 14rem);
  --numeral-opacity: 0.06;

  /* Z-index */
  --z-nav:     50;
  --z-overlay: 60;
  --z-cursor:  70;
}

/* Aurora · propriedades animáveis registradas para transição fluida.
   Fallback gracioso em browsers sem @property — apenas perde o tween. */
@property --aurora-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --aurora-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 18%;
}
/* ============================================================
   RESET — espelhado do design-system.html
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--on-vinho-5);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
}

button { cursor: pointer; }

ul, ol, menu { list-style: none; }

img, svg, video { display: block; max-width: 100%; }

/* Acessibilidade · respeitar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

::selection { background: var(--color-dourado); color: var(--color-vinho); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-vinho-deep); }
::-webkit-scrollbar-thumb { background: var(--color-dourado); opacity: 0.5; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-dourado-soft); }

/* Skip link · acessibilidade WCAG 2.4.1 (Bypass Blocks) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  z-index: var(--z-overlay);
  padding: 0.75rem 1.25rem;
  background: var(--color-dourado);
  color: var(--color-vinho);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  transition: top var(--d-fast) var(--ease-default);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--color-offwhite);
  outline-offset: 2px;
}

/* Foco visível padrão · WCAG 2.2 */
:focus-visible {
  outline: 2px solid var(--color-dourado);
  outline-offset: 3px;
  border-radius: 2px;
}
/* ============================================================
   BASE — fundo cinematográfico, tipografia, primitivas
   Aderente ao design-system.html · extensões editoriais
   ============================================================ */

/* ---------- BODY · fundo vinho + vinheta + grão ---------- */
body {
  font-family: var(--font-sans);
  background-color: var(--color-vinho);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(201, 161, 91, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 40%,
      var(--color-vinho-center) 0%,
      var(--color-vinho) 45%,
      var(--color-vinho-edge) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.63  0 0 0 0 0.36  0 0 0 0.075 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, 100% 100%, 320px 320px;
  background-attachment: fixed, fixed, fixed;
  color: var(--on-vinho-1);
}

/* ---------- AURORA · halos vivos e dourados em movimento lento ----------
   Substitui os antigos .bg-cinematic / .bg-ember por dois orbes que
   respiram em órbita. Loop suave de 18s, opacidade discreta para não
   competir com o conteúdo. Pausado em prefers-reduced-motion (reset.css). */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}
.bg-aurora::before,
.bg-aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform, opacity;
}
.bg-aurora::before {
  top: -10%;
  left: 20%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle at center, var(--aurora-1) 0%, transparent 65%);
  animation: aurora-drift var(--d-aurora) ease-in-out infinite;
}
.bg-aurora::after {
  bottom: -15%;
  right: 10%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle at center, var(--aurora-2) 0%, transparent 70%);
  animation: aurora-drift var(--d-aurora) ease-in-out infinite reverse;
  animation-delay: -6s;
}

/* Linhas verticais editoriais sutis · texturizam sem ruído */
.bg-rules {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), var(--gold-5) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  opacity: 0.35;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* ---------- TIPOGRAFIA ---------- */
.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }
.italic     { font-style: italic; }
.uppercase  { text-transform: uppercase; }

/*
 * Convenção do design system:
 * As classes .h-display / .h1 / .h2 / .h3 / .h4 controlam APENAS o
 * tamanho visual. O elemento HTML deve refletir a hierarquia semântica
 * correta — uma única <h1> por página, depois <h2> nas seções, <h3> nas
 * sub-seções e assim por diante.
 */
.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-feature-settings: "liga", "dlig", "kern";
}
.h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
}
.h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}

.body-l   { font-family: var(--font-sans); font-weight: 300; font-size: 1.125rem; line-height: 1.625; }
.body-m   { font-family: var(--font-sans); font-weight: 400; font-size: 1rem;     line-height: 1.5; }
.body-s   { font-family: var(--font-sans); font-weight: 400; font-size: 0.875rem; line-height: 1.4; }
.caption  { font-family: var(--font-sans); font-weight: 500; font-size: 0.75rem;  line-height: 1.2; letter-spacing: 0.05em; }
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-dourado);
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
}

/* Utilitários pontuais */
.u-mb-1     { margin-bottom: 1rem; }
.u-mb-2     { margin-bottom: 1.5rem; }
.h-on-vinho { color: var(--color-offwhite); }

/* ---------- TEXT GRADIENT ---------- */
.text-gradient {
  background: linear-gradient(to bottom right, var(--color-offwhite), var(--color-dourado));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- WORD ROTATOR · troca de palavra com mask-reveal ----------
   Usada no italic-soft do hero: a JS empilha .word-rotator__item e
   alterna .is-active em loop. Suave, sem layout-shift. */
.word-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
  overflow: hidden;
  height: 1em;
  line-height: 1;
}
.word-rotator__item {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(60%);
  transition:
    opacity var(--d-slow) var(--ease-editorial),
    transform var(--d-slow) var(--ease-editorial),
    filter var(--d-slow) var(--ease-editorial);
  filter: blur(8px);
  color: inherit;
  font-style: inherit;
}
.word-rotator__item.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.word-rotator__item.is-leaving {
  opacity: 0;
  transform: translateY(-60%);
  filter: blur(8px);
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.section { padding-top: 5rem; padding-bottom: 5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ---------- GLASS PANEL ---------- */
.glass-panel {
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.04) 0%, rgba(245, 239, 230, 0.015) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--gold-10);
  box-shadow: var(--shadow-soft);
}

/* ---------- DIVIDERS ---------- */
.divider-gold {
  height: 1px;
  background: var(--gold-30);
  width: 100%;
}
.divider-gold--gradient {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-50), transparent);
  width: 100%;
}
.section-divider {
  position: relative;
  height: 1px;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--gold-30), transparent);
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-dourado);
  box-shadow: 0 0 12px var(--gold-50);
  opacity: 0.8;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: opacity var(--d-reveal) var(--ease-reveal),
              transform var(--d-reveal) var(--ease-reveal),
              filter var(--d-reveal) var(--ease-reveal);
}
.reveal.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* ---------- KINETIC LINE REVEAL · h-display por linhas ----------
   JS quebra texto em .kinetic-line (uma por linha visual);
   cada uma sobe sob mask, com stagger. */
.kinetic-headline { display: block; }
.kinetic-line {
  display: block;
  overflow: hidden;
  line-height: 1;
  padding-bottom: 0.12em;
}
.kinetic-line__inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform var(--d-letter) var(--ease-editorial),
    opacity var(--d-letter) var(--ease-editorial);
}
.kinetic-headline.is-active .kinetic-line__inner {
  transform: translateY(0);
  opacity: 1;
}
.kinetic-headline.is-active .kinetic-line:nth-child(2) .kinetic-line__inner { transition-delay: 120ms; }
.kinetic-headline.is-active .kinetic-line:nth-child(3) .kinetic-line__inner { transition-delay: 240ms; }
.kinetic-headline.is-active .kinetic-line:nth-child(4) .kinetic-line__inner { transition-delay: 360ms; }

/* ---------- SCROLL CUE · indicador kinético do hero ---------- */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-vinho-3);
}
.scroll-cue__rail {
  position: relative;
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--gold-30), transparent);
  overflow: hidden;
}
.scroll-cue__rail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 0.75rem;
  margin-left: -2px;
  background: var(--color-dourado);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--gold-50);
  animation: scroll-cue-fall 2.2s var(--ease-editorial) infinite;
}

/* ---------- KEYFRAMES ---------- */
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes ping       { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pulse-slow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes float      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes aurora-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.95; }
  50%      { transform: translate3d(4%, 3%, 0) scale(1.08); opacity: 1; }
}
@keyframes scroll-cue-fall {
  0%       { transform: translateY(-100%); opacity: 0; }
  40%      { opacity: 1; }
  100%     { transform: translateY(300%); opacity: 0; }
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 161, 91, 0.55), var(--shadow-strong), var(--shadow-gold); }
  70%      { box-shadow: 0 0 0 18px rgba(201, 161, 91, 0), var(--shadow-strong), var(--shadow-gold); }
}
/* ============================================================
   COMPONENTS — botões, inputs, cards, nav, badges
   Espelha o vocabulário do design-system.html · extensões editoriais
   ============================================================ */

/* ---------- NAV (header pílula fixa) ---------- */
.site-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 64rem;
  z-index: var(--z-nav);
  transition: top var(--d-base) var(--ease-default),
              background var(--d-base) var(--ease-default);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-strong);
  transition: backdrop-filter var(--d-base) var(--ease-default),
              border-color var(--d-base) var(--ease-default),
              background var(--d-base) var(--ease-default);
}

/* Compacta a navbar quando o scroll passa do hero (classe alternada via JS) */
.site-nav.is-condensed .site-nav__inner {
  background: linear-gradient(180deg, rgba(28, 7, 7, 0.86) 0%, rgba(28, 7, 7, 0.72) 100%);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  border-color: var(--gold-20);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-nav__logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(201, 161, 91, 0.15));
  transition: transform var(--d-base) var(--ease-default);
}
.site-nav__brand:hover .site-nav__logo {
  transform: rotate(-6deg) scale(1.04);
}

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

.site-nav__name strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-offwhite);
}

.site-nav__name span {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-vinho-4);
  margin-top: 0.2rem;
}

.site-nav__links {
  display: none;
  gap: 1.75rem;
  list-style: none;
}

.site-nav__links a {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-vinho-3);
  transition: color var(--d-fast) var(--ease-default);
  padding-bottom: 0.25rem;
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--color-dourado);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--d-base) var(--ease-editorial);
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: var(--color-dourado);
}
.site-nav__links a:hover::after,
.site-nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__cta {
  background: var(--color-offwhite);
  color: var(--color-vinho);
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--d-base) var(--ease-default),
              color var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-magnetic),
              box-shadow var(--d-base) var(--ease-default);
  box-shadow: 0 0 15px rgba(245, 239, 230, 0.08);
  display: none;
}

.site-nav__cta:hover {
  background: var(--color-dourado);
  color: var(--color-offwhite);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile menu trigger */
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-full);
  background: var(--gold-10);
  color: var(--color-offwhite);
  transition: background var(--d-fast) var(--ease-default);
}

.site-nav__toggle:hover {
  background: var(--gold-20);
}

.site-nav__toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.site-nav__toggle .icon-close { display: none; }
.site-nav.is-open .site-nav__toggle .icon-open { display: none; }
.site-nav.is-open .site-nav__toggle .icon-close { display: block; }

/* Mobile drawer */
.site-nav__drawer {
  position: fixed;
  inset: 0 0 auto 0;
  top: calc(3.25rem + 1rem);
  margin: 0 auto;
  width: 95%;
  max-width: 64rem;
  padding: 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--color-vinho-deep);
  border: 1px solid var(--gold-20);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-default);
}

.site-nav.is-open .site-nav__drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav__drawer ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
}

.site-nav__drawer a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-vinho-2);
  border-radius: var(--r-md);
  transition: background var(--d-fast) var(--ease-default),
              color var(--d-fast) var(--ease-default);
}

.site-nav__drawer a:hover,
.site-nav__drawer a:focus-visible {
  background: var(--gold-10);
  color: var(--color-dourado);
}

.site-nav__drawer .drawer-cta {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--color-dourado);
  color: var(--color-vinho);
  font-weight: 700;
}

.site-nav__drawer .drawer-cta:hover {
  background: var(--color-offwhite);
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--gold-20);
  background: var(--gold-5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.badge__dot {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
}

.badge__dot::before,
.badge__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-dourado);
}

.badge__dot::before {
  animation: ping 1.4s var(--ease-out) infinite;
  opacity: 0.75;
}

.badge__label {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-dourado);
  font-weight: 600;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--d-base) var(--ease-default),
              color var(--d-base) var(--ease-default),
              border-color var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-magnetic),
              box-shadow var(--d-base) var(--ease-default);
  cursor: pointer;
  min-height: 44px;
}

.btn svg { width: 1rem; height: 1rem; transition: transform var(--d-base) var(--ease-magnetic); }

.btn--primary {
  background: var(--color-dourado);
  color: var(--color-vinho);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover:not(:disabled) {
  background: var(--color-offwhite);
  color: var(--color-vinho);
  transform: translateY(-1px);
  box-shadow: var(--shadow-magnetic);
}

.btn--primary:hover:not(:disabled) svg {
  transform: translate(3px, -3px);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 0 10px var(--gold-30);
}

.btn--primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--color-offwhite);
  border: 1px solid var(--gold-30);
}

.btn--ghost:hover:not(:disabled) {
  border-color: var(--color-dourado);
  background: var(--gold-10);
}

.btn--ghost:active:not(:disabled) {
  background: var(--gold-20);
}

.btn--ghost:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn--block { width: 100%; }

/* ---------- CTA conic · halo dourado animado + variante magnética ---------- */
.cta-conic {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border-radius: var(--r-full);
  padding: 1.5px;
  cursor: pointer;
  min-height: 44px;
  isolation: isolate;
  transition: transform var(--d-base) var(--ease-magnetic),
              box-shadow var(--d-base) var(--ease-default);
}

.cta-conic__halo {
  position: absolute;
  inset: -1000%;
  background: conic-gradient(from 90deg at 50% 50%,
      var(--color-vinho-deep) 0%,
      var(--color-dourado) 50%,
      var(--color-vinho-deep) 100%);
  animation: spin 4s linear infinite;
  pointer-events: none;
}

.cta-conic__inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--color-vinho-deep);
  -webkit-backdrop-filter: blur(64px);
          backdrop-filter: blur(64px);
  border-radius: var(--r-full);
  padding: 1rem 2.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  transition: background var(--d-base) var(--ease-default),
              letter-spacing var(--d-base) var(--ease-editorial);
}

.cta-conic:hover .cta-conic__inner {
  background: var(--color-vinho);
  letter-spacing: 0.22em;
}

.cta-conic__inner svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-dourado);
  transition: transform var(--d-base) var(--ease-magnetic);
}

.cta-conic:hover .cta-conic__inner svg {
  transform: translate(3px, -3px);
}

/* Variante magnética · puxa o cursor (--mx/--my injetados via JS no mousemove). */
.cta-conic--magnetic {
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  will-change: transform;
}
.cta-conic--magnetic:hover { box-shadow: var(--shadow-magnetic); }

.cta-conic:disabled,
.cta-conic[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cta-conic__halo { animation: none; }
  .cta-conic--magnetic { transform: none; }
}

/* ---------- INPUTS ---------- */
.tech-input {
  width: 100%;
  border-radius: var(--r-lg);
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  color: var(--on-vinho-1);
  background: rgba(245, 239, 230, 0.04);
  border: 1px solid var(--on-vinho-5);
  transition: background var(--d-base) ease,
              border-color var(--d-base) ease,
              box-shadow var(--d-base) ease;
  font-family: var(--font-sans);
  min-height: 44px;
}

.tech-input::placeholder { color: var(--on-vinho-4); }

.tech-input:focus,
.tech-input:focus-visible {
  background: var(--gold-5);
  border-color: var(--color-dourado);
  box-shadow: 0 0 15px var(--gold-10);
  outline: none;
}

.tech-input.is-error,
.tech-input[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 12px rgba(176, 65, 62, 0.25);
}

.tech-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

textarea.tech-input {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.5;
}

select.tech-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A15B' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem 1rem;
  padding-right: 2.5rem;
}

select.tech-input option {
  background: var(--color-vinho-deep);
  color: var(--color-offwhite);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

/* Stepped label · numeral discreto na frente */
.field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-vinho-2);
  margin-left: 0.25rem;
  font-weight: 700;
}
.field-label__index {
  font-family: var(--font-mono);
  color: var(--color-dourado);
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.field-label .required {
  color: var(--color-dourado);
  margin-left: 0.15rem;
}

.field-label .optional-hint {
  font-weight: 400;
  color: var(--on-vinho-4);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.35rem;
}

.field-help {
  font-size: 0.7rem;
  color: var(--on-vinho-3);
  margin-left: 0.25rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.field-help--error { color: var(--color-error-soft); }

/* Checkbox custom */
.field-check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.5rem 0;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--on-vinho-2);
}

.field-check input[type="checkbox"] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--gold-30);
  border-radius: var(--r-sm);
  background: rgba(245, 239, 230, 0.04);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--d-fast) var(--ease-default),
              border-color var(--d-fast) var(--ease-default);
}

.field-check input[type="checkbox"]:hover { border-color: var(--color-dourado); }

.field-check input[type="checkbox"]:checked {
  background: var(--color-dourado);
  border-color: var(--color-dourado);
}

.field-check input[type="checkbox"]:checked::after {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B0C0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.field-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-dourado);
  outline-offset: 3px;
}

.field-check.is-error input[type="checkbox"] { border-color: var(--color-error); }

/* Honeypot · escondido para usuários reais e leitores de tela */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CARDS ---------- */
.card-mini {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--gold-10);
  background: linear-gradient(180deg, var(--gold-5) 0%, rgba(245, 239, 230, 0.01) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: border-color var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-magnetic),
              background var(--d-base) var(--ease-default);
  overflow: hidden;
}

.card-mini:hover {
  border-color: var(--gold-30);
  transform: translateY(-3px);
}

.card-mini__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--gold-10);
  color: var(--color-dourado);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.card-mini__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}
.card-mini__head .card-mini__icon {
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
}
.card-mini__head .card-mini__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card-mini__icon svg { width: 1.25rem; height: 1.25rem; }

.card-mini__label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-vinho-3);
  margin-bottom: 0.5rem;
  display: block;
}

.card-mini__value {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-offwhite);
  font-weight: 500;
  display: block;
  line-height: 1.2;
}
.card-mini__value--sm { font-size: 1.125rem; }

.card-mini__caption {
  position: relative;
  font-size: 0.75rem;
  color: var(--on-vinho-3);
  display: block;
  margin-top: 0.5rem;
  line-height: 1.5;
  font-weight: 300;
}

/* Bento card */
.card-bento {
  position: relative;
  border-radius: var(--r-2xl);
  padding: 2rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.04) 0%, rgba(245, 239, 230, 0.015) 100%);
  border: 1px solid var(--gold-10);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: background var(--d-base) var(--ease-default),
              border-color var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-magnetic);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}

.card-bento:hover {
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.06) 0%, rgba(245, 239, 230, 0.025) 100%);
  border-color: var(--gold-30);
  transform: translateY(-4px);
}

.card-bento__halo {
  position: absolute;
  top: 0;
  right: 0;
  width: 18rem;
  height: 18rem;
  background: var(--gold-10);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  transition: opacity var(--d-slow) var(--ease-default),
              transform var(--d-slow) var(--ease-editorial);
}

.card-bento:hover .card-bento__halo {
  opacity: 0.95;
  transform: translate(-1rem, 1rem);
}

/* Numeral decorativo italic gigante atrás do bento · totalmente dentro do
   card. line-height 1.15 dá espaço pro descender dos algarismos italic
   ("3" e "4" no Cormorant têm descender pronunciado que era clipado
   pelo overflow:hidden do card quando line-height < 1). */
.card-bento__index {
  position: absolute;
  right: 0.75rem;
  bottom: -0.3rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1.15;
  color: var(--color-dourado);
  opacity: var(--numeral-opacity);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  padding-bottom: 0.05em;
  transition: opacity var(--d-base) var(--ease-default),
              transform var(--d-slow) var(--ease-editorial);
}
.card-bento:hover .card-bento__index {
  opacity: 0.18;
  transform: translate(-2px, -2px);
}

/* Variante featured · destaque visual para área estratégica */
.card-bento--featured {
  border-color: var(--gold-30);
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.07) 0%, rgba(245, 239, 230, 0.02) 100%);
}
.card-bento--featured .card-bento__halo { opacity: 0.6; }

.card-bento__icon-wrap {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-xl);
  background: var(--gold-5);
  border: 1px solid var(--gold-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dourado);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.card-bento__icon-wrap svg { width: 1.5rem; height: 1.5rem; }

.card-bento__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.card-bento__head .card-bento__icon-wrap {
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border: 0;
  margin-bottom: 0;
}
.card-bento__head .card-bento__icon-wrap svg {
  width: 1.75rem;
  height: 1.75rem;
}
.card-bento__head .card-bento__title { margin-bottom: 0; }

.card-bento__title {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.card-bento__desc {
  position: relative;
  font-size: 0.9rem;
  color: var(--on-vinho-3);
  font-weight: 300;
  line-height: 1.625;
}

/* Linha de detalhe inferior · aparece no hover */
.card-bento__hint {
  position: relative;
  margin-top: auto;
  padding-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-dourado);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-editorial);
}
.card-bento__hint::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--color-dourado);
}
.card-bento:hover .card-bento__hint,
.card-bento:focus-within .card-bento__hint {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PHOTO TILE (mantido como componente futuro) ---------- */
.photo-tile {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(245, 239, 230, 0.04) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--color-vinho-light) 0%, var(--color-vinho-deep) 100%);
  border: 1px solid var(--gold-20);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}

.photo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 161, 91, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 161, 91, 0.08) 0%, transparent 50%);
}

.photo-tile__monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 8rem);
  font-style: italic;
  color: var(--color-dourado);
  opacity: 0.35;
  line-height: 1;
  letter-spacing: -0.04em;
}

.photo-tile__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-vinho-3);
}

/* ---------- CONTACT TILE ---------- */
.contact-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--gold-10);
  background: linear-gradient(180deg, var(--gold-5) 0%, rgba(245, 239, 230, 0.01) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: border-color var(--d-base) var(--ease-default),
              transform var(--d-base) var(--ease-magnetic),
              background var(--d-base) var(--ease-default);
}

.contact-tile:hover {
  border-color: var(--gold-30);
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--gold-10) 0%, rgba(245, 239, 230, 0.02) 100%);
}

.contact-tile__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--gold-10);
  color: var(--color-dourado);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-tile__icon svg { width: 1.25rem; height: 1.25rem; }

.contact-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-tile__label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-vinho-3);
  font-weight: 500;
}

/* Valor do contact-tile · mesma tipografia do label "WhatsApp direto"
   (Montserrat tracked uppercase), só com tamanho maior para leitura
   confortável. Unifica visualmente o aside de contato. */
.contact-tile__value {
  font-family: var(--font-sans);
  font-size: 0.825rem;
  color: var(--color-offwhite);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- FORM SUCCESS STATE ---------- */
.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--gold-30);
  background: linear-gradient(180deg, var(--gold-10) 0%, rgba(245, 239, 230, 0.02) 100%);
}

.form-success.is-visible { display: block; }

.form-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-dourado);
  color: var(--color-vinho);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 28px var(--gold-50);
}

.form-success__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 2;
}

.form-success__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
}

.form-success__text {
  font-size: 0.9rem;
  color: var(--on-vinho-2);
  line-height: 1.6;
  max-width: 30rem;
  margin: 0 auto 1.5rem;
}
.form-success__open  { margin-bottom: 0.5rem; }
.form-success__again { margin-top: 0.75rem; }
.form-success[data-opened="false"] .form-success__text::after {
  content: " (clique no botão abaixo para tentar de novo)";
  color: var(--color-error-soft);
  font-weight: 500;
}

/* ---------- Credenciais (Sobre) ---------- */
.about__credentials .cred-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.3;
}

.about__credentials .cred-title { white-space: nowrap; }

.about__credentials .cred-sub {
  font-size: 0.8125rem;
  opacity: 0.72;
  letter-spacing: 0.01em;
}
/* ============================================================
   SECTIONS — composições de cada bloco da landing
   Direção: editorial-cinemático
   ============================================================ */

/* ---------- HERO · composição editorial ---------- */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo decorativo · assinatura editorial.
   FIXED no viewport: a página rola POR CIMA dele. Fade tied ao scroll do
   hero é controlado por animations.js via --hero-numeral-vis (0-1).
   z-index negativo deixa o conteúdo passar por cima sem interferir em cliques.
   O drop-shadow dourado discreto dá presença e o filter mantém a forma
   integrada ao tom da página sem sobrecarregar. */
.hero__numeral {
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(16rem, 38vw, 28rem);
  height: auto;
  opacity: calc(var(--hero-numeral-vis, 1) * 0.08);
  pointer-events: none;
  user-select: none;
  z-index: -5;
  will-change: opacity;
  transition: opacity 180ms linear;
  filter:
    drop-shadow(0 0 60px rgba(201, 161, 91, 0.25))
    drop-shadow(0 0 24px rgba(201, 161, 91, 0.15));
  -webkit-user-drag: none;
}

.hero__badge { margin: 0 auto 2rem; position: relative; z-index: 1; }
.hero__title {
  position: relative;
  z-index: 1;
  color: var(--color-offwhite);
  margin-bottom: 1.75rem;
}
.hero__title .italic-soft {
  color: var(--on-vinho-2);
  font-style: italic;
  padding-right: 0.25em;
}
/* Linha que troca de palavra · cor mais quente para destacar */
.hero__rotator {
  color: var(--color-dourado-soft);
  font-style: italic;
}
.hero__divider {
  position: relative;
  z-index: 1;
  height: 1px;
  width: 8rem;
  margin: 0 auto 1.75rem;
  background: linear-gradient(to right, transparent, var(--gold-50), transparent);
}
.hero__lead {
  position: relative;
  z-index: 1;
  color: var(--on-vinho-2);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.625;
  font-size: 1.05rem;
}
.hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  flex-basis: 100%;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-vinho-3);
  border-bottom: 1px solid var(--gold-20);
  padding-bottom: 0.25rem;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  transition: color var(--d-fast) var(--ease-default),
              border-color var(--d-fast) var(--ease-default),
              letter-spacing var(--d-base) var(--ease-editorial);
}
.hero__link:hover,
.hero__link:focus-visible {
  color: var(--color-dourado);
  border-color: var(--color-dourado);
  letter-spacing: 0.12em;
}

/* Hero · rodapé com scroll-cue */
.hero__foot {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

/* ---------- DOC-STYLE SECTION HEADER ---------- */
.doc-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 4rem;
  scroll-margin-top: 6rem;
}
.doc-head {
  margin-bottom: 3rem;
  max-width: 42rem;
}
.doc-head .eyebrow { margin-bottom: 0.75rem; display: block; }
.doc-head h2 {
  color: var(--color-offwhite);
  margin-bottom: 0.75rem;
}
.doc-head h2 .italic-soft {
  color: var(--on-vinho-3);
  font-style: italic;
}
.doc-head p {
  color: var(--on-vinho-2);
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
}

.doc-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.doc-head--centered .eyebrow {
  display: block;
  margin-bottom: 1rem;
}
.doc-head--centered .areas-intro {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- SOBRE · editorial centralizado ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about__lead {
  color: var(--on-vinho-1);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.about__body {
  color: var(--on-vinho-2);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.about__credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2rem;
}

/* Divisor editorial entre o lead institucional e as credenciais.
   Substitui a antiga linha 1px que "cortava" o olho. Funciona como
   micro-cabeçalho ("FORMAÇÃO") com fades duplos dourados em cada lado,
   no mesmo idioma dos eyebrows da página. */
.about__cred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.25rem auto 1.5rem;
  max-width: 32rem;
}
.about__cred-divider::before,
.about__cred-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-30), transparent);
}
.about__cred-label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-dourado);
  white-space: nowrap;
}
.about__credentials li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--on-vinho-2);
  font-weight: 400;
  line-height: 1.5;
}
.about__credentials svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-dourado);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Pull-quote · serif italic gigante puxado para o centro */
.about__quote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  color: var(--color-offwhite);
  max-width: 36rem;
  margin: 2.5rem auto 0;
  padding: 2rem 1rem 0;
  letter-spacing: -0.005em;
}
/* Marcador editorial dourado · barra vertical curta acima da citação,
   substitui a aspa flutuante que não casava com a aurora animada. */
.about__quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1.25rem;
  background: linear-gradient(to bottom, transparent, var(--color-dourado));
}
.about__quote-author {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-dourado);
}

/* Sobre · variante centralizada */
.about--centered { text-align: center; }
.about--centered .doc-head {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
.about--centered .doc-head .eyebrow {
  display: block;
  margin-bottom: 1rem;
}
.about--centered .about__lead {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.75;
}
.about--centered .about__credentials {
  max-width: 36rem;
  margin: 0 auto;
}
.about--centered .about__credentials li { text-align: left; }
@media (min-width: 768px) {
  .about--centered .about__credentials {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- ATUAÇÃO · bento ---------- */
.areas-intro {
  color: var(--on-vinho-2);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 48rem;
  margin-bottom: 3rem;
}
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ---------- DIFERENCIAIS · valores ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.values-intro {
  color: var(--on-vinho-1);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 56rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.values-coda {
  margin-top: 3rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  color: var(--color-dourado-soft);
  letter-spacing: -0.005em;
}
.values-coda::before,
.values-coda::after {
  content: " — ";
  color: var(--color-dourado);
  opacity: 0.5;
}

/* ---------- CONTATO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-card {
  padding: 2rem 1.5rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--gold-20);
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.05) 0%, rgba(245, 239, 230, 0.015) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}
.contact-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-offwhite);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.contact-card__subtitle {
  font-size: 0.9rem;
  color: var(--on-vinho-3);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.5;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
/* Submit do form · botão compacto e centralizado.
   Mantém o halo conic + magnetic — só aperta o padding e tira o stretch
   do flex-column que estava esticando o CTA para 100% de largura. */
.form__submit {
  align-self: center;
  margin-top: 1rem;
}
.form__submit .cta-conic__inner {
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  gap: 0.5rem;
}
.form__submit .cta-conic__inner svg {
  width: 0.9rem;
  height: 0.9rem;
}
.form__legal {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--on-vinho-4);
  line-height: 1.5;
}
.form__legal-link {
  color: var(--color-dourado);
  border-bottom: 1px dotted var(--gold-30);
  transition: color var(--d-fast) var(--ease-default);
}
.form__legal-link:hover,
.form__legal-link:focus-visible {
  color: var(--color-dourado-soft);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-aside__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-offwhite);
  margin-bottom: 0.25rem;
}
.contact-aside__subtitle {
  font-size: 0.85rem;
  color: var(--on-vinho-3);
  margin-bottom: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}
.contact-aside__hours { margin-top: 0.5rem; }
/* Valor do card de horário · alinhado ao mesmo idioma tipográfico do
   contact-tile (Montserrat tracked uppercase) — quebra a diferença
   serif/sans que destoava no aside. */
.contact-aside__hours .card-mini__value {
  font-family: var(--font-sans);
  font-size: 0.825rem;
  color: var(--color-offwhite);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---------- FAQ · perguntas frequentes ----------
   Usa <details> nativo para acessibilidade (teclado, leitor de tela).
   O ícone chevron rotaciona via state [open]. Mantido em vocabulário
   editorial: tipografia serif na pergunta, sans nas respostas. */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--gold-10);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.04) 0%, rgba(245, 239, 230, 0.01) 100%);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: border-color var(--d-base) var(--ease-default),
              background var(--d-base) var(--ease-default);
  overflow: hidden;
}
.faq-item:hover { border-color: var(--gold-30); }
.faq-item[open] {
  border-color: var(--gold-30);
  background: linear-gradient(180deg, rgba(201, 161, 91, 0.07) 0%, rgba(245, 239, 230, 0.02) 100%);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-offwhite);
  line-height: 1.3;
}
.faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--r-full);
  background: var(--gold-10);
  color: var(--color-dourado);
  flex-shrink: 0;
  transition: transform var(--d-base) var(--ease-editorial),
              background var(--d-base) var(--ease-default);
}
.faq-item__icon svg { width: 0.9rem; height: 0.9rem; }
.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: var(--gold-30);
}
.faq-item__a {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--on-vinho-2);
  max-width: 56rem;
}
.faq-item__q:focus-visible {
  outline: 2px solid var(--color-dourado);
  outline-offset: -2px;
  border-radius: var(--r-xl);
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--gold-10);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  margin-top: 6rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.site-footer__logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex-shrink: 0;
}
.site-footer__brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-footer__brand-name strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-offwhite);
  letter-spacing: 0.01em;
}
.site-footer__brand-name span {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--on-vinho-4);
  margin-top: 0.3rem;
}
.site-footer__tagline {
  font-size: 0.85rem;
  color: var(--on-vinho-3);
  line-height: 1.6;
  font-weight: 300;
  max-width: 22rem;
}
/* O <address> do col Contato precisa do mesmo reset do <div> dos demais cols */
address.site-footer__col {
  font-style: normal;
  display: block;
}

.site-footer__col h3 {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-dourado);
  margin-bottom: 1.25rem;
}
.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
}
.site-footer__col a,
.site-footer__col li {
  font-size: 0.85rem;
  color: var(--on-vinho-2);
  font-weight: 300;
  transition: color var(--d-fast) var(--ease-default);
  line-height: 1.5;
}
.site-footer__col a:hover,
.site-footer__col a:focus-visible { color: var(--color-dourado); }

.site-footer__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.site-footer__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-dourado);
  transition: color var(--d-fast) var(--ease-default);
}
.site-footer__contact-list a:hover .site-footer__icon,
.site-footer__contact-list a:focus-visible .site-footer__icon {
  color: var(--color-offwhite);
}

.site-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gold-10);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.site-footer__legal {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-vinho-4);
  line-height: 1.6;
}
.site-footer__legal a { color: var(--on-vinho-3); }
.site-footer__legal a:hover { color: var(--color-dourado); }

/* WhatsApp floating CTA · com pulse contínuo */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: var(--z-nav);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-full);
  background: var(--color-dourado);
  color: var(--color-vinho);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong), var(--shadow-gold);
  transition: transform var(--d-base) var(--ease-magnetic),
              background var(--d-base) var(--ease-default);
  animation: float-pulse 2.6s var(--ease-pulse) infinite;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--color-offwhite);
}
.whatsapp-float svg { width: 1.5rem; height: 1.5rem; }
.whatsapp-float__label {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}
@media (max-width: 767px) {
  .whatsapp-float {
    width: auto;
    height: auto;
    padding: 0.75rem 1.25rem 0.75rem 0.875rem;
  }
  .whatsapp-float__label { display: inline-block; }
  .whatsapp-float.is-keyboard-open { bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}
/* ============================================================
   RESPONSIVE — breakpoints alinhados ao design-system.html
   Breakpoints: 480 · 768 · 1024 · 1280 · 1536
   ============================================================ */

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .form__row.row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {

  /* Container · respiro lateral aumentado */
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Navbar · links visíveis, CTA visível, toggle escondido */
  .site-nav {
    top: 1.5rem;
    width: 92%;
  }

  .site-nav__links { display: flex; }
  .site-nav__cta { display: inline-flex; }
  .site-nav__toggle { display: none; }
  .site-nav__drawer { display: none; }

  /* Aurora desktop · orbes maiores */
  .bg-aurora::before {
    width: 50rem;
    height: 50rem;
  }
  .bg-aurora::after {
    width: 38rem;
    height: 38rem;
  }

  /* Section paddings */
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .doc-section {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  /* Hero · desktop */
  .hero {
    padding-top: 11rem;
    padding-bottom: 8rem;
  }
  /* Logo decorativo · desktop ganha mais presença */
  .hero__numeral {
    opacity: calc(var(--hero-numeral-vis, 1) * 0.09);
    top: 58%;
  }

  .hero__lead {
    font-size: 1.2rem;
  }

  /* Two-col Sobre */
  .two-col {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
  }

  /* Bento atuação · 3 colunas */
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .bento-col-2 {
    grid-column: span 2 / span 2;
  }

  /* Diferenciais · 2 colunas */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Contato · form + aside lado a lado */
  .contact-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .contact-card {
    padding: 2.5rem;
  }

  /* Footer */
  .site-footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .site-footer__bottom {
    flex-direction: row;
    text-align: left;
  }

  /* WhatsApp flutuante reposicionado */
  .whatsapp-float {
    bottom: 1.75rem;
    right: 1.75rem;
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .form__row.row-2 {
    grid-template-columns: 1fr 1fr;
  }

  /* Logo decorativo mais presente no desktop wide */
  .hero__numeral {
    opacity: calc(var(--hero-numeral-vis, 1) * 0.1);
  }
}

@media (min-width: 1280px) {
  .doc-head {
    max-width: 48rem;
  }
}

/* ============================================================
   RESPONSIVIDADE CIRÚRGICA · viewports atípicos
   ============================================================
   Os blocos abaixo cobrem casos onde os breakpoints padrão de
   largura não bastam — viewports curtos (laptops budget tipo
   IdeaPad 1366×768), tablets em portrait que precisam de
   bento 2-col, e iPad landscape com altura apertada.

   Todos foram desenhados com queries específicas o suficiente
   para NÃO afetar mobile portrait, MacBook 13/14 ou desktops
   normais (≥FHD). Detalhes em docs/responsive-strategy ou
   no histórico do código.
   ============================================================ */

/* ---------- FIX 1 · Hero compacto em viewports curtos ----------
   Cobre: IdeaPad 1366×768, iPad landscape 1024×768, Surface Pro
   Exclui: MacBook (h≥900), desktops, mobile (w<768) */
@media (min-height: 600px) and (max-height: 820px) and (min-width: 768px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .hero__title { margin-bottom: 1rem; }
  .hero__lead  { margin-bottom: 1.5rem; }
  .hero__foot  { margin-top: 2.5rem; }
}

/* ---------- FIX 2 · JB logo menor + mais baixo em laptops short ----------
   `min-width: 1024px` exclui mobile landscape (h<800 mas w<1024) */
@media (max-height: 800px) and (min-width: 1024px) {
  .hero__numeral {
    width: clamp(10rem, 22vw, 16rem);
    top: 65%;
  }
}

/* ---------- FIX 3 · Padding/respiro reduzidos EXCLUSIVAMENTE em laptop short
   `max-height: 850px` exclui MacBook 13/14 (que têm 900-982 tall) */
@media (min-width: 1280px) and (max-width: 1535px) and (max-height: 850px) {
  .container       { padding-left: 2.5rem; padding-right: 2.5rem; }
  .doc-section     { padding-top: 5.5rem; padding-bottom: 4rem; }
  .site-footer     { margin-top: 4rem; }
}

/* ---------- FIX 4 · Tablet portrait com bento 2-col + valores 2-col
   iPad portrait (768) e Galaxy Tab portrait (800-912) sem cards apertados.
   iPad landscape (1024 exato) é EXCLUÍDO pelo max-width: 1023px. */
@media (min-width: 768px) and (max-width: 1023px) {
  .bento-grid  { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .bento-col-2 { grid-column: span 2; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile · Hero (alinhamento e segurança contra clipping) ----------
   Palavras longas ("previdenciária", "estratégica") podem quebrar para uma
   2ª linha dentro do .kinetic-line__inner — que é inline-block. O parent
   .kinetic-line tem overflow:hidden + line-height:1 para fazer o mask reveal
   no desktop, o que CORTARIA a 2ª linha. No mobile relaxamos esse mask para
   um simples slide+fade — animação ainda existe, sem risco de clipping. */
@media (max-width: 767px) {
  /* Headline display · reduzido para palavras longas
     ("previdenciária", "estratégica") não estourarem horizontalmente */
  .h-display {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .kinetic-line {
    overflow: visible;
    line-height: 1.05;
    padding-bottom: 0;
  }
  .kinetic-line__inner {
    transform: translateY(20%);
    max-width: 100%;
  }

  /* Hero · respiro mobile */
  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
  .hero__title { margin-bottom: 1.25rem; }
  .hero__lead { margin-bottom: 1.75rem; }
  .hero__foot { margin-top: 2.5rem; }

  /* Badge · letter-spacing aliviado para caber em 320–375px */
  .badge { padding: 0.3rem 0.75rem; }
  .badge__label {
    font-size: 0.5625rem;
    letter-spacing: 0.18em;
  }

  /* Eyebrow das sections · evita tracking gigante quebrando feio */
  .doc-head .eyebrow {
    letter-spacing: 0.2em;
  }

  /* Field labels · numeral + texto cabem em uma linha */
  .field-label {
    font-size: 0.5875rem;
    letter-spacing: 0.15em;
  }
  .field-label__index { font-size: 0.6rem; }

  /* Section-divider · marca de centro um pouco menor no mobile */
  .section-divider { max-width: 18rem; }

  /* Contact card · padding mais enxuto no mobile */
  .contact-card { padding: 1.75rem 1.25rem; }

  /* Pull-quote · respiro reduzido para não criar buraco vertical */
  .about__quote { margin-top: 2rem; padding-top: 1.75rem; }

  /* FAQ · padding e tipografia mais enxutos no mobile */
  .faq-item__q { padding: 0.95rem 1.1rem; gap: 0.75rem; }
  .faq-item__q-text { font-size: 1rem; line-height: 1.3; }
  .faq-item__a { padding: 0 1.1rem 1.1rem; font-size: 0.875rem; line-height: 1.55; }
}

/* ---------- Mobile · Credenciais (Sobre) ---------- */
@media (max-width: 767px) {
  .about__credentials {
    gap: 0.875rem;
    margin: 0 auto 1.5rem;
    max-width: 22rem;
  }
  /* Divisor "Formação" · mais enxuto no mobile */
  .about__cred-divider {
    margin: 1.75rem auto 1.25rem;
    gap: 0.75rem;
  }
  .about__cred-label {
    font-size: 0.5rem;
    letter-spacing: 0.28em;
  }
  .about__credentials li {
    gap: 0.625rem;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 0.875rem;
    line-height: 1.35;
  }
  .about__credentials svg {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
  }
  .about__credentials .cred-text { gap: 0.05rem; }
  .about__credentials .cred-title {
    white-space: normal;
    font-size: 0.9375rem;
    line-height: 1.25;
    font-weight: 500;
  }
  .about__credentials .cred-sub {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* Logo decorativo · mais contido no mobile para não competir com o título */
  .hero__numeral {
    width: clamp(12rem, 55vw, 18rem);
    opacity: calc(var(--hero-numeral-vis, 1) * 0.07);
    max-width: 80vw;
    top: 55%;
  }

  /* Bento mobile · numeral menor para não dominar cards estreitos.
     Posicionamento (bottom + right) é o mesmo do desktop — herdado. */
  .card-bento__index {
    font-size: clamp(3.5rem, 11vw, 5rem);
  }
  .card-bento--featured .card-bento__index {
    right: 0.5rem;
  }
}

/* ---------- Mobile · Cards Diferenciais e Atuação ---------- */
@media (max-width: 767px) {
  .card-mini__head {
    gap: 0.5rem;
  }
  .card-mini__head .card-mini__value {
    font-size: 1.125rem;
    line-height: 1.25;
  }
  .card-bento__head {
    gap: 0.625rem;
  }
  .card-bento__head .card-bento__icon-wrap,
  .card-bento__head .card-bento__icon-wrap svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .card-bento__head .card-bento__title {
    font-size: 1.25rem;
    line-height: 1.25;
  }
}

/* ---------- Mobile · Footer ---------- */
@media (max-width: 767px) {
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 2rem;
    margin-top: 4rem;
  }
  .site-footer__top {
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .site-footer__brand {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .site-footer__logo {
    width: 2.75rem;
    height: 2.75rem;
  }
  .site-footer__tagline {
    font-size: 0.8125rem;
    max-width: none;
  }
  .site-footer__col h3 { margin-bottom: 0.75rem; }
  .site-footer__col a,
  .site-footer__col li {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .site-footer__bottom {
    gap: 0.5rem;
    padding-top: 1.5rem;
  }
  .site-footer__legal {
    font-size: 0.5625rem;
    letter-spacing: 0.12em;
  }
}

/* ---------- Garantia de não-scroll horizontal ----------
   Vários reforços porque iOS Safari tem comportamento agressivo de
   rubber-band lateral quando QUALQUER elemento descendente passa
   mesmo 1px do viewport. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
html { overscroll-behavior-x: none; }
body { overscroll-behavior-x: none; }

/* Containers principais não podem ultrapassar 100vw em hipótese alguma */
.container,
main,
section,
.hero,
.hero__inner,
.doc-section,
.contact-card,
.card-bento,
.card-mini {
  max-width: 100%;
}

/* Quebra suave de palavras longas em qualquer headline */
h1, h2, h3, .h-display, .h1, .h2 {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Numeral fixo "JB" · garante que ele nunca empurre layout */
.hero__numeral {
  max-width: 100vw;
}
