/* ══════════════════════════════════════════════════════════════
   Malmequer bem me quer
   O rosa vem do logotipo e funde-se com ele; o resto da página é
   branco, tinta e grelha, para ler como um fabricante.
   A assinatura vem da própria peça: o recorte em picô do elástico,
   a faixa do cós e a etiqueta cosida.
   Letra: Schibsted Grotesk
   ══════════════════════════════════════════════════════════════ */

:root {
  --pink: #f4bdda; /* cor exata do fundo de mmqbmq.png */
  --pink-soft: #fbe6f0;
  --paper: #fdfbfc;
  --photo: #f3f2f4; /* fundo das fotografias tratadas */
  --ink: #3f1229;
  --muted: #6f4a5c;
  --line: #e6dbe0;
  --line-strong: #3f1229;
  --on-ink: #fdf1f7;
  --whatsapp: #1eaa53;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --content-max: 1360px;
  --space-section: clamp(64px, 9vw, 128px);
  --stitch: 2px dashed var(--ink);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
}

.section-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  max-width: 22ch;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}

/* Botões */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
}

.button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Cabeçalho */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pink);
}

/* Picô: o mesmo recorte do elástico das peças. */
.site-header::after,
.hero::after,
.catalog-head::after,
.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
  background: radial-gradient(circle at 12px 0, var(--pink) 11.5px, transparent 12px) 0 0 / 24px 14px repeat-x;
}

.site-header::after,
.hero::after,
.catalog-head::after {
  top: calc(100% - 1px);
}

