/* ==========================================================================
   Volkano · protótipo do site
   Estrutura inspirada na home da Porsche Brasil; identidade do Brandbook
   Volkano (Edição 01, nov/2026): Archivo, giz/grafite, Lava rara (≤ 2%).

   Regra de forma: cards 16px · botões 6px · chips e botões de ícone em pílula.
   Camadas (z-index): header 50 · drawers 80 · toast 90.
   ========================================================================== */

:root {
  /* Paleta do brandbook */
  --giz: #f3f2ee;
  --branco: #ffffff;
  --nevoa: #dcdcd8;
  --aluminio: #8d9096;
  --ferro: #5e6168;
  --aco: #2b2d31;
  --carvao: #1c1d20;
  --grafite: #121314;
  --lava: #c9491a;
  /* Champions (terceiro andar da marca, sem Lava) */
  --marfim: #ece6da;
  --ouro: #a98a53;

  /* Tokens de tema (claro por padrão) */
  --bg: var(--giz);
  --fg: var(--grafite);
  --fg-2: var(--ferro);
  --line: rgba(18, 19, 20, 0.14);
  --glass: rgba(243, 242, 238, 0.86);

  --gutter: clamp(16px, 4.4vw, 72px);
  --max: 1440px;
  --header-h: 72px;
  --r-card: 16px;
  --r-btn: 6px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

/* Troca de tema no scroll: um único bloco escuro (Engenharia + números) */
body.theme-dark {
  --bg: var(--grafite);
  --fg: var(--giz);
  --fg-2: var(--aluminio);
  --line: rgba(243, 242, 238, 0.16);
  --glass: rgba(18, 19, 20, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--lava);
  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: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--grafite);
  color: var(--giz);
  border-radius: var(--r-btn);
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */

.display {
  font-weight: 300;
  font-size: clamp(3.25rem, 9vw, 8.25rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.h2 {
  font-weight: 300;
  font-size: clamp(2.25rem, 5.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.h3 {
  font-weight: 300;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h4 {
  font-weight: 400;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 44ch;
}

.wide {
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.label {
  font-size: 0.75rem;
}

.muted {
  color: var(--fg-2);
}

.data {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------- Botões ---------- */

.btn {
  --btn-bg: var(--grafite);
  --btn-fg: var(--giz);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:hover {
  --btn-bg: var(--aco);
}
.btn:active {
  transform: scale(0.98);
}
.btn .ph {
  font-size: 1.125rem;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--line);
}
.btn--ghost:hover {
  --btn-bg: transparent;
  border-color: var(--fg);
}

/* Vidro sobre imagem (aproximação web de vidro fosco, como o "Saiba mais" da Porsche) */
.btn--glass {
  --btn-bg: rgba(243, 242, 238, 0.16);
  --btn-fg: var(--giz);
  border-color: rgba(243, 242, 238, 0.28);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn--glass:hover {
  --btn-bg: rgba(243, 242, 238, 0.26);
}

body.theme-dark .btn:not(.btn--ghost):not(.btn--glass) {
  --btn-bg: var(--giz);
  --btn-fg: var(--grafite);
}
body.theme-dark .btn:not(.btn--ghost):not(.btn--glass):hover {
  --btn-bg: var(--branco);
}

@media (prefers-reduced-transparency: reduce) {
  .btn--glass {
    --btn-bg: rgba(18, 19, 20, 0.86);
    backdrop-filter: none;
  }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--grafite);
  color: var(--giz);
  flex: none;
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.icon-btn .ph {
  font-size: 1.125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .ph {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover .ph {
  transform: translateX(3px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--giz);
  color: var(--grafite);
  font-size: 0.8125rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  color: var(--fg);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.site-header.is-over-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  color: var(--giz);
}

.menu-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 8px;
  font-weight: 500;
}
.menu-toggle .ph {
  font-size: 1.375rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.logo__mark {
  width: 17px;
  height: 22px;
  fill: var(--lava);
  flex: none;
}
.logo__word {
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9375rem;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.site-header.is-over-hero .header-actions .btn {
  --btn-bg: rgba(243, 242, 238, 0.16);
  --btn-fg: var(--giz);
  border-color: rgba(243, 242, 238, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-contact-icon {
  display: none;
}

@media (max-width: 860px) {
  .header-actions .btn-label {
    display: none;
  }
  .header-actions .btn {
    width: 44px;
    padding: 0;
    border-radius: var(--r-pill);
  }
  .header-contact-icon {
    display: inline-block;
  }
  .menu-toggle span {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--giz);
  background: var(--carvao);
  overflow: clip;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 38%;
  transform-origin: 58% 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      to top,
      rgba(18, 19, 20, 0.86) 0%,
      rgba(18, 19, 20, 0.5) 34%,
      rgba(18, 19, 20, 0) 64%
    ),
    linear-gradient(to bottom, rgba(18, 19, 20, 0.5) 0%, rgba(18, 19, 20, 0) 18%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(36px, 7vh, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}
.hero__text {
  display: grid;
  gap: 22px;
}
.hero .lead {
  color: rgba(243, 242, 238, 0.84);
  max-width: 40ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.hero__caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(243, 242, 238, 0.84);
  padding-bottom: 14px;
}
.hero__caption:hover {
  color: var(--giz);
}

@media (max-width: 760px) {
  .hero__content {
    grid-template-columns: 1fr;
  }
  .hero__caption {
    display: none;
  }
  .hero__media img {
    object-position: 62% 30%;
  }
}

/* ---------- Seções ---------- */

.section {
  padding-block: clamp(80px, 11vw, 160px);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}

/* Destaques (carrossel logo abaixo do hero) */
.teasers__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(272px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter);
  margin: 0 auto;
  max-width: var(--max);
  list-style: none;
  scrollbar-width: none;
}
.teasers__track::-webkit-scrollbar {
  display: none;
}
.teaser {
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1;
  padding: 20px 20px 20px 22px;
  border-radius: var(--r-card);
  background: var(--branco);
  color: var(--grafite);
  overflow: hidden;
  isolation: isolate;
}
.teaser--nevoa {
  background: var(--nevoa);
}
.teaser--champions {
  background: var(--marfim);
}
.teaser__media {
  position: absolute;
  inset: 18px 18px 92px;
  z-index: -1;
}
.teaser__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.9s var(--ease);
}
.teaser__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 60px;
  margin: -30px 0 0 -23px;
  fill: var(--ouro);
}
.teaser__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.teaser__title {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.teaser__sub {
  display: block;
  font-size: 0.875rem;
  color: var(--ferro);
  margin-top: 4px;
  letter-spacing: 0;
}
.teaser .icon-btn {
  width: 40px;
  height: 40px;
}
.teaser:hover .teaser__media img {
  transform: scale(1.04);
}
.teaser:hover .icon-btn {
  transform: translateX(3px);
}

/* Linhas: vitrine grande, 2 colunas (como a grade de modelos da Porsche) */
.lines__title {
  text-align: center;
  margin: 0 auto clamp(40px, 6vw, 80px);
  max-width: 18ch;
}
.lines__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  padding: clamp(20px, 2.6vw, 36px);
  border-radius: var(--r-card);
  background: var(--branco);
  color: var(--grafite);
  overflow: hidden;
  isolation: isolate;
}
.line-card__brand {
  text-align: center;
  font-size: clamp(0.9375rem, 1.4vw, 1.25rem);
  margin-right: -0.26em;
}
.line-card__media {
  position: relative;
  flex: 1;
  min-height: 0;
}
/* Posição absoluta: imagens altas (Black) não esticam o card */
.line-card__media img {
  position: absolute;
  top: 4%;
  left: 8%;
  width: 84%;
  height: 94%;
  object-fit: contain;
  transition: transform 1s var(--ease);
}
.line-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.line-card__name {
  margin-top: 12px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}
.line-card:hover .line-card__media img {
  transform: scale(1.035);
}
.line-card:hover .icon-btn {
  transform: translateX(3px);
}
.line-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lines__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.lines__more-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lines__more-list li:first-child {
  margin-right: 8px;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  transition: border-color 0.25s, background-color 0.25s;
}
.pill-link:hover {
  border-color: var(--fg);
}

@media (max-width: 760px) {
  .lines__grid {
    grid-template-columns: 1fr;
  }
  .line-card {
    aspect-ratio: 4 / 4.4;
  }
}

/* Engenharia (bloco escuro) */
.eng__title {
  max-width: 20ch;
  margin-bottom: clamp(48px, 7vw, 104px);
}
.eng__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 112px);
}
.eng__sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  height: calc(100dvh - var(--header-h) - 48px);
  max-height: 760px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--carvao);
}
.eng__media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
}
.eng__media.is-active {
  opacity: 1;
  transform: none;
}
.eng__media--product {
  background: var(--giz);
  display: grid;
  place-items: center;
  padding: 12%;
}
.eng__media--product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.eng__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eng__media--type {
  display: grid;
  place-items: center;
  background: var(--carvao);
  color: var(--giz);
}
.big-number {
  font-weight: 300;
  font-size: clamp(6rem, 15vw, 13rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.big-number small {
  font-size: 0.62em;
  letter-spacing: -0.02em;
  margin-left: 0.08em;
}

.eng__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-block: 40px;
  opacity: 0.32;
  transition: opacity 0.6s var(--ease);
}
.step.is-active {
  opacity: 1;
}
.step__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-2);
}
.step p {
  max-width: 40ch;
  color: var(--fg-2);
  font-size: 1.0625rem;
}
.step__data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 12px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.step__data dt {
  font-size: 0.8125rem;
  color: var(--fg-2);
  order: 2;
}
.step__data div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step__data dd {
  margin: 0;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}
.step__media {
  display: none;
}

@media (max-width: 900px) {
  .eng__grid {
    grid-template-columns: 1fr;
  }
  .eng__sticky {
    display: none;
  }
  .step {
    min-height: 0;
    opacity: 1;
    padding-block: 28px;
  }
  .step__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-card);
    overflow: hidden;
    margin-bottom: 8px;
  }
  .step__media .eng__media {
    opacity: 1;
    transform: none;
  }
  .big-number {
    font-size: clamp(5rem, 28vw, 9rem);
  }
}

/* Números */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: clamp(64px, 9vw, 128px) 0 0;
  padding: 0;
}
.stat {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat__value {
  display: block;
  font-weight: 300;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--fg-2);
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
}

/* Sob Medida: texto à esquerda, máquina saindo pela direita */
.sm {
  overflow: clip;
}
.sm__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.sm__text {
  display: grid;
  gap: 22px;
  align-content: start;
}
.sm__brand {
  font-size: 0.75rem;
  color: var(--fg-2);
}
.sm__media {
  position: relative;
  width: 118%;
  aspect-ratio: 1235 / 1036;
}
.sm__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.sm__media img.is-active {
  opacity: 1;
}
.picker {
  border: 0;
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.picker legend {
  padding: 0;
  font-size: 0.875rem;
  color: var(--fg-2);
  float: left;
  width: 100%;
  margin-bottom: 12px;
}
.picker legend strong {
  color: var(--fg);
  font-weight: 500;
}
.segmented {
  clear: both;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--branco);
}
.segmented button {
  color: var(--grafite);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 18px 0 12px;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  transition: background-color 0.25s, color 0.25s;
}
.segmented button[aria-pressed="true"] {
  background: var(--grafite);
  color: var(--giz);
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(18, 19, 20, 0.18);
  flex: none;
}
.swatches {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.swatches li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}
.sm__note {
  font-size: 0.8125rem;
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .sm__grid {
    grid-template-columns: 1fr;
  }
  .sm__media {
    width: 100%;
    order: -1;
  }
}
@media (max-width: 420px) {
  .swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Quem compra e quem treina: bento 1 + 4 */
.who__title {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 16ch;
}
.who__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.who-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-card);
  background: var(--branco);
  color: var(--grafite);
  overflow: hidden;
  isolation: isolate;
}
.who-card--main {
  grid-row: span 2;
  background: var(--grafite);
  color: var(--giz);
}
.who-card--main p {
  color: var(--aluminio);
  max-width: 40ch;
}
.who-card--nevoa {
  background: var(--nevoa);
}
.who-card__quote {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.who-card--main .who-card__quote {
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--giz);
  max-width: 18ch;
}
.who-card__bottom {
  display: grid;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 242, 238, 0.16);
}
.who-card__media {
  flex: 1;
  min-height: 120px;
  margin: -8px -8px 0 0;
}
.who-card__media img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  object-position: right center;
}
.who-card__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.who-card button.icon-btn::after {
  content: "";
  position: absolute;
  inset: 0;
}
.who-card:hover .icon-btn {
  transform: translateX(3px);
}
@media (max-width: 980px) {
  .who__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .who-card--main {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 620px) {
  .who__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(150px, auto);
  }
  .who-card--main {
    grid-column: auto;
  }
}

