/* =========================================================
   Terrários Jundiaí
   ========================================================= */

:root {
  --ivory: #f1ebdf;
  --ivory-2: #efe6d7;
  --cream-text: #f4efe6;
  --green-900: #18231a;
  --green-800: #1f2b1f;
  --green-700: #2a3a2a;
  --terracotta: #b65e3a;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(20px, 6.8vw, 120px);
  --vh: 100vh;
  /* altura aproximada do header (padding superior + marca), para liberar espaço abaixo dele */
  --hdr-h: calc(clamp(16px, 1.6vw, 28px) + clamp(44px, 3.9vw, 64px));

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
}

@supports (height: 100svh) { :root { --vh: 100svh; } }

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

html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--green-900);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: none; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .34em;
  line-height: 1.55;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.rule {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

/* =========================================================
   HERO
   ========================================================= */

/* Primeira tela inteira: largura total e altura da viewport (svh no celular).
   O header fica por cima da imagem, sem faixa própria. */
.hero {
  position: relative;
  width: 100%;
  height: var(--vh);
  min-height: 600px;
  overflow: hidden;
  background: var(--ivory-2);
}

/* Cenário: o terrário principal e a pedra já fazem parte da imagem
   ("fundo - hero.png", 2172 × 724, proporção 3:1). O cenário é um container,
   então as medidas abaixo usam o tamanho real dele (cqw/cqh):
     --img-h   altura em que a imagem é desenhada (equivale a cover)
     --bowl-c  onde queremos o centro do terrário do fundo
     --bg-x    deslocamento horizontal da imagem, limitado para nunca sobrar borda
     --bowl-x  onde o centro do terrário realmente fica
   Na imagem, o terrário ocupa de 50,25% a 74,5% da largura: centro em
   1,866 × altura e meia largura de 0,364 × altura. */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* o cordão sempre nasce na borda superior do cenário */
  container-type: size;
  --img-h: max(100cqh, 100cqw / 3);
  /* à direita da área de leitura (margem + largura do título), sem sair da tela */
  --bowl-c: clamp(62cqw, var(--pad-x) + 36cqw + .364 * var(--img-h), 100cqw - .364 * var(--img-h) - 8px);
  --bg-x: max(100cqw - 3 * var(--img-h), min(0px, var(--bowl-c) - 1.866 * var(--img-h)));
  --bowl-x: calc(var(--bg-x) + 1.866 * var(--img-h));
}
/* Em tela cheia a imagem é ampliada e a parede clara fica estreita: um véu
   marfim suave à esquerda prolonga a área de leitura e some antes do terrário. */
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg,
      rgba(239, 230, 215, .9) 0,
      rgba(239, 230, 215, .78) calc(var(--pad-x) + 30cqw),
      rgba(239, 230, 215, 0) calc(var(--bowl-x) - .3 * var(--img-h))),
    url("../assets/web/fundo-hero.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, auto var(--img-h);
  background-position: 0 0, var(--bg-x) 50%;
}

/* ---- Terrários pendurados -------------------------------------------
   .hanger       posição estática (ancorada no topo, centrada no cordão)
   .hanger-drop  animação de descida
   .hanger-sway  balanço de pêndulo (JS), pivô no ponto de suspensão */
.hanger {
  position: absolute;
  aspect-ratio: 1024 / 1536;
  transform: translateX(-49.76%); /* o cordão está em x = 49,76% do PNG */
  z-index: 1;
  pointer-events: none;
}
/* No desktop, o JS alinha os cordões aos vãos da navegação (--cord-x).
   Tamanho proporcional à imagem do fundo, como na composição original. */
.hanger--1 { left: var(--cord-x, 79.5%); top: -8%; height: min(60%, var(--img-h) * .4); }
.hanger--2 { left: var(--cord-x, 89.5%); top: 0;   height: min(70%, var(--img-h) * .47); }

.hanger-drop,
.hanger-sway,
.hanger img { width: 100%; height: 100%; }

.hanger-sway {
  transform-origin: 49.76% 0;
  will-change: transform;
}
.hanger img {
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .28));
}

.js .hanger-drop {
  transform: translateY(-112%);
  animation: hanger-drop 2000ms var(--ease-soft) forwards;
  animation-delay: var(--drop-delay, 450ms);
}
.hanger--2 .hanger-drop { --drop-delay: 800ms; animation-duration: 2200ms; }

@keyframes hanger-drop {
  from { transform: translateY(-112%); }
  to   { transform: translateY(0); }
}

.hero-side {
  position: absolute;
  /* logo à direita da borda do terrário do fundo, sem sair da tela */
  left: min(var(--bowl-x) + .364 * var(--img-h) + 14px, 100cqw - 118px);
  top: 65%;
  z-index: 2;
  color: var(--cream-text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .38em;
  line-height: 1.75;
  text-transform: uppercase;
}
.hero-side::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 12px;
  background: currentColor;
  opacity: .7;
}

/* ---- Header ------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 1.6vw, 28px) var(--pad-x) 0 calc(var(--pad-x) - 8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--green-900);
}
.brand-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 3.9vw, 64px);
  line-height: 1;
  letter-spacing: -.22em;
  padding-right: .22em;
  color: var(--green-800);
}
.brand-text { display: flex; flex-direction: column; gap: 6px; }
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.95vw, 32px);
  line-height: 1;
}
.brand-sub {
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  padding-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4.6vw, 84px);
  color: var(--cream-text);
  font-size: 14.5px;
  font-weight: 300;
}
.site-nav a {
  position: relative;
  text-decoration: none;
  padding: 6px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.site-nav a.is-active::after,
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.nav-leaf {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 239, 230, .75);
  border-radius: 50%;
}

/* ---- Textos da hero ----------------------------------------------- */
.hero-content {
  position: absolute;
  z-index: 2;
  left: var(--pad-x);
  /* centrado na altura, sempre abaixo do header */
  top: max(var(--hdr-h) + 40px, 50% - 250px);
  max-width: 46%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: clamp(16px, 1.6vw, 26px);
  font-size: 8.5px;
  letter-spacing: .36em;
  margin-left: -2px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 4.85vw, 96px);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--green-900);
}

.hero-lead {
  margin-top: clamp(12px, 1.1vw, 18px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1.3;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(16px, 1.5vw, 26px);
  padding: 0 32px;
  height: clamp(46px, 3.35vw, 58px);
  border-radius: 999px;
  background: var(--green-800);
  color: var(--cream-text);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 300;
  text-decoration: none;
  transition: background-color .35s ease;
}
.btn .arrow { width: 26px; height: 12px; transition: transform .35s var(--ease-out); }
.btn:hover { background: var(--green-700); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--green-800); outline-offset: 4px; }

.hero-foot {
  margin-top: clamp(18px, 1.7vw, 30px);
  font-size: 8.5px;
}
.hero-foot .rule { margin-bottom: 14px; }

/* ---- Entrada da hero ------------------------------------------------ */
.js .slide-in {
  opacity: 0;
  animation: slide-in 1000ms var(--ease-out) forwards;
  animation-delay: calc(250ms + var(--d, 0) * 150ms);
}
@keyframes slide-in {
  from { opacity: 0; transform: translate3d(-120px, 0, 0); }
  to   { opacity: 1; transform: none; }
}

