/* 1. CORES E BASE: mude estas variáveis para personalizar a marca. */
:root {
  --rosa: #783e52;
  --rosa-escuro: #592b3b;
  --rosa-claro: #f4e8ec;
  --papel: #fffcfa;
  --texto: #332b2e;
  --texto-suave: #695c61;
  --borda: #ded1d5;
  --branco: #ffffff;
  --fonte-titulo: Georgia, "Times New Roman", serif;
  --fonte-texto: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--texto); background: var(--papel); font-family: var(--fonte-texto); font-size: 16px; line-height: 1.6; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--fonte-titulo); font-weight: 400; }
h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 1.13; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.22; margin-bottom: 12px; }
h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 8px; }
p { margin-bottom: 16px; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .5; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { margin-bottom: 16px; color: var(--rosa); font-size: .78rem; font-weight: 700; letter-spacing: .17em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 10px 18px; background: var(--branco); }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 5px; font-size: .95rem; font-weight: 600; line-height: 1.4; text-align: center; transition: background .15s, color .15s; }
.button-primary { color: white; background: var(--rosa); }
.button-primary:hover { background: var(--rosa-escuro); }
.button-outline { border-color: var(--borda); color: var(--rosa); background: transparent; }
.button-outline:hover { background: var(--rosa-claro); }
.button-full { width: 100%; }
.text-button { padding: 9px 3px; border: 0; color: var(--rosa); background: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }

/* 2. CABEÇALHO E APRESENTAÇÃO */
.demo-banner { padding: 9px 24px; background: var(--rosa-claro); color: var(--rosa-escuro); font-size: .85rem; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--papel); border-bottom: 1px solid var(--borda); }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; }
.brand-name { color: var(--rosa); font-family: var(--fonte-titulo); font-size: 1.8rem; line-height: 1.25; }
.brand-description { font-size: .68rem; letter-spacing: .3em; color: var(--texto-suave); }
nav { display: flex; align-items: center; gap: 32px; font-size: .95rem; }
.catalog-link:hover { color: var(--rosa); text-decoration: underline; text-underline-offset: 5px; }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 50%; padding-inline: 5px; font-size: .8rem; background: var(--rosa); color: white; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 56px 64px; }
.hero-copy { padding-block: 10px; }
.hero-description { max-width: 440px; font-size: 1.08rem; color: var(--texto-suave); margin-bottom: 28px; }
.hero-note { margin: 16px 0 0; color: var(--texto-suave); font-size: .88rem; }
.hero-photo { position: relative; background: #eee7e5; border-radius: 100px 5px 5px 5px; overflow: hidden; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: contain; }
.photo-label { position: absolute; bottom: 18px; left: 18px; right: 18px; width: fit-content; max-width: calc(100% - 36px); padding: 7px 14px; border-radius: 3px; background: var(--papel); color: var(--rosa); font-family: var(--fonte-titulo); font-size: 1.1rem; }

/* 3. CATÁLOGO */
.catalog-section { padding-block: 56px 64px; background: var(--branco); border-block: 1px solid var(--borda); }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > p { color: var(--texto-suave); font-size: .95rem; margin-bottom: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-button { border: 1px solid var(--borda); border-radius: 30px; background: var(--branco); color: var(--texto-suave); padding: 9px 20px; font-size: .9rem; min-height: 44px; }
.filter-button[aria-pressed="true"] { background: var(--rosa); border-color: var(--rosa); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { min-width: 0; display: flex; flex-direction: column; }
.product-image { background: #eee7e5; border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
.product-image img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; }
.product-badge { margin: 0 0 6px; color: var(--texto-suave); font-size: .8rem; }
.product-card h3 { font-family: var(--fonte-titulo); font-size: 1.45rem; font-weight: 400; margin-bottom: 8px; }
.product-card .description { color: var(--texto-suave); font-size: .9rem; line-height: 1.55; flex: 1; margin-bottom: 18px; }
.product-price { color: var(--rosa); font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; }
.product-card .button { width: 100%; }
.how-section { padding-block: 58px; }
.how-section h2 { margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps li { display: flex; gap: 18px; align-items: start; }
.step-number { color: var(--rosa); font-family: var(--fonte-titulo); font-size: 1.6rem; line-height: 1.4; }
.steps p { color: var(--texto-suave); font-size: .92rem; margin: 0; }
.site-footer { padding-block: 34px; border-top: 1px solid var(--borda); }
.footer-content { display: flex; justify-content: space-between; gap: 32px; }
.footer-content p { color: var(--texto-suave); font-size: .88rem; margin: 6px 0 0; }

/* 4. JANELAS E FORMULÁRIOS */
.modal { width: min(610px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--borda); border-radius: 12px; color: var(--texto); background: var(--papel); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgb(40 25 32 / 55%); }
.modal-header { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 20px; }
.modal-header .eyebrow { margin: 0 0 8px; }
.modal-header h2 { margin: 0; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--borda); border-radius: 50%; background: transparent; color: var(--texto); font-size: 1.65rem; line-height: 1; }
.icon-button:hover { background: var(--rosa-claro); }
.product-dialog-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.product-dialog-head img { width: 115px; height: 115px; object-fit: contain; border-radius: 7px; background: #eee7e5; }
.product-dialog-head .eyebrow { font-size: .72rem; margin: 0 0 6px; }
.product-dialog-head h2 { font-size: 1.8rem; }
.product-dialog-head .product-price { margin: 0; }
.included-list { padding-left: 22px; margin-bottom: 24px; color: var(--texto-suave); font-size: .95rem; }
fieldset { min-width: 0; padding: 0; margin: 24px 0; border: 0; }
legend { margin-bottom: 10px; padding: 0; font-weight: 600; }
label { display: block; font-size: .93rem; font-weight: 600; margin-bottom: 7px; }
.optional { font-weight: 400; font-size: .87rem; color: var(--texto-suave); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { display: block; width: 100%; min-width: 0; min-height: 47px; padding: 10px 12px; margin: 0 0 18px; border: 1px solid #bca9b0; border-radius: 5px; color: var(--texto); background: var(--branco); }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #7b6d73; }
input[type="checkbox"], input[type="radio"] { width: 19px; height: 19px; flex: 0 0 19px; margin: 0; accent-color: var(--rosa); }
.addon-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; margin: 0; border-bottom: 1px solid var(--borda); font-weight: 400; }
.addon-row span:last-child { margin-left: auto; white-space: nowrap; color: var(--rosa); font-size: .9rem; }
.add-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.add-row .quantity-input { width: 85px !important; margin: 0 !important; }
.item-total { text-align: right; }
.item-total span { display: block; font-size: .85rem; color: var(--texto-suave); }
.item-total strong { font-size: 1.5rem; color: var(--rosa); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid input, .form-grid select { height: 49px; }
.delivery-options { display: flex; gap: 12px; }
.radio-card { display: flex; flex: 1; align-items: center; gap: 10px; padding: 12px; margin: 0; border: 1px solid var(--borda); border-radius: 5px; }
.field-help { font-size: .86rem; color: var(--texto-suave); }
.notice { padding: 14px 16px; background: var(--rosa-claro); color: var(--rosa-escuro); border-radius: 5px; font-size: .9rem; line-height: 1.5; }

/* 5. CARRINHO E RESUMO */
.empty-state { text-align: center; padding-block: 30px; }
.empty-state p { color: var(--texto-suave); }
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item { padding-block: 18px; border-bottom: 1px solid var(--borda); }
.cart-item-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.cart-item-head h3 { margin: 0; }
.cart-item-head strong { white-space: nowrap; color: var(--rosa); }
.cart-item p { margin: 5px 0; color: var(--texto-suave); font-size: .86rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.quantity-controls { display: flex; align-items: center; gap: 12px; }
.quantity-controls button { width: 40px; height: 40px; border: 1px solid var(--borda); border-radius: 4px; color: var(--rosa); background: var(--branco); font-size: 1.2rem; }
.order-summary { margin-block: 22px 30px; padding: 16px; border-radius: 5px; background: var(--rosa-claro); }
.order-summary > div { display: flex; justify-content: space-between; gap: 16px; }
.order-summary > div + div { margin-top: 8px; font-size: .9rem; color: var(--texto-suave); }
.review { padding-top: 12px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.review textarea { font-size: .92rem; line-height: 1.6; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 20; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 6px; background: var(--rosa-escuro); color: white; box-shadow: 0 6px 20px rgb(40 25 32 / 15%); font-size: .93rem; text-align: center; pointer-events: none; opacity: 0; transform: translate(-50%, 12px); transition: opacity .15s, transform .15s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* 6. CELULAR E TABLET */
@media (max-width: 1000px) {
  .hero { gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .section-heading { display: block; }
  .steps { gap: 20px; }
  .steps li { display: block; }
  .step-number { display: block; margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .demo-banner { padding: 9px 18px; font-size: .78rem; }
  .header-content { min-height: 82px; gap: 12px; }
  .brand-name { font-size: 1.45rem; }
  .brand-description { font-size: .61rem; }
  .catalog-link { display: none; }
  nav { gap: 0; }
  .cart-button { padding: 9px 12px; font-size: .84rem; gap: 7px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero-copy { padding: 0; }
  .hero-description { font-size: 1rem; }
  .hero-photo { border-radius: 60px 5px 5px 5px; }
  .hero-photo img { aspect-ratio: 5/3; }
  .catalog-section { padding-block: 36px; }
  .filters { gap: 8px; margin-bottom: 24px; }
  .filter-button { padding-inline: 13px; font-size: .84rem; }
  .product-grid { gap: 28px 16px; }
  .product-image { margin-bottom: 12px; }
  .product-card h3 { font-size: 1.25rem; }
  .product-card .description { font-size: .88rem; }
  .product-badge { font-size: .76rem; }
  .product-card .button { font-size: .87rem; padding: 11px 8px; }
  .how-section { padding-block: 36px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: flex; }
  .footer-content { flex-direction: column; gap: 20px; }
  .modal { padding: 20px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .product-dialog-head { gap: 14px; }
  .product-dialog-head img { width: 80px; height: 80px; }
  .product-dialog-head h2 { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .brand-name { font-size: 1.25rem; }
  .cart-button { padding-inline: 8px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-dialog-head img { display: none; }
  .cart-item-head { flex-wrap: wrap; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.product-obs{font-size:.87rem;white-space:pre-line;color:#786871;margin:.5rem 0 1rem;padding:.8rem;background:#faf2f5;border-radius:9px}.empty-catalog{grid-column:1/-1;text-align:center;padding:2.2rem;background:#fff;border:1px solid #eadde2;border-radius:14px}
