/* Prothege Uniformes Profissionais — folha de estilo única */

:root {
  --ink: #171314;
  --muted: #5e5558;
  --soft: #7a6f72;
  --paper: #f8f6f5;
  --stone: #efebea;
  --white: #fff;
  --wine: #5c1a29;
  --wine-dark: #43111d;
  --wine-pale: #dcaeb8;
  --wine-text: #e3cdd2;
  --line: rgba(0, 0, 0, .1);
  --line-strong: rgba(0, 0, 0, .14);
  --gutter: clamp(20px, 6vw, 140px);
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --script: Caveat, cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--wine-dark); }
button, input, select, textarea { font-family: inherit; }

.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.script { font-family: var(--script); font-weight: 700; }

/* ---------- barra superior ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
  background: var(--wine);
  color: var(--wine-text);
  font-size: 12.5px;
}
.topbar a { color: inherit; }
.topbar__horario { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- cabeçalho ---------- */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.cabecalho__logo { display: inline-flex; flex-direction: column; align-items: center; }
.cabecalho__logo img { height: 36px; width: auto; }
.cabecalho__assinatura {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .03em;
  text-align: center;
  color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-links a:not(.botao) {
  padding: 10px 12px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav-links a:not(.botao):hover { color: var(--wine); }
.nav-links a:not(.botao)[aria-current="page"] { color: var(--wine); border-bottom-color: var(--wine); }

.botao {
  display: inline-block;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: background .15s ease;
}
.botao--bordo { background: var(--wine); color: var(--white); padding: 12px 20px; font-size: 14px; }
.botao--bordo:hover { background: var(--wine-dark); color: var(--white); }
.botao--escuro { background: var(--ink); color: var(--white); padding: 16px 26px; font-size: 15.5px; }
.botao--escuro:hover { background: #000; color: var(--white); }
.botao--contorno {
  background: none;
  border: 1.5px solid rgba(0, 0, 0, .22);
  color: var(--ink);
  padding: 15px 24px;
  font-size: 15.5px;
}
.botao--contorno:hover { border-color: var(--wine); color: var(--wine); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.aberta span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.aberta span:nth-child(2) { opacity: 0; }
.nav-burger.aberta span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .nav-links.aberta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, .08);
  }
  .nav-links.aberta a,
  .nav-links.aberta .botao { width: 100%; text-align: left; }
}

/* ---------- títulos ---------- */
.eyebrow { color: var(--wine); margin: 0 0 12px; }

h1, h2, h3 { letter-spacing: -.022em; }
.titulo-pagina {
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  margin: 0 0 26px;
}
.titulo-hero {
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  margin: 0 0 20px;
  text-wrap: balance;
}
.titulo-hero .script { font-size: 1.32em; color: var(--wine); line-height: .8; }
.titulo-secao {
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  margin: 0 0 12px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 44px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 48px;
}
.hero__texto { font-weight: 400; font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 28px; max-width: 52ch; text-wrap: pretty; }
.hero__acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__selos { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero__selos strong { color: var(--ink); }
.hero__foto { position: relative; }
.hero__foto img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; }
.hero__cartao {
  position: absolute;
  left: 14px;
  bottom: -18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}
.hero__cartao p { margin: 0; }
.hero__cartao .script { font-size: 26px; line-height: 1; color: var(--wine); margin-bottom: 3px; }
.hero__cartao small { font-size: 12.5px; color: var(--soft); }

/* ---------- números ---------- */
.numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numeros div { padding: 24px 22px; border-right: 1px solid var(--line); }
.numeros div:last-child { border-right: none; }
.numeros strong { display: block; font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: -.02em; margin-bottom: 5px; }
.numeros span { font-size: 13.5px; line-height: 1.3; color: var(--soft); }

/* ---------- cards de segmento (home) ---------- */
.secao { padding-top: 52px; padding-bottom: 44px; }
.secao__cabecalho { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.link-sublinhado { border-bottom: 1.5px solid var(--wine); padding-bottom: 2px; font-weight: 600; font-size: 15px; }

.grade-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  color: inherit;
}
.card:hover { color: inherit; border-color: rgba(0, 0, 0, .25); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card__corpo { padding: 18px 20px 22px; }
.card__corpo h3 { font-weight: 600; font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
.card__corpo p { font-weight: 400; font-size: 14.5px; line-height: 1.55; color: var(--soft); margin: 0; text-wrap: pretty; }

/* ---------- como funciona ---------- */
.processo { background: var(--wine); color: #f2e4e7; padding-top: 48px; padding-bottom: 48px; }
.processo__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.processo .script { font-size: 32px; line-height: 1; color: var(--wine-pale); margin: 0 0 12px; }
.processo p.apoio { font-weight: 400; font-size: 16px; line-height: 1.6; color: #d9bfc5; margin: 0; text-wrap: pretty; }
.etapas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.etapas div { border-top: 2px solid rgba(255, 255, 255, .32); padding-top: 13px; }
.etapas .num { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--wine-pale); margin: 0 0 7px; }
.etapas h3 { font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.etapas p { font-weight: 400; font-size: 14px; line-height: 1.5; color: #d9bfc5; margin: 0; }

/* ---------- avaliações do Google ---------- */
.depoimento { padding-top: 48px; padding-bottom: 48px; }
.carrossel__janela { overflow: hidden; }
.carrossel__trilho { display: flex; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.carrossel .avaliacao { flex: 0 0 100%; }

.carrossel__palco { display: flex; align-items: center; gap: clamp(8px, 2vw, 20px); }
.carrossel__janela { flex: 1; min-width: 0; }
.carrossel__seta {
  flex: none;
  width: clamp(34px, 5vw, 44px);
  height: clamp(34px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.carrossel__seta:hover { border-color: var(--wine); color: var(--wine); }
.carrossel__pontos { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carrossel__pontos button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfc7c5;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.carrossel__pontos button[aria-current="true"] { background: var(--wine); transform: scale(1.25); }
.avaliacao {
  margin: 0;
  background: var(--stone);
  border-radius: 4px;
  padding: 30px clamp(24px, 5vw, 56px);
  min-height: 170px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.avaliacao__estrelas { margin: 0; line-height: 1; letter-spacing: 2px; }
.estrela { color: #d6cfcd; font-size: 17px; }
.estrela.cheia { color: #e8a33d; }
.avaliacao blockquote {
  margin: 0;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: #26201f;
  text-wrap: pretty;
}
.avaliacao figcaption { font-weight: 600; font-size: 14.5px; color: var(--ink); }

/* ---------- página de segmentos ---------- */
.lista-segmentos { display: flex; flex-direction: column; gap: 18px; }
.segmento {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.segmento__texto { padding: 30px 28px; }
.segmento__nome { font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; }
.segmento__resumo { font-weight: 400; font-size: clamp(19px, 2vw, 25px); line-height: 1.4; color: var(--muted); margin: 0 0 24px; max-width: 46ch; }
.topico { margin: 0 0 16px; }
.topico .rotulo { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); margin: 0 0 5px; }
.topico p { font-weight: 400; font-size: 15.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.segmento img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- catálogo ---------- */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pill {
  background: none;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 3px;
  padding: 9px 16px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.pill[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--white); }

.grade-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.produto { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.produto > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center top; }
.produto__corpo { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.produto__categoria { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); margin: 0; }
.produto__corpo h3 { font-weight: 600; font-size: 17px; line-height: 1.25; margin: 0; }
.produto__corpo p { font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--soft); margin: 0; }

/* ---------- personalização ---------- */
.tecnicas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; padding-bottom: 44px; }
.tecnica img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.tecnica .marca { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .1em; color: var(--wine); margin: 0 0 8px; }
.tecnica h2 { font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin: 0 0 10px; }
.tecnica p { font-weight: 400; font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }

/* ---------- a fábrica ---------- */
.fabrica { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 34px; align-items: start; }
.fabrica p { font-weight: 400; font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; text-wrap: pretty; }
.fabrica p:last-child { margin-bottom: 0; }
.fabrica img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }

/* ---------- contato ---------- */
.contato { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }
.linha-ficha {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.linha-ficha dt { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.linha-ficha dd { margin: 0; font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.ficha { border-top: 1px solid var(--line-strong); margin: 0 0 22px; }
.mapa { aspect-ratio: 4/3; background: #e5e1e0; border: 1px solid var(--line); overflow: hidden; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.como-chegar {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(92, 26, 41, .35);
  padding-bottom: 2px;
}

.form-card { background: var(--white); border: 1px solid rgba(0, 0, 0, .12); border-radius: 4px; padding: 26px 24px; }
.form-linha { display: flex; flex-direction: column; gap: 16px; }
.form-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--ink); }
.form-card input,
.form-card textarea {
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 3px;
  padding: 12px;
  font-size: 15px;
  font-weight: 400;
}
.form-card textarea { resize: vertical; }
.form-card fieldset { border: 0; padding: 0; margin: 0; }
.form-card legend { font-weight: 600; font-size: 13px; padding: 0 0 8px; }
.form-card .botao--enviar { background: var(--wine); color: var(--white); padding: 17px; font-size: 16px; width: 100%; }
.form-card .botao--enviar:hover { background: var(--wine-dark); }
.form-rodape { font-weight: 400; font-size: 13px; line-height: 1.5; color: var(--soft); margin: 0; text-align: center; }

/* ---------- chamada final e rodapé ---------- */
.chamada {
  border-top: 1px solid var(--line);
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--stone);
}
.chamada h2 { font-weight: 600; font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
.chamada p { font-weight: 400; font-size: 15px; line-height: 1.5; color: var(--soft); margin: 0; }
.chamada .botao { padding: 16px 28px; font-size: 16px; white-space: nowrap; }

.rodape {
  background: var(--ink);
  color: #a09799;
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.rodape__marca { display: inline-flex; flex-direction: column; align-items: center; }
.rodape img { height: 23px; width: auto; filter: invert(1); opacity: .9; }
.rodape__assinatura {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .03em;
  text-align: center;
  color: #a09799;
}
.rodape a { color: inherit; }

/* ---------- botão flutuante do WhatsApp ---------- */
.zap-flutuante {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  font-weight: 600;
  font-size: 15px;
  transition: background .15s ease, transform .15s ease;
}
.zap-flutuante:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.zap-flutuante svg { flex: none; }

@media (max-width: 700px) {
  .zap-rotulo { display: none; }
  .zap-flutuante { padding: 15px; border-radius: 50%; }
}

@media (max-width: 600px) {
  .linha-ficha { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- opções em pílula (rádio) ---------- */
.pill-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 3px;
  padding: 9px 14px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.pill-radio input { accent-color: var(--wine); margin: 0; }
.pill-radio:has(input:checked) { background: var(--wine); border-color: var(--wine); color: var(--white); }
.pill-radio:focus-within { outline: 2px solid var(--wine); outline-offset: 2px; }

/* display:flex no card vence o [hidden] padrão do navegador */
.produto[hidden] { display: none !important; }

/* ============ micro-interações ============ */

/* entrada ao rolar */
.revelar {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.revelar.visivel { opacity: 1; transform: none; }

/* links do menu: sublinhado que cresce */
.nav-links a:not(.botao) { position: relative; border-bottom-color: transparent; }
.nav-links a:not(.botao)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:not(.botao):hover::after,
.nav-links a:not(.botao)[aria-current="page"]::after { transform: scaleX(1); }

/* botões: leve elevação e afundar no clique */
.botao {
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.botao:active { transform: translateY(0); box-shadow: none; }

/* cards de segmento na home: elevam e a foto aproxima */
.card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .12); }
.card:hover img { transform: scale(1.05); }

/* cards do catálogo: mesmo gesto, mais discreto */
.produto { transition: transform .28s ease, box-shadow .28s ease; overflow: hidden; }
.produto > img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.produto:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }
.produto:hover > img { transform: scale(1.04); }

/* troca de filtro: some e volta */
.grade-produtos { transition: opacity .2s ease; }
.grade-produtos.trocando { opacity: 0; }

/* pílulas de filtro */
.pill { transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.pill:hover { border-color: var(--wine); color: var(--wine); }
.pill[aria-pressed="true"]:hover { color: var(--white); }
.pill:active { transform: scale(.96); }
.pill-radio { transition: background .18s ease, border-color .18s ease, color .18s ease; }
.pill-radio:hover { border-color: var(--wine); }

/* blocos de segmento: a foto aproxima devagar */
.segmento img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.segmento:hover img { transform: scale(1.03); }

/* técnicas de personalização */
.tecnica img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.tecnica:hover img { transform: scale(1.03); }

/* campos do formulário */
.form-card input,
.form-card textarea { transition: border-color .18s ease, box-shadow .18s ease; }
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(92, 26, 41, .12);
}

/* cartão manuscrito do hero */
.hero__cartao { transition: transform .35s ease; }
.hero__foto:hover .hero__cartao { transform: translateY(-4px); }

/* links de texto */
.link-sublinhado { transition: color .18s ease, border-color .18s ease; }
.como-chegar { transition: border-color .18s ease; }
.como-chegar:hover { border-color: var(--wine); }

/* etapas do processo */
.etapas div { transition: border-color .25s ease; }
.etapas div:hover { border-top-color: #fff; }

/* botão flutuante: entra depois que a página carrega */
.zap-flutuante { animation: zap-entra .45s .5s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes zap-entra {
  from { opacity: 0; transform: translateY(14px) scale(.92); }
  to { opacity: 1; transform: none; }
}

/* quem pediu menos movimento, recebe menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .revelar { opacity: 1; transform: none; }
}

/* no celular o formulário vem primeiro; dados e mapa descem */
@media (max-width: 720px) {
  .contato { display: flex; flex-direction: column; }
  .contato > .form-card { order: -1; }
}

/* palavra em manuscrito bordô dentro de um título */
.destaque { font-size: 1.2em; color: var(--wine); line-height: .85; }

/* botão discreto dentro de blocos de conteúdo */
.botao--pequeno { padding: 11px 20px; font-size: 13px; margin-top: 6px; }

/* ---------- modal da peça ---------- */
.produto { cursor: pointer; }
.produto:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

.modal-peca {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
}
.modal-peca::backdrop { background: rgba(23, 19, 20, .55); }
.modal-peca[open] { animation: modal-entra .22s cubic-bezier(.22, .61, .36, 1); }
@keyframes modal-entra {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.modal-peca__fechar {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.modal-peca__fechar:hover { background: #fff; }

.modal-peca img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center top; }
.modal-peca__corpo { padding: 22px 24px 24px; }
.modal-peca__categoria {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 6px;
}
.modal-peca h2 { font-weight: 600; font-size: 26px; line-height: 1.15; margin: 0 0 10px; }
.modal-peca p.detalhe { font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.modal-peca .botao { width: 100%; padding: 15px; font-size: 15.5px; }
.modal-peca__aviso {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--soft);
  text-align: center;
  min-height: 20px;
}
.modal-peca__aviso a { font-weight: 600; }

/* contador de peças no botão do menu */
.contador-orcamento {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 600;
}

/* lista de peças escolhidas, na página de contato */
.escolhidas {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--stone);
  padding: 16px 18px;
  margin: 0 0 18px;
}
.escolhidas h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 0 0 10px;
}
.escolhidas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.escolhidas li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.escolhidas button {
  border: 0;
  background: none;
  color: var(--soft);
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 3px;
}
.escolhidas button:hover { color: var(--wine); background: rgba(92, 26, 41, .08); }

.dica { font-weight: 400; font-size: 12.5px; color: var(--soft); }

.form-card select {
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 3px;
  padding: 12px;
  font-size: 15px;
  font-weight: 400;
  background: var(--white);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-card select:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(92, 26, 41, .12);
}

/* pílulas de tamanho: letra em cima, numeração embaixo */
.pill-tam {
  flex-direction: column;
  gap: 2px;
  min-width: 62px;
  padding: 9px 12px;
  text-align: center;
}
.pill-tam input { position: absolute; opacity: 0; pointer-events: none; }
.tam__letra { font-weight: 600; font-size: 14px; line-height: 1.1; }
.tam__num { font-family: var(--mono); font-size: 11px; line-height: 1.1; color: var(--soft); }
.pill-tam:has(input:checked) .tam__num { color: rgba(255, 255, 255, .8); }