.js .hero-eyebrow,
.js .hero-foot,
.js .hero-side,
.js .site-header {
  opacity: 0;
  animation: fade-in 900ms ease forwards;
}
.js .site-header  { animation-delay: 100ms; }
.js .hero-eyebrow { animation-delay: 200ms; }
.js .hero-foot    { animation-delay: 900ms; }
.js .hero-side    { animation-delay: 1500ms; }

@keyframes fade-in { to { opacity: 1; } }

/* =========================================================
   COLEÇÃO
   ========================================================= */

.collection { background: var(--ivory); }

.collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(10px, 1.1vw, 20px) var(--pad-x) clamp(10px, 1.1vw, 20px) calc(var(--pad-x) - 1.5vw);
  overflow: hidden;
}

.collection-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 4.3vw, 84px);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.collection-note {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 9.5px;
  white-space: nowrap;
}

.js .collection-title,
.js .collection-note {
  opacity: 0;
  transform: translate3d(-90px, 0, 0);
  transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out);
}
.js .collection-note { transform: translate3d(60px, 0, 0); transition-delay: 150ms; }
.collection.is-title-in .collection-title,
.collection.is-title-in .collection-note { opacity: 1; transform: none; }

/* ---- Mosaico ------------------------------------------------------ */
.mosaic {
  display: grid;
  grid-template-columns: 29fr 38fr 33fr;
  grid-template-rows: max(200px, 17vw) max(240px, 21vw);
  grid-template-areas:
    "vert aber mini"
    "vert fech mini";
  gap: 6px;
}
.card--vertical { grid-area: vert; }
.card--aberto   { grid-area: aber; }
.card--fechado  { grid-area: fech; }
.card--mini     { grid-area: mini; }

.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
}

/* Camada 1 — fundo */
.card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.card--vertical .card-bg { background-image: url("../assets/web/fundo-vertical.webp"); }
.card--aberto   .card-bg { background-image: url("../assets/web/fundo-aberto.webp"); }
.card--fechado  .card-bg { background-image: url("../assets/web/fundo-fechado.webp"); }
.card--mini     .card-bg { background-image: url("../assets/web/fundo-mini.webp"); }

/* Camada 3 — título e seta */
.card-title {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 2vw, 34px);
  left: clamp(20px, 3vw, 50px);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(22px, 1.85vw, 34px);
  line-height: 1.12;
  color: var(--cream-text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .18);
}
.card--aberto .card-title { color: var(--green-900); text-shadow: none; }
.card-arrow {
  display: block;
  width: 28px;
  height: 12px;
  margin-top: clamp(12px, 1.2vw, 20px);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 6h26M21 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 6h26M21 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Camada 2 — produto
   Os cards nunca ficam mais largos que a proporção do fundo, então o fundo é
   sempre escalado pela altura: a pedra fica a uma fração fixa da altura do
   card. Por isso tamanho (--h) e base (--b) são porcentagens da altura.
   --b já desconta a margem transparente inferior de cada PNG.

   .product        posição (estática) + área de hover estável
   .product-enter  entrada (fade + deslocamento vertical)
   .product-float  flutuação contínua + perspectiva para o giro
   .product-spin   giro 3D no hover */
.product {
  position: absolute;
  z-index: 1;
  left: var(--x);
  bottom: var(--b);
  height: var(--h);
  aspect-ratio: var(--ar, 1);
  transform: translateX(-50%);
}
.card--vertical .product { --x: 66%; --b: 20.8%; --h: 70%; --ar: 1024 / 1536; }
.card--aberto   .product { --x: 60%; --b: 19%;   --h: 72%; --ar: 1536 / 1024; }
.card--fechado  .product { --x: 59%; --b: 21%;   --h: 72%; --ar: 1145 / 1374; }
/* mini: PNG 3:2 com 11% de margem transparente embaixo; a base dos vasos
   fica sobre o tampo da pedra (a 74% da altura do fundo) */
.card--mini     .product { --x: 47%; --b: 19%;   --h: 42%; --ar: 1536 / 1024; }

.product-enter,
.product-float,
.product-spin,
.product img { width: 100%; height: 100%; }

.product-float { perspective: 1100px; }
.product-spin  { transform-style: preserve-3d; }

.product img {
  filter: drop-shadow(0 14px 14px rgba(20, 14, 6, .22));
  -webkit-user-drag: none;
  user-select: none;
}

/* Sombra de contato na pedra (não flutua; responde à flutuação) */
.product-shadow {
  position: absolute;
  left: 50%;
  bottom: 3%;
  width: var(--shadow-w, 46%);
  height: 7%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 20, 8, .32), rgba(30, 20, 8, 0));
  opacity: 0;
  transition: opacity 1000ms ease;
  pointer-events: none;
}
.card--vertical .product-shadow { --shadow-w: 42%; bottom: 2%; }
.card--aberto   .product-shadow { --shadow-w: 72%; bottom: 5%; }
.card--fechado  .product-shadow { --shadow-w: 72%; bottom: 3%; }
.card--mini     .product-shadow { --shadow-w: 86%; bottom: 10%; }

/* ---- Estados da sequência da coleção -------------------------------- */
.js .card-bg {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms var(--ease-out), transform 1300ms var(--ease-out);
}
.js .card-title {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
  transition: opacity 800ms var(--ease-out) 250ms, transform 800ms var(--ease-out) 250ms;
}
.card.is-bg-in .card-bg,
.card.is-bg-in .card-title { opacity: 1; transform: none; }

.js .product { pointer-events: none; }
.js .product-enter {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1000ms var(--ease-out), transform 1100ms var(--ease-out);
}
.card.is-product-in .product { pointer-events: auto; }
.card.is-product-in .product-enter { opacity: 1; transform: none; }
.card.is-product-in .product-shadow { opacity: 1; }

/* ---- Flutuação ---------------------------------------------------- */
.card--vertical { --float-dur: 4.2s; --float-amp: 10px; }
.card--aberto   { --float-dur: 3.7s; --float-amp: 8px; }
.card--fechado  { --float-dur: 4.6s; --float-amp: 10px; }
.card--mini     { --float-dur: 4.0s; --float-amp: 9px; }

.card.is-floating .product-float {
  animation: float var(--float-dur) ease-in-out infinite;
}
.card.is-floating .product-shadow {
  animation: float-shadow var(--float-dur) ease-in-out infinite;
}
/* Fora da tela ou com a aba oculta: loops pausados (retomam do mesmo ponto) */
.collection.is-offscreen .product-float,
.collection.is-offscreen .product-shadow,
.is-tab-hidden .card.is-floating .product-float,
.is-tab-hidden .card.is-floating .product-shadow { animation-play-state: paused; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, calc(var(--float-amp) * -1), 0); }
}
@keyframes float-shadow {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(.86); opacity: .65; }
}

