/* ==========================================================================
   Serras Banheiras — site institucional
   Linha premium: Jost (sem serifa) em títulos e textos, tinta, marfim e bronze.
   O azul-petróleo da marca fica no logo; o verde do WhatsApp só no botão flutuante.
   ========================================================================== */

:root {
    --teal: #13708b;
    --teal-dark: #0c4f62;
    --ink: #141b1d;
    --text: #3b4244;
    --muted: #7b7f7f;
    --line: #e4ddd2;
    --soft: #efe9e0;
    --sand: #f7f3ed;
    --white: #fbf9f5;
    --gold: #a2805a;
    --gold-light: #cfb48f;
    --stage: #1e2a2d;
    --wa: #1faa53;
    --wa-dark: #178a43;
    --radius: 4px;
    --container: 1200px;
    --font: "Jost", "Helvetica Neue", Arial, sans-serif;
    --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon.flip { transform: scaleX(-1); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 22px; border: 1px solid transparent; border-radius: 8px;
    font-family: var(--font-head); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding-inline: 28px; font-size: 15px; }
.btn-block { width: 100%; white-space: normal; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--muted); text-decoration: underline; font-size: 13px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); text-decoration: none; font-size: 14px; }
.link-more:hover { text-decoration: underline; }

/* ---------- Topo ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: block; width: 104px; flex: none; color: var(--teal); }
.brand svg { display: block; width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav a {
    display: block; padding: 8px 10px; font-family: var(--font-head); font-size: 14px; font-weight: 500;
    color: var(--text); text-decoration: none; border-radius: 6px; transition: color .15s, background-color .15s;
}
/* Hover só muda cor/fundo: o tamanho do texto não muda, então nada "pula". */
.nav a:hover { color: var(--teal); background: var(--soft); }
.nav a[aria-current] { color: var(--teal); }
.btn-header { min-height: 40px; padding: 8px 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close, .is-open .nav-toggle .icon-open { display: none; }
.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 920px) {
    .header-row { height: 64px; gap: 12px; }
    .brand { width: 88px; }
    .btn-header { margin-left: auto; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
        gap: 12px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line);
    }
    .is-open .nav { display: flex; }
    .nav ul { flex-direction: column; }
    .nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 480px) {
    .btn-header span { display: none; }
    .btn-header { width: 44px; padding: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--sand); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px 0; }
.hero-title { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.02em; margin-bottom: 16px; }
.hero-text { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof { display: flex; align-items: center; gap: 14px; max-width: 480px; margin-top: 32px; font-size: 14px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.hero-proof > span > a { color: var(--ink); text-underline-offset: 3px; }
.hero-proof > span > a:hover { color: var(--teal); }
.hero-proof-photos { display: flex; flex: none; }
.hero-proof-photos a { position: relative; display: block; border-radius: 50%; transition: transform .15s; }
.hero-proof-photos a + a { margin-left: -12px; }
.hero-proof-photos a:hover { transform: translateY(-3px); z-index: 1; }
.hero-proof-photos img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sand); }
.hero-media { position: relative; display: block; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-media:hover img { transform: scale(1.03); }
.hero-media-label {
    position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px;
    background: rgba(255, 255, 255, .94); font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.hero-media-label .icon { width: 14px; height: 14px; }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 40px; }
    .hero-media { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 16px 0 48px; }
.section-alt { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-title { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.01em; margin: 0; }
.section-title-left { margin-bottom: 16px; font-size: 22px; }
.section-title a { text-decoration: none; }

/* Filtros por linha */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
    flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--text); transition: all .15s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Grade e cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.grid-item { display: contents; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
    .grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
    .grid .card-body { gap: 0; padding-top: 10px; }
    .grid .card-cat { font-size: 11px; }
    .grid .card-title { font-size: 15px; }
    .grid .card-specs { font-size: 12px; margin-top: 2px; }
    .grid .card-cta { display: none; } /* o card inteiro já é clicável */
}

.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .35s ease; }
.card-media-photo img { object-fit: cover; padding: 0; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badge {
    position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 4px;
    background: #fff; font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .02em;
}
[data-active="destaque"] .card-badge { display: none; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px 0; }
.card-cat { font-size: 12px; color: var(--muted); }
.card-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.card-specs { font-size: 13px; color: var(--muted); }
.card-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--teal); }
.card-cta .icon { width: 14px; height: 14px; transition: transform .15s; }
.card:hover .card-cta .icon { transform: translateX(3px); }

