/* ============================================================
   Retrato de Luz · 3DCORANDO
   Verde oliva + bege — minimalista, elegante, acolhedor
   ============================================================ */

:root {
  /* Cores da marca (extraídas da logo) */
  --verde: #5f7a44;
  --verde-escuro: #42562f;
  --verde-profundo: #2e3b22;
  --verde-suave: #8a9a6b;
  --bege: #f5f0e4;
  --bege-claro: #faf7ef;
  --areia: #e7dcc2;
  --dourado: #b9a577;
  --tinta: #2b3123;
  --tinta-suave: #6b6f5e;
  --branco: #fffdf8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --container: 1120px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 34px rgba(46, 59, 34, 0.12);
  --shadow-soft: 0 6px 20px rgba(46, 59, 34, 0.08);
  --ease-reveal: cubic-bezier(.25,.46,.45,.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Remove o destaque cinza do toque no celular e o contorno de foco
   após cliques/toques — o contorno permanece só na navegação por teclado */
a, button, label, input, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
label:focus:not(:focus-visible) {
  outline: none;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--tinta);
  background: var(--bege-claro);
  line-height: 1.7;
  overflow-x: hidden;
}

/* height:auto é obrigatório junto com os atributos width/height do HTML:
   sem ele o navegador usa a altura do atributo (ex.: 5712px) e estica a
   imagem. Com ele, os atributos servem só para reservar o espaço certo
   antes de carregar — que é o motivo de existirem. Regras mais
   específicas (hero, galeria, logos) continuam mandando na altura. */
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Tipografia ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--tinta); }
h1 { font-size: clamp(3rem, 9vw, 6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
h2 em, h1 em { font-style: italic; color: var(--verde); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 14px;
}

.section__lead {
  color: var(--tinta-suave);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 18px auto 0;
}

.section__lead a { color: var(--verde); font-weight: 500; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-reveal), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--verde);
  color: var(--branco);
  box-shadow: 0 8px 24px rgba(95, 122, 68, 0.35);
}
.btn--solid:hover { background: var(--verde-escuro); }

.btn--outline {
  background: transparent;
  color: var(--tinta);
  border-color: rgba(43, 49, 35, 0.35);
}
.btn--outline:hover { background: rgba(43, 49, 35, 0.05); }

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--xl { width: 100%; padding: 18px 36px; font-size: 1.08rem; }
.btn--sm { padding: 9px 22px; font-size: 0.88rem; }

/* ===== Header (vidro transparente) ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(rgba(255, 253, 248, 0.10), rgba(255, 253, 248, 0.02));
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
  transition: background 0.5s ease, border-color 0.5s ease;
}

/* Depois do hero, o vidro ganha um tom claro para manter a leitura */
.header.is-scrolled {
  background: rgba(250, 247, 239, 0.78);
  border-bottom-color: rgba(43, 49, 35, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.header__logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
  transition: filter 0.5s ease;
}
.header.is-scrolled .header__logo img { filter: none; }

.header__nav { display: flex; gap: 34px; }

.header__nav a {
  color: var(--branco);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  position: relative;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}
.header.is-scrolled .header__nav a {
  color: var(--tinta);
  text-shadow: none;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease-reveal);
}
.header__nav a:hover::after { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenburns 20s linear both;
}

@keyframes kenburns {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}

.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 26, 18, 0.45) 0%, rgba(30, 26, 18, 0.55) 55%, rgba(250, 247, 239, 0.97) 100%);
}

.hero__content { position: relative; z-index: 2; padding-top: 40px; }

.hero__kicker {
  color: var(--areia);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 400;
}

