:root {
  --vinho: #0B1A48; --vinho-d: #000C34;
  --blush: #E4E8EF; --blush-lt: #F1F3F7; --blush-mid: #CBD3DF;
  --gold: #0050C8; --gold-lt: #3B82E6; --gold-pale: #CFE0F7;
  --dark: #111111; --mid: #1E2A3D; --gray: #5E6675;
  --off-white: #F7F5F0; --white: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; }
a { color: inherit; }
button { font-family: inherit; }

/* NAV */
nav { position: fixed; top: 0; width: 100%; z-index: 900; background: rgba(247,245,240,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--blush-mid); padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo-wrap { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--mid); letter-spacing: .02em; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--vinho); }
.nav-links a.active { font-weight: 700; }
.nav-cta { background: var(--vinho); color: var(--white); padding: 9px 22px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .2s; }
.nav-cta:hover { background: var(--vinho-d); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; display: block; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 1000; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 24px; font-family: 'Cormorant Garamond', serif; color: var(--dark); text-decoration: none; font-weight: 600; }
.mm-close { position: absolute; top: 22px; right: 22px; font-size: 28px; cursor: pointer; color: var(--gray); background: none; border: none; }

/* PAGE HEAD */
.page-head { margin-top: 68px; background: linear-gradient(155deg, var(--blush-lt) 0%, var(--off-white) 60%, #fff 100%); padding: 44px 5vw 40px; text-align: center; }
.crumbs { font-size: 12.5px; color: var(--gray); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--vinho); font-weight: 600; }
.page-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; line-height: 1.1; color: var(--dark); margin-bottom: 12px; }
.page-title em { color: var(--vinho); font-style: italic; }
.page-sub { font-size: 15.5px; color: var(--gray); line-height: 1.65; max-width: 620px; margin: 0 auto 22px; }
.info-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.info-pill { background: var(--white); border: 1px solid var(--blush-mid); color: var(--mid); font-size: 12.5px; font-weight: 600; padding: 7px 16px; border-radius: 20px; }
.info-pill b { color: var(--vinho); }

/* CATALOG */
.catalog-wrap { padding: 48px 5vw 24px; max-width: 1280px; margin: 0 auto; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 26px; align-items: start; }
.pcard { background: var(--white); border: 1px solid var(--blush-mid); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(17,17,17,.05); display: flex; flex-direction: column; }
.pcard-img { aspect-ratio: 4/3; background: var(--blush-lt); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.pcard-name { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 700; line-height: 1.15; }
.pcard-desc { font-size: 13.5px; color: var(--gray); line-height: 1.6; margin-top: -8px; }
.pcard-from { font-size: 13px; color: var(--gray); }
.pcard-from strong { font-size: 24px; color: var(--vinho); font-weight: 700; }

.tiers { border: 1px solid var(--blush-mid); border-radius: 10px; overflow: hidden; }
.tier { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; font-size: 13px; color: var(--mid); background: var(--off-white); border-bottom: 1px solid var(--blush-mid); transition: background .2s; }
.tier:last-child { border-bottom: none; }
.tier span:last-child { font-weight: 600; }
.tier.active { background: var(--vinho); color: var(--white); }
.tier.active span:last-child { color: var(--white); }

.field-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.field-label small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--gray); }
.colors { display: flex; gap: 9px; flex-wrap: wrap; }
.color-chip { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--blush-mid); cursor: pointer; padding: 0; position: relative; }
.color-chip[aria-pressed="true"] { outline: 2px solid var(--vinho); outline-offset: 2px; }
.color-name { font-size: 12.5px; color: var(--gray); margin-top: 7px; }

.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.variant { display: flex; flex-direction: column; gap: 5px; }
.variant label { font-size: 12.5px; font-weight: 700; color: var(--mid); }
.stepper { display: flex; align-items: center; border: 1px solid var(--blush-mid); border-radius: 8px; background: var(--off-white); overflow: hidden; }
.stepper button { width: 28px; height: 36px; border: none; background: none; cursor: pointer; font-size: 17px; color: var(--vinho); font-weight: 700; }
.stepper button:hover { background: var(--blush-lt); }
.stepper input { width: 100%; min-width: 0; border: none; background: none; text-align: center; font-size: 14px; font-weight: 600; color: var(--dark); padding: 0; -moz-appearance: textfield; font-family: inherit; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

textarea.obs { width: 100%; border: 1px solid var(--blush-mid); border-radius: 8px; background: var(--off-white); padding: 10px 12px; font-size: 13.5px; font-family: inherit; resize: vertical; min-height: 58px; color: var(--dark); }
textarea.obs:focus { outline: none; border-color: var(--vinho); background: var(--white); }

.summary { background: var(--blush-lt); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--mid); }
.summary-row { display: flex; justify-content: space-between; }
.summary-total { font-size: 18px; font-weight: 700; color: var(--vinho); border-top: 1px solid var(--blush-mid); padding-top: 8px; margin-top: 4px; }
.warn { font-size: 12.5px; color: var(--vinho); font-weight: 600; min-height: 17px; }

