/* MK Fitness: preto, nude e berry; Syne + Plus Jakarta Sans; cortes em viés */
:root {
  --ink: #141414;
  --berry: #c2185b;
  --nude: #f3e3d8;
  --mid: #6b5e57;
  --paper: #fbf7f4;
  --berry-hi: #f2689a;   /* berry clareado para texto pequeno sobre ink (6:1) */
  --sand: #b8aba3;       /* texto secundário sobre ink (8:1) */
  --line: rgba(20, 20, 20, .16);
  --disp: 'Syne', 'Arial Black', Arial, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--disp); margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; line-height: .98; }
h3 { font-size: 1.32rem; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--berry); color: var(--paper); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

.page { display: none; }
.page.active { display: block; }
html:not(.js) .page:target { display: block; }

.obs { font-size: .9rem; color: var(--mid); }

/* ---------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  font: 700 1rem/1.1 var(--disp); letter-spacing: .01em; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-berry { background: var(--berry); color: var(--paper); }
.btn-berry:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--berry); color: var(--paper); }
.btn-line { border-color: var(--paper); color: var(--paper); }
.btn-line:hover { background: var(--paper); color: var(--ink); }
.btn:disabled { opacity: .4; cursor: not-allowed; background: var(--mid); }

/* ---------- topo */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--paper); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font: 800 1.2rem var(--disp); letter-spacing: .04em; }
.brand:hover { color: var(--paper); }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
  width: 48px; height: 48px; background: none; border: 2px solid rgba(251, 247, 244, .3); cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--paper); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav-links {
  display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 22px;
  list-style: none; flex-direction: column; background: var(--ink); border-top: 1px solid rgba(251, 247, 244, .12);
}
.nav-links.open { display: flex; }
.nav-links a { display: flex; align-items: center; min-height: 48px; color: var(--paper); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(251, 247, 244, .1); }
.nav-links .nav-cta a { margin-top: 14px; justify-content: center; border: 0; background: var(--berry); font: 700 1rem var(--disp); }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; }
  .nav-links a { border: 0; padding: 0 13px; font-size: .97rem; }
  .nav-links a:hover { color: var(--berry-hi); }
  .nav-links .nav-cta a { margin: 0 0 0 12px; padding: 0 20px; min-height: 44px; }
  .nav-links .nav-cta a:hover { background: var(--paper); color: var(--ink); }
}

/* ---------- hero: foto cortada em viés, faixa berry paralela ao corte */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-foto { position: relative; aspect-ratio: 16 / 10; background: var(--berry); clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; clip-path: polygon(0 0, 100% 0, 100% calc(84% - 9px), 0 calc(100% - 9px)); }
.hero-in { position: relative; z-index: 2; padding-top: 22px; padding-bottom: 36px; }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 6.4rem); font-weight: 800; line-height: .9; letter-spacing: -.03em; max-width: 9.5ch; margin-bottom: 26px; }
.lead { font-size: 1.12rem; max-width: 34em; color: #e9ddd5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-faixa {
  position: relative; z-index: 2; list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 30px;
  padding-top: 20px; padding-bottom: 26px; font-size: .95rem; color: var(--sand); border-top: 1px solid rgba(251, 247, 244, .14);
  background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax);
}
.hero-faixa li { display: flex; align-items: center; gap: 12px; }
.hero-faixa li::before { content: ""; width: 7px; height: 18px; background: var(--berry); transform: skewX(-20deg); flex: none; }
@media (min-width: 860px) {
  .hero { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-foto { position: absolute; inset: 0 0 0 auto; width: 54%; aspect-ratio: auto; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-foto img { clip-path: none; }
  .hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .72), rgba(20, 20, 20, .18) 46%, transparent 72%); }
  .hero::after {
    content: ""; position: absolute; inset: 0 0 0 auto; width: 58%; background: var(--berry);
    clip-path: polygon(21% 0, 24.6% 0, 3.6% 100%, 0 100%);
  }
  .hero-in { padding-top: 90px; padding-bottom: 54px; }
  .hero h1 { margin-bottom: 30px; }
  .lead { max-width: 29em; }
  .hero-faixa { gap: 10px 44px; }
}