.hero__title {
  color: var(--branco);
  margin: 10px 0 18px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

/* Efeito sutil de luz na palavra "Luz" */
.hero__title .luz {
  position: relative;
  color: #f6ecce;
  text-shadow:
    0 0 16px rgba(255, 238, 190, 0.55),
    0 0 44px rgba(255, 222, 150, 0.35);
  animation: luzRespira 4.5s ease-in-out 3s infinite;
}

@keyframes luzRespira {
  0%, 100% {
    text-shadow:
      0 0 16px rgba(255, 238, 190, 0.55),
      0 0 44px rgba(255, 222, 150, 0.35);
  }
  50% {
    text-shadow:
      0 0 30px rgba(255, 245, 208, 0.95),
      0 0 85px rgba(255, 228, 165, 0.6);
  }
}

/* Pó de fada: canvas de partículas que envolve a palavra (criado via JS) */
.luz-dust {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease;
}
.luz-dust.is-on { opacity: 1; }

.hero__subtitle {
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 300;
}
.hero__subtitle em { font-family: var(--font-display); font-size: 1.15em; color: var(--areia); }

.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn--outline { color: var(--branco); border-color: rgba(255, 253, 248, 0.6); }
.hero .btn--outline:hover { background: rgba(255, 253, 248, 0.12); }

/* Animações do hero (conforme especificação) */
.anim-title {
  opacity: 0;
  filter: blur(20px);
  animation: titleIn 2s var(--ease-reveal) 0.8s forwards;
}
@keyframes titleIn {
  to { opacity: 1; filter: blur(0); }
}

.anim-sub {
  opacity: 0;
  transform: translateY(20px);
  animation: subIn 1.5s var(--ease-reveal) 0.4s forwards;
}
.anim-sub--2 { animation-delay: 1.2s; }
.anim-sub--3 { animation-delay: 1.7s; }
@keyframes subIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Indicador "Avance": fade com delay 3s + bob infinito */
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--verde-escuro);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: scrollFade 1.2s ease-out 3s forwards;
}
.hero__scroll svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes scrollFade { to { opacity: 1; } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Faixa rotativa (ticker) ===== */
.ticker {
  background: var(--verde-profundo);
  color: var(--areia);
  overflow: hidden;
  padding: 14px 0;
}

.ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}
.ticker__item::after { content: "✦"; color: var(--verde-suave); }

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Seções ===== */
.section { padding: 110px 0; }
.section--tinted { background: var(--bege); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 64px; }

/* Reveal principal: opacity 0→1, y 30→0, blur 8→0 · 1s */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 1s var(--ease-reveal), transform 1s var(--ease-reveal), filter 1s var(--ease-reveal);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Fade de seção: opacity 0→1 · 1.2s easeOut */
.section {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.section.is-visible { opacity: 1; }

/* Listas / passos: opacity 0, x −40→0 · 0.8s (stagger via JS) */
.slide-in {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-reveal), transform 0.8s var(--ease-reveal);
}
.slide-in.is-visible { opacity: 1; transform: translateX(0); }

/* ===== A magia (anoitecer / amanhecer) ===== */
.magic {
  position: relative;
  overflow: hidden;
  transition: background 1.6s ease, opacity 1.2s ease-out;
}

.magic .container { position: relative; z-index: 1; }

/* Céu estrelado que surge quando anoitece */
.magic__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.2s ease;
}
.magic.is-lit .magic__stars { opacity: 1; }

.estrela {
  position: absolute;
  border-radius: 50%;
  background: #fff6dd;
  animation: estrelaPisca var(--dur, 3.5s) ease-in-out var(--delay, 0s) infinite;
  /* Só cintilam quando o céu está aceso: paradas, não custam nada ao celular */
  animation-play-state: paused;
}
.magic.is-lit .estrela { animation-play-state: running; }

.estrela--brilhante {
  background: #fffbee;
  box-shadow: 0 0 6px 1px rgba(255, 244, 210, 0.8);
}

@keyframes estrelaPisca {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.95; }
}

/* Estrela cadente: risca o céu e some
   A cabeça fica na PONTA DIREITA (frente do movimento);
   a cauda estica para trás enquanto ela voa. */
.estrela-cadente {
  position: absolute;
  width: 130px;
  height: 2px;
  pointer-events: none;
  transform-origin: left center;
  opacity: 0;
  animation: cadente var(--vida, 1.3s) cubic-bezier(.2,.6,.4,1) forwards;
}

/* Cauda: presa à cabeça, esticando e recolhendo durante o voo */
.estrela-cadente::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(270deg, rgba(255, 250, 230, 0.95), rgba(255, 250, 230, 0));
  filter: drop-shadow(0 0 4px rgba(255, 244, 210, 0.55));
  transform-origin: right center;
  animation: caudaVida var(--vida, 1.3s) cubic-bezier(.2,.6,.4,1) forwards;
}

/* Cabeça brilhante na frente, cintilando durante o voo */
.estrela-cadente::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  margin-top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fffbee;
  box-shadow: 0 0 9px 2px rgba(255, 248, 220, 0.95);
  animation: cabecaCintila 0.18s ease-in-out infinite alternate;
}

