/* Refrigeração do Bairro - estilo.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap");

/* ---------- Variáveis e base ---------- */
:root {
  --fundo: #ffffff;
  --texto: #1b3a5c;
  --principal: #0b6fd6;
  --principal-escuro: #095bb0;
  --destaque: #19b5e8;
  --suave: #eaf4fd;
  --borda: #d3e5f7;
  --texto-leve: #46627f;
  --raio: 1.25rem;
  --sombra: 0 10px 30px rgba(11, 111, 214, 0.1);
  --largura: 1120px;
  --fonte-titulos: "Outfit", system-ui, sans-serif;
  --fonte-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.7;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; border-radius: var(--raio); }
a { color: var(--principal); text-underline-offset: 3px; }
a:hover { color: var(--principal-escuro); }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--principal);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--fonte-titulos);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--texto);
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.pular-para-conteudo {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--principal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  z-index: 100;
}
.pular-para-conteudo:focus { top: 0.5rem; color: #fff; }

/* ---------- Seções ---------- */
.container, .secao > .conteudo {
  width: min(100% - 2.5rem, var(--largura));
  margin-inline: auto;
}
section, .secao { padding-block: clamp(3.5rem, 9vw, 6.5rem); position: relative; }
section > .container, .secao > .container { position: relative; z-index: 1; }
.secao-suave, .faixa { background: var(--suave); }
.secao-titulo { max-width: 46rem; margin-bottom: 2.5rem; }
.secao-titulo.centro, .centro { text-align: center; margin-inline: auto; }
.chamada { font-size: 1.15rem; color: var(--texto-leve); max-width: 40rem; }
.chamada.centro { margin-inline: auto; }
.etiqueta {
  display: inline-block;
  background: var(--suave);
  color: var(--principal-escuro);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Cabeçalho e menu ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem max(1.25rem, calc((100% - var(--largura)) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--borda);
}
.marca {
  font-family: var(--fonte-titulos);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--texto);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.marca::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  background: linear-gradient(135deg, var(--destaque), var(--principal));
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex: none;
}
.marca img { height: 2.5rem; width: auto; border-radius: 0; }
.menu { margin-left: auto; }
.menu-botao {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: var(--suave);
  color: var(--texto);
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font: 600 1rem var(--fonte-texto);
  cursor: pointer;
}
.menu-botao::after {
  content: "";
  width: 1.1rem;
  height: 0.8rem;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
}
.menu-botao[aria-expanded="true"]::after {
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
#menu-lista, .menu-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
#menu-lista a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
}
#menu-lista a:hover { background: var(--suave); }
#menu-lista a[aria-current="page"] { background: var(--suave); color: var(--principal-escuro); font-weight: 600; }
.topo > .botao { padding: 0.6rem 1.2rem; font-size: 0.95rem; }

/* ---------- Botões ---------- */
.botao, .botao-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--fonte-texto);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid var(--principal);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.botao { background: var(--principal); color: #fff; box-shadow: 0 8px 20px rgba(11, 111, 214, 0.25); }
.botao:hover { background: var(--principal-escuro); border-color: var(--principal-escuro); color: #fff; transform: translateY(-2px); }
.botao-sec { background: #fff; color: var(--principal-escuro); }
.botao-sec:hover { background: var(--suave); color: var(--principal-escuro); transform: translateY(-2px); }
.botao-grande { padding: 1.2rem 2.2rem; font-size: 1.15rem; }
.botoes { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.botoes.centro { justify-content: center; }

/* ---------- Hero e formas em CSS ---------- */
.hero {
  background: linear-gradient(180deg, var(--suave) 0%, #fff 100%);
  overflow: hidden;
  padding-block: clamp(4rem, 12vw, 8rem);
}
.hero .container { max-width: 52rem; margin-left: max(1.25rem, calc((100% - var(--largura)) / 2)); }
.hero h1 { margin-bottom: 1.25rem; }
.hero .chamada { font-size: 1.25rem; }
.formas { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero::before {
  width: clamp(16rem, 38vw, 30rem);
  aspect-ratio: 1;
  right: -6rem;
  top: -4rem;
  background: radial-gradient(circle at 30% 30%, rgba(25, 181, 232, 0.35), rgba(25, 181, 232, 0.08));
}
.hero::after {
  width: clamp(9rem, 22vw, 18rem);
  aspect-ratio: 1;
  right: 12%;
  bottom: -5rem;
  background: rgba(11, 111, 214, 0.08);
}
.forma { position: absolute; opacity: 0.55; color: var(--destaque); }
.gota {
  width: 3rem;
  height: 3rem;
  background: currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.onda {
  width: 8rem;
  height: 2.5rem;
  background: radial-gradient(circle at 50% 100%, transparent 56%, currentColor 58% 68%, transparent 70%) 0 0 / 2.5rem 2.5rem repeat-x;
}
.floco {
  position: relative;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(currentColor, currentColor) center / 4px 100% no-repeat;
}
.floco::before, .floco::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(currentColor, currentColor) center / 4px 100% no-repeat;
}
.floco::before { transform: rotate(60deg); }
.floco::after { transform: rotate(-60deg); }
.hero .forma:nth-child(1) { right: 18%; top: 18%; }
.hero .forma:nth-child(2) { right: 6%; bottom: 20%; }
.hero .forma:nth-child(3) { right: 32%; bottom: 10%; }

/* ---------- Faixa de destaques ---------- */
.faixa { padding-block: 2rem; border-block: 1px solid var(--borda); }
.faixa ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(100% - 2.5rem, var(--largura));
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  font-weight: 500;
}
.faixa li { display: flex; align-items: center; gap: 0.75rem; }
.faixa li::before {
  content: "";
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--destaque);
  box-shadow: 0 0 0 5px rgba(25, 181, 232, 0.22);
}

/* ---------- Grades e cartões ---------- */
.grade { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cartao {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 2rem;
  box-shadow: var(--sombra);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.cartao { text-decoration: none; color: inherit; display: block; }
.cartao:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 111, 214, 0.16); }
.cartao h3 { margin-bottom: 0.6rem; }
.cartao p:last-child { margin-bottom: 0; }
.cartao .mais { font-weight: 600; color: var(--principal); }
.secao-suave .cartao { border-color: transparent; }

/* Ícones em CSS */
.icone {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  border-radius: 1.1rem;
  background: var(--suave);
  color: var(--principal);
}
.icone::before { content: ""; width: 1.6rem; height: 1.6rem; background: currentColor; }
.icone-gota::before { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.icone-floco::before {
  background:
    linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat;
  width: 1.9rem;
  height: 1.9rem;
}
.icone-onda::before {
  width: 2rem;
  height: 1rem;
  background: radial-gradient(circle at 50% 100%, transparent 50%, currentColor 54% 70%, transparent 74%) 0 0 / 1rem 1rem repeat-x;
}
.icone-anel::before { background: none; border: 4px solid currentColor; border-radius: 50%; }

/* ---------- Passos ---------- */
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: passo; }
.passos li {
  counter-increment: passo;
  background: #fff;
  border-radius: var(--raio);
  padding: 2rem;
  border: 1px solid var(--borda);
}
.passos li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--suave);
  color: var(--principal-escuro);
  font: 700 1.3rem var(--fonte-titulos);
}

/* ---------- Preços ---------- */
.preco-destaque {
  text-align: center;
  background: #fff;
  border: 2px solid var(--borda);
  border-radius: var(--raio);
  padding: 2rem;
}
.preco-destaque .nome { font-weight: 600; margin-bottom: 0.4rem; }
.preco, .preco-valor {
  display: block;
  font: 700 clamp(2.2rem, 5vw, 3rem)/1.1 var(--fonte-titulos);
  color: var(--principal-escuro);
  margin: 0.5rem 0;
}
.preco small { font: 500 1rem var(--fonte-texto); color: var(--texto-leve); }
.nota { font-size: 0.95rem; color: var(--texto-leve); }

.tabela-rolagem { overflow-x: auto; border-radius: var(--raio); border: 1px solid var(--borda); }
.tabela-precos { width: 100%; border-collapse: collapse; background: #fff; min-width: 28rem; }
.tabela-precos caption { text-align: left; padding: 1rem 1.25rem; font-weight: 600; }
.tabela-precos th, .tabela-precos td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--borda); }
.tabela-precos thead th { background: var(--suave); font-family: var(--fonte-titulos); }
.tabela-precos tbody tr:last-child td, .tabela-precos tbody tr:last-child th { border-bottom: 0; }
.tabela-precos td:last-child { font-weight: 600; color: var(--principal-escuro); white-space: nowrap; }

/* ---------- Serviço detalhado (servicos.html) ---------- */
.servico {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: center;
  grid-template-columns: 1fr;
  padding-block: 2rem;
  border-bottom: 1px solid var(--borda);
}
.servico:last-child { border-bottom: 0; }
.lista-check { list-style: none; padding: 0; }
.lista-check li { position: relative; padding-left: 1.9rem; margin-bottom: 0.5rem; }
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.6rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--destaque);
}

