/* ==========================================================================
   Modelo "bento" (Nobre Designs), folha de estilo única
   Família: a página inteira em grades de blocos de tamanhos diferentes, cantos
   generosos e fundos alternando entre branco, cor da marca, grafite e foto.
   Rebrand: trocar só as variáveis do :root abaixo (cores, fontes, raio).
   Ícones: Phosphor regular/bold via sprite (tools/build.py); WhatsApp, Instagram e Google oficiais.
   ========================================================================== */

:root {
  /* Marca */
  /* Home Service: azul do logo (telhado) escurecido pra dar contraste ao botão, cinza do logo puxado pro grafite */
  --brand: #0076c0;           /* azul: botões, blocos de destaque, realces */
  --brand-deep: #005f9c;      /* hover e texto forte */
  --brand-bright: #3db5f2;    /* realce sobre o grafite (azul do logo) */
  --brand-soft: #e1f2fc;      /* bloco claro da marca */

  /* Neutros */
  --bg: #eef3f7;
  --surface: #ffffff;
  --line: #d9e2ea;
  --ink: #12202b;
  --muted: #55626e;

  /* Grafite (blocos escuros e rodapé) */
  --graphite: #1d2329;
  --graphite-2: #2a333b;
  --on-graphite: #f1f4f6;
  --graphite-muted: #a9b3bc;

  /* Apoio */
  --star: #f5b301;
  --ok: #17a35c;
  --ok-hover: #128a4d;
  --whats: #25d366;

  /* Tipografia */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Clash Display", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Forma e ritmo */
  --radius: 28px;
  --radius-sm: 18px;
  --gap: clamp(.75rem, 1.2vw, 1rem);
  --tile-pad: clamp(1.25rem, 2.4vw, 2rem);
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 60px -34px color-mix(in srgb, var(--ink) 45%, transparent);

  /* Botões (bloco de tools/lib/botoes.css) */
  --btn-bg: var(--brand);
  --btn-bg-hover: var(--brand-deep);
  --btn-ink: var(--ink);
  --btn-light-hover: var(--brand-soft);
  --btn-ease: var(--ease);
}

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font-family: var(--font); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure, blockquote { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.8vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); font-weight: 600; line-height: 1.1; }
.hl, h1 em, h2 em { display: inline-block; font-style: normal; color: var(--brand); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Botões (nunca quebram linha) ------------------------------------------- */

.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; }
}

/* Complemento do bloco: botão principal com ícone à esquerda (WhatsApp) também vira largura total no celular,
   com o contrapeso do lado do texto */
@media (max-width: 48em) {
  .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 ------------------------------------------------------------- */

.header { position: sticky; top: 0; z-index: 50; padding-block: .75rem; }
.header-bar {
  position: relative; display: flex; align-items: center; gap: 1rem; height: 56px; padding: 0 .5rem 0 .75rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); transition: box-shadow .4s var(--ease);
}
.header.scrolled .header-bar { box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--ink) 50%, transparent); }
.brand {
  display: inline-flex; align-items: center; gap: .6rem; flex: none;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; text-decoration: none;
}
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .7rem; background: var(--brand); color: #fff; }
.brand-mark .icon { width: 1.2rem; height: 1.2rem; }
.brand-logo { width: 2.25rem; height: 2.25rem; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: .15rem; }
.nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--muted);
  font-weight: 500; font-size: .95rem; text-decoration: none; transition: background-color .25s, color .25s;
}
.nav a:hover { background: var(--bg); color: var(--ink); }
.header-cta { flex: none; }
.menu-btn {
  display: none; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; cursor: pointer;
}
.menu-btn .icon { width: 1.2rem; height: 1.2rem; }
.menu-btn .i-close, .header.open .menu-btn .i-open { display: none; }
.header.open .menu-btn .i-close { display: block; }

@media (max-width: 64em) {
  .header-cta { margin-left: auto; }
  .menu-btn { display: grid; }
  .nav {
    position: absolute; inset: calc(100% + .5rem) 0 auto; display: none; padding: .5rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow);
  }
  .header.open .nav { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .85rem 1rem; border-radius: 12px; color: var(--ink); font-size: 1.05rem; }
}
@media (max-width: 30em) {
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; }
}

/* Blocos (o bento) ------------------------------------------------------ */

