/* ==========================================================================
   Kaiser Guitars — design system
   Mood: oficina escura e quente. Base carvão, texto creme (cor do logo),
   um único acento âmbar (cor de verniz/âmbar de madeira tostada).
   ========================================================================== */

:root {
  /* Neutros — carvão quente, nunca cinza frio */
  --bg-base: #0F0D0B;
  --bg-surface: #171411;
  --bg-elevated: #201C18;
  --bg-inset: #0B0A08;
  --border-subtle: #2A251F;
  --border-strong: #3D362D;
  --text-primary: #F3ECDD;   /* creme do logo */
  --text-secondary: #BDB3A2;
  --text-tertiary: #9C9282;

  /* Acento único */
  --accent: #E2A35A;
  --accent-hover: #ECB676;
  --accent-subtle: rgb(226 163 90 / 0.12);
  --accent-line: rgb(226 163 90 / 0.35);
  --accent-fg: #1A1209;

  --success: #6FBF73;
  --danger: #E5675C;

  /* Tipografia */
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(1.9rem, 3.6vw, 2.75rem);
  --text-4xl: clamp(2.3rem, 5vw, 3.6rem);
  --text-5xl: clamp(2.7rem, 6.4vw, 5rem);

  --leading-tight: 1.05;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --tracking-tight: -0.022em;
  --tracking-wide: 0.14em;

  /* Espaço */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;

  --container: 1240px;
  --container-narrow: 860px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 999px;

  --glow-accent: 0 0 120px -30px rgb(226 163 90 / 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 650ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  background: var(--bg-base);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--text-primary); font-weight: 600; line-height: var(--leading-snug); text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-fg); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.icon { flex-shrink: 0; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }

.display, .h1, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}
.display { font-size: var(--text-5xl); }
.h1 { font-size: var(--text-4xl); }
.h2 { font-size: var(--text-3xl); }
.display em, .h1 em, .h2 em, .footer-title em {
  font-style: normal; font-weight: inherit; color: var(--accent);
}
.h3 { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: var(--text-lg); color: var(--text-secondary); max-width: 60ch; }
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum'; }
.muted { color: var(--text-tertiary); }
.prose p + p { margin-top: var(--space-4); }
.prose { max-width: 65ch; }

