/* La Mimi: a identidade do site original (creme, azul da marca, Instrument Serif, Great Vibes, flores e
   colinas de crochê), com o azul escurecido para #3a6fb5 para passar no contraste WCAG */

:root { --azul: #3a6fb5; --azul-escuro: #2f5e9e; --azul-claro: #e3ecf8; --azul-marca: #5d93d9; --creme: #f5f1eb; --branco: #fffdf9; }
html { accent-color: var(--azul); caret-color: var(--azul); scrollbar-color: color-mix(in oklab, var(--ink) 30%, transparent) transparent; }
::selection { background: color-mix(in oklab, var(--azul) 22%, transparent); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* logo e títulos */
.logo-script { font: 400 38px/1 "Great Vibes", cursive; letter-spacing: 0; color: var(--azul); }
.footer .logo-script { color: #fff; }
.footer__mark.logo-script { font-size: 60px; }
@media (max-width: 639px) { .logo-script { font-size: 32px; } .footer__mark.logo-script { font-size: 48px; } }
.titulo-mimi { font: 400 clamp(40px, 4.4vw, 64px)/1.04 var(--font-display); letter-spacing: -0.01em; color: var(--azul); text-wrap: balance; }
.footer h2, .closing h2 { font-family: var(--font-display); }

/* seções com altura pelo conteúdo */
main > .secao { height: auto; min-height: 0; padding-block: clamp(80px, 9vw, 128px); }
.cabeca { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.cabeca .t-lead { max-width: 56ch; color: var(--ink); }
.cabeca--linha { max-width: none; display: flex; justify-content: space-between; align-items: end; text-align: left; flex-wrap: wrap; gap: 16px 32px; }
.cabeca--esq { text-align: left; justify-items: start; margin-inline: 0; }

/* HERO */
main > .hero-mimi { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; padding: calc(var(--nav) + clamp(24px, 4vh, 56px)) 0 0; }
.hero-mimi__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; z-index: 0; }
.hero-mimi::after { content: ""; position: absolute; inset: 0 0 45% 0; background: linear-gradient(to bottom, rgba(245, 241, 235, .78), rgba(245, 241, 235, 0)); z-index: 0; pointer-events: none; }
.hero-mimi__text { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 20px; }
.hero-mimi__title { margin: 0; font: 400 clamp(48px, 6.4vw, 96px)/.94 var(--font-display); text-transform: uppercase; letter-spacing: -0.005em; color: var(--azul); }
.hero-mimi__title .line { display: block; }
.hero-mimi__title .word { display: inline-block; }
.hero-mimi__lead { max-width: 46ch; margin-inline: auto; text-align: center; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink); }
.hero-mimi__btns { justify-content: center; }
.hero-mimi__stage { position: relative; z-index: 1; flex: 1 1 auto; min-height: 260px; margin-top: 16px; }
.hero-mimi__bag { position: absolute; left: 50%; bottom: 3%; height: 94%; max-width: 86vw; translate: -50% 0; filter: drop-shadow(0 30px 30px rgba(31, 43, 68, .28)); }
.hero-mimi__bag img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto; }
.flor { position: absolute; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(31, 43, 68, .18)); will-change: transform; }
.hero-mimi .flor--a { left: 7%; bottom: 14%; width: clamp(90px, 12vw, 190px); }
.hero-mimi .flor--b { right: 8%; bottom: 26%; width: clamp(80px, 10vw, 160px); }
.hero-mimi .flor--c { right: 22%; bottom: 2%; width: clamp(60px, 7vw, 110px); }
@media (max-width: 639px) {
  .hero-mimi__title { font-size: 44px; }
  .hero-mimi__btns .btn { width: 100%; }
  .hero-mimi .flor--a { left: -4%; bottom: 8%; } .hero-mimi .flor--b { right: -2%; } .hero-mimi .flor--c { display: none; }
}

/* faixa em letra cursiva */
.faixa { position: relative; background: var(--azul); color: #fff; overflow: hidden; padding: 14px 0; }
.faixa--clara { background: var(--azul-claro); color: var(--azul-escuro); }
.faixa__trilho { display: flex; align-items: center; gap: 48px; width: max-content; padding-right: 48px; will-change: transform; }
.faixa__trilho span { font: 400 clamp(32px, 3vw, 44px)/1.2 "Great Vibes", cursive; white-space: nowrap; }
.faixa__trilho i { width: 10px; height: 10px; background: currentColor; opacity: .7; transform: rotate(45deg); border-radius: 2px; flex: none; }
.faixa__pausa { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in oklab, currentColor 18%, transparent); color: inherit; }
.faixa__pausa svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faixa__pausa .i-play { display: none; fill: currentColor; }
.faixa__pausa[aria-pressed="true"] .i-play { display: block; } .faixa__pausa[aria-pressed="true"] .i-pause { display: none; }
.faixa__pausa:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .faixa__pausa { display: none; } .faixa__trilho { flex-wrap: wrap; width: auto; justify-content: center; } .faixa__trilho > :nth-child(n+9) { display: none; } }

