/* Silvas Refrigerações (base linha-do-tempo). Trocar a identidade só aqui no :root */
:root {
  /* Cores da logo: marinho + azul-gelo (azul no botão, ciano nos detalhes sobre o escuro). Nomes do modelo mantidos */
  --graphite: #0f1a2b;
  --graphite-2: #172539;
  --graphite-3: #0a1220;
  --on-dark: #eef5fa;
  --on-dark-soft: #a9b8c6;
  --dark-line: rgba(255, 255, 255, .13);
  --paper: #eef3f7;
  --surface: #fafcfd;
  --stone: #dce6ee;
  --ink: #0f1a2b;
  --muted: #53606d;
  --line: #cdd9e3;
  --walnut: #1676b8;
  --walnut-deep: #0f5f96;
  --oak: #5cc3ea;
  --oak-soft: rgba(92, 195, 234, .22);

  /* Fontes (Fontshare, link no <head>) */
  --display: "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font: "General Sans", ui-sans-serif, system-ui, sans-serif;

  /* Forma e ritmo */
  --radius: 18px;
  --radius-sm: 10px;
  --max: 76rem;
  --gutter: 1rem;
  --header-h: 4.75rem;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Nomes usados pelo pop-up de pedido (vindo do orcamento-simples) */
  --blue: var(--walnut);
  --blue-hover: var(--walnut-deep);
  --cold: var(--oak);
  --text: var(--ink);
  --line-dark: var(--dark-line);
  --ok: #1f9d55;
  --ok-hover: #188747;

  /* Botões (bloco aprovado de tools/lib/botoes.css) */
  --btn-bg: var(--walnut);
  --btn-bg-hover: var(--walnut-deep);
  --btn-ink: var(--graphite);
  --btn-light-hover: #e2f2fa;
  --btn-ease: var(--ease);
}
@media (min-width: 30em) { :root { --gutter: clamp(1.25rem, 4vw, 2.5rem); } }

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--walnut); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

/* Régua: motivo da página (eyebrow, foto do hero e trilha) */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: var(--walnut); font-weight: 600; font-size: .92rem; }
.eyebrow::before {
  content: ""; width: 1.9rem; height: .6rem; flex: none;
  background: repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 6px) bottom / 100% 55% no-repeat,
              linear-gradient(currentColor, currentColor) left bottom / 1.5px 100% no-repeat;
  opacity: .8;
}
h2 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 3.1rem); }
.hl { color: var(--walnut); }
.section-lead { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.12rem); }
.section-head { max-width: 44rem; margin: 0 auto clamp(2.75rem, 5vw, 4.5rem); text-align: center; }
.section-head .section-lead { max-width: 36rem; margin-inline: auto; }

/* Seções escuras */
.hero, .gallery-section, .cta-section, .site-footer { background: var(--graphite); color: var(--on-dark); }
:is(.hero, .gallery-section, .cta-section) :is(.eyebrow, .hl) { color: var(--oak); }
:is(.hero, .gallery-section, .cta-section) .section-lead { color: var(--on-dark-soft); }

/* Botões aprovados (regras 4b e 10). Origem: tools/lib/botoes.css ---------- */

.button {
  --pad-x: 1.6rem; --pad-icon: .45rem; --icon: 2.1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 3.1rem; padding: .85rem var(--pad-x); border: 0; border-radius: 999px;
  background: var(--btn-bg); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .5s var(--btn-ease), background-color .3s, box-shadow .5s var(--btn-ease);
}
.button:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
/* Ícone de botão sempre dentro de um círculo, encostado na borda */
.button > .icon {
  flex: none; width: var(--icon); height: var(--icon); padding: calc(var(--icon) * .24); border-radius: 50%;
  background: rgba(255, 255, 255, .2); fill: currentColor; transition: transform .5s var(--btn-ease), background-color .3s;
}
/* Encosta pelo padding do botão, não por margem negativa: com margem o Chrome calcula a largura curta e o texto entra embaixo do círculo.
   O texto fica com a folga cheia (--pad-x) e o círculo a --pad-icon da borda. button-lead = ícone antes do texto (WhatsApp) */
