/* ==========================================================================
   IMAVI · sistema visual único do site (v3, 26/11/2026)
   Regras do Manual de Identidade Visual IMAVI v1.0:
   - Títulos: The Seasons (provisória: Fraunces, desenho mais próximo e gratuito).
     Para trocar, basta mudar --f-titulo e o @font-face abaixo.
   - Todo o resto: Quicksand. Subtítulos em caixa alta.
   - Paleta: #848366 oliva · #939889 sálvia · #748892 ardósia · #cfd9e4 azul claro
             #cbbaac areia · #ebeae8 off-white · preto · branco.
   - Texto alinhado à esquerda, minimalista sem ser simplista.
   Coleção Almare (página e seções próprias): azul #082E4D + serifa clássica.
   ========================================================================== */

@font-face { font-family: 'IMAVI Titulo'; src: url('../fonts/fraunces-latin.woff2') format('woff2'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('../fonts/quicksand.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Almare Serif'; src: url('../fonts/cormorant.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Almare Serif'; src: url('../fonts/cormorant-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --oliva: #848366;
  --salvia: #939889;
  --ardosia: #748892;
  --azul-claro: #cfd9e4;
  --areia: #cbbaac;
  --off: #ebeae8;
  --branco: #fff;
  --tinta: #1c1c1a;            /* preto da marca, suavizado para leitura longa */
  --tinta-2: #55595a;          /* texto de apoio (contraste AA sobre branco e off-white) */
  --linha: #dcdbd8;
  --almare: #082E4D;
  --almare-2: #051F35;
  --almare-papel: #f4efe6;

  --f-titulo: 'IMAVI Titulo', 'Times New Roman', serif;
  --f-texto: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-almare: 'Almare Serif', 'Times New Roman', serif;

  --topo-faixa: 34px;
  --topo: 72px;
  --lado: clamp(1rem, 3.2vw, 3rem);
  --sec: clamp(3.5rem, 7vw, 6.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topo) + 16px); }
body { margin: 0; background: var(--branco); color: var(--tinta); font-family: var(--f-texto); font-size: 15px; font-weight: 500; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ardosia); outline-offset: 3px; }
::selection { background: var(--azul-claro); color: var(--tinta); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--tinta); color: #fff; padding: 0.7rem 1rem; }
.pular:focus { left: 1rem; top: 1rem; }

/* ---------- Tipografia ---------- */
.rotulo { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta-2); }
.titulo { font-family: var(--f-titulo); font-weight: 350; font-size: clamp(1.75rem, 2.9vw, 2.65rem); line-height: 1.12; letter-spacing: -0.012em; color: var(--tinta); }
.titulo--g { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.04; }
.texto { font-size: 15px; line-height: 1.7; color: var(--tinta-2); max-width: 46ch; }
.texto + .texto { margin-top: 0.9rem; }

/* ---------- Botões (retângulo fino, caixa alta pequena) ---------- */
.bt { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.85rem 1.9rem; border: 1px solid var(--tinta); background: var(--tinta); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color 0.35s var(--ease), border-color 0.35s var(--ease); }
.bt::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ardosia); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); }
.bt:hover::before { transform: scaleY(1); }
.bt:hover { border-color: var(--ardosia); }
.bt:active { transform: translateY(1px); }
.bt--linha { background: transparent; color: var(--tinta); }
.bt--linha::before { background: var(--tinta); }
.bt--linha:hover { color: #fff; border-color: var(--tinta); }
.bt--claro { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.bt--claro::before { background: #fff; }
.bt--claro:hover { color: var(--tinta); border-color: #fff; }
.bt--bloco { width: 100%; }
.link-sub { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta); padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.4s var(--ease); }
.link-sub:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Faixa do topo ---------- */
.faixa { height: var(--topo-faixa); display: flex; align-items: center; justify-content: center; gap: 1.6rem; padding: 0 var(--lado); background: var(--off); color: var(--tinta); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.faixa span + span::before { content: '·'; margin-right: 1.6rem; color: var(--ardosia); }
@media (max-width: 760px) { .faixa span:not(:first-child) { display: none; } }

/* ---------- Cabeçalho ---------- */
.topo { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.topo.is-rolado { border-bottom-color: var(--linha); }
.topo__in { position: relative; height: var(--topo); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--lado); }
.topo__logo { display: block; width: 132px; height: 31px; background: var(--ardosia); -webkit-mask: url('../img/brand/logo-imavi-mark.png') center / contain no-repeat; mask: url('../img/brand/logo-imavi-mark.png') center / contain no-repeat; }
.topo__esq { display: flex; align-items: center; min-width: 0; }
.topo__nav { display: flex; gap: clamp(1rem, 1.9vw, 2rem); }
.topo__nav--d { justify-content: flex-end; align-items: center; }
.topo__a { position: relative; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.5rem 0; white-space: nowrap; }
.topo__a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.topo__a:hover::after, .topo__a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.topo__ico { display: inline-flex; align-items: center; gap: 0.45rem; }
.topo__ico svg { width: 19px; height: 19px; }
.topo__menu { display: none; width: 44px; height: 44px; margin-left: -10px; align-items: center; justify-content: center; }
.topo__menu i { position: relative; display: block; width: 20px; height: 1px; background: var(--tinta); }
.topo__menu i::before, .topo__menu i::after { content: ''; position: absolute; left: 0; width: 20px; height: 1px; background: var(--tinta); }
.topo__menu i::before { top: -6px; }
.topo__menu i::after { top: 6px; }
@media (max-width: 1080px) {
  :root { --topo: 60px; }
  .topo__nav--e, .topo__nav--d .topo__a { display: none; }
  .topo__menu { display: inline-flex; }
  .topo__logo { width: 120px; height: 28px; }
}

/* Gaveta do celular */
.gaveta { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.gaveta__fundo { position: absolute; inset: 0; background: rgba(28, 28, 26, 0.35); opacity: 0; transition: opacity 0.35s var(--ease); }
.gaveta__painel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: #fff; display: flex; flex-direction: column; padding: 1rem 1.5rem 2rem; transform: translateX(-100%); transition: transform 0.45s var(--ease); overflow-y: auto; }
.gaveta.is-aberta { visibility: visible; }
.gaveta.is-aberta .gaveta__fundo { opacity: 1; }
.gaveta.is-aberta .gaveta__painel { transform: none; }
.gaveta__x { align-self: flex-start; width: 44px; height: 44px; margin-left: -12px; display: grid; place-items: center; }
.gaveta__lista { margin-top: 1.2rem; border-top: 1px solid var(--linha); }
.gaveta__lista a { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--linha); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.gaveta__lista a::after { content: '›'; font-size: 18px; color: var(--ardosia); }
.gaveta__sec { margin-top: 1.8rem; display: grid; gap: 0.85rem; font-size: 14px; color: var(--tinta-2); }
.gaveta__sec b { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta); }
body.sem-rolagem { overflow: hidden; }

/* ---------- Seções e grade de produtos ---------- */
.sec { padding: var(--sec) var(--lado); }
.sec--off { background: var(--off); }
.sec--colada { padding-top: 0; }
.cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.cab .rotulo { margin-bottom: 0.55rem; }
.grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 2.4vw, 2.4rem) clamp(0.5rem, 1vw, 1rem); }
@media (max-width: 900px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grade--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grade--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cartão da peça */
.card { display: block; }
.card__foto { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--off); }
.card__foto picture, .card__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__verso { opacity: 0; transition: opacity 0.55s var(--ease); }
.card__foto img { transition: transform 1.2s var(--ease); }
@media (hover: hover) {
  .card:hover .card__verso { opacity: 1; }
  .card:hover .card__foto img { transform: scale(1.025); }
}
.card__selo { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2; background: #fff; padding: 0.3rem 0.55rem; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.card__n { display: block; margin-top: 0.85rem; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.45; }
.card__l { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-top: 0.3rem; }
.card__p { font-size: 13.5px; font-weight: 500; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.card__cores { display: flex; gap: 4px; }
.card__cores i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }

/* ---------- Abertura (home) ---------- */
.abre { position: relative; height: calc(100vh - var(--topo) - var(--topo-faixa)); height: calc(100svh - var(--topo) - var(--topo-faixa)); min-height: 520px; /* 27/11 Rayssa: abertura ocupa a tela inteira também no tablet */ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #fff; overflow: hidden; }
.abre__foto { position: relative; overflow: hidden; }
.abre__foto picture, .abre__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abre__foto img { animation: abre-zoom 2.4s var(--ease) both; }
.abre::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.38) 100%); pointer-events: none; }
.abre__txt { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 5vw, 3.5rem); z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; padding: 0 var(--lado); }
.abre__txt .rotulo { color: #fff; margin-bottom: 1rem; }
.abre__marca { width: min(62vw, 360px); margin-bottom: 1.6rem; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35)); } /* legibilidade do "por IMAVI & Luchesi" sobre a foto */
@keyframes abre-zoom { from { transform: scale(1.06); } to { transform: none; } }
/* Tablet em pé: 3 colunas ficam estreitas demais e cortam os rostos; 2 fotos mostram as 4 modelos inteiras */
@media (min-width: 601px) and (max-width: 1100px) and (orientation: portrait) {
  .abre { grid-template-columns: repeat(2, 1fr); }
  .abre__foto:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .abre { grid-template-columns: 1fr; height: auto; min-height: 0; aspect-ratio: 4 / 5.4; }
  .abre__foto:nth-child(n+2) { display: none; }
}