.bento { display: grid; gap: var(--gap); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: .75rem; min-width: 0; overflow: hidden;
  padding: var(--tile-pad); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile p { color: var(--muted); }
.tile-brand { background: var(--brand); color: #fff; }
.tile-ink { background: var(--graphite); color: var(--on-graphite); }
.tile-soft { background: var(--brand-soft); }
.tile-brand p { color: rgba(255, 255, 255, .88); }
.tile-ink p { color: var(--graphite-muted); }
.tile-plain { background: none; padding-inline: 0; }
.tile-photo { padding: 0; justify-content: flex-end; background: var(--graphite); color: #fff; }
.tile-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-cap {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 4rem var(--tile-pad) var(--tile-pad);
  background: linear-gradient(to top, rgba(10, 11, 13, .78), rgba(10, 11, 13, 0));
}
.tile-cap p { color: rgba(255, 255, 255, .85); }
/* Microinteração: o bloco sobe um pouco e a foto aproxima */
@media (hover: hover) {
  .tile:not(.tile-plain):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .tile-photo:hover > img { transform: scale(1.045); }
  .tile:hover .tile-icon { transform: rotate(-8deg) scale(1.06); }
}

.tile-icon {
  display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 1rem;
  background: var(--brand-soft); color: var(--brand); transition: transform .6s var(--ease);
}
.tile-icon .icon { width: 1.5rem; height: 1.5rem; }
.tile-brand .tile-icon, .tile-photo .tile-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.tile-ink .tile-icon { background: var(--graphite-2); color: var(--brand-bright); }
.tile-soft .tile-icon { background: var(--surface); }
/* O ícone fica no topo e o texto desce pro pé do bloco */
.tile > .tile-icon + h3, .tile > .tile-icon + .stat, .tile > .tile-icon + .c-label { margin-top: auto; padding-top: 1rem; }

.stat { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem); line-height: .95; letter-spacing: -.03em; }
.tile .stat { color: inherit; }
.stat-xl { font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.stat-label { font-weight: 500; }
.stars { display: flex; gap: .15rem; color: var(--star); }
.tile .stars { color: var(--star); }
.stars .icon { width: 1.1rem; height: 1.1rem; }
.checks { display: grid; gap: .5rem; margin-top: .25rem; }
.checks li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.checks .icon { width: 1.4rem; height: 1.4rem; padding: .3rem; border-radius: 50%; background: var(--brand); color: #fff; }

/* Seções ---------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-tight { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { max-width: 14ch; }
.section-head p { max-width: 36ch; color: var(--muted); font-size: 1.05rem; }

/* Hero: bloco grande, foto, avaliação, número e horário. Cabe em 1440x900 */
.hero { padding-block: .25rem clamp(3.5rem, 7vw, 6.5rem); }
.hero-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas: "main photo rate" "main photo num" "main hours hours";
  height: clamp(560px, calc(100svh - var(--header-h) - 1.5rem), 760px);
}
.hero-main { grid-area: main; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3.4vw, 3rem); }
.hero-photo { grid-area: photo; }
.hero-rate { grid-area: rate; justify-content: flex-end; }
.hero-num { grid-area: num; justify-content: flex-end; }
.hero-rate .stat, .hero-num .stat { font-size: clamp(1.7rem, 1.1rem + 1.4vw, 2.5rem); }
.hero-rate > .icon, .hero-num > .icon { width: 2rem; height: 2rem; margin-bottom: auto; }
.hero-hours { grid-area: hours; justify-content: space-between; }
.hero-rate { text-decoration: none; }
.hero-rate .g-logo { width: 2rem; height: auto; margin-bottom: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .45rem .9rem .45rem .6rem;
  border-radius: 999px; background: var(--bg); font-size: .9rem; font-weight: 500;
}
.tile .eyebrow { color: var(--ink); }
.eyebrow .icon { color: var(--brand); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.hero h1 { font-size: clamp(1.85rem, 1.2rem + 3.2vw, 4rem); line-height: .98; letter-spacing: -.035em; }
.lead { max-width: 38ch; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.hero-copy .button { margin-top: .5rem; }
.status {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .35rem .8rem;
  border-radius: 999px; background: var(--surface); font-size: .85rem; font-weight: 600;
}
.tile .status { color: var(--ink); }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--muted); }
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.status.is-closed::before { background: var(--brand); }
.info-list { display: grid; gap: .55rem; }
.info-list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink); font-weight: 500; }
.info-list .icon { margin-top: .1rem; color: var(--brand); }