/* ---------- seções */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.sec-head { max-width: 40em; margin-bottom: 40px; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { color: var(--mid); font-size: 1.08rem; }

/* coleções: vitrine assimétrica, fotos com barra cortada em viés */
.vitrine { display: grid; gap: 18px; }
.peca { position: relative; display: flex; flex-direction: column; min-width: 0; }
.peca-foto picture { display: block; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.peca-foto img { width: 100%; height: 280px; object-fit: cover; }
.peca-foto .peca-txt { padding: 14px 4px 0; }
.peca h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.peca p { margin: 0; color: var(--mid); }
.peca-berry, .peca-nude { padding: 30px 28px; justify-content: space-between; min-height: 250px; }
.peca-berry { background: var(--berry); color: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.peca-berry p { color: var(--paper); }
.peca-berry h3, .peca-nude h3 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); line-height: 1; hyphens: manual; overflow-wrap: anywhere; }
.peca-nude { background: var(--nude); }
@media (min-width: 720px) {
  .vitrine { grid-template-columns: repeat(2, 1fr); }
  .peca-larga { grid-column: span 2; }
  .peca-larga img { height: 360px; }
}
@media (min-width: 1040px) {
  .vitrine { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .peca-larga { grid-column: span 2; }
  .peca-larga img { height: 340px; object-position: 50% 62%; }
  .peca-larga .peca-txt { position: absolute; right: 0; bottom: 0; width: 46%; background: var(--paper); padding: 20px 22px 0; }
}

/* confecção: pesponto que costura os passos */
.confeccao { background: var(--nude); }
.confeccao .sec-head p { color: #574b45; }
.confeccao-grid { display: grid; gap: 44px; }
.confeccao-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.confeccao-fotos picture:first-child { grid-column: span 2; }
.confeccao-fotos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.confeccao-fotos picture:last-child { grid-column: 2; margin-top: -64px; border: 6px solid var(--nude); }
.pesponto { position: relative; list-style: none; margin: 0; padding: 0 0 0 46px; counter-reset: passo; }
.pesponto::before {
  content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 0;
  border-left: 3px dashed var(--berry); transform-origin: top;
}
.pesponto li { position: relative; counter-increment: passo; padding-bottom: 26px; }
.pesponto li:last-child { padding-bottom: 0; }
.pesponto li::before {
  content: counter(passo); position: absolute; left: -46px; top: -2px; width: 34px; height: 34px;
  display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 800 1rem var(--disp);
}
.pesponto h3 { margin-bottom: 4px; }
.pesponto p { margin: 0; color: #574b45; }
.js .pesponto[data-reveal]::before { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.5, 0, .2, 1); }
.js .pesponto[data-reveal].revealed::before { transform: none; }
@media (min-width: 900px) {
  .confeccao-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
}

/* guia de tamanho: a fita métrica */
.tamanho-grid { display: grid; gap: 36px; }
.como-medir { margin: 26px 0 0; display: grid; gap: 14px; }
.como-medir div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.como-medir dt { font: 700 1.05rem var(--disp); }
.como-medir dd { margin: 0; color: var(--mid); }
.guia { background: #fff; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--berry); padding: clamp(20px, 3vw, 34px); align-self: start; min-width: 0; }
.campo { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; min-width: 0; }
fieldset.campo { border: 0; padding: 0; }
.campo legend, .campo label { font-weight: 700; font-size: .95rem; }
.campo legend { margin-bottom: 8px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid var(--ink);
  font: 700 .98rem var(--disp); cursor: pointer; background: var(--paper);
}
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--berry); outline-offset: 2px; }
.medidas { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 0 12px; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--berry); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--berry); }