/* Voo: acelera, cruza o céu e se apaga no fim */
@keyframes cadente {
  0%   { opacity: 0; transform: rotate(var(--ang, 30deg)) translateX(0); }
  8%   { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--ang, 30deg)) translateX(var(--dist, 240px)); }
}

/* A cauda nasce curta, estica no meio do voo e recolhe no fim */
@keyframes caudaVida {
  0%   { transform: scaleX(0.1); opacity: 0.4; }
  30%  { transform: scaleX(1.1); opacity: 1; }
  70%  { transform: scaleX(0.9); opacity: 0.95; }
  100% { transform: scaleX(0.25); opacity: 0; }
}

/* Tremeluzir rápido da cabeça, como fogo de meteoro */
@keyframes cabecaCintila {
  from { box-shadow: 0 0 7px 1.5px rgba(255, 248, 220, 0.8); transform: scale(0.9); }
  to   { box-shadow: 0 0 12px 3px rgba(255, 250, 228, 1); transform: scale(1.12); }
}

/* Aceso: a seção "anoitece" e vira um ambiente noturno acolhedor */
.magic.is-lit { background: #14170e; }

.magic h2,
.magic .section__lead {
  transition: color 1.6s ease;
}
.magic.is-lit h2 { color: var(--bege); }
.magic.is-lit .section__lead { color: rgba(231, 220, 194, 0.72); }

.magic__stage {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* Na tela de computador a foto fica menor, para caber inteira */
@media (min-width: 981px) {
  .magic__stage { max-width: 420px; }
}

.magic__scene { position: relative; }

/* Aura de luz quente que envolve o quadro quando aceso */
.magic__scene::before {
  content: "";
  position: absolute;
  inset: -70px -90px;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 196, 110, 0.32), transparent 62%);
  filter: blur(14px);
  opacity: 1;
  transition: opacity 1.6s ease;
  pointer-events: none;
}
.magic.is-off .magic__scene::before { opacity: 0; }

.magic__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 10px 90px rgba(255, 178, 90, 0.22);
  transition: box-shadow 1.6s ease;
}
.magic.is-off .magic__frame {
  box-shadow: 0 24px 70px rgba(46, 59, 34, 0.22);
}

.magic__img { width: 100%; }

.magic__img--on {
  position: absolute;
  inset: 0;
  transition: opacity 1.6s ease;
}

.magic.is-off .magic__img--on { opacity: 0; }

/* ===== Interruptor (horizontal) ===== */
.switch {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.switch__plate {
  position: relative;
  display: block;
  width: 176px;
  height: 54px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 253, 248, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background 0.8s ease, border-color 0.8s ease;
}
.switch:hover .switch__plate { background: rgba(255, 253, 248, 0.24); }

/* Convite sutil ao clique (some após o primeiro toque) */
.switch.is-idle .switch__plate {
  animation: convite 2.8s ease-in-out 1.2s infinite;
}
@keyframes convite {
  0%, 100% {
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 7px rgba(255, 214, 130, 0.2),
      0 0 20px rgba(255, 214, 130, 0.35);
  }
}

/* Textos dentro do interruptor, no lado oposto ao círculo */
.switch__text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Apagado (estado inicial): texto "Acender a luz" à direita do círculo */
.switch__text--acender {
  right: 16px;
  color: rgba(58, 54, 44, 0.78);
  text-shadow: 0 1px 4px rgba(255, 253, 248, 0.4);
  opacity: 1;
}

/* Aceso: texto "Apagar a luz" à esquerda, círculo vai para a direita */
.switch__text--apagar {
  left: 16px;
  color: rgba(255, 253, 248, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  opacity: 0;
}

.magic.is-lit .switch__text--acender { opacity: 0; }
.magic.is-lit .switch__text--apagar { opacity: 1; }

/* Círculo com a lâmpada: começa apagado, à esquerda */
.switch__knob {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fffdf8, #ece2c8);
  color: #9a9d90;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateX(0);
  transition:
    transform 0.7s var(--ease-reveal),
    color 0.7s ease,
    box-shadow 0.7s ease;
}

/* Aceso: desliza para a direita e a lâmpada acende */
.switch__knob svg { width: 22px; height: 22px; }

.magic.is-lit .switch__knob {
  transform: translateX(122px);
  color: #d9a94e;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(255, 214, 130, 0.85);
}

/* ===== Especificações ===== */
.magic__specs {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.spec {
  background: var(--branco);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 26px 18px;
  box-shadow: var(--shadow-soft);
  transition: background 1.6s ease, border-color 1.6s ease, box-shadow 1.6s ease;
}

.spec__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--verde-escuro);
  transition: color 1.6s ease;
}

.spec__label {
  font-size: 0.88rem;
  color: var(--tinta-suave);
  transition: color 1.6s ease;
}

/* Especificações no modo noite */
.magic.is-lit .spec {
  background: rgba(255, 253, 248, 0.05);
  border-color: rgba(255, 253, 248, 0.12);
  box-shadow: none;
}
.magic.is-lit .spec__num { color: var(--areia); }
.magic.is-lit .spec__label { color: rgba(231, 220, 194, 0.6); }

/* ===== Como funciona ===== */
.steps__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.steps__list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 30px; }

