/* =========================================================
   Casa Falcão — tema e-commerce
   Estilo: loja de tecidos clássica (ref. feiradostecidos),
   identidade Casa Falcão, navy da marca em toda a interface.
   Muda --navy num sítio só para acertar a cor exacta.
   ========================================================= */

:root {
  /* ---- COR DA MARCA (círculos do Instagram) ---- */
  --navy:        #123A8C;
  --navy-700:    #0e2f73;
  --navy-900:    #0a2255;
  --navy-050:    #eef2fb;   /* tinta muito clara p/ fundos */
  --navy-100:    #dde5f6;

  /* Neutros */
  --ink:         #1b1f27;
  --text:        #414653;
  --muted:       #7c828f;
  --line:        #e6e8ee;
  --bg:          #ffffff;
  --bg-soft:     #f5f6f9;
  --ph:          #e9ebf1;   /* placeholder de foto */

  /* Acentos funcionais */
  --sale:        #cf3a2e;
  --new:         var(--navy);

  /* Acento premium (filete dourado discreto) */
  --gold:        #c8a24c;
  --gold-soft:   #e7d49f;

  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --pad:  clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3 { color: var(--ink); margin: 0; line-height: 1.15; }

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

/* Placeholders de foto */
[data-ph] { position: relative; background: var(--ph); overflow: hidden; }
[data-ph]::before {
  content: attr(data-ph);
  position: absolute; inset: 0; margin: auto; height: 1.2em;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; letter-spacing: .05em; color: var(--muted);
  text-align: center; padding: 0 1rem;
}
[data-ph]::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(18,58,140,.05) 25%, transparent 25%, transparent 50%, rgba(18,58,140,.05) 50%, rgba(18,58,140,.05) 75%, transparent 75%);
  background-size: 18px 18px; opacity: .5;
}

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(100deg, var(--navy-900) 0%, var(--navy) 52%, var(--navy-900) 100%);
  color: #fff; font-size: .78rem; position: relative;
  /* filete dourado premium a separar da barra branca */
  box-shadow: inset 0 -2px 0 0 var(--gold);
}
.topbar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: .5rem var(--pad);
  display: flex; gap: .8rem; align-items: center; justify-content: center;
  flex-wrap: wrap; text-align: center; letter-spacing: .015em;
}
.topbar__sep { color: var(--gold-soft); opacity: .7; }
.topbar__ship { letter-spacing: .01em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .28s ease, border-color .28s ease;
}
/* sombra suave só depois de começar a fazer scroll (cabeçalho "flutua") */
.header.is-stuck { border-bottom-color: transparent; box-shadow: 0 10px 30px -18px rgba(10,34,85,.55); }
.header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: .7rem var(--pad);
  display: flex; align-items: center; gap: 1rem;
}
.hamb {
  display: inline-flex; flex-direction: column; gap: 4px; width: 40px; height: 40px;
  align-items: center; justify-content: center; background: none; border: 0; padding: 0; flex: 0 0 auto;
}
.hamb span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.logo { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.logo__img { width: 52px; height: 52px; object-fit: contain; display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: -.01em; }
.logo__tag { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* Menu inline (desktop) */
.nav-inline { display: none; }
.nav-inline > a, .nav-inline .has-sub__link {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .45rem .5rem; font-size: .88rem; font-weight: 600; color: var(--ink);
  border-radius: 8px; white-space: nowrap; transition: color .18s, background .18s;
}
.nav-inline > a:hover, .nav-inline .has-sub__link:hover { color: var(--navy); background: var(--navy-050); }
.nav-inline__promo { color: var(--navy) !important; }

/* Ações (ícones) */
.header__actions { display: flex; align-items: center; gap: .15rem; margin-left: auto; flex: 0 0 auto; }
.iconbtn {
  background: none; border: 0; width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--ink); border-radius: 10px; position: relative; cursor: pointer;
  transition: color .2s, background .2s, transform .12s;
}
.iconbtn:hover { color: var(--navy); background: var(--navy-050); }
.iconbtn:active { transform: scale(.9); }
.iconbtn__badge {
  position: absolute; top: 3px; right: 3px; background: var(--sale); color: #fff;
  font-size: .58rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px #fff;
}

/* Seletor de idioma — toggle segmentado (pílula) */
.lang {
  display: inline-flex; align-items: center; gap: 2px; margin-right: .45rem;
  background: var(--navy-050); border: 1px solid var(--navy-100);
  border-radius: 999px; padding: 3px;
}
.lang__div { display: none; }
.lang__btn {
  background: none; border: 0; padding: .3rem .58rem; border-radius: 999px;
  font-family: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  line-height: 1; color: var(--muted); cursor: pointer;
  transition: color .2s, background .2s, box-shadow .2s;
}
.lang__btn:hover { color: var(--navy); }
.lang__btn.is-active {
  color: var(--navy); background: #fff;
  box-shadow: 0 1px 2px rgba(10,34,85,.14), 0 0 0 1px rgba(10,34,85,.04);
}
a.lang__btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 0; }

/* Barra de pesquisa retrátil */
.searchbar { border-top: 1px solid var(--line); background: #fff; }
.searchbar[hidden] { display: none; }
.searchbar__form {
  max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: .7rem;
  padding: .85rem var(--pad);
}
.searchbar__form > svg { color: var(--muted); flex: 0 0 auto; }
.searchbar__form input {
  flex: 1; border: 0; background: none; font-family: inherit; font-size: 1rem; color: var(--ink); padding: .4rem 0;
}
.searchbar__form input:focus { outline: none; }
.searchbar__close { background: none; border: 0; color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: .3rem; }
.searchbar__close:hover { color: var(--navy); }

/* Item com submenu (dropdown) */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub__link { cursor: pointer; }
.has-sub__link .caret { font-size: .6rem; transition: transform .2s; }
.has-sub:hover .caret { transform: rotate(180deg); }
.subm {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 34px rgba(18,58,140,.16);
  padding: .4rem 0; z-index: 60; margin-top: .3rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .subm { opacity: 1; visibility: visible; transform: translateY(0); }
.subm a { display: block; color: var(--ink); padding: .6rem 1.1rem; font-size: .88rem; letter-spacing: 0; }
.subm a:hover { background: var(--navy-050); color: var(--navy); }

/* Header compacto em ecrãs pequenos */
@media (max-width: 560px) {
  .header__inner { gap: .5rem; }
  .logo__tag { display: none; }
  .logo__name { font-size: clamp(.98rem, 4.6vw, 1.12rem); }
  .logo__img { width: 44px; height: 44px; }
  .header__actions { gap: 0; }
  .iconbtn { width: 38px; height: 38px; }
  .lang { margin-right: .25rem; padding: 2px; }
  .lang__btn { padding: .28rem .42rem; font-size: .7rem; letter-spacing: .04em; }
}
/* ecrãs pequenos: mostrar o nome "Casa Falcão" (mais pequeno) em vez de o esconder */
@media (max-width: 400px) {
  .logo { gap: .4rem; }
  .logo__name { font-size: .9rem; }
  .logo__img { width: 38px; height: 38px; }
  .header__inner { gap: .35rem; padding-inline: .7rem; }
  .iconbtn { width: 36px; height: 36px; }
}
/* telemóveis muito pequenos (≤360px): apertar mais para o nome caber sempre */
@media (max-width: 360px) {
  .logo { gap: .32rem; }
  .logo__name { font-size: .82rem; }
  .logo__img { width: 34px; height: 34px; }
  .hamb { width: 34px; }
  .header__inner { gap: .2rem; padding-inline: .5rem; }
  .iconbtn { width: 33px; height: 33px; }
  .lang { margin-right: .18rem; padding: 2px; }
  .lang__btn { padding: .24rem .3rem; font-size: .66rem; letter-spacing: .02em; }
}

/* ---------- Drawer mobile ---------- */
/* ===========================================================
   Drawer mobile — premium 2026
   =========================================================== */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10,20,45,.48); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 200; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(90vw, 384px);
  background: #fff; z-index: 210; transform: translateX(-100%);
  transition: transform .44s cubic-bezier(.22,1,.36,1); display: flex; flex-direction: column;
  box-shadow: 0 0 80px rgba(10,20,45,.32);
}
body.drawer-open .drawer { transform: translateX(0); }