/* Fechamento */
.closing {
  text-align: center;
}
.closing__mark {
  width: 34px;
  height: 44px;
  margin: 0 auto 32px;
  fill: var(--lava);
}
.closing .h2 {
  max-width: 16ch;
  margin-inline: auto;
}
.closing .lead {
  margin: 24px auto 0;
  max-width: 48ch;
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--grafite);
  color: var(--giz);
  padding: clamp(56px, 7vw, 96px) 0 40px;
  --line: rgba(243, 242, 238, 0.14);
}
.footer__region {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  padding-bottom: 40px;
}
.footer__region .muted {
  color: var(--aluminio);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
.footer__cols h2 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--aluminio);
  margin-bottom: 18px;
}
.footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.footer__cols a:hover {
  color: var(--branco);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 40px;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 1.25rem;
  transition: border-color 0.25s;
}
.footer__social a:hover {
  border-color: var(--giz);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--aluminio);
}
.footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__sign {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: clamp(56px, 8vw, 104px);
}
.footer__sign .logo__word {
  font-size: clamp(1.25rem, 3vw, 2rem);
}
.footer__sign .origin {
  text-transform: uppercase;
  font-stretch: 125%;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: var(--aluminio);
}
@media (max-width: 760px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
  .footer__cols > div:last-child {
    grid-column: span 2;
  }
}