.button:has(> .icon) { padding: var(--pad-icon) var(--pad-icon) var(--pad-icon) var(--pad-x); }
.button.button-lead { padding: var(--pad-icon) var(--pad-x) var(--pad-icon) var(--pad-icon); }
.button:not(.button-lead):hover > .icon { transform: translateX(3px); }
.button-sm { --pad-x: 1.15rem; --pad-icon: .4rem; --icon: 1.75rem; min-height: 2.6rem; padding-block: .55rem; font-size: .94rem; }
.button-lg { --pad-x: clamp(1.6rem, 1.4rem + .6vw, 1.95rem); --pad-icon: .5rem; --icon: 2.45rem; min-height: 3.6rem; padding-block: 1rem; font-size: clamp(1rem, .96rem + .15vw, 1.06rem); }
/* Largura total: texto no centro e círculo encostado na borda. O pseudo do outro lado faz o contrapeso
   do círculo e encolhe quando falta espaço (320px), então o rótulo nunca aperta */
.button.button-block { width: 100%; justify-content: space-between; gap: 0; padding-inline: var(--pad-icon); }
.button-block > .icon { margin-left: .8rem; }
.button-block.button-lead > .icon { margin: 0 .8rem 0 0; }
.button-block:not(.button-lead)::before, .button-block.button-lead::after { content: ""; flex: 0 1 calc(var(--icon) + .8rem); min-width: .7rem; }
.button-light { background: #fff; color: var(--btn-ink); }
.button-light:hover { background: var(--btn-light-hover); }
.button-light > .icon { background: var(--btn-bg); color: #fff; }

/* Mobile (regra 12): botão principal de cada seção vira largura total; no tablet, limitado e centralizado */
@media (max-width: 48em) {
  .button.button-fluid { display: flex; width: min(100%, 26rem); margin-inline: auto; justify-content: space-between; gap: 0; padding-inline: var(--pad-icon); }
  .button-fluid > .icon { margin-left: .8rem; }
  .button-fluid::before { content: ""; flex: 0 1 calc(var(--icon) + .8rem); min-width: .7rem; }
  /* button-lead: círculo à esquerda, contrapeso à direita */
  .button-fluid.button-lead > .icon { margin: 0 .8rem 0 0; }
  .button-fluid.button-lead::before { content: none; }
  .button-fluid.button-lead::after { content: ""; flex: 0 1 calc(var(--icon) + .8rem); min-width: .7rem; }
}

/* Cabeçalho --------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--graphite) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--dark-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; color: var(--on-dark); text-decoration: none; }
.brand-logo { width: 1.45rem; height: 2.5rem; flex: none; fill: var(--oak); }
.brand-logo .brand-ticks { fill: none; stroke: var(--graphite); stroke-width: 1.8; stroke-linecap: round; }
.brand-logo .brand-moon { fill: var(--graphite); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; }
.brand-name b { font-weight: 700; color: var(--oak); }
@media (max-width: 24em) {
  .brand-logo { width: 1.3rem; height: 2.25rem; }
  .brand-name { font-size: 1.08rem; }
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--on-dark-soft); font-weight: 500; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: color .25s; }
.nav-links a:hover { color: #fff; }

.menu-toggle {
  display: none; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0;
  border: 1px solid var(--dark-line); border-radius: 999px; background: transparent; color: #fff; cursor: pointer;
}
.menu-toggle .icon { width: 1.3rem; height: 1.3rem; }
.menu-toggle .icon-close, .site-header.is-open .icon-open { display: none; }
.site-header.is-open .icon-close { display: block; }

@media (max-width: 60em) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1rem var(--gutter) 1.5rem; background: var(--graphite); border-bottom: 1px solid var(--dark-line);
  }
  .site-header.is-open .nav { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--dark-line); font-size: 1.05rem; }
  .nav .button { width: 100%; }
}

/* 1. Hero ---------------------------------------------------------------- */

/* Fundo: brilho azul-gelo atrás das fotos e textura leve de ruído (SVG inline), pra não ficar marinho chapado */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 7vh, 5rem) 0 clamp(3rem, 8vh, 5.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42rem 32rem at 74% 48%, rgba(92, 195, 234, .2), transparent 65%),
    radial-gradient(30rem 24rem at 8% 100%, rgba(22, 118, 184, .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; justify-items: start; }
.hero-title { font-size: clamp(1.75rem, .85rem + 3vw, 3.55rem); line-height: 1.04; letter-spacing: -.025em; }
.hero-lead { max-width: 30rem; margin-top: 1.4rem; color: var(--on-dark-soft); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); }
.hero-copy .button { margin-top: 2.1rem; }
.hero-area { display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.6rem; color: var(--on-dark-soft); font-size: .92rem; }
.hero-area .icon { margin-top: .1rem; color: var(--oak); }

/* Fotos: o técnico em destaque, a geladeira em cima à direita e o conserto embaixo, sobrepostos */
.hero-visual { position: relative; width: 100%; max-width: 38rem; justify-self: end; aspect-ratio: 1 / 1.02; }
.hero-photo { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-photo-main { left: 12%; top: 3%; width: 58%; aspect-ratio: 4 / 5; object-position: 50% 0; z-index: 1; }
.hero-photo-top { right: 0; top: 11%; width: 33%; aspect-ratio: 4 / 5; }
.hero-photo-bottom { right: 4%; bottom: 0; width: 42%; aspect-ratio: 1 / 1; z-index: 2; outline: 1px solid rgba(255, 255, 255, .16); }

/* Termômetro: escala com traço maior a cada 5, que enche de baixo pra cima ao abrir (o movimento maior da página) */
.hero-scale { position: absolute; left: 0; top: 7%; bottom: 14%; width: 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--dark-line); }
.hero-scale::before {
  content: ""; position: absolute; left: 1.6rem; top: .6rem; bottom: .6rem; width: .8rem;
  background: repeating-linear-gradient(180deg, var(--oak) 0 1.5px, transparent 1.5px 50px) left top / 100% 100% no-repeat,
              repeating-linear-gradient(180deg, color-mix(in srgb, var(--oak) 50%, transparent) 0 1px, transparent 1px 10px) left top / 55% 100% no-repeat;
}
.hero-scale::after { content: ""; position: absolute; left: 50%; bottom: -1.1rem; width: 2rem; height: 2rem; translate: -50% 0; border-radius: 50%; background: var(--oak); box-shadow: 0 0 0 4px var(--graphite), 0 0 30px rgba(92, 195, 234, .55); }
.hero-scale-fill { position: absolute; inset: auto .3rem .3rem; top: 22%; border-radius: 999px; background: linear-gradient(180deg, #bfe9f8, var(--oak)); transform-origin: bottom; }

/* Entrada: título palavra por palavra, escala esfriando e fotos subindo de leve */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .w { display: inline-block; opacity: 0; translate: 0 .5em; filter: blur(6px); animation: hero-word .8s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .07s); }
  .js .hero-scale-fill { transform: scaleY(0); animation: hero-cool 1.8s .5s var(--ease) forwards; }
  .js .hero-photo { opacity: 0; translate: 0 1.5rem; animation: hero-photo 1s var(--ease) forwards; }
  .js .hero-photo-main { animation-delay: .25s; }
  .js .hero-photo-top { animation-delay: .45s; }
  .js .hero-photo-bottom { animation-delay: .65s; }
}
@keyframes hero-word { to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes hero-cool { to { transform: scaleY(1); } }
@keyframes hero-photo { to { opacity: 1; translate: 0 0; } }

/* Tablet e celular: texto em cima, fotos embaixo */
@media (max-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-self: center; max-width: 32rem; }
}
@media (max-width: 48em) {
  .hero { padding-top: 2rem; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-area { display: block; }
  .hero-area .icon { display: inline-block; margin: 0 .35rem 0 0; vertical-align: -.2em; }
  .hero-scale { width: .8rem; }
  .hero-scale::before { left: 1.2rem; width: .6rem; }
  .hero-scale::after { width: 1.5rem; height: 1.5rem; bottom: -.8rem; }
}

/* 2. Trilha de etapas ---------------------------------------------------- */

.trail { --node: 3.5rem; --p: 1; position: relative; }
.trail.is-live { --p: 0; }
.trail-rail { position: absolute; top: var(--rail-top, 0px); bottom: var(--rail-bottom, 0px); left: 50%; width: 2px; margin-left: -1px; background: var(--line); }
/* Marcas de régua ao lado da linha */
.trail-rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 6px; width: 12px;
  background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 60px) right top / 12px 100% no-repeat,
              repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 12px) right top / 6px 100% no-repeat;
}
.trail-fill {
  position: absolute; inset: 0; background: linear-gradient(var(--walnut), var(--oak));
  transform: scaleY(var(--p)); transform-origin: top; border-radius: 2px;
}
.trail-steps { list-style: none; margin: 0; padding: 0; position: relative; }