/* ---- Giro no hover ------------------------------------------------ */
.product-spin.is-spinning {
  animation: spin-y 1400ms cubic-bezier(.45, .05, .35, 1);
}
@keyframes spin-y {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* =========================================================
   NOSSA ESSÊNCIA
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.essence {
  display: grid;
  grid-template-columns: 49fr 51fr;
  align-items: stretch;
  gap: clamp(32px, 4.8vw, 96px);
  padding: clamp(48px, 5vw, 96px) 0 0 2.6vw;
  background: var(--ivory);
  overflow: hidden;
}

/* Recorte em arco: canto superior esquerdo amplo, direito ainda mais */
.essence-media {
  position: relative;
  margin: 0;
  min-width: 0;
  /* estica até a altura da linha: a foto encosta na base da seção */
  min-height: clamp(520px, 50vw, 920px);
  overflow: hidden;
  border-radius:
    clamp(110px, 16vw, 300px) clamp(140px, 19vw, 360px) 0 0 /
    clamp(130px, 17vw, 320px) clamp(170px, 21vw, 400px) 0 0;
  background: #d9cdb6;
}
.essence-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* mantém pinça, mãos e o vaso inteiro no quadro */
  object-position: 50% 28%;
  transition: transform 1200ms var(--ease-out);
}
.essence-media:hover .essence-photo { transform: scale(1.03); }

.essence-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 3vw, 40px);
  translate: -50% 0;
  color: rgba(24, 35, 26, .78);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(241, 235, 223, .7);
  white-space: nowrap;
}
.essence-caption::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 12px auto 0;
  background: currentColor;
  opacity: .7;
}

.essence-content {
  align-self: center;
  min-width: 0;
  padding: clamp(24px, 3vw, 56px) max(4vw, 24px) clamp(48px, 6vw, 110px) 0;
  color: var(--green-900);
}

.essence-eyebrow { font-size: 10px; letter-spacing: .42em; }

.essence-title {
  margin-top: clamp(20px, 2.2vw, 36px);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
}

.essence-lead {
  margin-top: clamp(20px, 2.2vw, 36px);
  max-width: 42ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.75vw, 32px);
  line-height: 1.35;
  letter-spacing: .01em;
}

.essence-list {
  list-style: none;
  margin: clamp(24px, 2.6vw, 44px) 0 0;
  padding: 0;
  max-width: 700px;
}
.essence-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 1.35vw, 22px) clamp(8px, .9vw, 16px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.55vw, 28px);
  line-height: 1.2;
}
.essence-list li + li { border-top: 1px solid rgba(24, 35, 26, .28); }
.essence-list .arrow { flex: none; width: 24px; height: 12px; opacity: .85; }

.essence-btn { margin-top: clamp(24px, 2.6vw, 44px); padding: 0 clamp(28px, 2.8vw, 48px); letter-spacing: .04em; }

/* ---- Entrada ------------------------------------------------------ */
.js .essence-media {
  opacity: 0;
  transform: translate3d(-40px, 0, 0);
  transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out);
}
.js .reveal-right {
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition: opacity 850ms var(--ease-out), transform 850ms var(--ease-out);
  transition-delay: calc(250ms + var(--i, 0) * 130ms);
}
.essence.is-in .essence-media,
.essence.is-in .reveal-right { opacity: 1; transform: none; }

/* =========================================================
   INDICADORES (abaixo de Nossa essência)
   Fundo branco, números em verde-grama, rótulos em verde-escuro.
   ========================================================= */

.stats {
  --stat-number: #388e3c;
  background: #fff;
  color: var(--green-900);
  padding: clamp(56px, 7vw, 120px) var(--pad-x);
}
.stats-list {
  display: grid;
  /* uma coluna igual por indicador, lado a lado */
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.stat {
  min-width: 0;
  padding: 8px clamp(16px, 2.4vw, 44px);
  text-align: center;
}
/* divisória discreta entre indicadores */
.stat + .stat { border-left: 1px solid rgba(31, 43, 31, .12); }

.stat-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(52px, 5.6vw, 104px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--stat-number);
  font-variant-numeric: lining-nums tabular-nums; /* dígitos de largura igual: nada se move na contagem */
}
/* O valor final (invisível) reserva a largura; a contagem é desenhada por cima. */
.stat-number { display: inline-grid; justify-items: end; }
.stat-ghost,
.stat-live { grid-area: 1 / 1; }
.stat-ghost { visibility: hidden; }
.stat-suffix { margin-left: .04em; }

.stat-label {
  margin-top: clamp(12px, 1.2vw, 18px);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.35;
  color: var(--green-800);
}
/* Selo de desenvolvimento: some quando o item deixa de ser ilustrativo */
.stat[data-illustrative] .stat-label::after {
  content: "Valor ilustrativo";
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 2px 9px;
  border: 1px dashed rgba(56, 142, 60, .55);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4d7a50;
}

/* Celular: duas colunas, divisórias só entre as colunas */
@media (max-width: 700px) {
  .stats-list {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    row-gap: 40px;
  }
  .stat { padding: 4px 10px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid rgba(31, 43, 31, .12); }
}

/* =========================================================
   PÁGINA NOSSA NATUREZA
   Header por cima da seção Natureza (fundo claro: navegação em verde).
   ========================================================= */

.site-header--overlay { position: absolute; z-index: 5; }
.site-header--overlay .site-nav { color: var(--green-900); }
.site-header--overlay .site-nav a { text-shadow: none; }
.site-header--overlay .nav-leaf { border-color: rgba(24, 35, 26, .45); }

/* Contêiner das seções Natureza e Espaços: o terrário viaja dentro dele
   e nunca é desenhado fora (header, rodapé ou outras áreas). */
.journey { position: relative; overflow: hidden; }
@supports (overflow: clip) { .journey { overflow: clip; } }

/* =========================================================
   NATUREZA — scroll storytelling
   A seção é alta; .s4-frame fica preso (sticky) enquanto o JS
   converte o progresso do scroll no percurso do terrário.
   ========================================================= */

@property --s4-float-amp {
  syntax: "<length>";
  inherits: true;
  initial-value: 9px;
}

@property --s4-spin {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

.s4 {
  --s4-green: #2b3d26;
  --s4-ink: #2c3128;
  --s4-ratio: 1.7757;              /* proporção de "fundo sessão 4.png" (1671 × 941) */
  position: relative;
  z-index: 1;                      /* o terrário pode cruzar para a seção seguinte */
  height: 560vh;                   /* quadro fixo: 5 modelos + pausa + descida */
  background: #efe7da;
  overflow-x: clip;
}

.s4-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.s4-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Caixa com a proporção do fundo, cobrindo o quadro (como background-size: cover) */
.s4-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 100svh * var(--s4-ratio));
  aspect-ratio: 1671 / 941;
  transform: translate(-50%, -50%);
}
.s4-scene--bg { background: url("../assets/web/fundo-natureza.webp") center / 100% 100% no-repeat; }
.s4-scene--fg { z-index: 2; pointer-events: none; }