/* ---------- Botões ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--btn-h); padding: 0 var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600; font-size: var(--text-base); letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
}
.btn .icon { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--border-strong); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--text-tertiary); background: var(--bg-surface); }
.btn-sm { --btn-h: 40px; padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-primary); font-weight: 600; }
.link-arrow .icon { color: var(--accent); transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(15 13 11 / 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base);
}
.site-header.is-scrolled { border-bottom-color: var(--border-subtle); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.brand img { width: 148px; height: auto; }
@media (max-width: 560px) { .brand img { width: 124px; } }
.main-nav { display: flex; align-items: center; gap: var(--space-8); }
.main-nav ul { display: flex; gap: var(--space-1); list-style: none; padding: 0; }
.main-nav ul a {
  display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: var(--text-sm); font-weight: 500;
  transition: color var(--dur-fast);
}
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: var(--text-primary); }
.main-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.menu-toggle { display: none; color: var(--text-primary); width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--space-6);
    padding: var(--space-6) var(--gutter) var(--space-8);
    background: var(--bg-base); border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { font-size: var(--text-lg); padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); border-radius: 0; }
  .main-nav ul a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav-cta { --btn-h: 52px; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-alt { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); margin-bottom: var(--space-12); flex-wrap: wrap; }
.section-head .lead { margin-top: var(--space-4); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-y); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px;
  background: radial-gradient(closest-side, rgb(226 163 90 / 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lead { margin-top: var(--space-6); }
.hero .cta-row { margin-top: var(--space-8); }
.hero-proof { display: flex; gap: var(--space-6); margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); flex-wrap: wrap; }
.hero-proof div { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); color: var(--text-primary); letter-spacing: -0.02em; font-feature-settings: 'tnum'; }
.hero-proof span { font-size: var(--text-sm); color: var(--text-tertiary); }

.hero-media { position: relative; }
.hero-media figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--glow-accent); aspect-ratio: 4 / 3.4; background: var(--bg-surface); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.spec-card {
  position: absolute; left: -28px; bottom: 28px; width: min(300px, 80%);
  background: rgb(23 20 17 / 0.94); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  backdrop-filter: blur(6px);
}
.spec-card .spec-title { display: flex; justify-content: space-between; align-items: baseline; color: var(--text-primary); font-weight: 600; margin-bottom: var(--space-3); }
.spec-card .spec-title span { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent); font-weight: 500; }
.spec-list { display: grid; gap: 6px; font-size: var(--text-sm); }
.spec-list div { display: flex; justify-content: space-between; gap: var(--space-4); border-top: 1px dashed var(--border-subtle); padding-top: 6px; }
.spec-list dt { color: var(--text-tertiary); }
.spec-list dd { color: var(--text-primary); text-align: right; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .spec-card { left: 12px; bottom: 12px; }
}

/* ---------- Faixa de marquee (madeiras) ---------- */
.marquee { border-block: 1px solid var(--border-subtle); overflow: hidden; padding-block: var(--space-4); background: var(--bg-inset); }
.marquee-track { display: flex; gap: var(--space-8); width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; font-size: var(--text-lg); color: var(--text-tertiary); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-8); }
.marquee-track span::after { content: '✦'; font-style: normal; font-size: var(--text-xs); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grid de serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: var(--bg-base); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); transition: background var(--dur-base); }
.service:hover { background: var(--bg-surface); }
.service-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--accent-subtle); color: var(--accent); }
.service h3 { font-size: var(--text-xl); }
.service ul { display: grid; gap: var(--space-2); font-size: var(--text-sm); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); }
.service li { display: flex; gap: var(--space-2); align-items: center; }
.service li .icon { color: var(--accent); }
.service .price-from { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-tertiary); }
.service .price-from strong { color: var(--text-primary); font-weight: 500; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat { padding-top: var(--space-6); border-top: 1px solid var(--border-strong); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1; color: var(--text-primary); letter-spacing: -0.03em; font-feature-settings: 'tnum'; }
.stat strong small { font-size: .45em; color: var(--accent); margin-left: 4px; letter-spacing: 0; }
.stat span { display: block; margin-top: var(--space-3); font-size: var(--text-sm); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: step; }
.step { position: relative; padding: var(--space-6); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-base); }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-mono); font-size: var(--text-sm); color: var(--accent); display: block; margin-bottom: var(--space-8); }
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cards de projeto ---------- */
.builds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.build-card { display: flex; flex-direction: column; gap: var(--space-4); }
.build-card .media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.build-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-base); }
.build-card:hover .media img { transform: scale(1.04); }
.build-card .count { position: absolute; right: 10px; bottom: 10px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-primary); background: rgb(15 13 11 / 0.78); padding: 3px 8px; border-radius: var(--radius-full); }
.build-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.build-card h3 { font-size: var(--text-lg); transition: color var(--dur-fast); }
.build-card:hover h3 { color: var(--accent); }
.build-card time { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-tertiary); white-space: nowrap; }
.build-card .woods { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: -8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.build-card.featured { grid-column: span 2; grid-row: span 2; }
.build-card.featured .media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.build-card.featured h3 { font-size: var(--text-xl); }
@media (max-width: 960px) { .builds-grid { grid-template-columns: repeat(2, 1fr); } .build-card.featured { grid-column: span 2; grid-row: auto; } .build-card.featured .media { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .builds-grid { grid-template-columns: 1fr; } .build-card.featured { grid-column: auto; } }

/* ---------- Filtros (galeria) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; margin-bottom: var(--space-10); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border-subtle); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 var(--space-4);
  border-radius: var(--radius-full); border: 1px solid var(--border-strong);
  font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.chip:hover { color: var(--text-primary); border-color: var(--text-tertiary); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--text-primary); color: var(--bg-base); border-color: var(--text-primary); }
.chip .n { font-family: var(--font-mono); font-size: var(--text-xs); opacity: .65; }
.select {
  appearance: none; min-height: 40px; padding: 0 2.5rem 0 var(--space-4);
  background: var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23E2A35A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); font-size: var(--text-sm);
}
.select:hover { border-color: var(--text-tertiary); }
.result-count { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-tertiary); }
.empty-state { text-align: center; padding: var(--space-16) var(--space-6); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.empty-state h3 { margin-bottom: var(--space-2); }
.load-more { display: flex; justify-content: center; margin-top: var(--space-12); }
[hidden] { display: none !important; }

/* ---------- Página de projeto ---------- */
.breadcrumb { font-size: var(--text-sm); color: var(--text-tertiary); display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb li + li::before { content: '/'; margin-right: var(--space-2); color: var(--border-strong); }
.build-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.build-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.build-gallery a { border-radius: var(--radius-md); overflow: hidden; background: var(--bg-surface); aspect-ratio: 4 / 3; border: 1px solid var(--border-subtle); position: relative; }
.build-gallery a:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.build-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.build-gallery a:hover img { transform: scale(1.03); }
.build-gallery .tag { position: absolute; left: 10px; top: 10px; font-family: var(--font-mono); font-size: var(--text-xs); background: rgb(15 13 11 / 0.82); color: var(--text-primary); padding: 3px 8px; border-radius: var(--radius-full); }
.build-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--space-6); }
.spec-block { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); background: var(--bg-surface); }
.spec-block h2 { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: var(--space-4); }
.spec-block ul { display: grid; gap: var(--space-2); }
.spec-block li { display: flex; gap: var(--space-3); color: var(--text-primary); font-size: var(--text-sm); padding-bottom: var(--space-2); border-bottom: 1px dashed var(--border-subtle); }
.spec-block li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-block li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: .55em; flex-shrink: 0; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag-pill { font-size: var(--text-xs); padding: 4px 10px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); color: var(--text-secondary); }
a.tag-pill:hover { border-color: var(--accent); color: var(--accent); }
.video-embed { aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); margin-top: var(--space-3); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .build-layout { grid-template-columns: 1fr; } .build-aside { position: static; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(8 7 6 / 0.96); display: grid; place-items: center; padding: var(--space-12) var(--space-4); opacity: 0; visibility: hidden; transition: opacity var(--dur-base), visibility var(--dur-base); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; border-radius: var(--radius-md); }
.lightbox-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--text-primary); background: var(--bg-elevated); border: 1px solid var(--border-strong); }
.lightbox-btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-tertiary); }