/* Linhas (compre por categoria) */
.linhas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.5rem, 1vw, 1rem); }
.linha { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--off); }
.linha picture, .linha img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.linha::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.32)); }
.linha__n { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; display: flex; gap: 0.5rem; align-items: center; }
@media (hover: hover) { .linha:hover img { transform: scale(1.04); } }
@media (max-width: 900px) { .linhas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Seções seguidas não dobram o respiro */
.sec:not(.sec--off) + .edit, .edit + .sec:not(.sec--off), .edit + .edit { padding-top: 0; }

/* Editorial (foto grande + texto curto) */
.edit { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: var(--sec) var(--lado); }
.edit--inv { grid-template-columns: 5fr 7fr; }
.edit--inv .edit__foto { order: 2; }
.edit__foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--off); }
.edit__foto picture, .edit__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edit__txt { max-width: 440px; }
.edit__txt .rotulo { margin-bottom: 1.1rem; }
.edit__txt .titulo { margin-bottom: 1.2rem; }
.edit__txt .bt, .edit__txt .link-sub { margin-top: 2rem; }
@media (max-width: 860px) {
  .edit, .edit--inv { grid-template-columns: 1fr; gap: 2rem; }
  .edit--inv .edit__foto { order: 0; }
}

/* Monte o seu biquíni */
.monte { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(0.5rem, 1vw, 1rem); align-items: stretch; }
.monte__foto { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--off); }
.monte__foto picture, .monte__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.monte__foto figcaption { position: absolute; left: 0.8rem; bottom: 0.8rem; background: #fff; padding: 0.35rem 0.6rem; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.monte__txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--off); }
.monte__txt .rotulo { margin-bottom: 1rem; }
.monte__txt .titulo { margin-bottom: 1rem; }
.monte__passos { margin: 1.4rem 0 2rem; display: grid; gap: 0.7rem; counter-reset: p; }
.monte__passos li { display: flex; gap: 0.8rem; align-items: baseline; font-size: 14px; color: var(--tinta-2); counter-increment: p; }
.monte__passos li::before { content: '0' counter(p); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--ardosia); }
@media (max-width: 860px) {
  .monte { grid-template-columns: 1fr 1fr; }
  .monte__txt { grid-column: 1 / -1; }
}

