/* ==========================================================================
   Alluvitex — camada visual "suave"
   Montserrat + DM Sans, cantos arredondados, cards com sombra, sem linhas técnicas.
   Carregado depois de main.css.
   ========================================================================== */

:root {
  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-mono: "DM Sans", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --accent-light: #8E9BFF;
  --card-shadow: 0 1px 2px rgba(9, 11, 38, .04), 0 12px 32px -14px rgba(9, 11, 38, .18);
}

body { font-size: 16.5px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; font-stretch: 100%; }
.h-xl { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.04; letter-spacing: -.015em; font-stretch: 100%; }
.h-lg { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.1; letter-spacing: -.01em; font-stretch: 100%; }
.h-md { font-stretch: 100%; }
.lead { line-height: 1.65; }

.mono { font-family: var(--f-body); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; }

/* Selo em pílula no lugar da linha + texto técnico */
.eyebrow {
  gap: 8px; padding: 7px 14px 7px 12px; border-radius: 100px;
  background: var(--navy-soft); color: var(--navy);
  font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .1em;
}
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: none; }
.on-dark .eyebrow { background: rgba(255, 255, 255, .08); color: #D3D7FF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* Cabeçalhos de seção centralizados */
.section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* Remove elementos "técnicos" (cotas, números verticais, grade) */
.section-num, .frame .cota--v, .footer-big { display: none !important; }
.hero::after, .page-hero::after { display: none; }

/* ---------- Botões ---------- */
.btn { border-radius: 10px; font-family: var(--f-display); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; font-stretch: 100%; }
.header-cta .btn { border-radius: 10px; }
.link-arrow { font-stretch: 100%; }

/* ---------- Header ---------- */
.topbar { font-family: var(--f-body); font-size: 13px; letter-spacing: 0; }
.brand__name { font-stretch: 100%; font-size: 20px; letter-spacing: .04em; }
.brand__tag { font-family: var(--f-body); font-weight: 600; font-size: 10px; letter-spacing: .14em; }
.nav a { font-weight: 600; font-size: 14.5px; font-stretch: 100%; }
.nav a::after { left: 50%; right: auto; width: 18px; margin-left: -9px; height: 3px; border-radius: 3px; bottom: 2px; }
.header-phone small { font-family: var(--f-body); font-weight: 600; letter-spacing: .08em; }
.header-phone strong { font-stretch: 100%; }
.menu-toggle { border-radius: 12px; }

/* ---------- Hero ---------- */
.hero__kicker .dot { display: none; }
.hero h1 .accent-line { color: var(--navy); -webkit-text-stroke: 7px #fff; paint-order: stroke fill; letter-spacing: .05em; }
.hero h1 .red-bar::after { height: .08em; border-radius: 4px; bottom: .02em; }
.hero__proof { border-top: 0; gap: 0; }
.proof { border-right: 0; padding-top: 0; }
.proof__value { font-stretch: 100%; font-size: 26px; }
.proof__label { font-family: var(--f-body); font-weight: 500; font-size: 12.5px; letter-spacing: .02em; text-transform: none; color: #AEB3DD; }
.hero__footer { margin-top: clamp(40px, 6vw, 64px); border-top: 0; background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); padding: 18px 0; }
.trust { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; font-size: 14px; color: #DADDF7; }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { width: 18px; height: 18px; color: var(--accent-light); flex: none; }

/* ---------- Quiz ---------- */
.quiz { border-radius: var(--radius-xl); }
.quiz::before { display: none; }
.quiz__head { padding-top: 26px; }
.quiz__badge, .quiz__count, .quiz__back { font-family: var(--f-body); font-weight: 600; letter-spacing: .04em; }
.quiz__progress { height: 6px; border-radius: 6px; }
.quiz__progress span { border-radius: 6px; background: linear-gradient(90deg, var(--navy), var(--red)); }
.quiz__q { font-stretch: 100%; font-size: 21px; }
.opt__box { border-radius: 14px; }
.opt__ico { border-radius: 10px; }
.swatch__chip { border-radius: 8px; }
.field input, .field select, .field textarea { border-radius: 12px; }
.quiz__foot { border-top: 0; }
.done__summary { border-left: 0; border-radius: 14px; }

/* ---------- Faixa ---------- */
.strip__item { font-stretch: 100%; font-size: 15px; letter-spacing: .06em; }
.strip__item::after { border-radius: 50%; transform: none; width: 7px; height: 7px; }

/* ---------- Bloco "um responsável" ---------- */
.frame { padding: 0; }
.frame::before { display: none; }
.frame__img { border-radius: var(--radius-xl); box-shadow: var(--card-shadow); }
.frame__tag { left: 20px; bottom: 20px; border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(9, 11, 38, .6); }
.frame__tag strong { font-stretch: 100%; }
.frame__tag span { font-family: var(--f-body); font-weight: 600; letter-spacing: .04em; }
.checklist { border-top: 0; gap: 10px; }
.checklist li { border-bottom: 0; background: var(--paper); border-radius: 16px; padding: 16px 18px; grid-template-columns: 40px 1fr; align-items: start; }
.checklist .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 12px; }
.checklist h3 { font-stretch: 100%; font-size: 17px; }

/* ---------- Produtos ---------- */
.product { border-radius: var(--radius-xl); }
.product h3 { font-stretch: 100%; font-size: clamp(20px, 1.7vw, 24px); }
.product__num { font-family: var(--f-display); font-weight: 700; }
.product__tags li { border-radius: 100px; font-family: var(--f-body); font-weight: 600; letter-spacing: .03em; }

/* ---------- Processo ---------- */
.process { gap: 16px; }
.process::before { display: none; }
.step {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px 24px 30px;
  background: linear-gradient(160deg, #1D24A6 0%, #151A8C 55%, #10136B 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .9); }
.step__mark {
  position: absolute; top: 22px; right: 22px; width: auto; height: auto; margin: 0;
  padding: 6px 12px; border: 0; border-radius: 100px;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .04em;
}
.step:hover .step__mark { background: var(--red); }
.step__ico {
  width: 58px; height: 58px; padding: 14px; margin-bottom: 24px;
  border-radius: 16px; color: var(--navy);
  background: #fff;
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6);
}
.step h3 { font-stretch: 100%; font-size: 18px; color: #fff; }
.step p { color: #D3D6F6; }
/* Etapas sem ícone (página Sobre) */
.process--3 .step__mark { position: static; display: inline-block; margin-bottom: 20px; background: var(--red); }

/* ---------- Portfólio ---------- */
.works { gap: 16px; }
.work { border-radius: var(--radius-lg); }
.work__label { background: var(--navy); color: #fff; border-radius: 100px; font-family: var(--f-display); font-weight: 700; font-size: 10px; padding: 6px 12px; }
.work__spec { border-radius: 14px; font-family: var(--f-body); font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 12.5px; }
.works-cta { justify-content: center; flex-direction: column; text-align: center; }
.works-note { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.works-note i { display: none; }
.works-note::before { content: "★★★★★"; color: #F5B301; letter-spacing: 2px; }

/* ---------- Números ---------- */
.numbers { border: 0; gap: 16px; }
.number { background: #fff; border: 1px solid var(--line) !important; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); text-align: center; }
.number strong { font-stretch: 100%; }

/* ---------- Diferenciais ---------- */
.why { border: 0; gap: 16px; }
.why__item { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.why__item:hover { background: #fff; transform: translateY(-4px); }
.why__ico { border: 0; border-radius: 14px; background: var(--navy-soft); }
.why__item h3 { font-stretch: 100%; font-size: 18px; }

/* ---------- Avaliações ---------- */
.reviews-top, .review { border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.g-score__big { font-stretch: 100%; }
.review__who { border-top: 0; padding-top: 10px; }

/* ---------- Área / contato ---------- */
.contact-list { border-top: 0; gap: 4px; }
.contact-list li { border-bottom: 0; padding: 10px 0; }
.contact-list .ci { border-radius: 12px; background: var(--navy-soft); }
.contact-list small { font-family: var(--f-body); font-weight: 600; letter-spacing: .06em; }
.map { border-radius: var(--radius-xl); box-shadow: var(--card-shadow); }
.map__radius { border-radius: 14px; }
.map__radius strong { font-stretch: 100%; }
.map__radius span { font-family: var(--f-body); font-weight: 600; letter-spacing: .04em; }

/* ---------- FAQ ---------- */
.faq { border-top: 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 22px; box-shadow: var(--card-shadow); }
.faq summary { font-stretch: 100%; font-size: 17px; padding: 20px 0; }
.faq summary .pm { border-radius: 50%; }
.faq .answer { padding: 0 0 22px; }

/* ---------- CTA ---------- */
.cta { margin: 0 var(--gutter) clamp(40px, 5vw, 64px); border-radius: 28px; }
.cta__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cta .lead { margin: 0 auto; }
.cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: 0; }

/* ---------- Páginas internas ---------- */
.page-hero { margin: 0 var(--gutter); border-radius: 0 0 28px 28px; }
.crumbs { font-family: var(--f-body); font-weight: 600; letter-spacing: .06em; }
.pline { border-bottom: 0; }
.pline__media img { border-radius: var(--radius-xl); box-shadow: var(--card-shadow); }
.pline__media .mono { border-radius: 100px; top: 16px; left: 16px; padding: 7px 12px; }
.pline ul.specs { border-top: 0; gap: 2px 22px; }
.specs li { border-bottom: 0; padding: 8px 0; }
.specs li::before { width: 18px; height: 18px; border-radius: 50%; transform: none; align-self: center; background: var(--navy-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161B8A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.subnav { border-bottom: 0; box-shadow: 0 10px 24px -20px rgba(9, 11, 38, .5); }
.subnav ul { padding: 10px 0; gap: 8px; }
.subnav a { font-family: var(--f-body); font-weight: 600; letter-spacing: .03em; text-transform: none; font-size: 14px; padding: 9px 16px; border: 0; border-radius: 100px; background: var(--paper); }
.subnav a:hover { background: var(--navy); color: #fff; }
.filter { font-family: var(--f-body); font-weight: 600; letter-spacing: .03em; text-transform: none; font-size: 14px; }
.insta-band { border-left: 0; border-radius: var(--radius-xl); background: var(--navy-soft); }
.value { border-radius: var(--radius-lg); }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: 0; }
.site-footer h4 { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.socials a { border-radius: 12px; }
.footer-bottom { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .numbers { gap: 12px; }
  .process--3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .trust { justify-content: center; }
  .trust li:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .cta, .page-hero { margin-left: 0; margin-right: 0; border-radius: 0; }
  .cta { margin-bottom: 0; }
  .cta__actions .btn { width: 100%; }
  .trust { font-size: 13px; gap: 10px 18px; }
  .works { gap: 8px; }
  .work { border-radius: 14px; }
}

/* ---------- Pop-up do quiz ---------- */
.modal-open, .modal-open body { overflow: hidden; }
.quiz-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.quiz-modal[hidden] { display: none; }
.quiz-modal.is-open { opacity: 1; }
.quiz-modal__backdrop { position: absolute; inset: 0; background: rgba(9, 11, 38, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.quiz-modal__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; border-radius: var(--radius-xl); transform: translateY(18px) scale(.98); transition: transform .35s var(--ease); }
.quiz-modal.is-open .quiz-modal__panel { transform: none; }
.quiz-modal .quiz { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.quiz-modal .quiz__top { padding-right: 46px; }
.quiz-modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); color: var(--text); display: grid; place-items: center; transition: background .2s; }
.quiz-modal__close:hover { background: var(--alu); }
.quiz-modal__close svg { width: 18px; height: 18px; }

/* Botão de chamada para o quiz no fim das seções */
.section-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Página: box para banheiro ---------- */
.hero--box .hero__bg img { object-position: center 35%; }
.offer-badge { position: absolute; left: -14px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; background: var(--red); color: #fff; border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(187, 15, 18, .7); }
.offer-badge strong { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; }
.offer-badge span { font-weight: 600; font-size: 13.5px; line-height: 1.3; max-width: 12ch; }
.frame { position: relative; }
.offer-note { font-size: 13.5px; color: var(--muted); margin: 18px 0 22px; padding-left: 14px; border-left: 3px solid var(--alu, #D9DCE1); }
.finishes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 34px; }
.finishes__label { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.finishes ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.finishes li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; background: #fff; border-radius: 100px; box-shadow: var(--card-shadow); font-weight: 600; font-size: 14.5px; }
.finishes .swatch__chip { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(9, 11, 38, .12); flex: none; }
.box-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bx { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--card-shadow); }
.bx img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bx:hover img { transform: scale(1.05); }
.bx figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 100px; background: rgba(9, 11, 38, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.bx.is-hidden { display: none; }
#galeria .filters { justify-content: center; }
.process--4 { grid-template-columns: repeat(4, 1fr); }
.swatches--2 { grid-template-columns: repeat(2, 1fr); }
.opt__num { font-family: var(--f-display); font-weight: 800; font-size: 15px; }
@media (max-width: 1024px) {
  .box-gallery { grid-template-columns: repeat(3, 1fr); }
  .process--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .box-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bx { border-radius: 14px; }
  .process--4 { grid-template-columns: 1fr; }
  .offer-badge { left: 12px; bottom: 12px; }
  .offer-badge strong { font-size: 28px; }
}
.nav a { white-space: nowrap; }

/* Páginas de cidades */
.hero--city h1 .accent-line { font-size: .74em; margin-top: .12em; }
.cities--links a { display: block; }
.cities--links li { padding: 0; }
.cities--links a { padding: 9px 14px; }
.cities--links li:not(.is-main) a:hover { color: var(--red); }
.site-footer li a + a, .site-footer li > a { white-space: nowrap; }

/* Mapa do site no rodapé */
.footer-sitemap { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 40px; padding: 40px 0 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-sitemap li { margin-bottom: 8px; font-size: 14px; }
.site-footer .footer-sitemap li > a { white-space: normal; }
@media (max-width: 900px) { .footer-sitemap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-sitemap { grid-template-columns: 1fr; gap: 28px; } }
/* Menu mobile: o desfoque do cabeçalho prendia o menu fixo dentro dele */
@media (max-width: 900px) {
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-open .nav { height: calc(100vh - 68px); height: calc(100dvh - 68px); }
  .menu-open .nav .btn { display: flex; padding: 18px 24px; border-bottom: 0; color: #fff; font-size: 14px; font-stretch: 100%; justify-content: center; }
}
.header-phone strong, .header-phone small, .brand__tag { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1480px) {
  .nav ul { gap: 0; }
  .nav a { padding-left: 10px; padding-right: 10px; font-size: 14px; }
}

@media (max-width: 640px) {
  .quiz-modal { padding: 10px; place-items: end center; }
  .quiz-modal__panel { max-height: calc(100vh - 20px); }
  .section-cta .btn { width: 100%; }
}
