/* ==========================================================
   Home Clean — folha de estilos
   Paleta baseada na logo: azul #3785B2 · verde-folha #7AAC1C
   ========================================================== */

:root {
  --navy: #0F3A57;
  --navy-deep: #0A2A40;
  --blue: #3785B2;
  --blue-text: #22668F;   /* azul escurecido para texto sobre fundo claro */
  --sky: #E6F2F8;
  --mist: #F4F9FB;
  --white: #FFFFFF;
  --leaf: #7AAC1C;
  --leaf-text: #4C760B;
  --ink: #15303F;
  --muted: rgba(21, 48, 63, .68);
  --muted-light: rgba(255, 255, 255, .74);
  --line: rgba(15, 58, 87, .1);
  --line-light: rgba(255, 255, 255, .16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --header-h: 84px;
  --radius: 26px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -36px rgba(15, 58, 87, .45);
  --container: 1200px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 500; }

p { margin: 0 0 1.1em; }

button { font: inherit; }

::selection { background: var(--sky); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Logo (versão refinada em SVG) ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.logo__mark {
  width: 46px;
  height: 46px;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.logo__house { stroke: var(--leaf); }
.logo__leaf {
  fill: var(--leaf);
  stroke: none;
  transform-origin: 33px 15px;
  animation: leaf 5s ease-in-out infinite;
}
.logo__wave { stroke: var(--blue); }
@keyframes leaf {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-8deg); }
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -.01em;
}
.logo__name strong { font-weight: 500; color: var(--blue-text); }
.logo__sub {
  margin-top: 4px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--leaf-text);
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--leaf-text);
}
.eyebrow--light { color: #B5DA6A; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 18px;
}
.section__title em,
.hero__title em,
.alert__big em {
  font-style: italic;
  color: var(--blue-text);
}
.section__lead { max-width: 560px; color: var(--muted); }

.section { padding-block: clamp(84px, 11vw, 130px); }
.section__head { margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }

.link {
  font-weight: 600;
  color: var(--blue-text);
  background: linear-gradient(var(--leaf), var(--leaf)) 0 100% / 0 2px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 100% 2px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 30px -18px rgba(15, 58, 87, .4);
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
}
.pill__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--leaf);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 30px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 34px -16px rgba(55, 133, 178, .8);
}
.btn--primary::before { background: var(--navy); }

.btn--ghost {
  border-color: rgba(15, 58, 87, .2);
  color: var(--navy);
  background: rgba(255, 255, 255, .6);
}
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { border-color: var(--blue); }

.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: height .5s var(--ease);
}
/* Fundo em camada própria: backdrop-filter no próprio .header
   prenderia o menu mobile (position: fixed) à altura do cabeçalho. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -24px rgba(15, 58, 87, .6);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.header.is-scrolled { --header-h: 70px; }
.header.is-scrolled::before { opacity: 1; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--leaf);
  transform: scale(0);
  transition: transform .4s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--navy); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scale(1); }

.nav__cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.nav__cta:hover { background: var(--navy); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sky);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Bolhas (decoração suave) ---------- */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bubbles span {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 45%, rgba(55, 133, 178, .12) 70%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 12px rgba(55, 133, 178, .12);
  animation: rise linear infinite;
}
.bubbles span:nth-child(1) { left: 6%;  width: 42px;  height: 42px;  animation-duration: 16s; }
.bubbles span:nth-child(2) { left: 22%; width: 18px;  height: 18px;  animation-duration: 12s; animation-delay: 3s; }
.bubbles span:nth-child(3) { left: 38%; width: 64px;  height: 64px;  animation-duration: 20s; animation-delay: 6s; }
.bubbles span:nth-child(4) { left: 55%; width: 26px;  height: 26px;  animation-duration: 14s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 70%; width: 52px;  height: 52px;  animation-duration: 18s; animation-delay: 8s; }
.bubbles span:nth-child(6) { left: 84%; width: 22px;  height: 22px;  animation-duration: 13s; animation-delay: 4s; }
.bubbles span:nth-child(7) { left: 94%; width: 36px;  height: 36px;  animation-duration: 17s; animation-delay: 10s; }
@keyframes rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(18px, -55vh); }
  100% { transform: translate(-12px, -110vh); opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 50px) clamp(70px, 9vw, 110px);
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(122, 172, 28, .12), transparent 70%),
    radial-gradient(70% 70% at 0% 100%, rgba(55, 133, 178, .16), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, var(--mist) 100%);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__title {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--navy);
}
.hero__title em { display: block; }
.hero__lead {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
}
.hero__tags li { display: flex; align-items: center; gap: 8px; }
.hero__tags li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}
.hero__card {
  position: absolute;
  left: -34px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-size: .82rem;
  line-height: 1.35;
  color: var(--muted);
  animation: float 6s ease-in-out infinite;
  transition: opacity .6s var(--ease);
}
/* O selo de resultado some enquanto a foto do "antes" está visível */
.hero__visual:has(.show-before) .hero__card { opacity: 0; }
.hero__card strong { display: block; font-size: .92rem; color: var(--navy); }
.hero__card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
}
.hero__card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- Antes / Depois (troca suave) ---------- */
.flip {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sky);
  box-shadow: var(--shadow);
}
.flip--wide { aspect-ratio: 4 / 3; }
.flip__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .8s var(--ease), transform 1.2s var(--ease-out), filter .8s var(--ease);
}
.flip--contain .flip__img { object-fit: contain; }
.flip__img--before {
  opacity: 0;
  transform: scale(1.03);
  filter: saturate(.85);
}
.flip.show-before .flip__img--before { opacity: 1; transform: none; }
.flip.show-before .flip__img--after { opacity: 0; transform: scale(1.03); }