/* ---- Anel orbital sobre o pódio ------------------------------------ */
.s4-orbit {
  position: absolute;
  left: 50%;
  top: 74%;
  width: 58%;
  height: 8.5%;
  transform: translate(-50%, -50%);
  color: rgba(43, 61, 38, .7);
  container-type: size;
}
.s4-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s4-orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--s4-green);
  box-shadow: 0 0 0 4px rgba(239, 231, 218, .55);
  transform: translate(
    calc(cos(var(--a) + var(--s4-spin)) * 50cqw),
    calc(sin(var(--a) + var(--s4-spin)) * 50cqh)
  );
  animation: s4-orbit 90s linear infinite;
}
@keyframes s4-orbit { to { --s4-spin: 360deg; } }
/* Fora de vista ou com a aba oculta: flutuação, órbita e dica pausadas */
.s4.is-paused .s4-float,
.s4.is-paused .s4-orbit-dot,
.s4.is-paused .s4-mouse::after,
.s4.is-tab-hidden .s4-float,
.s4.is-tab-hidden .s4-orbit-dot,
.s4.is-tab-hidden .s4-mouse::after { animation-play-state: paused; }

/* ---- Título gigante (atrás do terrário) ------------------------------ */
.s4-title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: max(8.5%, var(--hdr-h) + 14px);
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: min(19vw, 33svh);
  line-height: .9;
  letter-spacing: -.035em;
  color: var(--s4-green);
  white-space: nowrap;
  translate: -46% 0;
}
.s4-title-inner { display: block; will-change: transform, opacity; }

/* ---- Terrário: camadas independentes ------------------------------- */
.s4-product {
  position: absolute;
  left: 50%;
  top: 45.7%;
  /* esfera: área visível ≈ 55% da altura do cenário (o PNG tem 82% de área útil) */
  width: min(38%, 92vw, 74svh);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.s4-intro,
.s4-travel,
.s4-float { position: absolute; inset: 0; }

/* Sem will-change em .s4-travel: essa camada chega a ficar a mais de uma
   tela de distância do quadro fixo (pouso na seção seguinte), e o Chrome
   deixava de desenhá-la quando promovida a camada própria. */

.s4-float {
  animation: s4-float 7s ease-in-out infinite;
  transition: --s4-float-amp 1400ms var(--ease-out);
}
/* Pousado na mesa da seção seguinte: a flutuação se apaga suavemente */
.s4.is-landed .s4-float { --s4-float-amp: 0px; }
@keyframes s4-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, calc(var(--s4-float-amp) * -1), 0); }
}

.s4-contact {
  position: absolute;
  left: 15%;
  top: 87%;
  width: 70%;
  height: 11%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58, 40, 18, .38), rgba(58, 40, 18, .12) 60%, rgba(58, 40, 18, 0));
  opacity: 0;
  pointer-events: none;
}

/* Modelos sobrepostos no mesmo centro; o JS mostra um por vez conforme o
   scroll. Tamanhos individuais (pela área útil de cada PNG), sempre dentro da
   caixa do produto, para cada modelo aparecer inteiro e com presença parecida.
   A caixa tem o tamanho da esfera (o último modelo, que desce para a mesa). */
.s4-stack { position: absolute; inset: 0; will-change: transform; }
.s4-model {
  position: absolute;
  width: var(--w);
  height: var(--h);
  left: calc(50% - var(--w) / 2);
  top: calc(50% - var(--h) / 2);
  filter: drop-shadow(0 30px 28px rgba(70, 50, 25, .18));
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
}
.s4-model--vertical { --w: 60%;  --h: 90%; }
.s4-model--aberto   { --w: 104%; --h: 69.3%; }
.s4-model--fechado  { --w: 72%;  --h: 86.4%; }
.s4-model--mini     { --w: 106%; --h: 70.7%; }
.s4-model--destaque { --w: 100%; --h: 100%; }
/* Antes do JS assumir: só o primeiro modelo; a esfera nunca pisca na abertura */
.js .s4-model:not(.s4-model--vertical) { opacity: 0; }

/* ---- Textos e interface ------------------------------------------ */
.s4-copy {
  position: absolute;
  z-index: 3;
  left: 5.3vw;
  top: max(9.5%, var(--hdr-h) + 34px);
  color: var(--s4-ink);
}
.s4-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .3em; }
.s4-eyebrow .rule { width: 52px; opacity: .5; }
.s4-kicker {
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(24px, 2.35vw, 44px);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.s4-steps {
  position: absolute;
  z-index: 3;
  right: 3vw;
  /* abaixo do título, centrada na metade inferior do quadro (4 opções) */
  top: 57%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.9svh, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* linha vertical que conecta os pontos */
.s4-steps::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: rgba(43, 61, 38, .3);
}
.s4-step {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--s4-ink);
  cursor: pointer;
  text-align: left;
}
.s4-step-dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c9c1b1;
  transition: background-color .5s ease, transform .5s var(--ease-out);
}
.s4-step-thumb {
  display: grid;
  place-items: center;
  width: clamp(46px, 3.6vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(250, 246, 238, .78);
  box-shadow: 0 0 0 1px rgba(43, 61, 38, .12), 0 8px 20px rgba(60, 45, 25, .12);
  transition: box-shadow .5s ease, transform .5s var(--ease-out);
}
.s4-step-thumb img { width: 82%; height: 82%; object-fit: contain; }
.s4-step-label {
  min-width: 6.5em;
  max-width: 8.5em;
  font-size: 14px;
  font-weight: 300;
  opacity: .82;
  /* halo claro: legível sobre a pedra e o pódio do fundo */
  text-shadow: 0 0 6px rgba(250, 246, 238, .95), 0 0 14px rgba(250, 246, 238, .8);
  transition: opacity .5s ease;
}
.s4-step.is-active .s4-step-dot { background: var(--s4-green); transform: scale(1.15); }
.s4-step.is-active .s4-step-thumb { box-shadow: 0 0 0 2px rgba(43, 61, 38, .55), 0 10px 24px rgba(60, 45, 25, .16); transform: scale(1.05); }
.s4-step.is-active .s4-step-label { opacity: 1; font-weight: 400; }
.s4-step:hover .s4-step-label { opacity: 1; }
.s4-step:focus-visible { outline: 2px solid var(--s4-green); outline-offset: 6px; border-radius: 40px; }

.s4-counter {
  position: absolute;
  z-index: 3;
  left: 5.3vw;
  bottom: 7.5%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 300;
  color: var(--s4-ink);
}
.s4-counter strong { font-weight: 400; }
.s4-counter .rule { width: 64px; margin-left: 12px; opacity: .35; }

.s4-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 8%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 300;
  color: var(--s4-ink);
  transition: opacity .6s ease;
}
.s4-mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.3px solid currentColor;
  border-radius: 12px;
  opacity: .8;
}
.s4-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  border-radius: 2px;
  background: currentColor;
  animation: s4-wheel 1.8s ease-in-out infinite;
}
@keyframes s4-wheel {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}
.s4.is-scrolled .s4-hint { opacity: 0; }

.s4-cta {
  position: absolute;
  z-index: 3;
  right: 3.2vw;
  bottom: 6.2%;
  margin: 0;
  background: #25331f;
}
.s4-cta:hover { background: var(--green-700); }