/* Cabeçalho com brilho dourado subtil + filete dourado */
.drawer__head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.55rem 1.4rem 1.45rem;
  background:
    radial-gradient(130% 150% at 2% 0%, rgba(200,162,76,.20) 0%, rgba(200,162,76,0) 44%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
}
.drawer__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 18%, var(--gold) 50%, var(--gold-soft) 82%, transparent);
}
.drawer__brand { display: flex; flex-direction: column; gap: .42rem; line-height: 1; }
.drawer__head .logo__name { color: #fff; font-size: 1.52rem; font-weight: 700; letter-spacing: -.02em; }
.drawer__tag { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.drawer__close {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 42px; height: 42px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.drawer__close:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.34); }
.drawer__close:active { transform: scale(.94); }

/* Navegação — realces "flutuantes" arredondados, sem traços pesados */
.drawer__nav { display: flex; flex-direction: column; padding: .4rem .7rem .6rem; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.drawer__eyebrow { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0; padding: 1.1rem 1rem .5rem; }
.drawer__ico { display: none; }
.drawer__link {
  position: relative;
  display: flex; align-items: center; gap: .9rem;
  width: 100%; text-align: left; background: none; border: 0; border-radius: 14px;
  padding: .95rem 1rem; font-family: inherit; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
  cursor: pointer; transition: background .18s, color .18s;
}
.drawer__link > span { flex: 1 1 auto; min-width: 0; }
.drawer__link .chev { color: #b7bfd0; flex: 0 0 auto; transition: transform .22s, color .2s; }
.drawer__link:hover, .drawer__link:active,
.drawer__acc[data-open="true"] > .drawer__acc-btn { background: var(--navy-050); color: var(--navy); }
.drawer__link:hover .chev, .drawer__acc[data-open="true"] > .drawer__acc-btn .chev { color: var(--navy); }
.drawer__link:not(.drawer__acc-btn):hover .chev { transform: translateX(3px); }

/* Separador-hairline subtil entre entradas de topo */
.drawer__nav > .drawer__link + .drawer__link::before,
.drawer__nav > .drawer__acc + .drawer__link::before,
.drawer__nav > .drawer__link + .drawer__acc .drawer__acc-btn::before,
.drawer__nav > .drawer__acc + .drawer__acc .drawer__acc-btn::before {
  content: ""; position: absolute; left: 1rem; right: 1rem; top: -1px; height: 1px;
  background: var(--navy-050);
}

/* Promoções — bloco destacado */
.drawer__link--promo {
  margin-top: .7rem; color: var(--sale); font-weight: 700;
  background: linear-gradient(180deg, rgba(207,58,46,.07), rgba(207,58,46,.04));
  box-shadow: inset 0 0 0 1px rgba(207,58,46,.14);
}
.drawer__link--promo::before { display: none; }
.drawer__link--promo .chev { color: rgba(207,58,46,.5); }
.drawer__link--promo:hover, .drawer__link--promo:active { background: rgba(207,58,46,.1); color: var(--sale); }
.drawer__link--promo:hover .chev { color: var(--sale); transform: translateX(3px); }
.drawer__badge { flex: 0 0 auto; padding: .24rem .6rem; border-radius: 999px; background: var(--sale); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 3px 9px rgba(207,58,46,.28); }

/* Acordeão de subcategorias */
.drawer__acc { display: flex; flex-direction: column; }
.chev--acc { transition: transform .3s ease; }
.drawer__acc[data-open="true"] .chev--acc { transform: rotate(180deg); }
.drawer__sub {
  display: grid; grid-template-rows: 0fr; margin: 0 .3rem;
  overflow: hidden; transition: grid-template-rows .34s cubic-bezier(.22,1,.36,1);
}
.drawer__acc[data-open="true"] .drawer__sub { grid-template-rows: 1fr; margin: .2rem .3rem .4rem; }
.drawer__sub > div { min-height: 0; overflow: hidden; }
.drawer__sub-inner { display: flex; flex-direction: column; background: var(--navy-050); border-radius: 12px; padding: .3rem; }
.drawer__sub a {
  display: flex; align-items: center; gap: .7rem;
  padding: .72rem .8rem; border-radius: 9px; font-size: .95rem; font-weight: 500; color: var(--text);
  transition: background .16s, color .16s;
}
.drawer__sub a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); opacity: .45; flex: 0 0 auto; transition: opacity .16s; }
.drawer__sub a:first-child { color: var(--navy); font-weight: 600; }
.drawer__sub a:hover { background: #fff; color: var(--navy); }
.drawer__sub a:hover::before { opacity: 1; }

/* Rodapé do drawer */
.drawer__footer { padding: 1.1rem 1.3rem 1.5rem; background: var(--bg-soft); border-top: 1px solid var(--line); }
.drawer__trust {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin: 0 0 .9rem; padding: .62rem; border-radius: 11px;
  background: #fff; border: 1px solid var(--navy-100);
  font-size: .78rem; font-weight: 600; color: var(--navy-900); letter-spacing: .01em;
}
.drawer__trust svg { color: var(--gold); flex: 0 0 auto; }
.drawer__lang { display: flex; gap: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.drawer__lang .lang__btn {
  flex: 1; border: 0; padding: .64rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: background .22s, color .22s, box-shadow .22s;
}
.drawer__lang .lang__btn.is-active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(18,58,140,.24); }
.drawer__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1rem .2rem; margin-top: 1rem; }
.drawer__meta a { position: relative; padding: .4rem .7rem; font-size: .84rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.drawer__meta a:not(:last-child)::after { content: "·"; position: absolute; right: -2px; color: var(--navy-100); }
.drawer__meta a:hover { color: var(--navy); }

/* ---------- Mini-carrinho ---------- */
.cart-backdrop { position: fixed; inset: 0; background: rgba(10,20,45,.35); z-index: 220; }

/* Carrinho tipo "dropdown" flutuante (estilo loja moderna) */
#cart {
  position: fixed; top: 90px; right: 18px;
  width: min(468px, calc(100vw - 32px));
  max-height: min(82vh, 680px);
  background: #fff; z-index: 230; border-radius: 20px;
  box-shadow: 0 24px 70px rgba(10,20,45,.30);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s ease, transform .22s cubic-bezier(.4,0,.2,1), visibility .2s;
}
body.cart-open #cart { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
@media (max-width: 520px) {
  #cart { top: 84px; right: 10px; left: 10px; width: auto; max-height: calc(100vh - 100px); }
}

.cart__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.3rem 1.4rem .9rem; }
.cart__headText { display: flex; flex-direction: column; gap: .15rem; }
.cart__title { font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -.01em; }
.cart__sub { font-size: .8rem; color: var(--muted); }
.cart__close { background: #fff; border: 1px solid var(--line); color: var(--muted); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.cart__close:hover { color: var(--navy); background: var(--navy-050); }

.shipbar { padding: 0 1.4rem .9rem; }
.shipbar__msg { margin: 0 0 .5rem; font-size: .78rem; color: var(--muted); text-align: center; }
.shipbar__msg b { color: var(--navy); font-weight: 700; }
.shipbar__track { height: 6px; border-radius: 20px; background: var(--navy-100); overflow: hidden; }
.shipbar__fill { display: block; height: 100%; width: 0; border-radius: 20px; background: linear-gradient(90deg, var(--navy), #2f5bd0); transition: width .5s cubic-bezier(.4,0,.2,1); }
.shipbar.is-done .shipbar__fill { background: linear-gradient(90deg, #2e7d46, #46b06a); }
.shipbar.is-done .shipbar__msg { color: #2e7d46; }

/* lembrete de portes grátis no topo */
.topbar__ship { font-weight: 600; }
.topbar__ship b { color: #fff; }
@media (max-width: 640px) { .topbar__inner span:not(.topbar__ship) { display: none; } }

.cart__items { flex: 1; overflow-y: auto; padding: .2rem 1.1rem; }
.cart__empty { color: var(--muted); font-size: .95rem; text-align: center; padding: 2.5rem 1rem; }
.cartline { display: grid; grid-template-columns: 82px 1fr auto; gap: 1rem; align-items: center; background: var(--bg-soft); border-radius: 16px; padding: .85rem; margin-bottom: .8rem; }
.cartline__media { width: 82px; height: 82px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); flex: 0 0 auto; }
.cartline__media img { width: 100%; height: 100%; object-fit: contain; padding: 7px; display: block; }
.cartline__body { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.cartline__name { font-size: .95rem; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cartline__variation { font-size: .78rem; color: var(--muted); }
.cartline__controls { display: flex; align-items: center; gap: .7rem; }
.cartline__qty { display: inline-flex; align-items: center; gap: .6rem; }
.cartline__qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; cursor: pointer; font-size: 1.05rem; line-height: 1; display: grid; place-items: center; transition: background .15s, transform .1s; }
.cartline__qty button:hover { background: var(--navy-700); }
.cartline__qty button:active { transform: scale(.92); }
.cartline__qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--ink); }
.cartline__remove { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cartline__remove:hover { color: var(--sale); border-color: rgba(197,48,48,.4); }
.cartline__price { font-size: 1rem; font-weight: 700; color: var(--navy); white-space: nowrap; align-self: center; }
/* Linha otimista "a adicionar…" (antes do servidor confirmar) */
.cartline--pending { animation: cf-pending 1.1s ease-in-out infinite; }
.cartline__pending { font-size: .82rem; font-weight: 600; color: var(--muted); }
.cartline__price--pending { color: var(--muted); font-weight: 600; }
@keyframes cf-pending { 0%,100% { opacity: 1; } 50% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .cartline--pending { animation: none; } }
.single_add_to_cart_button.is-loading { opacity: .6; pointer-events: none; }
#cart.is-busy .cart__items { opacity: .55; pointer-events: none; }

.cart__crosssells { margin-top: .4rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.cart__crosssells-title { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .6rem; }
.cartcross { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem; margin-bottom: .5rem; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.cartcross:hover { border-color: var(--navy); box-shadow: 0 2px 8px rgba(18,58,140,.1); }
.cartcross__img { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-soft); }
.cartcross__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cartcross__info { flex: 1; min-width: 0; }
.cartcross__name { font-size: .85rem; font-weight: 600; color: var(--ink); margin: 0 0 .15rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartcross__price { font-size: .82rem; font-weight: 700; color: var(--navy); }
.cartcross__arrow { color: var(--muted); flex-shrink: 0; transition: color .2s, transform .2s; }
.cartcross:hover .cartcross__arrow { color: var(--navy); transform: translateX(2px); }

.cart__foot { padding: .5rem 1.4rem 1.3rem; background: #fff; }
.cart__row { display: flex; align-items: baseline; justify-content: space-between; font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: .15rem; }
.cart__row span:last-child { color: var(--navy); }
.cart__note { font-size: .72rem; color: var(--muted); margin: 0 0 .9rem; }
.cart__checkout { width: 100%; padding: .95rem 1rem; font-size: .95rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(18,58,140,.28); transition: transform .15s, box-shadow .2s, background .2s; }
.cart__checkout:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(18,58,140,.34); }
.cart__continue { width: 100%; background: none; border: 0; color: var(--muted); font-family: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; padding: .7rem .8rem 0; text-decoration: none; }
.cart__continue:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .85rem; letter-spacing: .01em;
  padding: .8rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-700); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-050); }

/* ---------- Hero slider ---------- */
.hero { position: relative; max-width: var(--wrap); margin: 1rem auto 0; padding-inline: var(--pad); }
.hero__viewport { overflow: hidden; border-radius: 14px; }
.hero__track { display: flex; transition: transform .5s cubic-bezier(.6,0,.2,1); }
.slide {
  position: relative; flex: 0 0 100%;
  display: grid; grid-template-columns: 1fr; min-height: 340px;
  background: var(--navy);
}
.slide__media { min-height: 200px; background: var(--navy-700); }
.slide__media[data-ph]::after { opacity: .25; }
.slide__media[data-ph]::before { color: rgba(255,255,255,.55); }
.slide__panel {
  color: #fff; padding: 1.6rem 1.5rem 2rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.slide__kicker { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #ffd7a0; margin: 0 0 .6rem; font-weight: 600; }
.slide__title { color: #fff; font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .7rem; }
.slide__sub { color: rgba(255,255,255,.82); font-size: .95rem; margin: 0 0 1.3rem; max-width: 40ch; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.6rem; line-height: 1;
  display: none; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.hero__arrow:hover { background: #fff; }
.hero__arrow--prev { left: calc(var(--pad) + 12px); }
.hero__arrow--next { right: calc(var(--pad) + 12px); }
.hero__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.hero__dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: var(--navy-100); transition: transform .2s, background .2s;
}
.hero__dots button[aria-selected="true"] { background: var(--navy); transform: scale(1.35); }

/* ---------- Chips de categorias ---------- */
.chips {
  display: flex; gap: clamp(.8rem, 3vw, 2rem); overflow-x: auto;
  max-width: var(--wrap); margin: 1.8rem auto; padding: .5rem var(--pad);
  scrollbar-width: none; justify-content: flex-start;
}
.chips::-webkit-scrollbar { display: none; }
.chip { display: flex; flex-direction: column; align-items: center; gap: .55rem; flex: 0 0 auto; }
.chip__circle {
  width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--navy-100); transition: transform .2s, box-shadow .2s;
}
.chip:hover .chip__circle { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(18,58,140,.28); }
.chip__label { font-size: .82rem; font-weight: 600; color: var(--ink); }

/* ---------- Prateleiras / secções ---------- */
.shelf { max-width: var(--wrap); margin: 2.5rem auto; padding-inline: var(--pad); }
.shelf--alt { background: var(--bg-soft); max-width: none; margin: 0; padding-block: 2.5rem; }
.shelf--alt .shelf__head, .shelf--alt .grid4 { max-width: var(--wrap); margin-inline: auto; }
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.3rem; gap: 1rem; }
.shelf__title { font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 700; }
.shelf__all { font-size: .85rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.shelf__all:hover { text-decoration: underline; }

/* ---------- Carrossel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .card { flex: 0 0 78%; scroll-snap-align: start; }
.carousel__btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: 1.5rem; line-height: 1;
  display: none; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.carousel__btn:hover { background: var(--navy-050); }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }

/* ---------- Card de produto ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.4,0,.2,1), border-color .4s ease; cursor: pointer; }
.card:hover { box-shadow: 0 18px 42px rgba(18,58,140,.16); transform: translateY(-6px); border-color: var(--navy-100); }
.card:active { transform: translateY(-3px); transition-duration: .1s; }
.card__media { display: block; aspect-ratio: 1/1; position: relative; overflow: hidden; }

/* ao passar o rato: mostra a peça feita com o fio (crossfade suave + leve zoom) */
.card__media img { transition: transform .8s cubic-bezier(.22,.61,.36,1), opacity .5s ease; will-change: transform, opacity; }

/* 2.ª imagem (a peça) sobreposta, escondida por omissão */
.card__hover {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.card.has-hover-img:hover .card__hover { opacity: 1; }
/* leve zoom em ambas as imagens para dar vida */
.card.has-hover-img:hover .card__media img { transform: scale(1.05); }

/* distintivo "peça" que surge ao fundo ao passar o rato */
.card--fio.has-hover-img .card__media::after {
  content: "Feito com este fio"; position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(18,58,140,.92); color: #fff;
  font-size: .64rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px;
  transform: translateY(12px); opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  pointer-events: none;
}
.card--fio.has-hover-img:hover .card__media::after { transform: translateY(0); opacity: 1; }

/* nome desliza para navy ao passar o rato */
.card__name { transition: color .3s ease; }
.card:hover .card__name { color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .card, .card__media img, .card__hover, .card__media::after { transition: none; }
  .card:hover { transform: none; }
  .card.has-hover-img:hover .card__media img { transform: none; }
}
.card__fav {
  position: absolute; top: .6rem; right: .6rem; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 0; color: var(--muted); font-size: 1rem; display: grid; place-items: center;
}
.card__fav:hover { color: var(--sale); }
.badge {
  position: absolute; top: .6rem; left: .6rem; z-index: 2; font-size: .68rem; font-weight: 700;
  padding: .22rem .5rem; border-radius: 6px; letter-spacing: .02em;
}
.badge--sale { background: var(--sale); color: #fff; }
.badge--new { background: var(--navy); color: #fff; }
.card__body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__cat { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card__name { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.card__price { display: flex; align-items: baseline; gap: .4rem; margin: .1rem 0 .3rem; }
.card__price .now { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.card__price .was { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.card__price .unit { font-size: .78rem; color: var(--muted); }
.card__add {
  margin-top: auto; background: var(--navy-050); color: var(--navy); border: 0;
  padding: .6rem; border-radius: 8px; font-weight: 600; font-size: .82rem; transition: background .2s, color .2s;
}
.card__add:hover { background: var(--navy); color: #fff; }

/* Grelha de 4 (novidades) */
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-inline: var(--pad); }

/* ---------- Banners promocionais ---------- */
.promos { max-width: var(--wrap); margin: 2.5rem auto; padding-inline: var(--pad); display: grid; grid-template-columns: 1fr; gap: 1rem; }
.promo { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 200px; }
.promo__media { flex: 1; min-height: 160px; }
.promo__text { padding: 1.2rem 1.3rem 1.4rem; }
.promo__kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin: 0 0 .3rem; }
.promo__title { font-size: 1.4rem; font-weight: 700; margin: 0 0 .5rem; }
.promo__desc { font-size: .9rem; color: var(--text); margin: 0 0 .6rem; }
.promo__link { font-size: .85rem; font-weight: 600; color: var(--navy); }
.promo:hover .promo__link { text-decoration: underline; }
.promo--navy { background: var(--navy); color: #fff; border-color: var(--navy); justify-content: center; }
.promo--navy .promo__kicker { color: #ffd7a0; }
.promo--navy .promo__title, .promo--navy .promo__desc { color: #fff; }
.promo--navy .promo__desc { color: rgba(255,255,255,.82); }
.promo--navy .promo__link { color: #fff; }

/* ---------- Banners de destaque ---------- */
.feats { max-width: var(--wrap); margin: clamp(2rem,5vw,3rem) auto; padding-inline: var(--pad); display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.feat { position: relative; overflow: hidden; border-radius: 16px; min-height: 320px; display: flex; align-items: flex-end; background: var(--navy); transition: transform .2s ease, box-shadow .2s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18,58,140,.18); }
.feat__media { position: absolute; inset: 0; }
.feat__media--img { background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.feat:hover .feat__media--img { transform: scale(1.05); }
.feat__media[data-ph]::before { color: rgba(255,255,255,.5); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,45,.82), rgba(10,20,45,.25) 55%, rgba(10,20,45,.05)); }
.feat__body { position: relative; z-index: 2; padding: 1.9rem 1.8rem; color: #fff; }
.feat--navy { align-items: center; }
.feat--navy .feat__media { display: none; }
.feat--navy::after { display: none; }
.feat--photo { align-items: flex-end; }
.feat--photo .feat__media { display: block; }
.feat--photo::after { display: block; background:
  linear-gradient(to top, rgba(9,20,52,.92) 0%, rgba(9,20,52,.62) 30%, rgba(9,20,52,.18) 58%, rgba(9,20,52,0) 100%); }
.feat--photo .feat__title, .feat--photo .feat__desc, .feat--photo .feat__kicker { text-shadow: 0 1px 14px rgba(8,18,48,.6); }
.feat__kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #ffd7a0; font-weight: 600; margin: 0 0 .5rem; }
.feat__title { color: #fff; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; line-height: 1.05; margin: 0 0 .55rem; }
.feat__desc { color: rgba(255,255,255,.85); font-size: .95rem; margin: 0 0 1.2rem; max-width: 34ch; }
.feat__cta { align-self: flex-start; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } .feat { min-height: 380px; } }

/* ---------- Departamentos ---------- */
.depts { max-width: var(--wrap); margin: 2.5rem auto; padding-inline: var(--pad); }
.depts__title { font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 700; margin-bottom: 1.3rem; }
.depts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.dept { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .45s cubic-bezier(.19,1,.22,1), transform .45s cubic-bezier(.19,1,.22,1), border-color .45s ease; }
.dept:hover { box-shadow: 0 16px 38px rgba(18,58,140,.13); transform: translateY(-4px); border-color: var(--navy-100); }
.dept__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dept__media--img { background-size: cover; background-position: center; transition: transform 1.15s cubic-bezier(.19,1,.22,1); }
.dept:hover .dept__media--img { transform: scale(1.06); }
/* scrim editorial, suave */
.dept__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(10,22,54,.58) 0%, rgba(10,22,54,.14) 34%, rgba(10,22,54,0) 60%);
  opacity: 0; transition: opacity .55s ease;
}
.dept:hover .dept__media::before { opacity: 1; }
/* etiqueta editorial fina, a subir */
.dept__media::after {
  content: "Explorar"; position: absolute; left: 15px; bottom: 13px; z-index: 3; pointer-events: none;
  color: #fff; font-size: .64rem; letter-spacing: .24em; font-weight: 600; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s ease, transform .6s cubic-bezier(.19,1,.22,1);
}
.dept:hover .dept__media::after { opacity: 1; transform: translateY(0); }
.dept__name { position: relative; align-self: flex-start; font-weight: 700; color: var(--ink); margin: .7rem .9rem 0; transition: color .35s ease; }
.dept__name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.19,1,.22,1); }
.dept:hover .dept__name { color: var(--navy); }
.dept:hover .dept__name::after { transform: scaleX(1); }
.dept__count { font-size: .78rem; color: var(--muted); padding: .1rem .9rem .9rem; margin-top: .25rem; }
@media (prefers-reduced-motion: reduce) {
  .dept, .dept__media--img, .dept__media::before, .dept__media::after, .dept__name, .dept__name::after { transition: none; }
  .dept:hover { transform: none; }
  .dept:hover .dept__media--img { transform: none; }
}

/* ---------- Página de FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(1.5rem,4vw,2.5rem) var(--pad) 3rem; }
.faq__eyebrow { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin: 0 0 .5rem; }
.faq__title { font-size: clamp(1.8rem,5vw,2.4rem); font-weight: 700; color: var(--ink); margin: 0 0 1.6rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; padding: 1.15rem 0; font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.faq__q:hover { color: var(--navy); }
.faq__q .chev--acc { color: var(--muted); flex: 0 0 auto; transition: transform .28s ease; }
.faq__item[data-open="true"] .chev--acc { transform: rotate(180deg); color: var(--navy); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__item[data-open="true"] .faq__a { max-height: 260px; }
.faq__a p { margin: 0 0 1.2rem; color: var(--text); font-size: .95rem; line-height: 1.6; max-width: 60ch; }

/* ---------- História ---------- */
.story { background: var(--navy-050); display: grid; grid-template-columns: 1fr; gap: 0; margin: clamp(2.5rem,6vw,4rem) 0 0; }
.story__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.story__media--img { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--navy-050); }
.story__seal {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 3;
  width: 88px; height: 88px; border-radius: 50%; background: var(--navy);
  color: #fff; display: grid; place-content: center; text-align: center;
  box-shadow: 0 10px 24px rgba(10,20,45,.40); border: 2px solid rgba(255,255,255,.92);
  transform: rotate(-6deg);
}
.story__seal small { display: block; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.story__seal b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; line-height: 1; margin-top: .12rem; color: #e8c079; }

.story__copy { padding: 2.4rem var(--pad) 2.8rem; }
.story__kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin: 0 0 .9rem; }
.story__title { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; max-width: 18ch; color: var(--ink); }
.story__title::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: #e0b978; margin: 1.1rem 0 1.4rem; }
.story__copy p { margin: 0 0 2rem; max-width: 56ch; line-height: 1.75; color: var(--text); font-size: 1rem; }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.stat {
  background: #fff; border: 1px solid rgba(18,58,140,.12); border-radius: 14px;
  padding: 1.1rem .8rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
  box-shadow: 0 6px 16px rgba(18,58,140,.06); transition: transform .2s ease, box-shadow .2s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18,58,140,.12); }
.stat svg { color: #c79a4f; }
.stat strong { font-size: 1.55rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; line-height: 1; }
.stat span { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }

/* ---------- Confiança ---------- */
.trust {
  max-width: var(--wrap); margin: 2.5rem auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.trust__item { display: flex; gap: .8rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); }
.trust__item strong { display: block; font-size: .9rem; color: var(--ink); }
.trust__item span { font-size: .78rem; color: var(--muted); }

/* ---------- Newsletter ---------- */
.news {
  position: relative; overflow: hidden; margin-top: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff;
}
.news::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 22px 22px; opacity: .6; pointer-events: none;
}
.news::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.news__inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 4rem) var(--pad);
  display: grid; gap: 1.6rem;
}
.news__eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin: 0 0 .6rem; }
.news__title { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .6rem; color: #fff; }
.news__sub { margin: 0; color: rgba(255,255,255,.82); max-width: 44ch; line-height: 1.6; }
.news__form { display: flex; flex-direction: column; gap: .7rem; max-width: 520px; width: 100%; }
.news__field { display: flex; gap: .5rem; }
.news__field input {
  flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08);
  color: #fff; border-radius: 999px; padding: .95rem 1.2rem; font-family: inherit; font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.news__field input::placeholder { color: rgba(255,255,255,.6); }
.news__field input:focus { outline: none; border-color: var(--gold-soft); background: rgba(255,255,255,.14); }
.news__btn { white-space: nowrap; border-radius: 999px; padding: .95rem 1.6rem; background: #fff; color: var(--navy); font-weight: 700; border: 0; transition: background .2s, color .2s, transform .12s; }
.news__btn:hover { background: var(--gold-soft); color: var(--navy-900); }
.news__btn:active { transform: scale(.97); }
.news__btn:disabled { opacity: .7; cursor: default; }
.news__note { margin: 0; font-size: .72rem; color: rgba(255,255,255,.58); line-height: 1.5; }
.news__msg { margin: .1rem 0 0; font-size: .92rem; font-weight: 600; }
.news__msg.is-ok { color: #b7f0c8; }
.news__msg.is-err { color: #ffc9c2; }
.news.is-done .news__field, .news.is-done .news__note { display: none; }
@media (min-width: 760px) {
  .news__inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
  .news__form { justify-self: end; }
}
@media (max-width: 480px) {
  .news__field { flex-direction: column; }
  .news__btn { width: 100%; }
}

/* ---------- Barra de confiança (topo) ---------- */
.trustbar { background: var(--bg-soft); margin-top: 0; padding: clamp(1.4rem, 4vw, 2.2rem) var(--pad); }
.trustbar__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
}
.trustbar__item {
  display: flex; align-items: center; gap: .85rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(18,58,140,.04);
  transition: box-shadow .28s cubic-bezier(.4,0,.2,1), transform .28s cubic-bezier(.4,0,.2,1), border-color .28s ease;
}
.trustbar__item:hover { box-shadow: 0 14px 34px rgba(18,58,140,.12); transform: translateY(-4px); border-color: var(--navy-100); }
.trustbar__ic {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
  background: var(--navy-050); color: var(--navy); display: grid; place-items: center;
  transition: background .28s ease, color .28s ease, transform .28s cubic-bezier(.34,1.56,.64,1);
}
.trustbar__item:hover .trustbar__ic { background: var(--navy); color: #fff; transform: scale(1.06) rotate(-3deg); }
.trustbar__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; gap: .12rem; }
.trustbar__txt strong { font-size: .92rem; color: var(--ink); letter-spacing: -.01em; font-weight: 600; }
.trustbar__txt span { font-size: .76rem; color: var(--muted); }
@media (min-width: 760px) {
  .trustbar__inner { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* ---------- Avaliações (prova social) ---------- */
.reviews { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--pad); }
.reviews__head { text-align: center; margin-bottom: 2rem; }
.reviews__eyebrow { font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 700; color: var(--ink); margin: 0 0 .6rem; }
.reviews__score { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.reviews__agg { font-size: .88rem; color: var(--muted); }
.reviews .stars { color: #e0a63a; letter-spacing: .08em; }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.review .stars { font-size: .95rem; }
.review blockquote { margin: 0; font-size: .98rem; color: var(--ink); line-height: 1.55; }
.review figcaption { display: flex; flex-direction: column; gap: .1rem; margin-top: auto; }
.review figcaption strong { color: var(--navy); font-size: .9rem; }
.review figcaption span { font-size: .78rem; color: var(--muted); }

/* ---------- Instagram ---------- */
.insta { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--pad); }
.insta__card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(2rem, 6vw, 2.8rem) clamp(1.2rem, 5vw, 2rem);
  background: linear-gradient(180deg, #fff 0%, var(--navy-050) 100%);
  border: 1px solid var(--navy-100); border-radius: 24px;
  box-shadow: 0 18px 44px rgba(10,20,45,.08);
}
.insta__card::before {
  content: ""; position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 240px; height: 240px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(214,36,159,.14) 0%, rgba(79,91,213,.08) 40%, transparent 70%);
}
.insta__badge {
  position: relative; z-index: 1;
  width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff; margin-bottom: 1.1rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 12px 28px rgba(214,36,159,.34);
}
.insta__eyebrow { position: relative; z-index: 1; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 .3rem; }
.insta__handle { position: relative; z-index: 1; display: block; font-size: clamp(1.5rem, 6vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.insta__note { position: relative; z-index: 1; margin: .7rem 0 0; font-size: 1.02rem; font-weight: 600; line-height: 1.4; color: var(--navy-900); max-width: 24ch; letter-spacing: -.01em; }
.insta__note-since { display: block; margin-top: .25rem; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.insta__followers { font-size: .82rem; color: var(--muted); }
.insta__cta {
  position: relative; z-index: 1; margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.8rem; border-radius: 999px; color: #fff; font-size: .95rem; font-weight: 700; text-decoration: none;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-900) 100%);
  box-shadow: 0 10px 24px rgba(18,58,140,.3);
  transition: transform .2s, box-shadow .2s;
}
.insta__cta svg { flex: 0 0 auto; }
.insta__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18,58,140,.38); }
.insta__cta:active { transform: translateY(0); }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.igpost { display: block; aspect-ratio: 1/1; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-050) 0%, #eef2fb 100%);
  transition: transform .45s cubic-bezier(.19,1,.22,1), box-shadow .45s ease; }
.igpost:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(18,58,140,.22); }
/* véu navy que preenche no hover */
.igpost::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: linear-gradient(140deg, rgba(18,58,140,.95), rgba(40,82,175,.95));
  opacity: 0; transition: opacity .45s ease; }
.igpost:hover::after { opacity: 1; }
/* ícone do Instagram ao centro */
.igpost[data-ph]::before { content: ""; position: absolute; inset: 0; z-index: 2; margin: 0; width: 100%; height: 100%; display: block; padding: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123A8C' stroke-width='1.6'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17' cy='7' r='1.15' fill='%23123A8C' stroke='none'/></svg>") center / 34px 34px no-repeat;
  opacity: .45; transition: opacity .45s ease, transform .55s cubic-bezier(.19,1,.22,1); }
.igpost:hover[data-ph]::before {
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17' cy='7' r='1.15' fill='%23ffffff' stroke='none'/></svg>") center / 38px 38px no-repeat;
  opacity: 1; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .igpost, .igpost::after, .igpost[data-ph]::before { transition: none; }
  .igpost:hover { transform: none; }
  .igpost:hover[data-ph]::before { transform: none; }
}

@media (min-width: 640px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .insta__grid { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.75); }
.footer__top {
  max-width: var(--wrap); margin: 0 auto; padding: 2.5rem var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.footer__brand .logo__name { color: #fff; font-size: 1.4rem; }
.footer__brand p { font-size: .88rem; margin: .6rem 0 1rem; max-width: 34ch; }
.footer__social a { color: #ffd7a0; font-weight: 600; font-size: .88rem; }
.footer__col h3 { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer__col a, .footer__col address { display: block; font-style: normal; font-size: .9rem; color: rgba(255,255,255,.72); padding: .28rem 0; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.1rem var(--pad); display: flex; flex-direction: column; gap: .4rem; text-align: center;
  font-size: .78rem; color: rgba(255,255,255,.55);
}

/* =========================================================
   ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  .grid4 { grid-template-columns: repeat(4, 1fr); }
  .depts__grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .promos { grid-template-columns: repeat(3, 1fr); }
  .carousel__track > .card { flex-basis: 42%; }
  .slide { grid-template-columns: 1.1fr 1fr; }
  .slide__media { min-height: 340px; }
  .slide__panel { padding: 2.5rem; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* =========================================================
   ≥ 900px  (desktop: search + catbar visíveis)
   ========================================================= */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .hamb { display: none; }
  .nav-inline { display: flex; align-items: center; gap: .05rem; margin-left: .4rem; }
  .header__inner { gap: .8rem; }
  .hero__arrow { display: grid; }
  .carousel__btn { display: grid; }
  .carousel__track > .card { flex-basis: 23%; }
  .depts__grid { grid-template-columns: repeat(6, 1fr); }
  .story { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .story__media { aspect-ratio: auto; height: 100%; min-height: 480px; }
  .story__copy { padding: clamp(3rem, 5vw, 4.5rem); align-self: center; }
  .story__seal { width: 96px; height: 96px; top: 1.6rem; right: 1.6rem; }
  .story__seal b { font-size: 1.6rem; }
  .news__inner { grid-template-columns: 1fr auto; align-items: center; }
  .news__form { min-width: 380px; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; }
}

/* =========================================================
   Página de produto
   ========================================================= */
.pdp { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); padding: 1.1rem 0; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: var(--line); }
.breadcrumb__current { color: var(--ink); }

.pdp__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
/* itens de grelha não devem transbordar o seu espaço (evita o desalinhamento) */
.pdp__grid > * { min-width: 0; }

/* Galeria */
.gallery { display: flex; flex-direction: column; gap: .8rem; }
.gallery__main { aspect-ratio: 1/1; border-radius: 14px; position: relative; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.thumb { aspect-ratio: 1/1; border: 2px solid var(--line); border-radius: 10px; background: var(--ph); cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.thumb::before { content: attr(data-ph); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .58rem; color: var(--muted); padding: 0 .3rem; }
.thumb.is-active { border-color: var(--navy); }

/* Info */
.pinfo { display: flex; flex-direction: column; }
.pinfo__cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--navy); }
.pinfo__title { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; margin: .5rem 0 .6rem; line-height: 1.1; }
.pinfo__rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.stars { color: #e0a63a; letter-spacing: .1em; font-size: .95rem; }
.pinfo__reviews { font-size: .82rem; color: var(--muted); }
.pinfo__price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.pinfo__price .now { font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.pinfo__price .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.pinfo__price .save { font-size: .72rem; font-weight: 700; color: #fff; background: var(--sale); padding: .25rem .5rem; border-radius: 6px; letter-spacing: .02em; }
.pinfo__desc { color: var(--text); margin: 0 0 1.5rem; max-width: 52ch; }

.opt { margin-bottom: 1.4rem; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; }
.opt__label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.opt__guide { font-size: .78rem; color: var(--navy); text-decoration: underline; }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem .45rem .5rem; border: 1.5px solid var(--line); border-radius: 30px; background: #fff; font-family: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.swatch::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.12); flex: 0 0 auto; }
.swatch.is-active { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.sizes { display: flex; flex-wrap: wrap; gap: .6rem; }
.size { min-width: 66px; padding: .6rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.size:hover { border-color: var(--navy); }
.size.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }

.buybar { display: flex; align-items: stretch; gap: .7rem; margin: .4rem 0 1.5rem; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.qty__btn { width: 42px; align-self: stretch; background: var(--bg-soft); border: 0; font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.qty__btn:hover { background: var(--navy-050); color: var(--navy); }
.qty__val { min-width: 40px; text-align: center; font-weight: 600; }
.addbtn { flex: 1; background: var(--navy); color: #fff; border: 0; border-radius: 10px; font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .2s; padding: .9rem 1rem; }
.addbtn:hover { background: var(--navy-700); }
.wish { width: 50px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 1.2rem; cursor: pointer; transition: color .2s, border-color .2s; flex: 0 0 auto; }
.wish:hover, .wish.is-on { color: var(--sale); border-color: var(--sale); }

.pinfo__assur { list-style: none; margin: 0 0 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .7rem; }
.pinfo__assur li { display: flex; align-items: center; gap: .7rem; font-size: .86rem; color: var(--text); }
.pinfo__assur svg { color: var(--navy); flex: 0 0 auto; }

.pdetails__item { border-bottom: 1px solid var(--line); }
.pdetails__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; padding: 1rem 0; font-family: inherit; font-size: .95rem; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; }
.pdetails__item[data-open="true"] .chev--acc { transform: rotate(180deg); }
.pdetails__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pdetails__item[data-open="true"] .pdetails__body { max-height: 340px; }
.pdetails__body p { margin: 0 0 1rem; color: var(--text); font-size: .9rem; max-width: 60ch; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1.5rem); background: var(--navy); color: #fff; padding: .85rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px rgba(10,20,45,.3); z-index: 300; opacity: 0; transition: opacity .25s, transform .25s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 760px) {
  .pdp__grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .gallery { position: sticky; top: 84px; }
  .buybar { max-width: 480px; }
}
@media (min-width: 1024px) {
  .pdp__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; padding-bottom: 3.5rem; }
}

/* Vistas do SPA (troca instantânea, sem recarregar) */
.view[hidden] { display: none !important; }

/* =========================================================
   Hero único + tiles de entrada
   ========================================================= */
.herobox {
  position: relative; min-height: 440px; margin: 0; background: transparent;
}
.herobox .herobox__media {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--navy); border-radius: 0; overflow: hidden;
}

/* Slideshow do hero (crossfade) */
.herobox__slides { position: relative; overflow: hidden; }
.herobox__slides .hslide {
  position: absolute; inset: 0; display: block; opacity: 0;
  transition: opacity .7s ease;
}
.herobox__slides .hslide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.herobox__slides .hslide.is-active { opacity: 1; }

/* véu (scrim) com "spotlight" escuro atrás do texto central — pop em qualquer foto */
.herobox__slides::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  /* navy da marca (#123A8C) escurecido — mantém a identidade no véu */
  background:
    radial-gradient(ellipse 64% 72% at center, rgba(10,30,74,.68) 0%, rgba(10,30,74,.44) 55%, rgba(12,37,92,.30) 100%),
    linear-gradient(rgba(12,37,92,.24), rgba(12,37,92,.24));
}

/* dots de navegação */
.hero-dots {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 10px;
  display: flex; gap: 2px; justify-content: center; padding: 0 16px; flex-wrap: wrap;
}
/* alvo de toque ≥ 28px, ponto visual pequeno via ::after */
.hero-dots button {
  width: 28px; height: 28px; border: 0; padding: 0; cursor: pointer;
  background: none; box-shadow: none; position: relative; display: grid; place-items: center;
}
.hero-dots button::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: background .25s ease, width .25s ease, border-radius .25s ease;
}
.hero-dots button:hover::after { background: rgba(255,255,255,.85); }
.hero-dots button.is-active::after { background: #fff; width: 22px; border-radius: 999px; }
.herobox__panel {
  position: relative; z-index: 2; background: transparent; color: #fff;
  min-height: 440px; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 2rem var(--pad);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.herobox__eyebrow, .herobox__title, .herobox__sub { max-width: 46rem; margin-left: auto; margin-right: auto; }
.herobox__eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #ffe1b0; font-weight: 700; margin: 0 0 .8rem; text-shadow: 0 1px 2px rgba(10,30,74,.7), 0 2px 16px rgba(10,30,74,.6); }
.herobox__title { color: #fff; font-size: clamp(2.1rem, 6.4vw, 3.5rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.04; margin: 0 0 1rem; text-shadow: 0 2px 22px rgba(10,30,74,.55), 0 1px 3px rgba(10,30,74,.4); }
.herobox__sub { color: rgba(255,255,255,.92); font-size: 1rem; margin: 0 0 1.5rem; max-width: 42ch; text-shadow: 0 1px 12px rgba(10,30,74,.5); }
.herobox__cta { font-size: .9rem; padding: .9rem 1.8rem; }

/* entrada subtil do texto do hero (uma vez, ao carregar) */
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.herobox__panel > * { animation: heroIn .85s cubic-bezier(.2,.7,.2,1) both; }
.herobox__eyebrow { animation-delay: .05s; }
.herobox__title   { animation-delay: .15s; }
.herobox__sub     { animation-delay: .32s; }
.herobox__cta     { animation-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .herobox__panel > * { animation: none; } }

.entrytiles {
  max-width: var(--wrap); margin: 1rem auto 0; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.etile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.etile:hover { box-shadow: 0 12px 28px rgba(18,58,140,.12); transform: translateY(-2px); }
.etile__media { aspect-ratio: 16/9; }
.etile__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem 1.1rem; }
.etile__label { font-family: inherit; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.etile__go { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: color .2s, transform .2s; }
.etile:hover .etile__go { color: var(--navy); }

@media (min-width: 760px) {
  .herobox { min-height: 600px; }
  .herobox__media { min-height: 600px; border-radius: 0; }
  .herobox__panel { min-height: 600px; padding: 3rem var(--pad); }
  .hero-dots { justify-content: center; bottom: 24px; padding: 0; }
  .entrytiles { grid-template-columns: repeat(3, 1fr); margin-top: 1.2rem; }
  .etile__media { aspect-ratio: 4/3; }
}

/* =========================================================
   Página de listagem (categoria / subcategoria)
   ========================================================= */
.listing { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 3rem; }
.listing__head { padding: .3rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.listing__eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin: 0 0 .4rem; }
.listing__title { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 700; margin: 0; }
.listing__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.listing__count { font-size: .85rem; color: var(--muted); }
.sortsel { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.sortsel select { font-family: inherit; font-size: .85rem; padding: .5rem .7rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.sortsel select:focus { outline: none; border-color: var(--navy); }
.listing__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 3vw, 1.5rem); }
@media (min-width: 640px) { .listing__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .listing__grid { grid-template-columns: repeat(4, 1fr); } }

/* Filtros da listagem */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.4rem; }
.filters[hidden] { display: none; }
.filters__label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 .1rem 0 .4rem; }
.filters__label:first-child { margin-left: 0; }
.chipf { font-family: inherit; font-size: .8rem; font-weight: 600; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 30px; padding: .45rem .85rem; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.chipf:hover { border-color: var(--navy); color: var(--navy); }
.chipf.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chipf--clear { border: 0; background: none; color: var(--navy); text-decoration: underline; padding: .45rem .4rem; }
.chipf--clear:hover { color: var(--navy-700); }
.listing__empty { color: var(--muted); font-size: .95rem; padding: 1.5rem 0; }

/* Produto esgotado (listagem) */
.card--out { opacity: .68; }
.badge--out { background: #6b7280; color: #fff; }

/* "Toda a loja" — secções por categoria */
.shopsec { margin-bottom: 2.6rem; }
.shopsec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.shopsec__title { font-size: clamp(1.2rem, 4vw, 1.5rem); font-weight: 700; color: var(--navy); margin: 0; }
.shopsec__all { font-size: .82rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.shopsec__all:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .hero__track { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   Banner de consentimento de cookies (RGPD)
   ========================================================= */
.cfcookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  padding: 0 16px 16px; pointer-events: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.cfcookies.is-in { opacity: 1; transform: translateY(0); }
.cfcookies__inner {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line, #e7e3da);
  border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(18, 58, 140, .14);
}
.cfcookies__text {
  flex: 1; min-width: 240px; margin: 0;
  font-size: .9rem; line-height: 1.5; color: var(--ink, #1b1b1b);
}
.cfcookies__text a { color: var(--navy, #123A8C); text-decoration: underline; }
.cfcookies__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cfcookies__btn {
  font: inherit; font-weight: 600; font-size: .88rem;
  padding: .6rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.cfcookies__btn--ghost {
  background: transparent; color: var(--navy, #123A8C); border-color: var(--line, #d9d4c8);
}
.cfcookies__btn--ghost:hover { border-color: var(--navy, #123A8C); }
.cfcookies__btn--solid { background: var(--navy, #123A8C); color: #fff; }
.cfcookies__btn--solid:hover { background: #0e2e6f; }
@media (max-width: 600px) {
  .cfcookies__inner { padding: 14px 16px; }
  .cfcookies__actions { width: 100%; }
  .cfcookies__btn { flex: 1; }
}

/* Links legais do rodapé */
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 8px; padding-top: 16px;
}
.footer__legal-links {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: center;
}
.footer__legal-links a {
  color: rgba(255,255,255,.72); font-size: .82rem; text-decoration: none;
  transition: color .15s;
}
.footer__legal-links a:hover { color: #fff; text-decoration: underline; }

/* Etiqueta de largura do tecido (cartão + página de produto) */
.card__dim {
  display: inline-block; align-self: flex-start;
  margin: 2px 0 2px; padding: 2px 10px;
  font-size: .74rem; font-weight: 600; white-space: nowrap;
  color: var(--navy, #123A8C);
  background: rgba(18,58,140,.08);
  border-radius: 999px;
}
.card__dim-lbl { font-weight: 500; opacity: .7; }
.pinfo__dim {
  display: inline-block; margin: 4px 0 0; padding: 4px 14px;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  color: var(--navy, #123A8C); background: rgba(18,58,140,.08);
  border-radius: 999px;
}

/* =========================================================
   Próximo nível — revelação ao scroll + movimento do hero
   (grelha via @keyframes p/ não clobbar as transições de hover
    dos cartões; blocos via transition. Só com JS: html.has-reveal)
   ========================================================= */
.has-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .75s cubic-bezier(.19,1,.22,1); }
.has-reveal .reveal.is-in { opacity: 1; transform: none; }

.has-reveal .reveal-fade { opacity: 0; }
.has-reveal .reveal-fade.is-in { animation: cfFadeUp .65s cubic-bezier(.19,1,.22,1) forwards; }
@keyframes cfFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; } }

/* Hero: leve efeito "ken burns" no slide ativo */
.herobox__slides .hslide.is-active img { animation: cfKen 16s ease-out both; }
@keyframes cfKen { from { transform: scale(1.02); } to { transform: scale(1.09); } }

/* Micro-lift nos botões principais */
.btn--solid, .btn--light { will-change: transform; }
.btn--solid:hover, .btn--light:hover { transform: translateY(-1px); }
.btn--solid:active, .btn--light:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .has-reveal .reveal, .has-reveal .reveal-fade { opacity: 1 !important; transform: none !important; animation: none !important; }
  .herobox__slides .hslide.is-active img { animation: none; }
  .btn--solid:hover, .btn--light:hover { transform: none; }
}

/* Identificação legal (ENI) no rodapé */
.footer__legalinfo { margin: 10px 0 0; font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.footer__legalinfo a { color: rgba(255,255,255,.85); text-decoration: underline; }
.footer__legalinfo a:hover { color: #fff; }
.footer__ral { max-width: 820px; margin-left: auto; margin-right: auto; }

/* =========================================================
   Avaliações — upgrade estético (aspas, elevação, selo verificado)
   ========================================================= */
.reviews__head { margin-bottom: 2.4rem; }
.reviews__score .stars { font-size: 1.1rem; }
.reviews__grid { gap: 1.2rem; }

.review {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 2.4rem 1.5rem 1.4rem;
  box-shadow: 0 1px 2px rgba(18,58,140,.04);
  transition: box-shadow .32s cubic-bezier(.4,0,.2,1), transform .32s cubic-bezier(.4,0,.2,1), border-color .32s ease;
}
.review:hover { box-shadow: 0 16px 40px rgba(18,58,140,.13); transform: translateY(-4px); border-color: var(--navy-100); }
/* aspas decorativas no canto */
.review::before {
  content: "\201C"; position: absolute; top: .35rem; left: 1.1rem; z-index: 0;
  font-family: Georgia, "Times New Roman", serif; font-size: 4.4rem; line-height: 1;
  color: var(--navy); opacity: .12; pointer-events: none;
}
.review .stars { position: relative; z-index: 1; font-size: 1rem; letter-spacing: .14em; }
.review blockquote { position: relative; z-index: 1; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.review figcaption { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review figcaption strong { font-size: .95rem; }
.review figcaption > span { font-size: .78rem; color: var(--muted); }
/* selo "compra verificada" com visto verde */
.review figcaption [data-i18n="rev.verified"] { color: #2e7d46; font-weight: 600; white-space: nowrap; }
.review figcaption [data-i18n="rev.verified"]::before { content: "\2713\00a0"; font-weight: 700; }

/* =========================================================
   Secção "Confiança" (.trust) — deslizar 1-a-1 no telemóvel
   ========================================================= */
@media (max-width: 759px) {
  .trust {
    display: flex; grid-template-columns: none; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; cursor: grab;
  }
  .trust::-webkit-scrollbar { display: none; }
  .trust.is-grabbing { cursor: grabbing; }
  .trust.is-grabbing .trust__item { pointer-events: none; }
  .trust__item { flex: 0 0 100%; max-width: 100%; scroll-snap-align: center; }
}

/* =========================================================
   Barra de confiança — passa 1-a-1 no telemóvel (carrossel).
   No desktop mantém os 4 cartões em linha (ver @min-width:760px).
   ========================================================= */
.trustbar__dots { display: none; }
@media (max-width: 759px) {
  .trustbar { overflow: hidden; }
  .trustbar__inner {
    display: flex; grid-template-columns: none; gap: 0;
    transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform;
    touch-action: pan-y; /* deslizar na horizontal é nosso; scroll vertical passa à página */
    -webkit-user-select: none; user-select: none;
  }
  .trustbar__item { flex: 0 0 100%; min-width: 0; }
  .trustbar__dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
  .trustbar__dots button {
    width: 26px; height: 26px; border: 0; background: none; padding: 0; cursor: pointer;
    display: grid; place-items: center;
  }
  .trustbar__dots button::after {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-100);
    transition: background .25s ease, width .25s ease, border-radius .25s ease;
  }
  .trustbar__dots button.is-active::after { background: var(--navy); width: 18px; border-radius: 999px; }
}
@media (prefers-reduced-motion: reduce) { .trustbar__inner { transition: none; } }