.step {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--node) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.step-node {
  grid-column: 2; grid-row: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--muted); position: relative; z-index: 1;
  transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s;
}
.step-node .icon { width: 1.45rem; height: 1.45rem; }
.step-text { grid-column: 1; grid-row: 1; justify-self: end; max-width: 30rem; text-align: right; }
.step-media { grid-column: 3; grid-row: 1; }
.step:nth-child(even) .step-text { grid-column: 3; justify-self: start; text-align: left; }
.step:nth-child(even) .step-media { grid-column: 1; }
.step-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.step-num { color: var(--walnut); font-weight: 600; font-size: .92rem; margin-bottom: .45rem; }
.step h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); margin-bottom: .7rem; }
.step-text > p:not([class]) { color: var(--muted); }
.step-meta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .45rem .9rem; border-radius: 999px; background: var(--stone); font-size: .9rem; font-weight: 500; }
.step-meta .icon { color: var(--walnut); width: 1.1rem; height: 1.1rem; }

/* Etapa alcançada pela linha */
.step.is-on .step-node, .trail:not(.is-live) .step-node { background: var(--walnut); border-color: var(--walnut); color: #fff; box-shadow: 0 0 0 6px var(--oak-soft); }
.js .trail.is-live .step:not(.is-on) .step-media { opacity: .45; filter: grayscale(1); }
.step-media { transition: opacity .6s var(--ease), filter .6s var(--ease); }

@media (max-width: 48em) {
  .trail { --node: 2.75rem; }
  .trail-rail { left: calc(var(--node) / 2); }
  .trail-rail::before { right: auto; left: 6px; transform: scaleX(-1); }
  .step { grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 1rem; row-gap: 1rem; align-items: start; padding-block: 1.25rem; }
  .step-node { grid-column: 1; }
  .step-node .icon { width: 1.2rem; height: 1.2rem; }
  .step .step-text, .step:nth-child(even) .step-text { grid-column: 2; grid-row: 1; justify-self: stretch; text-align: left; padding-top: .55rem; }
  .step .step-media, .step:nth-child(even) .step-media { grid-column: 2; grid-row: 2; }
  .step-meta { font-size: .86rem; }
}

/* 3. Galeria horizontal -------------------------------------------------- */

.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.gallery-head > div { max-width: 38rem; }
.gallery-arrows { display: flex; gap: .6rem; flex: none; }
.arrow {
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border-radius: 50%;
  border: 1px solid var(--dark-line); background: transparent; color: var(--on-dark); cursor: pointer;
  transition: background-color .25s, color .25s, opacity .25s;
}
.arrow:hover:not(:disabled) { background: var(--on-dark); color: var(--graphite); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow .icon { width: 1.15rem; height: 1.15rem; }

/* O contêiner rola, a página não: padding lateral alinha o primeiro card com o .wrap */
.gallery-track {
  --bleed: max(var(--gutter), (100% - var(--max)) / 2);
  display: flex; gap: clamp(.85rem, 1.5vw, 1.25rem); list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: .25rem var(--bleed) 1.5rem; scroll-padding-inline: var(--bleed);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--oak) transparent; cursor: grab;
}
.gallery-track:focus-visible { outline-offset: -2px; }
.gallery-track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.room { flex: 0 0 clamp(15rem, 26vw, 22rem); scroll-snap-align: start; }
.room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); pointer-events: none; }
.room p { margin-top: .9rem; color: var(--on-dark-soft); font-size: .95rem; }
.room strong { display: block; color: var(--on-dark); font-family: var(--display); font-weight: 700; font-size: 1.25rem; }