.flip__switch {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -14px rgba(15, 58, 87, .5);
  transform: translateX(-50%);
  isolation: isolate;
}
.flip__switch::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--blue);
  z-index: -1;
  transform: translateX(100%);
  transition: transform .5s var(--ease-out), background-color .5s var(--ease);
}
.flip.show-before .flip__switch::before { transform: none; background: var(--navy); }
.flip__switch button {
  min-width: 92px;
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color .4s var(--ease);
}
.flip__switch button[aria-pressed="true"] { color: var(--white); }

/* ---------- Alerta ---------- */
.alert {
  background: var(--navy);
  color: var(--white);
}
.alert__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px 70px;
  align-items: center;
  padding-block: clamp(50px, 7vw, 80px);
}
.alert__big {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
}
.alert__big em { color: #9FD0EA; }
.alert__text { margin: 0; color: var(--muted-light); }

/* ---------- Serviços ---------- */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease), opacity 1s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 10px 24px -14px rgba(15, 58, 87, .5);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.service__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service:hover .service__icon { background: var(--blue); color: var(--white); transform: rotate(-6deg); }
.service h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--navy);
}
.service p { margin: 8px 0 0; font-size: .93rem; color: var(--muted); }
.service__cta {
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  background: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-text);
  cursor: pointer;
}
.service__cta span { display: inline-block; transition: transform .45s var(--ease); }
.service:hover .service__cta span,
.service__cta:hover span { transform: translateX(6px); }

.service--featured {
  background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%);
  border-color: transparent;
  color: var(--white);
}
.service--featured:hover { background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); }
.service--featured h3 { color: var(--white); }
.service--featured p { color: var(--muted-light); }
.service--featured .service__icon { background: rgba(255, 255, 255, .15); color: var(--white); box-shadow: none; }
.service--featured:hover .service__icon { background: var(--leaf); }
.service--featured .service__cta { color: #B5DA6A; }

/* ---------- Resultados ---------- */
.results { background: var(--mist); }
.results__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.result { margin: 0; }
.result figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Benefícios ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.benefits__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.benefits__intro .btn { margin-top: 10px; }
.benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.benefits__list li:first-child { border-top: 1px solid var(--line); }
.benefits__list li > span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  color: var(--leaf);
}
.benefits__list h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}
.benefits__list p { margin: 0; color: var(--muted); }

/* ---------- Como funciona ---------- */
.steps {
  position: relative;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(55, 133, 178, .35), transparent 70%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.steps .section__title { color: var(--white); }
.steps .section__title em { color: #9FD0EA; }
.steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps__list::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 34px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px);
}
.step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .3);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #B5DA6A;
  transition: background-color .5s var(--ease), transform .5s var(--ease);
}
.step:hover .step__num { background: var(--blue); transform: translateY(-4px); }
.step h3 { margin-bottom: 6px; font-size: 1.08rem; font-weight: 600; }
.step p { margin: 0; font-size: .95rem; color: var(--muted-light); }

