/* ============================================================
   PAPILLON FLEURS — Made for You
   Redesign premium · Atelier de enxovais · Belo Horizonte
   ============================================================ */

:root {
  --cream:      #FEFDFE;
  --ivory:      #F5F0F6;
  --linen:      #E1D8E2;
  --rose:       #BEACC1;
  --rose-soft:  #EBE2EC;
  --rose-dark:  #764F7B;
  --sage:       #A793AA;
  --sage-soft:  #E9E0EA;
  --gold:       #9D81A0;
  --gold-soft:  #E4D8E5;
  --lavender:      #BEACC1;
  --lavender-soft: #E1D8E2;
  --lavender-dark: #764F7B;
  --ink:        #0E0C0D;
  --ink-soft:   #837286;
  --white:      #FFFFFF;

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

  --shadow-sm: 0 2px 12px rgba(20, 14, 21, .06);
  --shadow-md: 0 10px 36px rgba(20, 14, 21, .10);
  --shadow-lg: 0 24px 60px rgba(20, 14, 21, .16);
  --shadow-rose: 0 18px 44px rgba(118, 79, 123, .28);

  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .26, 1);
  --spring: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  max-width: 100vw; overflow-x: clip;
  font-weight: 300;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--rose-soft); color: var(--ink); }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose-dark); font-weight: 400;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--rose); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: .5rem 0 .9rem; }
.section-title em { font-style: italic; color: var(--rose-dark); }
.section-sub { color: var(--ink-soft); max-width: 560px; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; scroll-margin-top: clamp(84px, 11vw, 122px); }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; padding: 1rem 2.2rem; border-radius: 999px;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-rose { background: var(--rose-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn-rose:hover { transform: translateY(-3px); background: var(--rose); }
.btn-block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.preloader-fly { width: 52px; height: 52px; color: var(--rose-dark); animation: preloaderFly 1.6s ease-in-out infinite; }
.preloader-fly .wing { transform-origin: center; animation: wings .5s ease-in-out infinite alternate; }
@keyframes preloaderFly { 50% { transform: translateY(-12px) rotate(-8deg); } }
.preloader-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; animation: preloaderPulse 1.6s ease-in-out infinite; }
.preloader-tag { font-size: .62rem; letter-spacing: .44em; text-transform: uppercase; color: var(--gold); }
.preloader-logo { width: min(280px, 70vw); height: auto; animation: preloaderPulse 1.6s ease-in-out infinite; }
@keyframes preloaderPulse { 50% { opacity: .55; } }

/* ---------- Barra de progresso de leitura ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150;
  background: linear-gradient(90deg, var(--rose-dark), var(--gold), var(--lavender), var(--sage));
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}
.progress-fly {
  position: fixed; top: -4px; left: 0; z-index: 151; width: 22px; height: 22px;
  color: var(--rose-dark); pointer-events: none;
  transform: translateX(-30px) rotate(12deg);
  filter: drop-shadow(0 2px 4px rgba(118, 79, 123,.35));
}
.progress-fly svg { width: 100%; height: 100%; }
.progress-fly .wing { transform-origin: center; animation: wings .55s ease-in-out infinite alternate; }

/* ---------- Barra de anúncios (marquee) ---------- */
.announce {
  background: var(--ink); color: var(--gold-soft);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  overflow: hidden; padding: .55rem 0; position: relative; z-index: 60;
}
.announce-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 28s linear infinite; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-track span { display: inline-flex; align-items: center; gap: 3.5rem; }
.announce-track i { font-style: normal; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 253, 254, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s, border-color .4s, padding .4s;
}
.header.scrolled { border-color: var(--linen); box-shadow: var(--shadow-sm); }

/* Header estilo maison: logo grande centralizado, navegação abaixo */
.header-inner { display: flex; flex-direction: column; padding: 1rem 0 0; transition: padding .45s var(--ease); }
.header.scrolled .header-inner { padding-top: .5rem; }

.header-top { position: relative; display: flex; align-items: center; justify-content: center; }

.logo { display: flex; align-items: center; gap: .7rem; }
.logo svg { width: 34px; height: 34px; color: var(--rose-dark); transition: transform .6s var(--ease); }
.logo:hover svg { transform: rotate(-12deg) scale(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .04em; }
.logo-tag { font-size: .6rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }

/* Logo em imagem (PNG transparente, recortado na medida da arte) */
.logo-img {
  display: block; height: clamp(76px, 8.5vw, 104px); width: auto;
  transition: height .45s var(--ease), transform .6s var(--ease), filter .4s;
}
.logo:hover .logo-img { transform: scale(1.025); filter: drop-shadow(0 6px 14px rgba(118, 79, 123, .18)); }
.header.scrolled .logo-img { height: 56px; }

.header-actions { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
.burger { position: absolute; left: 0; top: 50%; translate: 0 -50%; }

.nav {
  display: flex; justify-content: center; gap: 1.8rem;
  padding: .7rem 0 .85rem; margin-top: .55rem;
  background:
    repeating-linear-gradient(90deg, var(--rose) 0 6px, transparent 6px 13px)
    top center / 190px 1.5px no-repeat;
  transition: padding .45s var(--ease), margin .45s var(--ease);
}
.header.scrolled .nav { padding: .4rem 0 .6rem; margin-top: .3rem; }

/* ===== Desktop grande: layout horizontal clássico, logo à esquerda em destaque
   (em 861–1079px mantém o layout centralizado, que acomoda melhor o menu) ===== */
@media (min-width: 1080px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; }
  .header.scrolled .header-inner { padding: .6rem 0; }
  .header-top { display: contents; }
  .logo { order: 0; }
  .header-actions { order: 2; position: static; translate: none; }
  .nav {
    order: 1; margin: 0; padding: 0; background: none; gap: 1.7rem; flex-wrap: nowrap;
  }
  .nav a { white-space: nowrap; }
  .header.scrolled .nav { padding: 0; margin: 0; }
  /* Logo novo, maior e mais presente que o original */
  .logo-img {
    height: clamp(84px, 6.6vw, 96px); width: auto;
    filter: drop-shadow(0 3px 10px rgba(118, 79, 123, .10));
  }
  .header.scrolled .logo-img { height: 66px; }
  .logo:hover .logo-img { transform: scale(1.03) translateY(-1px); filter: drop-shadow(0 8px 18px rgba(118, 79, 123, .22)); }
}
.nav a { position: relative; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: .4rem 0; color: var(--ink-soft); transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--rose-dark); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, transform .3s; }
.icon-btn:hover { background: var(--rose-soft); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--rose-dark); color: var(--white);
  font-size: .62rem; font-weight: 500; border-radius: 999px;
  display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 50% { transform: scale(1.5); } }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin: 1.1rem 0 1.4rem; }
