/* =========================================================
   Larissa Bicker Atelier — estilos
   Tokens em design-system.json
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #faf8f5;
  --cream: #f0e7dc;
  --primary: #684532;
  --primary-hover: #8b5e43;
  --text: #3e3029;
  --text-muted: #776b62;
  --accent: #a5795c;
  --dark: #3d2f28;
  --line: #eee6de;

  --font-heading: Poppins, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;

  --radius-card: 12px;
  --radius-button: 40px;

  /* Layout: conteúdo limitado a --max e margem lateral fluida */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --pad-x: max(var(--gutter), calc((100% - var(--max)) / 2));
  --pad-x-vw: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --section-y: clamp(64px, 9vw, 110px);
  --header-h: 80px;

  /* Movimento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 18px 40px -18px rgba(62, 48, 41, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .brand { font-family: var(--font-heading); }
h1, h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.1; }
h1 { font-size: clamp(42px, 6vw, 88px); margin: 18px 0; }
h2 { font-size: clamp(30px, 3.6vw, 52px); margin: 10px 0 15px; }
h1 em, h2 em { font-weight: 300; color: var(--accent); }
p { line-height: 1.8; color: var(--text-muted); }

[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Ícones (sprite SVG no index.html) — herdam tamanho da fonte e cor do texto */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -.125em;
  fill: currentColor;
}

/* ---------- Componentes compartilhados ---------- */
.eyebrow { font-size: 10px; letter-spacing: .24em; color: #a17155; font-weight: 700; }

/* Botão principal com brilho que atravessa no hover */
.btn {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--primary);
  color: white;
  padding: 17px 28px;
  border-radius: var(--radius-button);
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  transition: background .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
}
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: translateY(0); }