.step { display: flex; gap: 22px; align-items: flex-start; }

.step__num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--verde);
  color: var(--verde);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.step p { color: var(--tinta-suave); font-size: 0.98rem; margin-top: 4px; }

.steps__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps__photo figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--tinta-suave);
  margin-top: 14px;
}

/* ===== Compra ===== */
.shop__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.shop__gallery { position: sticky; top: 100px; }

.gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4;
  background: var(--areia);
}

.gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery__thumbs button {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--areia);
  aspect-ratio: 1;
  transition: border-color 0.25s, transform 0.25s;
}
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button.is-active { border-color: var(--verde); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.shop__product-name { font-size: 1.9rem; }
.shop__product-name span { color: var(--tinta-suave); font-size: 0.6em; font-style: italic; }

.shop__price-line { margin: 8px 0 26px; display: flex; align-items: baseline; gap: 10px; }

.shop__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--verde-escuro);
}

.shop__price-note { color: var(--tinta-suave); font-size: 0.9rem; }

/* Opções */
.opt { border: none; margin-bottom: 26px; }

.opt legend {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--tinta);
}
.opt legend small { color: var(--tinta-suave); font-weight: 300; }

.opt__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opt__row--2 { grid-template-columns: repeat(2, 1fr); }

.opt__card, .opt__pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  background: var(--branco);
  border: 1.5px solid var(--areia);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.opt__card:hover, .opt__pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.opt__card input, .opt__pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt__card img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
  background: var(--bege);
}

.opt__name { font-weight: 500; font-size: 0.92rem; }
.opt__hint { font-size: 0.78rem; color: var(--tinta-suave); line-height: 1.4; }
.opt__hint .save {
  display: block;
  color: var(--verde);
  font-weight: 500;
}

.opt__card:has(input:checked),
.opt__pill:has(input:checked) {
  border-color: var(--verde);
  box-shadow: 0 0 0 1px var(--verde), var(--shadow-soft);
}

.opt__card:has(input:checked)::after,
.opt__pill:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: -9px; right: -9px;
  width: 22px; height: 22px;
  background: var(--verde);
  color: var(--branco);
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upload */
.upload { display: flex; flex-direction: column; gap: 10px; }

.upload__slot {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--branco);
  border: 1.5px dashed var(--verde-suave);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.upload__slot:hover { border-color: var(--verde); background: var(--bege-claro); }
.upload__slot.has-file { border-style: solid; border-color: var(--verde); }

.upload__slot input { display: none; }

.upload__preview {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--bege);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  overflow: hidden;
  flex: 0 0 auto;
}
.upload__preview img { width: 100%; height: 100%; object-fit: cover; }

.upload__label { flex: 1; font-size: 0.92rem; }
.upload__label small { display: block; color: var(--tinta-suave); }

.upload__tip { font-size: 0.85rem; color: var(--tinta-suave); margin-top: 10px; }

/* Cupom */
.coupon { margin-bottom: 26px; }

.coupon label {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 10px;
}

.coupon__row { display: flex; gap: 10px; position: relative; }

/* Brilhinhos sutis da celebração do cupom */
.sparkle {
  position: absolute;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  animation: sparklePop 1.1s ease-out forwards;
}

@keyframes sparklePop {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4) rotate(0deg); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(50deg); }
}