.hero-title em { font-style: italic; color: var(--rose-dark); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ''; position: absolute; left: 0; bottom: .06em; width: 100%; height: .12em;
  background: var(--gold-soft); z-index: -1; border-radius: 99px;
  transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease) 1.2s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-sub { color: var(--ink-soft); max-width: 480px; font-size: 1.06rem; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero-trust { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .65rem; font-size: .8rem; letter-spacing: .06em; color: var(--ink-soft); }
.trust-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* Título palavra a palavra (aplicado via JS) */
.hero .hero-title.split { animation: none; opacity: 1; transform: none; }
.hero-title .word {
  display: inline-block; opacity: 0; transform: translateY(.7em) rotate(2.5deg);
  animation: wordRise .7s var(--ease) forwards;
}
@keyframes wordRise { to { opacity: 1; transform: none; } }

/* Entrada do hero */
.hero [data-entrance] { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero [data-entrance="2"] { animation-delay: .15s; }
.hero [data-entrance="3"] { animation-delay: .3s; }
.hero [data-entrance="4"] { animation-delay: .45s; }
.hero [data-entrance="5"] { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Composição visual do hero */
.hero-visual { position: relative; min-height: 480px; opacity: 0; animation: fadeIn 1.2s ease .4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.hero-blob {
  position: absolute; inset: 6% 4%;
  background: linear-gradient(150deg, var(--rose-soft), var(--ivory) 55%, var(--sage-soft));
  border-radius: 58% 42% 56% 44% / 48% 56% 44% 52%;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  from { border-radius: 58% 42% 56% 44% / 48% 56% 44% 52%; }
  to   { border-radius: 44% 56% 42% 58% / 56% 44% 58% 42%; }
}
.hero-photo {
  position: absolute; inset: 12% 12%;
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  background: linear-gradient(160deg, #EDE2EF, #DFD0E1 45%, #D3C2D6);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-2%, 2%); }
}

.hero-card {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  background: var(--white); border-radius: 14px; padding: .8rem 1.1rem;
  box-shadow: var(--shadow-md); font-size: .8rem;
  animation: floaty 5.5s ease-in-out infinite;
}
.hero-card strong { display: block; font-weight: 500; font-size: .85rem; }
.hero-card small { color: var(--ink-soft); }
.hero-card .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.hero-card-1 { top: 8%; left: -4%; }
.hero-card-1 .dot { background: var(--rose-soft); color: var(--rose-dark); }
.hero-card-2 { bottom: 14%; right: -6%; animation-delay: 1.6s; }
.hero-card-2 .dot { background: var(--sage-soft); color: var(--sage); }
.hero-card svg { width: 18px; height: 18px; }
@keyframes floaty { 50% { transform: translateY(-14px); } }

/* Borboletas flutuantes */
.butterfly { position: absolute; color: var(--rose); opacity: .8; pointer-events: none; animation: flutter 9s ease-in-out infinite; }
.butterfly svg { width: 100%; height: 100%; }
.b1 { width: 30px; top: 4%;  right: 12%; animation-delay: 0s; }
.b2 { width: 20px; top: 38%; left: -2%;  color: var(--gold); animation-delay: 2.4s; }
.b3 { width: 24px; bottom: 2%; left: 22%; color: var(--sage); animation-delay: 4.8s; }
@keyframes flutter {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  25%      { transform: translate(14px, -22px) rotate(10deg); }
  50%      { transform: translate(-8px, -34px) rotate(-6deg); }
  75%      { transform: translate(-18px, -12px) rotate(8deg); }
}
.butterfly .wing { transform-origin: center; animation: wings .7s ease-in-out infinite alternate; }
@keyframes wings { from { transform: scaleX(1); } to { transform: scaleX(.55); } }

/* Pétalas caindo — camada acima da composição (caem sobre o bebê) */
#petals {
  position: absolute; inset: -34px 0 0; z-index: 2; pointer-events: none;
}
.petal {
  position: absolute; top: -30px; width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  border-radius: 80% 0 80% 0;
  opacity: .75; pointer-events: none;
  box-shadow: 0 1px 3px rgba(118, 79, 123, .18);
  animation: fall linear infinite;
}
.petal.p-lilac { background: linear-gradient(135deg, #CBBACD, var(--rose)); }
.petal.p-mauve { background: linear-gradient(135deg, var(--rose), #8F7192); }
.petal.p-plum  { background: linear-gradient(135deg, var(--gold), rgba(118, 79, 123, .85)); }
.petal.p-pale  { background: linear-gradient(135deg, #E7DDE8, var(--rose)); }
@keyframes fall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  6%   { opacity: .75; }
  25%  { transform: translate(20px, 27vh) rotate(150deg); }
  50%  { transform: translate(-16px, 55vh) rotate(330deg); }
  75%  { transform: translate(18px, 82vh) rotate(510deg); opacity: .7; }
  100% { transform: translate(-6px, 108vh) rotate(680deg); opacity: 0; }
}

/* ---------- Faixa de confiança ---------- */
.ribbon { background: var(--ivory); padding: 1.6rem 0; border-block: 1px solid var(--linen); }
.ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ribbon-item { display: flex; align-items: center; gap: .9rem; justify-content: center; }
.ribbon-item svg { width: 28px; height: 28px; color: var(--rose-dark); flex-shrink: 0; }
.ribbon-item p { font-size: .82rem; letter-spacing: .04em; line-height: 1.35; }
.ribbon-item p strong { display: block; font-weight: 500; }
.ribbon-item p span { color: var(--ink-soft); font-size: .76rem; }

/* ---------- Categorias ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cat-card {
  position: relative; border-radius: var(--radius); padding: 2.4rem 2rem 2rem;
  background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: block;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--sage));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 1.4rem; transition: transform .5s var(--ease);
}
.cat-card:hover .cat-icon { transform: rotate(-8deg) scale(1.1); }
.cat-icon svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.cat-card p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.cat-link { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-dark); display: inline-flex; align-items: center; gap: .5rem; }
.cat-link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(6px); }

.tone-rose  { background: var(--rose-soft); color: var(--rose-dark); }
.tone-sage  { background: var(--sage-soft); color: #7E6382; }
.tone-gold  { background: var(--gold-soft); color: #764F7B; }
.tone-ivory { background: var(--ivory);     color: var(--ink-soft); }

/* ---------- Produtos ---------- */
.shop { background: linear-gradient(var(--cream), var(--ivory) 120%); }
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  padding: .6rem 1.5rem; border-radius: 999px; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--linen); color: var(--ink-soft); background: var(--white);
  transition: all .35s var(--ease);
}
.filter-btn:hover { border-color: var(--rose); color: var(--rose-dark); transform: translateY(-2px); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; perspective: 1400px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  transform: translateY(var(--lift, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  display: flex; flex-direction: column;
  animation: cardIn .5s var(--ease) backwards;
}
@keyframes cardIn { from { opacity: 0; translate: 0 24px; } }
.product-card:hover { --lift: -8px; box-shadow: var(--shadow-lg); }
.product-card { cursor: pointer; }

/* Em telas de toque não há hover: ações sempre visíveis */
@media (hover: none) {
  .product-actions { transform: none; }
}

.product-media { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; overflow: hidden; }
.product-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
}
.product-media img.loaded { opacity: 1; transform: scale(1); filter: blur(0); }
.product-card:hover .product-media img.loaded { transform: scale(1.08); }
.product-media svg { width: 44%; height: auto; opacity: .55; }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--cream);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.product-badge.badge-rose { background: var(--rose-dark); }
.product-badge.badge-gold { background: var(--gold); }

.product-actions {
  position: absolute; inset: auto 0 0; display: flex; gap: .5rem; padding: .9rem;
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.product-card:hover .product-actions { transform: none; }
.product-actions button {
  flex: 1; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 10px; padding: .7rem; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 400; box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s;
}
.product-actions button:hover { background: var(--ink); color: var(--cream); }

.product-info { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-cat { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.product-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; }
.product-price { margin-top: auto; padding-top: .5rem; display: flex; align-items: baseline; gap: .55rem; }
.product-price strong { font-size: 1.06rem; font-weight: 500; }
.product-price small { color: var(--ink-soft); font-size: .74rem; }

/* ---------- Banner editorial (parallax) ---------- */
.editorial { padding: clamp(6rem, 12vw, 10rem) 0; overflow: hidden; isolation: isolate; }
.editorial-bg {
  position: absolute; inset: -12% 0; z-index: -2;
  background-size: cover; background-position: center 30%;
  transform: scale(1.15); will-change: transform;
}
.editorial-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20, 14, 21,.72) 20%, rgba(20, 14, 21,.35) 60%, rgba(118, 79, 123,.35));
}
.editorial-content { position: relative; max-width: 640px; color: var(--cream); }
.editorial .eyebrow { color: var(--gold-soft); }
.editorial .eyebrow::before { background: var(--gold-soft); }
.editorial-title { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: .8rem 0 1.2rem; }
.editorial-title em { font-style: italic; color: var(--rose-soft); }
.editorial-content p { color: rgba(254, 253, 254,.85); max-width: 480px; margin-bottom: 2.2rem; }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.editorial .butterfly { opacity: .9; }
.editorial .e1 { width: 34px; top: -3rem; right: 8%; color: var(--gold-soft); }
.editorial .e2 { width: 24px; bottom: -2rem; right: 28%; color: var(--rose-soft); animation-delay: 3s; }

/* ---------- Personalização / Bordado ---------- */
.custom { background: var(--ink); color: var(--cream); overflow: hidden; }
.custom .eyebrow { color: var(--gold); }
.custom .eyebrow::before { background: var(--gold); }
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.custom .section-title em { color: var(--rose); }
.custom .section-sub { color: rgba(254, 253, 254,.65); }

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 2.4rem; counter-reset: step; }
.step { display: flex; gap: 1.4rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(254, 253, 254,.12); }
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--gold);
  width: 44px; height: 44px; border: 1px solid rgba(157, 129, 160,.4); border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.step h4 { font-weight: 400; letter-spacing: .06em; margin-bottom: .15rem; }
.step p { font-size: .86rem; color: rgba(254, 253, 254,.6); }

.monogram-preview {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(155deg, #2A2130, #17121A);
  border: 1px solid rgba(157, 129, 160,.25);
  padding: 3rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg);
}
.monogram-photo {
  position: absolute; top: -2.2rem; right: -1.4rem; z-index: 2;
  width: 118px; height: 118px; object-fit: cover;
  border: 6px solid var(--cream); border-radius: 8px;
  box-shadow: var(--shadow-md); rotate: 6deg;
  transition: rotate .5s var(--ease), scale .5s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
.monogram-photo:hover { rotate: 0deg; scale: 1.12; }
.monogram-frame {
  border: 1px solid rgba(157, 129, 160,.35); border-radius: 12px; padding: 3rem 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(254, 253, 254,.025) 0 2px, transparent 2px 9px),
    rgba(254, 253, 254,.03);
}
.monogram-name {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--gold-soft);
  min-height: 1.3em; letter-spacing: .04em;
}
.monogram-label { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(254, 253, 254,.45); margin-top: 1rem; }
.monogram-input {
  margin-top: 1.8rem; width: 100%; padding: 1rem 1.3rem; border-radius: 999px;
  border: 1px solid rgba(254, 253, 254,.2); background: rgba(254, 253, 254,.07);
  color: var(--cream); font: inherit; text-align: center; letter-spacing: .08em;
  transition: border-color .3s, background .3s; outline: none;
}
.monogram-input::placeholder { color: rgba(254, 253, 254,.4); }
.monogram-input:focus { border-color: var(--gold); background: rgba(254, 253, 254,.1); }
.monogram-preview .btn { margin-top: 1.2rem; }

/* ---------- Depoimentos ---------- */
.quotes { background: var(--ivory); }
.quote-slider { position: relative; max-width: 760px; margin-inline: auto; text-align: center; min-height: 270px; }
.quote {
  position: absolute; inset: 0; opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}
.quote.active { opacity: 1; transform: none; pointer-events: auto; }
.quote-mark { font-family: var(--font-display); font-size: 4.5rem; line-height: .5; color: var(--rose); font-style: italic; }
.quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-style: italic; line-height: 1.5; }
.quote-author { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.quote-author strong { color: var(--rose-dark); font-weight: 400; }
.quote-stars { color: var(--gold); letter-spacing: .25em; font-size: .9rem; }
.quote-dots { display: flex; gap: .6rem; justify-content: center; margin-top: 2.2rem; }
.quote-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--linen); transition: all .4s var(--ease); }
.quote-dot.active { background: var(--rose-dark); transform: scale(1.35); }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.insta-card {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: zoom-in; padding: 0;
}
.insta-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.insta-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.insta-card:hover img { transform: scale(1.12); }
.insta-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(20, 14, 21,.55); opacity: 0; transition: opacity .4s;
}
.insta-card:hover .insta-overlay { opacity: 1; }
.insta-overlay svg { width: 26px; height: 26px; color: var(--white); opacity: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--rose-soft); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; text-align: left; font-size: 1rem; font-weight: 400; }
.faq-q .faq-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-dark); display: grid; place-items: center; flex-shrink: 0; transition: transform .45s var(--ease), background .3s; }
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--rose-dark); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 1.6rem 1.5rem; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Newsletter ---------- */
.news {
  background:
    radial-gradient(ellipse at 20% 0%, var(--rose-soft), transparent 55%),
    radial-gradient(ellipse at 85% 100%, var(--sage-soft), transparent 50%),
    var(--ivory);
}
.news-box { max-width: 640px; margin-inline: auto; text-align: center; }
.coupon {
  display: inline-flex; align-items: center; gap: .8rem; margin: 1.4rem 0 2rem;
  border: 1.5px dashed var(--gold); border-radius: 12px; padding: .8rem 1.6rem;
  background: var(--white); font-size: .9rem; letter-spacing: .08em;
  transition: transform .3s var(--ease), box-shadow .3s;
  cursor: pointer;
}
.coupon:hover { transform: scale(1.04); box-shadow: var(--shadow-md); }
.coupon strong { font-weight: 600; color: var(--rose-dark); letter-spacing: .2em; }
.news-form { display: flex; gap: .7rem; max-width: 480px; margin-inline: auto; }
.news-form input {
  flex: 1; padding: 1rem 1.5rem; border-radius: 999px; border: 1px solid var(--linen);
  background: var(--white); font: inherit; outline: none; transition: border-color .3s, box-shadow .3s;
}
.news-form input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(254, 253, 254,.7); padding: 4.5rem 0 0; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer .logo-name, .footer h4 { color: var(--cream); }
.footer h4 { font-family: var(--font-body); font-weight: 400; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1.3rem; color: var(--gold); }
.footer-about p { margin: 1.2rem 0 1.6rem; line-height: 1.8; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a { transition: color .3s, padding-left .3s; }
.footer ul a:hover { color: var(--rose); padding-left: 6px; }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem; }
.footer-contact svg { width: 17px; height: 17px; margin-top: .2rem; color: var(--rose); flex-shrink: 0; }
.social-row { display: flex; gap: .7rem; }
.social-row a { width: 40px; height: 40px; border: 1px solid rgba(254, 253, 254,.2); border-radius: 50%; display: grid; place-items: center; transition: all .35s var(--ease); }
.social-row a:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-4px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(254, 253, 254,.1); padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .76rem; color: rgba(254, 253, 254,.45); }
.payments { display: flex; gap: .5rem; }
.payments span { border: 1px solid rgba(254, 253, 254,.18); border-radius: 6px; padding: .25rem .6rem; font-size: .68rem; letter-spacing: .08em; }