/* Vantagens */
.vant { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.vant li { display: flex; gap: 0.9rem; align-items: center; padding: 1.6rem clamp(1rem, 2vw, 1.8rem); }
.vant li + li { border-left: 1px solid var(--linha); }
.vant svg { flex: none; width: 26px; height: 26px; color: var(--ardosia); }
.vant b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.vant span { display: block; font-size: 13px; color: var(--tinta-2); line-height: 1.45; }
@media (max-width: 900px) {
  .vant { grid-template-columns: 1fr 1fr; }
  .vant li:nth-child(3) { border-left: 0; }
  .vant li:nth-child(n+3) { border-top: 1px solid var(--linha); }
}
@media (max-width: 480px) { .vant li { padding: 1.2rem 0.8rem; flex-direction: column; align-items: flex-start; gap: 0.6rem; } }

/* Avaliações */
.aval { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(2rem, 6vw, 6rem); }
.aval__nota { font-family: var(--f-titulo); font-weight: 300; font-size: clamp(3.6rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; }
.aval__estrelas { display: block; margin: 0.6rem 0 0.4rem; letter-spacing: 0.25em; color: var(--oliva); font-size: 14px; }
.aval__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.aval__item blockquote { font-size: 14.5px; line-height: 1.7; color: var(--tinta); }
.aval__item figcaption { margin-top: 1rem; font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta-2); }
@media (max-width: 900px) {
  .aval { grid-template-columns: 1fr; }
  .aval__lista { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--lado)); padding: 0 var(--lado); }
  .aval__lista::-webkit-scrollbar { display: none; }
  .aval__item { scroll-snap-align: start; }
}

/* Instagram */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--off); }
.insta img, .insta picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s var(--ease); }
@media (hover: hover) { .insta a:hover img { opacity: 0.85; } }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Rodapé ---------- */
.rod { background: var(--off); padding: clamp(3rem, 6vw, 5rem) var(--lado) 1.5rem; color: var(--tinta); }
.rod__topo { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.rod__marca { display: block; width: 150px; height: 35px; background: var(--ardosia); -webkit-mask: url('../img/brand/logo-imavi-mark.png') left center / contain no-repeat; mask: url('../img/brand/logo-imavi-mark.png') left center / contain no-repeat; }
.rod__lema { margin-top: 1rem; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tinta-2); }
.rod__redes { display: flex; gap: 0.6rem; margin-top: 1.6rem; }
.rod__redes a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #c9c8c4; border-radius: 50%; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.rod__redes a:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.rod__redes svg { width: 17px; height: 17px; }
.rod h2 { margin-bottom: 1.1rem; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.rod li + li { margin-top: 0.55rem; }
.rod li, .rod p { font-size: 14px; color: var(--tinta-2); line-height: 1.6; }
.rod ul a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
.rod__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; padding-top: 1.4rem; border-top: 1px solid #d3d2ce; font-size: 11.5px; color: var(--tinta-2); }
.rod__base a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .rod__topo { grid-template-columns: 1fr 1fr; } .rod__topo > div:first-child { grid-column: 1 / -1; } }

/* WhatsApp flutuante */
.wpp-float { position: fixed; right: clamp(0.9rem, 2vw, 1.5rem); bottom: clamp(0.9rem, 2vw, 1.5rem); z-index: 80; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--tinta); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.wpp-float:hover { background: var(--ardosia); transform: translateY(-2px); }
.wpp-float svg { width: 24px; height: 24px; }
body.tem-compra .wpp-float { bottom: calc(clamp(0.9rem, 2vw, 1.5rem) + 76px); }

/* Aviso de cookies (montado por tracking.js) */
.cookie-bar { position: fixed; left: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); z-index: 110; max-width: 380px; background: #fff; border: 1px solid var(--linha); padding: 1.1rem 1.2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.cookie-bar.is-visible { opacity: 1; transform: none; }
.cookie-bar p { font-size: 13px; line-height: 1.55; color: var(--tinta-2); }
.cookie-bar__acoes { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.cookie-bar button { flex: 1; min-height: 40px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--tinta); }
.cookie-bar__aceitar { background: var(--tinta); color: #fff; }
@media (max-width: 560px) { .cookie-bar { right: 0.75rem; max-width: none; } }

/* ---------- Páginas de lista (Resort, Biquínis, Maiôs, Bolsas) ---------- */
.migalha { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1.2rem var(--lado) 0; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinta-2); }
.migalha a:hover { color: var(--tinta); }
.migalha span[aria-hidden] { color: var(--linha); }
.lista-cab { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem; padding: clamp(1.6rem, 3.5vw, 3rem) var(--lado) clamp(1.4rem, 3vw, 2.2rem); }
.lista-cab .titulo { margin-bottom: 0.7rem; }
.lista-cab__n { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-2); }
.filtros { display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 0 var(--lado) 1.6rem; }
.filtros a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 1rem; border: 1px solid var(--linha); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); }
.filtros a:hover { border-color: var(--tinta); }
.filtros a[aria-current] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.lista-grade { padding: 0 var(--lado) var(--sec); }
.lista-sub { margin: clamp(2.5rem, 5vw, 4rem) 0 1.4rem; display: flex; align-items: baseline; gap: 1rem; }
.lista-sub:first-child { margin-top: 0; }
.lista-sub h2 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.lista-sub p { font-size: 13.5px; color: var(--tinta-2); }
.nota-monte { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin: 0 var(--lado) 2rem; padding: 1.1rem 1.3rem; background: var(--off); font-size: 14px; color: var(--tinta-2); }
.nota-monte b { color: var(--tinta); }
.nota-monte svg { width: 26px; height: 26px; color: var(--ardosia); }

/* Perguntas */
.perg { padding: var(--sec) var(--lado); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--linha); }
.perg__lista details { border-bottom: 1px solid var(--linha); }
.perg__lista details:first-child { border-top: 1px solid var(--linha); }
.perg__lista summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; font-size: 14.5px; font-weight: 600; }
.perg__lista summary::-webkit-details-marker { display: none; }
.perg__lista summary::after { content: '+'; flex: none; font-weight: 400; font-size: 18px; line-height: 1; color: var(--ardosia); transition: transform 0.3s var(--ease); }
.perg__lista details[open] summary::after { transform: rotate(45deg); }
.perg__lista details p { padding: 0 0 1.3rem; font-size: 14px; line-height: 1.7; color: var(--tinta-2); max-width: 62ch; }
@media (max-width: 860px) { .perg { grid-template-columns: 1fr; } }

