/* ==========================================================================
   Affinity Concept — estilos compartilhados
   Organização pensada para portar ao tema NuvemShop (SCSS):
   tokens > base > layout > componentes > seções da home
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --ink: #161412;
  --ink-2: #4a453f;
  --muted: #6f675e;
  --line: #e6e1da;
  --sand: #efeae3;
  --sand-2: #e4dcd1;
  --night: #1c1a17;
  --on-night: #f3efe9;
  --on-night-muted: #b9b1a6;
  --error: #8a2f22; /* só validação de formulário */
  --photo-fallback: #3b352f; /* fundo escuro sob fotos com texto branco, visível enquanto a imagem carrega */

  --font-display: "Gilda Display", "Didot", "Bodoni 72", serif;
  --font-ui: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;   /* 13px */
  --step-0: 0.9375rem;    /* 15px */
  --step-1: 1.125rem;     /* 18px */
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;

  --gutter: clamp(1rem, 0.4rem + 2.4vw, 2.5rem);
  --max: 1440px;

  --announce-h: 36px;
  --header-h: 72px;
  --nav-h: 46px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 480ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--sand-2) var(--paper);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--sand-2); border: 3px solid var(--paper); border-radius: 10px; }

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

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

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

input { font: inherit; color: inherit; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: var(--space-2) var(--space-4);
}
.skip-link:focus { top: var(--space-2); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

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

/* ---------- Tipografia utilitária ---------- */
.label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: 48px;
  padding: 0 var(--space-6);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }

.link-line {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out);
}
.link-line:hover { background-size: 0 1px; background-position: right bottom; }

/* ==========================================================================
   Barra de anúncio
   ========================================================================== */
.announce {
  background: var(--night); color: var(--on-night);
  height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-inline: var(--gutter);
}
.announce p { font-size: 0.8125rem; letter-spacing: 0.02em; font-weight: 400; }
.announce a { border-bottom: 1px solid var(--on-night-muted); padding-bottom: 1px; margin-left: var(--space-2); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease-out);
}
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgb(22 20 18 / 0.18); }

.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}

.header__left, .header__right { display: flex; align-items: center; gap: var(--space-5); }
.header__right { justify-content: flex-end; }

.header__iconbtn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; min-width: 44px; justify-content: center;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: opacity 240ms var(--ease-out);
}
.header__iconbtn:hover { opacity: 0.6; }

.bag-count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  font-size: 0.6875rem; letter-spacing: 0; font-weight: 500;
  background: var(--ink); color: var(--paper); border-radius: 10px;
  font-variant-numeric: tabular-nums;
}

.logo { display: block; line-height: 0; }
.logo img { height: 46px; width: auto; }

.nav { border-top: 1px solid var(--line); }
.nav__list {
  display: flex; justify-content: center; gap: clamp(1.25rem, 2.6vw, 2.75rem);
  height: var(--nav-h); align-items: center;
}
.nav__link {
  position: relative;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding-block: 12px;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__menu-btn { display: none; }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  visibility: hidden;
}
.drawer__scrim {
  position: absolute; inset: 0; background: rgb(22 20 18 / 0.4);
  opacity: 0; transition: opacity var(--dur) var(--ease-out);
}
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px);
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease-out);
  display: flex; flex-direction: column;
  padding: var(--space-5) var(--gutter) var(--space-7);
  overflow-y: auto;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