/* Setas dentro de links/botões deslizam no hover */
.btn .icon, .textlink .icon, .outline .icon, .product-meta button .icon { transition: transform .3s var(--ease); }
.btn .icon { font-size: 14px; }
.btn:hover .icon, .outline:hover .icon { transform: translate(2px, -2px); }
.textlink:hover .icon, .product-meta button:hover .icon { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; gap: 10px; font-size: 11px; }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s; }
.textlink .icon { font-size: 14px; }
.textlink:hover { color: #ae7957; }

.outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid #bda28f;
  border-radius: 30px;
  padding: 13px 22px;
  color: #674938;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.iconbtn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: none;
  border: 0;
  color: #654737;
  font-size: 22px;
  padding: 0;
  border-radius: 50%;
  transition: background .25s;
}
.iconbtn:hover { background: #f4ece4; }
/* ícone ☰ ↔ ✕ trocam com rotação */
.menu .icon { grid-area: 1 / 1; transition: transform .35s var(--ease), opacity .25s; }
.menu .icon-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.menu.is-open .icon-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.menu.is-open .icon-close { opacity: 1; transform: none; }

.empty { text-align: center; padding: 65px 20px; color: #8c786b; grid-column: 1 / -1; }

.section { padding: var(--section-y) var(--pad-x); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: 40px;
}
.section-head p { margin: 0; }

/* ---------- Barra de aviso ---------- */
.notice {
  background: #624434;
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: .06em;
}
.notice-icon { color: #d7b79b; margin-left: 4px; animation: twinkle 2.4s ease-in-out infinite; }

/* ---------- Cabeçalho ---------- */
.header {
  height: var(--header-h);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, height .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(62, 48, 41, .25); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 400;
  white-space: nowrap;
  justify-self: start;
}
.brand > span { display: flex; flex-direction: column; line-height: 1.2; }
.brand small {
  font: 500 9px Inter;
  letter-spacing: .42em;
  margin-top: 6px;
  text-align: center;
  color: var(--accent);
}
.brand-mark { font-size: 22px; color: var(--accent); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg); }

.header nav { display: flex; gap: 34px; font-size: 12px; font-weight: 600; }
.header nav a { position: relative; padding: 6px 0; }
.header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.header nav a:hover { color: #ae7957; }
.header nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(760px, calc(100svh - var(--header-h) - 34px));
  background: var(--cream);
  overflow: hidden;
}
.hero-copy {
  padding: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 80px) 0 var(--pad-x-vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-copy > p { max-width: 440px; font-size: 15px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 30px; }
.hero-bottom {
  margin: auto 0 0;
  padding: 40px 0 30px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 11px;
  color: #795b4a;
}
.hero-bottom li { display: inline-flex; align-items: center; gap: 6px; }
.hero-bottom .icon { font-size: 13px; color: var(--accent); }

/* Entrada do hero em cascata */
.hero-copy > * { animation: fadeUp .9s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .34s; }
.hero-copy > :nth-child(4) { animation-delay: .46s; }
.hero-copy > :nth-child(5) { animation-delay: .6s; }
.hero h1 em { display: inline-block; }

.hero-visual { position: relative; min-height: 520px; overflow: hidden; }
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: heroZoom 1.6s var(--ease-out) both;
}
.floating-note {
  position: absolute;
  right: 7%;
  bottom: 10%;
  background: #fff9eddf;
  backdrop-filter: blur(4px);
  padding: 20px 25px;
  border-radius: 8px;
  font: italic 20px/1.4 Poppins;
  color: #805a45;
  box-shadow: var(--shadow-soft);
  animation: noteIn 1s .9s var(--ease-out) both, float 6s 1.9s ease-in-out infinite;
}
.floating-note .icon { font-size: .8em; vertical-align: -.05em; }

/* ---------- Coleções ---------- */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collections button {
  position: relative;
  overflow: hidden;
  border: 1px solid #e7d9cc;
  border-radius: var(--radius-card);
  background: linear-gradient(140deg, #f0e3d6, #e8d3c1);
  min-height: 240px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #543c30;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.collections button:nth-child(2) { background: linear-gradient(140deg, #e7e1d6, #c9b8a5); }
.collections button:nth-child(3) { background: linear-gradient(140deg, #f6e7dd, #e2c5b2); }
.collections button:nth-child(4) { background: linear-gradient(140deg, #e6d4c5, #b99b85); }
/* círculo de luz que cresce no hover */
.collections button::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  transform: scale(.4);
  transition: transform .7s var(--ease);
}
.collections button > * { position: relative; } /* texto acima do círculo decorativo */
.collections button:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.collections button:hover::before { transform: scale(1.3); }
.collections span { font-size: 11px; }
.collections strong { font: 500 24px Poppins; margin-top: auto; }
.collections small { font-size: 11px; line-height: 1.5; margin: 6px 0 12px; }
.collections i {
  align-self: flex-end;
  font-style: normal;
  font-size: 15px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(84, 60, 48, .25);
  transition: background .3s, color .3s, transform .45s var(--ease);
}
.collections button:hover i { background: #543c30; color: #fff; transform: rotate(45deg); }

/* ---------- Loja ---------- */
.shop { background: #fff; }

.filters { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; }
.filters .select { min-width: 190px; }
.filters select {
  border: 1px solid #ddd1c6;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.filters select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(165, 121, 92, .15); }

/* Select com seta própria (substitui a seta nativa, que fica desalinhada) */
.select { position: relative; display: block; }
.select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}
.select .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  font-size: 15px;
  color: var(--accent);
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform .25s var(--ease);
}
.select:focus-within .icon { transform: translateY(-50%) rotate(180deg); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee7e1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
/* ao filtrar/buscar, os cards entram em cascata (--i vem de app.js) */
.product-grid.animate .product-card { animation: fadeUp .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
.product-image { aspect-ratio: 1 / 1; background: #eee1d4; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.07); }

.product-meta { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-meta strong { font-size: 13px; line-height: 1.35; display: block; }
.product-meta small { display: block; color: #998579; margin-top: 6px; line-height: 1.4; }
.product-meta .price { font-weight: 700; margin: 12px 0 14px; }
.product-meta .price span { display: block; font-size: 10px; font-weight: 500; color: #998579; margin-bottom: 2px; }
.product-meta button {
  margin-top: auto;
  width: 100%;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  border-radius: 30px;
  padding: 11px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .25s, transform .2s;
}
.product-meta button:hover { background: var(--primary-hover); }
.product-meta button:active { transform: scale(.97); }

.shop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 16px 24px;
}
.shop-foot p { font-size: 11px; margin: 0; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; background: #f0e5da; }
.about-img { min-height: 560px; overflow: hidden; position: relative; }
.about-img img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s var(--ease);
}
.about:hover .about-img img { transform: scale(1.04); }
.about-text {
  padding: var(--section-y) var(--pad-x-vw) var(--section-y) clamp(32px, 7vw, 110px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.about-text p { max-width: 500px; }
.about-text .btn { margin-top: 20px; }

/* ---------- Encomendas ---------- */
.custom { padding: var(--section-y) var(--pad-x); background: #f8f3ed; }
.custom-title { text-align: center; max-width: 620px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 850px;
  margin: 50px auto;
  gap: 25px;
  text-align: center;
}
.steps > div { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.steps b { font: 400 34px Poppins; color: #bd957b; }
.steps strong { font: 500 16px Poppins; }
.steps span { font-size: 12px; color: #8b786c; }

.custom-form {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.custom-form label {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  border: 1px solid #dfd0c2;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus { outline: none; border-color: #9f7256; box-shadow: 0 0 0 3px rgba(159, 114, 86, .15); }
.custom-form textarea { resize: vertical; }
.custom-form .select select { padding-right: 44px; }
.custom-form .full { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 4px; }
.form-note { flex: 1; min-width: 220px; font-size: 11px; line-height: 1.6; color: #8b786c; }
.custom-form .btn .icon { font-size: 16px; }
.custom-form .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.custom-form .btn.is-loading .icon { animation: pulse 1s ease-in-out infinite; }

.custom-form #customResult {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  color: #5d7a4f;
}
.custom-form #customResult:empty { display: none; }
.custom-form #customResult:not(:empty) { animation: fadeUp .5s var(--ease-out); }
.custom-form #customResult .icon { font-size: 16px; }
.custom-form #customResult.is-error { color: #b0473d; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; padding: var(--section-y) var(--pad-x); background: #e7d4c3; }
.manifesto-mark { font-size: 34px; color: #8b5e43; animation: spin 14s linear infinite; }
.manifesto p { font-size: 13px; }

/* ---------- Rodapé ---------- */
footer {
  background: var(--dark);
  color: #f7eee6;
  padding: 70px var(--pad-x) 25px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
footer p,
footer span { color: #c9b5a6; font-size: 12px; }
footer h3 { font-size: 13px; font-weight: 500; margin: 0 0 4px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
footer a:not(.brand) { font-size: 12px; transition: color .2s, transform .25s var(--ease); }
footer a:not(.brand):hover { color: #d7b79b; transform: translateX(4px); }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #6a5143;
  padding-top: 20px;
  font-size: 11px;
  color: #c9b5a6;
}

/* ---------- Notificação ---------- */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 14px 25px;
  border-radius: 30px;
  z-index: 60;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  animation: toastIn .45s var(--ease-out) both;
}

/* =========================================================
   Revelação ao rolar (classes aplicadas por app.js)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* depois de revelados, os cards voltam a usar suas próprias transições de hover */
.product-card.reveal.is-visible,
.collections button.reveal.is-visible { transition: opacity .9s var(--ease-out), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }

/* =========================================================
   Animações
   ========================================================= */
@keyframes fadeIn   { from { opacity: 0; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } }
@keyframes heroZoom { from { opacity: 0; transform: scale(1.12); } }
@keyframes noteIn   { from { opacity: 0; transform: translateY(30px) rotate(0deg); } to { opacity: 1; transform: rotate(-5deg); } }
@keyframes float    { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes toastIn  { from { opacity: 0; transform: translate(-50%, 20px); } }
@keyframes twinkle  { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .5; transform: scale(.75) rotate(45deg); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes pulse    { 50% { opacity: .35; transform: scale(.85); } }

/* =========================================================
   Responsivo
   ========================================================= */

/* ---------- Desktop médio (≤ 1280px) ---------- */
@media (max-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Tablet (≤ 1024px): menu vira hambúrguer ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .header { grid-template-columns: 1fr auto; }
  .menu { display: grid; } /* grid: ☰ e ✕ ficam sobrepostos no mesmo lugar */
  .header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad-x) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .15);
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .header nav.open { opacity: 1; visibility: visible; transform: none; }
  .header nav a { padding: 14px 0; border-bottom: 1px solid #f3ede7; }
  .header nav a:last-child { border-bottom: 0; }
  .header nav a::after { display: none; }

  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .about-img { min-height: 480px; }
}

/* ---------- Tablet retrato (≤ 820px): hero e sobre empilham ---------- */
@media (max-width: 820px) {
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 48px var(--gutter) 0; }
  .hero-bottom { padding-top: 32px; }

  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 0; aspect-ratio: 4 / 3; }
  .about-text { padding: var(--section-y) var(--gutter); }
}

/* ---------- Mobile (≤ 640px) ---------- */
@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .notice { font-size: 10px; }

  /* Cabeçalho */
  .brand { font-size: 18px; gap: 9px; }
  .brand small { font-size: 8px; margin-top: 4px; }
  .header-actions { gap: 2px; }
  .iconbtn { width: 40px; height: 40px; }
  .header-cta { display: none; } /* "Encomendas" continua no menu */

  /* Hero */
  .hero-visual { aspect-ratio: 1 / 1; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-copy > p { font-size: 14px; }
  .actions { gap: 16px 22px; }
  .hero-bottom { font-size: 10px; }
  .floating-note { font-size: 14px; padding: 14px 18px; right: 5%; bottom: 7%; }

  /* Seções */
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }

  /* Coleções */
  .collections { gap: 10px; }
  .collections button { min-height: 170px; padding: 16px; }
  .collections strong { font-size: 17px; }
  .collections small { font-size: 10px; margin-bottom: 8px; }
  .collections i { width: 28px; height: 28px; font-size: 13px; }

  /* Loja */
  .filters { width: 100%; }
  .filters .select { flex: 1; min-width: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-meta { padding: 12px; }
  .product-meta strong { font-size: 12px; }
  .product-meta small { font-size: 10px; }
  .product-meta .price { margin: 8px 0 10px; }
  .product-meta button { padding: 10px 6px; font-size: 10.5px; }
  .shop-foot { flex-direction: column; align-items: flex-start; }

  /* Encomendas: passos viram lista */
  .steps { grid-template-columns: 1fr; gap: 14px; margin: 36px auto; text-align: left; }
  .steps > div {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    background: #fff;
    border: 1px solid #efe4da;
    border-radius: var(--radius-card);
    padding: 14px 16px;
  }
  .steps b { grid-row: 1 / 3; font-size: 28px; }
  .custom-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .form-note { text-align: center; }

  /* Rodapé */
  footer { grid-template-columns: 1fr 1fr; padding-top: 56px; }
  footer > div:first-child { grid-column: 1 / -1; }

  .toast { bottom: 18px; }
}

/* ---------- Telas bem estreitas (≤ 360px) ---------- */
@media (max-width: 360px) {
  .brand { font-size: 16px; }
  .product-meta button { font-size: 10px; }
}

/* ---------- Acessibilidade: reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