.btn-wpp { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; background: var(--vinho); color: var(--white); border: none; border-radius: 9px; padding: 14px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, transform .15s; }
.btn-wpp:hover:not(:disabled) { background: var(--vinho-d); transform: translateY(-1px); }
.btn-wpp:disabled { background: var(--blush-mid); color: var(--gray); cursor: not-allowed; }

.disclaimer { max-width: 1280px; margin: 8px auto 0; padding: 0 5vw; font-size: 12.5px; color: var(--gray); text-align: center; line-height: 1.6; }

/* HOW + CTA */
.how { background: var(--off-white); padding: 60px 5vw; margin-top: 56px; }
.how-title { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3vw, 38px); font-weight: 600; margin-bottom: 34px; }
.how-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.how-step { text-align: center; }
.how-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--vinho); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 12px; }
.how-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; margin-bottom: 6px; }
.how-step p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }
.cta-band { background: var(--dark); padding: 54px 5vw; text-align: center; color: var(--white); }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 22px; }
.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--dark); padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background .2s, transform .15s; }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,.55); padding: 28px 5vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid rgba(255,255,255,.08); }
footer p { font-size: 12.5px; line-height: 1.6; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; }
footer a:hover { color: var(--gold-lt); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .how-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .catalog { grid-template-columns: 1fr; }
  .page-head { padding: 34px 5vw 32px; }
}

.img-toggle { display: flex; gap: 8px; padding: 12px 22px 0; }
.img-tab { flex: 1; border: 1px solid var(--blush-mid); background: var(--off-white); color: var(--mid); border-radius: 20px; padding: 8px 10px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.img-tab[aria-pressed="true"] { background: var(--vinho); border-color: var(--vinho); color: #fff; }

.pcard-img { position: relative; cursor: zoom-in; }
.pcard-img img { transition: transform .12s ease-out; will-change: transform; }
.zoom-hint { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: rgba(17,17,17,.65); color: #fff; font-size: 11.5px; padding: 5px 10px; border-radius: 14px; pointer-events: none; }
.pcard-img:hover .zoom-hint { opacity: 0; }
.color-chip { width: 28px; height: 28px; border: 2px solid #d9d2d6; }
.plus-note { font-size: 12px; color: var(--vinho); font-weight: 600; margin: -2px 0 8px; }
.pinfo { border-top: 1px solid var(--blush-mid); margin-top: 4px; }
.pinfo details { border-bottom: 1px solid var(--blush-mid); }
.pinfo summary { cursor: pointer; padding: 14px 2px; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; }
.pinfo summary::-webkit-details-marker { display: none; }
.pinfo summary::after { content: '+'; color: var(--vinho); font-size: 20px; line-height: 1; }
.pinfo details[open] summary::after { transform: rotate(45deg); }
.pinfo details p { font-size: 13.5px; color: var(--gray); line-height: 1.65; padding: 0 2px 12px; }
@media (hover: none) { .zoom-hint { display: none; } }

/* cards de listagem (compartilhado) */
nav { background: #fff !important; border-bottom: 1px solid #eee !important; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
@media (max-width: 860px) { .nav-links { position: static; transform: none; } }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.shop-card { border: 1px solid #e8e0e5; border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; text-decoration: none; color: var(--dark); transition: box-shadow .2s, transform .2s; }
.shop-card:hover { box-shadow: 0 8px 24px rgba(17,17,17,.12); transform: translateY(-3px); }
.shop-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--blush-lt); }
.shop-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-name { font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.shop-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.shop-brand { font-size: 11px; color: var(--gray); letter-spacing: .04em; }
.shop-price { font-weight: 700; font-size: 18px; }
.shop-price small { font-size: 11px; font-weight: 500; color: var(--gray); margin-right: 3px; }
.shop-btn { margin-top: auto; background: var(--dark); color: #fff; text-align: center; padding: 12px; font-size: 14px; border-radius: 3px; font-weight: 500; }
.shop-card:hover .shop-btn { background: var(--vinho); }