.coupon__row input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1.5px solid var(--areia);
  border-radius: 999px;
  background: var(--branco);
  color: var(--tinta);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.coupon__row input:focus { border-color: var(--verde); }

.coupon__row input.is-celebrating {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(95, 122, 68, 0.18);
  animation: couponPulse 0.6s ease 2;
}
@keyframes couponPulse {
  50% { transform: scale(1.02); }
}

.coupon__msg {
  font-size: 0.9rem;
  color: var(--verde-escuro);
  font-weight: 500;
  margin-top: 10px;
  min-height: 1.4em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
}
.coupon__msg.is-visible { opacity: 1; transform: translateY(0); }

/* Resumo */
.summary {
  background: var(--branco);
  border: 1.5px solid var(--areia);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 20px;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 5px 0;
  color: var(--tinta-suave);
}

.summary__row--discount { color: var(--verde); font-weight: 500; }

.summary__row--total {
  border-top: 1px solid var(--areia);
  margin-top: 8px;
  padding-top: 12px;
  color: var(--tinta);
  font-weight: 500;
  font-size: 1.15rem;
}
.summary__row--total span:last-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--verde-escuro);
}

.is-hidden { display: none !important; }

.shop__secure {
  text-align: center;
  font-size: 0.82rem;
  color: var(--tinta-suave);
  margin-top: 14px;
}

/* ===== Instagram ===== */
.insta__marquee {
  overflow: hidden;
  padding: 10px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.insta__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: instaMove 60s linear infinite;
}

.insta__marquee:hover .insta__track { animation-play-state: paused; }

@keyframes instaMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.insta__card {
  display: block;
  width: 260px;
  height: 462px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--verde-profundo);
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
  position: relative;
  transition: transform 0.3s var(--ease-reveal), box-shadow 0.3s;
}
.insta__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.insta__card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ícone discreto do Instagram no canto do vídeo */
.insta__card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  opacity: 0.85;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="2" width="20" height="20" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r="0.5" fill="white"/></svg>') no-repeat center / contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

/* ===== Perguntas frequentes ===== */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--branco);
  border: 1.5px solid var(--areia);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq__item.is-open {
  border-color: var(--verde-suave);
  box-shadow: var(--shadow-soft);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--tinta);
  transition: color 0.25s ease;
}

.faq__q:hover { color: var(--verde-escuro); }

/* Ícone +/− desenhado com traços (gira ao abrir) */
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--areia);
  transition: transform 0.45s var(--ease-reveal), border-color 0.3s, background 0.3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.6px;
  background: var(--verde-escuro);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-reveal), background 0.3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item.is-open .faq__icon {
  transform: rotate(135deg);
  background: var(--verde);
  border-color: var(--verde);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: var(--branco); }

/* Resposta: abre com animação de grade (0fr → 1fr) */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-reveal);
}

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__a-inner p {
  padding: 0 24px 22px;
  color: var(--tinta-suave);
  font-size: 0.98rem;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s ease 0.12s, transform 0.5s var(--ease-reveal) 0.12s;
}

.faq__item.is-open .faq__a-inner p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Footer ===== */
.footer {
  background: var(--verde-profundo);
  color: var(--bege);
  padding: 70px 0 40px;
  text-align: center;
}

.footer__logo {
  height: 74px;
  width: auto;
  margin: 0 auto 6px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.25));
}

.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--areia);
  margin-bottom: 26px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-bottom: 30px;
}

.footer__links a {
  color: var(--bege);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
}
.footer__links a:hover { opacity: 1; color: var(--verde-suave); }

.footer__copy { font-size: 0.8rem; opacity: 0.55; }

