/* ==========================================================================
   AMANDU LAÇOS — folha de estilo
   Mobile-first. Delicado, feminino, artesanal. Paleta da marca.
   Você não precisa editar aqui. Os produtos ficam em produtos.js.
   ========================================================================== */

:root {
  /* Paleta da marca */
  --cream:      #FCFAF8;
  --cream-2:    #F6EFE9;
  --blush:      #F7E7EA;
  --blush-soft: #FBF1F2;
  --rose:       #C67B85;   /* CTA / destaque */
  --rose-deep:  #A85D66;   /* texto principal */
  --wine:       #8F4A54;
  --gold:       #C3A15D;   /* detalhe */
  --gold-soft:  #D8BE8A;
  --ink:        #5A4147;   /* texto de leitura, rosa amadeirado */
  --ink-soft:   #8A727A;

  /* Tipografia */
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --script: 'Dancing Script', 'Segoe Script', cursive;
  --body:   'Nunito', system-ui, -apple-system, sans-serif;

  /* Ritmo */
  --wrap: 1180px;
  --gap: clamp(1rem, 4vw, 2rem);
  --radius: 28px;
  --radius-sm: 22px;
  --shadow: 0 18px 40px -24px rgba(168, 93, 102, 0.35);
  --shadow-soft: 0 10px 30px -20px rgba(168, 93, 102, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 5vw, 2.5rem);
}

.script { font-family: var(--script); font-weight: 600; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(198, 123, 133, 0.85);
}
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--rose-deep);
  border-color: rgba(168, 93, 102, 0.35);
}
.btn-ghost:hover { background: var(--blush); border-color: var(--rose); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ==========================================================================
   CABEÇALHO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 250, 248, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s, background .4s;
}
.site-header.scrolled {
  border-color: rgba(195, 161, 93, 0.22);
  box-shadow: 0 8px 24px -20px rgba(168, 93, 102, 0.5);
}
/* Mobile: menu à esquerda, logo centralizada, carrinho à direita */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
}
.brand { display: flex; align-items: center; justify-self: center; }
.header-inner .cart-btn { justify-self: end; }

/* Botão do menu (hambúrguer) — só no mobile */
.menu-btn {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.menu-btn span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--rose-deep);
  transition: transform .3s, opacity .3s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Menu mobile (popup) ---------- */
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(90, 65, 71, 0.42);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.mobile-menu.open { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; left: 0;
  width: min(320px, 84vw); height: 100%;
  background: var(--cream);
  padding: 2rem 1.6rem calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 1.4rem;
  box-shadow: 20px 0 50px -30px rgba(90,65,71,.6);
  transform: translateX(-105%);
  transition: transform .4s var(--ease);
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; top: 1rem; right: 1.1rem;
  background: none; border: none; font-size: 2rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.mobile-menu-logo { height: 60px; width: auto; max-width: 82%; object-fit: contain; align-self: flex-start; margin-bottom: .4rem; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 1.4rem; font-weight: 600;
  color: var(--rose-deep);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(195,161,93,.16);
  transition: color .25s, padding-left .25s;
}
.mobile-menu nav a:hover { color: var(--rose); padding-left: .4rem; }
.mobile-menu .btn { margin-top: auto; }
.brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: height .4s var(--ease);
}
.site-header.scrolled .brand-logo { height: 46px; }

.nav { display: none; gap: 1.75rem; }
.nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: .2rem 0;
  transition: color .3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--rose-deep); }
.nav a:hover::after { transform: scaleX(1); }