/* ---------- Calculadora ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-8); align-items: start; }
.calc-tabs { display: inline-flex; padding: 4px; gap: 4px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); margin-bottom: var(--space-6); }
.calc-tabs button { min-height: 40px; padding: 0 var(--space-5); border-radius: 7px; font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 8px; }
.calc-tabs button[aria-selected="true"], .calc-tabs button[aria-checked="true"] { background: var(--bg-elevated); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-strong); }
.calc-tabs button[aria-checked="true"] .icon, .calc-tabs button[aria-selected="true"] .icon { color: var(--accent); }

.calc-panel { display: grid; gap: var(--space-4); }
.calc-step { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-surface); padding: var(--space-6); }
.calc-step > header { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-5); }
.calc-step > header .num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent); }
.calc-step > header h2 { font-size: var(--text-lg); }
.calc-step > header p { margin-left: auto; font-size: var(--text-xs); color: var(--text-tertiary); }
.calc-step .hint { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: var(--space-3); }
.calc-step .hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-2); }
.opt-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .opt-grid.cols-3 { grid-template-columns: 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  border: 1px solid var(--border-strong); background: var(--bg-base);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.opt-box .name { color: var(--text-primary); font-weight: 500; font-size: var(--text-sm); line-height: 1.35; }
.opt-box .sub { font-size: var(--text-xs); color: var(--text-tertiary); }
.opt-box .price { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-secondary); margin-top: 4px; }
.opt:hover .opt-box { border-color: var(--text-tertiary); }
.opt input:checked + .opt-box { border-color: var(--accent); background: var(--accent-subtle); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:checked + .opt-box .price { color: var(--accent); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt input:disabled + .opt-box { opacity: .4; cursor: not-allowed; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
@media (max-width: 640px) { .check-list { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); cursor: pointer; background: var(--bg-base); transition: border-color var(--dur-fast); }
.check:hover { border-color: var(--border-strong); }
.check input { appearance: none; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--text-tertiary); display: grid; place-items: center; flex-shrink: 0; transition: all var(--dur-fast); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--accent-fg); border-bottom: 2px solid var(--accent-fg); transform: rotate(-45deg) translate(1px, -1px); }
.check .name { font-size: var(--text-sm); color: var(--text-primary); flex: 1; }
.check .name small { display: block; color: var(--text-tertiary); font-size: var(--text-xs); }
.check .price { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-secondary); }
.check:has(input:checked) { border-color: var(--accent-line); }
.check:has(input:disabled) { opacity: .4; cursor: not-allowed; }

.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); color: var(--text-primary); font-weight: 500; }
.field .select, .input, .textarea { width: 100%; min-height: 46px; }
.input, .textarea { background: var(--bg-base); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: var(--text-base); transition: border-color var(--dur-fast); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-subtle); }
.textarea { min-height: 110px; resize: vertical; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .fields-2 { grid-template-columns: 1fr; } }

.summary { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-elevated); overflow: hidden; }
.summary-head { padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; }
.summary-head h2 { font-size: var(--text-base); }
.summary-head .badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); border-radius: var(--radius-full); padding: 2px 8px; }
.summary-body { padding: var(--space-5) var(--space-6); display: grid; gap: var(--space-5); max-height: 46vh; overflow: auto; }
.summary-group h3 { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 500; margin-bottom: var(--space-2); display: flex; justify-content: space-between; }
.summary-group h3 span { color: var(--text-secondary); }
.line { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); padding-block: 4px; }
.line span:first-child { color: var(--text-secondary); }
.line span:last-child { font-family: var(--font-mono); color: var(--text-primary); white-space: nowrap; }
.line.neg span:last-child { color: var(--success); }
.summary-empty { font-size: var(--text-sm); color: var(--text-tertiary); padding: var(--space-4); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); text-align: center; }
.summary-total { padding: var(--space-5) var(--space-6); border-top: 1px solid var(--border-subtle); background: var(--bg-surface); }
.summary-total .row { display: flex; justify-content: space-between; align-items: baseline; }
.summary-total .label { font-size: var(--text-sm); color: var(--text-secondary); }
.summary-total .value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 500; color: var(--text-primary); letter-spacing: -0.02em; font-feature-settings: 'tnum'; transition: color var(--dur-base); }
.summary-total .value.bump { color: var(--accent); }
.summary-total .install { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: 4px; text-align: right; }
.summary-actions { padding: 0 var(--space-6) var(--space-6); background: var(--bg-surface); display: grid; gap: var(--space-2); }
.summary-note { font-size: var(--text-xs); color: var(--text-tertiary); padding: 0 var(--space-6) var(--space-5); background: var(--bg-surface); }

.mobile-total { display: none; }
@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .summary-body { max-height: none; }
  .mobile-total {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    align-items: center; justify-content: space-between; gap: var(--space-4);
    padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
    background: rgb(23 20 17 / 0.96); border-top: 1px solid var(--border-strong); backdrop-filter: blur(10px);
  }
  .mobile-total .label { font-size: var(--text-xs); color: var(--text-tertiary); display: block; }
  .mobile-total .value { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--text-primary); font-feature-settings: 'tnum'; }
  .page-calculadora .wa-float { display: none; }
  .page-calculadora .site-footer { padding-bottom: 80px; }
}

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text-primary); color: var(--bg-base); padding: var(--space-3) var(--space-5); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600; opacity: 0; pointer-events: none; transition: all var(--dur-base) var(--ease-out); z-index: 95; display: flex; gap: 8px; align-items: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Teaser da calculadora (home) ---------- */
.calc-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.receipt { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-base); padding: var(--space-6); font-size: var(--text-sm); position: relative; }
.receipt::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.receipt .r-head { display: flex; justify-content: space-between; color: var(--text-tertiary); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-3); }
.receipt .r-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border-strong); }
.receipt .r-total strong { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); color: var(--text-primary); }
@media (max-width: 900px) { .calc-teaser { grid-template-columns: 1fr; } }