/* ---- Abertura (em ordem, classes aplicadas pelo JS) ----------------
   1. is-bg-in   fundo e cenário
   2. is-text-in títulos e textos
   3. is-ui-in   controles e demais elementos
   4. is-in      por último, o terrário (já carregado) */
.js .s4-backdrop { opacity: 0; transition: opacity 700ms var(--ease-out); }
.js .s4-title,
.js .s4-copy {
  opacity: 0;
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.js .s4-title { transform: translate3d(0, 24px, 0); }
.js .s4-copy  { transform: translate3d(-30px, 0, 0); transition-delay: 100ms; }
.js .s4-steps,
.js .s4-counter,
.js .s4-cta,
.js .s4-hint {
  opacity: 0;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js .s4-steps   { transform: translate3d(30px, 0, 0); }
.js .s4-counter,
.js .s4-cta     { transition-delay: 100ms; }
/* O terrário: só opacidade e leve subida; o percurso do scroll fica em .s4-travel */
.js .s4-intro {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out);
}
.s4.is-bg-in .s4-backdrop,
.s4.is-text-in .s4-title,
.s4.is-text-in .s4-copy,
.s4.is-ui-in .s4-steps,
.s4.is-ui-in .s4-counter,
.s4.is-ui-in .s4-cta,
.s4.is-ui-in .s4-hint,
.s4.is-in .s4-intro { opacity: 1; transform: none; }
.s4.is-ui-in.is-scrolled .s4-hint { opacity: 0; }

/* =========================================================
   ESPAÇOS (seção 5)
   Sem terrário próprio: o da seção Natureza pousa em .s5-spot.
   ========================================================= */

.s5 {
  --s5-green: #2b3d26;
  position: relative;
  z-index: 0;                       /* abaixo da seção Natureza: o terrário passa por cima */
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background: #ede3d2;
}

.s5-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Caixa com a proporção de "fundo seção 5.png" cobrindo a seção (cover);
   o ponto de pouso é posicionado nas coordenadas da própria imagem. */
.s5-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 100svh * 1.7757);
  aspect-ratio: 1671 / 941;
  transform: translate(-50%, -50%);
  background: url("../assets/web/fundo-espacos.webp") center / 100% 100% no-repeat;
}
.s5-spot {
  position: absolute;
  left: var(--spot-x, 64%);          /* centro do tampo da mesa */
  top: var(--spot-y, 76.5%);         /* base do terrário sobre o tampo */
  width: var(--spot-w, 22%);         /* largura visível do terrário pousado */
  height: 0;
  translate: -50% 0;
}

.s5-content {
  position: absolute;
  z-index: 1;
  left: 6.3vw;
  top: 17%;
  max-width: min(44vw, 640px);
  color: var(--s5-green);
}
.s5-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .34em; color: #4a4a3e; }
.s5-eyebrow .rule { width: 64px; opacity: .45; }
.s5-title {
  margin-top: clamp(22px, 3.2svh, 40px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 3.85vw, 78px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.s5-lead {
  margin-top: clamp(22px, 4svh, 44px);
  max-width: 25em;
  font-size: clamp(16px, 1.12vw, 21px);
  font-weight: 300;
  line-height: 1.45;
  color: #3d3d33;
}
.s5-cta { margin-top: clamp(26px, 6svh, 64px); background: #26351f; }
.s5-spaces {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(26px, 2.6vw, 44px);
  margin: clamp(40px, 11svh, 116px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 300;
  color: #6d695c;
}
.s5-spaces li { display: flex; align-items: center; gap: 12px; }
.s5-spaces li::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a9a393;
}
.s5-spaces li.is-active { color: var(--s5-green); font-weight: 400; }
.s5-spaces li.is-active::before { background: var(--s5-green); }

/* Entrada: só o texto; o fundo fica estável e o terrário chega pelo scroll */
.js .s5-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.s5.is-in .s5-reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */

/* Natureza em paisagem mais estreita (ex.: 1024 × 768): título e terrário menores */
@media (max-aspect-ratio: 3/2) and (orientation: landscape), (max-width: 1100px) and (orientation: landscape) {
  .s4-title { font-size: min(14.5vw, 22svh); translate: -44% 0; }
  .s4-product { top: 50%; width: min(34%, 64svh); }
}

/* Sem espaço à direita do terrário do fundo, a frase lateral sai */
@media (max-width: 1400px) {
  .hero-side { display: none; }
}

/* Tablet e celular: a hero continua ocupando a primeira tela inteira, com o
   header por cima. Texto em cima; o cenário preenche todo o espaço restante
   e cresce junto com a tela (até um limite, para o terrário não ficar enorme).
   Se o texto precisar de mais espaço, a seção cresce. */
@media (max-width: 1100px) {
  :root { --hdr-h: 60px; }

  .hero {
    height: auto;
    min-height: var(--vh);
    display: flex;
    flex-direction: column;
    background: var(--ivory-2);
  }
  .site-header { padding: 18px 20px 0 16px; }
  .hero-content {
    order: 2;
    flex: 1 0 auto;
    position: relative;
    left: auto;
    top: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: calc(var(--hdr-h) + 30px) 20px 30px;
  }
  .hero-scene {
    order: 3;
    position: relative;
    inset: auto;
    --scene-min: clamp(360px, 62vw, 560px);
    flex: 1000 0 var(--scene-min);
    min-height: var(--scene-min);
    max-height: max(var(--scene-min), 92vw);
    --bowl-c: 37cqw;
    --img-h: 100cqh;
  }
  .hero-scene::before { background-image: url("../assets/web/fundo-hero.webp"); background-size: auto var(--img-h); background-position: var(--bg-x) 50%; }
  /* a borda superior da imagem se funde ao fundo, sem linha de corte */
  .hero-scene::before {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
            mask-image: linear-gradient(180deg, transparent 0, #000 16%);
  }

  .brand-mark { font-size: 42px; }
  .brand-name { font-size: 22px; }
  .brand-sub  { font-size: 7.5px; }

  .site-nav { gap: 16px; font-size: 13px; color: var(--green-900); }
  /* área de toque de 44px sem mudar o desenho do link */
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; text-shadow: none; }
  .site-nav a::after { bottom: 10px; }
  .nav-leaf { width: 34px; height: 34px; border-color: rgba(24, 35, 26, .5); }

  .hero-title { font-size: clamp(40px, 10.5vw, 72px); }
  .hero-lead  { font-size: clamp(18px, 4.6vw, 24px); max-width: 30ch; }

  /* À direita do terrário do fundo: borda + meia largura de cada vaso + respiro */
  .hanger--1 { left: calc(var(--bowl-x) + 47.6cqh + 26px); top: -6%; height: 58%; }
  .hanger--2 { left: calc(var(--bowl-x) + 71.5cqh + 52px); top: 0;   height: 70%; }

  .hero-side { display: none; }

  .collection-head { padding: 22px 20px; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "vert mini"
      "aber fech";
  }
  .card--vertical, .card--mini { aspect-ratio: 4 / 5; }
  .card--aberto, .card--fechado { aspect-ratio: 4 / 3; }
}

@media (max-width: 860px) {
  /* Nossa essência: foto em cima, conteúdo embaixo */
  .essence {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 16px 64px;
  }
  .essence-media {
    min-height: clamp(420px, 118vw, 720px);
    border-radius: 42vw 46vw 0 0 / 30vw 34vw 0 0;
  }
  .essence-photo { object-position: 50% 36%; }
  .essence-content { padding: 0 4px; }
  .essence-title { font-size: clamp(38px, 10.2vw, 72px); }
  .essence-list { max-width: none; }
}

/* Espaços em retrato: texto em cima, mesa e terrário embaixo.
   O cenário é deslocado para a mesa ficar à direita do centro. */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .s5 { min-height: 700px; }
  .s5-scene { left: 0; transform: translate(calc(56vw - 64%), -50%); }
  .s5-backdrop::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 64%;
    background: linear-gradient(180deg, rgba(237, 227, 210, .94) 0%, rgba(237, 227, 210, .86) 62%, rgba(237, 227, 210, 0) 100%);
  }
  .s5-spot { --spot-w: min(19%, 64vw); --spot-y: 77%; }
  .s5-content { left: 20px; right: 20px; top: calc(28px + 3svh); max-width: none; }
  .s5-title { font-size: clamp(34px, 9.2vw, 60px); margin-top: 18px; }
  .s5-lead { margin-top: 16px; font-size: 16px; }
  .s5-cta { margin-top: 22px; }
  .s5-spaces { margin-top: 26px; gap: 10px 22px; font-size: 14px; }
}
@media (max-width: 480px) {
  .s5-eyebrow .rule { display: none; }
}
@media (max-width: 380px) {
  .site-nav { font-size: 12px; }
}

/* Natureza no celular e tablet em retrato: título abaixo do texto,
   etapas em linha acima do rodapé da seção */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .s4 { height: 480vh; }
  .s4-copy { left: 20px; top: calc(var(--hdr-h) + 18px); }
  .s4-kicker { font-size: clamp(22px, 6.4vw, 30px); margin-top: 10px; }
  .s4-title { top: calc(var(--hdr-h) + 104px); translate: -50% 0; font-size: min(21vw, 15svh); }
  .s4-product { top: 55%; width: min(84vw, 40svh); }
  .s4-orbit { width: min(58%, 104vw); top: 72%; }
  .s4-orbit-dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }

  .s4-steps {
    top: auto;
    right: auto;
    left: 50%;
    bottom: calc(84px + 2svh);
    translate: -50% 0;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(4px, 1.6vw, 18px);
  }
  .s4-steps::before { display: none; }
  .s4-step { flex-direction: column; gap: 6px; width: clamp(58px, 17vw, 84px); }
  .s4-step-dot { display: none; }
  .s4-step-thumb { width: clamp(40px, 11vw, 48px); }
  .s4-step-label { min-width: 0; max-width: none; font-size: 11px; line-height: 1.2; text-align: center; }

  .s4-hint { display: none; }
  .s4-counter { left: 20px; bottom: 34px; font-size: 14px; }
  .s4-counter .rule { display: none; }
  .s4-cta { right: 20px; bottom: 22px; padding: 0 22px; font-size: 14px; }
}