/* cartões: fundo claro, foto emoldurada por uma "costura" tracejada, selo da linha, nome em serifa azul,
   preço e uma seta redonda que se enche de azul no hover */
.cartao { position: relative; display: flex; flex-direction: column; background: var(--branco); border-radius: 28px; padding: 10px; text-decoration: none; color: var(--ink);
  border: 1px solid rgba(58, 111, 181, .10);
  box-shadow: 0 1px 2px rgba(31, 43, 68, .05), 0 12px 28px -18px rgba(31, 43, 68, .35), 0 30px 60px -40px rgba(58, 111, 181, .35);
  transition: transform 450ms var(--ease-smooth-out), box-shadow 450ms var(--ease-smooth-out), border-color 450ms var(--ease-smooth-out); }
.cartao__foto { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--azul-claro); isolation: isolate; }
.cartao--linha .cartao__foto { aspect-ratio: 5 / 4; }
.cartao__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-smooth-out); }
/* a costura: um contorno tracejado claro dentro da foto, como o ponto que fecha a peça */
.cartao__foto::after { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(255, 253, 249, .8); border-radius: 13px; pointer-events: none; z-index: 2;
  transition: inset 450ms var(--ease-smooth-out), border-color 450ms var(--ease-smooth-out); }
/* um véu suave no pé da foto para o selo e a costura lerem bem em fotos claras */
.cartao__foto::before { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(31, 43, 68, .22), transparent); z-index: 1; pointer-events: none; }
.cartao__selo { position: absolute; left: 18px; top: 18px; z-index: 3; padding: 5px 12px; border-radius: 999px; background: rgba(255, 253, 249, .94); color: var(--azul-escuro);
  font: 500 13px/1.2 var(--font-text); box-shadow: 0 4px 12px -6px rgba(31, 43, 68, .4); }