/* ---------- Carrinho (drawer) ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(20, 14, 21,.45); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 90;
}
.drawer-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 92vw);
  background: var(--cream); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .5s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.show { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--linen); }
.cart-head h3 { font-size: 1.5rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { margin: auto; text-align: center; color: var(--ink-soft); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cart-empty svg { width: 54px; height: 54px; opacity: .35; }

.cart-item { display: flex; gap: 1rem; background: var(--white); border-radius: 14px; padding: .9rem; box-shadow: var(--shadow-sm); animation: cardIn .4s var(--ease); }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.cart-thumb svg { width: 30px; height: 30px; opacity: .55; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h5 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.cart-item-info .embroidery { font-size: .72rem; color: var(--gold); font-style: italic; }
.cart-item-info .price { font-size: .84rem; color: var(--ink-soft); }
.cart-qty { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.cart-qty button { width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; font-size: .9rem; transition: background .3s; }
.cart-qty button:hover { background: var(--rose-soft); }
.cart-remove { color: var(--ink-soft); font-size: .72rem; text-decoration: underline; align-self: flex-start; transition: color .3s; }
.cart-remove:hover { color: var(--rose-dark); }

.cart-foot { border-top: 1px solid var(--linen); padding: 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; background: var(--white); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.cart-total strong { font-weight: 500; }
.cart-note { font-size: .74rem; color: var(--ink-soft); text-align: center; }

/* ---------- Quick view (modal) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 1.5rem;
  background: rgba(20, 14, 21,.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.modal.show { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--cream); border-radius: var(--radius); width: min(820px, calc(100vw - 3rem));
  display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(.97); transition: transform .45s var(--ease);
  max-height: 90dvh;
}
.modal.show .modal-box { transform: none; }
.modal-media { display: grid; place-items: center; min-height: 320px; overflow: hidden; }
.modal-media svg { width: 46%; opacity: .55; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .6s ease; }
.modal-info { padding: 2.4rem 2.2rem; overflow-y: auto; }
.modal-info h3 { font-size: 1.9rem; margin: .3rem 0 .6rem; }
.modal-info .desc { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.4rem; }
.modal-price { font-size: 1.4rem; font-weight: 500; margin-bottom: .2rem; }
.modal-installments { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.modal-field label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.modal-field input {
  width: 100%; padding: .9rem 1.2rem; border-radius: 12px; border: 1px solid var(--linen);
  background: var(--white); font: inherit; outline: none; margin-bottom: 1.4rem;
  transition: border-color .3s, box-shadow .3s;
}
.modal-field input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  background: rgba(255,255,255,.85); border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .3s, background .3s; z-index: 2;
}
.modal-close:hover { transform: rotate(90deg); background: var(--rose-soft); }

/* ---------- Busca ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(254, 253, 254,.96); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
  overflow-y: auto; padding: clamp(4rem, 12vh, 8rem) 1.5rem 3rem;
}
.search-overlay.show { opacity: 1; pointer-events: auto; }
.search-close { position: fixed; top: 22px; right: 22px; }
.search-box { max-width: 640px; margin-inline: auto; }
.search-label {
  display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.4rem; text-align: center;
}
.search-field {
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 2px solid var(--rose); padding: .6rem .4rem;
  transition: border-color .3s;
}
.search-field:focus-within { border-color: var(--rose-dark); }
.search-field svg { width: 22px; height: 22px; color: var(--rose-dark); flex-shrink: 0; }
.search-field input {
  flex: 1; border: 0; background: none; outline: none;
  font: inherit; font-size: 1.15rem; color: var(--ink);
}
.search-field input::placeholder { color: var(--ink-soft); opacity: .7; }
.search-results { margin-top: 2rem; display: flex; flex-direction: column; gap: .7rem; }
.search-hint, .search-empty {
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .3rem;
}
.search-empty { text-transform: none; letter-spacing: .03em; font-size: .95rem; text-align: center; padding: 1.5rem 0; }
.search-result {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  background: var(--white); border-radius: 14px; padding: .8rem 1.1rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
  animation: cardIn .35s var(--ease) backwards;
}
.search-result:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.search-result img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.search-result span { flex: 1; display: flex; flex-direction: column; }
.search-result strong { font-weight: 400; }
.search-result small { color: var(--ink-soft); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.search-result em { font-style: normal; font-weight: 500; color: var(--rose-dark); }

/* ---------- Páginas institucionais (modal) ---------- */
.page-modal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.5rem;
  background: rgba(20, 14, 21,.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.page-modal.show { opacity: 1; pointer-events: auto; }
.page-box {
  position: relative; background: var(--cream); border-radius: var(--radius);
  width: min(680px, 100%); max-height: 86dvh; overflow-y: auto;
  padding: 2.8rem 2.6rem; box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(.97); transition: transform .45s var(--ease);
}
.page-modal.show .page-box { transform: none; }
.page-box h3 { font-size: 2rem; margin: .5rem 0 1.2rem; }
.page-content p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 1rem; }
.page-content strong { color: var(--ink); font-weight: 500; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 130; display: grid; place-items: center;
  background: rgba(20, 14, 21,.82); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
  padding: 2rem; cursor: zoom-out;
}
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(680px, 100%); max-height: 84dvh; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); cursor: default;
  transform: scale(.92); transition: transform .45s var(--ease);
}
.lightbox.show img { transform: scale(1); }
.lightbox-close { position: fixed; top: 22px; right: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120px);
  background: var(--ink); color: var(--cream); padding: .9rem 1.7rem; border-radius: 999px;
  font-size: .84rem; letter-spacing: .05em; box-shadow: var(--shadow-lg); z-index: 120;
  display: flex; align-items: center; gap: .7rem;
  transition: transform .5s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; color: var(--sage); }