/* ---------- Drawers (menu e contato) ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 19, 20, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 81;
  display: flex;
  color: var(--grafite);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}
.drawer.is-open {
  visibility: visible;
  transform: none;
}
.drawer--left {
  left: 0;
  width: min(1040px, 100vw);
  transform: translateX(-102%);
}
.drawer--right {
  right: 0;
  width: min(500px, 100vw);
  transform: translateX(102%);
}
.drawer__close {
  position: absolute;
  top: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(243, 242, 238, 0.14);
  color: var(--giz);
  backdrop-filter: blur(12px);
  font-size: 1.125rem;
}
.drawer--left .drawer__close {
  left: calc(100% + 16px);
}
.drawer--right .drawer__close {
  right: calc(100% + 16px);
}

.nav-panel {
  width: 340px;
  flex: none;
  background: var(--branco);
  display: flex;
  flex-direction: column;
  padding: 88px 20px 24px;
  overflow-y: auto;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.nav-list a,
.nav-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 1.0625rem;
  text-align: left;
  transition: background-color 0.2s;
}
.nav-list a:hover,
.nav-list button:hover,
.nav-list button[aria-expanded="true"] {
  background: var(--giz);
}
.nav-panel__foot {
  margin-top: auto;
  display: grid;
  gap: 16px;
  padding: 24px 14px 0;
}
.nav-panel__foot .btn {
  width: 100%;
}
.nav-panel__foot p {
  font-size: 0.8125rem;
  color: var(--ferro);
}

.sub-panel {
  flex: 1;
  min-width: 0;
  background: var(--giz);
  padding: 88px clamp(20px, 3vw, 40px) 32px;
  overflow-y: auto;
}
.sub-panel__back {
  display: none;
}
.sub-panel h2 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ferro);
  margin-bottom: 16px;
}
.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.sub-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: var(--branco);
  transition: transform 0.35s var(--ease);
}
.sub-item:hover {
  transform: translateY(-2px);
}
.sub-item img {
  height: 120px;
  width: 100%;
  object-fit: contain;
}
.sub-item__name {
  font-size: 1rem;
}
.sub-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sub-more .pill-link {
  background: var(--branco);
  border-color: transparent;
}
.sub-more .pill-link:hover {
  border-color: var(--grafite);
}

@media (max-width: 860px) {
  .drawer--left {
    width: 100vw;
  }
  .drawer--left .drawer__close,
  .drawer--right .drawer__close {
    left: auto;
    right: 16px;
    background: var(--giz);
    color: var(--grafite);
    z-index: 2;
  }
  .nav-panel {
    width: 100%;
  }
  .sub-panel {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    padding-top: 24px;
  }
  .sub-panel.is-open {
    transform: none;
  }
  .sub-panel__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-bottom: 20px;
    font-weight: 500;
  }
}

/* Contato */
.contact {
  width: 100%;
  background: var(--branco);
  padding: 88px clamp(20px, 3vw, 40px) 32px;
  overflow-y: auto;
}
.contact__head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.contact__head p {
  color: var(--ferro);
}
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 0.875rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-btn);
  border: 1px solid #b9bcc1;
  background: var(--branco);
  color: var(--grafite);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--grafite);
  box-shadow: 0 0 0 3px rgba(18, 19, 20, 0.12);
}
.field__help {
  font-size: 0.8125rem;
  color: var(--ferro);
}
.field__error {
  display: none;
  font-size: 0.8125rem;
  color: #a33a12;
}
.field.has-error input,
.field.has-error select {
  border-color: #a33a12;
}
.field.has-error .field__error {
  display: block;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form .btn {
  width: 100%;
  margin-top: 6px;
}
.form .btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.form__note {
  font-size: 0.75rem;
  color: var(--ferro);
}
.contact__success {
  display: none;
  gap: 16px;
  padding-top: 8px;
}
.contact.is-sent .form,
.contact.is-sent .contact__head {
  display: none;
}
.contact.is-sent .contact__success {
  display: grid;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--giz);
  font-size: 1.5rem;
}
@media (max-width: 420px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 14px 20px;
  border-radius: var(--r-pill);
  background: var(--grafite);
  color: var(--giz);
  font-size: 0.9375rem;
  box-shadow: 0 16px 48px rgba(18, 19, 20, 0.28);
  transform: translate(-50%, calc(100% + 48px));
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
}
.toast.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