@media (max-width: 560px) {
  :root { --hdr-h: 106px; }
  .site-header { flex-wrap: wrap; row-gap: 2px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 8px; }
  .nav-leaf { display: none; }

  /* Celular: pouco espaço lateral, os vasos pendem à frente da borda do terrário do fundo */
  .hero-scene { --scene-min: clamp(320px, 88vw, 480px); max-height: max(var(--scene-min), 118vw); --bowl-c: 38cqw; }
  .hanger--1 { left: 64%; height: 52%; }
  .hanger--2 { left: 85%; height: 62%; }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-areas: "vert" "aber" "fech" "mini";
  }
  .card--vertical, .card--mini { aspect-ratio: 4 / 5; }
  .card--aberto  { aspect-ratio: 3 / 2; }
  .card--fechado { aspect-ratio: 5 / 4; }
  .card-title { font-size: 26px; }
}

/* =========================================================
   CARDS DA COLEÇÃO — abrem os detalhes do modelo
   O clique vale para o card todo (JS); o botão do título dá o acesso
   por teclado. Nada cobre o produto: o giro no hover continua igual.
   ========================================================= */
.card[data-modelo] { cursor: pointer; }
.card-open {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-shadow: inherit;
  cursor: pointer;
}
.card-open:focus-visible { outline: 2px solid currentColor; outline-offset: 8px; border-radius: 4px; }
.card:hover .card-arrow { transform: translateX(5px); }
.card-arrow { transition: transform .4s var(--ease-out); }

/* Página travada enquanto uma janela está aberta (sem salto da barra de
   rolagem). O body fixo (top definido pelo JS) também segura o Safari do iPhone. */
html.is-locked { overflow: hidden; scroll-behavior: auto; }
html.is-locked body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  padding-right: var(--scrollbar-gap, 0px);
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--green-900);
}

/* =========================================================
   SELETOR
   ========================================================= */
.quiz {
  --grass: #388e3c;
  background: var(--ivory);
  padding: clamp(64px, 8vw, 128px) var(--pad-x);
}
.quiz-inner { max-width: 920px; margin: 0 auto; }
.quiz-head { text-align: center; }
.quiz-eyebrow { display: inline-flex; align-items: center; gap: 16px; color: var(--green-800); }
.quiz-title {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.015em;
}

/* Altura mínima reservada: trocar de pergunta não empurra a página */
.quiz-body { margin-top: clamp(32px, 4vw, 56px); min-height: 470px; }
.quiz-body.is-in > * { animation: quiz-in 450ms var(--ease-out); }
.quiz-body.is-resizing { overflow: hidden; transition: height 450ms var(--ease-out); }
@keyframes quiz-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}
.quiz-note { text-align: center; }

.quiz-progress { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 400; letter-spacing: .12em; color: var(--green-800); }
.quiz-count { white-space: nowrap; }
.quiz-bar { position: relative; flex: 1; height: 2px; background: rgba(31, 43, 31, .12); border-radius: 2px; overflow: hidden; }
.quiz-bar i { position: absolute; inset: 0; background: var(--grass); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .5s var(--ease-out); }

