/* ==========================================================================
   HG Clean Ar Condicionado - Folha de estilo principal
   Paleta extraida da identidade da marca (gradiente do logo #36abd9 -> #023e73)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --brand-900: #012844;
  --brand-800: #023e73;
  --brand-700: #02537f;
  --brand-600: #0378a6;
  --brand-500: #1f96c6;
  --brand-400: #36abd9;
  --brand-300: #7cc9e8;
  --brand-200: #b4e0f2;
  --brand-100: #ddf0f9;
  --brand-50:  #eaf4f8;

  /* Apoio */
  --accent:      #f99c00;
  --accent-dark: #d07f00;
  --danger:      #bf000f;
  --success:     #157a4a;

  /* WhatsApp
     --wa e a cor da marca, usada so em bordas/pulso (nunca atras de texto branco:
     daria 1,98:1). Os tons de botao sao escurecidos para passar em WCAG AA:
     --wa-dark 5,27:1 e --wa-deep 6,63:1 com texto branco. */
  --wa:      #25d366;
  --wa-dark: #107c41;
  --wa-deep: #0b6b33;

  /* Neutros */
  --ink:        #0d1c2b;
  --ink-soft:   #243746;
  --muted:      #5a6b7a;
  --muted-soft: #8496a5;
  --line:       #e2ebf1;
  --line-soft:  #eef4f8;
  --surface:    #ffffff;
  --surface-2:  #f8fbfd;
  --bg:         #f2f6f9;

  /* Tipografia */
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;

  /* Espacamento (escala 4pt) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Formas */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* Elevacao */
  --sh-1: 0 1px 2px rgba(2, 62, 115, 0.06), 0 1px 3px rgba(2, 62, 115, 0.08);
  --sh-2: 0 4px 10px rgba(2, 62, 115, 0.07), 0 2px 4px rgba(2, 62, 115, 0.05);
  --sh-3: 0 12px 28px rgba(2, 62, 115, 0.10), 0 4px 10px rgba(2, 62, 115, 0.06);
  --sh-4: 0 24px 56px rgba(2, 62, 115, 0.14), 0 8px 18px rgba(2, 62, 115, 0.08);
  --sh-brand: 0 14px 34px rgba(3, 120, 166, 0.28);
  --sh-wa: 0 12px 28px rgba(37, 211, 102, 0.34);

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 400ms;

  /* Layout */
  --container: 1180px;
  --header-h: 76px;

  /* Camadas */
  --z-base: 1;
  --z-sticky: 40;
  --z-float: 60;
  --z-header: 80;
  --z-drawer: 90;
  --z-top: 100;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

/* O atributo hidden precisa vencer as regras de display das classes abaixo
   (.result__note usa flex, .calc__row usa grid, etc.). */
[hidden] { display: none !important; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-400); color: #fff; }

/* --------------------------------------------------------------------------
   3. Utilitarios de layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--surface { background: var(--surface); }
.section--soft { background: var(--surface-2); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-top);
  background: var(--brand-800);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --------------------------------------------------------------------------
   4. Cabecalho de secao
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
}
.eyebrow svg { width: 16px; height: 16px; flex: none; }

.section-head { max-width: 42rem; margin-bottom: var(--sp-12); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  margin-top: var(--sp-4);
}
.section-head p {
  margin-top: var(--sp-4);
  font-size: var(--fs-lg);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   5. Botoes
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-base);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }

/* brilho passando no hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  transition: left var(--dur-slow) var(--ease);
}
.btn:hover::after { left: 115%; }

.btn--wa {
  --btn-bg: var(--wa-dark);
  box-shadow: var(--sh-wa);
}
.btn--wa:hover { --btn-bg: var(--wa-deep); box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42); }

.btn--primary { box-shadow: var(--sh-brand); }
.btn--primary:hover { --btn-bg: var(--brand-700); }

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: #3a2400;
  box-shadow: 0 12px 28px rgba(249, 156, 0, 0.32);
}
.btn--accent:hover { --btn-bg: var(--accent-dark); --btn-fg: #fff; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-800);
  border: 2px solid var(--brand-200);
}
.btn--ghost:hover { --btn-bg: var(--brand-50); --btn-fg: var(--brand-900); border-color: var(--brand-400); }

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: #fff;
  border: 2px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { --btn-bg: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.6); }

.btn--sm { min-height: 44px; padding: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); }
.btn--lg { min-height: 58px; padding: var(--sp-4) var(--sp-8); font-size: var(--fs-lg); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.btn-row--center { justify-content: center; }

/* Link em texto com seta */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  color: var(--brand-600);
  min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Cabecalho fixo
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.header.is-stuck {
  height: 66px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); min-height: 44px; }
