@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/instrument-serif-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format('woff2')}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/baloo-2-latin-800-normal.woff2) format('woff2')}
/* tulipa — estilos partilhados (Plus Jakarta Sans + Instrument Serif) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FBF6EE; color: #1A1A2E; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #E4623B; outline-offset: 3px; }
.page { container-type: inline-size; min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1 0 auto; }
.serif { font-family: 'Instrument Serif', serif; }
.px { padding-left: clamp(20px, 4cqi, 56px); padding-right: clamp(20px, 4cqi, 56px); }
.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; }
[hidden] { display: none !important; }

/* ---------- cabeçalho ---------- */
.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 4cqi, 56px); }
.site-header.is-solid { background: #1C2150; color: #FBF6EE; }
.site-header.is-hero { color: inherit; }
.logo { color: inherit; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; min-height: 48px; }
.nav-desk { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.nav-link { color: inherit; text-decoration: none; padding: 6px 0; }
.nav-link[aria-current="page"], .nav-link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.hdr-chip { height: 44px; padding: 0 14px; border-radius: 999px; color: inherit; text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; color: inherit; display: none; align-items: center; justify-content: center; cursor: pointer; }
.menu-drawer { background: #1C2150; color: #FBF6EE; padding: 8px clamp(20px, 4cqi, 56px) 20px; }
.menu-drawer nav { display: flex; flex-direction: column; }
.menu-drawer a { min-height: 52px; display: flex; align-items: center; color: #FBF6EE; text-decoration: none; font-size: 18px; font-weight: 600; border-bottom: 1px solid rgba(251,246,238,.15); }
.menu-drawer a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@container (max-width: 860px) {
  .nav-desk { display: none; }
  .menu-btn { display: flex; }
  .hdr-chip { padding: 0 12px; }
}
@container (max-width: 380px) { .logo { font-size: 17px; } }

/* ---------- rodapé ---------- */
.foot-small { background: #1C2150; color: #C9CCEB; padding: 28px clamp(20px, 4cqi, 56px); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; font-size: 13px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; }
.foot-nav a { color: #FBF6EE; min-height: 32px; display: inline-flex; align-items: center; }
.foot-big { background: #1C2150; color: #FBF6EE; padding: clamp(48px, 6cqi, 88px) clamp(20px, 4cqi, 56px) 32px; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot-news { flex: 1 1 320px; max-width: 480px; }
.foot-claim { margin: 0; font-family: 'Instrument Serif', serif; font-size: clamp(30px, 3.4cqi, 44px); line-height: 1.05; }
.foot-note { margin: 14px 0 0; font-size: 14px; color: #C9CCEB; line-height: 1.5; }
.foot-note a { color: #FBF6EE; }
.foot-word { margin: clamp(40px, 6cqi, 80px) 0 0; text-align: center; font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; font-size: clamp(84px, 21cqi, 320px); letter-spacing: -0.01em; line-height: .9; background: linear-gradient(90deg, #B8C8E6, #EF7FB8 50%, #F4833D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-copy { margin: 24px 0 0; font-size: 13px; color: #C9CCEB; }

/* ---------- títulos de secção ---------- */
.sec { padding: clamp(56px, 8cqi, 120px) clamp(20px, 4cqi, 56px) 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 2px solid #1A1A2E; padding-top: 20px; margin-bottom: 32px; }
.h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 4cqi, 56px); line-height: 1; letter-spacing: -0.04em; }
.sub { margin: 10px 0 0; font-size: 15px; color: #5C5A72; line-height: 1.5; }
.link-u { color: #1A1A2E; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- botões ---------- */
.btn { min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; background: #1C2150; color: #FBF6EE; text-decoration: none; font: inherit; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.btn:hover { filter: brightness(1.15); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-ghost { background: #FFFFFF; color: #1C2150; border: 1.5px solid #1C2150; }
.btn-orange { background: #E4623B; color: #FFFFFF; }

/* ---------- cartões de peça ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 21cqi, 320px), 1fr)); gap: clamp(28px, 4cqi, 56px) clamp(14px, 2cqi, 28px); }
.card { position: relative; min-width: 0; }
.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.card-img { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: #F6F0E7; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card-link:hover .card-img img { transform: scale(1.03); }
.tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1A1A2E; background: #FBF6EE; padding: 5px 10px; border-radius: 999px; }
.tag-new { background: #E4623B; color: #FFFFFF; }
.badge-sold, .badge-res { position: absolute; right: 12px; bottom: 12px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: #FBF6EE; background: #1A1A2E; padding: 4px 14px; border-radius: 999px; }
.badge-res { background: #9A3412; }
.card-row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.card-num { font-size: 13px; font-weight: 700; color: #5C5A72; }
.card-name { font-family: 'Instrument Serif', serif; font-size: clamp(22px, 2.2cqi, 32px); line-height: 1; }
.card-price { margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; }
@container (max-width: 520px) { .card-price { font-size: 13px; } .card-name { font-size: 22px; } }
.card-colors { font-size: 14px; color: #5C5A72; margin-top: -4px; }
.fav-btn { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251,246,238,.94); color: #1C2150; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(28,33,80,.14); }

/* ---------- slide de novidades ---------- */
.track { display: flex; gap: clamp(14px, 2cqi, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.track .slide { flex: 0 0 calc((100% - 3 * clamp(14px, 2cqi, 28px)) / 4); scroll-snap-align: start; }
@container (max-width: 700px) { .track .slide { flex-basis: 72%; } }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #1A1A2E; background: #FBF6EE; color: #1A1A2E; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.arrow[disabled] { opacity: .35; cursor: default; }

/* ---------- gorro desenhado (criar / exemplos) ---------- */
.beanie { position: relative; display: flex; flex-direction: column; align-items: center; }
.beanie .b-body { width: 86%; aspect-ratio: 1/0.86; border-radius: 50% 50% 6% 6% / 64% 64% 6% 6%; box-shadow: inset -14px -6px 28px rgba(0,0,0,.10), inset 10px 4px 22px rgba(255,255,255,.12); }
.beanie .b-cuff { width: 100%; aspect-ratio: 1/0.12; margin-top: -3%; border-radius: 8px; box-shadow: inset 0 4px 0 rgba(0,0,0,.07), inset 0 -4px 8px rgba(0,0,0,.08); }
.beanie .b-shadow { width: 92%; height: 16px; margin-top: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(28,33,80,.18), rgba(28,33,80,0)); }

/* ---------- formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.input { min-height: 48px; padding: 0 14px; border: 1.5px solid #CFC6B6; border-radius: 10px; background: #FFFFFF; color: #1A1A2E; font: inherit; font-size: 16px; font-weight: 500; width: 100%; }
.input:focus { border-color: #1C2150; }
select.input { padding-right: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row > * { flex: 1 1 200px; }
.notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.notice-err { background: #FCE3D3; color: #7A2A0E; }
.notice-ok { background: #DCEFE2; color: #1F4B2D; }
.muted { color: #5C5A72; }
.skeleton { background: linear-gradient(90deg, #EFE7DA, #F7F1E7, #EFE7DA); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 4px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
