/* Casa dos Reboques — estilos */
:root {
  --ink: #0b0b0c;
  --text: #2b2b2f;
  --muted: #6e6e74;
  --line: #e8e8e6;
  --soft: #f5f5f3;
  --white: #fff;
  --red: #d8121b;
  --red-ink: #b10e15;
  --wa: #128c4a;
  --wa-2: #0e733c;
  --r: 22px;
  --r-sm: 14px;
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--head); font-weight: 600; color: var(--ink); letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0 0 1em; }
ul, dl { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
mark.todo { background: #fff1a8; color: #5a4700; padding: 1px 6px; border-radius: 4px; font: 500 .8rem/1.5 var(--body); letter-spacing: 0; }

/* ---------- Tipografia ---------- */
.h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.h3 { font-size: 1.6rem; }
.h4 { font-size: 1.1rem; letter-spacing: -.01em; }
.h5 { font-size: 1rem; letter-spacing: -.005em; margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38em; }
.lead a { color: var(--ink); }
.label { margin: 0 0 8px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.small { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }
.small a { color: var(--ink); font-weight: 500; }
.note { margin-top: 10px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 1.3em; border: 1px solid transparent; border-radius: 999px;
  font: 500 .98rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn--lg { min-height: 54px; padding: 0 1.7em; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .92rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2e; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ececec; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); }
.btn--line { border-color: #d6d6d4; color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo img { width: auto; height: 54px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.burger { display: none; }
@media (max-width: 900px) {
  .header__in { height: 64px; }
  .logo img { height: 40px; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; cursor: pointer; }
  .burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { content: ""; display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background-color .2s; }
  .burger span:first-child::before, .burger span:first-child::after { position: absolute; left: 0; }
  .burger span:first-child::before { top: -7px; } .burger span:first-child::after { top: 7px; }
  .burger[aria-expanded="true"] span:first-child { background: transparent; }
  .burger[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__cta { margin-top: 16px; min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(86vh, 780px); margin-top: -72px; padding-top: 72px; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,8,9,.78) 0%, rgba(8,8,9,.45) 38%, rgba(8,8,9,0) 65%), linear-gradient(0deg, rgba(8,8,9,.85) 0%, rgba(8,8,9,0) 42%); }
.hero__in { padding-block: 48px 36px; }
.hero__k { margin: 0 0 14px; font-size: .9rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.hero__t { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; max-width: 11em; }
.hero__lead { margin: 18px 0 28px; max-width: 30em; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.85); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: .92rem; color: rgba(255,255,255,.9); }
.hero__perks li { display: flex; align-items: center; gap: 8px; }
.hero__perks .ico { width: 20px; height: 20px; color: #fff; opacity: .9; }
.home .header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .header:not(.is-scrolled) .nav a:not(.btn) { color: #fff; }
.home .header:not(.is-scrolled) .logo img { filter: brightness(0) invert(1); }

.home .header:not(.is-scrolled) .burger span:first-child, .home .header:not(.is-scrolled) .burger span:first-child::before, .home .header:not(.is-scrolled) .burger span:first-child::after { background: #fff; }
.home .header:not(.is-scrolled) .nav__cta { background: #fff; color: var(--ink); }
.home .burger[aria-expanded="true"] span:first-child { background: transparent !important; }
@media (max-width: 900px) {
  .home .header:not(.is-scrolled) .nav a:not(.btn) { color: var(--text); }
  .home .header:not(.is-scrolled) .nav__cta { background: var(--ink); color: #fff; }
}
@media (max-width: 600px) {
  .hero { min-height: 88vh; margin-top: -64px; padding-top: 64px; }
  .hero__bg { object-position: 66% 60%; }
  .hero::before { background: linear-gradient(0deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.55) 45%, rgba(8,8,9,.15) 100%); }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 28px; font-size: .85rem; }
}

/* ---------- Atalhos por categoria ---------- */
.quick { position: relative; z-index: 2; margin-top: -1px; padding: 22px 0; border-bottom: 1px solid var(--line); background: #fff; }
.quick__in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.quick__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.quick__item:hover { background: var(--soft); }
.quick__img { flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 12px; background: var(--soft); }
.quick__img img { width: 100%; height: 100%; object-fit: cover; }
.quick__txt { display: grid; line-height: 1.2; }
.quick__txt strong { font: 600 1.02rem var(--head); letter-spacing: -.01em; }
.quick__txt small { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
  .quick__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; width: 100%; padding-inline: 16px; }
  .quick__in::-webkit-scrollbar { display: none; }
  .quick__item { flex-direction: column; align-items: flex-start; gap: 8px; width: 120px; padding: 0; }
  .quick__item:hover { background: none; }
  .quick__img { width: 120px; height: 90px; }
}

/* ---------- Seções ---------- */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec--soft { background: var(--soft); }
.sec--top { padding-top: 28px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }

/* ---------- Filtro + cards ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 30px; background: var(--soft); border-radius: 999px; }
.tab { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 .95rem var(--body); cursor: pointer; transition: .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.card[hidden] { display: none; }
.card a { display: block; text-decoration: none; color: inherit; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--soft); margin-bottom: 16px; }
.card__img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card a:hover .card__img > img { transform: scale(1.04); }
.card__cat { margin: 0 0 4px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.card__t { font-size: 1.35rem; letter-spacing: -.02em; }
.card__line { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.card a:hover .card__t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.nofoto { display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; height: 100%; background: var(--soft); color: var(--muted); font-size: .88rem; }
.nofoto img { width: 34%; max-width: 180px; opacity: .35; filter: grayscale(1); }
.more { margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.more a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: var(--ink); font-weight: 500; text-decoration: none; }
.more a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .card__img { border-radius: 14px; margin-bottom: 10px; }
  .card__t { font-size: 1.02rem; letter-spacing: -.01em; }
  .card__cat, .card__line { font-size: .78rem; }
  .head { flex-wrap: wrap; }
}
@media (max-width: 600px) { .tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .tab { flex: none; } }

/* ---------- Projetos entregues ---------- */
.sec--tight { padding-top: 0; }
#entregues .head { align-items: flex-end; }
#entregues .lead { margin: 10px 0 0; }
.strip__nav { display: flex; gap: 8px; flex: none; }
.round { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d6d6d4; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: .2s; }
.round:hover { border-color: var(--ink); }
.round:disabled { opacity: .35; cursor: default; }
.flip { transform: scaleX(-1); }
.strip { --pad: max(24px, calc((100vw - 1200px) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 16px; overflow-x: auto;
  padding: 0 var(--pad) 6px; scroll-padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip li { scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--soft); }
.strip figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.more--plain { margin-top: 28px; padding-top: 0; border-top: 0; }
@media (max-width: 600px) { .strip { --pad: 16px; grid-auto-columns: 72vw; gap: 12px; } .strip__nav { display: none; } }

/* ---------- Sob medida + engates ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r); color: #fff; text-decoration: none; background: var(--ink); }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.7) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile__in { padding: clamp(24px, 3.5vw, 40px); }
.tile__k { margin: 0 0 8px; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.75); }
.tile__t { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 14em; margin-bottom: 16px; }
.tile__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3.4; } }

/* ---------- Fábrica ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about .h2 { margin-bottom: 18px; max-width: 12em; }
.nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.nums strong { display: block; font: 600 clamp(1.8rem, 3vw, 2.4rem)/1 var(--head); letter-spacing: -.03em; color: var(--ink); }
.nums span { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); max-width: 11em; }
.about__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nums { gap: 12px 24px; } }

/* ---------- Onde comprar ---------- */
.where { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start; }
.where .h2 { margin-bottom: 14px; }
.where__main, .where__list { padding: 28px; background: #fff; border-radius: var(--r); }
.where__main .h3 { margin-bottom: 10px; }
.where__main > p:not(.label) { color: var(--muted); }
.hours { margin: 16px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 500; color: var(--ink); }
.where__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.where__list li:first-child { border-top: 0; padding-top: 4px; }
.where__list p { margin: 3px 0 0; font-size: .88rem; color: var(--muted); }
.where__acts { display: flex; gap: 6px; flex: none; }
.where__acts a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: .2s; }
.where__acts a:hover { background: var(--ink); color: #fff; }
.where__acts svg { width: 19px; height: 19px; }
@media (max-width: 1000px) { .where { grid-template-columns: 1fr 1fr; } .where > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .where { grid-template-columns: 1fr; } }

/* ---------- Dúvidas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font: 500 1.08rem/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.6rem/1 var(--body); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 42em; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Chamada final ---------- */
.cta { padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); background: var(--ink); color: rgba(255,255,255,.72); border-radius: var(--r); text-align: center; }
.cta__t { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18em; margin: 0 auto 14px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.sec:has(.cta) { padding-top: 0; }
.sec--soft + .sec:has(.cta) { padding-top: clamp(64px, 9vw, 112px); }

/* ---------- Páginas internas ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.sec--top .lead { margin-bottom: 36px; }

.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 20px; padding: 0 18px 0 14px; border: 1px solid #d6d6d4; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; text-decoration: none; transition: .2s; }
.back:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.back-float { position: fixed; left: 16px; bottom: 18px; z-index: 90; display: none; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; text-decoration: none; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); }
.back-float.is-on { display: inline-flex; }
.product { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery__main { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.gallery__main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid transparent; border-radius: var(--r-sm); background: var(--soft); cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }
.product__info { position: sticky; top: 96px; }
.gallery__main { position: relative; }
.gallery__tag, .card__tag { position: absolute; left: 12px; top: 12px; z-index: 1; margin: 0; padding: 5px 11px; border-radius: 999px; background: rgba(11,11,12,.78); color: #fff; font-size: .8rem; font-weight: 500; backdrop-filter: blur(6px); }
.card__img { position: relative; }
.card__tag { font-size: .75rem; left: 10px; top: 10px; }
.h1--product { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.product__info .lead { margin-bottom: 22px; }
.block { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.list { display: grid; gap: 9px; }
.list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.list .ico { width: 18px; height: 18px; color: var(--red-ink); }
.list .off { color: var(--muted); }
.list .off .ico { color: var(--muted); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }
.sizes { margin: 0 0 20px; }
.sizes__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size { display: grid; gap: 2px; padding: 12px 10px; text-align: left; border: 1.5px solid #d6d6d4; border-radius: var(--r-sm); background: #fff; color: var(--ink); cursor: pointer; font: inherit; transition: border-color .2s, box-shadow .2s; }
.size strong { font: 600 1rem/1.2 var(--head); letter-spacing: -.01em; }
.size span { font-size: .82rem; color: var(--muted); }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 420px) { .sizes__opts { grid-template-columns: 1fr; } }
.acc { display: grid; gap: 14px; }
.acc__imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.acc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--soft); }
.acc__img img { width: 100%; height: 100%; object-fit: cover; }
.acc__img figcaption { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(11,11,12,.78); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.acc p { margin: 0; color: var(--muted); font-size: .95rem; }
.acc p strong { color: var(--ink); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 28px; padding: 18px 20px; background: var(--soft); border-radius: var(--r-sm); font-size: .9rem; color: var(--text); }
.mini li { display: flex; align-items: center; gap: 8px; }
.mini .ico { width: 18px; height: 18px; color: var(--muted); }
@media (max-width: 1000px) { .product { grid-template-columns: 1fr; } .product__info { position: static; } }
@media (max-width: 560px) { .gallery__thumbs { grid-template-columns: repeat(4, 1fr); } .mini { grid-template-columns: 1fr; } }

/* ---------- Páginas de texto ---------- */
.texto { max-width: 760px; }
.texto .h5 { margin-top: 28px; font-size: 1.15rem; }
.texto p:not(.lead) { color: var(--text); }
.texto a:not(.btn):not(.back) { color: var(--ink); }

/* ---------- Rodapé ---------- */
.footer { padding-top: 64px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer__brand img { width: 150px; margin-bottom: 14px; }
.footer__brand p { max-width: 26em; }
.footer__t { font-size: .92rem; margin-bottom: 12px; letter-spacing: 0; }
.footer nav a, .footer__grid > div > a { display: block; padding: 3px 0; color: var(--text); text-decoration: none; }
.footer nav a:hover, .footer__grid > div > a:hover { color: var(--ink); text-decoration: underline; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: .2s; }
.social a:hover { background: var(--ink); color: #fff; }
.social svg { width: 19px; height: 19px; }
.footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 96px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer__copy a { color: inherit; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Entrada suave ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Melhorias etapa 1 e 2 (referência visual: 21st.dev — código próprio)
   ===================================================================== */
html.travado { overflow: hidden; }

/* ---------- 6. Submenu "Modelos" ---------- */
.mega-wrap { position: relative; }
.mega-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; }
.mega-btn:hover, .mega-btn[aria-current] { color: var(--ink); }
.mega-btn[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.mega-chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-wrap.is-open .mega-chev { transform: rotate(180deg); }
.home .header:not(.is-scrolled) .mega-btn { color: #fff; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 120; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega-wrap.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink) !important; text-decoration: none; }
.mega__item:hover, .mega__item:focus-visible { background: var(--soft); }
.mega__img { flex: none; width: 64px; height: 48px; overflow: hidden; border-radius: 9px; background: var(--soft); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; }
.mega__txt { display: grid; line-height: 1.2; }
.mega__txt strong { font: 600 .98rem var(--head); }
.mega__txt small { font-size: .8rem; color: var(--muted); }
.mega__all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; padding: 12px; border-radius: 12px; background: var(--soft); color: var(--ink) !important; font-weight: 500; text-decoration: none; }
.mega__all:hover { background: var(--ink); color: #fff !important; }
@media (max-width: 900px) {
  .mega-wrap { border-bottom: 1px solid var(--line); }
  .mega-btn { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.1rem; color: var(--text) !important; }
  .mega { position: static; width: auto; transform: none; display: none; grid-template-columns: 1fr; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; }
  .mega::before { display: none; }
  .mega-wrap.is-open .mega { display: grid; transform: none; }
  .mega__img { width: 52px; height: 40px; }
}

/* ---------- 2. Cards: 2ª foto e botão de orçamento ---------- */
.card { position: relative; }
.card__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); }
@media (hover: hover) { .card a:hover .card__img--2 .card__alt { opacity: 1; } }
.card__wa { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 11px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--wa); font-size: .85rem; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4);
  backdrop-filter: blur(6px); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.card__wa svg { position: static; flex: none; width: 18px; height: 18px; margin-right: 2px; }
.card__wa:hover { background: var(--wa); color: #fff; transform: translateY(-1px); }
@media (max-width: 600px) { .card__wa { top: 8px; right: 8px; height: 34px; padding: 0; width: 34px; justify-content: center; } .card__wa span { display: none; } }

/* ---------- 3. Busca ---------- */
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.finder .tabs { margin-bottom: 0; }
.busca { position: relative; flex: 1 1 260px; max-width: 380px; }
.busca .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.busca input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.busca input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,12,.08); }
.contagem { margin: 0 0 22px; font-size: .9rem; color: var(--muted); }
.vazio { padding: 32px; text-align: center; background: var(--soft); border-radius: var(--r); }
.vazio p { color: var(--muted); }
@media (max-width: 600px) { .busca { max-width: none; flex-basis: 100%; } }

/* ---------- 4. Galeria em tela cheia ---------- */
.gallery__main[data-lightbox-open] { cursor: zoom-in; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(11,11,12,.7); color: #fff; font-size: .8rem; font-weight: 500; pointer-events: none; backdrop-filter: blur(6px); }
.zoom-hint .ico { width: 15px; height: 15px; }
.lb-item { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(8,8,9,.94); }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: min(1200px, 92vw); }
.lb__fig img { max-width: 100%; max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lb__fig figcaption { color: rgba(255,255,255,.8); font-size: .95rem; }
.lb__x, .lb__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.25); }
.lb__x { top: 16px; right: 16px; font-size: 1.1rem; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; color: rgba(255,255,255,.7); font-size: .85rem; }
@media (max-width: 600px) { .lb__nav { top: auto; bottom: 10px; transform: none; } .lb__prev { left: 16px; } .lb__next { right: 16px; } }

/* ---------- 7. Orçamento rápido (painel lateral) ---------- */
.drawer { position: fixed; inset: 0; z-index: 250; }
.drawer[hidden] { display: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(8,8,9,.45); opacity: 0; transition: opacity .22s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; padding: 24px; background: #fff; box-shadow: -20px 0 60px -20px rgba(0,0,0,.35);
  transform: translateX(100%); transition: transform .22s var(--ease); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer__x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.drawer__x:hover { background: var(--line); }
.drawer__lead { margin: 8px 0 20px; color: var(--muted); }
.orc { display: grid; gap: 14px; }
.orc__f { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.orc__f[hidden] { display: none; }
.orc__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.orc select, .orc input, .orc textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 400 1rem var(--body); color: var(--ink); }
.orc textarea { resize: vertical; }
.orc select:focus, .orc input:focus, .orc textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,12,.08); }
.orc [aria-invalid="true"] { border-color: var(--red); }
.orc__go { width: 100%; margin-top: 4px; }
@media (max-width: 420px) { .orc__2 { grid-template-columns: 1fr; } }

/* ---------- 1. Barra fixa de orçamento (celular, página do modelo) ---------- */
.buybar { display: none; }
@media (max-width: 900px) {
  .produto .buybar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 95; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px;
    background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 34px -10px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
  .produto .wa-float, .produto .back-float { display: none !important; }
  .produto .footer__copy { padding-bottom: 110px; }
  .buybar__back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--ink); }
  .buybar__txt { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
  .buybar__txt small { font-size: .72rem; color: var(--muted); }
  .buybar__txt strong { font: 600 .95rem var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
  .buybar__cta { flex: none; min-height: 44px; padding: 0 16px; border-radius: 12px; }
}