/* ---------- Flutuantes ---------- */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .35s var(--ease);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.12) rotate(8deg); }
.whatsapp-fab svg { width: 28px; height: 28px; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.35); }
  60%      { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
}
.to-top {
  position: fixed; bottom: 98px; right: 33px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--rose-soft); }
.to-top svg.arrow { width: 15px; height: 15px; }
.to-top .ring { position: absolute; inset: -2px; width: 50px; height: 50px; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2.5; }
.to-top .ring-track { stroke: var(--linen); }
.to-top .ring-fill { stroke: var(--rose-dark); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .ribbon-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { padding: .6rem 0; }
  .header.scrolled .header-inner { padding: .4rem 0; }
  .logo-img { height: 58px; }
  .header.scrolled .logo-img { height: 46px; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: auto; left: auto;
    height: 100dvh; width: min(320px, 85vw);
    background: #fff; flex-direction: column; justify-content: flex-start;
    padding: 5.2rem 2.5rem calc(2rem + env(safe-area-inset-bottom)); margin: 0;
    gap: 1.1rem; box-shadow: var(--shadow-lg); overflow-y: auto;
    transform: translateX(100%); transition: transform .5s var(--ease), visibility .5s; z-index: 70;
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 1.02rem; padding: .55rem 0; }
  .burger { display: flex; z-index: 75; }
  .hero-grid, .custom-grid, .modal-box { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; order: -1; }
  .hero-card-1 { left: 0; } .hero-card-2 { right: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  /* Quick view mobile: uma coluna, foto vira banner no topo */
  .modal { padding: 1rem; }
  .modal-box {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr;
    width: calc(100vw - 2rem); max-height: 90dvh;
  }
  .modal-media { min-height: 0; height: 210px; }
  .modal-media img { width: 100%; height: 210px; object-fit: cover; }
  .modal-info { padding: 1.6rem 1.5rem; }
}
@media (max-width: 560px) {
  .announce { font-size: .6rem; padding: .45rem 0; letter-spacing: .16em; }
  .logo-img { height: 52px; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .ribbon-grid { grid-template-columns: 1fr; }
  .ribbon-item { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .news-form { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  /* Filtros da vitrine deslizam na horizontal (90 produtos pedem agilidade) */
  .filter-bar {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding: 0 4% .6rem; margin-inline: -4%; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }
  /* Botões flutuantes respeitam a área segura do iPhone */
  .whatsapp-fab { bottom: calc(22px + env(safe-area-inset-bottom)); right: 20px; }
  .to-top { bottom: calc(92px + env(safe-area-inset-bottom)); right: 27px; }
}

/* Acessibilidade: reduz movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   PRONTA ENTREGA — seção em destaque na loja
   ============================================================ */
.ready {
  position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse at 12% -10%, var(--rose-soft), transparent 52%),
    radial-gradient(ellipse at 92% 110%, var(--gold-soft), transparent 52%),
    var(--white);
  border-block: 1px solid var(--linen);
}
.ready-glow {
  position: absolute; top: -90px; right: -70px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose-soft), transparent 70%); opacity: .55;
  pointer-events: none; animation: floaty 9s ease-in-out infinite;
}
.eyebrow-ready { color: var(--rose-dark); }
.eyebrow-ready::before { display: none; }
.ready-bolt { width: 15px; height: 15px; color: var(--rose-dark); }

.ready-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 2.6rem; }