/* ---------- Página de produto ---------- */

.page-top {
  padding-top: calc(var(--header-h) + 20px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  font-size: 0.875rem;
  color: var(--fg-2);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--aluminio);
}
.crumbs a:hover {
  color: var(--fg);
}
@media (max-width: 620px) {
  .crumbs {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .crumbs li:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.p-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100dvh - var(--header-h) - 160px);
  padding-block: clamp(24px, 4vw, 48px);
}
.p-hero__text {
  display: grid;
  gap: 22px;
  align-content: center;
}
.p-hero__text .chip {
  justify-self: start;
  background: var(--branco);
}
.p-hero__title {
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.p-hero__media {
  position: relative;
  aspect-ratio: 5 / 4;
}
.p-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.specs-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.specs-strip span {
  display: block;
  font-size: 0.8125rem;
  color: var(--fg-2);
}
.specs-strip strong {
  font-weight: 400;
  font-size: 1.1875rem;
}

.p-detail {
  position: relative;
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  color: var(--giz);
}
.p-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.p-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 19, 20, 0.72), rgba(18, 19, 20, 0) 55%);
}
.p-detail figcaption {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vw, 40px);
  z-index: 1;
}
.p-detail figcaption p {
  max-width: 16ch;
}

.p-custom {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.p-custom .sm__media {
  width: 100%;
}
.p-custom .sm__text {
  order: 2;
}

.spec-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-tile {
  display: grid;
  gap: 28px;
  align-content: space-between;
  min-height: 168px;
  padding: 22px;
  border-radius: var(--r-card);
  background: var(--branco);
}
.spec-tile span {
  font-size: 0.875rem;
  color: var(--ferro);
}
.spec-tile strong {
  font-weight: 300;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.tbd {
  color: var(--aluminio);
  border-bottom: 1px dashed var(--aluminio);
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  justify-self: start;
}
.spec-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--fg-2);
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-card);
  background: var(--grafite);
  color: var(--giz);
}
.support .big-number {
  font-size: clamp(5rem, 11vw, 9.5rem);
}
.support p {
  color: var(--aluminio);
  max-width: 38ch;
  margin-top: 16px;
}
.support ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.support li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(243, 242, 238, 0.14);
}
.support li .ph {
  color: var(--aluminio);
  font-size: 1.25rem;
}
.support .btn {
  --btn-bg: var(--giz);
  --btn-fg: var(--grafite);
  margin-top: 24px;
  justify-self: start;
}