/* ---------- Página da peça (classes alm-* usadas por almare.js e tracking.js) ---------- */
.pdp-migalha { padding: 1.1rem var(--lado) 0; }
.alm-pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 5rem); padding: 1.2rem var(--lado) var(--sec); }
.alm-gal__trilho { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.alm-gal__item { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--off); }
.alm-gal__item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.alm-gal__item picture, .alm-gal__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alm-gal__item:first-child img { object-position: 50% 25%; }
.alm-gal__minis { display: none; }
/* Vídeo da peça (27/11) */
.alm-gal__item--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; background: var(--off); cursor: pointer; }
.alm-video__selo { position: absolute; left: 0.75rem; top: 0.75rem; padding: 0.3rem 0.55rem; background: rgba(20, 20, 20, 0.42); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; pointer-events: none; }
@media (min-width: 901px) { .alm-gal__item:nth-child(even):last-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; } } /* galeria com vídeo: a última foto não fica sozinha pela metade */
.alm-gal__aviso { margin-top: 0.6rem; font-size: 12.5px; color: var(--tinta-2); }
.alm-pdp__fixo { position: sticky; top: calc(var(--topo) + 1.5rem); }
.alm-pdp__linha { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta-2); }
.alm-pdp__linha a:hover { color: var(--tinta); }
.alm-novo { color: var(--ardosia); }
.alm-pdp__n { margin: 0.8rem 0 0.5rem; font-family: var(--f-titulo); font-weight: 350; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; }
.alm-pdp__preco { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.alm-pdp__parc { margin-top: 0.2rem; font-size: 12.5px; color: var(--tinta-2); }
.alm-pdp__frase { margin: 1.3rem 0 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--linha); font-size: 14.5px; line-height: 1.65; color: var(--tinta-2); }
.alm-op { margin-bottom: 1.4rem; }
.alm-op__linha { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.alm-op__rot { margin-bottom: 0.65rem; font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta-2); }
.alm-op__rot b { color: var(--tinta); font-weight: 700; }
.alm-op__linha .alm-op__rot { margin-bottom: 0; }
.alm-op--tam .alm-op__linha { margin-bottom: 0.65rem; }
.alm-op__suave { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }
.alm-op__erro { margin-top: 0.6rem; font-size: 13px; font-weight: 600; color: #9b2c2c; }
.alm-op.is-alerta .alm-tam { border-color: #9b2c2c; }
.alm-cores, .alm-par__cores { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.alm-cor { width: 34px; height: 34px; padding: 3px; border-radius: 50%; border: 1px solid transparent; transition: border-color 0.25s var(--ease); }
.alm-cor span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.14); }
.alm-cor:hover { border-color: var(--linha); }
.alm-cor.is-ativa { border-color: var(--tinta); }
.alm-tams { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.alm-tam { min-width: 52px; height: 44px; padding: 0 0.8rem; border: 1px solid var(--linha); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.alm-tam:hover { border-color: var(--tinta); }
.alm-tam.is-ativa { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.alm-link-tabela { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-decoration: underline; text-underline-offset: 3px; color: var(--tinta-2); }
.alm-link-tabela svg { width: 16px; height: 16px; }
.alm-par { margin: 0.4rem 0 1.4rem; border: 1px solid var(--linha); transition: border-color 0.3s var(--ease); }
.alm-par.is-on { border-color: var(--tinta); }
.alm-par__topo { display: grid; grid-template-columns: auto 54px 1fr; align-items: center; gap: 0.9rem; padding: 0.8rem 1rem; cursor: pointer; }
.alm-par__check { position: absolute; opacity: 0; pointer-events: none; }
.alm-par__caixa { width: 20px; height: 20px; border: 1px solid var(--tinta); display: grid; place-items: center; }
.alm-par__check:checked + .alm-par__caixa { background: var(--tinta); }
.alm-par__check:checked + .alm-par__caixa::after { content: ''; width: 9px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.alm-par__check:focus-visible + .alm-par__caixa { outline: 2px solid var(--ardosia); outline-offset: 2px; }
.alm-par__foto { position: relative; display: block; width: 54px; aspect-ratio: 2 / 3; overflow: hidden; background: var(--off); }
.alm-par__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alm-par__txt { display: grid; font-size: 13px; color: var(--tinta-2); }
.alm-par__txt span:first-child { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta-2); }
.alm-par__txt b { color: var(--tinta); font-weight: 600; }
.alm-par__ops { padding: 0.4rem 1rem 1.1rem; border-top: 1px solid var(--linha); }
.alm-par__ops .alm-op__rot { margin-top: 0.9rem; }
.alm-par__ver { display: inline-block; margin-top: 0.9rem; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; color: var(--tinta-2); }
.alm-cta.bt { width: 100%; min-height: 54px; }
.alm-cta__nota { margin-top: 0.7rem; font-size: 12.5px; line-height: 1.55; color: var(--tinta-2); }
.alm-garantias { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; margin: 1.6rem 0; padding: 1.3rem 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.alm-garantias li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--tinta-2); }
.alm-garantias svg { flex: none; color: var(--ardosia); }
.alm-garantias b { display: block; color: var(--tinta); font-weight: 600; }
.alm-det details { border-bottom: 1px solid var(--linha); }
.alm-det summary { list-style: none; display: flex; justify-content: space-between; padding: 1rem 0; cursor: pointer; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.alm-det summary::-webkit-details-marker { display: none; }
.alm-det summary::after { content: '+'; font-size: 16px; font-weight: 400; line-height: 1; color: var(--ardosia); transition: transform 0.3s var(--ease); }
.alm-det details[open] summary::after { transform: rotate(45deg); }
.alm-det details > div { padding-bottom: 1.2rem; font-size: 14px; line-height: 1.7; color: var(--tinta-2); }
.alm-det details > div p + p { margin-top: 0.7rem; }
.alm-vem b, .alm-luchesi a { color: var(--tinta); }
.alm-luchesi a { text-decoration: underline; text-underline-offset: 3px; }
.alm-atr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; }
.alm-atr li { display: flex; gap: 0.6rem; align-items: center; font-size: 13px; }
.alm-atr svg { flex: none; color: var(--ardosia); }
.alm-dlg { width: min(94vw, 620px); border: 0; padding: clamp(1.4rem, 4vw, 2.4rem); color: var(--tinta); }
.alm-dlg::backdrop { background: rgba(28, 28, 26, 0.4); }
.alm-dlg__x { position: absolute; top: 0.8rem; right: 0.8rem; width: 44px; height: 44px; display: grid; place-items: center; }
.alm-dlg__t { margin-bottom: 1.2rem; font-family: var(--f-titulo); font-weight: 350; font-size: 1.6rem; }
.alm-tabela { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.alm-tabela th, .alm-tabela td { padding: 0.7rem 0.5rem; text-align: left; border-bottom: 1px solid var(--linha); }
.alm-tabela thead th { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta-2); }
.alm-tabela__nota { margin-top: 0.9rem; font-size: 12.5px; color: var(--tinta-2); line-height: 1.55; }
.creditos { padding: 0 var(--lado) 2rem; font-size: 11.5px; color: var(--tinta-2); }

/* Barra de compra fixa no celular */
.compra-fixa { display: none; }
@media (max-width: 900px) {
  .alm-pdp { grid-template-columns: 1fr; padding-top: 0.6rem; gap: 1.6rem; }
  .alm-pdp__fotos { margin: 0 calc(-1 * var(--lado)); }
  .alm-gal__trilho { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .alm-gal__trilho::-webkit-scrollbar { display: none; }
  .alm-gal__item, .alm-gal__item:first-child { flex: 0 0 100%; aspect-ratio: 4 / 5.3; scroll-snap-align: start; }
  .alm-gal__minis { display: flex; justify-content: center; gap: 0; padding: 0.3rem 0 0; }
  .alm-gal__mini { width: 28px; height: 28px; display: grid; place-items: center; }
  .alm-gal__mini::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: var(--linha); transition: background 0.3s var(--ease), width 0.3s var(--ease); }
  .alm-gal__mini.is-ativa::before { background: var(--tinta); width: 18px; }
  .alm-pdp__fixo { position: static; }
  .compra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem var(--lado) calc(0.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linha); transform: translateY(110%); transition: transform 0.4s var(--ease); }
  .compra-fixa.is-visivel { transform: none; }
  .compra-fixa__t { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .compra-fixa__t span { display: block; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--tinta-2); }
  .compra-fixa .bt { min-height: 46px; padding: 0 1.2rem; }
}

/* Modo revisão (?revisao) */
[data-pendente] { outline: 2px dashed #c27c00; outline-offset: 4px; }
html:not(.is-revisao) [data-pendente] { outline: 0; }
.alm-revisao { position: fixed; top: calc(var(--topo) + 10px); right: 10px; z-index: 130; width: min(320px, 90vw); max-height: 60vh; overflow: auto; background: #fff8e6; border: 1px solid #e3b44f; padding: 0.9rem 1rem; font-size: 12.5px; line-height: 1.5; }
.alm-revisao ol { margin-top: 0.5rem; padding-left: 1.1rem; list-style: decimal; }
.alm-revisao button { position: absolute; top: 0.4rem; right: 0.6rem; font-size: 18px; }
.alm-revisao.is-recolhido ol { display: none; }

/* ---------- Institucionais ---------- */
.inst-capa { display: grid; grid-template-columns: 1fr 1fr; min-height: min(80svh, 760px); }
.inst-capa__foto { position: relative; overflow: hidden; background: var(--off); min-height: 360px; }
.inst-capa__foto picture, .inst-capa__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inst-capa__txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem) var(--lado); background: var(--off); }
.inst-capa__txt .rotulo { margin-bottom: 1.2rem; }
.inst-capa__txt .titulo { margin-bottom: 1.4rem; }
.inst-capa__txt .bt { margin-top: 2rem; align-self: flex-start; }
.inst-capa__texto { max-width: 54ch; }
.inst-capa__texto .texto + .texto { margin-top: 0.9rem; }
.inst-capa__assina { margin-top: 1.4rem; font-family: var(--f-titulo); font-size: 1.2rem; color: var(--tinta); }
@media (max-width: 860px) { .inst-capa { grid-template-columns: 1fr; } .inst-capa__foto { aspect-ratio: 4 / 5; } }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.valores h3 { margin-bottom: 0.6rem; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.valores p { font-size: 14px; color: var(--tinta-2); line-height: 1.7; }
@media (max-width: 760px) { .valores { grid-template-columns: 1fr; } }
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contato__dados { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.contato__dados dt { margin-bottom: 0.3rem; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.contato__dados dd { font-size: 14.5px; color: var(--tinta-2); line-height: 1.65; }
.contato__dados a { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 1rem; }
.form__par { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo label { display: block; margin-bottom: 0.4rem; font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; border: 1px solid var(--linha); background: #fff; font: inherit; font-size: 16px; color: var(--tinta); border-radius: 0; transition: border-color 0.25s var(--ease); }
.campo textarea { resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 0; border-color: var(--tinta); }
.mapa { aspect-ratio: 21 / 8; background: var(--off); }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95); }
@media (max-width: 860px) { .contato { grid-template-columns: 1fr; } .form__par { grid-template-columns: 1fr; } .mapa { aspect-ratio: 4 / 3; } }
.joias { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.5rem, 1vw, 1rem); }
.joias figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--off); }
.joias picture, .joias img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.joias figcaption { position: absolute; left: 0.8rem; bottom: 0.8rem; background: #fff; padding: 0.35rem 0.6rem; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 760px) { .joias { grid-template-columns: 1fr 1fr; } }
.texto-longo { max-width: 720px; }
.texto-longo h2 { margin: 2.2rem 0 0.7rem; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.texto-longo p, .texto-longo li { font-size: 14.5px; line-height: 1.75; color: var(--tinta-2); }
.texto-longo ul { list-style: disc; padding-left: 1.2rem; }
.texto-longo a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   COLEÇÃO ALMARE (por IMAVI & Luchesi) · identidade própria da cápsula
   ========================================================================== */
.is-almare { --almare-linha: rgba(8, 46, 77, 0.16); }
.alm-abre { display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(calc(100svh - var(--topo) - var(--topo-faixa)), 860px); background: var(--almare-papel); }
.alm-abre__foto { position: relative; overflow: hidden; }
.alm-abre__foto picture, .alm-abre__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.alm-abre__txt { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem); color: var(--almare); }
.alm-abre__arco { font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.alm-abre__logo { margin: 1.4rem 0 2rem; line-height: 0; }
.alm-abre__logo img { width: min(100%, 440px); height: auto; }
.alm-abre__t { font-family: var(--f-almare); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; }
.alm-abre__p { margin-top: 1rem; max-width: 44ch; font-size: 15px; line-height: 1.7; color: #33495c; }
.alm-abre__nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.2rem; }
.alm-abre__nav a { min-height: 42px; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1rem; border: 1px solid var(--almare-linha); font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--almare); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.alm-abre__nav a:hover { background: var(--almare); color: #fff; }
.alm-abre__selo { position: absolute; right: clamp(1rem, 3vw, 2.5rem); top: clamp(1rem, 3vw, 2.5rem); width: clamp(84px, 9vw, 120px); transform: rotate(8deg); }
@media (max-width: 860px) {
  .alm-abre { grid-template-columns: 1fr; }
  .alm-abre__foto { aspect-ratio: 4 / 5; }
  .alm-abre__selo { top: auto; bottom: 1.2rem; }
}
.alm-titulo { font-family: var(--f-almare); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; color: var(--almare); }
.alm-rotulo { font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--almare); }
.is-almare .cab .rotulo { color: var(--almare); }
.alm-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.5rem, 5vw, 4rem) var(--lado); border-top: 1px solid var(--almare-linha); border-bottom: 1px solid var(--almare-linha); }
.alm-trio h2 { font-family: var(--f-almare); font-style: italic; font-weight: 400; font-size: 1.45rem; color: var(--almare); margin-bottom: 0.4rem; }
.alm-trio p { font-size: 14px; line-height: 1.65; color: var(--tinta-2); }
@media (max-width: 760px) { .alm-trio { grid-template-columns: 1fr; } }
.alm-faixa { display: grid; grid-template-columns: 1fr 1fr; background: var(--almare); color: #fff; }
.alm-faixa__foto { position: relative; min-height: 420px; overflow: hidden; }
.alm-faixa__foto picture, .alm-faixa__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alm-faixa__txt { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem); }
.alm-faixa__txt .alm-titulo { color: #fff; margin: 1rem 0 1.2rem; }
.alm-faixa__txt .alm-rotulo { color: #fff; }
.alm-faixa__txt p { max-width: 44ch; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.alm-faixa__txt .bt { margin-top: 2rem; align-self: flex-start; }
.alm-faixa__selo { width: 110px; margin-top: 2.2rem; opacity: 0.95; }
@media (max-width: 860px) { .alm-faixa { grid-template-columns: 1fr; } .alm-faixa__foto { aspect-ratio: 4 / 5; min-height: 0; } }
.alm-medidas { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); }
.alm-medidas .texto { margin: 1rem 0 1.8rem; }
@media (max-width: 860px) { .alm-medidas { grid-template-columns: 1fr; } }
.is-almare .bt { background: var(--almare); border-color: var(--almare); }
.is-almare .bt::before { background: var(--almare-2); }
.is-almare .bt--linha { background: transparent; color: var(--almare); }
.is-almare .bt--linha::before { background: var(--almare); }
.is-almare .bt--linha:hover { color: #fff; }
.is-almare .alm-faixa .bt--claro { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.is-almare .alm-faixa .bt--claro::before { background: #fff; }
.is-almare .alm-faixa .bt--claro:hover { color: var(--almare); }
.home-almare { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.home-almare__marca { position: sticky; top: calc(var(--topo) + 2rem); color: var(--almare); }
.home-almare__marca img { width: min(100%, 240px); margin: 1rem 0 1.2rem; }
.home-almare__marca p { font-size: 14px; color: var(--tinta-2); line-height: 1.65; max-width: 30ch; }
.home-almare__marca .link-sub { margin-top: 1.4rem; color: var(--almare); }
@media (max-width: 900px) { .home-almare { grid-template-columns: 1fr; } .home-almare__marca { position: static; } }

/* ---------- Entrada suave dos blocos (só com JS e sem pedir menos movimento) ---------- */
.js .surge { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .surge.is-visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .surge { opacity: 1; transform: none; }
}

/* Ajustes de celular (26/11) */
@media (max-width: 760px) {
  .filtros { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--lado)); }
  .filtros::-webkit-scrollbar { display: none; }
  .filtros a { flex: none; }
}
body.tem-compra .cookie-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ---------- Clube IMAVI (janela de boas-vindas) · assets/js/clube.js ----------
   Foto real do ensaio Almare + formulário. Celular: folha que sobe de baixo,
   foto em cima (como a referência pedida pela Rayssa). Computador: foto ao lado. */
.clube { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: clamp(0.75rem, 3vw, 2rem); }
.clube[hidden] { display: none; }
.clube__fundo { position: absolute; inset: 0; background: rgba(28, 28, 26, 0.5); opacity: 0; transition: opacity 0.42s var(--ease); }
.clube__caixa { position: relative; display: grid; grid-template-columns: 380px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); width: min(880px, 100%); height: min(700px, calc(100dvh - 2rem)); overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22); opacity: 0; transform: translateY(18px) scale(0.985); transition: opacity 0.42s var(--ease), transform 0.5s var(--ease); }
.clube.is-aberta .clube__fundo { opacity: 1; }
.clube.is-aberta .clube__caixa { opacity: 1; transform: none; }
.clube__foto { position: relative; overflow: hidden; background: var(--off); }
.clube__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.clube__corpo { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; }
.clube__passo { width: 100%; margin: auto 0; }
.clube__titulo { margin-top: 0.7rem; font-family: var(--f-titulo); font-weight: 350; font-size: clamp(1.75rem, 3vw, 2.2rem); line-height: 1.08; letter-spacing: -0.012em; color: var(--tinta); outline: 0; }
.clube__texto { margin-top: 0.8rem; font-size: 14.5px; line-height: 1.65; color: var(--tinta-2); max-width: 40ch; }
.clube__form { display: grid; gap: 0.75rem; margin-top: 1.3rem; }
.clube__campo { margin: 0; padding: 0; border: 0; min-width: 0; }
.clube__campo label, .clube__campo legend { display: block; margin-bottom: 0.35rem; padding: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta); }
.clube__campo input { width: 100%; min-height: 46px; padding: 0.6rem 0.85rem; border: 1px solid var(--linha); border-radius: 0; background: #fff; font: inherit; font-size: 16px; color: var(--tinta); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.clube__campo input::placeholder { color: #a4a6a3; }
.clube__campo input:focus { outline: 0; border-color: var(--tinta); box-shadow: 0 0 0 3px rgba(116, 136, 146, 0.18); }
.clube__campo input[aria-invalid="true"] { border-color: #a5462f; }
.clube__nasc-linha { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 0.6rem; }
.clube__nasc-linha input { text-align: center; letter-spacing: 0.06em; }
.clube__aceite { display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; align-items: start; margin-top: 0.2rem; font-size: 12.5px; line-height: 1.5; color: var(--tinta-2); cursor: pointer; }
.clube__aceite input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tinta); cursor: pointer; }
.clube__aceite input[aria-invalid="true"] { outline: 2px solid #a5462f; outline-offset: 2px; }
.clube__aceite a { text-decoration: underline; text-underline-offset: 2px; }
.clube__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.clube__erro { min-height: 1.2em; font-size: 12.5px; font-weight: 600; color: #a5462f; }
.clube__erro:empty { min-height: 0; margin-top: -0.8rem; }
.clube__bt { width: 100%; margin-top: 0.1rem; }
.clube__bt:active { transform: scale(0.985); }
.clube__bt.is-enviando { pointer-events: none; }
.clube__bt.is-enviando span { opacity: 0.55; }
.clube__bt.is-enviando::after { content: ''; width: 14px; height: 14px; margin-left: 0.2rem; border: 1.5px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; border-radius: 50%; animation: clube-gira 0.7s linear infinite; }
@keyframes clube-gira { to { transform: rotate(360deg); } }
.clube__nota { font-size: 11.5px; color: var(--tinta-2); text-align: center; }
.clube__acoes { display: grid; gap: 0.6rem; margin-top: 1.6rem; }
.clube__depois { min-height: 44px; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta-2); text-decoration: underline; text-underline-offset: 4px; transition: color 0.25s var(--ease); }
.clube__depois:hover { color: var(--tinta); }
.clube__x { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.clube__x:hover { transform: rotate(90deg); background: #fff; }
.clube__x:active { transform: rotate(90deg) scale(0.92); }
.clube__x svg { width: 18px; height: 18px; fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; }
/* rodapé: link que reabre a janela */
.rod__clube { display: inline-flex; margin-top: 1rem; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 720px) {
  .clube { align-items: flex-end; padding: 0; }
  .clube__caixa { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); width: 100%; height: auto; max-height: calc(100dvh - 1.5rem); transform: translateY(100%); transition: opacity 0.3s var(--ease), transform 0.55s var(--ease); }
  .clube__foto { height: clamp(170px, 30dvh, 260px); }
  .clube__foto img { object-position: 50% 16%; }
  .clube__corpo { display: block; padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .clube__titulo { font-size: 1.75rem; }
  .clube__x { width: 40px; height: 40px; top: 0.6rem; right: 0.6rem; }
}
@media (max-width: 720px) and (max-height: 640px) { .clube__foto { height: 120px; } }
@media (prefers-reduced-motion: reduce) {
  .clube__fundo, .clube__caixa { transition: opacity 0.2s linear; transform: none !important; }
  .clube__x:hover, .clube__x:active { transform: none; }
}
.clube__caixa:focus { outline: 0; }

/* ---------- Sacola (assets/js/sacola.js) ---------- */
.topo__sacola { position: relative; margin-left: 0.9rem; }
.topo__qtd { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--tinta); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }
.topo__qtd[hidden] { display: none; }
.alm-add.bt { width: 100%; min-height: 54px; }
.alm-add.is-ok { background: var(--ardosia); border-color: var(--ardosia); }
.alm-add + .alm-cta.bt { margin-top: 0.6rem; min-height: 48px; }
.sac { position: fixed; inset: 0; z-index: 140; }
.sac[hidden] { display: none; }
.sac__fundo { position: absolute; inset: 0; background: rgba(28, 28, 26, 0.42); opacity: 0; transition: opacity 0.35s var(--ease); }
.sac__painel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12); transform: translateX(100%); transition: transform 0.45s var(--ease); outline: 0; }
.sac.is-aberta .sac__fundo { opacity: 1; }
.sac.is-aberta .sac__painel { transform: none; }
.sac__topo { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--linha); }
.sac__titulo { font-family: var(--f-titulo); font-weight: 350; font-size: 1.5rem; }
.sac__x { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -0.6rem; }
.sac__x svg { width: 18px; height: 18px; fill: none; stroke: var(--tinta); stroke-width: 1.5; stroke-linecap: round; transition: transform 0.3s var(--ease); }
.sac__x:hover svg { transform: rotate(90deg); }
.sac__lista { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.4rem; }
.sac__item { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--linha); }
.sac__foto { display: block; aspect-ratio: 2 / 3; background: var(--off); overflow: hidden; }
.sac__foto img { width: 100%; height: 100%; object-fit: cover; }
.sac__nome { font-weight: 600; font-size: 14.5px; }
.sac__var { margin-top: 0.15rem; font-size: 12.5px; color: var(--tinta-2); }
.sac__linha { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; }
.sac__qtd { display: inline-flex; align-items: center; border: 1px solid var(--linha); }
.sac__qtd button { width: 36px; height: 36px; font-size: 16px; transition: background 0.2s var(--ease); }
.sac__qtd button:hover:not(:disabled) { background: var(--off); }
.sac__qtd button:disabled { opacity: 0.3; cursor: default; }
.sac__qtd span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
.sac__preco { font-size: 14.5px; }
.sac__tirar { margin-top: 0.6rem; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinta-2); text-decoration: underline; text-underline-offset: 3px; }
.sac__tirar:hover { color: var(--tinta); }
.sac__vazia { display: grid; gap: 1.2rem; justify-items: start; padding: 2.5rem 0; color: var(--tinta-2); }
.sac__rodape { padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: #fff; }
.sac__rodape:empty { display: none; }
.sac__sub { display: flex; justify-content: space-between; font-size: 16px; }
.sac__nota { margin: 0.4rem 0 1rem; font-size: 12.5px; line-height: 1.5; color: var(--tinta-2); }
.sac__fim { width: 100%; }
.sac__seguir { display: block; width: 100%; min-height: 44px; margin-top: 0.4rem; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tinta-2); }
.sac__seguir:hover { color: var(--tinta); }