.ready-card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--linen); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s; animation: cardIn .45s var(--ease) backwards;
}
.ready-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ready-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); display: grid; place-items: center; }
.ready-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ready-card:hover .ready-media img { transform: scale(1.05); }
.ready-media svg { width: 42%; color: var(--rose); opacity: .5; }

.ready-flag {
  position: absolute; top: .8rem; left: .8rem; display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.92); color: var(--rose-dark); font-size: .62rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.ready-flag svg { width: 12px; height: 12px; }

.ready-info { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ready-cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ready-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; line-height: 1.2; }
.ready-price { font-size: 1.18rem; font-weight: 500; margin-top: auto; }
.ready-price small { display: block; font-size: .72rem; color: var(--ink-soft); font-weight: 400; margin-top: .1rem; }

.ready-stock { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 500; color: #7E6382; }
.ready-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: stockPulse 2.2s ease-in-out infinite; }
.ready-stock.low { color: var(--rose-dark); }
.ready-stock.sold { color: var(--ink-soft); }
.ready-stock.sold .dot { animation: none; }
@keyframes stockPulse { 0%,100% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } }

.ready-actions { display: flex; gap: .5rem; margin-top: .3rem; }
.ready-actions .btn { flex: 1; padding: .7rem .6rem; font-size: .74rem; }
.ready-actions .btn-soldout { background: var(--linen); color: var(--ink-soft); box-shadow: none; pointer-events: none; flex: 1; padding: .7rem .6rem; font-size: .74rem; border-radius: 999px; display: grid; place-items: center; letter-spacing: .06em; }

.ready-card.sold-out .ready-media img { filter: grayscale(.45); opacity: .75; }
.ready-empty { text-align: center; color: var(--ink-soft); margin-top: 1.5rem; font-size: .95rem; }