/* ---------- Madeiras ---------- */
.wood-tabs { margin-bottom: var(--space-8); }
.woods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.wood-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-surface); display: flex; flex-direction: column; }
.wood-card .media { aspect-ratio: 16 / 10; background: var(--bg-elevated); overflow: hidden; }
.wood-card .media img { width: 100%; height: 100%; object-fit: cover; }
.wood-card .body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.wood-card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: -0.015em; }
.wood-card .aka { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: -8px; }
.wood-card p { font-size: var(--text-sm); }
.wood-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; margin-top: auto; }
.wood-facts div { background: var(--bg-base); padding: var(--space-3); }
.wood-facts dt { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-tertiary); }
.wood-facts dd { color: var(--text-primary); font-size: var(--text-sm); margin-top: 2px; }
.wood-facts div.full { grid-column: span 2; }
.density-bar { height: 4px; background: var(--border-subtle); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.density-bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
@media (max-width: 960px) { .woods-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .woods-grid { grid-template-columns: 1fr; } }

.compare-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.compare-table th, .compare-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
.compare-table th { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-tertiary); font-weight: 500; background: var(--bg-surface); }
.compare-table td { color: var(--text-primary); }
.compare-table td.num { font-family: var(--font-mono); text-align: right; }
.compare-table th.num { text-align: right; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td { background: var(--bg-surface); }
.compare-table td.na { color: var(--text-tertiary); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border-subtle); }
.faq details { border-bottom: 1px solid var(--border-subtle); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); padding: var(--space-5) 0; color: var(--text-primary); font-size: var(--text-lg); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding-bottom: var(--space-6); max-width: 68ch; }
.faq .answer ul { padding-left: 1.2em; margin-top: var(--space-2); display: grid; gap: 4px; }