.cart-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--rose-deep);
  cursor: pointer;
  padding: .4rem;
  border-radius: 50%;
  transition: color .3s, transform .3s;
}
.cart-btn:hover { color: var(--rose); transform: scale(1.08); }
.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--rose);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(168,93,102,.4);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 11vw, 6.5rem) 0 clamp(2rem, 8vw, 4rem);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--blush-soft) 0%, transparent 55%),
    radial-gradient(80% 60% at 85% 15%, rgba(195,161,93,.10) 0%, transparent 50%),
    var(--cream);
  overflow: hidden;
}
.hero-petals {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(198,123,133,.14) 0 6px, transparent 7px),
    radial-gradient(circle at 88% 62%, rgba(195,161,93,.14) 0 5px, transparent 6px),
    radial-gradient(circle at 22% 78%, rgba(198,123,133,.10) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 22%, rgba(240,201,206,.5) 0 8px, transparent 9px);
}
.hero-inner { position: relative; }
.hero-eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.05rem, 8vw, 4.6rem);
  line-height: 1.08;
  color: var(--rose-deep);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.hero-title .script {
  display: inline-block;
  color: var(--rose);
  font-size: 1.12em;
  font-weight: 700;
  margin-top: .1em;
}
.hero-lead {
  max-width: 40rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 2rem;
}
.hero-trust {
  margin-top: 1.6rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* Divisória de fita/laço (SVG desenhado em CSS) */
.ribbon-divider {
  height: 46px;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  background: center / 260px 100% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='46' viewBox='0 0 260 46'%3E%3Cg fill='none' stroke='%23C3A15D' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M2 23 H96'/%3E%3Cpath d='M164 23 H258'/%3E%3Cpath d='M112 23 C112 12 96 8 96 23 C96 38 112 34 112 23 Z'/%3E%3Cpath d='M148 23 C148 12 164 8 164 23 C164 38 148 34 148 23 Z'/%3E%3C/g%3E%3Ccircle cx='130' cy='23' r='4.2' fill='%23C67B85'/%3E%3Cg fill='none' stroke='%23C67B85' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M112 23 L130 23 L148 23'/%3E%3Cpath d='M124 27 L118 40'/%3E%3Cpath d='M136 27 L142 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section { padding: clamp(3.2rem, 9vw, 5.5rem) 0; }
.section-soft { background: linear-gradient(180deg, var(--cream) 0%, var(--blush-soft) 100%); }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.overline {
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .7rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  line-height: 1.12;
  color: var(--rose-deep);
}
.section-sub { margin-top: .9rem; color: var(--ink); font-size: 1.02rem; }

/* ==========================================================================
   COLEÇÕES
   ========================================================================== */
.collections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.collection-card {
  position: relative;
  display: block;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: var(--blush-soft);
  border: 1px solid rgba(195,161,93,.18);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.collection-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.collection-card .col-bow {
  width: 62px; height: 62px; margin-bottom: 1rem;
}
.collection-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--rose-deep);
}
.collection-card p { color: var(--ink-soft); font-size: .96rem; margin-top: .3rem; }
.collection-card .col-go {
  margin-top: 1rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .3s;
}
.collection-card:hover .col-go { gap: .75rem; }

/* ==========================================================================
   FILTROS + GRADE DE PRODUTOS
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.filter {
  font-family: var(--body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1.5px solid rgba(168,93,102,.22);
  border-radius: 999px;
  padding: .5rem 1.15rem;
  cursor: pointer;
  transition: all .3s;
}
.filter:hover { border-color: var(--rose); color: var(--rose-deep); }
.filter.is-active { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.9rem, 3vw, 1.6rem);
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(195,161,93,.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--blush-soft), var(--cream-2));
  overflow: hidden;
  cursor: pointer;
}
.card-media .zoom-hint {
  position: absolute;
  bottom: .6rem; right: .6rem;
  background: rgba(252,250,248,.9);
  color: var(--rose-deep);
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(195,161,93,.3);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
}
.card:hover .zoom-hint { opacity: 1; transform: none; }
.card-media img,
.card-media video { width: 100%; height: 100%; object-fit: cover; }
.card-media .bow-placeholder { width: 56%; height: auto; opacity: .95; }
.media-play {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(252,250,248,.9); color: var(--rose-deep);
  display: grid; place-items: center; pointer-events: none;
  box-shadow: var(--shadow-soft);
}
.media-play svg { width: 20px; height: 20px; }
.card-selo {
  position: absolute;
  top: .7rem; left: .7rem;
  background: rgba(252,250,248,.92);
  color: var(--wine);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(195,161,93,.3);
}
.card-body {
  padding: .95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.card-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--rose-deep);
  cursor: pointer;
}
.card-name:hover { color: var(--rose); }
.card-desc {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 3);
}
.card-more-slot:empty { display: none; }
.card-more {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  margin-top: .1rem;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  color: var(--rose);
  cursor: pointer;
}
.card-more:hover { color: var(--rose-deep); text-decoration: underline; }
.card-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .6rem;
  margin-top: auto;
  padding-top: .8rem;
}
.card-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--wine);
  white-space: nowrap;
  line-height: 1;
}
.card-price small { font-family: var(--body); font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.add-btn {
  border: none;
  background: var(--blush);
  color: var(--rose-deep);
  font-family: var(--body);
  font-weight: 700;
  font-size: .86rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
  width: 100%;
}
.add-btn:hover { background: var(--rose); color: #fff; }
.add-btn.added { background: var(--gold); color: #fff; }

/* ==========================================================================
   O CUIDADO (passos)
   ========================================================================== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--cream);
  border: 1px solid rgba(195,161,93,.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.4rem;
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: .4rem;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--rose-deep); }
.step p { font-size: .95rem; color: var(--ink); margin-top: .3rem; }

.value-note {
  max-width: 40rem;
  margin: 2.4rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3.6vw, 1.7rem);
  line-height: 1.4;
  color: var(--rose-deep);
}

/* ==========================================================================
   NOTA DA AMANDA
   ========================================================================== */
.founder-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid #fff;
  max-width: 420px;
  margin-inline: auto;
}
.founder-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder-text p { margin-top: 1rem; font-size: 1.03rem; }
.founder-text .signature {
  font-size: 1.9rem;
  color: var(--rose);
  margin-top: 1.3rem;
  line-height: 1;
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.testimonial {
  background: var(--blush-soft);
  border: 1px solid rgba(195,161,93,.18);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.5rem;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 3.2rem;
  color: var(--gold-soft);
  line-height: 1;
  position: absolute;
  top: .4rem; left: 1rem;
  opacity: .6;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--rose-deep);
  position: relative;
  padding-top: .6rem;
}
.testimonial figcaption {
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ==========================================================================
   CHAMADA FINAL
   ========================================================================== */
.cta-final { text-align: center; }
.cta-inner {
  max-width: 42rem;
  margin-inline: auto;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--blush) 0%, var(--cream) 70%);
  border: 1px solid rgba(195,161,93,.22);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 7vw, 4rem) 1.5rem;
  box-shadow: var(--shadow-soft);
}
.cta-inner p { margin: .9rem auto 1.8rem; max-width: 34rem; color: var(--ink); }
.ribbon-mini {
  width: 54px; height: 40px; margin: 0 auto 1rem;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='40' viewBox='0 0 54 40'%3E%3Ccircle cx='27' cy='16' r='4' fill='%23C3A15D'/%3E%3Cg fill='none' stroke='%23C67B85' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M27 16 C27 4 6 2 6 16 C6 30 27 28 27 16 Z'/%3E%3Cpath d='M27 16 C27 4 48 2 48 16 C48 30 27 28 27 16 Z'/%3E%3Cpath d='M22 20 L16 38'/%3E%3Cpath d='M32 20 L38 38'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: var(--rose-deep);
  color: #fff;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-logo-chip {
  display: inline-flex;
  background: var(--cream);
  padding: .7rem 1.1rem;
  border-radius: 18px;
  box-shadow: 0 10px 26px -18px rgba(0,0,0,.4);
}
.footer-logo-chip img { height: 60px; width: auto; display: block; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; max-width: 26rem; opacity: .92; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-nav a { font-size: .92rem; font-weight: 600; opacity: .85; transition: opacity .3s; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-copy {
  text-align: center;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .82rem;
  opacity: .8;
}

/* ==========================================================================
   CARRINHO (drawer)
   ========================================================================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(90, 65, 71, 0.4);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  animation: fade .3s forwards;
}
@keyframes fade { to { opacity: 1; } }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(400px, 90vw);
  background: var(--cream);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .45s var(--ease);
  box-shadow: -20px 0 50px -30px rgba(90,65,71,.6);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.4rem;
  border-bottom: 1px solid rgba(195,161,93,.22);
}
.cart-header h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--rose-deep); }
.cart-close {
  background: none; border: none; font-size: 1.9rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer; transition: color .3s, transform .3s;
}
.cart-close:hover { color: var(--rose); transform: rotate(90deg); }

.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; color: var(--ink-soft); margin-top: 3rem; }
.cart-empty .bow { width: 70px; margin: 0 auto 1rem; opacity: .7; }

.cart-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: .85rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(195,161,93,.15);
}
.cart-item-media {
  width: 54px; height: 54px; border-radius: 10px; overflow: hidden;
  background: var(--blush-soft); display: grid; place-items: center;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-media .bow-placeholder { width: 68%; }
.cart-item-name { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--rose-deep); line-height: 1.15; }
.cart-item-price { font-size: .82rem; color: var(--ink-soft); }
.cart-qty { display: inline-flex; align-items: center; gap: .5rem; margin-top: .35rem; }
.qty-btn {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(168,93,102,.3);
  background: #fff; color: var(--rose-deep);
  font-weight: 700; cursor: pointer; line-height: 1;
  display: grid; place-items: center; transition: all .25s;
}
.qty-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.cart-qty span { font-weight: 700; min-width: 18px; text-align: center; font-size: .9rem; }
.cart-item-remove {
  background: none; border: none; color: var(--ink-soft);
  font-size: .72rem; cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px; transition: color .3s; padding: 0;
}
.cart-item-remove:hover { color: var(--wine); }

.cart-footer {
  padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(195,161,93,.22);
  background: var(--blush-soft);
}
.cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: .5rem;
}
.cart-total span { color: var(--ink-soft); font-weight: 600; }
.cart-total strong { font-family: var(--serif); font-size: 1.5rem; color: var(--wine); }
.cart-note { font-size: .78rem; color: var(--ink-soft); margin-bottom: .9rem; line-height: 1.45; }

/* ==========================================================================
   POPUP DO PRODUTO (modal)
   ========================================================================== */
.modal-overlay[hidden] { display: none; }
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 110;
  background: rgba(90, 65, 71, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  animation: fade .3s forwards;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 60px -30px rgba(90,65,71,.6);
  transform: translateY(100%);
  animation: slideUp .45s var(--ease) forwards;
}
@keyframes slideUp { to { transform: translateY(0); } }
@keyframes zoomIn  { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-close {
  position: absolute;
  top: .9rem; right: .9rem;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(252,250,248,.9);
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: color .3s, transform .3s;
}
.modal-close:hover { color: var(--rose); transform: rotate(90deg); }

.modal-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 58vh;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 100% at 50% 0%, var(--blush-soft), var(--cream-2));
  overflow: hidden;
  cursor: zoom-in;
}
.modal-media img,
.modal-media video { width: 100%; height: 100%; object-fit: contain; }
.modal-media video { cursor: default; }
.modal-media .bow-placeholder { width: 46%; }
.modal-zoom-hint {
  position: absolute;
  bottom: .6rem; right: .6rem;
  background: rgba(252,250,248,.92);
  color: var(--rose-deep);
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(195,161,93,.3);
  pointer-events: none;
}

/* ---------- Visor em tela cheia (lightbox) ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(40, 28, 31, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; animation: fade .25s forwards;
}
.lightbox-media { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-media img,
.lightbox-media video {
  max-width: 96vw; max-height: 92vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(252,250,248,.92); color: var(--ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: transform .3s;
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: none; background: rgba(252,250,248,.85); color: var(--rose-deep);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .25s;
}
.lightbox-nav:hover { background: #fff; }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-nav[hidden] { display: none; }

.modal-info { padding: 1.5rem 1.5rem calc(1.6rem + env(safe-area-inset-bottom)); }
.modal-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  background: var(--blush);
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .7rem;
}
.modal-name { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; color: var(--rose-deep); }
.modal-price { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--wine); margin-top: .3rem; }
.modal-desc { margin-top: .9rem; font-size: 1rem; color: var(--ink); }
.modal-craft { margin-top: .9rem; font-size: .9rem; color: var(--ink-soft); font-style: italic; }
.modal-info .btn-primary { margin-top: 1.3rem; }
.modal-note { margin-top: .8rem; font-size: .78rem; color: var(--ink-soft); text-align: center; }

@media (min-width: 620px) {
  .modal-overlay { align-items: center; padding: 1.5rem; }
  .modal { border-radius: 28px; transform: none; animation: zoomIn .35s var(--ease) forwards; }
}

/* ==========================================================================
   REVELAÇÃO AO ROLAR
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .collections { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .card-desc { font-size: .86rem; }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .brand { justify-self: auto; }
  .brand-logo { height: 62px; }
  .site-header.scrolled .brand-logo { height: 52px; }
  .header-inner { min-height: 82px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .founder-inner { grid-template-columns: 0.85fr 1fr; gap: 3rem; }
  .founder-photo { margin: 0; }
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
  .footer-nav { justify-content: flex-end; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   NOVOS COMPONENTES — badges, variações, cupom, cestinha, VIP
   ========================================================================== */

.btn-sm { padding: .55rem 1.05rem; font-size: .85rem; }

/* ---------- Tag de estoque / encomenda ---------- */
.stock-badge {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.stock-badge.is-stock { background: #e9f4ec; color: #3f7a54; border-color: rgba(63,122,84,.25); }
.stock-badge.is-order { background: var(--blush); color: var(--wine); border-color: rgba(143,74,84,.25); }
.stock-badge.is-out   { background: #f0e6e7; color: #977; border-color: rgba(120,110,110,.25); }

.card-stock {
  position: absolute;
  top: .7rem; right: .7rem;
  background: rgba(252,250,248,.92) !important;
  backdrop-filter: blur(4px);
}
.card.is-out .card-media img,
.card.is-out .card-media .bow-placeholder { opacity: .55; filter: grayscale(.3); }
.add-btn.is-disabled { background: #eee3e4; color: var(--ink-soft); cursor: not-allowed; }
.add-btn.is-disabled:hover { background: #eee3e4; color: var(--ink-soft); }

/* ---------- Modal: galeria de fotos ---------- */
.modal-gallery { display: block; }
.modal-thumbs[hidden] { display: none; }
.modal-thumbs {
  display: flex; gap: .5rem; padding: .8rem 1.5rem 0; flex-wrap: wrap;
}
.modal-thumbs .thumb {
  position: relative;
  width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  border: 2px solid transparent; background: var(--cream-2); cursor: pointer; padding: 0;
  transition: border-color .25s;
}
.modal-thumbs .thumb img,
.modal-thumbs .thumb video { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs .thumb.is-active { border-color: var(--rose); }
.modal-thumbs .thumb .media-play { width: 22px; height: 22px; }
.modal-thumbs .thumb .media-play svg { width: 11px; height: 11px; }

/* ---------- Modal: variações ---------- */
.modal-info .stock-badge { margin: 0 0 .6rem .5rem; vertical-align: middle; }
.modal-variacao[hidden] { display: none; }
.modal-variacao { margin-top: 1.1rem; }
.modal-variacao-label {
  display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-soft); margin-bottom: .5rem;
}
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1.5px solid rgba(168,93,102,.22);
  border-radius: 999px; padding: .3rem .7rem .3rem .35rem; cursor: pointer;
  transition: border-color .25s, transform .2s;
}
.swatch > span { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.swatch .swatch-media { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); flex: none; }
.swatch .swatch-media img,
.swatch .swatch-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch.has-media { padding-left: .3rem; }
.swatch small { font-size: .82rem; font-weight: 600; color: var(--ink); }
.swatch:hover { transform: translateY(-1px); }
.swatch.is-active { border-color: var(--rose); box-shadow: 0 0 0 2px rgba(198,123,133,.2); }

.sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.size {
  min-width: 44px; padding: .5rem .8rem; border-radius: 12px;
  background: #fff; border: 1.5px solid rgba(168,93,102,.22);
  font-weight: 700; font-size: .9rem; color: var(--rose-deep); cursor: pointer;
  transition: all .25s;
}
.size:hover { border-color: var(--rose); }
.size.is-active { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.btn.is-disabled { background: #eee3e4 !important; color: var(--ink-soft) !important; cursor: not-allowed; box-shadow: none; }

/* ---------- Carrinho: variação + cupom ---------- */
.cart-item-var { font-size: .76rem; color: var(--rose); font-weight: 600; margin-top: .1rem; }
.cart-item-total { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--wine); }

.cart-coupon { display: flex; gap: .5rem; margin-bottom: .5rem; }
.cart-coupon input {
  flex: 1; min-width: 0; font-family: var(--body); font-size: .9rem; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(195,161,93,.3); border-radius: 999px;
  padding: .55rem .95rem; transition: border-color .25s;
}
.cart-coupon input:focus { outline: none; border-color: var(--rose); }
.cart-coupon .btn-sm { white-space: nowrap; }
.cart-coupon-msg { font-size: .78rem; margin-bottom: .5rem; min-height: 1em; }
.cart-coupon-msg.is-good { color: #3f7a54; }
.cart-coupon-msg.is-bad  { color: var(--wine); }
.cart-total em { font-style: normal; font-size: .78rem; color: var(--gold); font-weight: 700; }

/* ---------- Cestinha flutuante (FAB) ---------- */
.fab-cart[hidden] { display: none; }
.fab-cart {
  position: fixed;
  right: clamp(1rem, 4vw, 1.6rem);
  bottom: calc(clamp(1rem, 4vw, 1.6rem) + env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--rose); color: #fff;
  border: none; border-radius: 999px;
  padding: .7rem 1.1rem .7rem .9rem; cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(168,93,102,.75);
  transition: transform .3s var(--ease), background .3s;
  animation: fabIn .4s var(--ease);
}
@keyframes fabIn { from { transform: translateY(20px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.fab-cart:hover { background: var(--rose-deep); transform: translateY(-3px); }
.fab-cart.pulse { animation: fabPulse .5s var(--ease); }
@keyframes fabPulse { 0%,100% { transform: none; } 40% { transform: scale(1.12); } }
.fab-cart .fab-count {
  position: absolute; top: -6px; left: -6px;
  background: var(--gold); color: #fff;
  font-size: .7rem; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.fab-cart .fab-total { font-weight: 700; font-size: .92rem; }
@media (min-width: 860px) {
  .fab-cart { right: 1.8rem; bottom: 1.8rem; }
}

/* ---------- Grupo VIP ---------- */
.vip-card {
  max-width: 44rem; margin-inline: auto; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, var(--blush) 0%, var(--cream) 72%);
  border: 1px solid rgba(195,161,93,.24);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.3rem, 5vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}
.vip-text { max-width: 34rem; margin: .9rem auto 1.6rem; color: var(--ink); font-size: 1.04rem; }
.vip-form { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.vip-form input {
  flex: 1 1 200px; min-width: 0; max-width: 320px;
  font-family: var(--body); font-size: .96rem; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(195,161,93,.35); border-radius: 999px;
  padding: .8rem 1.2rem; transition: border-color .25s;
}
.vip-form input:focus { outline: none; border-color: var(--rose); }
.vip-form .btn { flex: 0 0 auto; }
.vip-note { min-height: 1.2em; margin-top: .9rem; font-size: .9rem; font-weight: 600; }
.vip-note.is-good { color: #3f7a54; }
.vip-note.is-bad  { color: var(--wine); }
@media (min-width: 560px) {
  .vip-form { flex-wrap: nowrap; }
}