/* Serviços: 2x2, 1x2, 2x1 e 1x1 */
.services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(15rem, auto);
  grid-template-areas: "gel gel exp exp" "gel gel lav fog";
}
.s-gel { grid-area: gel; }
.s-exp { grid-area: exp; }
.s-lav { grid-area: lav; }
.s-fog { grid-area: fog; }
.s-gel { min-height: 32rem; }
.s-gel p, .s-exp p { max-width: 42ch; }
/* Texto sobre a foto: degradê mais alto e mais escuro que o do modelo, pra ler em cima de inox claro */
.services .tile-cap { gap: .7rem; padding-top: 7rem; background: linear-gradient(to top, rgba(12, 18, 24, .9) 40%, rgba(12, 18, 24, 0)); }
.services .tile-cap .tile-icon { margin-bottom: .25rem; }
.tile-photo .checks li { color: #fff; }
.s-gel .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin-top: .5rem; }
.s-cta { align-self: flex-start; margin-top: .75rem; }

/* Diferenciais */
.perks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(15rem, auto);
  grid-template-areas: "orc photo photo gar" "dados peca aviso gar";
}
.p-orc { grid-area: orc; justify-content: flex-end; }
.p-photo { grid-area: photo; }
/* Foto do diagnóstico com a citação do Google por cima */
.p-quote .tile-cap { gap: .9rem; padding-top: 6rem; background: linear-gradient(to top, rgba(12, 18, 24, .9) 45%, rgba(12, 18, 24, 0)); }
.p-quote blockquote p { color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 1.05rem + 1vw, 1.95rem); line-height: 1.15; letter-spacing: -.015em; }
.quote-by { display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.quote-by img { width: 1.25rem; height: auto; }
.p-gar .stat { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); }
.p-gar { grid-area: gar; }
.p-dados { grid-area: dados; }
.p-peca { grid-area: peca; }
.p-aviso { grid-area: aviso; }

/* Como funciona */
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(15rem, auto);
  grid-template-areas: "intro intro s1 s2" "s3 s4 cta cta";
}
.st-intro { grid-area: intro; justify-content: center; }
.st-intro h2 { margin-bottom: .25rem; }
.st-intro p { max-width: 34ch; font-size: 1.05rem; }
.st-1 { grid-area: s1; }
.st-2 { grid-area: s2; }
.st-3 { grid-area: s3; }
.st-4 { grid-area: s4; }
.st-cta { grid-area: cta; justify-content: flex-end; align-items: flex-start; }
.st-cta h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; }
.st-cta .button { margin-top: .75rem; }
.step-n {
  margin-bottom: auto; font-family: var(--display); font-weight: 700; font-size: 4.5rem; line-height: .8; letter-spacing: -.04em;
}
.tile .step-n { color: var(--brand); }
.step h3 { margin-top: 1.5rem; }

