:root {
  /* Constantes da marca, iguais nos dois temas. */
  --orange: #f45b21;
  --ink: #172c37;
  --sky: #96cef3;
  --snow: #f5f8fb;
  /* Tokens semânticos do tema claro. */
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-ice: #eaf3f8;
  --surface-soft: #f4f7f9;
  --text: #172c37;
  --text-muted: #52616a;
  --line: #dce3e7;
  --backdrop-text: #e9eef1;
  --accent: #ac360c;
  --shadow: #172c371c;
  --shadow-strong: #213e5226;
  --scrim: #172c3799;
  --scrim-strong: #172c37f2;
  --sky-a: #96cef3;
  --sky-b: #dbedfb;
  --footer-bg: #f5f8fb;
  --footer-text: #172c37;
  --footer-muted: #172c37b3;
  --footer-line: #172c3726;
  --footer-scrim: linear-gradient(180deg, #f5f8fbd9 0%, #f5f8fb99 40%, #f5f8fb80 70%, #f5f8fbbf 100%);
  --gutter: 12px;
  --radius: 28px;
  --section-x: clamp(20px, 4vw, 80px);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
/* Tema escuro: segue o sistema quando não há escolha salva; data-theme vence sempre. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0b1418;
  --surface: #121e25;
  --surface-ice: #14293a;
  --surface-soft: #1a2831;
  --text: #f5f8fb;
  --text-muted: #9fb0ba;
  --line: #ffffff17;
  --backdrop-text: #1c2b34;
  --accent: #ff7a4d;
  --shadow: #00000066;
  --shadow-strong: #00000080;
  --scrim: #05090ccc;
  --scrim-strong: #05090cf2;
  --sky-a: #1f4a68;
  --sky-b: #0f2230;
  --footer-bg: #172c37;
  --footer-text: #f5f8fb;
  --footer-muted: #f5f8fbb3;
  --footer-line: #f5f8fb26;
  --footer-scrim: linear-gradient(180deg, #0f1e27e6 0%, #14293ad9 50%, #0b1418f0 100%);
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1418;
  --surface: #121e25;
  --surface-ice: #14293a;
  --surface-soft: #1a2831;
  --text: #f5f8fb;
  --text-muted: #9fb0ba;
  --line: #ffffff17;
  --backdrop-text: #1c2b34;
  --accent: #ff7a4d;
  --shadow: #00000066;
  --shadow-strong: #00000080;
  --scrim: #05090ccc;
  --scrim-strong: #05090cf2;
  --sky-a: #1f4a68;
  --sky-b: #0f2230;
  --footer-bg: #172c37;
  --footer-text: #f5f8fb;
  --footer-muted: #f5f8fbb3;
  --footer-line: #f5f8fb26;
  --footer-scrim: linear-gradient(180deg, #0f1e27e6 0%, #14293ad9 50%, #0b1418f0 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; }
/* Cards: as seções são recortes arredondados sobre o chão de neve, separados por uma calha. */
main { display: flex; flex-direction: column; gap: var(--gutter); padding: var(--gutter); }
.card { border: 1px solid var(--line); border-radius: var(--radius); }
a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 8px; }
.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--gutter) * 2);
  min-height: 640px;
  overflow: hidden;
  background: var(--sky);
}
.scene { position: absolute; inset: 0; pointer-events: none; }
.layer {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
}
.layer--sky { z-index: 0; transform: scale(1.045) translate(var(--sky-x, 0px), var(--sky-y, 0px)); --exit-duration: .8s; --exit-delay: .2s; --enter-duration: .8s; --enter-delay: .5s; }
.wordmark {
  position: absolute;
  z-index: 1;
  top: 17%;
  left: 50%;
  margin: 0;
  color: var(--orange);
  font-family: 'Arial Black', Arial, Helvetica, sans-serif;
  font-size: clamp(160px, 29.5vw, 580px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .85;
  padding-right: .075em;
  transform: translate(calc(-50% + var(--type-x, 0px)), var(--type-y, 0px));
}
.layer--rider { z-index: 2; transform: translate(var(--rider-x, 0px), var(--rider-y, 0px)); --scene-shift: 14%; --exit-duration: .6s; --exit-delay: 0s; --enter-duration: .6s; --enter-delay: 1s; }
.layer--snow { z-index: 3; transform: scale(1.045) translate(var(--snow-x, 0px), var(--snow-y, 0px)); --scene-shift: 10%; --exit-duration: .6s; --exit-delay: 0s; --enter-duration: .6s; --enter-delay: 1.1s; }
/* Cenas 2 e 3: `contain` garante a figura inteira em qualquer largura (o PNG é transparente ao redor);
   o tamanho e a posição são calibrados por cena. */
.layer--rider[data-scene="2"] { object-fit: contain; scale: .8; transform-origin: 50% 50%; }
.layer--rider[data-scene="3"] { object-fit: contain; scale: .5; transform-origin: 50% 100%; top: -36%; }
.layer--snow[data-scene="3"] { object-fit: contain; object-position: 50% 100%; scale: .7; transform-origin: 50% 100%; top: 10%; }
/* O estado estático continua legível sem JavaScript; a coreografia usa WAAPI.
   translate é independente do transform/scale que posiciona as fotos e o parallax. */
.layer[data-scene] { opacity: 0; }
.hero[data-scene="1"] .layer[data-scene="1"],
.hero[data-scene="2"] .layer[data-scene="2"],
.hero[data-scene="3"] .layer[data-scene="3"] { opacity: 1; }
.wordmark { white-space: nowrap; }
.wordmark-letter { display: inline-block; }
.hero-motion-toggle {
  position: absolute; z-index: 5; left: 28px; bottom: 26px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #172c3740; border-radius: 50%;
  background: var(--snow); color: var(--ink); cursor: pointer;
}
.hero-motion-toggle:hover { background: #dbedfb; }
.hero-motion-toggle svg { width: 16px; height: 16px; }
.hero-motion-toggle[aria-pressed="true"] .motion-pause,
.hero-motion-toggle[aria-pressed="false"] .motion-play { display: none; }
@media (max-width: 700px) {
  .hero-motion-toggle { left: 16px; bottom: 16px; }
}
.header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { justify-self: start; position: relative; top: -4px; color: var(--orange); font-size: 37px; font-weight: 900; letter-spacing: -2.7px; text-decoration: none; line-height: 1; }
.hero-nav { display: flex; justify-self: center; gap: 30px; }
.hero-nav a { padding: 12px 0; white-space: nowrap; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; opacity: .82; }
.hero-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.theme-toggle { justify-self: end; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); cursor: pointer; transition: background-color .2s; }
.theme-toggle:hover { background: #ff7a4d; }
.theme-toggle svg { display: block; }
.theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: block; }
@media (max-width: 900px) {
  .header { padding: 20px 22px; gap: 16px; }
  .hero-nav { gap: 20px; }
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #172c37;
  font: 600 13px/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.hero-contact { position: absolute; z-index: 5; right: 28px; bottom: 26px; gap: 16px; min-height: 50px; padding: 14px 22px 14px 26px; font-size: 14px; white-space: nowrap; transition: background-color .2s; }
.hero-contact:hover { background: #ff7a4d; }
.hero-contact svg { display: block; flex-shrink: 0; }
@media (min-aspect-ratio: 2/1) {
  .hero { min-height: 600px; }
  .wordmark { top: 12%; font-size: 26vw; }
}
@media (max-width: 700px) {
  :root { --gutter: 8px; --radius: 20px; --section-x: 6vw; }
  .hero { min-height: 620px; max-height: 1100px; }
  .header { padding: 14px 16px; grid-template-columns: 1fr auto; gap: 12px; }
  .hero-nav { display: none; }
  .brand { font-size: 32px; }
  .brand { top: -3px; }
  .hero-contact { right: 16px; bottom: 16px; gap: 12px; min-height: 46px; padding: 12px 18px 12px 20px; font-size: 13px; }
  .wordmark { top: 28%; font-size: 26vw; }
  .layer--rider { width: 200%; left: -50%; scale: .78; transform-origin: 50% 70%; }
  .layer--rider[data-scene="1"] { object-position: 65% 50%; }
  /* Cena 2 no celular: a figura diagonal é girada para ficar mais vertical e ampliada para cruzar a marca. */
  .layer--rider[data-scene="2"] { width: 100%; left: 0; scale: 1.6; rotate: 35deg; transform-origin: 50% 50%; top: 3%; }
  .layer--rider[data-scene="3"] { object-fit: contain; width: 200%; left: -50%; scale: 1; transform-origin: 50% 100%; top: 6%; }
  .layer--snow[data-scene="3"] { object-fit: cover; object-position: 50% 50%; scale: 1; top: 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .layer--sky, .layer--snow { transform: scale(1.045); }
  .layer--rider { transform: none; }
  .wordmark { transform: translateX(-50%); animation: none; }
  .layer[data-scene] { transition: none; }
  .theme-toggle, .hero-contact { transition: none; }
  .chat-typing i { animation: none; }
}


/* Vitrine: produtos recortados sobre um campo de neve. */
.products { background: var(--surface); padding: 64px var(--section-x) 28px; }
.products-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: 1600px; margin: 0 auto 32px; }
.products-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 46px); line-height: .98; letter-spacing: -.06em; font-weight: 700; }
.products-heading p { margin: 0 0 6px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 60px 36px; max-width: 1600px; margin: auto; }
.category { min-width: 0; grid-column: span 2; }
.category--goggles, .category--snowboards { grid-column: span 3; }
.category--goggles img { width: 76%; height: 60%; transform: rotate(-9deg); }
.category--snowboards img { height: 80%; transform: rotate(22deg); }
.category--snowboards .category-backdrop { font-size: clamp(32px, 4vw, 64px); }
.product-stage { display: flex; height: clamp(260px, 27vw, 390px); align-items: center; justify-content: center; position: relative; isolation: isolate; text-decoration: none; }
.category-backdrop { position: absolute; top: 29%; left: 50%; transform: translateX(-50%); color: var(--backdrop-text); font-size: clamp(36px, 4.8vw, 76px); font-weight: 900; letter-spacing: -.07em; z-index: -1; }
.product-stage img { display: block; width: 75%; height: 78%; object-fit: contain; filter: drop-shadow(0 24px 16px var(--shadow)); transition: transform .35s ease; }
.category--jackets img { transform: rotate(-8deg); }
.category--pants img { width: 63%; transform: rotate(7deg); }
.category--boots img { width: 77%; height: 64%; transform: rotate(-12deg); }
.product-stage:hover img { transform: rotate(0deg) translateY(-9px); }
.category-info { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.category-info h2 { font-size: 22px; letter-spacing: -.045em; margin: 0 0 7px; }
.category-info p { color: var(--text-muted); margin: 0; font-size: 13px; line-height: 1.5; }
.explore-button { display: inline-flex; align-items: center; gap: 12px; border: none; padding: 0; background: transparent; color: var(--text); font: 600 12px Arial, sans-serif; cursor: pointer; min-height: 44px; }
.explore-button span { display: grid; place-items: center; height: 38px; width: 38px; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 22px; transition: transform .2s; }
.explore-button span svg { display: block; }
.explore-button:hover span { transform: rotate(45deg); }
.products-end { max-width: 1600px; margin: 78px auto 0; padding-top: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--text-muted); font-size: 12px; }
.products-end a { text-decoration: none; color: var(--text); font-weight: 700; }
.products-end a span { margin-left: 14px; color: var(--accent); }
.catalog-dialog { width: min(1100px, calc(100% - 32px)); max-height: 90svh; padding: 32px; border: 0; border-radius: 24px; color: var(--text); background: var(--surface); }
.catalog-dialog::backdrop { background: var(--scrim); backdrop-filter: blur(6px); }
body:has(dialog[open]) { overflow: hidden; }
.catalog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-header p { color: var(--accent); margin: 0 0 8px; font-size: 13px; }
.catalog-header h2 { margin: 0; font-size: 34px; letter-spacing: -.045em; }
.close-dialog { border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--text); width: 44px; height: 44px; font-size: 20px; cursor: pointer; flex-shrink: 0; }
.catalog-hint { font-size: 14px; color: var(--text-muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.catalog-item { margin: 0; }
.catalog-item a { display: block; background: var(--surface-soft); padding: 22px; border-radius: 14px; }
.catalog-item img { width: 100%; height: 200px; object-fit: contain; display: block; }
.catalog-item figcaption { padding: 12px 0; font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { .category-grid { gap: 20px; } .category-info { align-items: flex-start; } }
@media (max-width: 700px) {
  .products { padding: 44px var(--section-x) 24px; }
  .products-heading { display: block; margin-bottom: 25px; }
  .products-heading p { margin-top: 22px; font-size: 14px; }
  .category-grid { grid-template-columns: 1fr; gap: 40px; }
  .category { grid-column: auto; }
  .category--snowboards .category-backdrop { font-size: clamp(38px, 12vw, 70px); }
  .product-stage { height: 310px; }
  .category-backdrop { font-size: clamp(58px, 18vw, 110px); }
  .product-stage img { max-width: 330px; }
  .category-info { align-items: center; }
  .category-info h2 { font-size: 22px; }
  .products-end { margin-top: 50px; font-size: 11px; }
  .catalog-dialog { padding: 22px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .catalog-item a { padding: 12px; }
  .catalog-item img { height: 180px; }
}
@media (prefers-reduced-motion: reduce) { .product-stage img, .explore-button span { transition: none; } }

/* Conjunto: composição de peças em um campo azul de gelo. */
.outfit { position: relative; overflow: hidden; background: var(--surface-ice); padding: 50px var(--section-x) 104px; }
.outfit-inner { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 7%; }
.outfit-composition { position: relative; height: clamp(340px, 34vw, 510px); isolation: isolate; }
.outfit-word { position: absolute; left: 0; bottom: 5%; font-size: clamp(68px, 9vw, 140px); font-weight: 900; letter-spacing: -.08em; line-height: 1; color: #fff; white-space: nowrap; z-index: 4; text-shadow: 0 2px 3px #172c3780, 0 5px 18px #172c374d; pointer-events: none; }
.outfit-composition img { position: absolute; object-fit: contain; filter: drop-shadow(0 20px 16px var(--shadow-strong)); }
.outfit-board { height: 94%; width: 28%; right: 4%; top: 0; transform: rotate(17deg); z-index: 0; }
.outfit-pants { height: 60%; width: 44%; left: 27%; top: 38%; transform: rotate(12deg); z-index: 1; }
.outfit-jacket { height: 65%; width: 62%; left: 1%; top: 2%; transform: rotate(-12deg); z-index: 2; }
.outfit-goggles { width: 36%; height: 24%; right: 0; top: 44%; transform: rotate(-14deg); z-index: 3; }
.outfit-copy { padding: 24px 0; max-width: 540px; }
.outfit-intro { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.outfit-copy h2 { margin: 0 0 22px; font-size: clamp(27px, 2.5vw, 40px); line-height: 1.15; letter-spacing: -.045em; }
.outfit-description { max-width: 430px; margin: 0 0 10px; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.outfit-support { max-width: 430px; margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.outfit-actions { position: absolute; z-index: 5; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 24px; }
.outfit-contact { min-height: 50px; padding: 14px 22px 14px 26px; gap: 16px; font-size: 14px; white-space: nowrap; }
.outfit-contact svg { display: block; flex-shrink: 0; }
.outfit-back { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); text-underline-offset: 4px; }
@media (max-width: 700px) {
  .outfit { padding: 38px var(--section-x) 40px; }
  .outfit-actions { position: static; justify-content: flex-end; flex-wrap: wrap; gap: 14px 20px; margin-top: 26px; }
  .outfit-inner { grid-template-columns: 1fr; gap: 20px; }
  .outfit-composition { height: clamp(280px, 82vw, 400px); }
  .outfit-word { font-size: 20vw; }
  .outfit-copy { padding: 10px 0 0; }
  .outfit-intro { font-size: 12px; margin-bottom: 10px; }
  .outfit-copy h2 { font-size: clamp(25px, 6.4vw, 36px); }
  .outfit-description { font-size: 15px; }
}.outfit-slide { position: absolute; inset: 0; opacity: 1; transition: opacity .7s ease; }
.outfit-slide[aria-hidden="true"] { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .outfit-slide { transition: none; } }

/* Orientação de compra: card dividido ao meio, texto à esquerda e conversa ilustrativa ocupando toda a metade direita. */
.buying { overflow: hidden; padding: 0; background: var(--surface); }
.buying-inner { display: grid; grid-template-columns: 1fr 1fr; }
.buying-copy { padding: 48px 48px 44px max(var(--section-x), calc((100vw - 1600px) / 2 - var(--gutter))); }
.buying-heading { margin-bottom: 22px; }
.buying-heading h2 { margin: 0 0 10px; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.2; letter-spacing: -.045em; }
.buying-heading p { max-width: 460px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.buying-steps { list-style: none; padding: 0; margin: 0; }
.buying-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.buying-steps li:last-child { border-bottom: 1px solid var(--line); }
.buying-number { color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.7; }
.buying-steps h3 { margin: 0 0 6px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -.025em; }
.buying-steps p { max-width: 460px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.buying-link { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; margin-top: 4px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.buying-link svg { display: block; }
.buying-chat { display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 28px; background: linear-gradient(180deg, var(--sky-a), var(--sky-b)); }
.chat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.chat-day { align-self: center; padding: 5px 12px; border-radius: 999px; background: #ffffffe6; color: #172c37; font-size: 11px; font-weight: 700; }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: -.06em; }
.chat-header p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.chat-header small { display: block; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.chat-message { display: flex; align-items: flex-end; gap: 10px; max-width: min(78%, 560px); }
.chat-message--client { margin-left: auto; flex-direction: row-reverse; }
.chat-step { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #ac360c; font-size: 11px; font-weight: 700; }
.chat-bubble { padding: 12px 16px; border-radius: 18px; background: #fff; color: #172c37; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 2px #172c3714; }
.chat-bubble p { margin: 0; }
.chat-message--client .chat-bubble { border-bottom-right-radius: 6px; }
.chat-message--seller .chat-bubble { background: var(--orange); border-bottom-left-radius: 6px; }
.chat-products { display: flex; gap: 8px; margin-top: 10px; }
.chat-products span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 12px; background: var(--snow); }
.chat-products img { display: block; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 8px 8px #172c3726); }
.chat-typing .chat-bubble { display: flex; gap: 5px; padding: 15px 16px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: #172c37; opacity: .45; animation: chat-typing 1.2s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes chat-typing { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-composer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.chat-field { flex: 1; display: flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; color: #52616a; font-size: 14px; }
.chat-send { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.chat-send svg { display: block; }
.buying-chat.chat-ready .chat-message { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * .28s); }
.buying-chat.chat-ready.is-visible .chat-message { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .buying-inner { grid-template-columns: 1fr; }
  .buying-copy { padding: 44px var(--section-x) 36px; }
  .buying-chat { padding: 28px var(--section-x); }
}
@media (max-width: 700px) {
  .buying-copy { padding: 40px var(--section-x) 28px; }
  .buying-heading { margin-bottom: 14px; }
  .buying-heading h2 { font-size: clamp(24px, 6.3vw, 32px); }
  .buying-heading p { font-size: 13px; }
  .buying-steps li { grid-template-columns: 34px 1fr; gap: 8px; padding: 14px 0; }
  .buying-number { font-size: 12px; line-height: 1.9; }
  .buying-steps h3 { font-size: 18px; margin-bottom: 4px; }
  .buying-steps p { max-width: none; font-size: 13px; }
  .buying-chat { padding: 22px var(--section-x); gap: 10px; }
  .chat-field { min-height: 42px; font-size: 13px; }
  .chat-send { width: 42px; height: 42px; }
  .chat-message { max-width: 88%; }
  .chat-products span { width: 68px; height: 68px; }
}

/* FAQ: fica plana sobre o chão de neve, como fechamento da página. */
.faq { padding: 64px var(--section-x) 72px; }
.faq-inner { max-width: 1600px; margin: auto; display: grid; grid-template-columns: .85fr 1.4fr; gap: 8%; align-items: start; }
.faq-heading h2 { margin: 0 0 12px; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.2; letter-spacing: -.045em; }
.faq-heading p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px 0; cursor: pointer; font-size: 15px; line-height: 1.5; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 24px; height: 24px; }
.faq-list summary span::before, .faq-list summary span::after { content: ''; position: absolute; width: 12px; height: 2px; left: 6px; top: 11px; background: var(--accent); }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: none; }
.faq-answer { padding: 0 42px 23px 0; max-width: 660px; }
.faq-answer p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-muted); text-wrap: pretty; }
.faq-answer a { display: inline-block; padding: 12px 0 0; font-size: 13px; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .faq { padding: 44px var(--section-x) 48px; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading h2 { font-size: clamp(24px, 6.3vw, 32px); }
  .faq-heading p { font-size: 13px; }
  .faq-list summary { padding: 19px 0; font-size: 14px; gap: 14px; }
  .faq-answer { padding-right: 20px; }
  .faq-answer p { font-size: 13px; }
}


/* Rodapé: card escuro que fecha a página e ecoa a marca do hero. */
.footer { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--gutter) var(--gutter); padding: 44px var(--section-x) 0; background: var(--footer-bg); color: var(--footer-text); }
.footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--footer-scrim), url('assets/footer/footer-neve.webp') center 75% / cover no-repeat; }
.footer :focus-visible { outline-color: var(--footer-text); }
.footer-inner { position: relative; z-index: 1; max-width: 1600px; margin: auto; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--footer-line); }
.footer-tagline { margin: 0; font-size: clamp(32px, 4vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; text-wrap: balance; }
.footer-contact { flex-shrink: 0; gap: 18px; min-height: 50px; padding: 14px 22px 14px 26px; font-size: 14px; white-space: nowrap; }
.footer-contact svg { display: block; flex-shrink: 0; }
.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 32px 0 36px; }
.footer-logo { display: inline-block; color: var(--orange); font-size: 37px; font-weight: 900; letter-spacing: -2.7px; line-height: 1; text-decoration: none; }
.footer-brand p { max-width: 360px; margin: 14px 0 0; color: var(--footer-muted); font-size: 14px; line-height: 1.7; text-wrap: pretty; }
.footer-label { margin: 0 0 12px; color: var(--footer-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.footer-col a, .footer-col button { padding: 0; border: 0; background: none; color: var(--footer-text); font: inherit; font-size: 15px; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.footer-col a:hover, .footer-col button:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col [aria-disabled="true"] { cursor: default; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: 12px; }
.footer-bottom small { font-size: inherit; }
.footer-bottom a { color: var(--footer-text); font-weight: 700; text-decoration: none; }
.footer-bottom a span { margin-left: 12px; color: var(--orange); }
.footer-wordmark {
  position: relative;
  z-index: 0;
  margin: 12px calc(-1 * var(--section-x)) -.36em;
  padding-right: .075em;
  color: var(--orange);
  font-family: 'Arial Black', Arial, Helvetica, sans-serif;
  font-size: calc((100vw - var(--gutter) * 2) * .33);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.075em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  /* Pontos de tinta com espaços realmente transparentes sobre a paisagem. */
  opacity: .65;
  -webkit-mask-image: radial-gradient(circle, #000 .55px, transparent .85px);
  mask-image: radial-gradient(circle, #000 .55px, transparent .85px);
  -webkit-mask-size: 1.8px 1.8px;
  mask-size: 1.8px 1.8px;
}

@media (max-width: 900px) {
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer { padding: 44px var(--section-x) 0; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 24px; }
  .footer-tagline { font-size: clamp(30px, 8.6vw, 44px); }
  .footer-columns { gap: 26px 20px; padding: 26px 0 28px; }
  .footer-col ul { gap: 10px; }
  .footer-col a, .footer-col button { font-size: 14px; }
  .footer-bottom { padding: 18px 0; font-size: 11px; }
  .footer-wordmark { margin-top: 4px; }
}

/* Catálogo: rolagem sem barra visível. */
.catalog-dialog { scrollbar-width: none; }
.catalog-dialog::-webkit-scrollbar { display: none; }


/* Clientes: fileira de fotos que se expandem ao passar o mouse, plana sobre o chão de neve. */
.gallery { padding: 64px var(--section-x) 40px; }
.gallery-inner { max-width: 1600px; margin: auto; }
.gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.gallery-heading h2 { margin: 0; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.2; letter-spacing: -.045em; }
.gallery-heading p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; text-align: right; }
.gallery-row { display: flex; gap: 10px; height: clamp(320px, 36vw, 560px); }
.gallery-item { position: relative; flex: 1 1 0; min-width: 0; display: block; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--line); cursor: pointer; isolation: isolate; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity .3s; }
.gallery-item:focus-visible { outline-offset: -4px; outline-color: #fff; }
@media (hover: hover) {
  .gallery-item { transition: flex-grow .5s ease-in-out; }
  .gallery-item::after { opacity: .22; }
  .gallery-row:hover .gallery-item, .gallery-row:has(.gallery-item:focus-visible) .gallery-item { flex-grow: .5; }
  .gallery-row .gallery-item:hover, .gallery-row .gallery-item:focus-visible { flex-grow: 2; }
  .gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 0; }
}
.gallery-dialog { width: 100%; max-width: 100%; height: 100svh; max-height: 100svh; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.gallery-dialog[open] { display: grid; place-items: center; animation: gallery-in .25s ease-out; }
.gallery-dialog::backdrop { background: var(--scrim-strong); backdrop-filter: blur(8px); }
@keyframes gallery-in { from { opacity: 0; } }
.gallery-figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: min(1100px, 100vw - 150px); }
.gallery-figure img { display: block; max-width: 100%; max-height: 80svh; border-radius: 20px; object-fit: contain; }
.gallery-figure figcaption { font-size: 13px; color: #f5f8fbcc; }
.gallery-control { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff3d; border-radius: 50%; background: #ffffff1f; color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s; }
.gallery-control svg { display: block; }
.gallery-control:hover { background: #ffffff38; }
.gallery-dialog :focus-visible { outline-color: #fff; outline-offset: 4px; }
.gallery-close { top: 20px; right: 20px; }
.gallery-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.gallery-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .gallery { padding: 44px var(--section-x) 24px; }
  .gallery-heading { display: block; margin-bottom: 24px; }
  .gallery-heading h2 { font-size: clamp(24px, 6.3vw, 32px); }
  .gallery-heading p { margin-top: 12px; font-size: 13px; text-align: left; }
  .gallery-row { height: auto; margin-inline: calc(-1 * var(--section-x)); padding: 0 var(--section-x) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--section-x); scrollbar-width: none; }
  .gallery-row::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 76vw; height: 100vw; max-height: 480px; border-radius: 16px; scroll-snap-align: start; }
  .gallery-figure { max-width: calc(100vw - 32px); }
  .gallery-figure img { max-height: 70svh; border-radius: 16px; }
  .gallery-close { top: 14px; right: 14px; }
  .gallery-prev { left: 16px; top: auto; bottom: 20px; transform: none; }
  .gallery-next { right: 16px; top: auto; bottom: 20px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item, .gallery-item::after, .gallery-control { transition: none; }
  .gallery-dialog[open] { animation: none; }
}


/* Troca de tema: transição curta aplicada pelo script por 450ms. */
.theme-switching, .theme-switching * { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