.cartao__corpo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 10px 8px 12px; text-align: left; }
.cartao__txt { min-width: 0; }
.cartao h3 { margin: 0; font: 400 28px/1.1 var(--font-display); color: var(--azul); text-wrap: balance; }
.cartao__preco { margin-top: 4px; font: 500 15px/1.4 var(--font-text); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.cartao__info { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cartao__seta { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--azul); background: var(--azul-claro);
  transition: background 350ms var(--ease-smooth-out), color 350ms var(--ease-smooth-out), transform 450ms var(--ease-smooth-out); transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .cartao:hover { transform: translateY(-6px); border-color: rgba(58, 111, 181, .28);
    box-shadow: 0 1px 2px rgba(31, 43, 68, .05), 0 22px 40px -22px rgba(31, 43, 68, .45), 0 40px 70px -40px rgba(58, 111, 181, .5); }
  .cartao:hover .cartao__foto img { transform: scale(1.05); }
  .cartao:hover .cartao__foto::after { inset: 13px; border-color: #fff; }
  .cartao:hover .cartao__seta { background: var(--azul); color: #fff; transform: rotate(0deg); }
}
.cartao:focus-visible { outline: 2px solid var(--azul); outline-offset: 4px; }
.cartao:focus-visible .cartao__seta { background: var(--azul); color: #fff; transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .cartao, .cartao__foto img, .cartao__foto::after, .cartao__seta { transition: none; } }
.vitrine, .linhas { row-gap: 28px; }
@media (max-width: 1023px) { .vitrine > .cartao { grid-column: auto / span 6; } }
@media (max-width: 639px) {
  .linhas > .cartao { grid-column: 1 / -1; }
  .vitrine { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 16px; }
  .vitrine > .cartao { grid-column: auto; padding: 6px; border-radius: 20px; }
  .vitrine .cartao__foto { border-radius: 15px; }
  .vitrine .cartao__foto::after { inset: 6px; border-radius: 10px; }
  .vitrine .cartao__selo { left: 10px; top: 10px; padding: 3px 8px; font-size: 12px; }
  .vitrine .cartao__corpo { padding: 10px 4px 4px 6px; gap: 6px; }
  .vitrine .cartao h3 { font-size: 21px; }
  .vitrine .cartao__preco { font-size: 14px; }
  .vitrine .cartao__seta { width: 32px; height: 32px; }
  .vitrine .cartao__seta svg { width: 13px; height: 13px; }
}

/* fundo de textura creme com rabiscos azuis, do site original */
/* "Nossas confecções" (e topo do catálogo): o bege quente da marca, o mesmo dos painéis e dos círculos, liso */
.secao--textura { background: #efe6d8; }

/* três cores */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); max-width: 960px; margin: 0 auto; }
.trio__item { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--azul-claro); display: grid; place-items: center; }
.trio__item:nth-child(2) { background: #efe6d8; } .trio__item:nth-child(3) { background: #dfe7f5; }
.trio__item img { width: 52%; height: 78%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(31, 43, 68, .22)); will-change: transform; }


/* sobre: a Yasmim sobre as colinas de crochê */
.sobre { position: relative; overflow: clip; padding-bottom: 0 !important; }
.sobre__fundo { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%); mask-image: linear-gradient(to bottom, transparent, #000 55%); }
.sobre .wrap { position: relative; z-index: 1; }
.sobre__texto { display: grid; gap: 20px; align-content: start; padding-bottom: 96px; }
@media (min-width: 1024px) { .sobre__texto { padding-bottom: 300px; } }
.sobre__texto p { max-width: 54ch; }
.sobre__retrato { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 600px; }
.sobre__yasmim { width: min(100%, 560px); height: auto; display: block; }
.flor--sobre { width: clamp(90px, 10vw, 150px); left: 2%; top: 8%; }
@media (max-width: 1023px) { .sobre__retrato { min-height: 0; } .sobre__texto { padding-bottom: 24px; } }

/* FAQ */
.faq__item h3 { font: 400 26px/1.2 var(--font-display); color: var(--azul); }

/* peças sob medida sobre as colinas */
main > .sob-medida-mimi { height: auto; position: relative; min-height: 600px; display: grid; place-items: center; padding: 96px 0; overflow: clip; }
.sob-medida-mimi__fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.sob-medida-mimi__caixa { position: relative; z-index: 1; max-width: 640px; text-align: center; display: grid; gap: 16px; justify-items: center;
  background: rgba(255, 253, 249, .92); border-radius: 32px; padding: clamp(32px, 4vw, 56px); box-shadow: 0 30px 60px -40px rgba(31, 43, 68, .5); }
.sob-medida-mimi__caixa p { max-width: 46ch; }
.flor--sm1 { left: 6%; top: 18%; width: clamp(80px, 10vw, 170px); z-index: 1; }
.flor--sm2 { right: 7%; bottom: 14%; width: clamp(70px, 9vw, 150px); z-index: 1; }
@media (max-width: 639px) { .sob-medida-mimi { min-height: 0; padding: 72px 0; } .flor--sm1 { left: -24px; top: 16px; } .flor--sm2 { right: -20px; bottom: 8px; } }

/* rodapé no azul da marca */
.footer.ground-inverse .footer__lede, .footer.ground-inverse .footer__legal { color: rgba(255, 255, 255, .85); }


/* páginas internas (catálogo, produto) */
.page-sub .section--auto { height: auto; min-height: 0; padding-block: calc(var(--nav) + 64px) 96px; }
.page-sub .section--auto + .section--auto { padding-top: 96px; }
.page-sub h1 { font: 400 clamp(44px, 5vw, 72px)/1.02 var(--font-display); color: var(--azul); }
.filtros { margin-top: 40px; }
.filtros .t-tab { height: 40px; padding: 4px 20px; font: 500 16px/1 var(--font-text); white-space: nowrap; }
.filtros .t-tabs-pill { height: 40px; }
.filtros .t-tab span { opacity: .75; margin-left: 4px; font-weight: 400; }
.filtros .t-tab:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
.contagem { margin: 24px 0; }
.catalogo { row-gap: 24px; }
.vazio { padding: 64px 0; }
.voltar { margin-bottom: 24px; }
.produto { align-items: start; }
.produto__preco { font: 400 40px/1.1 var(--font-display); color: var(--ink); }
.produto__foto { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--azul-claro); }
.produto__foto > img { width: 100%; height: 100%; object-fit: cover; }
.produto .rows .rows__value { color: var(--muted); text-align: right; }
@media (max-width: 1023px) { .produto__foto { margin-top: 40px; aspect-ratio: 1 / 1; } }
@media (max-width: 639px) {
  .page-sub .section--auto { padding-block: calc(var(--nav) + 40px) 64px; }
  .filtros { max-width: 100%; overflow-x: auto; }
  .produto .rows > li { grid-template-columns: 1fr; } .produto .rows .rows__value { text-align: left; }
}

/* botão secundário como no site original: contorno azul, texto azul, fundo claro no hover */
html[data-buttons] .btn.btn--secondary { background: transparent; color: var(--azul); border: 1.5px solid var(--azul); }
html[data-buttons] .btn.btn--secondary:hover { background: var(--azul-claro); color: var(--azul-escuro); border-color: var(--azul-escuro); }
html[data-buttons] .ground-inverse .btn.btn--secondary { color: #fff; border-color: #fff; }
/* o hero e a caixa sob medida não usam a altura de tela do kit */
main > .hero-mimi > .wrap.hero-mimi__text { height: auto; display: grid; flex: none; }
main > .sob-medida-mimi > .wrap.sob-medida-mimi__caixa { height: auto; display: grid; }
@media (max-width: 1279px) { main > section.section.secao, main > section.sob-medida-mimi { min-height: 0; } }
.hero-mimi__title { hyphens: manual; }
.link-mimi { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--azul); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link-mimi:hover { text-decoration-thickness: 2px; }
.link-mimi:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
.produto__foto { position: relative; overflow: visible; background: none; }
.produto__foto > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: var(--azul-claro); }
.flor--produto { width: clamp(90px, 9vw, 140px); right: -28px; bottom: -32px; }
.sob-medida-mimi--sub { min-height: 520px; display: grid; place-items: center; padding: 96px 0; }
.page-sub .cabeca h1 { margin: 0; }
.filtros.t-tabs { margin-top: 24px; max-width: 100%; }
@media (max-width: 639px) { .filtros.t-tabs { overflow-x: auto; scrollbar-width: none; } .flor--produto { right: -8px; } }
.produto__foto > img.flor--produto { position: absolute; width: clamp(90px, 9vw, 140px); height: auto; border-radius: 0; background: none; object-fit: contain; }
@media (max-width: 639px) {
  .produto .rows > li { display: block; }
  .produto .rows .rows__value { display: block; margin-top: 2px; }
  .filtros .t-tab { padding: 4px 12px; font-size: 15px; }
  .filtros .t-tab span { display: none; }
}

/* cards das linhas (seção "Mais que acessórios"): painel na cor da linha, foto num arco com costura tracejada,
   flor de crochê no ombro do arco e texto centralizado; diferentes dos cards de produto de propósito */
.linhas { row-gap: 28px; align-items: stretch; }
.linha { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink);
  padding: 28px 28px 32px; border-radius: 32px; background: var(--fundo-linha, var(--azul-claro)); isolation: isolate;
  transition: transform 450ms var(--ease-smooth-out), box-shadow 450ms var(--ease-smooth-out); }
.linha--azul { --fundo-linha: #e3ecf8; }
.linha--bege { --fundo-linha: #efe6d8; }
.linha--rosa { --fundo-linha: #f1e4e6; }
.linha__arco { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; overflow: hidden; background: var(--branco);
  box-shadow: 0 0 0 6px var(--branco), 0 24px 40px -26px rgba(31, 43, 68, .5); }
.linha__arco img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-smooth-out); }
.linha__arco::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255, 253, 249, .85); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.linha__flor { position: absolute; top: 18px; right: 14px; width: 84px; height: auto; z-index: 2; filter: drop-shadow(0 8px 10px rgba(31, 43, 68, .2));
  transition: transform 700ms var(--ease-smooth-out); }
.linha h3 { margin: 24px 0 0; font: 400 40px/1 var(--font-display); color: var(--azul); }
.linha__faixa { margin-top: 10px; display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--branco); font: 500 14px/1.5 var(--font-text); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.linha__info { margin-top: 10px; font-size: 15px; color: var(--ink); max-width: 28ch; }
.linha__cta { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--azul);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .linha:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(31, 43, 68, .45); }
  .linha:hover .linha__arco img { transform: scale(1.06); }
  .linha:hover .linha__flor { transform: rotate(110deg) scale(1.08); }
  .linha:hover .linha__cta { text-decoration-thickness: 2px; }
}
.linha:focus-visible { outline: 2px solid var(--azul); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .linha, .linha__arco img, .linha__flor { transition: none; } }
@media (max-width: 1023px) { .linhas > .linha { grid-column: auto / span 4; padding: 18px 16px 22px; } .linha h3 { font-size: 32px; } .linha__flor { width: 60px; } .linha__info { display: none; } }
@media (max-width: 639px) {
  .linhas > .linha { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto auto auto; column-gap: 18px; text-align: left; justify-items: start; align-items: center; padding: 14px; border-radius: 26px; }
  .linha__arco { grid-row: 1 / span 4; width: 120px; }
  .linha__flor { width: 48px; top: 6px; left: 100px; right: auto; }
  .linha h3 { margin: 0; font-size: 30px; align-self: end; }
  .linha__faixa { margin-top: 6px; }
  .linha__info { display: none; }
  .linha__cta { margin-top: 0; padding-top: 6px; font-size: 15px; }
}
@media (max-width: 639px) {
  .linha__flor { width: 44px; top: 2px; left: 2px; }
  .linha__cta { white-space: nowrap; font-size: 14px; }
}