/* ---------- Info blocks (como funciona) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.info-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); background: var(--bg-surface); }
.info-card .service-icon { margin-bottom: var(--space-5); }
.info-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.info-card .big { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: var(--space-2); }
.info-card p { font-size: var(--text-sm); }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.no-list { display: grid; gap: var(--space-2); }
.no-list li { display: flex; align-items: center; gap: var(--space-3); color: var(--text-primary); padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); }
.no-list .icon { color: var(--danger); }
.yes-list .icon { color: var(--success); }

.fee-sim { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-elevated); padding: var(--space-6); display: grid; gap: var(--space-4); }
.fee-result { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); }
.fee-result div { background: var(--bg-base); padding: var(--space-4); }
.fee-result span { display: block; font-size: var(--text-xs); color: var(--text-tertiary); }
.fee-result strong { font-family: var(--font-mono); font-weight: 500; color: var(--text-primary); font-size: var(--text-lg); }

/* ---------- Page header ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border-subtle); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -320px; background: radial-gradient(closest-side, rgb(226 163 90 / 0.12), transparent 70%); pointer-events: none; }
.page-hero .lead { margin-top: var(--space-5); }

/* ---------- Contato ---------- */
.contact-cards { display: grid; gap: var(--space-3); }
.contact-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-surface); transition: border-color var(--dur-fast); }
.contact-card:hover { border-color: var(--accent-line); }
.contact-card strong { display: block; color: var(--text-primary); }
.contact-card span { font-size: var(--text-sm); color: var(--text-tertiary); }
.contact-card > .icon:last-child { margin-left: auto; color: var(--accent); }
.form-card { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-surface); padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: var(--space-5); }
.form-error { font-size: var(--text-xs); color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-subtle); background: var(--bg-inset); padding-top: var(--section-y); }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); flex-wrap: wrap; padding-bottom: var(--space-16); border-bottom: 1px solid var(--border-subtle); }
.footer-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-4xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); max-width: 16ch; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-8); padding-block: var(--space-12); }
.footer-grid h3 { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--text-tertiary); margin-bottom: var(--space-4); }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: var(--space-3); font-size: var(--text-sm); }
.footer-grid ul a { display: inline-flex; align-items: center; gap: var(--space-2); }
.footer-grid ul a:hover { color: var(--text-primary); }
.footer-brand img { width: 140px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); max-width: 40ch; }
.footer-meta { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-4); color: var(--text-tertiary); }
.footer-meta .icon { margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-block: var(--space-6); border-top: 1px solid var(--border-subtle); font-size: var(--text-xs); color: var(--text-tertiary); }
.back-top { display: inline-flex; align-items: center; gap: 6px; }
.back-top:hover { color: var(--text-primary); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 8px 24px -6px rgb(0 0 0 / 0.5); transition: transform var(--dur-base) var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes ---------- */
.service ul, .spec-block ul, .footer-grid ul { list-style: none; padding: 0; }
.service .price-from .link-arrow { font-family: var(--font-body); font-size: var(--text-sm); }
.section-head > div { flex: 1 1 520px; }
.section-head > .lead { flex: 0 1 44ch; margin-top: 0; }
.builds-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .builds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .builds-grid { grid-template-columns: minmax(0, 1fr); }
  .build-card.featured { grid-column: auto; }
}
@media (max-width: 600px) {
  .spec-card { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -56px auto 0; }
}

/* ==========================================================================
   Tipografia: Archivo (display, largura expandida) + Geist (texto) + Geist Mono
   ========================================================================== */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.015em; }
.display { font-weight: 700; font-stretch: 122%; letter-spacing: -0.035em; line-height: 0.98; }
.h1 { font-weight: 700; font-stretch: 118%; letter-spacing: -0.03em; }
.h2 { font-weight: 650; font-stretch: 115%; letter-spacing: -0.028em; line-height: 1.04; }
.h3, .service h3, .build-card h3, .step h3, .info-card h3 { font-weight: 600; font-stretch: 105%; letter-spacing: -0.015em; }
.hero-proof strong, .stat strong, .summary-total .value, .mobile-total .value, .receipt .r-total strong,
.wood-card h3, .info-card .big, .footer-title {
  font-family: var(--font-display); font-weight: 650; font-stretch: 115%; letter-spacing: -0.03em;
}
.footer-title { font-weight: 700; font-stretch: 118%; }
.faq summary { font-family: var(--font-display); font-stretch: 105%; font-weight: 550; letter-spacing: -0.01em; }
.eyebrow { font-weight: 500; letter-spacing: 0.16em; }