/* ---------- Checkout e pedido (assets/js/checkout.js) ---------- */
.co { padding: clamp(2rem, 5vw, 4rem) var(--lado) var(--sec); background: var(--off); min-height: 70vh; }
.co__in { max-width: 1180px; margin: 0 auto; }
.co__grade { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.co__form .titulo { margin: 0.5rem 0 1.5rem; }
.co-bloco { margin: 0 0 1.2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 0; background: #fff; min-width: 0; }
.co-bloco legend { float: left; width: 100%; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.3rem; padding: 0; font-family: var(--f-titulo); font-size: 1.35rem; font-weight: 350; }
.co-bloco legend span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--tinta); border-radius: 50%; font-family: var(--f-texto); font-size: 12px; font-weight: 700; }
.co-campos { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.co-campos .campo--2 { grid-column: 1 / -1; }
.campo input[aria-invalid="true"] { border-color: #a5462f; }
.co-dica { margin-top: 0.8rem; font-size: 12px; color: var(--tinta-2); }
.co-escolha { clear: both; display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.co-op { display: grid; grid-template-columns: 20px 1fr auto; gap: 0.8rem; align-items: center; padding: 0.95rem 1rem; border: 1px solid var(--linha); cursor: pointer; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.co-op:hover { border-color: var(--salvia); }
.co-op:has(input:checked) { border-color: var(--tinta); background: #fbfbfa; }
.co-op input { width: 18px; height: 18px; margin: 0; accent-color: var(--tinta); }
.co-op b { display: block; font-size: 14.5px; font-weight: 600; }
.co-op small { display: block; margin-top: 0.1rem; font-size: 12.5px; color: var(--tinta-2); }
.co-op em { font-style: normal; font-size: 14px; font-weight: 600; }
.co-fretes { display: grid; gap: 0.6rem; margin-top: 1.1rem; }
.co-fretes:empty { display: none; }
.co-carregando, .co-aviso { font-size: 13.5px; color: var(--tinta-2); }
.co-aviso a { text-decoration: underline; }
.co-res { position: sticky; top: calc(var(--topo) + 1rem); padding: clamp(1.25rem, 3vw, 1.8rem); background: #fff; }
.co-res__t { font-family: var(--f-titulo); font-weight: 350; font-size: 1.35rem; margin-bottom: 1rem; }
.co-res__itens li { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.85rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--linha); font-size: 13.5px; }
.co-res__foto { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--off); }
.co-res__foto img { width: 100%; height: 100%; object-fit: cover; }
.co-res__foto em { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--tinta); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 19px; text-align: center; }
.co-res__n small { display: block; color: var(--tinta-2); font-size: 12px; }
.co-res__contas { margin: 1rem 0 0; }
.co-res__contas div { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 14px; }
.co-res__contas dd { margin: 0; }
.co-res__total { margin-top: 0.4rem; padding-top: 0.8rem !important; border-top: 1px solid var(--linha); font-size: 17px !important; font-weight: 700; }
.co-res__parc { margin-top: 0.3rem; font-size: 12.5px; color: var(--tinta-2); }
.co-erro { margin: 0.8rem 0 0; font-size: 13px; font-weight: 600; color: #a5462f; }
.co-erro:empty { display: none; }
.co-erro a { text-decoration: underline; }
.co-pagar { width: 100%; margin-top: 1rem; min-height: 54px; }
.co-pagar.is-enviando { pointer-events: none; }
.co-pagar.is-enviando span { opacity: 0.55; }
.co-pagar.is-enviando::after { content: ''; width: 14px; height: 14px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; border-radius: 50%; animation: clube-gira 0.7s linear infinite; }
.co-seguro { display: flex; gap: 0.55rem; align-items: flex-start; margin-top: 0.9rem; font-size: 12px; line-height: 1.5; color: var(--tinta-2); }
.co-seguro svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.co-vazio, .ped { display: grid; gap: 1.1rem; justify-items: start; max-width: 640px; padding: clamp(1.5rem, 4vw, 3rem); background: #fff; }
.ped__itens { width: 100%; }
.ped__itens li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--linha); font-size: 14px; }
.ped__itens small { color: var(--tinta-2); }
.ped__total { font-weight: 700; font-size: 16px !important; border-bottom: 0 !important; }
.ped__acoes { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 900px) {
  .co__grade { grid-template-columns: 1fr; }
  .co-res { position: static; }
}
@media (max-width: 560px) {
  .co-campos .campo { grid-column: 1 / -1; }
  .co-campos .campo:has(#co-cep), .co-campos .campo:has(#co-numero), .co-campos .campo--uf, .co-campos .campo:has(#co-cidade) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .sac__painel, .sac__fundo { transition: opacity 0.2s linear; } }
.co-vazio[hidden], .co__grade[hidden] { display: none; }

/* Aviso de acessório que não acompanha a peça (pedido da Rayssa 01/12, igual ao catálogo Almare) */
.alm-pdp__acess { margin-top: 0.55rem; font-size: 12.5px; line-height: 1.55; color: var(--tinta-2); }
.alm-pdp__acess b { font-weight: 600; color: var(--tinta); }
.alm-pdp__acess a { color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
.alm-gal__etq { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--tinta); pointer-events: none; }