/* Selo "Pronta entrega" no catálogo normal */
.product-badge.badge-ready { background: var(--rose-dark); display: inline-flex; align-items: center; gap: .3rem; }
.product-badge.badge-ready svg { width: 11px; height: 11px; }
.product-stock-line { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 500; color: #7E6382; margin-top: .35rem; }
.product-stock-line .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.product-stock-line.low { color: var(--rose-dark); }
.product-stock-line.sold { color: var(--ink-soft); }

/* Estoque no modal de detalhes */
.modal-stock { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; font-weight: 500; color: #7E6382; background: var(--sage-soft); padding: .55rem 1rem; border-radius: 999px; margin-bottom: 1.3rem; }
.modal-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.modal-stock.low { color: var(--rose-dark); background: var(--rose-soft); }
.modal-stock.sold { color: var(--ink-soft); background: var(--linen); }

/* Destaque do item Pronta Entrega no menu */
.nav-ready { color: var(--rose-dark); font-weight: 500; }
.nav-ready::after { background: var(--rose-dark); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none !important; }

@media (max-width: 1020px) { .ready-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .ready-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ready-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ART DIRECTION 2.0 — parallax, texturas e artes visuais
   ============================================================ */

/* ---------- Acessibilidade: skip link ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--ink); color: var(--cream); padding: .8rem 1.4rem;
  border-radius: 0 0 12px 12px; font-size: .8rem; letter-spacing: .1em;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 3px; border-radius: 4px; }

/* ---------- Grão de papel (filme sutil sobre tudo) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 998; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: multiply;
}

/* ---------- Cursor: halo + brilhos ---------- */
.cursor-halo {
  position: fixed; top: 0; left: 0; z-index: 997; pointer-events: none;
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1.4px solid rgba(118, 79, 123, .55);
  background: radial-gradient(circle, rgba(190, 172, 193,.12), transparent 65%);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease),
              border-color .3s, background .3s, opacity .3s;
  opacity: 0;
}
.cursor-halo.on { opacity: 1; }
.cursor-halo.grow {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-color: rgba(157, 129, 160, .75);
  background: radial-gradient(circle, rgba(157, 129, 160,.14), transparent 65%);
}
.cursor-halo.hide { opacity: 0; }
.cursor-spark {
  position: fixed; z-index: 996; pointer-events: none;
  width: 9px; height: 9px; color: var(--gold);
  animation: sparkFade .8s var(--ease) forwards;
}
.cursor-spark svg { width: 100%; height: 100%; }
@keyframes sparkFade {
  from { opacity: .9; transform: scale(.4) rotate(0deg); }
  to   { opacity: 0; transform: scale(1.4) rotate(90deg) translateY(14px); }
}

/* ---------- Hero: aurora, sprigs, sparkles ---------- */
.hero { isolation: isolate; }
.hero-aurora { position: absolute; inset: -10% -6%; z-index: -2; pointer-events: none; filter: blur(60px); }
.hero-aurora i { position: absolute; border-radius: 50%; opacity: .55; }
.hero-aurora .a1 {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, var(--rose-soft), transparent 68%);
  top: -6%; right: -4%; animation: auroraDrift 26s ease-in-out infinite alternate;
}
.hero-aurora .a2 {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  background: radial-gradient(circle, var(--gold-soft), transparent 66%);
  bottom: -14%; left: -6%; animation: auroraDrift 32s ease-in-out infinite alternate-reverse;
}
.hero-aurora .a3 {
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  background: radial-gradient(circle, var(--lavender-soft), transparent 64%);
  top: 26%; left: 30%; opacity: .5; animation: auroraDrift 38s ease-in-out infinite alternate;
}
.hero-aurora .a4 {
  width: 26vw; height: 26vw; max-width: 360px; max-height: 360px;
  background: radial-gradient(circle, var(--sage-soft), transparent 62%);
  bottom: 4%; right: 24%; opacity: .45; animation: auroraDrift 30s ease-in-out infinite alternate-reverse;
}
@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
  to   { transform: translate3d(-3vw, 3vh, 0) scale(.94); }
}

.sprig { position: absolute; z-index: -1; color: var(--lavender); opacity: .5; pointer-events: none; }
.sprig svg { width: 100%; height: 100%; }
.sprig-l { width: 74px; height: 148px; top: 4%; left: 1.5%; transform: rotate(-14deg); animation: sprigSway 9s ease-in-out infinite alternate; }
.sprig-r { width: 60px; height: 120px; bottom: 6%; right: 2%; color: var(--sage); transform: rotate(160deg); animation: sprigSway 11s ease-in-out infinite alternate-reverse; }
@keyframes sprigSway { from { rotate: -3deg; } to { rotate: 3deg; } }

.spark-field { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.spark-field .sp { position: absolute; color: var(--gold); opacity: .55; animation: sparkTwinkle 4.5s ease-in-out infinite; }
.spark-field .sp svg { width: 100%; height: 100%; }
.spark-field .sp1 { width: 14px; height: 14px; top: 14%; left: 42%; animation-delay: 0s; }
.spark-field .sp2 { width: 9px;  height: 9px;  top: 30%; left: 55%; color: var(--rose); animation-delay: .9s; }
.spark-field .sp3 { width: 12px; height: 12px; top: 8%;  left: 12%; color: var(--lavender); animation-delay: 1.7s; }
.spark-field .sp4 { width: 8px;  height: 8px;  bottom: 20%; left: 38%; animation-delay: 2.6s; }
.spark-field .sp5 { width: 18px; height: 18px; bottom: 30%; right: 6%; color: var(--rose); opacity: .4; animation-delay: 1.2s; }
.spark-field .sp6 { width: 10px; height: 10px; top: 52%; left: 4%; color: var(--sage); animation-delay: 3.4s; }
@keyframes sparkTwinkle {
  0%, 100% { opacity: .18; transform: scale(.75) rotate(0deg); }
  50%      { opacity: .8;  transform: scale(1.15) rotate(24deg); }
}

.hoop-ring {
  position: absolute; inset: 8% 8%; border-radius: 50%;
  border: 1.5px dashed rgba(157, 129, 160, .55);
  animation: hoopSpin 60s linear infinite;
  pointer-events: none;
}
@keyframes hoopSpin { to { transform: rotate(360deg); } }

.photo-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%);
  background-size: 260% 100%; background-position: 120% 0;
  animation: glareSweep 7.5s ease-in-out infinite;
}
@keyframes glareSweep { 0%, 62% { background-position: 130% 0; } 88%, 100% { background-position: -50% 0; } }

.hero-fade {
  position: absolute; inset: auto 0 0; height: 90px; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, var(--cream));
}

/* Título com brilho tecido */
.hero-title em, .editorial-title em {
  background: linear-gradient(100deg, var(--rose-dark) 20%, var(--gold) 38%, var(--rose-dark) 55%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--rose-dark);
  animation: emShimmer 7s ease-in-out infinite;
}
.editorial-title em {
  background-image: linear-gradient(100deg, var(--rose-soft) 20%, #EFE3F0 40%, var(--rose-soft) 60%);
}
@keyframes emShimmer { 0%, 55% { background-position: 115% 0; } 85%, 100% { background-position: -20% 0; } }

/* ---------- Aquarelas e borboletas ambientes ---------- */
.wash {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 0; filter: blur(52px); opacity: .5;
}
.wash-rose { background: radial-gradient(circle, var(--rose-soft), transparent 66%); }
.wash-sage { background: radial-gradient(circle, var(--sage-soft), transparent 66%); }
.wash-gold { background: radial-gradient(circle, var(--gold-soft), transparent 66%); }
.wash-lav  { background: radial-gradient(circle, var(--lavender-soft), transparent 66%); }
section > .container { position: relative; z-index: 1; }

.float-fly { position: absolute; pointer-events: none; z-index: 0; opacity: .65; animation: flutter 10s ease-in-out infinite; }
.float-fly svg { width: 100%; height: 100%; }
.float-fly .wing { transform-origin: center; animation: wings .8s ease-in-out infinite alternate; }
.float-fly.f-slow { animation-duration: 14s; }

/* ---------- Faixas artísticas (marquee ligado ao scroll) ---------- */
.art-marquee {
  overflow: hidden; padding: 2.2rem 0; position: relative;
  background: var(--cream);
  border-block: 1px solid var(--linen);
  --stitch: repeating-linear-gradient(90deg, var(--rose) 0 7px, transparent 7px 15px);
}
.art-marquee::before, .art-marquee::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--stitch); opacity: .5;
}
.art-marquee::before { top: 9px; }
.art-marquee::after { bottom: 9px; }
.art-track {
  display: flex; width: max-content; will-change: transform;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(20, 14, 21, .34);
}
.art-track span { display: inline-flex; align-items: center; gap: 1.2rem; padding-right: 1.2rem; }
.art-track i { font-style: normal; font-size: .5em; color: var(--gold); -webkit-text-stroke: 0; }
.art-marquee.art-rose { background: linear-gradient(var(--ivory), var(--cream)); }
.art-marquee.art-rose .art-track { -webkit-text-stroke: 1px rgba(118, 79, 123, .4); }
.art-marquee.art-rose .art-track i { color: var(--rose-dark); }