.contact::before {
  bottom: calc(100% - 1px);
  background-image: radial-gradient(circle at 12px 14px, var(--pink) 11.5px, transparent 12px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 6px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  flex: none;
  width: 60px;
  height: 60px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  padding-block: 9px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-panel .button {
  white-space: nowrap;
}

.nav-link.is-active {
  border-bottom-color: var(--ink);
}

.lang-switch {
  display: flex;
  gap: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  justify-self: end;
  flex-direction: column;
  gap: 5px;
  padding: 14px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* Sugestão de idioma: nunca muda a página sozinha. */

.lang-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px var(--gutter) 2px;
  background: var(--pink);
}

.lang-hint a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.lang-hint button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

/* Topo */

.hero {
  position: relative;
  background: var(--pink);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 72px);
}

.hero-kicker {
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(42px, 6.1vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.032em;
  max-width: 13ch;
}

.hero-lead {
  max-width: 46ch;
  margin-top: 26px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-logo {
  width: 100%;
  max-width: 580px;
  justify-self: end;
}

/* Ficha da empresa */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 22px var(--gutter);
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact dt {
  font-size: 15px;
  color: var(--muted);
}

.fact dd {
  margin: 2px 0 0;
  font-weight: 600;
  line-height: 1.35;
}

/* Faixa do cós: repete o nome e a flor, como no elástico das peças. */

.waistband {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 46px;
  overflow: hidden;
  background: var(--ink);
  color: var(--pink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.waistband-flower {
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.5' r='4'/%3E%3Ccircle cx='18.2' cy='10' r='4'/%3E%3Ccircle cx='15.8' cy='17.3' r='4'/%3E%3Ccircle cx='8.2' cy='17.3' r='4'/%3E%3Ccircle cx='5.8' cy='10' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.5' r='4'/%3E%3Ccircle cx='18.2' cy='10' r='4'/%3E%3Ccircle cx='15.8' cy='17.3' r='4'/%3E%3Ccircle cx='8.2' cy='17.3' r='4'/%3E%3Ccircle cx='5.8' cy='10' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Parede de peças vestidas */

.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 2px;
  background: var(--paper);
}

.wall-item {
  overflow: hidden;
  background: var(--photo);
}

.wall-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Porquê trabalhar connosco */

.reasons-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}

.reasons {
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.reason {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  padding-block: 24px;
  border-top: 1px solid var(--line);
  counter-increment: reason;
}

.reason:last-child {
  border-bottom: 1px solid var(--line);
}

.reason::before {
  content: counter(reason);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.reason h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.reason p {
  grid-column: 2;
  max-width: 56ch;
  margin-top: 6px;
  color: var(--muted);
}

/* Linhas de produto */

.lines-section {
  background: var(--photo);
}

.lines {
  border-top: var(--stitch);
}

.line-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 3fr) minmax(0, 5fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-block: 14px;
  border-bottom: 1px solid #d9d2d6;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.line-row img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}

.line-row h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

.line-row p {
  color: var(--muted);
}

.line-count {
  padding-right: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Produtos */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--stitch);
  border-left: 1px solid var(--line);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Etiqueta cosida: a referência lê-se como uma etiqueta de peça. */
.product-code {
  margin: 3px;
  padding: 1px 8px;
  border: 1px dashed var(--ink);
  background: var(--pink-soft);
  box-shadow: 0 0 0 3px var(--pink-soft);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.product-media {
  overflow: hidden;
  background: var(--photo);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--photo);
}

.product-title {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-desc {
  flex: 1;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.product-add {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-add::before {
  content: "+ ";
}

.product-add.is-added {
  background: var(--ink);
  color: var(--on-ink);
}

.product-add.is-added::before {
  content: "\2713\00a0";
}

/* Como encomendar */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 16px;
  border-top: var(--stitch);
}

.step-number {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.step h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.step p {
  max-width: 38ch;
  margin-top: 6px;
  color: var(--muted);
}

/* A empresa */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
  color: var(--on-ink);
}

.about-copy {
  align-self: center;
  max-width: 660px;
  padding: clamp(40px, 7vw, 96px) var(--gutter);
  justify-self: end;
}

.about-copy p {
  max-width: 54ch;
  margin-top: 18px;
  line-height: 1.65;
}

.about-copy .about-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px dashed rgba(253, 241, 247, 0.4);
  font-size: 15px;
  opacity: 0.85;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* Perguntas frequentes */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 80px);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  max-width: 62ch;
  padding-bottom: 22px;
  color: var(--muted);
}

/* Contacto */

.contact {
  position: relative;
  background: var(--pink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 32px clamp(32px, 6vw, 96px);
  padding-block: clamp(56px, 8vw, 104px);
}

.contact h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.contact-desc {
  max-width: 46ch;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.45;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 6px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.contact-details {
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Rodapé */

.footer {
  background: var(--ink);
  color: var(--on-ink);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  max-width: var(--content-max);
  margin-inline: auto;
  /* Espaço para o botão flutuante não tapar o texto do rodapé. */
  padding: 24px 96px 24px var(--gutter);
  font-size: 15px;
}

/* WhatsApp flutuante */

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 18px rgba(63, 18, 41, 0.28);
  transition: transform 0.5s var(--ease-out), opacity 0.2s ease, visibility 0.2s;
}

/* Sai de cena quando os botões principais estão à vista, para não os tapar. */
.floating-whatsapp.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Lista de pedido: junta as referências numa só mensagem. Não é um carrinho. */

.request-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: var(--ink);
  color: var(--on-ink);
}

.request-bar[hidden] {
  display: none;
}

.request-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 14px;
  pointer-events: none;
  background: radial-gradient(circle at 12px 14px, var(--ink) 11.5px, transparent 12px) 0 0 / 24px 14px repeat-x;
}

.request-row,
.request-panel-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
}

.request-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.request-count {
  font-weight: 600;
  white-space: nowrap;
}

.request-toggle-label {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.request-send {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.request-panel {
  max-height: min(60vh, 520px);
  overflow-y: auto;
  border-bottom: 2px dashed rgba(253, 241, 247, 0.4);
}

.request-panel[hidden] {
  display: none;
}

.request-panel-inner {
  padding-block: 18px 12px;
}

.request-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.request-hint {
  max-width: 62ch;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.85;
}

.request-items {
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.request-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(253, 241, 247, 0.22);
}

.request-code {
  min-width: 58px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  white-space: nowrap;
}

.request-remove,
.request-clear {
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.request-remove {
  min-width: 44px;
  text-align: right;
}

.request-clear {
  margin-top: 2px;
  border-top: 0;
}

/* A barra substitui o botão flutuante e não pode tapar o fim da página. */
body.has-request-list {
  padding-bottom: 66px;
}

body.has-request-list .floating-whatsapp {
  display: none;
}

.request-bar :focus-visible {
  outline-color: var(--pink);
}

/* Catálogo */

.catalog-head {
  position: relative;
  background: var(--pink);
}

.catalog-head-inner {
  padding-block: clamp(32px, 5vw, 64px);
}

.catalog-head h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.032em;
}

.catalog-head p {
  max-width: 54ch;
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.45;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 28px 20px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}

#product-search {
  width: min(360px, 100%);
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

#product-search::placeholder {
  color: var(--muted);
}

.search-block {
  flex: 1 1 280px;
  max-width: 400px;
}

.search-block #product-search {
  width: 100%;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--ink);
  color: var(--on-ink);
}

.catalog-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 16px;
  font-size: 15px;
}

.results-count {
  font-weight: 600;
}

.catalog-note {
  color: var(--muted);
}

.reset-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.reset-link:disabled {
  display: none;
}

.catalog-results {
  padding-bottom: var(--space-section);
}

.empty-state {
  padding-block: 48px;
  border-top: var(--stitch);
}

.empty-state h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.empty-state p {
  margin-block: 8px 20px;
  color: var(--muted);
}

.noscript-note {
  display: block;
  padding: 14px var(--gutter);
  background: var(--pink-soft);
  text-align: center;
}

/* Movimento: só ao passar o rato, nunca ao ler. */

.wall-item img,
.product-media img,
.line-row img,
.line-row h3 {
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) {
  .button:hover {
    background: transparent;
    color: var(--ink);
  }

  .button.ghost:hover {
    background: var(--ink);
    color: var(--on-ink);
  }

  .button:disabled:hover {
    background: transparent;
    color: var(--ink);
  }

  .lang-btn:not(.is-active):hover {
    background: rgba(63, 18, 41, 0.1);
  }

  .nav-link:hover {
    border-bottom-color: var(--ink);
  }

  .line-row:hover {
    background: var(--paper);
  }

  .contact-phone:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .filter-chip:not(.is-active):hover {
    background: var(--pink-soft);
  }

  .product-add:not(.is-added):hover {
    background: var(--pink-soft);
  }

  .wall-item:hover img,
  .product-card:hover .product-media img {
    transform: scale(1.04);
  }

  .line-row:hover img {
    transform: scale(1.08);
  }

  .line-row:hover h3 {
    transform: translateX(6px);
  }

  .floating-whatsapp:hover {
    transform: scale(1.08);
  }

  .text-link:hover {
    text-decoration-thickness: 2px;
  }
}

/* Responsivo */

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-layout,
  .faq-layout,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-row {
    grid-template-columns: 88px minmax(0, 1fr) auto;
  }

  .line-row img {
    width: 88px;
    height: 88px;
  }

  .line-row p {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .line-row img {
    grid-row: 1 / span 2;
  }

  .line-row {
    row-gap: 2px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-copy {
    justify-self: start;
    max-width: none;
  }

  .about-visual img {
    aspect-ratio: 1;
    height: auto;
  }
}

/* Em ecrãs médios fica só o logótipo, para o menu caber numa linha. */
@media (min-width: 861px) and (max-width: 1180px) {
  .brand-name {
    display: none;
  }

  .header-inner {
    gap: 16px;
  }

  .nav-panel {
    gap: 18px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-link {
    padding-block: 10px;
    font-size: 15px;
  }

  .nav-panel .button.small {
    padding-inline: 14px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Sem o justify-self, o painel absoluto encolhe dentro da grelha. */
  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--pink);
    border-top: 1px solid rgba(63, 18, 41, 0.2);
    box-shadow: 0 14px 22px rgba(63, 18, 41, 0.16);
    z-index: 1;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .nav-link {
    font-size: 19px;
  }

  .nav-panel .lang-switch {
    margin-left: -4px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 56px);
  }

  .hero-lead,
  .contact-desc,
  .catalog-head p {
    font-size: 17px;
  }

  .catalog-head-inner {
    padding-block: 12px 28px;
  }

  .catalog-head h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .catalog-toolbar {
    padding-block: 24px 16px;
  }

  .reason {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .waistband {
    gap: 20px;
    min-height: 42px;
    font-size: 14px;
  }

  .wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .wall-item:first-child {
    grid-column: 1 / -1;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-block: 4px 40px;
  }

  .hero-logo {
    grid-row: 1;
    width: min(56%, 230px);
    justify-self: center;
  }

  .hero-kicker {
    margin-bottom: 10px;
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions .button,
  .contact-actions .button {
    flex: 1 1 auto;
    padding-inline: 18px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-number {
    margin-bottom: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .product-add {
    padding-inline: 6px;
    font-size: 14px;
  }

  .line-count {
    padding-right: 0;
  }

  .fact {
    padding-inline: 16px;
  }

  .toolbar-block {
    width: 100%;
    min-width: 0;
  }

  .search-block {
    max-width: none;
  }
}

/* Em ecrãs estreitos a contagem desce, para o nome da linha ter espaço. */
@media (max-width: 420px) {
  .request-send {
    padding-inline: 16px;
    font-size: 15px;
  }

  .request-toggle {
    flex-direction: column;
    gap: 0;
  }

  .request-toggle-label {
    font-size: 14px;
  }

  .line-row {
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 14px;
  }

  .line-row img {
    grid-row: 1 / span 3;
    width: 76px;
    height: 76px;
  }

  .line-row p {
    grid-column: 2;
    grid-row: 2;
  }

  .line-count {
    grid-column: 2;
    grid-row: 3;
    font-size: 15px;
  }
}

@media (max-width: 350px) {
  .request-count {
    font-size: 15px;
  }

  .request-send {
    padding-inline: 12px;
    font-size: 14px;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 15px;
  }
}

/* Telemóvel deitado: o cabeçalho deixa de ficar fixo para não tapar meio ecrã. */
@media (max-height: 480px) {
  html {
    scroll-padding-top: 16px;
  }

  .site-header {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .wall-item:hover img,
  .product-card:hover .product-media img,
  .line-row:hover img,
  .line-row:hover h3,
  .floating-whatsapp:hover {
    transform: none;
  }
}