.brand img { height: 42px; width: auto; transition: height var(--dur) var(--ease); }
.header.is-stuck .brand img { height: 36px; }
.brand__text { display: none; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: var(--sp-1); }
.nav a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--brand-800); background: var(--brand-50); }
.nav a:hover::after,
.nav a[aria-current="page"]::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--brand-800); }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.header__cta { display: none; }

/* Botao hamburguer */
.burger {
  width: 48px; height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--brand-800);
  transition: background-color var(--dur) var(--ease);
}
.burger:hover { background: var(--brand-50); }
.burger span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(1, 40, 68, 0.55);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute;
  inset: 0 0 auto 0;
  background: var(--surface);
  padding: calc(var(--header-h) + var(--sp-4)) var(--sp-5) var(--sp-8);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  box-shadow: var(--sh-4);
  transform: translateY(-102%);
  transition: transform var(--dur-slow) var(--ease-out);
  max-height: 100dvh;
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateY(0); }

.drawer nav ul { display: grid; gap: var(--sp-1); }
.drawer nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.drawer nav a:hover { background: var(--brand-50); border-color: var(--brand-100); }
.drawer nav a svg { width: 18px; height: 18px; color: var(--brand-400); }
.drawer__foot { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }

/* Barra de progresso de leitura */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  z-index: var(--z-top);
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600), var(--accent));
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(54, 171, 217, 0.30), transparent 62%),
    radial-gradient(900px 560px at 92% 8%, rgba(3, 120, 166, 0.24), transparent 58%),
    linear-gradient(168deg, #02335f 0%, var(--brand-800) 42%, #01507e 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero h1, .hero h2, .hero h3 { color: #fff; }

/* Malha decorativa */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 10%, transparent 72%);
}

/* Ondas de ar frio */
.hero__waves {
  position: absolute;
  inset: auto 0 -2px 0;
  z-index: -1;
  line-height: 0;
  color: var(--bg);
}
.hero__waves svg { width: 100%; height: clamp(48px, 7vw, 96px); }

/* Particulas de ar */
.hero__air { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__air i {
  position: absolute;
  display: block;
  width: 10px; height: 10px;
  border-radius: var(--r-full);
  background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.9), rgba(180, 224, 242, 0.15));
  opacity: 0;
  animation: drift 16s linear infinite;
}
.hero__air i:nth-child(1)  { left: 8%;  top: 18%; animation-delay: 0s;    transform: scale(0.7); }
.hero__air i:nth-child(2)  { left: 22%; top: 62%; animation-delay: -2.5s; transform: scale(1.1); }
.hero__air i:nth-child(3)  { left: 37%; top: 30%; animation-delay: -5s;   transform: scale(0.5); }
.hero__air i:nth-child(4)  { left: 51%; top: 74%; animation-delay: -7.5s; transform: scale(0.9); }
.hero__air i:nth-child(5)  { left: 66%; top: 22%; animation-delay: -10s;  transform: scale(1.3); }
.hero__air i:nth-child(6)  { left: 79%; top: 55%; animation-delay: -12s;  transform: scale(0.6); }
.hero__air i:nth-child(7)  { left: 90%; top: 34%; animation-delay: -14s;  transform: scale(1); }
.hero__air i:nth-child(8)  { left: 15%; top: 84%; animation-delay: -6s;   transform: scale(0.8); }

@keyframes drift {
  0%   { opacity: 0;    translate: 0 0; }
  12%  { opacity: 0.65; }
  70%  { opacity: 0.35; }
  100% { opacity: 0;    translate: -70px -180px; }
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #eaf6fd;
}
.hero__badge svg { width: 16px; height: 16px; color: var(--brand-300); }

.hero h1 {
  font-size: clamp(2.1rem, 6.2vw, 3.6rem);
  margin-top: var(--sp-5);
  letter-spacing: -0.03em;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--brand-300), #fff 45%, var(--brand-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: var(--sp-5);
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: rgba(233, 245, 252, 0.9);
  max-width: 36rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #dcefF9;
}
.hero__chip svg { width: 16px; height: 16px; color: var(--brand-300); flex: none; }
.hero__chip .stars { color: var(--accent); letter-spacing: 1px; }

/* Cartao visual do hero */
.hero__visual { position: relative; }