.drawer__list a {
  display: block; padding: var(--space-4) 0;
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.drawer__meta { margin-top: auto; padding-top: var(--space-7); display: grid; gap: var(--space-4); color: var(--ink-2); }

/* ==========================================================================
   Hero (slider de banners)
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100svh - var(--announce-h) - var(--header-h) - var(--nav-h));
  min-height: 520px; max-height: 880px;
  overflow: hidden;
  background: var(--photo-fallback);
  color: var(--paper);
}

.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1200ms var(--ease-out), visibility 0s linear 1200ms;
}
.hero__slide.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 1200ms var(--ease-out), visibility 0s;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 7000ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hero__slide.is-active .hero__media img { transform: scale(1); }

.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(22 20 18 / 0.55) 0%, rgb(22 20 18 / 0.18) 38%, rgb(22 20 18 / 0) 60%);
}

.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(2.5rem, 7vh, 5rem);
  z-index: 2;
}
.hero__title { font-size: var(--step-4); max-width: 12ch; }
.hero__text { margin-top: var(--space-4); max-width: 38ch; font-size: var(--step-1); font-weight: 300; line-height: 1.5; color: rgb(255 255 255 / 0.92); }
.hero__cta { margin-top: var(--space-6); }

.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .hero__cta {
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}
.hero__slide:not(.is-active) .hero__title,
.hero__slide:not(.is-active) .hero__text,
.hero__slide:not(.is-active) .hero__cta {
  opacity: 0; transform: translateY(18px); filter: blur(6px);
}
.hero__slide.is-active .hero__text { transition-delay: 120ms; }
.hero__slide.is-active .hero__cta { transition-delay: 220ms; }

/* ==========================================================================
   Barra de serviços
   ========================================================================== */
.services { border-bottom: 1px solid var(--line); }
.services__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.services__item {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: 64px; padding: var(--space-3) var(--space-4);
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  text-align: center;
}
.services__item + .services__item { border-left: 1px solid var(--line); }
.services__item:hover { color: var(--ink); }

/* ==========================================================================
   Seções: cabeçalho padrão
   ========================================================================== */
.section { padding-block: var(--space-9) 0; }
.section--tight { padding-block: var(--space-8) 0; }

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.section-head__title { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; line-height: 1.05; }
.section-head__side { display: flex; align-items: center; gap: var(--space-5); }

/* ==========================================================================
   Dupla de banners editoriais
   ========================================================================== */

.editorial {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--photo-fallback);
  color: var(--paper);
}
.editorial img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms var(--ease-out);
}
.editorial:hover img { transform: scale(1.035); }
.editorial::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(22 20 18 / 0.5), rgb(22 20 18 / 0) 50%);
}
.editorial__body {
  position: absolute; z-index: 1; left: var(--space-6); right: var(--space-6); bottom: var(--space-6);
  display: grid; gap: var(--space-3); justify-items: start;
}
.editorial__title { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; line-height: 1; }
.editorial__text { max-width: 34ch; font-weight: 300; color: rgb(255 255 255 / 0.9); }
.editorial .link-line { margin-top: var(--space-2); }

/* ==========================================================================
   Vitrine de produtos (carrossel)
   ========================================================================== */
.shelf { position: relative; }

.shelf__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * var(--space-4)) / 5);
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track > * { scroll-snap-align: start; }

.arrows { display: flex; gap: var(--space-2); }
.arrow {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: border-color 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
.arrow:hover { border-color: var(--ink); }
.arrow:disabled { opacity: 0.35; cursor: default; border-color: var(--line); }

/* Card de produto */
.product { position: relative; }
.product__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand);
}
.product__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 900ms var(--ease-out), transform 1400ms var(--ease-out);
}
.product__media .product__alt { opacity: 0; transform: scale(1.18); }
.product:hover .product__alt, .product__media:focus-visible .product__alt { opacity: 1; transform: scale(1.12); }

.product__info {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3);
  margin-top: var(--space-3);
}
.product__name { font-size: 0.875rem; line-height: 1.4; font-weight: 400; }
.product__price { font-size: 0.875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.swatches { display: flex; gap: 6px; margin-top: var(--space-2); }
.swatch {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgb(22 20 18 / 0.2);
}
/* Anel da cor atual desenhado por dentro: não é cortado pelo carrossel */
.swatches .swatch.is-current { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--paper); }

/* ==========================================================================
   Trio editorial
   ========================================================================== */
.trio { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
.trio .editorial { aspect-ratio: 3 / 4; }

/* ==========================================================================
   Personal shopper
   ========================================================================== */
.concierge {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--night); color: var(--on-night);
  min-height: 560px;
}
.concierge__body {
  display: grid; align-content: center; gap: var(--space-5);
  padding: var(--space-8) clamp(1.5rem, 6vw, 6rem);
}
.concierge__title { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; line-height: 1.05; max-width: 14ch; text-wrap: balance; }
.concierge__text { max-width: 44ch; color: var(--on-night-muted); font-weight: 300; font-size: var(--step-1); line-height: 1.55; }
.concierge__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-3); }
.concierge__media { position: relative; overflow: hidden; }
.concierge__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Nossa história
   ========================================================================== */
