/* Refriar Ar Condicionado: navy do logo + degradê azul/ciano das ondas, branco limpo. Outfit + Figtree. */
:root {
  --navy: #013167;
  --navy-deep: #021c3d;
  --blue: #0a74d6;
  --blue-hover: #0860b3;
  --cyan: #38cffb;
  --ice: #e8f2fc;
  --frost: #f4f8fd;
  --surface: #ffffff;
  --text: #0b1f3f;
  --muted: #52627a;
  --muted-dark: #a6b6cc;
  --line: rgba(1, 30, 66, .1);
  --line-dark: rgba(255, 255, 255, .12);
  /* aliases usados pelo popup de pedido */
  --ink: var(--navy);
  --paper: var(--frost);
  --cold: var(--cyan);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 4.75rem;
  --radius: 24px;
  --logo-ink: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
p { text-wrap: pretty; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.accent { color: var(--blue); }
.wrap { width: min(100% - 2rem, 77.5rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 10px; background: var(--surface); }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.4rem; border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(10, 116, 214, .9);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.button:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(10, 116, 214, 1); }
.button .icon { width: 1.35em; height: 1.35em; }
.button-sm { padding: .6rem 1.05rem; font-size: .95rem; }
.button-lg { padding: 1.05rem 1.8rem; font-size: 1.08rem; }

/* Header claro com o logo vetorizado */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-scrolled { border-color: var(--line); background: rgba(255, 255, 255, .94); }
.header-bar { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-short { width: 9.2rem; height: 2.7rem; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .97rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.menu-toggle { display: none; }

/* Hero: texto à esquerda, obra x entregue à direita */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 55% 70% at 85% 40%, rgba(56, 207, 251, .18), transparent 70%), linear-gradient(180deg, var(--surface), var(--frost));
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; min-height: min(calc(100svh - var(--header-h)), 56rem); padding-block: clamp(2rem, 6vh, 4.5rem); }
.hero-copy { container-type: inline-size; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: clamp(1rem, 2.6vh, 1.5rem); padding: .4rem .9rem .4rem .7rem; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--muted); font-weight: 500; font-size: .95rem; }
.hero-kicker .icon { color: var(--blue); }
.hero-title { font-size: min(8.85cqi, 4.7rem, 9.4vh); line-height: 1.02; letter-spacing: -.035em; margin-bottom: clamp(1rem, 2.8vh, 1.5rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.04em; }
.hero-title .line > span { display: block; white-space: nowrap; }
.hero-sub { max-width: 40rem; color: var(--muted); font-size: clamp(1.02rem, 1.2vw, 1.15rem); margin-bottom: clamp(1.5rem, 3.6vh, 2.25rem); }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 31rem; }
.hero-main { position: relative; margin: 0 0 0 auto; width: min(100%, calc((100svh - var(--header-h) - 7rem) * .8)); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 30px; background: var(--ice); box-shadow: 0 40px 70px -40px rgba(1, 30, 66, .55); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--text); font-size: .88rem; font-weight: 600; box-shadow: 0 10px 24px -14px rgba(1, 30, 66, .5); }
.hero-main figcaption { top: 1rem; right: 1rem; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .16); }
.hero-inset { position: absolute; left: -12%; bottom: 7%; width: 44%; margin: 0; aspect-ratio: 1; border: 6px solid var(--surface); border-radius: 24px; overflow: hidden; background: var(--ice); box-shadow: 0 30px 50px -26px rgba(1, 30, 66, .6); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset figcaption { left: .6rem; bottom: .6rem; font-size: .8rem; padding: .35rem .7rem; }

/* Entrada da hero: linhas sobem, fotos aparecem em sequência */
.js .hero-kicker, .js .hero-sub, .js .hero-cta { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .hero-title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero-main { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
.js .hero-inset { opacity: 0; transform: translate(-20px, 30px) rotate(-4deg); transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero-kicker, .is-ready .hero-sub, .is-ready .hero-cta, .is-ready .hero-main, .is-ready .hero-inset { opacity: 1; transform: none; filter: none; }
.is-ready .hero-title .line > span { transform: none; }
.is-ready .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero-sub { transition-delay: .25s; }
.is-ready .hero-cta { transition-delay: .35s; }
.is-ready .hero-main { transition-delay: .2s; }
.is-ready .hero-inset { transition-delay: .55s; }

/* Números */
.stats { background: linear-gradient(100deg, var(--navy-deep), var(--navy)); color: #fff; }
.stats-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-list li { display: grid; gap: .3rem; padding: clamp(1.75rem, 3.5vw, 2.4rem) 1.5rem; border-left: 1px solid var(--line-dark); }
.stats-list li:first-child { border-left: 0; padding-left: 0; }
.stats-list strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 2.5vw, 2.2rem); letter-spacing: -.03em; line-height: 1.05; color: var(--cyan); }
.stats-list span { color: var(--muted-dark); font-size: .97rem; text-wrap: balance; }

/* Cabeçalho de seção */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head h2, .reviews-head h2, .faq-head h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 31rem; }

/* Serviços: VRF em destaque, conserto em faixa larga */
.services { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--frost); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "f a b" "f c d" "w w w"; gap: 1.1rem; }
.svc { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(1, 30, 66, .45); }
.svc:nth-child(2) { grid-area: a; } .svc:nth-child(3) { grid-area: b; }
.svc:nth-child(4) { grid-area: c; } .svc:nth-child(5) { grid-area: d; }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ice); }
.svc-body { display: flex; flex-direction: column; gap: .45rem; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.svc h3 { font-size: 1.32rem; letter-spacing: -.02em; }
.svc p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .6rem; color: var(--blue); font-weight: 600; text-decoration: none; }
.card-link .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }
/* destaque: foto ocupa o cartão, texto sobre degradê */
.svc-feature { grid-area: f; position: relative; min-height: 34rem; color: #fff; }
.svc-feature img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.svc-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 28, 61, 0) 30%, rgba(2, 28, 61, .92) 85%); }
.svc-feature .svc-body { position: relative; z-index: 1; justify-content: flex-end; padding: 1.75rem; }
.svc-feature h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.svc-feature p { color: rgba(255, 255, 255, .82); }
.svc-feature .card-link { margin-top: .3rem; color: var(--cyan); }
.svc-tag { align-self: flex-start; margin-bottom: .35rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(56, 207, 251, .18); box-shadow: inset 0 0 0 1px rgba(56, 207, 251, .4); color: #c9f1ff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.svc-wide { grid-area: w; flex-direction: row; }
.svc-wide img { width: 34%; aspect-ratio: auto; min-height: 13rem; }
.svc-wide .svc-body { justify-content: center; padding: 1.75rem 2rem; }
.svc-wide p { max-width: 38rem; }
.svc-wide .card-link { margin-top: .2rem; }

/* Na obra (navy) */
.build { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: radial-gradient(ellipse 60% 50% at 10% 0%, rgba(56, 207, 251, .14), transparent 70%), var(--navy-deep); color: #fff; }
.section-head-dark .accent { color: var(--cyan); }
.section-head-dark p { color: var(--muted-dark); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.timeline figure { margin: 0 0 1.25rem; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, .06); }
.timeline img { width: 100%; height: 100%; object-fit: cover; }
.timeline-n { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; color: var(--cyan); font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
.timeline-n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(56, 207, 251, .6), rgba(255, 255, 255, .08)); }
.timeline h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.timeline p { color: var(--muted-dark); font-size: .97rem; }
.build-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.25rem 1.25rem 1.25rem 1.6rem; border-radius: 22px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.build-cta p { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.build-cta p .icon { width: 1.6rem; height: 1.6rem; color: var(--cyan); }

/* Sistemas: abas */
.systems { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tab-list { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 2rem; padding: .35rem; border-radius: 999px; background: var(--ice); }
.tab { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .55rem 1.15rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 8px 20px -12px rgba(1, 30, 66, .45); }
.tab[aria-selected="true"] .icon { color: var(--blue); }
.tab-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tab-panel[hidden] { display: none; }
.js .tab-panel:not([hidden]) { animation: panel-in .6s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.tab-panel figure { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 9 / 10; max-height: 34rem; background: var(--ice); }
.tab-panel img { width: 100%; height: 100%; object-fit: cover; }
.tab-copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.tab-copy > p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.tab-label { margin: 1.75rem 0 .75rem; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.ideal { display: flex; flex-wrap: wrap; gap: .5rem; }
.ideal li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; background: var(--frost); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: .95rem; }
.ideal li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
/* sem JS: todos os painéis aparecem em sequência */
html:not(.js) .tab-list { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 3rem; }

/* Galeria */
.works { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--frost); }
.works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 14vw, 12.5rem); gap: 1rem; grid-template-areas: "a b b c" "a d e c" "f f g h" "f f g h"; }
.works-grid li { position: relative; overflow: hidden; border-radius: 20px; background: var(--ice); }
.works-grid li:nth-child(1) { grid-area: a; } .works-grid li:nth-child(2) { grid-area: b; }
.works-grid li:nth-child(3) { grid-area: c; } .works-grid li:nth-child(4) { grid-area: d; }
.works-grid li:nth-child(5) { grid-area: e; } .works-grid li:nth-child(6) { grid-area: f; }
.works-grid li:nth-child(7) { grid-area: g; } .works-grid li:nth-child(8) { grid-area: h; }
.works-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.works-grid li:hover img { transform: scale(1.04); }
.works-grid span { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .82rem; font-weight: 600; }

/* Marcas */
.brands { padding-block: clamp(2.5rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; align-items: center; gap: 1.5rem 3rem; }
.brands h2 { flex: none; max-width: 12rem; font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.3; color: var(--muted); font-weight: 600; }
.brands-list { flex: 1; display: grid; grid-template-columns: repeat(7, auto); justify-content: space-between; gap: .9rem 1.75rem; }
.brands-list li { color: #8593a8; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; transition: color .25s; }
.brands-list li:hover { color: var(--navy); }

/* Avaliações */
.reviews { padding-block: clamp(4.5rem, 9vw, 7rem); overflow: hidden; }
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.rating { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.2rem .8rem .9rem; border-radius: 18px; background: var(--frost); text-decoration: none; transition: transform .3s var(--ease); }
.rating:hover { transform: translateY(-2px); }
.rating-g { width: 2.1rem; height: 2.1rem; fill: var(--blue); }
.rating-n { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1; }
.rating-meta { display: grid; gap: .15rem; color: var(--muted); font-size: .92rem; line-height: 1.2; }
.stars { display: flex; gap: .1rem; }
.stars svg { width: 1rem; height: 1rem; fill: #f2b01e; }
.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; padding-right: 1.25rem; animation: marquee 50s 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: 21rem; padding: 1.6rem 1.7rem; border-radius: var(--radius); background: var(--frost); }
.review p { font-size: 1.02rem; line-height: 1.6; }
.review p::before { content: "“"; display: block; height: 1.6rem; color: var(--blue); font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.review-who { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.review-who b { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 600; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Dúvidas */
.faq { padding-block: clamp(4.5rem, 9vw, 7rem); background: var(--frost); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-head h2 { margin-bottom: 1rem; }
.faq-head p { color: var(--muted); }
.faq-list { display: grid; gap: .6rem; }
.faq details { border-radius: 18px; background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* Contato */
.contact { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.75rem; }
.contact-copy > .button { display: flex; width: fit-content; margin-bottom: 2.25rem; }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: .5rem; align-self: start; font-weight: 600; }
.contact-list dt .icon { color: var(--blue); }
.contact-list dd { color: var(--muted); overflow-wrap: anywhere; }
.contact-list dd a { color: var(--text); font-weight: 500; text-decoration: none; }
.contact-list dd a:hover { color: var(--blue); }
.contact-map { min-height: 26rem; overflow: hidden; border-radius: 28px; background: var(--ice); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 26rem; border: 0; }

/* Rodapé */
.footer { --logo-ink: #fff; background: var(--navy-deep); color: var(--muted-dark); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { display: block; width: 13rem; height: 3.93rem; }
.footer-brand p { max-width: 24rem; margin-top: 1.1rem; }
.footer h3 { color: #fff; font-size: 1rem; letter-spacing: -.01em; margin-bottom: .6rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem 5.5rem; border-top: 1px solid var(--line-dark); font-size: .92rem; }
.credit { display: inline-flex; align-items: center; gap: .6rem; opacity: .8; transition: opacity .25s; }
.credit:hover { opacity: 1; }
.credit img { height: 1.6rem; width: auto; filter: brightness(0) invert(1); }

/* 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; }

/* Popup de pedido (mesmo fluxo do site da Manprev, com as cores da Refriar) */
.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(1, 30, 66, .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(1, 30, 66, .16); --rq-soft: #e6f1fb; 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 { 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(1, 30, 66, .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(10, 116, 214, .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:last-child:nth-child(odd) { grid-column: 1 / -1; }
.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(10, 116, 214, .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 BTU, 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(10, 116, 214, .45); }
.rq-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Quantidade */
.rq-qty { grid-template-columns: 1fr auto; align-items: center; }
.rq-stepper { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem; border: 1px solid var(--rq-line); border-radius: 999px; background: #fff; }
.rq-stepper button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: var(--paper); color: var(--text); cursor: pointer; transition: background-color .2s; }
.rq-stepper button:hover:not(:disabled) { background: var(--rq-soft); }
.rq-stepper button:disabled { opacity: .35; cursor: default; }
.rq-stepper .icon { width: 1rem; height: 1rem; }
.rq-stepper output { min-width: 2rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }

/* 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(10, 116, 214, .16); }
.rq-field input[aria-invalid="true"] { border-color: #d0453a; box-shadow: 0 0 0 4px rgba(208, 69, 58, .12); }
.rq-address { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .85rem; }
.rq-cep, .rq-span-2 { grid-column: 1 / -1; }
.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(10, 116, 214, .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; border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.rq-next .icon { transition: transform .3s var(--ease); }
.rq-next:hover .icon { transform: translateX(3px); }
.rq-send { background: #1f9d55; box-shadow: 0 14px 30px -16px rgba(31, 157, 85, .9); }
.rq-send:hover { background: #188747; box-shadow: 0 18px 34px -16px rgba(31, 157, 85, 1); }
.rq-send:hover .icon { transform: none; }
.rq-ghost { display: inline-flex; align-items: center; gap: .4rem; min-height: 3rem; padding: .5rem .9rem; border: 0; 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 .icon { width: 1.1rem; height: 1.1rem; }

/* 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-district, .rq-city { grid-column: 1 / -1; }
  .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; }
  .rq-next { flex: 1; }
  .rq-send { white-space: normal; text-align: center; }
}

/* Revelar ao rolar */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 64em) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "f a" "f b" "c d" "w w"; }
  .svc-feature { min-height: 0; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .stats-list { grid-template-columns: repeat(2, 1fr); }
  .stats-list li { padding-left: 1.5rem; }
  .stats-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .brands-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .brands h2 { max-width: none; }
  .brands-list { width: 100%; }
}

/* Menu vira gaveta, hero empilha */
@media (max-width: 60em) {
  .header-cta { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
  .menu-toggle .icon-close, .header.is-open .menu-toggle .icon-open { display: none; }
  .header.is-open .menu-toggle .icon-close { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 1rem 1.25rem; background: var(--surface); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 2.5rem 3.5rem; gap: 2.75rem; }
  .hero-title { font-size: min(8.85cqi, 4.2rem); }
  .hero-media { justify-self: center; max-width: 30rem; padding-left: 12%; }
  .hero-main { width: 100%; aspect-ratio: 5 / 5.4; }
  .tab-panel, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .tab-panel figure { aspect-ratio: 4 / 3; max-height: 26rem; }
}

/* Mobile */
@media (max-width: 48em) {
  :root { --header-h: 4.25rem; }
  body { font-size: 1rem; }
  .logo-short { width: 8.2rem; height: 2.4rem; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-grid { padding-top: 2rem; }
  .hero-title { font-size: min(8.85cqi, 2.9rem); letter-spacing: -.03em; }
  .br-desk { display: none; }
  .hero-cta { width: 100%; }
  .button-lg { padding-inline: 1.2rem; font-size: 1rem; }
  .hero-media { padding-left: 9%; }
  .hero-inset { left: -4%; width: 42%; border-width: 4px; border-radius: 18px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: .9rem; }
  .svc-grid > .svc { grid-area: auto; }
  .svc-feature { min-height: 26rem; }
  .svc-wide { flex-direction: column; }
  .svc-wide img { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .svc-wide .svc-body { padding: 1.3rem 1.4rem 1.4rem; }
  .stats-list li, .stats-list li:nth-child(odd) { padding: 1.35rem 0 1.35rem 1rem; }
  .stats-list li:nth-child(odd) { padding-left: 0; }
  .stats-list strong { font-size: 1.4rem; }
  .stats-list span { font-size: .88rem; line-height: 1.4; }
  /* linha do tempo vira carrossel com encaixe */
  .timeline { display: flex; gap: 1rem; margin-inline: -1rem; padding-inline: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline li { flex: 0 0 78%; scroll-snap-align: start; }
  .build-cta { padding: 1.25rem; }
  .build-cta .button { width: 100%; }
  .tab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
  .tab { justify-content: center; padding-inline: .6rem; font-size: .92rem; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.5rem; gap: .75rem; grid-template-areas: "a b" "a c" "d c" "f f" "f f" "e g" "e h"; }
  .works-grid li { border-radius: 16px; }
  .works-grid span { left: .5rem; bottom: .5rem; font-size: .76rem; }
  .brands-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .6rem 1.25rem; }
  .brands-list li { font-size: 1.05rem; }
  .review { width: 18rem; padding: 1.4rem; }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .contact-copy > .button { width: 100%; }
  .contact-map, .contact-map iframe { min-height: 20rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .float-wa { right: 1rem; bottom: 1rem; }
}

/* Telas bem estreitas */
@media (max-width: 22.5em) {
  .button-lg { white-space: normal; text-align: center; padding-inline: 1.1rem; }
  .tab { font-size: .86rem; gap: .35rem; }
  .build-cta p { font-size: .95rem; }
}

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