.hero__card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  animation: floaty 7s var(--ease) infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sh-3);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  z-index: 2;
}
.hero__float small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.hero__float .ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
  flex: none;
}
.hero__float .ic svg { width: 20px; height: 20px; }
.hero__float--a { left: -6px; bottom: 22%; animation: floaty 6s var(--ease) infinite 0.4s; }
.hero__float--b { right: -6px; top: 12%; animation: floaty 8s var(--ease) infinite 1.1s; }

/* --------------------------------------------------------------------------
   8. Placeholder de imagem
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--brand-50) 0 12px, #fff 12px 24px);
  border: 1px dashed var(--brand-200);
  isolation: isolate;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--photo { aspect-ratio: 3 / 2; }
.media--square { aspect-ratio: 1 / 1; }

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease);
}
.media img[hidden] { display: none; }

.media__note {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sp-2);
  padding: var(--sp-5);
  text-align: center;
  color: var(--brand-600);
}
.media__note svg { width: 34px; height: 34px; opacity: 0.7; }
.media__note b { font-size: var(--fs-sm); font-weight: 700; }
.media__note span {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, 0.75);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  word-break: break-all;
}

/* No hero o placeholder fica em tom escuro */
.hero .media {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 12px, rgba(255,255,255,0.02) 12px 24px);
  border-color: rgba(255, 255, 255, 0.24);
}
.hero .media__note { color: var(--brand-200); }
.hero .media__note span { background: rgba(1, 40, 68, 0.5); color: var(--brand-200); }

/* --------------------------------------------------------------------------
   9. Faixa de indicadores
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.stat {
  padding: var(--sp-6) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.stat b {
  display: block;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-800);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.stat span { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Secoes em destaque (limpeza / instalacao)
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.feature__body h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); margin-top: var(--sp-4); }
.feature__body > p { margin-top: var(--sp-4); font-size: var(--fs-lg); color: var(--muted); }

.checklist { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-base);
}
.checklist li svg {
  width: 26px; height: 26px;
  padding: 5px;
  border-radius: var(--r-full);
  background: var(--brand-50);
  color: var(--brand-600);
  flex: none;
  margin-top: 1px;
}
.checklist strong { color: var(--ink); font-weight: 700; }
.checklist span { color: var(--muted); }

/* Painel de beneficios */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.mini {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.mini svg { width: 22px; height: 22px; color: var(--brand-600); }
.mini b { display: block; margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--ink); }
.mini span { font-size: var(--fs-xs); color: var(--muted); }

/* Visual empilhado com selo */
.feature__visual { position: relative; }
.feature__seal {
  position: absolute;
  right: -10px;
  bottom: -18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--brand-800);
  color: #fff;
  box-shadow: var(--sh-4);
  max-width: 15rem;
}
.feature__seal svg { width: 30px; height: 30px; color: var(--brand-300); flex: none; }
.feature__seal b { display: block; font-size: var(--fs-sm); color: #fff; }
.feature__seal span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------------------
   11. Etapas / timeline
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; margin-top: var(--sp-8); }
.step {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) calc(var(--sp-5) + 58px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--sp-5);
  top: var(--sp-5);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--brand-400), var(--brand-700));
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  box-shadow: var(--sh-2);
}
.step h3 { font-size: var(--fs-lg); }
.step p { margin-top: var(--sp-2); color: var(--muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   12. Cards de servico
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--sp-5); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.card:hover .media img { transform: scale(1.05); }

.card__body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--fs-xl); }
.card p { margin-top: var(--sp-3); color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.card .btn { margin-top: var(--sp-5); }

.card--highlight { border-color: var(--brand-300); box-shadow: var(--sh-2); }
.card__tag {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 3;
  padding: 5px var(--sp-3);
  border-radius: var(--r-full);
  background: var(--accent);
  color: #3a2400;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. Sinais de alerta
   -------------------------------------------------------------------------- */
.signals { display: grid; gap: var(--sp-3); margin-top: var(--sp-8); }
.signal {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.signal:hover { transform: translateX(5px); border-color: var(--brand-200); background: var(--brand-50); }
.signal .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: rgba(249, 156, 0, 0.12);
  color: var(--accent-dark);
}
.signal .ic svg { width: 22px; height: 22px; }
.signal b { display: block; color: var(--ink); font-size: var(--fs-base); }
.signal span { font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   14. Calculadora de BTUs
   -------------------------------------------------------------------------- */
.calc {
  display: grid;
  gap: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--sh-3);
}

.field { display: grid; gap: var(--sp-2); }
.field > label, .field > .field__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}
.field__hint { font-size: var(--fs-xs); color: var(--muted); }

.input, .select {
  width: 100%;
  min-height: 52px;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input:hover, .select:hover { border-color: var(--brand-200); }
.input:focus, .select:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(54, 171, 217, 0.18);
}
.input[aria-invalid="true"] { border-color: var(--danger); }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  background-size: 18px;
  padding-right: calc(var(--sp-4) * 2 + 18px);
}