/* ---------- Editorial multicamadas ---------- */
.editorial-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.editorial-ghost {
  position: absolute; right: 4%; top: 10%; width: min(300px, 30vw); z-index: -1;
  color: rgba(254, 253, 254, .12); pointer-events: none;
  animation: flutter 16s ease-in-out infinite;
}
.editorial-ghost svg { width: 100%; height: 100%; }
.editorial-ghost .wing { transform-origin: center; animation: wings 1.4s ease-in-out infinite alternate; }
.editorial-spark { position: absolute; color: var(--gold-soft); pointer-events: none; opacity: .8; animation: sparkTwinkle 5s ease-in-out infinite; }
.editorial-spark svg { width: 100%; height: 100%; }
.editorial-spark.s1 { width: 16px; height: 16px; left: 12%; bottom: 18%; }
.editorial-spark.s2 { width: 11px; height: 11px; right: 20%; bottom: 34%; animation-delay: 1.6s; }

/* ---------- Personalize: fio de bordado + glow ---------- */
.custom-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -160px; left: -160px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(157, 129, 160, .14), transparent 66%);
  filter: blur(30px);
}
.steps { position: relative; }
.thread-svg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible; z-index: 0;
}
.thread-svg path {
  stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 5 8; opacity: .65;
  filter: drop-shadow(0 0 6px rgba(157, 129, 160, .35));
}
.step { position: relative; z-index: 1; }
.step-num { background: var(--ink); transition: background .4s, box-shadow .4s, color .4s; }
.step.lit .step-num {
  background: rgba(157, 129, 160, .16); color: var(--gold-soft);
  box-shadow: 0 0 0 5px rgba(157, 129, 160, .08), 0 0 24px rgba(157, 129, 160, .25);
}

/* ---------- Depoimentos: marca d'água ---------- */
.quotes { overflow: hidden; }
.quotes-watermark {
  position: absolute; top: -1rem; left: 2%; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-style: italic; font-size: clamp(16rem, 30vw, 26rem);
  line-height: 1; color: var(--rose-soft); opacity: .5;
}

/* ---------- Newsletter sparkles ---------- */
.news { overflow: hidden; }
.news-spark { position: absolute; color: var(--gold); pointer-events: none; animation: sparkTwinkle 4s ease-in-out infinite; }
.news-spark svg { width: 100%; height: 100%; }
.news-spark.ns1 { width: 15px; height: 15px; left: 12%; top: 24%; }
.news-spark.ns2 { width: 10px; height: 10px; right: 16%; bottom: 22%; animation-delay: 1.4s; color: var(--rose); }

/* ---------- Footer: renda + marca d'água ---------- */
.footer { position: relative; overflow: hidden; }
.footer-lace {
  position: absolute; top: -1px; left: 0; right: 0; height: 22px; z-index: 2;
  background:
    radial-gradient(circle at 17px -6px, var(--ivory) 15px, transparent 16px) repeat-x;
  background-size: 34px 22px;
}
.footer-lace::after {
  content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 1.5px;
  background: repeating-linear-gradient(90deg, rgba(157, 129, 160,.4) 0 6px, transparent 6px 13px);
}
.footer-watermark {
  position: absolute; right: -60px; bottom: -40px; width: 340px; height: 340px;
  color: rgba(254, 253, 254, .045); pointer-events: none; z-index: 0;
  transform: rotate(-14deg);
}
.footer-watermark svg { width: 100%; height: 100%; }
.footer > .container { position: relative; z-index: 1; }

/* ---------- Cards de produto: brilho + costura ---------- */
.product-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.product-card:hover .product-media::after { opacity: 1; }
.product-card::after {
  content: ''; position: absolute; inset: 9px; border-radius: 12px; pointer-events: none;
  border: 1.5px dashed rgba(157, 129, 160, 0); transition: border-color .45s var(--ease);
  z-index: 3;
}
.product-card:hover::after { border-color: rgba(157, 129, 160, .55); }
.product-card { position: relative; }

/* ---------- Fly-to-cart + pétalas ---------- */
.fly-img {
  position: fixed; z-index: 260; border-radius: 12px; object-fit: cover;
  pointer-events: none; box-shadow: var(--shadow-rose);
}
.burst-petal {
  position: fixed; z-index: 259; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(135deg, var(--rose), #8F7192); border-radius: 80% 0 80% 0;
  box-shadow: 0 1px 3px rgba(118, 79, 123, .2);
}
.burst-petal.gold { background: linear-gradient(135deg, #CBBACD, var(--gold)); }
.burst-petal.lav { background: linear-gradient(135deg, var(--gold), rgba(118, 79, 123, .85)); }

/* ---------- Sacola & modais com física de mola ---------- */
.cart-drawer { transition: transform .65s var(--spring); }
.modal.show .modal-box { transition: transform .6s var(--spring); }
.cart-head { position: relative; }
.cart-head::after {
  content: ''; position: absolute; bottom: -1px; left: 1.6rem; right: 1.6rem; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--rose) 0 6px, transparent 6px 13px); opacity: .5;
}

/* ---------- Reveal refinado ---------- */
.reveal-img { clip-path: inset(12% 8% 12% 8% round 24px); transform: scale(1.06); transition: clip-path 1s var(--spring), transform 1.2s var(--spring); }
.reveal-img.in { clip-path: inset(0 0 0 0 round 18px); transform: none; }

/* Palavras dos títulos de seção */
.section-title .w { display: inline-block; opacity: 0; transform: translateY(.65em) rotate(2deg); }
.section-title.words-in .w { animation: wordRise .65s var(--ease) both; animation-delay: calc(var(--wi) * 70ms); }

/* ---------- Toast com borboleta ---------- */
.toast svg { color: var(--gold-soft); }
.toast { border: 1px solid rgba(157, 129, 160, .3); }

/* ---------- Botões magnéticos (composição via translate) ---------- */
.btn, .icon-btn { will-change: translate; }

/* ---------- Header: linha viva ---------- */
.header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--rose) 25%, var(--gold) 50%, var(--lavender) 75%, transparent);
  transform: scaleX(0); transition: transform .6s var(--ease); opacity: .7;
}
.header.scrolled::after { transform: scaleX(1); }