/* Avaliações */
.reviews {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "score r1 r1 r2" "score r3 r4 r4";
}
.r-score { grid-area: score; justify-content: flex-end; text-decoration: none; }
.g-word { width: 5.5rem; height: auto; margin-bottom: auto; padding: .45rem .6rem; border-radius: 10px; background: #fff; box-sizing: content-box; }
.r-score .text-link img { width: 1.15rem; height: auto; }
.r-score .stars .icon { width: 1.35rem; height: 1.35rem; }
.r-1 { grid-area: r1; }
.r-2 { grid-area: r2; }
.r-3 { grid-area: r3; }
.r-4 { grid-area: r4; }
.review { gap: 1rem; }
.review blockquote { flex: 1; }
.review blockquote p { color: var(--ink); }
.review-wide blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); line-height: 1.3; letter-spacing: -.01em; }
.review figcaption { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: var(--muted); }
.review figcaption img { width: 1.6rem; height: auto; }
.review figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; font-weight: 600; text-decoration: none; }
.text-link:hover, a:hover > .text-link { text-decoration: underline; text-underline-offset: 4px; }
/* Slider lento com mais avaliações (regra 6) */
.reviews-marquee { display: flex; overflow: hidden; margin-top: var(--gap); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reviews-track { display: flex; flex: none; align-items: stretch; gap: var(--gap); padding-right: var(--gap); animation: marquee 48s linear infinite; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.review.mq { flex: none; justify-content: space-between; width: 22rem; }
.review.mq p { color: var(--ink); }
.review-who { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.review-who img { width: 1.35rem; height: auto; }
.review-who b { font-weight: 600; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Dúvidas */
.faq {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "intro list list" "help list list";
  align-items: start;
}
.f-intro { grid-area: intro; min-height: 15rem; justify-content: flex-end; }
.f-intro p { font-size: 1.05rem; }
.f-list { grid-area: list; display: grid; gap: .6rem; min-width: 0; }
.f-help { grid-area: help; }
.f-help .button { margin-top: .5rem; align-self: flex-start; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); transition: background-color .3s; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.15rem 1.15rem 1.4rem;
  font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 2rem; height: 2rem; padding: .45rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-item p { padding: 0 1.4rem 1.25rem; color: var(--muted); max-width: 62ch; }

/* Contato */
.contact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "cta cta map map" "c1 c2 c3 c4";
}
.c-cta { grid-area: cta; min-height: 24rem; justify-content: flex-end; align-items: flex-start; padding: clamp(1.5rem, 3.4vw, 3rem); }
.c-cta h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.2rem); }
.c-cta .hl, .c-cta em { color: var(--graphite); }
.c-cta p { max-width: 40ch; font-size: 1.05rem; }
.c-cta .button { margin-top: .75rem; }
.c-map { grid-area: map; min-height: 22rem; padding: 0; }
.c-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-addr { text-decoration: none; }
.c-addr .tile-icon img { width: 1.1rem; height: auto; }
.c-hrs { grid-area: c1; }
.c-addr { grid-area: c2; }
.c-tel { grid-area: c3; }
.c-insta { grid-area: c4; text-decoration: none; }
.c-info { gap: .35rem; }
.c-info p { overflow-wrap: anywhere; }
.c-info a { text-decoration: none; }
.c-info a:hover { color: var(--brand); }
.c-label { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.tile .c-label { color: var(--ink); font-weight: 600; }
.c-info .status { background: var(--bg); }
.map-ph {
  align-items: center; justify-content: center; min-height: 18rem; background-color: #e3e7ec;
  background-image:
    linear-gradient(90deg, transparent 47%, #f7f8fa 47%, #f7f8fa 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, #f7f8fa 58%, #f7f8fa 62%, transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .55) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .55) 46px 48px);
}
.map-pin {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 18%, transparent);
}
.map-pin .icon { width: 1.6rem; height: 1.6rem; }
.map-link {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem;
  border-radius: 999px; background: var(--surface); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.map-link .icon { width: 1rem; height: 1rem; }

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

.footer { padding-bottom: var(--gutter); }
.footer-card { padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--radius); background: var(--graphite); color: var(--on-graphite); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2rem; }
.footer .brand-mark { background: var(--brand); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.footer-nav a { color: var(--graphite-muted); text-decoration: none; transition: color .25s; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--graphite-2); color: var(--on-graphite); transition: background-color .25s;
}
.footer-social a:hover { background: var(--brand); }
.footer-social .icon { width: 1.3rem; height: 1.3rem; }
.footer-social img { width: 1.15rem; height: auto; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--graphite-2); color: var(--graphite-muted);
}
.footer-bottom small { font-size: .85rem; }
.credit { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; text-decoration: none; opacity: .8; transition: opacity .25s; }
.credit:hover { opacity: 1; }
.credit img { height: 1.6rem; width: auto; filter: brightness(0) invert(1); }

/* WhatsApp flutuante ---------------------------------------------------- */

.float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--whats); color: #fff;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45); transition: transform .5s var(--ease);
}
.float:hover { transform: translateY(-3px) scale(1.04); }
.float .icon { width: 1.9rem; height: 1.9rem; }

/* 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(18, 32, 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(--ink); cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.rq-close:hover { background: var(--bg); transform: rotate(90deg); }
.rq-close .icon { width: 1.1rem; height: 1.1rem; }

.rq { --rq-line: rgba(18, 32, 43, .16); --rq-soft: #e8f5fd; position: relative; width: 100%; padding: clamp(1.4rem, 3.2vw, 2.25rem); border-radius: 28px; background: var(--bg); color: var(--ink); 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(--brand); font-size: .95rem; font-weight: 600; }
.rq-progress { margin: 0; padding: 0; list-style: none; 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(--ink); }
.rq-progress li.is-done { color: var(--brand); }
.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(--brand-deep); }
.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(--brand); background: var(--brand); color: #fff; }
.rq-bar { height: 4px; margin-top: .85rem; overflow: hidden; border-radius: 999px; background: rgba(18, 32, 43, .08); }
.rq-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); 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(0, 118, 192, .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(--brand); }
.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(--brand); fill: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .45s var(--ease); }
.rq-service:has(input:checked) { border-color: var(--brand); background: var(--rq-soft); box-shadow: 0 0 0 1px var(--brand), 0 14px 26px -18px rgba(0, 118, 192, .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(--brand); outline-offset: 2px; }

/* Chips de marca, sintomas e período */
.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(0, 118, 192, .45); }
.rq-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }

/* 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(--ink); 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(--brand); outline: none; box-shadow: 0 0 0 4px rgba(0, 118, 192, .16); }
.rq-field input[aria-invalid="true"] { border-color: #d0453a; box-shadow: 0 0 0 4px rgba(208, 69, 58, .12); }
.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(--brand); }

/* 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(--brand); 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(--ink); }
.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(--ink); 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 / -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; }
}

/* Entrada dos blocos (classes postas pelo JS) --------------------------- */

.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise .9s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* Tablet ---------------------------------------------------------------- */

@media (max-width: 64em) {
  .hero-grid {
    height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none;
    grid-template-areas: "main main" "photo rate" "photo num" "hours hours";
  }
  .hero-main { min-height: 28rem; }
  .hero-photo { min-height: 22rem; }
  .hero-rate, .hero-num { min-height: 10.5rem; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "gel gel" "exp exp" "lav fog"; }
  .s-gel { min-height: 30rem; }
  .s-exp { min-height: 20rem; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "orc gar" "dados gar" "photo photo" "peca aviso"; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "intro intro" "s1 s2" "s3 s4" "cta cta"; grid-auto-rows: auto; }
  .st-intro { padding-block: 0 .5rem; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "score r1" "score r2" "r3 r3" "r4 r4"; }
  .faq { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "list" "help"; }
  .f-intro { min-height: 0; }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "cta cta" "map map" "c1 c2" "c3 c4"; }
}

/* Mobile (regra 12): hero, títulos e aberturas centralizados; cards, listas e FAQ à esquerda */
@media (max-width: 48em) {
  .section-head { flex-direction: column; align-items: center; text-align: center; }
  .section-head h2, .section-head p { max-width: none; }
  .hero-main, .hero-rate, .hero-num, .hero-hours { align-items: center; text-align: center; }
  .hero-main { min-height: 0; gap: 2.5rem; padding-block: 2rem; }
  .eyebrow, .status { align-self: center; }
  .hero-copy { align-items: center; width: 100%; }
  .lead { margin-inline: auto; }
  .info-list { justify-items: center; }
  .info-list li { text-align: left; }
  .hero-hours { gap: 1rem; }
  .st-intro, .f-intro, .c-cta, .st-cta, .f-help { align-items: center; text-align: center; }
  .st-intro p, .c-cta p { margin-inline: auto; }
  .f-help .button { align-self: stretch; }
  .footer { padding-bottom: 5.5rem; }
  .footer-top, .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 35em) {
  :root { --radius: 22px; }
  .hero-grid { grid-template-areas: "main main" "photo photo" "rate num" "hours hours"; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-rate, .hero-num { min-height: 9rem; padding: 1.1rem; }
  .hero-rate .stat, .hero-num .stat { font-size: clamp(1.15rem, 5.4vw, 1.6rem); }
  .hero-rate .stat-label, .hero-num .stat-label { font-size: .9rem; }
  .services, .perks, .steps, .reviews, .contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  .services > .tile, .perks > .tile, .steps > .tile, .reviews > .tile, .contact > .tile { grid-area: auto; }
  .services, .perks { grid-auto-rows: auto; }
  /* no celular o bloco sem foto fica do tamanho do conteúdo: com altura mínima sobrava vão entre ícone e título */
  .services > .tile:not(.tile-photo), .perks > .tile:not(.tile-photo) { min-height: 0; }
  .tile > .tile-icon + h3, .tile > .tile-icon + .stat, .tile > .tile-icon + .c-label { padding-top: .5rem; }
  .hero-hours { justify-content: flex-start; }
  .s-gel .checks { grid-template-columns: minmax(0, 1fr); }
  .s-gel { min-height: 34rem; }
  .s-exp, .s-lav { min-height: 22rem; }
  .p-photo { min-height: 20rem; }
  .review.mq { width: 18.5rem; }
  .c-cta { min-height: 0; }
  .map-ph { min-height: 14rem; }
  .step-n { font-size: 3.5rem; }
}

/* Celular pequeno (320px): bloco com menos folga e rótulo do botão um pouco menor, pro botão de largura
   total caber com o contrapeso inteiro; título de seção menor pra não deixar palavra sozinha */
@media (max-width: 22.5em) {
  :root { --tile-pad: 1rem; }
  .hero-main, .c-cta { padding-inline: var(--tile-pad); }
  .button-fluid { font-size: .9rem; }
  h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
