:root {
  --bg: #f6f1ea;
  --bg-2: #efe7dc;
  --card: #ffffff;
  --ink: #1f1c19;
  --muted: #6d655b;
  --line: #e4dbcf;
  --blue: #1f4e8c;
  --blue-soft: #e6eef8;
  --terra: #b5532f;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(31,28,25,.05), 0 12px 32px -12px rgba(31,28,25,.18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #151311; --bg-2: #1c1a17; --card: #1f1d1a; --ink: #f3ede4; --muted: #a79d8f; --line: #34302b; --blue-soft: #1b2a40; }
}
:root[data-theme="dark"] { --bg: #151311; --bg-2: #1c1a17; --card: #1f1d1a; --ink: #f3ede4; --muted: #a79d8f; --line: #34302b; --blue-soft: #1b2a40; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 22px; }
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #173d70; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 20px; }
.brand-mark { width: 22px; height: 22px; border-radius: 50% 50% 8px 8px; background: linear-gradient(160deg, var(--blue), #7aa6d8); box-shadow: inset 0 -4px 0 rgba(255,255,255,.25); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: #fff; background: var(--blue); padding: 9px 16px; border-radius: 999px; }
.nav-links .nav-cta:hover { background: #173d70; color: #fff; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Herói */
.hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.hero-stats span { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: 260px 260px 28px 28px; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -18px; bottom: 36px; background: var(--card); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); font-size: 14px; max-width: 220px; }
.hero-badge strong { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; }
.hero-thumbs { position: absolute; right: -12px; top: 28px; display: grid; gap: 10px; }
.hero-thumbs img { width: 92px; height: 92px; border-radius: 18px; object-fit: cover; border: 4px solid var(--bg); box-shadow: var(--shadow); }

/* Tiras e cartões */
.marquee { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; }
.marquee-track { display: flex; gap: 48px; padding: 18px 0; white-space: nowrap; font-family: var(--serif); font-size: 22px; color: var(--muted); justify-content: center; flex-wrap: wrap; }
.marquee-track span::before { content: "✻"; margin-right: 48px; color: var(--terra); }
.marquee-track span:first-child::before { content: none; margin: 0; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--card); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease; }
.card:hover { transform: translateY(-4px); }
.card .media { aspect-ratio: 4/5; background: var(--bg-2); overflow: hidden; position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.04); }
.card .count { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.card .body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.card h3 { font-size: 20px; }
.card .meta { font-size: 14px; color: var(--muted); }
.card .price { margin-top: 6px; font-weight: 600; }
.card .price small { font-weight: 400; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step .n { font-family: var(--serif); font-size: 34px; color: var(--terra); line-height: 1; }
.step h3 { margin: 14px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; }
.about-gallery img:nth-child(2) { margin-top: 38px; }
.about-text p { color: var(--muted); font-size: 17px; }
.feature-list { display: grid; gap: 14px; margin-top: 24px; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: start; }
.feature-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 9px; flex: 0 0 10px; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--terra); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta-band { background: var(--ink); color: var(--bg); border-radius: 32px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--bg); }
.cta-band p { margin: 10px 0 0; opacity: .75; max-width: 520px; }
.cta-band .btn { background: var(--bg); color: var(--ink); }

/* Página de produto */
.crumbs { font-size: 14px; color: var(--muted); padding: 28px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 24px 0 40px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; border-radius: 28px; overflow: hidden; background: var(--bg-2); aspect-ratio: 4/5; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; inset: auto 14px 14px; display: flex; justify-content: space-between; pointer-events: none; }
.gallery-nav button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 20px; cursor: pointer; box-shadow: var(--shadow); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 14px; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { font-size: clamp(32px, 4vw, 48px); }
.info .kicker { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.info .price-now { font-family: var(--serif); font-size: 30px; margin: 18px 0 6px; }
.info .price-now small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.lead { font-size: 17px; color: var(--ink); margin: 18px 0; }
.closing { color: var(--muted); }
.sizes { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); margin: 24px 0; }
.sizes h3 { font-size: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 600; }
.size-row { width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.size-row:last-child { border-bottom: 0; }
.size-row:hover { background: var(--bg-2); }
.size-row[aria-pressed="true"] { background: var(--blue-soft); }
.size-row .dim { font-weight: 600; }
.size-row .cm { color: var(--muted); font-size: 14px; }
.size-row .pr { font-weight: 600; }
.size-row .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.size-row[aria-pressed="true"] .radio { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 45%, transparent 50%); }
.size-note { font-size: 13px; color: var(--muted); padding: 12px 20px; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 28px; }
.details { border-top: 1px solid var(--line); padding-top: 22px; }
.details h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.details ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.details .notes { margin-top: 22px; background: var(--card); border-radius: 18px; padding: 18px 22px; }
.details .notes li { color: var(--muted); }
.related { padding: 40px 0 88px; }

/* Encomenda */
.order-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 72px 0 88px; align-items: start; }
.order-side p { color: var(--muted); }
.summary { margin-top: 28px; background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--ink); font-weight: 600; font-size: 17px; }
form.order { background: var(--card); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
label span.req { color: var(--terra); }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.check { display: flex; gap: 10px; align-items: start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 14px; padding: 14px 16px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: #e7f4ec; color: #17633a; }
.form-msg.err { display: block; background: #fbeae4; color: #8c3416; }
.success { text-align: center; padding: 40px 10px; }
.success h2 { margin-bottom: 12px; }

/* Página simples */
.page { padding: 72px 0 88px; }
.page h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 20px; }
.page .lead { max-width: 720px; color: var(--muted); font-size: 19px; }
.prose { max-width: 760px; color: var(--muted); font-size: 17px; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 30px; color: var(--ink); margin: 44px 0 14px; }

.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; }
.footer-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.footer-grid a { display: block; margin-bottom: 6px; color: var(--ink); }
.footer-legal { padding: 24px 0 36px; font-size: 13px; color: var(--muted); margin-top: 36px; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid, .product, .order-wrap, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-thumbs { display: none; }
  .hero-badge { left: 12px; bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 28px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav { height: 60px; gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 18px; height: 18px; }
  .nav-links .nav-cta { padding: 8px 12px; font-size: 14px; }
  .lang button { padding: 5px 9px; }
  .section { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  form.order { padding: 24px; }
  .hero { padding: 44px 0 24px; }
  .hero-stats { gap: 24px; }
  .about-gallery img:nth-child(2) { margin-top: 18px; }
}