/* ===== Modal do pedido ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 34, 22, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: modalFade 0.4s ease both;
}

.modal__card {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--bege-claro);
  border-radius: 24px;
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: modalSobe 0.5s var(--ease-reveal) both;
}

@keyframes modalFade { from { opacity: 0; } }
@keyframes modalSobe {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
}

.modal__fechar {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--tinta-suave);
  cursor: pointer;
  transition: color 0.2s;
}
.modal__fechar:hover { color: var(--tinta); }

.modal__emoji { font-size: 2rem; display: block; margin-bottom: 10px; }

.modal__card h3 { font-size: 1.6rem; margin-bottom: 8px; }

.modal__texto { color: var(--tinta-suave); font-size: 0.95rem; }

.modal__codigo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto;
  background: var(--branco);
  border: 1.5px dashed var(--verde-suave);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  max-width: 300px;
}

.modal__codigo span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--verde-escuro);
}

.modal__copiar {
  background: var(--creme-escuro, var(--areia));
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  cursor: pointer;
  color: var(--tinta);
  transition: background 0.2s, transform 0.2s;
}
.modal__copiar:hover { background: var(--areia); transform: translateY(-1px); }

.modal__instrucao { font-size: 0.95rem; color: var(--tinta); margin-bottom: 8px; }

.modal__dica {
  font-size: 0.85rem;
  color: var(--tinta-suave);
  margin-bottom: 22px;
}

/* ===== Acessibilidade: reduz movimento ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .steps__inner { grid-template-columns: 1fr; gap: 44px; }
  .steps__photo { max-width: 440px; margin: 0 auto; }
  .shop__grid { grid-template-columns: 1fr; gap: 40px; }
  .shop__gallery { position: static; max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 700px) {
  .header__nav { display: none; }
  .section { padding: 72px 0; }
  .opt__row { grid-template-columns: 1fr; }
  .opt__row--2 { grid-template-columns: 1fr; }
  .opt__card { flex-direction: row; text-align: left; gap: 12px; }
  .opt__card img { margin-bottom: 0; }
  .opt__card .opt__name { flex: 1; }
  .insta__card { width: 225px; height: 400px; }

  /* Botão do hero proporcional ao texto e mais respirado (só no celular) */
  .hero__actions { margin-top: 48px; }
  .hero__actions .btn {
    width: auto;
    max-width: none;
    padding: 12px 26px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   VERSÃO 2 (v2.html) — a seção de compra é a hero
   ============================================================ */

/* O header nasce no modo claro: não há foto escura embaixo dele */
.page-v2 .header {
  background: rgba(250, 247, 239, 0.78);
  border-bottom-color: rgba(43, 49, 35, 0.08);
}
.page-v2 .header .header__logo img { filter: none; }
.page-v2 .header .header__nav a { color: var(--tinta); text-shadow: none; }

/* Respiro para a hero de compra ficar abaixo do header fixo */
.shop--hero { padding-top: 148px; }

/* Título do produto no lugar de h2 de seção */
.shop__title {
  font-size: clamp(2.5rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  margin: 6px 0 12px;
}

/* A palavra "personalizado" herda a alma da palavra "Luz":
   verde itálico com halo dourado que respira (versão para fundo claro) */
.shop__title .luz {
  position: relative;
  font-style: italic;
  color: var(--verde);
  text-shadow:
    0 0 14px rgba(185, 165, 119, 0.4),
    0 0 38px rgba(185, 165, 119, 0.24);
  animation: luzRespiraDia 4.5s ease-in-out 1.6s infinite;
}

@keyframes luzRespiraDia {
  0%, 100% {
    text-shadow:
      0 0 14px rgba(185, 165, 119, 0.4),
      0 0 38px rgba(185, 165, 119, 0.24);
  }
  50% {
    text-shadow:
      0 0 24px rgba(197, 173, 110, 0.75),
      0 0 64px rgba(185, 165, 119, 0.5);
  }
}

.shop__lead {
  color: var(--tinta-suave);
  font-size: 1.04rem;
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  .shop--hero { padding-top: 118px; }
}

/* ============================================================
   DESEMPENHO — carregamento e rolagem suaves no celular
   ============================================================ */

/* O carrossel é uma camada própria: o navegador não recalcula
   o resto da página a cada quadro da animação */
.insta__track {
  will-change: transform;
  backface-visibility: hidden;
}
.insta__marquee { contain: layout paint; }

/* Os vídeos entram suavemente quando ficam prontos (o pôster
   aparece antes, então o carrossel nunca fica vazio) */
.insta__card video {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.insta__card video.is-ready { opacity: 1; }

@media (max-width: 900px) {
  /* No celular, o desfoque do cabeçalho fixo é recalculado a cada
     quadro da rolagem e trava a página. Trocamos por um fundo
     translúcido: mesma elegância, custo zero. */
  .header {
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    background: linear-gradient(rgba(30, 26, 18, 0.28), rgba(30, 26, 18, 0.10));
  }
  .header.is-scrolled {
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    background: rgba(250, 247, 239, 0.95);
  }
}
