/* Layout: página branca, coluna central de 1160px, muito ar entre secções; cor só em toques */
:root {
  --bg: #ffffff;
  --ink: #2b2b2b;
  --muted: #5e5e5e;
  --line: #ececea;
  --soft: #f6f6f3;
  --mint: #e3f6ee;
  --mint-dot: #7fd1b0;
  --butter: #fff3b8;
  --butter-dot: #ffd95a;
  --cherry: #d93a4f;
  --display: 'Amatic SC', 'Comic Neue', cursive;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: .02em; line-height: 1; margin: 0; text-wrap: balance; }
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 34em; margin: 0; }
.section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.section.flush { border-top: 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink); font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover { background: var(--soft); }
.btn[aria-disabled="true"] { background: var(--soft); border-color: var(--line); color: var(--muted); cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* Barra de aviso e cabeçalho */
.notice { background: var(--butter); text-align: center; font: 600 13px/1.4 var(--body); padding: 10px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand span { font: 700 32px/1 var(--display); letter-spacing: .02em; }
.nav { display: flex; gap: 30px; font: 600 15px/1 var(--body); }
.nav a { text-decoration: none; padding-block: 8px; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 64px); padding-block: clamp(48px, 8vw, 104px); }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-text h1 { font-size: clamp(56px, 8vw, 92px); line-height: .95; }
.hero-art { flex: 1 1 340px; display: flex; justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.cat img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: 20px; background: var(--soft); transition: transform .25s ease; }
.cat:hover img { transform: scale(1.015); }
.cat-row { display: flex; justify-content: space-between; align-items: center; }
.cat-row span:first-child { font: 700 36px/1 var(--display); }

/* Grelha de produtos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 24px; }
.product { display: flex; flex-direction: column; gap: 10px; }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--soft); }
.product h3 { margin: 4px 0 0; font: 700 16px/1.3 var(--body); }
.product .price { font: 400 15px/1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.product .desc { font-size: 14px; color: var(--muted); margin: 0; }
.product .btn { margin-top: 6px; min-height: 44px; }
.tag-out { align-self: flex-start; font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--soft); padding: 6px 10px; border-radius: 999px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 14px/1 var(--body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

/* Clube */
.center { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 880px; width: 100%; margin: 0 auto; }
.plan { padding: clamp(28px, 4vw, 40px); border-radius: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; background: #fff; }
.plan.featured { background: var(--mint); border-color: var(--mint); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 40px; }
.pill { padding: 6px 12px; border-radius: 999px; background: #fff; font: 700 12px/1 var(--body); }
.amount { font: 300 44px/1 var(--body); font-variant-numeric: tabular-nums; }
.amount small { font-size: 15px; color: var(--muted); font-weight: 400; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: baseline; }
.list li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--mint-dot); transform: translateY(-1px); }
.list.butter li::before { background: var(--butter-dot); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step b { font: 700 40px/1 var(--display); }

/* Duas colunas e formulário */
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 64px); align-items: flex-start; }
.split > * { flex: 1 1 360px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--body); padding: 12px 0; border: 0; border-bottom: 1.5px solid #d6d6d1; background: transparent; color: var(--ink); border-radius: 0; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input[type="file"] { border: 1.5px dashed #c9c9c3; border-radius: 12px; padding: 14px; font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); }
.form-msg { padding: 14px 18px; border-radius: 14px; background: var(--mint); font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* Sobre e newsletter */
.portrait { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; border-radius: 180px 180px 20px 20px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted); font: 600 13px/1 var(--body); letter-spacing: .06em; object-fit: cover; }
.band { background: var(--butter); border-radius: 24px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band form { display: flex; flex-wrap: wrap; gap: 10px; }
.band input { min-width: 0; flex: 1 1 220px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; font: 400 15px/1 var(--body); }

/* Páginas de texto */
.prose { max-width: 680px; }
.prose h2 { font: 700 44px/1 var(--display); margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.ship { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ship th, .ship td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
summary { cursor: pointer; font-weight: 700; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 22px; font: 600 14px/1 var(--body); }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.small { font-size: 13px; color: var(--muted); }

/* ---------- Envelope simples, cresce um pouco ao passar o rato ---------- */
.env-simple { width: 100%; max-width: 300px; height: auto; transform: rotate(-3deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.env-simple:hover { transform: rotate(0deg) scale(1.06); }

/* Fotos que abrem um pouco ao passar o rato */
.photo-frame { display: flex; justify-content: center; }
.photo-frame img { width: 100%; max-width: 380px; border-radius: 20px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.photo-frame:hover img { transform: scale(1.04) rotate(-1deg); }
.portrait { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.portrait:hover { transform: scale(1.03); }

/* Sobre */
.about { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 72px); align-items: flex-start; }
.about-photo { flex: 0 1 360px; min-width: 0; }
.about-photo .portrait { max-width: 360px; width: 100%; }
@media (min-width: 900px) { .about-photo { position: sticky; top: 110px; } }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bio { display: flex; flex-direction: column; gap: 14px; max-width: 36em; }
.bio p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.facts { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; border-block: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts b { font: 700 44px/1 var(--display); }
.facts span { font-size: 14px; color: var(--muted); }
.list.contents { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; }

/* Entradas suaves com o scroll (só para o que ainda não está no ecrã) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.product { transition: transform .25s ease; }
.product:hover { transform: translateY(-4px); }
.product img { transition: transform .35s ease; }
.product:hover img { transform: rotate(-1.5deg) scale(1.02); }

@media (prefers-reduced-motion: reduce) {
  .env-simple, .photo-frame img, .portrait { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

.brand-cherry { width: 40px; height: auto; flex: none; }
.site-footer .brand span { font-size: 30px; }
.product .stock { font: 600 13px/1 var(--body); color: var(--cherry); }
.product .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-height: 36px; min-width: 52px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 13px/1 var(--body); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.size[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.size.only { cursor: default; background: var(--soft); border-color: transparent; font-weight: 600; }
.product .buy { display: block; }
.product .note { font: 600 12px/1.3 var(--body); color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gallery.two { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 820px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.gallery figcaption { font: 600 14px/1.3 var(--body); color: var(--muted); }
@media (max-width: 720px) { .gallery, .gallery.two { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } }

/* Seletor "Enviar para" */
.zona-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.zona-pick .zona-label { font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.zona-pick .chip { min-height: 40px; padding: 0 14px; }
.plan .note { display: block; margin-top: -6px; }

/* Carrinho */
.brand { margin-right: auto; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; text-decoration: none; margin-left: 8px; }
.cart-link:hover { background: var(--soft); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--cherry); color: #fff; font: 700 11px/20px var(--body); text-align: center; }
.cart-count[hidden] { display: none; }
@media (max-width: 860px) { .cart-link { order: 3; margin-left: 0; } .nav-toggle { order: 4; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 999px; font: 600 14px/1.3 var(--body); box-shadow: 0 8px 30px rgba(0,0,0,.18); transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--butter); margin-left: 6px; }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cart-empty { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cart-list { display: flex; flex-direction: column; }
.cart-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 80px; height: 100px; object-fit: cover; border-radius: 12px; background: var(--soft); }
.cart-info { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font: 700 18px/1 var(--body); cursor: pointer; color: var(--ink); }
.qty button:disabled { color: var(--line); cursor: not-allowed; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-del { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: 600 13px/1 var(--body); padding: 8px 0; }
.cart-sum { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--soft); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum-row.total { font-weight: 700; font-size: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.small { font-size: 13px; margin: 0; }
.zona-sel { display: flex; flex-direction: column; gap: 6px; font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.zona-sel select { font: 600 15px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.plan .zona-sel { margin: 4px 0 2px; }
@media (max-width: 760px) {
  .cart { grid-template-columns: 1fr; gap: 24px; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart-row img { width: 64px; height: 80px; }
  .cart-del { grid-column: 2; justify-self: start; }
  .cart-sum { position: static; }
}
.cart-aviso { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--butter); font-size: 15px; }