/* ==========================================================================
   Hero com vídeo de fundo
   ========================================================================== */
.hero-video {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, calc(100svh - var(--header-h)), 900px);
  padding: 0; display: flex; align-items: stretch;
  background: var(--bg-inset);
}
.hero-video::before { display: none; }
.hero-video > .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -2; container-type: size; overflow: hidden; }
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  transition: opacity 900ms var(--ease-out);
}
.hero-yt { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms var(--ease-out); }
.hero-yt iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh);
  transform: translate(-47%, -46%) scale(1.34); /* corta barra do YouTube e a marca d’água do canto */
}
.hero-video.is-playing .hero-yt { opacity: 1; }
.hero-video.is-playing .hero-poster { opacity: 0; }

.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(15 13 11 / 0.94) 0%, rgb(15 13 11 / 0.82) 32%, rgb(15 13 11 / 0.35) 62%, rgb(15 13 11 / 0.15) 100%),
    linear-gradient(0deg, var(--bg-base) 0%, rgb(15 13 11 / 0) 28%),
    linear-gradient(180deg, rgb(15 13 11 / 0.55) 0%, rgb(15 13 11 / 0) 18%);
}
.hero-content {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-12);
  padding-block: clamp(3rem, 9vh, 6.5rem) clamp(1.75rem, 4vh, 2.75rem);
}
.hero-copy { max-width: 780px; margin-block: auto; }
.hero-copy .display { font-size: clamp(2.3rem, 4.4vw, 4.1rem); font-stretch: 116%; line-height: 1.02; max-width: 15ch; }
.hero-copy .lead { margin-top: var(--space-6); color: #D7CEBF; max-width: 54ch; }
.hero-copy .cta-row { margin-top: var(--space-8); }
.btn-glass { background: rgb(15 13 11 / 0.35); border-color: rgb(243 236 221 / 0.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(15 13 11 / 0.6); border-color: rgb(243 236 221 / 0.5); }

.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); flex-wrap: wrap; }
.hero-video .hero-proof { margin: 0; padding-top: var(--space-5); border-top: 1px solid rgb(243 236 221 / 0.16); gap: clamp(1.25rem, 4vw, 3rem); }
.hero-video .hero-proof span { color: var(--text-secondary); }
.hero-controls { display: flex; align-items: center; gap: var(--space-3); margin-right: 76px; }
@media (max-width: 760px) { .hero-controls { margin-right: 0; } }
.hero-ctrl {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-primary); background: rgb(15 13 11 / 0.45); border: 1px solid rgb(243 236 221 / 0.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color var(--dur-fast), background var(--dur-fast);
}
.hero-ctrl:hover { border-color: var(--accent); background: rgb(15 13 11 / 0.7); }
.hero-ctrl .i-play, .hero-ctrl[aria-pressed="true"] .i-pause { display: none; }
.hero-ctrl[aria-pressed="true"] .i-play { display: block; }
.hero-watch {
  display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500;
  color: var(--text-primary); padding: 10px 14px; border-radius: var(--radius-full);
  background: rgb(15 13 11 / 0.45); border: 1px solid rgb(243 236 221 / 0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-watch:hover { border-color: var(--accent); }
.hero-watch .icon { color: var(--accent); }

@media (max-width: 760px) {
  .hero-video { min-height: calc(100svh - var(--header-h)); }
  .hero-scrim { background: linear-gradient(0deg, var(--bg-base) 0%, rgb(15 13 11 / 0.9) 52%, rgb(15 13 11 / 0.35) 76%, rgb(15 13 11 / 0.2) 100%); }
  .hero-content { padding-top: 30svh; }
  .hero-poster { object-position: 70% 30%; }
  .hero-content { justify-content: flex-end; }
  .hero-copy { margin-block: auto 0; }
  .hero-foot { flex-direction: column-reverse; align-items: flex-start; }
  .hero-video .hero-proof { width: 100%; justify-content: space-between; }
  .hero-video .hero-proof strong { font-size: var(--text-xl); }
}
@media (prefers-reduced-motion: reduce) { .hero-yt { display: none; } }