.related {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  scrollbar-width: none;
}
.related::-webkit-scrollbar {
  display: none;
}
.related .line-card {
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
}
.related .line-card__brand {
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
}
@media (max-width: 620px) {
  .related {
    grid-auto-columns: 80%;
  }
  .related .line-card {
    aspect-ratio: 3 / 4;
  }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

@media (max-width: 900px) {
  .p-hero,
  .p-custom,
  .support {
    grid-template-columns: 1fr;
  }
  .p-hero {
    min-height: 0;
  }
  .p-hero__media {
    order: -1;
  }
  .p-custom .sm__text {
    order: 0;
  }
  .spec-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-detail {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 520px) {
  .specs-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Movimento ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__media img {
    animation: hero-settle 3.2s var(--ease) both;
  }
  .hero__text > * {
    animation: rise 1.1s var(--ease) both;
  }
  .hero__text > *:nth-child(2) {
    animation-delay: 0.12s;
  }
  .hero__text > *:nth-child(3) {
    animation-delay: 0.24s;
  }
  .hero__caption {
    animation: rise 1.2s 0.5s var(--ease) both;
  }

  /* Entrada só com deslocamento: o conteúdo fica legível mesmo antes de animar */
  .js [data-reveal] {
    transform: translateY(18px);
    transition: transform 1.1s var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].is-in {
    transform: none;
  }

  /* Leve deriva da imagem do hero conforme a página sobe (Chrome/Edge) */
  @supports (animation-timeline: scroll()) {
    .hero__media {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
@keyframes hero-drift {
  to {
    transform: translateY(14vh);
  }
}
@keyframes rise {
  from {
    transform: translateY(24px);
  }
  to {
    transform: none;
  }
}

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