/* Diferenciais */
.benefits-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits-row > div { display: flex; align-items: center; gap: 12px; padding: 22px 16px; font-size: 13px; color: var(--muted); }
.benefits-row > div + div { border-left: 1px solid var(--line); }
.benefits-row strong { display: block; font-family: var(--font-head); font-size: 14px; color: var(--ink); }
.benefits-row .icon { width: 28px; height: 28px; color: var(--teal); }
@media (max-width: 860px) {
    .benefits-row { grid-template-columns: 1fr 1fr; }
    .benefits-row > div:nth-child(3) { border-left: 0; }
    .benefits-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .benefits-row > div { padding: 16px 8px; flex-direction: column; align-items: flex-start; } }

/* Quiz */
.section-quiz { background: var(--sand); }
.quiz-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.quiz-wrap > * { min-width: 0; }
.quiz-intro p { color: var(--muted); max-width: 420px; margin-top: 12px; }
.quiz { background: #fff; border-radius: 14px; padding: 24px; border: 1px solid var(--line); }
.quiz-progress { height: 4px; border-radius: 4px; background: var(--soft); margin-bottom: 18px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 33%; background: var(--teal); transition: width .3s; }
.quiz-step { border: 0; margin: 0; padding: 0; }
.quiz-step legend { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding: 0; }
.quiz-step legend small { display: block; font-family: var(--font); font-size: 12px; font-weight: 400; color: var(--muted); }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz-option input { position: absolute; opacity: 0; }
.quiz-option span { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px; transition: border-color .15s; }
.quiz-option:hover span { border-color: var(--ink); }
.quiz-option input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.quiz-option input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.quiz-step .btn { margin-top: 14px; }
.quiz-result-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.quiz-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.quiz-pick { text-decoration: none; }
.quiz-pick img { aspect-ratio: 1; width: 100%; border-radius: 8px; background: var(--soft); object-fit: contain; padding: 8%; }
.quiz-pick img.is-photo { object-fit: cover; padding: 0; }
.quiz-pick span { display: block; padding-top: 6px; font-size: 13px; font-weight: 600; }
.quiz-result .link-btn { display: block; margin: 8px auto 0; }
@media (max-width: 860px) { .quiz-wrap { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 480px) { .quiz-options { grid-template-columns: 1fr; } }

/* Chips (medidas e adicionais) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check, .chip-radio { position: relative; display: inline-flex; }
.chip-check input, .chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip-check span, .chip-radio span {
    padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: #fff; transition: border-color .15s;
}
.chip-check:hover span, .chip-radio:hover span { border-color: var(--ink); }
.chip-check input:checked + span, .chip-radio input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip-check input:focus-visible + span, .chip-radio input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Ambientes reais */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo { display: block; padding: 0; border: 0; background: none; text-decoration: none; text-align: left; }
button.photo { cursor: zoom-in; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-body { display: flex; flex-direction: column; padding-top: 8px; font-size: 13px; }
.photo-body strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.photo-body span { color: var(--muted); }
@media (max-width: 900px) { .photos { grid-template-columns: repeat(2, 1fr); } }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial { margin: 0; padding: 24px; background: #fff; border-radius: var(--radius); }
.testimonial blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--text); }
.testimonial figcaption { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); }
@media (max-width: 760px) { .testimonials { grid-template-columns: 1fr; } }

/* Faixa final */
.cta-band { background: var(--teal); color: #fff; }
.cta-band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 0; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .85; }

/* ---------- Páginas internas ---------- */
.breadcrumb { padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.page-head { padding: 12px 0 4px; }
.page-title { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; margin-bottom: 6px; }
.page-lead { color: var(--muted); max-width: 720px; margin: 0; }
.result-count { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.empty-state { padding: 16px; background: var(--soft); border-radius: var(--radius); }

.category-tabs { margin-top: 20px; }
.category-tabs-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.category-tabs-row::-webkit-scrollbar { display: none; }
.tab {
    flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head);
    font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .15s;
}
.tab span { color: var(--muted); font-size: 12px; margin-left: 2px; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab.is-active span { color: rgba(255, 255, 255, .7); }

/* ---------- Produto ---------- */
.pdp > * { min-width: 0; }
.pdp { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; padding: 20px 0 48px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: 14px; overflow: hidden; }
.gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-foto img { object-fit: contain; padding: 8%; }
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumb { flex: none; width: 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--soft); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--ink); }
.gallery-note { font-size: 11px; color: var(--muted); margin: 6px 0 0; }

.pdp-title { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; margin-bottom: 10px; }
.pdp-facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.pdp-facts li { display: inline-flex; align-items: center; gap: 6px; }
.pdp-facts .icon { color: var(--teal); }
.pdp-price { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pdp-price strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.pdp-price span { font-size: 14px; color: var(--muted); }
.pdp-form { display: grid; gap: 18px; max-width: 540px; }
.pdp-field { border: 0; margin: 0; padding: 0; }
.pdp-field legend { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.pdp-field legend small { font-family: var(--font); font-size: 12px; font-weight: 400; color: var(--muted); }
.benefits { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.benefits li { display: flex; align-items: center; gap: 8px; }
.benefits .icon { color: var(--teal); }
@media (max-width: 860px) {
    .pdp { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; }
    /* No celular o botão precisa aparecer sem rolar muito: galeria mais baixa e sem miniaturas. */
    .gallery-main { aspect-ratio: 4 / 3; }
    .gallery-thumbs, .gallery-note { display: none; }
    .pdp-facts { margin-bottom: 12px; }
    .pdp-price { padding: 12px 0; margin-bottom: 14px; }
}

.pdp-tabs-wrap { border-top: 1px solid var(--line); padding: 8px 0 48px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button {
    padding: 14px 16px; border: 0; background: none; font-family: var(--font-head); font-size: 15px; font-weight: 500;
    color: var(--muted); box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tab-panel { max-width: 860px; }
.prose h2 { font-size: 17px; margin-top: 1.6em; }
.prose p { font-size: 16px; line-height: 1.75; }
.spec-table { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { font-weight: 400; color: var(--muted); width: 55%; }
.spec-table td { font-weight: 600; color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan { padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: zoom-in; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: background-color .15s, transform .15s;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.05); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding-top: 48px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 15px; color: #fff; margin: 0 0 12px; }
.site-footer h2:not(:first-child) { margin-top: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer strong { color: #fff; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.social { display: inline-flex; align-items: center; gap: 6px; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ==========================================================================
   Camada premium
   ========================================================================== */
body { background: var(--white); font-weight: 400; letter-spacing: .005em; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0; line-height: 1.08; }

/* Botões: retos, caixa-alta espaçada, tinta com bronze no hover */
.btn {
    border-radius: 2px; min-height: 50px; padding: 12px 28px;
    font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.btn-lg { min-height: 56px; font-size: 13px; }
.btn-dark, .btn-wa { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover, .btn-wa:hover { background: var(--gold); border-color: var(--gold); }
.btn .icon { width: 17px; height: 17px; }
.link-more { font-family: var(--font); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* Topo */
.site-header { background: rgba(251, 249, 245, .96); border-bottom-color: var(--line); }
.header-row { height: 84px; }
.brand { width: 112px; }
.nav a { font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 8px 12px; }
.nav a:hover { background: none; color: var(--gold); }
.nav a[aria-current] { color: var(--gold); }
.btn-header { min-height: 42px; padding: 8px 18px; font-size: 11px; }
@media (max-width: 920px) {
    .header-row { height: 68px; }
    .nav { background: var(--white); }
    .nav a { font-size: 13px; padding: 14px 4px; }
}

/* Hero escuro */
.hero { background: var(--ink); color: var(--white); }
.hero-grid { padding: 88px 0; gap: 72px; grid-template-columns: 1fr 1.15fr; }
.hero-title { color: var(--white); font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 22px; }
.hero-text { color: rgba(251, 249, 245, .72); font-size: 18px; font-weight: 300; }
.hero-actions { gap: 12px; }
.hero .btn-dark { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero .btn-dark:hover { background: var(--gold-light); border-color: var(--gold-light); }
.hero .btn-wa { background: transparent; color: var(--white); border-color: rgba(251, 249, 245, .45); }
.hero .btn-wa:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-proof { color: rgba(251, 249, 245, .65); margin-top: 44px; }
.hero-proof-photos img { border-color: var(--ink); }
.hero-media { border-radius: 2px; aspect-ratio: 4 / 5; max-height: min(640px, calc(100vh - 160px)); width: 100%; }
.hero-media-label { border-radius: 2px; font-family: var(--font); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 860px) {
    .hero-grid { padding: 28px 0 48px; gap: 32px; }
    .hero-media { aspect-ratio: 4 / 3; }
}

/* Seções */
.section { padding: 88px 0; }
.section-head { margin-bottom: 32px; }
.section-title { font-size: clamp(32px, 3.6vw, 48px); }
.section-alt { background: var(--sand); }
@media (max-width: 680px) { .section { padding: 56px 0; } }

/* Filtros */
.filters button, .tab {
    border-radius: 0; border: 0; border-bottom: 1px solid transparent; background: none; padding: 8px 2px; margin-right: 20px;
    font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.filters { gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.filters button:hover, .tab:hover { border-color: transparent; color: var(--ink); }
.filters button[aria-selected="true"], .tab.is-active { background: none; color: var(--ink); border-bottom: 1px solid var(--ink); }
.tab span, .tab.is-active span { color: var(--gold); }
.category-tabs-row { gap: 0; border-bottom: 1px solid var(--line); }

/* Cards */
.grid { gap: 48px 28px; }
.card-media { border-radius: 2px; background: var(--soft); }
.card-media img { padding: 12%; }
.card-media-photo img { padding: 0; }
.card:hover .card-media img { transform: scale(1.03); }
.card-badge { border-radius: 0; background: var(--ink); color: var(--white); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }
.card-body { padding-top: 16px; gap: 4px; }
.card-cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card-title { font-size: 26px; font-weight: 500; line-height: 1.1; }
.card-specs { font-size: 13px; }
.card-cta { margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 680px) {
    .grid { gap: 36px 14px; }
    .grid .card-title { font-size: 20px; }
    .grid .card-cat { font-size: 10px; }
}

/* Diferenciais */
.benefits-strip { background: var(--white); }
.benefits-row > div { padding: 32px 20px; }
.benefits-row strong { font-family: var(--font-head); font-size: 20px; font-weight: 500; }
.benefits-row .icon { color: var(--gold); width: 26px; height: 26px; }

/* Quiz */
.section-quiz { background: var(--sand); }
.quiz { border-radius: 2px; padding: 32px; background: var(--white); }
.quiz-step legend, .quiz-result-title { font-size: 26px; font-weight: 500; }
.quiz-option span { border-radius: 2px; padding: 14px 16px; }
.quiz-progress span { background: var(--gold); }
.quiz-pick img { border-radius: 2px; }
.quiz-pick span { font-family: var(--font-head); font-size: 17px; font-weight: 500; }

/* Ambientes, depoimentos, faixa final */
.photo img { border-radius: 2px; }
.photo-body strong { font-size: 20px; font-weight: 500; }
.testimonial { border-radius: 2px; padding: 36px 32px; background: var(--white); }
.testimonial blockquote { font-family: var(--font-head); font-size: 22px; line-height: 1.4; color: var(--ink); }
.testimonial figcaption { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cta-band { background: var(--ink); }
.cta-band-row { padding: 64px 0; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; }
.cta-band p { color: rgba(251, 249, 245, .7); opacity: 1; }
.cta-band .btn-wa { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-band .btn-wa:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Produto */
.breadcrumb { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.gallery-main { border-radius: 2px; }
.gallery-thumb { border-radius: 2px; }
.gallery-thumb.is-active { border-color: var(--gold); }
.pdp-title { font-size: clamp(36px, 3.8vw, 52px); }
.pdp-price strong { font-size: 30px; font-weight: 500; }
.pdp-field legend { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.chip-radio span, .chip-check span { border-radius: 2px; padding: 9px 14px; }
.benefits .icon, .pdp-facts .icon { color: var(--gold); }
.tabs button { font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.prose h2 { font-family: var(--font-head); font-size: 26px; font-weight: 500; }
.prose p { font-weight: 300; font-size: 17px; }
.page-title { font-size: clamp(38px, 4vw, 56px); }
@media (max-width: 860px) {
    .pdp-title { font-size: 32px; }
    .pdp-price strong { font-size: 24px; }
}

/* Rodapé */
.site-footer { background: #0e1416; }
.site-footer h2 { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }

/* Abas do produto sempre em uma linha (rolam de lado se faltar espaço) */
.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; white-space: nowrap; }
@media (max-width: 480px) { .tabs button { padding: 14px 12px; letter-spacing: .1em; } }

/* Espaçamentos mais contidos entre blocos */
.pdp-tabs-wrap { padding-bottom: 24px; }
.section-related { padding: 40px 0 72px; }
@media (max-width: 680px) {
    .section { padding: 44px 0; }
    .section-related { padding: 24px 0 48px; }
    .pdp-tabs-wrap { padding-bottom: 8px; }
    .prose p:last-child { margin-bottom: 0; }
    .btn-block { letter-spacing: .08em; padding-inline: 16px; }
}

/* Palco escuro para os produtos: o acrílico branco ganha contraste e destaque */
.card-media, .gallery-main, .gallery-thumb, .quiz-pick img { background: var(--stage); }
.card-media img, .gallery-foto img, .quiz-pick img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.card-media-photo img, .quiz-pick img.is-photo { filter: none; }
.card-badge { background: var(--gold); }
.gallery-arrow { background: rgba(251, 249, 245, .92); }

/* Títulos sem serifa: peso leve, tracking fechado */
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.hero-title { font-size: clamp(38px, 4.8vw, 64px); font-weight: 300; }
.section-title { font-size: clamp(28px, 3vw, 40px); font-weight: 300; }
.page-title { font-size: clamp(32px, 3.4vw, 46px); font-weight: 300; }
.pdp-title { font-size: clamp(30px, 3.2vw, 42px); font-weight: 300; }
.pdp-price strong { font-size: 24px; font-weight: 400; }
.card-title { font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.benefits-row strong { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.quiz-step legend, .quiz-result-title { font-size: 21px; font-weight: 400; }
.quiz-pick span { font-size: 14px; font-weight: 500; }
.photo-body strong { font-size: 16px; font-weight: 500; }
.testimonial blockquote { font-size: 17px; font-weight: 300; line-height: 1.6; }
.prose h2 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; }
@media (max-width: 860px) {
    .pdp-title { font-size: 28px; }
    .pdp-price strong { font-size: 21px; }
}
@media (max-width: 680px) { .grid .card-title { font-size: 16px; } }

/* Hero mais baixo: foto horizontal e menos respiro vertical */
.hero-grid { padding: 56px 0; gap: 56px; }
.hero-media { aspect-ratio: 4 / 3; max-height: 520px; }
.hero-proof { margin-top: 32px; }
@media (max-width: 860px) { .hero-grid { padding: 24px 0 40px; gap: 28px; } }

/* Hero no celular: uma coluna, foto em cima ocupando a largura toda */
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; aspect-ratio: 4 / 3; max-height: none; }
    .hero-actions .btn { width: 100%; }
}

/* WhatsApp flutuante: centralização robusta, sem zoom preso no toque, respeita a área segura do iPhone */
.wa-float {
    display: flex; align-items: center; justify-content: center;
    right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px; height: 56px; padding: 0; line-height: 0;
    border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    -webkit-tap-highlight-color: transparent; transform: none;
}
.wa-float:hover { transform: none; }
.wa-float .icon { display: block; width: 28px; height: 28px; }
@media (hover: hover) { .wa-float:hover { transform: scale(1.06); } }

/* No celular o atendimento fica só no botão flutuante */
@media (max-width: 920px) {
    .btn-header { display: none; }
    .nav-toggle { margin-left: auto; }
}

/* Botão flutuante só no celular; no computador o atendimento fica no botão do topo */
@media (min-width: 921px) { .wa-float { display: none; } }

/* Produtos sobre fundo branco (as fotos oficiais em alta já vêm com fundo branco sólido).
   O card branco com borda fina se destaca do marfim da página. */
.card-media, .gallery-main, .gallery-thumb, .quiz-pick img { background: #fff; }
.card-media { border: 1px solid var(--line); }
.gallery-main { border: 1px solid var(--line); }
.card-media img, .gallery-foto img, .quiz-pick img { filter: none; padding: 6%; }
.card-media-photo img { padding: 0; }
.card:hover .card-media { border-color: var(--gold-light); }
.gallery-arrow { background: var(--ink); color: var(--white); }

/* Texto da linha abaixo da grade (SEO) */
.category-about { max-width: 760px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.category-about h2 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.category-about p { color: var(--muted); font-weight: 300; font-size: 16px; line-height: 1.7; margin: 0; }

/* Faixa final clara, para contrastar com o rodapé escuro */
.cta-band { background: var(--soft); color: var(--ink); border-top: 1px solid var(--line); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); }
.cta-band .btn-wa { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta-band .btn-wa:hover { background: var(--gold); border-color: var(--gold); }

/* Rodapé: contato em rótulo + valor, sem quebra no meio da linha */
.footer-grid { grid-template-columns: 1.1fr 1.3fr .9fr; }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0 0 8px; }
.footer-contact div { min-width: 0; }
.footer-contact dt { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 249, 245, .5); margin-bottom: 2px; }
.footer-contact dd { margin: 0; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .footer-contact { grid-template-columns: 1fr; } }

.footer-contact .footer-contact-wide { grid-column: 1 / -1; order: 5; }
.footer-contact dd { text-overflow: clip; }

/* ---------- Galeria da página do produto no celular: carrossel com rolagem lateral ---------- */
@media (max-width: 860px) {
    .gallery-main {
        display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
        scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .gallery-main::-webkit-scrollbar { display: none; }
    .gallery-main .gallery-slide {
        display: block; position: relative; inset: auto; flex: 0 0 100%; height: 100%;
        scroll-snap-align: center; scroll-snap-stop: always;
    }
    .gallery-main .gallery-arrow { display: none; }
}

/* Celular: sem zoom no toque duplo (o zoom de pinça continua) e campos com 16px para o iOS não ampliar ao focar. */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, input, select, textarea, label, summary, [role="tab"] { touch-action: manipulation; }
@media (max-width: 860px) {
    input, select, textarea { font-size: 16px; }
}

/* ---------- Espaçamentos (escala única, mais compacta; sobrepõe as camadas anteriores) ---------- */
.section { padding: 56px 0; }
.section-head { margin-bottom: 20px; }
.section-title { font-size: clamp(26px, 2.6vw, 36px); }
.filters { margin-bottom: 24px; }
.grid { gap: 32px 24px; }
.card-body { padding-top: 12px; }
.cta-band-row { padding: 44px 0; }
.section-related { padding: 32px 0 48px; }
.pdp { padding: 16px 0 36px; }
.pdp-tabs-wrap { padding-bottom: 16px; }
.category-about { margin-top: 40px; padding-top: 24px; }
.site-footer { padding-top: 40px; }
.footer-bottom { margin-top: 28px; }
.hero-grid { padding: 48px 0; gap: 48px; }
@media (max-width: 860px) {
    .section { padding: 36px 0; }
    .hero-grid { padding: 20px 0 32px; gap: 24px; }
    .cta-band-row { padding: 32px 0; }
    .section-related { padding: 20px 0 36px; }
    .category-about { margin-top: 32px; }
}
@media (max-width: 560px) {
    .section { padding: 32px 0; }
    .section-head { margin-bottom: 16px; }
    .section-title { font-size: 26px; }
    .filters { margin-bottom: 20px; }
    .grid { gap: 24px 14px; }
    .site-footer { padding-top: 32px; }
    .footer-bottom { margin-top: 20px; }
}