/* ---------- Guardas: mobile & reduced motion ---------- */
@media (max-width: 860px) {
  .sprig, .spark-field, .hoop-ring, .cursor-halo, .cursor-spark, .progress-fly { display: none; }
  .wash { width: 260px; height: 260px; filter: blur(40px); }
  .quotes-watermark { font-size: 14rem; }
  .art-track { font-size: 1.9rem; }
  .footer-watermark { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .cursor-halo, .cursor-spark, .progress-fly, .photo-glare { display: none; }
  .hero-title em, .editorial-title em {
    background: none; -webkit-text-fill-color: currentColor; color: var(--rose-dark);
  }
  .editorial-title em { color: var(--rose-soft); }
  .section-title .w { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; transform: none; }
}

/* ---------- Asas que batem em TODAS as borboletas (via symbol) ---------- */
#i-butterfly .wing {
  transform-box: fill-box; transform-origin: center;
  animation: wings .7s ease-in-out infinite alternate;
}

/* ---------- Suavidade do magnetismo dos botões ---------- */
.btn { transition-property: transform, box-shadow, background, color, border-color, translate; transition-duration: .35s, .35s, .35s, .35s, .35s, .45s; transition-timing-function: var(--ease), var(--ease), ease, ease, ease, var(--spring); }

/* ---------- Fallback para navegadores sem text-stroke ---------- */
@supports not (-webkit-text-stroke: 1px black) {
  .art-track { color: rgba(20, 14, 21, .28); }
  .art-marquee.art-rose .art-track { color: rgba(118, 79, 123, .32); }
}

/* ============================================================
   CHECKOUT ONLINE (Appmax) — só aparece quando o servidor está no ar
   ============================================================ */
.pf-wa-alt {
  background: none !important; box-shadow: none !important; color: var(--ink-soft) !important;
  text-decoration: underline; padding: .2rem !important; font-size: .72rem !important;
  letter-spacing: .08em;
}
.pf-wa-alt:hover { color: var(--rose-dark) !important; transform: none !important; }

.pf-overlay {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.2rem;
  background: rgba(20, 14, 21, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
  overflow-y: auto;
}
.pf-overlay.show { opacity: 1; pointer-events: auto; }
.pf-box {
  position: relative; background: var(--cream); border-radius: var(--radius);
  width: min(680px, 100%); max-height: 92dvh; overflow-y: auto;
  padding: 2.2rem 2.2rem 2rem; box-shadow: var(--shadow-lg);
  transform: translateY(28px) scale(.98); transition: transform .55s var(--spring);
  margin: auto;
}
.pf-overlay.show .pf-box { transform: none; }

.pf-head { margin-bottom: 1.6rem; }
.pf-head .eyebrow { display: inline-flex; align-items: center; gap: .45rem; }
.pf-head .eyebrow::before { display: none; }
.pf-steps { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.pf-steps span {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  padding: .35rem .8rem; border: 1px solid var(--linen); border-radius: 999px; transition: all .35s;
  white-space: nowrap;
}
.pf-steps span.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pf-steps i { flex: 0 0 14px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--rose) 0 4px, transparent 4px 8px); }

.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1rem; }
.pf-field { display: flex; flex-direction: column; gap: .35rem; }
.pf-field.pf-c2 { grid-column: span 2; }
.pf-field span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pf-field input, .pf-field select {
  padding: .85rem 1.1rem; border-radius: 12px; border: 1px solid var(--linen);
  background: var(--white); font: inherit; color: var(--ink); outline: none;
  transition: border-color .3s, box-shadow .3s; width: 100%;
}
.pf-field input:focus, .pf-field select:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }

.pf-frete-nota {
  margin-top: 1.1rem; font-size: .85rem; color: var(--ink-soft);
  background: var(--ivory); border: 1px dashed var(--rose); border-radius: 12px; padding: .8rem 1.1rem;
}
.pf-erro { margin-top: .9rem; font-size: .85rem; color: #8A3B4A; background: #F6E3E7; border-radius: 10px; padding: .7rem 1rem; }
.pf-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.pf-seguro { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .72rem; color: var(--ink-soft); margin-top: 1rem; }

.pf-resumo { background: var(--white); border: 1px solid var(--linen); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.pf-item { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; padding: .3rem 0; }
.pf-item em { color: var(--gold); font-style: italic; font-size: .78rem; }
.pf-item.pf-linha { border-top: 1px dashed var(--linen); margin-top: .4rem; padding-top: .6rem; }
.pf-item.pf-total { font-size: 1.05rem; border-top: 1.5px solid var(--linen); margin-top: .3rem; padding-top: .7rem; }
.pf-item.pf-total strong { color: var(--rose-dark); }

.pf-metodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.pf-metodo {
  position: relative; border: 1.5px solid var(--linen); border-radius: 14px; background: var(--white);
  padding: 1rem 1rem .9rem; cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .3s;
  display: flex; flex-direction: column; gap: .15rem;
}
.pf-metodo:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pf-metodo input { position: absolute; opacity: 0; }
.pf-metodo.on, .pf-metodo:has(input:checked) { border-color: var(--rose-dark); box-shadow: 0 0 0 4px var(--rose-soft); }
.pf-metodo strong { font-weight: 500; font-size: .95rem; }
.pf-metodo small { color: var(--ink-soft); font-size: .72rem; line-height: 1.35; }
.pf-reco { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; background: var(--rose-dark); color: var(--white); border-radius: 999px; padding: .2rem .55rem; }

.pf-cartao { margin-top: 1.1rem; background: var(--ivory); border-radius: 14px; padding: 1.1rem; }

.pf-conf { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: .6rem 0 .4rem; }
.pf-conf h3 { font-size: 1.9rem; }
.pf-conf h3 em { font-style: italic; color: var(--rose-dark); }
.pf-conf-sub { color: var(--ink-soft); font-size: .9rem; max-width: 420px; }
.pf-qr { width: 216px; height: 216px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--linen); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-sm); }
.pf-qr img, .pf-qr canvas { border-radius: 8px; }
.pf-qr-carregando { font-size: .78rem; color: var(--ink-soft); }
.pf-copia {
  display: inline-flex; align-items: center; gap: .6rem; max-width: 100%;
  border: 1.5px dashed var(--gold); background: var(--white); border-radius: 12px;
  padding: .7rem 1.1rem; font-size: .78rem; letter-spacing: .02em; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.pf-copia:hover { transform: scale(1.03); box-shadow: var(--shadow-sm); }
.pf-copia code { font-family: ui-monospace, monospace; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.pf-status { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--ink-soft); }
.pf-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: stockPulse 1.8s ease-in-out infinite; }
.pf-simular { font-size: .72rem; padding: .7rem 1.4rem; }
.pf-mini { font-size: .76rem; color: var(--ink-soft); }
.pf-whats-link { color: var(--rose-dark); text-decoration: underline; }
.pf-check {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rose-soft); color: var(--rose-dark); box-shadow: 0 0 0 10px rgba(157,129,160,.12);
  animation: cardIn .6s var(--spring);
}
.pf-check svg { width: 34px; height: 34px; }

@media (max-width: 640px) {
  .pf-box { padding: 1.6rem 1.2rem 1.4rem; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .pf-metodos { grid-template-columns: 1fr; }
  .pf-nav { flex-direction: column-reverse; }
  .pf-nav .btn { width: 100%; }
  .pf-copia code { max-width: 180px; }
}