/* ---------- Dúvidas ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  padding: 24px 56px 24px 0;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-text); }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform .45s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { margin: 0; padding-bottom: 24px; color: var(--muted); }

/* ---------- Orçamento ---------- */
.quote { padding-top: 0; }
.quote__card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(122, 172, 28, .25), transparent 70%),
    linear-gradient(140deg, var(--blue) 0%, var(--navy) 70%);
  color: var(--white);
  box-shadow: 0 40px 80px -50px rgba(15, 58, 87, .9);
}
.quote .container.quote__card { width: calc(100% - 48px); padding-inline: clamp(24px, 5vw, 64px); }
.quote .section__title { color: var(--white); }
.quote .section__title em { color: #CDE9A0; }
.quote__intro > p:not(.eyebrow) { color: var(--muted-light); }

.quote__form {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
}
.field label small { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(21, 48, 63, .4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(55, 133, 178, .15);
}
.field.is-invalid input { border-color: #C2513B; }

.field--chips,
.field--radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-inline: 0;
  padding: 0;
  border: 0;
}
.field--chips legend,
.field--radio legend { width: 100%; }
.field--chips label { position: relative; margin: 0; cursor: pointer; }
.field--chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field--chips span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  font-size: .88rem;
  font-weight: 500;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.field--chips label:hover span { border-color: var(--blue); }
.field--chips input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.field--chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field--radio { gap: 8px 24px; }
.field--radio label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
}
.field--radio input { width: 18px; height: 18px; accent-color: var(--blue); }

.form__hint {
  min-height: 1.4em;
  margin: 0 0 12px;
  font-size: .9rem;
  color: #C2513B;
}

/* ---------- Contato ---------- */
.contact { padding-top: 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.contact__list { margin: 10px 0 0; padding: 0; list-style: none; }
.contact__list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
}
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list h3 {
  margin-bottom: 2px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf-text);
}
.contact__list p,
.contact__list address { margin: 0; font-style: normal; color: var(--muted); }
.contact__map {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.75) hue-rotate(-6deg);
}

/* ---------- Rodapé ---------- */
.footer {
  padding-block: 60px 36px;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.logo--footer { color: var(--white); margin-bottom: 6px; }
.logo--footer .logo__name strong { color: #9FD0EA; }
.logo--footer .logo__sub { color: #B5DA6A; }
.footer__text { margin: 0; font-size: .9rem; color: var(--muted-light); }
.footer__copy { margin: 6px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .45); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 14px 34px -10px rgba(10, 42, 64, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Animação de entrada (soft) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps__list::before { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(70% 50% at 100% 0%, rgba(122, 172, 28, .18), transparent 70%),
      linear-gradient(180deg, var(--sky), var(--white));
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; gap: 22px; text-align: center; }
  .nav__list li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease-out);
  }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .06s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .18s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .24s; }

  .nav__link { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--navy); }
  .nav__cta { margin-top: 10px; padding: 15px 34px; font-size: 1rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 400px; }
  .hero__card { left: -10px; }

  .alert__inner,
  .results__grid,
  .benefits__grid,
  .faq__grid,
  .quote__card,
  .contact__grid { grid-template-columns: 1fr; }
  .benefits__intro,
  .faq__head { position: static; }
  .contact__map { min-height: 320px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }

  .logo__mark { width: 40px; height: 40px; }
  .logo__name { font-size: 1.3rem; }

  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { max-width: 320px; }
  .hero__card { left: -6px; bottom: 76px; font-size: .76rem; }

  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service h3 { hyphens: auto; overflow-wrap: break-word; }
  .services .service--featured h3 { font-size: .94rem; letter-spacing: -.02em; }
  .service { padding: 22px 16px 18px; border-radius: var(--radius-sm); }
  .service__icon { width: 50px; height: 50px; margin-bottom: 14px; }
  .service__icon svg { width: 26px; height: 26px; }
  .service h3 { font-size: 1.15rem; }
  .service p { font-size: .82rem; }

  .flip__switch button { min-width: 80px; }

  .steps__list { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .step__num { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.3rem; }

  .benefits__list li { grid-template-columns: 48px 1fr; gap: 12px; }
  .benefits__list li > span { font-size: 1.6rem; }

  .quote .container.quote__card { width: calc(100% - 24px); padding-inline: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Acessibilidade: reduz movimentos para quem prefere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}