.quiz-step { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.quiz-question {
  padding: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.15;
  color: var(--green-900);
}
.quiz-question:focus { outline: none; }
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.quiz-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 16px 22px;
  border: 1px solid rgba(31, 43, 31, .2);
  border-radius: 16px;
  background: #fff;
  font-size: 17px;
  font-weight: 400;
  color: var(--green-900);
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.quiz-option:hover { border-color: rgba(56, 142, 60, .6); }
.quiz-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-option-mark {
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(31, 43, 31, .45);
  border-radius: 50%;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.quiz-option:has(.quiz-radio:checked) {
  border-color: var(--grass);
  background: #f3f8f1;
  box-shadow: 0 0 0 1px var(--grass);
}
.quiz-option:has(.quiz-radio:checked) .quiz-option-mark {
  border-color: var(--grass);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--grass);
}
.quiz-option:has(.quiz-radio:focus-visible) { outline: 2px solid var(--green-800); outline-offset: 3px; }

.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.quiz-next { margin-top: 0; }
.quiz-next:disabled { opacity: .4; cursor: not-allowed; }
.quiz-next:disabled:hover { background: var(--green-800); }
.quiz-next:disabled:hover .arrow { transform: none; }
.quiz-back,
.quiz-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--green-800);
  cursor: pointer;
}
.quiz-back .arrow { width: 24px; height: 12px; }
.quiz-back:disabled { opacity: .3; cursor: default; }
.quiz-link { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.quiz-back:focus-visible,
.quiz-link:focus-visible { outline: 2px solid var(--green-800); outline-offset: 3px; border-radius: 4px; }

/* Resultado */
.quiz-result {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.quiz-result-media {
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0));
}
.quiz-result-media img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(40, 30, 15, .18)); }
.quiz-result-eyebrow { color: var(--grass); }
.quiz-result-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 1.02;
}
.quiz-result-title:focus { outline: none; }
.quiz-result-why { margin-top: 18px; font-size: 17px; line-height: 1.55; font-weight: 400; }
.quiz-result-note { margin-top: 14px; font-size: 14px; line-height: 1.55; color: rgba(24, 35, 26, .72); }
.quiz-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.quiz-result-actions .btn { margin-top: 0; }

/* Contato ainda não configurado */
.wa-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px dashed rgba(56, 142, 60, .6);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  color: #2f6b33;
}
.wa-btn { margin-top: 0; }

/* =========================================================
   GALERIA (só com fotos reais)
   ========================================================= */
.gallery { background: #fff; padding: clamp(64px, 8vw, 128px) var(--pad-x); }
.gallery-inner { max-width: 1280px; margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin: clamp(28px, 3vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.gallery-figure { margin: 0; }
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #efe8dc;
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 2px solid var(--green-800); outline-offset: 3px; }
.gallery-caption { margin-top: 10px; font-size: 14px; color: var(--green-800); }

/* =========================================================
   PERGUNTAS FREQUENTES (só itens aprovados)
   ========================================================= */
.faq { background: var(--ivory); padding: clamp(64px, 8vw, 128px) var(--pad-x); }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { margin-top: clamp(24px, 3vw, 44px); border-top: 1px solid rgba(31, 43, 31, .16); }
.faq-item { border-bottom: 1px solid rgba(31, 43, 31, .16); }
.faq-h { margin: 0; font: inherit; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 64px;
  padding: 18px 4px;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.25;
  text-align: left;
  color: var(--green-900);
  cursor: pointer;
}
.faq-q:focus-visible { outline: 2px solid var(--green-800); outline-offset: 2px; border-radius: 4px; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .4s var(--ease-out), visibility 0s .4s;
}
.faq-a.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease-out); }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 4px 22px; max-width: 62ch; font-size: 17px; line-height: 1.6; font-weight: 400; color: #33412f; }

/* =========================================================
   CONTATO E RODAPÉ
   ========================================================= */
.contact {
  background: var(--green-800);
  color: var(--ivory);
  padding: clamp(72px, 9vw, 140px) var(--pad-x);
  text-align: center;
}
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 16px; color: rgba(241, 235, 223, .8); }
.contact-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 4.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.contact-lead { margin-top: 18px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: rgba(241, 235, 223, .85); }
.contact-cta { margin-top: 30px; }
.contact .btn { background: var(--ivory); color: var(--green-900); }
.contact .btn:hover { background: #fff; }
.contact .btn:focus-visible { outline-color: var(--ivory); }
.contact .wa-soon { border-color: rgba(241, 235, 223, .45); color: rgba(241, 235, 223, .9); }

.contact-alt {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  color: rgba(241, 235, 223, .9);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.contact-alt:hover { color: #fff; }
.contact-alt:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 4px; }
.contact-cta[hidden] { display: none; }

/* ---- Encomenda personalizada ------------------------------------- */
.contact-order { margin-top: clamp(30px, 3.4vw, 48px); }
.order {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 22px;
  background: var(--ivory);
  color: var(--green-900);
  text-align: left;
}
.order-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.05;
}
.order-title:focus { outline: none; }
.order-intro { margin-top: 8px; font-size: 16px; line-height: 1.5; font-weight: 400; color: #33412f; }
.order-group { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.order-label {
  display: block;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-800);
}
.order-optional { letter-spacing: .06em; text-transform: none; color: rgba(24, 35, 26, .68); }
.order-hint { margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(24, 35, 26, .72); }
.order-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.order-chip { position: relative; }
.order-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.order-chip label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(31, 43, 31, .24);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}
.order-chip label:hover { border-color: rgba(56, 142, 60, .7); }
.order-chip input:checked + label { border-color: var(--green-800); background: var(--green-800); color: var(--cream-text); }
.order-chip input:focus-visible + label { outline: 2px solid var(--green-800); outline-offset: 3px; }
.order-group.is-invalid .order-chip label { border-color: #a4452a; }
.order-error { margin-top: 8px; font-size: 14px; font-weight: 400; color: #9a3d22; }
.order-row { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 0 20px; }
.order-field { margin-top: 22px; min-width: 0; }
.order-input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(31, 43, 31, .28);
  border-radius: 12px;
  background: #fff;
  color: var(--green-900);
  font: inherit;
  font-size: 16px; /* 16px evita o zoom automático do Safari no foco */
  font-weight: 400;
}
.order-input::placeholder { color: rgba(24, 35, 26, .5); }
.order-input:focus-visible { outline: 2px solid var(--green-800); outline-offset: 1px; border-color: var(--green-800); }
.order-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.order-submit {
  margin-top: 0;
  height: auto;
  min-height: clamp(48px, 3.35vw, 58px);
  padding-block: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.25;
  text-align: left;
}
.contact .order-submit { background: var(--green-800); color: var(--cream-text); }
.contact .order-submit:hover { background: var(--green-700); }
.contact .order-submit:focus-visible { outline-color: var(--green-800); }
.order-submit:disabled { opacity: .45; cursor: not-allowed; }
.order-submit:disabled:hover { background: var(--green-800); }
.order-submit:disabled .arrow { transform: none; }
.contact .order .wa-soon { border-color: rgba(56, 142, 60, .6); color: #2f6b33; }
.order-note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: rgba(24, 35, 26, .75); }

/* ---- Atendimento (compacto) -------------------------------------- */
.contact-info { margin-top: clamp(28px, 3vw, 44px); }
.contact-info[hidden] { display: none; }
.contact-info-title { color: rgba(241, 235, 223, .8); }
.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin: 14px 0 0;
}
.contact-info-item { min-width: 0; }
.contact-info-item dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(241, 235, 223, .7); }
.contact-info-item dd { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--ivory); }
.contact-info-link { color: var(--ivory); text-underline-offset: 4px; }
.contact-info-link:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 3px; }