/* ---------- Grade de fotos ---------- */
.grade-fotos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.grade-fotos figure { margin: 0; }
.grade-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grade-fotos figcaption { font-size: 0.9rem; color: var(--texto-leve); padding-top: 0.5rem; }

/* ---------- Perguntas frequentes ---------- */
.faq { max-width: 48rem; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 1rem;
  margin-bottom: 0.9rem;
  padding: 0 1.4rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font: 600 1.1rem var(--fonte-titulos);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--suave);
  color: var(--principal-escuro);
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { padding-bottom: 0.4rem; color: var(--texto-leve); }

/* ---------- Depoimentos ---------- */
.depoimentos { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.depoimento {
  margin: 0;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 2rem;
  position: relative;
}
.depoimento::before {
  content: "\201C";
  font: 700 4rem/1 var(--fonte-titulos);
  color: var(--destaque);
  display: block;
  height: 2rem;
}
.depoimento p { font-size: 1.05rem; }
.depoimento footer, .depoimento cite { font-style: normal; font-weight: 600; font-size: 0.95rem; color: var(--texto-leve); }

/* ---------- Formulário ---------- */
.formulario { display: grid; gap: 1.1rem; max-width: 36rem; }
.formulario label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.formulario input, .formulario select, .formulario textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: 400 1rem var(--fonte-texto);
  color: var(--texto);
  background: #fff;
  border: 2px solid var(--borda);
  border-radius: 0.9rem;
}
.formulario textarea { min-height: 8rem; resize: vertical; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus {
  outline: 3px solid rgba(11, 111, 214, 0.35);
  border-color: var(--principal);
}
.formulario .botao { justify-self: start; }

/* ---------- Contato, mapa e dados ---------- */
.contato-grade { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.dados { list-style: none; padding: 0; margin: 0; }
.dados li { padding: 0.75rem 0; border-bottom: 1px solid var(--borda); }
.dados li:last-child { border-bottom: 0; }
.dados strong { display: block; font-family: var(--fonte-titulos); }
.mapa {
  border-radius: var(--raio);
  overflow: hidden;
  border: 1px solid var(--borda);
  aspect-ratio: 16 / 10;
  background: var(--suave);
}
.mapa iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Chamada final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--suave), #d6ecfb);
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  width: 18rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(25, 181, 232, 0.18);
  left: -6rem;
  bottom: -9rem;
}
.cta-final .chamada { margin-inline: auto; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.zap-flutuante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.3rem;
  background: var(--principal);
  color: #fff;
  font: 600 1rem/1 var(--fonte-texto);
  text-decoration: none;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(11, 111, 214, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.zap-flutuante:hover { background: var(--principal-escuro); color: #fff; transform: translateY(-3px); }
.zap-flutuante svg, .zap-flutuante img { width: 1.5rem; height: 1.5rem; border-radius: 0; flex: none; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--suave);
  border-top: 1px solid var(--borda);
  padding: 3.5rem max(1.25rem, calc((100% - var(--largura)) / 2)) 6rem;
  font-size: 0.97rem;
}
.rodape h2, .rodape h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.rodape-grade { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: 0.4rem; }
.rodape p { margin-bottom: 0.5rem; }
.rodape .copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--borda); color: var(--texto-leve); font-size: 0.9rem; }

/* ---------- Responsivo ---------- */
@media (min-width: 48.01rem) {
  .servico { grid-template-columns: 1fr 1fr; }
  .servico:nth-child(even) > :first-child { order: 2; }
  .contato-grade { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 48rem) {
  body { font-size: 1rem; }
  .js .menu-botao { display: inline-flex; }
  .js #menu-lista {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--borda);
    box-shadow: var(--sombra);
  }
  .js .menu.aberto #menu-lista { display: flex; }
  #menu-lista a { padding: 0.9rem 1rem; }
  .topo { flex-wrap: wrap; }
  .topo > .botao { display: none; }
  .hero .forma { opacity: 0.3; }
  .botoes .botao, .botoes .botao-sec { width: 100%; }
  .zap-flutuante { padding: 0.9rem; }
  .zap-flutuante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .zap-flutuante:not(:has(svg, img)) span { position: static; width: auto; height: auto; clip-path: none; }
}

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