/* gosta de ti — estilos públicos */
:root {
  --bg: #fff8f9;
  --surface: #ffffff;
  --pink-50: #fff1f4;
  --pink-100: #fde8ee;
  --pink-200: #f9d2dd;
  --pink-300: #f2b3c4;
  --pink-400: #e98fa8;
  --red: #c4122f;
  --red-dark: #9a0d24;
  --text: #3b2530;
  --muted: #6b5560;
  --border: #f0d5dd;
  --ok: #2d6a4f;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -18px rgba(150, 40, 80, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--text); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 28px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; z-index: 100; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- ícones ---------- */
.icon-heart { width: 1.4em; height: 1.4em; fill: var(--red); flex: none; }
.icon-wa { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.3em;
  border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--pink-300); }
.btn-ghost:hover { border-color: var(--red); color: var(--red-dark); }
.btn-danger { background: var(--surface); color: var(--red-dark); border-color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: .4em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--red); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 249, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .45em; font: 600 1.45rem/1 var(--serif); color: var(--text); text-decoration: none; margin: 0; }
.brand:hover { color: var(--text); }
.brand small { font: 500 .8rem var(--sans); color: var(--muted); }
.nav-wrap { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .5em .8em; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; }
.main-nav a:hover { background: var(--pink-100); }
.lang-switch { display: flex; padding: 3px; background: var(--pink-100); border-radius: 999px; }
.lang-switch a { min-width: 44px; min-height: 36px; display: grid; place-items: center; padding: 0 .6em; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.lang-switch a[aria-current="true"] { background: var(--surface); color: var(--red-dark); box-shadow: 0 1px 4px rgba(150, 40, 80, .18); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; position: relative; transition: transform .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 859px) {
  .js .menu-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .nav-wrap { width: 100%; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; margin-left: 0; }
  .js .nav-wrap { display: none; }
  .js .nav-wrap.open { display: flex; }
  .nav-wrap nav, .main-nav { width: 100%; }
  .main-nav { flex-direction: column; }
  .main-nav a { padding: .75em 1em; }
  .header-cta { flex: 1; }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% 10%, var(--pink-200), transparent 60%), linear-gradient(180deg, var(--pink-100), var(--bg)); overflow: hidden; }
.hero-inner { display: grid; gap: 32px; align-items: center; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 8vw, 96px); }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.2fr .8fr; } }
.eyebrow { display: inline-block; padding: .3em .9em; border-radius: 999px; background: var(--surface); color: var(--red-dark); font-weight: 600; font-size: .9rem; border: 1px solid var(--pink-200); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions.center { justify-content: center; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.hero-art .icon-heart { width: 42%; height: 42%; position: relative; filter: drop-shadow(0 18px 30px rgba(196, 18, 47, .25)); }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { inset: 6% 10% 14% 6%; background: var(--pink-200); border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; }
.blob-2 { width: 34%; height: 34%; right: 2%; top: 4%; background: var(--pink-300); opacity: .6; }
.blob-3 { width: 18%; height: 18%; left: 6%; bottom: 6%; background: #fff; border: 2px solid var(--pink-300); }
@media (max-width: 859px) { .hero-art { max-width: 220px; order: -1; } }

/* ---------- secções ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-tight { padding-top: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.section-head .section-title { margin: 0; }
.section-title { position: relative; }
.page-head { background: linear-gradient(180deg, var(--pink-100), var(--bg)); padding: 40px 0 16px; }
.empty { padding: 32px; text-align: center; background: var(--surface); border: 1px dashed var(--pink-300); border-radius: var(--radius); color: var(--muted); }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--pink-50); border-left: 4px solid var(--red); }

.values { background: var(--surface); border-block: 1px solid var(--border); }
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .value-list { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 24px; border-radius: var(--radius); background: var(--pink-50); }
.value p { margin: 0; color: var(--muted); }
.value-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--surface); color: var(--red-dark); font: 700 1.1rem var(--serif); border: 2px solid var(--pink-300); }

.closing { background: var(--pink-100); }
.closing-inner { text-align: center; max-width: 720px; }

/* ---------- grelha de produtos ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--pink-50); }
.card-media img, .card-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 16px; }
.card-title { font-size: 1.05rem; margin: 0 0 4px; font-family: var(--sans); font-weight: 600; }
.card-price { margin: 0; color: var(--red-dark); font-weight: 700; }
.card-sizes { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.badge { display: inline-block; padding: .2em .7em; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--pink-100); color: var(--text); }
.badge-soldout { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--red-dark); border: 1px solid var(--pink-300); }
.img-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--pink-100); }
.img-placeholder .icon-heart { width: 30%; height: 30%; opacity: .4; }

/* ---------- catálogo ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.chip { flex: none; padding: .5em 1.1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--pink-300); color: var(--text); text-decoration: none; font-weight: 500; min-height: 40px; display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--red); color: var(--red-dark); }
.chip[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.filters { display: grid; gap: 12px 16px; grid-template-columns: 1fr 1fr; align-items: end; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.filters .field-grow { grid-column: 1 / -1; }
.filters .check, .filter-actions { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .filters { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .filters .field-grow { grid-column: auto; }
  .filters .check { grid-column: 1 / 3; }
  .filter-actions { grid-column: 3 / -1; justify-content: flex-end; }
}
.filter-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.results-count { margin: 18px 0; color: var(--muted); font-weight: 500; }
.cat-group + .cat-group { margin-top: 48px; }

/* ---------- formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .upload-form label { font-weight: 600; font-size: .92rem; }
input[type="text"], input[type="search"], input[type="password"], input[type="number"], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: .6em .85em; border: 1.5px solid var(--pink-300); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font: inherit; font-size: 1rem; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: 3px solid var(--pink-200); outline-offset: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input, .switch-row input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }

/* ---------- produto ---------- */
.breadcrumbs { padding: 20px 0; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--muted); }
.product { display: grid; gap: 32px; margin-bottom: 32px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } }
.gallery { min-width: 0; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); background: var(--pink-50); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { list-style: none; display: flex; gap: 10px; padding: 12px 0 0; margin: 0; overflow-x: auto; }
.gallery-thumbs a { display: block; width: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--pink-50); }
.gallery-thumbs a[aria-current="true"] { border-color: var(--red); }
.gallery-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .product-info { position: sticky; top: 92px; } }
.product-price { font: 700 1.8rem var(--serif); color: var(--red-dark); margin-bottom: 4px; }
.stock { font-weight: 600; font-size: .95rem; }
.stock.in { color: var(--ok); }
.stock.out { color: var(--red-dark); }
.buy { margin: 20px 0 28px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 14px; }
.buy p { margin: 0; }
.sizes { border: 0; padding: 0; margin: 0; }
.sizes legend { font-weight: 600; margin-bottom: 10px; }
.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-option span { display: grid; place-items: center; min-width: 52px; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--pink-300); border-radius: 12px; background: #fff; font-weight: 600; }
.size-option input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.size-option input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
.product-desc h2 { font-size: 1.3rem; }