.field__error {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--danger);
}
.field__error svg { width: 14px; height: 14px; flex: none; }
.field.has-error .field__error { display: flex; }

/* Aviso independente do estado de erro do campo (alternado via [hidden]) */
.note-warn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-dark);
}
.note-warn svg { width: 15px; height: 15px; flex: none; }

.calc__grid { display: grid; gap: var(--sp-5); }
.calc__row { display: grid; gap: var(--sp-5); }

/* Grupo de opcoes tipo "segmented" */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip-opt { position: relative; }
.chip-opt input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip-opt span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  border: 2px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.chip-opt span svg { width: 17px; height: 17px; }
.chip-opt input:hover + span { border-color: var(--brand-200); color: var(--ink); }
.chip-opt input:checked + span {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-800);
}
.chip-opt input:focus-visible + span {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

/* Contador +/- */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: 2px solid var(--line);
  border-radius: var(--r-full);
  padding: 4px;
  background: var(--surface);
}
.stepper button {
  width: 44px; height: 44px;
  flex: none; /* sem isso o flex encolhe o botao abaixo do alvo minimo de 44px */
  display: grid; place-items: center;
  border-radius: var(--r-full);
  color: var(--brand-800);
  background: var(--brand-50);
  transition: background-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
  touch-action: manipulation;
}
.stepper button:hover { background: var(--brand-100); }
.stepper button:active { transform: scale(0.92); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper button svg { width: 18px; height: 18px; }
.stepper output {
  min-width: 3ch;
  text-align: center;
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Resultado */
.result {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(700px 320px at 88% -20%, rgba(54, 171, 217, 0.35), transparent 60%),
    linear-gradient(150deg, var(--brand-800), #01507e);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--sh-brand);
}
.result h3 { color: #fff; font-size: var(--fs-lg); }
.result__value {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}
.result__value b {
  font-size: clamp(2.6rem, 9vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff, var(--brand-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result__value small { font-size: var(--fs-lg); font-weight: 700; color: var(--brand-200); }

.result__meta {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.result__meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
}
.result__meta span { color: rgba(233, 245, 252, 0.75); }
.result__meta b { color: #fff; font-variant-numeric: tabular-nums; }

.result__note {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: rgba(233, 245, 252, 0.9);
}
.result__note svg { width: 18px; height: 18px; flex: none; color: var(--brand-200); }

.result--empty {
  background: var(--surface-2);
  border: 1px dashed var(--brand-200);
  box-shadow: none;
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
  gap: var(--sp-3);
  min-height: 260px;
}
.result--empty h3 { color: var(--ink); }
.result--empty svg { width: 42px; height: 42px; color: var(--brand-300); }

/* animacao de troca do valor */
.pop { animation: pop var(--dur-slow) var(--ease-out); }
@keyframes pop {
  0%   { transform: scale(0.9); opacity: 0.2; }
  60%  { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Tabela de referencia */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table.ref { width: 100%; border-collapse: collapse; min-width: 34rem; }
table.ref caption {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-size: var(--fs-sm);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
table.ref th, table.ref td {
  padding: var(--sp-3) var(--sp-5);
  text-align: left;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--line-soft);
}
table.ref th { background: var(--brand-50); color: var(--brand-800); font-weight: 700; white-space: nowrap; }
table.ref td { color: var(--muted); font-variant-numeric: tabular-nums; }
table.ref td:first-child { color: var(--ink); font-weight: 600; }
table.ref tbody tr:last-child td { border-bottom: 0; }
table.ref tbody tr { transition: background-color var(--dur-fast) var(--ease); }
table.ref tbody tr:hover { background: var(--surface-2); }

/* --------------------------------------------------------------------------
   15. Galeria
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.filter {
  min-height: 44px;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  border: 2px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
  touch-action: manipulation;
}
.filter:hover { border-color: var(--brand-200); color: var(--ink); }
.filter[aria-pressed="true"] {
  background: var(--brand-800);
  border-color: var(--brand-800);
  color: #fff;
}

.gallery { display: grid; gap: var(--sp-5); }
.gallery__item { transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.gallery__item[hidden] { display: none; }
.gallery__item.is-out { opacity: 0; transform: scale(0.96); }

.tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.tile:hover .media img { transform: scale(1.06); }
.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: var(--sp-6) var(--sp-4) var(--sp-4);
  background: linear-gradient(transparent, rgba(1, 40, 68, 0.86));
  color: #fff;
}
.tile__cap b { display: block; font-size: var(--fs-sm); }
.tile__cap span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.75); }

/* --------------------------------------------------------------------------
   16. Avaliacoes
   -------------------------------------------------------------------------- */
.rating-box {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.rating-box__score {
  font-size: clamp(2.8rem, 8vw, 3.6rem);
  font-weight: 800;
  color: var(--brand-800);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rating-box__score sup { font-size: var(--fs-lg); color: var(--muted); font-weight: 600; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; }

.reviews { display: grid; gap: var(--sp-5); }
.review {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.review blockquote { flex: 1; color: var(--ink-soft); font-size: var(--fs-base); }
.review blockquote::before { content: "\201C"; font-size: 2.6rem; line-height: 0.1; color: var(--brand-200); vertical-align: -0.35em; margin-right: 4px; }
.review footer { margin-top: var(--sp-5); display: flex; align-items: center; gap: var(--sp-3); }
.review .avatar {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: linear-gradient(140deg, var(--brand-400), var(--brand-700));
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-sm);
  flex: none;
}
.review cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: var(--fs-sm); display: block; }
.review time { font-size: var(--fs-xs); color: var(--muted); }

/* --------------------------------------------------------------------------
   17. Area de atendimento
   -------------------------------------------------------------------------- */
.cities { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.city {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--dur) var(--ease);
}
.city svg { width: 15px; height: 15px; color: var(--brand-400); }
.city:hover { border-color: var(--brand-300); background: var(--brand-50); transform: translateY(-2px); }
.city--main { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.city--main svg { color: var(--brand-300); }
.city--main:hover { background: var(--brand-700); }

.districts {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.9;
}
.districts b { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--sh-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 60px;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--brand-50); }
.faq summary .chev {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--brand-50);
  color: var(--brand-600);
  flex: none;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq summary .chev svg { width: 17px; height: 17px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--brand-100); }
.faq__answer { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted); font-size: var(--fs-sm); }
.faq details[open] .faq__answer { animation: revealDown var(--dur-slow) var(--ease-out); }
@keyframes revealDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   19. Formulario
   -------------------------------------------------------------------------- */
.form-panel {
  display: grid;
  gap: var(--sp-6);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.form-grid { display: grid; gap: var(--sp-5); }

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--muted);
  cursor: pointer;
  min-height: 44px;
  align-content: center;
}
.check input {
  width: 24px; height: 24px;
  accent-color: var(--brand-600);
  cursor: pointer;
  margin-top: 1px;
}

.form-note {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.6;
}
.form-note svg { width: 18px; height: 18px; flex: none; color: var(--brand-600); }

/* --------------------------------------------------------------------------
   20. CTA final
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 380px at 15% -10%, rgba(54, 171, 217, 0.4), transparent 60%),
    linear-gradient(140deg, var(--brand-800), #01507e 55%, var(--brand-700));
  box-shadow: var(--sh-4);
}
.cta-final h2 { color: #fff; font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
.cta-final p { margin-top: var(--sp-4); color: rgba(233, 245, 252, 0.86); font-size: var(--fs-lg); max-width: 38rem; margin-inline: auto; }
.cta-final::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  z-index: -1;
  width: 460px; height: 460px;
  border-radius: var(--r-full);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  animation: floaty 9s var(--ease) infinite;
}

/* Bloco compacto de chamada WhatsApp dentro das secoes */
.wa-band {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-6);
  margin-top: var(--sp-10);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(37, 211, 102, 0.10), rgba(3, 120, 166, 0.08));
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.wa-band b { display: block; color: var(--ink); font-size: var(--fs-lg); }
.wa-band span { font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   21. Rodape
   -------------------------------------------------------------------------- */
.footer {
  background: var(--brand-900);
  color: rgba(221, 240, 249, 0.72);
  padding-block: var(--sp-16) var(--sp-8);
  font-size: var(--fs-sm);
}
.footer h3, .footer b { color: #fff; }
.footer a { color: rgba(221, 240, 249, 0.78); }
.footer a:hover { color: #fff; }

.footer__grid { display: grid; gap: var(--sp-10); }
.footer__brand img { height: 46px; width: auto; margin-bottom: var(--sp-4); }
.footer__brand p { max-width: 24rem; }

.footer h3 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}
.footer ul { display: grid; gap: var(--sp-2); }
.footer li a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  transition: transform var(--dur) var(--ease);
}
.footer li a:hover { transform: translateX(3px); }
.footer li a svg { width: 16px; height: 16px; color: var(--brand-400); flex: none; }

.footer__bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   22. Botoes flutuantes
   -------------------------------------------------------------------------- */
.fab-wa {
  position: fixed;
  right: clamp(0.9rem, 3vw, 1.6rem);
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  height: 60px;
  padding-inline: var(--sp-4);
  border-radius: var(--r-full);
  background: var(--wa-dark);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: var(--sh-wa);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
  touch-action: manipulation;
}
.fab-wa:hover { color: #fff; background: var(--wa-deep); transform: translateY(-3px) scale(1.02); }
.fab-wa svg { width: 28px; height: 28px; flex: none; }
.fab-wa__label { display: none; }

/* pulso */
.fab-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa);
  animation: pulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

.to-top {
  position: fixed;
  left: clamp(0.9rem, 3vw, 1.6rem);
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  z-index: var(--z-float);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--brand-800);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-50); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   23. Paginas internas (topo simples)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(900px 460px at 18% -10%, rgba(54, 171, 217, 0.28), transparent 62%),
    linear-gradient(160deg, #02335f, var(--brand-800));
  color: #fff;
  overflow: hidden;
}
/* A regra global de h1..h6 usa var(--ink) e venceria a cor herdada de .page-hero,
   deixando o titulo quase preto sobre o azul. Precisa ser explicito. */
.page-hero h1, .page-hero h2, .page-hero h3 { color: #fff; }
.page-hero h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); margin-top: var(--sp-4); }
.page-hero p { margin-top: var(--sp-4); color: rgba(233, 245, 252, 0.86); font-size: var(--fs-lg); max-width: 44rem; }
.page-hero .eyebrow { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); color: #dcefF9; }
.page-hero .eyebrow svg { color: var(--brand-300); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); }
.crumbs a { color: rgba(221, 240, 249, 0.8); }
.crumbs a:hover { color: #fff; }
.crumbs li { display: flex; align-items: center; gap: var(--sp-2); color: rgba(221, 240, 249, 0.72); }
.crumbs svg { width: 13px; height: 13px; opacity: 0.6; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }

/* Conteudo corrido (politica de privacidade) */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-10); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose p { margin-top: var(--sp-4); color: var(--muted); }
.prose ul { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }
.prose ul li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: var(--sp-3);
  color: var(--muted);
}
.prose ul li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--brand-300);
  margin-top: 0.62em;
}
.prose strong { color: var(--ink); }
.prose > *:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   24. Pagina 404
   -------------------------------------------------------------------------- */
.err {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-10) var(--sp-5);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(54, 171, 217, 0.3), transparent 62%),
    linear-gradient(165deg, #02335f, var(--brand-800));
  color: #fff;
}
.err__code {
  font-size: clamp(5rem, 22vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(100deg, var(--brand-300), #fff 50%, var(--brand-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err h1 { color: #fff; font-size: clamp(1.4rem, 4.5vw, 2rem); margin-top: var(--sp-5); }
.err p { margin-top: var(--sp-4); color: rgba(233, 245, 252, 0.82); max-width: 34rem; margin-inline: auto; }
.err__links {
  margin-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}
.err__brand img { height: 52px; width: auto; margin-inline: auto; }

/* --------------------------------------------------------------------------
   25. Animacoes de entrada (scroll reveal)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Fallback: sem JS tudo aparece */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   26. Responsivo
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .fab-wa__label { display: inline; }
  .hero__float--a { left: -22px; }
  .hero__float--b { right: -22px; }
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .calc__row { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .wa-band { grid-template-columns: 1fr auto; }
  .brand__text { display: block; }
}

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .signals { grid-template-columns: repeat(2, 1fr); }
  .rating-box { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; }
  .calc { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .field--full { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .mini-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   27. Impressao
   -------------------------------------------------------------------------- */
@media print {
  .header, .drawer, .fab-wa, .to-top, .progress, .hero__air, .hero__waves { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1.5rem; }
}

/* --------------------------------------------------------------------------
   28. Movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__air, .fab-wa::before { display: none; }
}