@media (max-width: 48em) {
  .gallery-head { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
}

/* 4. Quem atende ---------------------------------------------------------- */

.compare-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checks li { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.checks .icon { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--walnut); color: #fff; }
.about-media img { width: 100%; max-width: 26rem; margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.brands { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.brands p { color: var(--muted); font-size: .95rem; }
.brand-logos { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.brand-logos li { display: grid; place-items: center; min-width: 6.5rem; height: 3.6rem; padding: 0 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.brand-logos img { height: var(--h); width: auto; }

@media (max-width: 48em) {
  .compare-grid { grid-template-columns: minmax(0, 1fr); }
  .compare-text { text-align: center; }
  .brand-logos { justify-content: center; }
  .brand-logos li { min-width: 0; height: 3.2rem; padding: 0 .75rem; }
  .checks { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
}

/* 5. Avaliações ---------------------------------------------------------- */

.reviews-section { background: var(--stone); }
.reviews-section { overflow: hidden; }
.reviews-section .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.reviews-section .section-lead b { color: var(--ink); font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.4rem; padding: .8rem 1.2rem .8rem .9rem; border-radius: 18px; background: var(--surface); text-decoration: none; transition: transform .3s var(--ease); }
.rating:hover { transform: translateY(-2px); }
.rating-g { width: 2.1rem; height: auto; }
.rating-n { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.rating-meta { display: grid; gap: .15rem; color: var(--muted); font-size: .92rem; line-height: 1.2; text-align: left; }
.stars { display: inline-flex; gap: .1rem; color: #f2b01e; }
.stars .icon { width: 1rem; height: 1rem; }
.reviews-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-track { display: flex; flex: none; align-items: stretch; gap: 1.25rem; margin: 0; padding: 0 1.25rem 0 0; list-style: none; animation: marquee 40s linear infinite; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.review { flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; width: min(23rem, 82vw); padding: 1.6rem 1.7rem; border-radius: var(--radius); background: var(--surface); }
.review p { font-size: 1rem; line-height: 1.6; }
.review-who { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .88rem; line-height: 1.3; }
.review-who > span { display: grid; gap: .1rem; }
.review-who b { color: var(--ink); font-weight: 600; font-size: .95rem; }
.review-av { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--walnut); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.review-src { display: inline-flex; align-items: center; gap: .35rem; }
.review-src img { height: .95rem; width: auto; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* 6. Dúvidas ------------------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.35rem 0;
  font-weight: 600; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 2rem; height: 2rem; padding: .45rem; border-radius: 50%; background: var(--stone); color: var(--walnut); transition: transform .35s var(--ease), background-color .25s, color .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--walnut); color: #fff; }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

@media (max-width: 48em) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; text-align: center; }
  .faq details p { padding-right: 0; }
}

/* 7. CTA final ----------------------------------------------------------- */

.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cta-text h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.8rem); }
.cta-text .button { margin-top: 2rem; }
.contact-list { list-style: none; margin: 2.25rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--dark-line); display: grid; gap: .85rem; color: var(--on-dark-soft); }
.contact-list li { display: flex; align-items: flex-start; gap: .7rem; }
.contact-list .icon { color: var(--oak); margin-top: .15rem; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #fff; }
.google-card { display: grid; justify-items: center; gap: .6rem; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-align: center; }
.google-card-logo { height: 2rem; width: auto; }
.google-card-n { font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 3vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.google-card .stars .icon { width: 1.4rem; height: 1.4rem; }
.google-card-meta { color: var(--muted); }
.google-card-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: .8rem; padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .25s; }
.google-card-link:hover { background: var(--paper); }
.google-card-link img { height: 1.3rem; width: auto; }

/* WhatsApp flutuante */
.float-wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 1.9rem; height: 1.9rem; fill: currentColor; }

@media (max-width: 48em) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-text { text-align: center; }
  .contact-list { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
}

/* Rodapé ----------------------------------------------------------------- */

.site-footer { background: var(--graphite-3); padding: 3rem 0 2rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--dark-line); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer-nav a { color: var(--on-dark-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--dark-line); color: var(--on-dark); transition: background-color .25s, color .25s; }
.footer-social a:hover { background: var(--on-dark); color: var(--graphite); }
.footer-social .icon { width: 1.35rem; height: 1.35rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; color: var(--on-dark-soft); font-size: .88rem; }
.credit { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark-soft); text-decoration: none; opacity: .8; transition: opacity .25s; }
.credit:hover { opacity: 1; }
.credit img { height: 1.6rem; width: auto; filter: brightness(0) invert(1); }

@media (max-width: 48em) {
  .site-footer { padding-bottom: 6rem; }
  .footer-top, .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* Pop-up de pedido em 3 etapas */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:has(.rq-dialog[open]) { overflow: hidden; }
.rq-dialog { width: min(35rem, calc(100% - 1.5rem)); max-width: none; max-height: calc(100dvh - 1.5rem); margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 28px; background: transparent; scrollbar-width: none; }
.rq-dialog::-webkit-scrollbar { display: none; }
.rq-dialog::backdrop { background: rgba(15, 26, 43, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rq-dialog[open] { animation: rq-dialog-in .5s var(--ease) both; }
.rq-dialog[open]::backdrop { animation: rq-fade .35s var(--ease) both; }
@keyframes rq-dialog-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes rq-fade { from { opacity: 0; } }
.rq-dialog-inner { position: relative; }
.rq-close { position: absolute; z-index: 1; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.rq-close:hover { background: var(--paper); transform: rotate(90deg); }
.rq-close .icon { width: 1.1rem; height: 1.1rem; }

.rq { --rq-line: rgba(15, 26, 43, .16); --rq-soft: #e3f1fa; position: relative; width: 100%; padding: clamp(1.4rem, 3.2vw, 2.25rem); border-radius: 28px; background: var(--paper); color: var(--text); text-align: left; }
.rq-top { margin-bottom: 1.6rem; }
.rq-kicker { min-height: 2.5rem; display: flex; align-items: center; margin: -.3rem 3rem .7rem 0; color: var(--blue); font-size: .95rem; font-weight: 600; }
.rq-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.rq-progress li { color: var(--muted); font-size: .9rem; font-weight: 500; }
.rq-progress li.is-current { color: var(--text); }
.rq-progress li.is-done { color: var(--blue); }
.rq-progress button, .rq-step-label { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.25rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.rq-progress button { cursor: pointer; border-radius: 999px; }
.rq-progress button:hover { color: var(--blue-hover); }
.rq-dot { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; border: 1px solid var(--rq-line); border-radius: 50%; background: #fff; font-size: .78rem; font-variant-numeric: tabular-nums; transition: background-color .35s, border-color .35s, color .35s; }
.rq-dot .icon { width: .85rem; height: .85rem; }
.is-current .rq-dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.is-done .rq-dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.rq-bar { height: 4px; margin-top: .85rem; overflow: hidden; border-radius: 999px; background: rgba(15, 26, 43, .08); }
.rq-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cold)); transform-origin: left; transition: transform .7s var(--ease); }

.rq-panel { display: grid; gap: 1.35rem; animation: rq-in .55s var(--ease) both; }
.rq-reveal { display: grid; gap: 1.35rem; animation: rq-in .45s var(--ease) both; }
.rq.is-still .rq-panel, .rq.is-still .rq-reveal { animation: none; }
@keyframes rq-in { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.rq h3 { font-size: clamp(1.4rem, 2.4vw, 1.65rem); letter-spacing: -.025em; }
.rq h3:focus { outline: none; }
.rq-group { display: grid; gap: .7rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.rq-group legend, .rq-legend, .rq-field label { display: flex; align-items: baseline; gap: .5rem; padding: 0; font-size: .95rem; font-weight: 600; }
.rq-group legend { margin-bottom: .7rem; }
.rq-optional { color: var(--muted); font-size: .8rem; font-weight: 400; }

/* Cards de serviço: radio escondido, o cartão inteiro é o alvo */
.rq-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.rq-service { position: relative; display: flex; align-items: flex-start; gap: .7rem; min-height: 4.6rem; padding: .9rem 2rem .9rem .9rem; border: 1px solid var(--rq-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease); }
.rq-service:hover { border-color: rgba(22, 118, 184, .45); transform: translateY(-1px); }
.rq-service input, .rq-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rq-service-icon { flex: none; width: 1.6rem; height: 1.6rem; fill: var(--blue); }
.rq-service-text { display: grid; gap: .2rem; min-width: 0; }
.rq-service-name { font-size: .92rem; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.rq-service-hint { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.rq-check { position: absolute; top: .7rem; right: .7rem; width: 1.15rem; height: 1.15rem; padding: .2rem; border-radius: 50%; background: var(--blue); fill: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .45s var(--ease); }
.rq-service:has(input:checked) { border-color: var(--blue); background: var(--rq-soft); box-shadow: 0 0 0 1px var(--blue), 0 14px 26px -18px rgba(22, 118, 184, .7); }
.rq-service:has(input:checked) .rq-check { opacity: 1; transform: scale(1); }
.rq-service:has(input:focus-visible), .rq-chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Chips de defeito e cidade */
.rq-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.rq-chip { position: relative; cursor: pointer; }
.rq-chip span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .45rem .95rem; border: 1px solid var(--rq-line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s; }
.rq-chip:hover span { border-color: rgba(22, 118, 184, .45); }
.rq-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Marcas no pedido: logo oficial em cada botão (regra 9) */
.rq-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.rq-brand { position: relative; display: grid; place-items: center; min-height: 3.6rem; padding: .6rem .8rem; border: 1px solid var(--rq-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.rq-brand:hover { border-color: color-mix(in srgb, var(--blue) 45%, transparent); }
.rq-brand input { position: absolute; opacity: 0; pointer-events: none; }
.rq-brand img { width: auto; max-width: 100%; height: var(--h, 1.6rem); object-fit: contain; }
.rq-brand-other { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.rq-brand .rq-check { top: .35rem; right: .35rem; }
.rq-brand:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.rq-brand:has(input:checked) .rq-check { opacity: 1; transform: scale(1); }
.rq-brand:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.rq-summary-logo img { height: 1.3rem; width: auto; margin-block: .2rem; }

/* Campos de texto */
.rq-field { display: grid; gap: .45rem; min-width: 0; }
.rq-field input, .rq-field textarea { width: 100%; min-height: 3rem; padding: .7rem .95rem; border: 1px solid var(--rq-line); border-radius: 12px; background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.rq-field textarea { resize: vertical; min-height: 4.5rem; line-height: 1.45; }
.rq-field input::placeholder, .rq-field textarea::placeholder { color: #93a0b2; }
.rq-field input:focus, .rq-field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(22, 118, 184, .16); }
.rq-field input[aria-invalid="true"] { border-color: #d0453a; box-shadow: 0 0 0 4px rgba(208, 69, 58, .12); }
.rq-cep .rq-input-wrap { position: relative; max-width: 14rem; }
.rq-cep input { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.rq-cep-state { position: absolute; top: 50%; right: .9rem; width: 1.15rem; height: 1.15rem; margin-top: -.575rem; }
.rq-cep-state .icon { width: 100%; height: 100%; fill: #1f9d55; animation: rq-in .35s var(--ease) both; }
.rq-cep-state[data-cep-state="loading"] { border: 2px solid rgba(22, 118, 184, .2); border-top-color: var(--blue); border-radius: 50%; animation: rq-spin .8s linear infinite; }
@keyframes rq-spin { to { transform: rotate(360deg); } }
.rq-help { color: var(--muted); font-size: .85rem; }
.rq-error { display: flex; align-items: center; gap: .35rem; color: #c0392b; font-size: .86rem; font-weight: 500; animation: rq-in .3s var(--ease) both; }
.rq-error .icon { width: 1rem; height: 1rem; }
.rq-note { display: flex; gap: .55rem; padding: .8rem .95rem; border-radius: 12px; background: var(--rq-soft); font-size: .88rem; line-height: 1.45; }
.rq-note .icon { margin-top: .1rem; fill: var(--blue); }

/* Resumo antes de enviar */
.rq-summary { display: grid; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.rq-summary > div { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: .75rem; align-items: start; padding: .9rem 1rem; }
.rq-summary > div + div { border-top: 1px solid var(--line); }
.rq-summary dt { padding-top: .1rem; color: var(--muted); font-size: .85rem; font-weight: 500; }
.rq-summary dd { display: grid; gap: .15rem; margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.rq-summary dd span { color: var(--muted); font-weight: 400; }
.rq-edit { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin: -.4rem -.4rem 0 0; border: 0; border-radius: 50%; background: none; color: var(--blue); cursor: pointer; transition: background-color .2s; }
.rq-edit:hover { background: var(--rq-soft); }
.rq-edit .icon { width: 1.05rem; height: 1.05rem; }

/* Navegação entre etapas */
.rq-nav { display: flex; align-items: center; gap: .75rem; padding-top: .35rem; }
.rq-next { margin-left: auto; }
.rq-send { background: var(--ok); }
.rq-send:hover { background: var(--ok-hover); }
/* Voltar: ícone no círculo encostado na borda, texto com folga */
.rq-ghost { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .45rem 1rem; border: 0; white-space: nowrap; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; transition: color .2s, background-color .2s; }
.rq-ghost:hover { background: #fff; color: var(--text); }
.rq-ghost:has(> .icon) { padding-left: .45rem; }
.rq-ghost .icon { width: 2.1rem; height: 2.1rem; padding: .5rem; border: 1.5px solid var(--rq-line); border-radius: 50%; }

/* Pedido pronto */
.rq-done { justify-items: center; padding-block: 1rem .5rem; text-align: center; }
.rq-done-icon { width: 3.5rem; height: 3.5rem; fill: #1f9d55; animation: rq-pop .6s var(--ease) both; }
@keyframes rq-pop { from { opacity: 0; transform: scale(.5); } }
.rq-done p { max-width: 24rem; color: var(--muted); }
.rq-done p strong { color: var(--text); font-weight: 600; }
.rq-done-actions { display: grid; justify-items: center; gap: .5rem; }

@media (max-width: 40em) {
  .rq-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 22px; }
  .rq { padding: 1.25rem; border-radius: 22px; }
  .rq-close { top: .75rem; right: .75rem; }
  .rq-progress li { font-size: .82rem; }
  .rq-progress button, .rq-step-label { gap: .35rem; }
  .rq-services { gap: .5rem; }
  .rq-service { flex-direction: column; gap: .5rem; min-height: 0; padding: .8rem 1.6rem .8rem .8rem; }
  .rq-service-icon { width: 1.4rem; height: 1.4rem; }
  .rq-service-name { font-size: .88rem; }
  .rq-check { top: .55rem; right: .55rem; }
  .rq-summary > div { grid-template-columns: 1fr auto; }
  .rq-summary dt { grid-column: 1; grid-row: 1; }
  .rq-summary dd { grid-row: 2; }
  .rq-summary .rq-edit { grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .rq-nav { flex-wrap: wrap; }
  /* botão do pop-up em largura total: texto no centro, círculo na borda e contrapeso do outro lado (igual ao button-block) */
  .button.rq-next { flex: 1; justify-content: space-between; gap: 0; padding-inline: var(--pad-icon); }
  .rq-next > .icon { margin-left: .8rem; }
  .rq-send > .icon { margin: 0 .8rem 0 0; }
  .rq-next:not(.button-lead)::before, .rq-send::after { content: ""; flex: 0 1 calc(var(--icon) + .8rem); min-width: .7rem; }
}

/* Mobile: destaque do título sem deixar palavra solta (regra 12) */
@media (max-width: 48em) {
  .hl { display: inline-block; text-wrap: balance; }
}

@media (prefers-reduced-motion: reduce) {
  html, .gallery-track { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