/* ---- Depoimentos (só reais e aprovados) --------------------------- */
.reviews { background: #fff; padding: clamp(64px, 8vw, 128px) var(--pad-x); }
.reviews-inner { max-width: 1180px; margin: 0 auto; }
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: clamp(28px, 3vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.review-figure { margin: 0; height: 100%; padding: 26px 26px 22px; border-radius: 18px; background: var(--ivory); }
.review-text { margin: 0; }
.review-text p { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.4; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; font-weight: 400; letter-spacing: .06em; color: var(--green-800); }
.review-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---- Pular para o conteúdo (visível só no foco) -------------------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green-800);
  color: var(--cream-text);
  font-size: 15px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; outline: 2px solid var(--ivory); outline-offset: 2px; }

.site-footer { background: var(--ivory); padding: 40px var(--pad-x) calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-brand .brand-mark { font-size: 40px; }
.footer-brand .brand-name { font-size: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-nav a:focus-visible { outline: 2px solid var(--green-800); outline-offset: 3px; }
.footer-copy { width: 100%; font-size: 12.5px; letter-spacing: .08em; color: rgba(24, 35, 26, .65); }

/* =========================================================
   JANELAS: detalhes do modelo e foto ampliada
   ========================================================= */
.modal,
.lightbox {
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--green-900);
  overflow: visible;
}
.modal::backdrop,
.lightbox::backdrop { background: rgba(16, 24, 16, .58); }

.modal { width: min(980px, 100vw - 32px); }
.modal-box {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 22px;
  background: var(--ivory);
  box-shadow: 0 30px 80px rgba(10, 16, 10, .35);
}
.modal[open] .modal-box,
.lightbox[open] .lightbox-box { animation: modal-in 380ms var(--ease-out); }
@keyframes modal-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 12px 12px -58px auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--green-900);
  box-shadow: 0 2px 10px rgba(20, 30, 20, .12);
  cursor: pointer;
}
.modal-close:hover { background: #fff; }
.modal-close:focus-visible { outline: 2px solid var(--green-800); outline-offset: 2px; }

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 3.4vw, 52px);
}
.modal-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 18px;
  background: radial-gradient(closest-side, #fff 30%, #f6f1e7);
}
.modal-img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(40, 30, 15, .16)); }
.modal-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.modal-thumb { width: 64px; height: 64px; padding: 6px; border: 1px solid rgba(31, 43, 31, .2); border-radius: 12px; background: #fff; cursor: pointer; }
.modal-thumb[aria-pressed="true"] { border-color: #388e3c; box-shadow: 0 0 0 1px #388e3c; }
.modal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.modal-info { align-self: center; }
.modal-eyebrow { color: #388e3c; }
.modal-title {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.02;
}
.modal-desc { margin-top: 16px; font-size: 17px; line-height: 1.55; font-weight: 400; }
.modal-facts { margin: 22px 0 0; }
.modal-fact { padding: 14px 0; border-top: 1px solid rgba(31, 43, 31, .14); }
.modal-fact dt { font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: rgba(24, 35, 26, .7); }
.modal-fact dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; }
.modal-fact dd.is-pending { color: rgba(24, 35, 26, .78); font-style: italic; }
.modal-cta { margin-top: 20px; }

.lightbox { width: min(1100px, 100vw - 24px); }
.lightbox-box {
  position: relative;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  border-radius: 18px;
  background: #111811;
  color: var(--ivory);
}
.lightbox-close { margin-bottom: -58px; }
.lightbox-figure { margin: 0; padding: 16px 16px 0; }
.lightbox-img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 10px; }
.lightbox-caption { margin-top: 10px; font-size: 14px; text-align: center; color: rgba(241, 235, 223, .85); }
.lightbox-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 16px 16px; }
.lightbox-count { min-width: 5em; text-align: center; font-size: 14px; }
.lightbox-nav {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(241, 235, 223, .4);
  border-radius: 50%;
  background: none;
  color: var(--ivory);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }

/* =========================================================
   WHATSAPP FLUTUANTE (só com número configurado)
   ========================================================= */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--ivory);
  box-shadow: 0 8px 24px rgba(16, 24, 16, .28);
  transition: transform .3s var(--ease-out), background-color .3s ease;
}
.wa-float[hidden] { display: none; }
.wa-float:hover { background: #388e3c; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--green-800); outline-offset: 3px; }
body.has-dialog .wa-float { display: none; }
body.wa-float-off .wa-float { opacity: 0; visibility: hidden; transform: translateY(8px); }
.wa-float { transition: transform .3s var(--ease-out), background-color .3s ease, opacity .3s ease, visibility .3s; }

@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .quiz-body { min-height: 560px; }
  .quiz-options { grid-template-columns: 1fr; gap: 10px; }
  .quiz-option { min-height: 58px; padding: 14px 18px; font-size: 16px; }
  .quiz-result { grid-template-columns: 1fr; text-align: left; }
  .quiz-result-media { width: min(210px, 56vw); margin: 0 auto; }
  .quiz-result-why { font-size: 16px; }
  .modal { width: calc(100vw - 20px); }
  .modal-box { max-height: calc(100dvh - 20px); border-radius: 18px; }
  .modal-grid { grid-template-columns: 1fr; padding: 20px 20px 26px; gap: 18px; }
  .modal-photo { width: min(100%, 360px); margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .order-row { grid-template-columns: 1fr; }
  .order-chip label { padding: 8px 15px; }
  .order-submit { width: 100%; justify-content: space-between; padding-inline: 24px; }
  .contact-info-list { justify-content: flex-start; text-align: left; flex-direction: column; gap: 12px; }
  .contact-info { text-align: left; }
}

/* =========================================================
   MOVIMENTO REDUZIDO: tudo nas posições finais, sem loops
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .js .slide-in,
  .js .hero-eyebrow,
  .js .hero-foot,
  .js .hero-side,
  .js .site-header,
  .js .hanger-drop {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .js .collection-title,
  .js .collection-note,
  .js .card-bg,
  .js .card-title,
  .js .product-enter,
  .js .product-shadow,
  .js .essence-media,
  .js .reveal-right {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .js .product { pointer-events: auto; }
  .card.is-floating .product-float,
  .card.is-floating .product-shadow,
  .product-spin.is-spinning { animation: none; }
  .essence-photo { transition: none; }
  .s4-float,
  .s4-orbit-dot,
  .s4-mouse::after { animation: none; }
  .js .s4-backdrop,
  .js .s4-copy,
  .js .s4-steps,
  .js .s4-counter,
  .js .s4-cta,
  .js .s4-hint,
  .js .s4-intro,
  .js .s4-title,
  .js .s5-reveal { transition: none; opacity: 1; transform: none; }
  /* Composição estável: a seção Natureza tem uma tela só e o terrário
     fica no centro, sem percurso até a seção seguinte. */
  .s4 { height: auto; }
  .s4-frame { position: relative; }
  .s4-hint { display: none; }
  .essence-media:hover .essence-photo { transform: none; }
  .quiz-body.is-in > *,
  .modal[open] .modal-box,
  .lightbox[open] .lightbox-box { animation: none; }
  .quiz-bar i,
  .faq-a,
  .faq-a.is-open,
  .faq-icon::before,
  .faq-icon::after,
  .card-arrow,
  .gallery-item img { transition: none; }
}