.fita {
  list-style: none; margin: 4px 0 18px; padding: 12px 0 0; display: grid; grid-template-columns: repeat(5, 1fr) .7fr;
  background: var(--nude) repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) top left / 100% 8px no-repeat;
  border: 2px solid var(--ink);
}
.fita li {
  display: grid; place-items: center; min-height: 40px; font: 800 1rem var(--disp); color: var(--ink);
  border-left: 2px solid var(--ink); transition: background-color .2s, color .2s;
}
.fita li:first-child { border-left: 0; }
.fita-mais { color: var(--mid); }
.guia[data-t="PP"] .fita li:nth-child(1), .guia[data-t="P"] .fita li:nth-child(2),
.guia[data-t="M"] .fita li:nth-child(3), .guia[data-t="G"] .fita li:nth-child(4),
.guia[data-t="GG"] .fita li:nth-child(5), .guia[data-t="Sob consulta"] .fita li:nth-child(6) { background: var(--berry); color: var(--paper); }
#svc-resultado { min-height: 112px; margin-bottom: 18px; }
#svc-resultado p { margin: 0 0 8px; }
.guia-vazio { color: var(--mid); }
.tam-num { font: 700 1.1rem var(--disp); }
.tam-num strong { font-size: 2.4rem; font-weight: 800; color: var(--berry); margin-left: 4px; letter-spacing: -.02em; }
#svc-enviar { width: 100%; }
@media (min-width: 900px) {
  .tamanho-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
}

/* revenda */
.revenda { background: var(--ink); color: var(--paper); }
.revenda-grid { display: grid; gap: 40px; align-items: center; }
.revenda h2 { margin-bottom: 18px; }
.revenda-txt > p { color: #e9ddd5; font-size: 1.08rem; max-width: 34em; }
.revenda-lista { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 16px; }
.revenda-lista li { padding-left: 22px; position: relative; color: #e9ddd5; }
.revenda-lista li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 16px; background: var(--berry); transform: skewX(-20deg); }
.revenda-lista strong { color: var(--berry-hi); display: block; font-family: var(--disp); font-size: 1.08rem; }
.revenda-foto { margin: 0; }
.revenda-foto picture { display: block; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.revenda-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .revenda-grid { grid-template-columns: 6fr 5fr; gap: 64px; }
}

/* depoimentos */
.depo h2 { margin-bottom: 40px; }
.depo-lista { display: grid; gap: 30px; margin-bottom: 24px; }
.depo-item { margin: 0; padding-top: 22px; border-top: 3px solid var(--ink); }
.depo-item blockquote { margin: 0 0 14px; font-size: 1.18rem; line-height: 1.5; font-weight: 500; }
.depo-item blockquote p { margin: 0; }
.depo-item figcaption { color: var(--mid); font-size: .95rem; }
.depo-item figcaption strong { display: block; color: var(--ink); }
@media (min-width: 860px) { .depo-lista { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 24px; }
.faq-lista details { border-bottom: 1px solid var(--line); }
.faq-lista summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 18px 0; font: 700 1.12rem/1.3 var(--disp);
}
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: "+"; font-size: 1.6rem; color: var(--berry); transition: transform .2s; flex: none; }
.faq-lista details[open] summary::after { transform: rotate(45deg); }
.faq-lista details p { margin: 0 0 20px; color: var(--mid); max-width: 44em; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; } }

/* contato */
.contato { background: var(--nude); }
.contato-grid { display: grid; gap: 36px; }
.contato-info h2 { margin-bottom: 18px; }
.contato-info p { color: #574b45; }
.contato-info .obs { color: #574b45; }
.contato-mail { font: 800 clamp(1.3rem, 3vw, 1.8rem) var(--disp); overflow-wrap: anywhere; }
.form { display: grid; gap: 0 16px; }
.req { font-weight: 400; color: #574b45; }
.form-resumo { margin: 0 0 16px; padding: 12px 14px; background: var(--paper); border-left: 5px solid var(--berry); font-size: .95rem; }
.form-erro { margin: 0 0 16px; color: #8e0f42; font-weight: 700; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; }
  .campo-wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) { .contato-grid { grid-template-columns: 5fr 6fr; gap: 64px; } }

/* páginas legais */
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; margin: 18px 0 10px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; margin: 34px 0 10px; }
.legal p { max-width: 70ch; }
.legal-date { color: var(--mid); }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* rodapé */
.footer { background: var(--ink); color: #e9ddd5; padding: 64px 0 28px; }
.footer a { color: #e9ddd5; text-decoration: none; }
.footer a:hover { color: var(--berry-hi); text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font: 800 1.15rem var(--disp); letter-spacing: .04em; color: var(--paper); margin-bottom: 8px; }
.footer-brand p:last-child { color: var(--sand); }
.footer-col h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; color: var(--paper); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(251, 247, 244, .14); font-size: .9rem; color: var(--sand); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-bottom p { margin: 0; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .pesponto[data-reveal]::before { transform: none; }
}