/* ---------- textos legais ---------- */
.prose { background: var(--surface); padding: clamp(20px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--border); }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }
mark.todo { background: #fff3b0; color: #4a3b00; padding: 0 .25em; border-radius: 4px; }

/* ---------- 404 ---------- */
.error-page { padding: clamp(48px, 10vw, 120px) 0; }
.error-code { display: flex; align-items: center; justify-content: center; gap: .1em; font: 700 clamp(4rem, 3rem + 6vw, 7rem)/1 var(--serif); color: #cf4f77; margin-bottom: 16px; }
.error-code .icon-heart { width: .9em; height: .9em; }

/* ---------- rodapé ---------- */
.site-footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--border); padding-top: 40px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-title { font: 600 1rem var(--sans); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 16px; padding-bottom: 24px; font-size: .9rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- aviso de cookies ---------- */
.cookie-banner { position: fixed; inset: auto 12px 12px 12px; z-index: 90; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 760px; width: 100%; background: var(--surface); border: 1px solid var(--pink-300); border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(120, 30, 60, .45); padding: 20px; max-height: calc(100vh - 24px); overflow-y: auto; }
.cookie-inner h2 { font-size: 1.2rem; }
.cookie-inner p { font-size: .95rem; }
.cookie-prefs { display: grid; gap: 10px; margin-bottom: 16px; }
.switch-row { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--pink-50); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 559px) { .cookie-actions .btn { flex: 1 1 100%; } }

.preview-bar { background: #fff3b0; color: #4a3b00; text-align: center; padding: 10px 16px; font-weight: 600; }
.preview-bar a { color: #4a3b00; }

/* ---------- redes sociais ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.icon-social { width: 1.25em; height: 1.25em; flex: none; }
.social-link { display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-decoration: none; color: var(--text); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.social-icons .social-link { width: 40px; height: 40px; background: var(--pink-100); }
.social-icons .social-link:hover { background: var(--red); color: #fff; }
.social-buttons .social-link { min-height: 44px; padding: .5em 1.1em; background: var(--surface); border: 1.5px solid var(--pink-300); font-weight: 600; }
.social-buttons .social-link:hover { border-color: var(--red); color: var(--red-dark); }
.closing-social { margin-top: 28px; display: grid; justify-items: center; gap: 4px; }
.closing-social p { margin: 0 0 6px; }
@media (max-width: 859px) { .nav-wrap .social-icons { order: 2; } }