/* rodapé compacto: o pedido numa linha (título à esquerda, botão do tamanho padrão à direita), links e créditos abaixo */
footer.footer.closing.rodape { height: auto; min-height: 0; padding: 56px 0 28px; }
footer.closing.rodape > .wrap { height: auto; display: block; }
.rodape .rodape-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.rodape .rodape-cta h2 { margin: 0; font: 400 clamp(30px, 3vw, 40px)/1.1 var(--font-display); color: #fff; }
.rodape .rodape-cta p { margin-top: 6px; color: rgba(255, 255, 255, .88); }
.rodape .closing__links { margin: 0; padding: 0; }
.rodape .footer__mark.logo-script { font-size: 48px; }
.rodape .footer__legal { margin-top: 32px; padding-top: 20px; }
@media (max-width: 639px) {
  footer.footer.closing.rodape { padding: 40px 0 calc(24px + var(--bar, 0px)); }
  .rodape .rodape-cta { padding-bottom: 28px; margin-bottom: 28px; }
  .rodape .rodape-cta .btn { width: 100%; }
  .rodape .footer__mark.logo-script { font-size: 40px; }
}
footer.closing.rodape .closing__cta.rodape-cta { display: flex; flex-direction: row; align-items: center; justify-content: space-between; max-width: none; width: 100%; text-align: left; height: auto; min-height: 0; }
footer.closing.rodape .closing__cta.rodape-cta .btn { flex: none; width: auto; }
footer.closing.rodape .closing__links { height: auto; min-height: 0; }
footer.closing.rodape .footer__legal { margin-top: 28px; }
@media (max-width: 639px) { footer.closing.rodape .closing__cta.rodape-cta { flex-direction: column; align-items: stretch; } footer.closing.rodape .closing__cta.rodape-cta .btn { width: 100%; } }
footer.closing.rodape .closing__cta.rodape-cta h2 { max-width: none; }

/* A COSTURA: cinco cards em zigue-zague ligados por uma linha tracejada que se costura com a rolagem */
.costura { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; align-self: center; padding: 96px 0 120px; }
.costura__svg { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 0; }
.costura__furos { fill: none; stroke: rgba(58, 111, 181, .28); stroke-width: 2; stroke-dasharray: 1 11; stroke-linecap: round; }
.costura__linha { fill: none; stroke: var(--azul); stroke-width: 3; stroke-dasharray: 12 8; stroke-linecap: round; }
.costura__revela { fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; }
.costura__agulha { transition: opacity 200ms ease; }
.agulha__corpo { stroke: #8f99ab; stroke-width: 2.6; stroke-linecap: round; }
.agulha__ponta { stroke: #8f99ab; stroke-width: 1.4; stroke-linecap: round; }
.agulha__olho { fill: var(--creme); stroke: #8f99ab; stroke-width: 1; }
.costura__flor { position: absolute; top: 0; left: 42%; width: 92px; translate: -50% -20%; z-index: 1; }
.pontos { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.ponto { position: relative; width: 42%; background: var(--branco); border-radius: 28px; padding: 28px 32px; border: 1.5px dashed rgba(58, 111, 181, .3);
  box-shadow: 0 16px 36px -28px rgba(31, 43, 68, .45); transition: border-color 500ms var(--ease-smooth-out), box-shadow 500ms var(--ease-smooth-out), transform 500ms var(--ease-smooth-out); }
.ponto--esq { margin-right: auto; padding-right: 56px; }
.ponto--dir { margin-left: auto; padding-left: 56px; }
.ponto__n { position: absolute; top: 50%; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--branco); border: 2px dashed var(--azul); color: var(--azul); font: 400 30px/1 var(--font-display); z-index: 2;
  transition: background 400ms var(--ease-smooth-out), color 400ms var(--ease-smooth-out), border-color 400ms var(--ease-smooth-out), transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.ponto--esq .ponto__n { right: -30px; }
.ponto--dir .ponto__n { left: -30px; }
.ponto__ok { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; stroke: var(--azul); stroke-width: 2.4; fill: none;
  stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; opacity: 0; transform: scale(.4);
  transition: opacity 250ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), stroke-dashoffset 400ms 150ms ease-out; box-shadow: 0 2px 6px rgba(31, 43, 68, .25); }
.ponto h3 { margin: 0; font: 400 30px/1.1 var(--font-display); color: var(--azul); }
.ponto p { margin-top: 6px; color: var(--ink); }
.ponto.is-costurado { border-style: solid; border-color: rgba(58, 111, 181, .55); box-shadow: 0 22px 44px -28px rgba(58, 111, 181, .55); }
.ponto.is-costurado .ponto__n { background: var(--azul); border-style: solid; border-color: var(--azul); color: #fff; transform: scale(1.08); }
.ponto.is-costurado .ponto__ok { opacity: 1; transform: scale(1); stroke-dashoffset: 0; }
.costura__no { position: absolute; left: 50%; bottom: 56px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--branco); border: 2px dashed var(--azul); z-index: 1;
  transition: background 400ms ease, transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.costura__no.is-costurado { background: var(--azul); border-style: solid; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .ponto, .ponto__n, .ponto__ok, .costura__no { transition: none; } }
@media (max-width: 767px) {
  .costura { padding: 80px 0 96px; }
  .pontos { gap: 56px; }
  .ponto { width: 100%; padding: 40px 22px 22px; }
  .ponto--esq, .ponto--dir { padding-inline: 22px; margin: 0; }
  .ponto__n { top: 0; margin-top: -30px; }
  .ponto--esq .ponto__n { right: auto; left: 22px; }
  .ponto--dir .ponto__n { left: auto; right: 22px; }
  .ponto--dir { text-align: right; }
  .ponto h3 { font-size: 26px; }
  .costura__flor { left: 50px; width: 64px; translate: -50% -30%; }
}

/* SEÇÕES EM AZUL DA MARCA: "A mesma carteira em três cores" e a costura dos passos */
main > .secao--azul { background: var(--azul); color: #fff; }
.secao--azul .titulo-mimi { color: #fff; }
.secao--azul .cabeca .t-lead { color: #fff; }
.secao--azul ::selection { background: rgba(255, 255, 255, .3); color: #fff; }
/* três cores: os círculos claros com uma sombra leve para descolar do azul */
.secao--azul .trio__item { box-shadow: 0 24px 50px -30px rgba(15, 25, 50, .6), inset 0 0 0 6px rgba(255, 255, 255, .5); }
/* costura: linha branca sobre o azul, como ponto sobre tecido */
.secao--azul .costura__linha { stroke: #fff; }
.secao--azul .costura__furos { stroke: rgba(255, 255, 255, .4); }
.secao--azul .agulha__corpo, .secao--azul .agulha__ponta { stroke: #e9eef6; }
.secao--azul .agulha__olho { fill: var(--azul); stroke: #e9eef6; }
.secao--azul .ponto { border-color: rgba(255, 255, 255, .0); box-shadow: 0 24px 50px -30px rgba(15, 25, 50, .65); }
.secao--azul .ponto.is-costurado { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25), 0 28px 56px -30px rgba(15, 25, 50, .7); }
.secao--azul .ponto.is-costurado .ponto__n { box-shadow: 0 0 0 3px #fff; }
.secao--azul .costura__no { background: transparent; border-color: #fff; }
.secao--azul .costura__no.is-costurado { background: #fff; }

/* cards da costura com um visual por passo, que se anima quando a linha chega no card */
.ponto { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: 20px; width: 46%; }
.ponto--dir { grid-template-columns: 96px minmax(0, 1fr); }
.ponto--dir .ponto__visual { order: -1; }
.ponto::before { content: ""; position: absolute; inset: 8px; border-radius: 21px; border: 1px dashed rgba(58, 111, 181, .18); pointer-events: none; }
.ponto__visual { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
/* 1: três peças em leque que se abrem */
.visual-leque img { position: absolute; width: 58px; height: 74px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 8px 16px -8px rgba(31, 43, 68, .5);
  transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.visual-leque img:nth-child(1) { transform: rotate(-4deg); }
.visual-leque img:nth-child(2) { transform: rotate(2deg); }
.visual-leque img:nth-child(3) { transform: rotate(0deg); }
.is-costurado .visual-leque img:nth-child(1) { transform: translateX(-20px) rotate(-14deg); }
.is-costurado .visual-leque img:nth-child(2) { transform: translateX(20px) rotate(12deg); transition-delay: 60ms; }
.is-costurado .visual-leque img:nth-child(3) { transform: translateY(-6px) scale(1.04); transition-delay: 120ms; }
/* 2: novelos de cor com a costura em volta, que aparecem um a um */
.visual-novelos { grid-template-columns: repeat(2, 38px); gap: 8px; }
.visual-novelos i { width: 38px; height: 38px; border-radius: 50%; background: var(--c);
  background-image: repeating-linear-gradient(35deg, rgba(255, 255, 255, .16) 0 3px, transparent 3px 7px);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(58, 111, 181, .35); transform: scale(.3); opacity: .25;
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms ease; }
.is-costurado .visual-novelos i { transform: scale(1); opacity: 1; }
.is-costurado .visual-novelos i:nth-child(2) { transition-delay: 90ms; }
.is-costurado .visual-novelos i:nth-child(3) { transition-delay: 180ms; }
.is-costurado .visual-novelos i:nth-child(4) { transition-delay: 270ms; }
/* 3 e 4: o anel do pagamento enche até 30% e depois até 100% */
.visual-anel svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.anel__trilho { fill: none; stroke: var(--azul-claro); stroke-width: 8; stroke-dasharray: 2 4; }
.anel__valor { fill: none; stroke: var(--azul); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1100ms var(--ease-smooth-out) 150ms; }
.is-costurado .anel__valor { stroke-dashoffset: calc(100 - var(--pct)); }
.anel__num { position: relative; font: 400 26px/1 var(--font-display); color: var(--azul); }
/* 5: o pacote com laço dá um pulinho quando chega */
.visual-pacote svg { width: 84px; height: 84px; overflow: visible; }
.pacote__caixa { fill: #efe6d8; stroke: #c9a77c; stroke-width: 2; }
.pacote__tampa rect { fill: #f6efe4; stroke: #c9a77c; stroke-width: 2; }
.pacote__fita { stroke: var(--azul); stroke-width: 6; }
.pacote__laco { fill: var(--azul); }
.pacote__tampa { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.is-costurado .pacote__tampa { animation: pacote-pula 900ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms 1 both; }
@keyframes pacote-pula { 0% { transform: translateY(0) } 35% { transform: translateY(-12px) rotate(-4deg) } 65% { transform: translateY(0) rotate(2deg) } 100% { transform: translateY(0) rotate(0) } }
@media (prefers-reduced-motion: reduce) {
  .visual-leque img, .visual-novelos i, .anel__valor { transition: none; }
  .is-costurado .pacote__tampa { animation: none; }
}
@media (max-width: 1023px) { .ponto { width: 48%; grid-template-columns: minmax(0, 1fr) 80px; } .ponto--dir { grid-template-columns: 80px minmax(0, 1fr); } .ponto__visual { width: 80px; height: 80px; transform: scale(.85); } }
@media (max-width: 767px) {
  .ponto, .ponto--dir { width: 100%; grid-template-columns: minmax(0, 1fr) 84px; }
  .ponto--dir .ponto__visual { order: 0; }
  .ponto--dir { text-align: left; }
  .ponto__visual { width: 84px; height: 84px; transform: scale(.9); }
}
.anel__valor { opacity: 0; } .is-costurado .anel__valor { opacity: 1; }

/* HERO em duas colunas (desktop): o texto à esquerda com respiro, a bolsa grande à direita sobre as colinas */
@media (min-width: 1024px) {
  main > .hero-mimi { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: max(100svh, 720px); padding: var(--nav) 0 0; }
  .hero-mimi::after { inset: 0; background: linear-gradient(to right, rgba(245, 241, 235, .92) 0%, rgba(245, 241, 235, .7) 38%, rgba(245, 241, 235, 0) 62%); }
  main > .hero-mimi > .wrap.hero-mimi__text { grid-row: 1; grid-column: 1; justify-items: start; text-align: left; gap: 0; padding-block: 48px 96px; }
  .hero-mimi__title { font-size: clamp(64px, 6.6vw, 104px); line-height: .92; max-width: 9ch; }
  .hero-mimi__lead { margin: 28px 0 0; max-width: 40ch; text-align: left; font-size: 19px; }
  .hero-mimi__btns { justify-content: flex-start; margin-top: 36px; gap: 16px; }
  .hero-mimi__stage { grid-row: 1; grid-column: 1; position: absolute; inset: var(--nav) 0 0 0; margin: 0; min-height: 0; pointer-events: none; }
  .hero-mimi__bag { left: auto; right: max(6vw, calc((100vw - 1280px) / 2 + 40px)); bottom: 7%; height: min(66%, 600px); translate: 0 0; }
  .hero-mimi .flor--a { left: auto; right: calc(max(6vw, calc((100vw - 1280px) / 2 + 40px)) + min(36vw, 470px)); bottom: 9%; width: clamp(110px, 10vw, 170px); }
}
@media (min-width: 1024px) and (max-height: 760px) { .hero-mimi__title { font-size: clamp(56px, 5.6vw, 88px); } .hero-mimi__lead { margin-top: 20px; } .hero-mimi__btns { margin-top: 28px; } }
/* celular: mais espaço entre título, texto, botões e a bolsa */
@media (max-width: 1023px) {
  .hero-mimi__text { gap: 0; }
  .hero-mimi__lead { margin-top: 20px; }
  .hero-mimi__btns { margin-top: 28px; }
  .hero-mimi__stage { margin-top: 32px; min-height: 300px; }
}
@media (max-width: 639px) { .hero-mimi__btns { gap: 12px; } }

/* MENU: mais alto e com efeito de vidro, desfocando o que passa por baixo */
:root { --nav: 88px; }
@media (max-width: 639px) { :root { --nav: 68px; } }
/* O vidro fica num ::before: um backdrop-filter no próprio header prenderia dentro dele o menu
   do celular (position: fixed), que abria cortado na altura da barra */
header.nav {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 1px 0 rgba(31, 43, 68, .06), 0 10px 30px -22px rgba(31, 43, 68, .35);
}
header.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(245, 241, 235, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { header.nav::before { background: rgba(245, 241, 235, .96); } }
header.nav.is-open::before { background: var(--creme); }
header.nav .logo-script { font-size: 42px; }
header.nav .nav__link { font-size: 16px; }
@media (max-width: 639px) { header.nav .logo-script { font-size: 34px; } }
/* com o menu do celular aberto, a folha fica opaca para o texto ler bem */
header.nav.is-open { background: rgba(245, 241, 235, .98); }

/* faixas infinitas: um grupo de palavras repetido pelo script até cobrir a tela, sem botões */
.faixa__trilho { gap: 0; padding-right: 0; }
.faixa__grupo { display: flex; align-items: center; gap: 48px; padding-right: 48px; flex: none; }
.faixa__pausa { display: none !important; }
@media (prefers-reduced-motion: reduce) { .faixa__trilho { justify-content: center; width: 100%; } .faixa__grupo + .faixa__grupo { display: none; } }

/* "Feita à mão, na cor que você quiser": cada carteira num card com o conteúdo de destaque da marca */
.trio { max-width: 1120px; align-items: stretch; }
.trio__card { display: flex; flex-direction: column; gap: 24px; padding: 28px 28px 32px; border-radius: 32px; background: var(--branco); color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(15, 25, 50, .65); }
.trio__card .trio__item { width: 100%; max-width: 260px; margin: 0 auto; }
.secao--azul .trio__card .trio__item { box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55); }
.trio__info { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.trio__icone { width: 28px; height: 28px; color: var(--azul); margin-top: 2px; }
.trio__info h3 { margin: 0; font: 600 18px/1.3 var(--font-text); color: var(--ink); }
.trio__info p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 1023px) { .trio__card { padding: 20px; gap: 18px; } .trio__info h3 { font-size: 16px; } }
@media (max-width: 767px) {
  .trio { grid-template-columns: 1fr; gap: 16px; }
  .trio__card { flex-direction: row; align-items: center; padding: 14px 18px 14px 14px; border-radius: 26px; }
  .trio__card .trio__item { flex: none; width: 104px; max-width: none; margin: 0; aspect-ratio: 1; }
  .trio .trio__card .trio__item > img, .trio__item img { padding: 0; width: 56%; height: 78%; }
}

/* Catálogo: faixa azul de abertura com borda em "barradinho" de crochê, separando título e peças */
.cat-topo { position: relative; overflow: hidden; background: var(--azul); color: #fff; text-align: center;
  padding: calc(var(--nav) + 64px) 0 104px;
  --onda: 22px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--onda)) no-repeat, radial-gradient(circle var(--onda) at 50% 0, #000 98%, #0000) 50% 100% / calc(var(--onda) * 2) var(--onda) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--onda)) no-repeat, radial-gradient(circle var(--onda) at 50% 0, #000 98%, #0000) 50% 100% / calc(var(--onda) * 2) var(--onda) repeat-x; }
.cat-topo::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, .16), transparent 70%); }
.cat-topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--onda) + 14px); height: 0;
  border-top: 2px dashed rgba(255, 255, 255, .45); pointer-events: none; }
.cat-topo .wrap { position: relative; z-index: 1; }
.cat-topo .cabeca { margin-bottom: 0; }
.page-sub .cat-topo h1 { color: #fff; }
.cat-topo .cabeca .t-lead { color: rgba(255, 255, 255, .92); }
.cat-topo .t-tabs { --tabs-bar-bg: rgba(255, 255, 255, .16); --tabs-pill-bg: #fff; --tabs-text-active: var(--azul-escuro); --tabs-text-muted: #fff; }
.cat-topo .filtros .t-tab:focus-visible { outline-color: #fff; }
.cat-topo .t-tab:not([aria-selected="true"]):hover { color: #fff; background: rgba(255, 255, 255, .12); }
.cat-topo__peca { position: absolute; top: 50%; width: 220px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .22); pointer-events: none; }
.cat-topo__peca img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(15, 25, 50, .35)); }
.cat-topo__peca--esq { left: max(24px, calc(50% - 680px)); transform: translateY(-30%) rotate(-8deg); }
.cat-topo__peca--dir { right: max(24px, calc(50% - 680px)); transform: translateY(-40%) rotate(7deg); }
.cat-lista { padding: 40px 0 96px; }
.cat-lista .contagem { margin: 0 0 24px; text-align: center; }
@media (max-width: 1279px) { .cat-topo__peca { width: 160px; } .cat-topo__peca--esq { left: -40px; } .cat-topo__peca--dir { right: -40px; } }
@media (max-width: 1023px) { .cat-topo__peca { display: none; } }
@media (max-width: 767px) { .cat-topo { padding: calc(var(--nav) + 36px) 0 76px; --onda: 14px; } .cat-topo::after { bottom: calc(var(--onda) + 10px); } .cat-lista { padding: 28px 0 64px; } }
main > section.cat-topo.cat-topo, main > section.cat-lista.cat-lista { height: auto; min-height: 0; display: block; }
main > section.cat-topo.cat-topo { padding: calc(var(--nav) + 56px) 0 96px; }
main > section.cat-lista.cat-lista { padding: 32px 0 96px; }
@media (max-width: 767px) {
  main > section.cat-topo.cat-topo { padding: calc(var(--nav) + 32px) 0 72px; }
  main > section.cat-lista.cat-lista { padding: 24px 0 64px; }
}
/* Hero: a bolsa centraliza por margem (e não por translate), porque o GSAP anima o transform e,
   se a imagem ainda não tinha largura ao iniciar, o -50% virava 0 e a bolsa ia para a direita */
.hero-mimi__bag { left: 0; right: 0; margin-inline: auto; width: fit-content; translate: none; }
@media (min-width: 1024px) { .hero-mimi__bag { left: auto; right: max(6vw, calc((100vw - 1280px) / 2 + 40px)); margin-inline: 0; } }
@media (max-width: 1023px) {
  .hero-mimi .flor--a { left: calc(50% - min(41vw, 230px)); bottom: 5%; width: clamp(76px, 20vw, 120px); z-index: 2; }
}
@media (max-width: 639px) { .hero-mimi__bag { height: 84%; bottom: 4%; } }
/* "Não encontrou o que procurava?" no celular: a seção abraça o card (sem altura de tela cheia)
   e a flor fica presa no canto de baixo do card, em vez de solta no canto da tela */
@media (max-width: 639px) {
  main > section.sob-medida-mimi.sob-medida-mimi { min-height: 0; height: auto; display: grid; grid-template-rows: auto; place-items: center; padding: 64px 0 72px; }
}
/* Os passos da costura entram deslizando pela lateral: sem este corte, no celular eles alargavam a
   página para os lados antes de aparecer (e o menu aberto ficava desalinhado) */
#encomenda { overflow-x: clip; }
/* A flor fica dentro do card e cobre o canto de baixo à direita, no desktop e no celular */
.sob-medida-mimi__caixa .flor--sm2 { position: absolute; top: auto; left: auto; right: -40px; bottom: -44px; width: clamp(84px, 9vw, 140px); z-index: 2; }
@media (max-width: 639px) { .sob-medida-mimi__caixa .flor--sm2 { right: -14px; bottom: -30px; width: 84px; } }