.story {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}
.story__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.story__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.story__body { display: grid; gap: var(--space-5); max-width: 560px; }
.story__title { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.story__quote {
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.6; color: var(--ink-2);
  font-style: italic;
}
.story__body .link-line { justify-self: start; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { background: var(--sand); padding-block: var(--space-9); margin-top: var(--space-9); }
.newsletter__inner { max-width: 760px; margin-inline: auto; text-align: center; display: grid; gap: var(--space-4); }
.newsletter__title { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.newsletter__text { color: var(--ink-2); font-weight: 300; font-size: var(--step-1); max-width: 48ch; margin-inline: auto; }
.newsletter__form {
  display: grid; grid-template-columns: 1fr 1.4fr auto; gap: var(--space-3);
  margin-top: var(--space-5); text-align: left;
}
.field { position: relative; }
.field input {
  width: 100%; height: 52px;
  padding: 18px 0 6px;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink-2);
  border-radius: 0;
  font-size: 0.9375rem;
  caret-color: var(--ink);
}
.field input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field label {
  position: absolute; left: 0; top: 16px;
  font-size: 0.875rem; color: var(--ink-2);
  transition: transform 240ms var(--ease-out), font-size 240ms var(--ease-out);
  transform-origin: left top; pointer-events: none;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-14px); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; }
.newsletter__form .btn { height: 52px; align-self: end; }
.newsletter__legal { margin-top: var(--space-3); font-size: 0.75rem; color: var(--ink-2); }
.newsletter__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--paper); padding-top: var(--space-8); }
.footer__top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-6);
  padding-bottom: var(--space-8);
}
.footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.logo--footer img { height: 40px; }
.footer__brand p { color: var(--ink-2); font-weight: 300; max-width: 34ch; }
.footer__social { display: flex; gap: var(--space-2); margin-left: -12px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; }
.footer__social a:hover { opacity: 0.6; }
.footer__col h2 { margin-bottom: var(--space-4); }
.footer__col li + li { margin-top: var(--space-2); }
.footer__col a { color: var(--ink-2); font-size: 0.875rem; transition: color 200ms var(--ease-out); }
.footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  padding-block: var(--space-5);
  font-size: 0.75rem; color: var(--muted);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .shelf__track { grid-auto-columns: calc((100% - 3 * var(--space-4)) / 3.4); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .header__menu-btn { display: inline-flex; }
  .header__hide-sm { display: none; }
  .header__left, .header__right { gap: 0; }
  .logo img { height: 34px; }

  .hero { height: calc(100svh - var(--announce-h) - var(--header-h)); min-height: 560px; }
  .hero__content { bottom: 5.5rem; }

  .services__list { grid-template-columns: 1fr 1fr; }
  .services__item:nth-child(3) { border-left: 0; }
  .services__item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .editorial__body { left: var(--space-5); right: var(--space-5); bottom: var(--space-5); }

  .shelf__track {
    grid-auto-columns: 62%;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .section-head .arrows { display: none; }

  .trio { grid-template-columns: 1fr; gap: var(--space-7); }

  .trio .editorial { aspect-ratio: 4 / 5; }

  .concierge { grid-template-columns: 1fr; }
  .concierge__media { aspect-ratio: 4 / 3; order: -1; }

  .story { grid-template-columns: 1fr; }

  .newsletter__form { grid-template-columns: 1fr; }
  .newsletter__form .btn { width: 100%; margin-top: var(--space-3); }

  .section { padding-block: var(--space-8) 0; }
  .newsletter { margin-top: var(--space-8); padding-block: var(--space-8); }
}

@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .announce p { font-size: 0.75rem; }
  .announce a { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

@media (hover: none) {
  .product__media .product__alt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  html { scroll-behavior: auto; }
  .hero__media img { transform: none !important; }
}

/* ---------- Serviços: rótulos curtos no celular ---------- */
.services__short { display: none; }
@media (max-width: 860px) {
  .services__full { display: none; }
  .services__short { display: inline; }
  .services__item { justify-content: flex-start; white-space: nowrap; letter-spacing: 0.1em; padding-inline: var(--gutter); }
}

/* ---------- Hero: ponto focal no celular ---------- */
@media (max-width: 860px) {
  .hero__media img { object-position: var(--focal-m, 50% 50%); }
}

/* ---------- Serifada (Gilda Display: único peso, traço firme) ---------- */
.display,
.serif,
.section-head__title,
.editorial__title,
.concierge__title,
.story__title,
.story__quote,
.newsletter__title,
.drawer__list a { font-weight: 400; }

/* ---------- Cabeçalho numa linha: logo à esquerda, categorias no meio, WhatsApp à direita ---------- */
/* As categorias agora ficam dentro da mesma linha do logo: não existe mais a segunda faixa (--nav-h),
   então tudo que gruda abaixo do cabeçalho (barra Filtrar, galeria e compra do produto) desconta só --header-h. */
:root { --nav-h: 0px; }
.header { transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.header__bar { gap: var(--space-5); }
.header__right { grid-column: 3; }
.nav { border-top: 0; }
.nav__list { height: var(--header-h); }
.logo img { transition: filter var(--dur) var(--ease-out); }

/* A logo nunca encolhe nem achata: as colunas laterais não ficam menores que o conteúdo,
   e quando as categorias não cabem entre logo e WhatsApp, elas vão para o menu lateral. */
.header__bar { grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
.logo { flex-shrink: 0; }
.logo img { max-width: none; flex-shrink: 0; }
@media (max-width: 1180px) {
  .header__bar { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .header__right { grid-column: 2; }
  .header__menu-btn { display: inline-flex; }
}

/* Home: cabeçalho transparente por cima do hero (foto escura, texto e logo brancos); fica branco ao rolar */
body[data-page="home"] .header { margin-bottom: calc(var(--header-h) * -1); }
body[data-page="home"] .header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; color: var(--paper); }
body[data-page="home"] .header:not(.is-scrolled) .logo img { filter: brightness(0) invert(1); }

/* ---------- Hero: foto 16:9 de fundo escuro, de ponta a ponta ----------
   Modelo no centro, texto branco à esquerda e botão só com borda à direita. */
.hero { height: calc(100svh - var(--announce-h)); min-height: 560px; max-height: 920px; background: #0b1a2e; color: var(--paper); }
.hero__media img { object-position: var(--focal-d, 50% 20%); }
.hero__text { color: rgb(255 255 255 / 0.88); }
.hero__content {
  top: 50%; bottom: auto; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
.hero__cta { margin-top: 0; flex-shrink: 0; }
.btn--outline-light { background: transparent; color: var(--paper); border-color: var(--paper); min-width: 220px; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8125rem; }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }

/* Celular: foto em tela cheia (faixa central com a modelo), texto e botão embaixo */
@media (max-width: 860px) {
  .hero { height: calc(100svh - var(--announce-h)); min-height: 520px; max-height: none; }
  .hero__media img { object-position: var(--focal-m, 51% 30%); }
  .hero__content { top: auto; bottom: var(--space-7); transform: none; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .btn--outline-light { min-width: 0; }
}

/* ==========================================================================
   Site próprio: compra pelo WhatsApp
   ========================================================================== */
/* Atalho no header */
.header__wa { width: auto; gap: var(--space-2); padding-inline: var(--space-2); }
.header__wa-label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 860px) { .header__wa-label { display: none; } }

/* Botão flutuante */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 40;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border: 1px solid rgb(255 255 255 / 0.22);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); background: var(--night); }
body[data-page="produto"] .wa-float { display: none; }

/* Loja física: link sobre fundo escuro */
.concierge__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.concierge__link { color: var(--on-night); }

.section--last { padding-bottom: var(--space-9); }
@media (max-width: 860px) { .section--last { padding-bottom: var(--space-8); } }
