/* ==========================================================================
   Paulo Passini · Assessoria Imobiliária Consultiva
   Base visual: claro, arejado, cantos arredondados e azul de destaque.
   ========================================================================== */

:root {
  --blue: #2671ff;
  --blue-600: #1a5ee6;
  --blue-50: #eef3ff;
  --blue-100: #e2eaff;
  --blue-soft: #f3f6ff;
  --ink: #171717;
  --text: #2a2a2a;
  --muted: #6b6f76;
  --line: #ebebeb;
  --soft: #f6f7f9;
  --white: #ffffff;
  --danger: #d93a3a;

  --radius: 32px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --container: 1160px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue); color: var(--white); }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.container-wide {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

section { padding: 120px 0; }

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Tipografia ---------- */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.h1 { font-size: clamp(38px, 5.4vw, 66px); }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -0.03em; }

.accent { color: var(--blue); }

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.lead strong { color: var(--ink); font-weight: 500; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
}

.pill .ic { width: 16px; height: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--blue);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease),
              transform .4s var(--ease), box-shadow .4s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Texto do botão que "rola" para cima no hover (montado pelo JavaScript) */
.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.3;
  vertical-align: middle;
}

.roll-a,
.roll-b {
  display: block;
  transition: transform .55s var(--ease-out);
}

.roll-b { position: absolute; left: 0; top: 100%; }
.btn:hover .roll-a,
.btn:hover .roll-b { transform: translateY(-100%); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 12px 28px -10px rgba(38, 113, 255, .65); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #d2d2d2; box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .3); }

.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Navegação ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  transition: transform .6s var(--ease-out), box-shadow .3s var(--ease);
}

.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  transition: opacity .3s var(--ease);
}

.logo img { height: 58px; width: auto; }
.logo:hover { opacity: .75; }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle .ic-close { display: none; }
.menu-open .menu-toggle .ic-open { display: none; }
.menu-open .menu-toggle .ic-close { display: block; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  padding-top: calc(var(--nav-h) + 24px);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu a:not(.btn) {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(14px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}

.mobile-menu .btn { margin-top: 24px; }

.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a:not(.btn) { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .12s; }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 0; }

.container.hero-text {
  max-width: 920px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.hero .lead { max-width: 640px; margin: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

/* Foto do Paulo com a apresentação por cima */
.hero-media {
  position: relative;
  margin-top: 64px;
  aspect-ratio: 16 / 9;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #b9b1a6;
  isolation: isolate;
}

/* Fundo desfocado que "estende" a foto para a esquerda, abrindo espaço para o texto */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -60px;
  z-index: 0;
  background: url('../img/paulo-amplo.jpg') 0% 50% / cover no-repeat;
  filter: blur(36px) saturate(1.05);
}

.hero-photo-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scale(calc(1 + var(--hz, 0) * .07));
  transform-origin: 62% 40%;
  will-change: transform;
}

.hero-photo-inner img {
  position: absolute;
  top: 0;
  left: 13%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}

.hero-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  background: rgba(238, 243, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-about {
  position: absolute;
  z-index: 3;
  left: 40px;
  bottom: 13%;
  width: min(410px, 34%);
  padding: 30px 30px 20px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .5);
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.hero-about p { margin: 0 0 12px; }

.hero-about .about-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

/* ---------- Para proprietários ---------- */

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.vision-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.vision-intro .lead { margin: 0; }
.vision-intro .btn { margin-top: 8px; }

.vision-list { display: grid; gap: 44px; }

.vision-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
}

.vision-list h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.3; margin-top: 6px; }
.vision-list p { margin: 12px 0 0; color: var(--muted); }

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
}

/* ---------- Cabeçalhos de seção ---------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}

.section-head.center { align-items: center; text-align: center; }
.section-head.center .h2 { max-width: 640px; }

/* ---------- Serviços ---------- */

.services { padding: 0 0 120px; }

.services-box {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 96px 48px 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service {
  position: relative;
  isolation: isolate;
  padding: 30px 28px 32px;
}

/* Cartão branco que aparece no hover */
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 28px 50px -30px rgba(20, 40, 90, .28);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}

.service:hover::before { opacity: 1; transform: none; }

.service h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.3; margin-top: 24px; }
.service p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

.icon-soft {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-100);
  color: var(--blue);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s var(--ease-out);
}

.icon-soft .ic { width: 22px; height: 22px; }
.service:hover .icon-soft { background: var(--blue); color: var(--white); transform: translateY(-2px) rotate(-4deg); }

/* ---------- O Cambuí em números (bloco oculto por enquanto; ver comentário no index.html) ---------- */

.numbers { padding: 0 0 120px; }

.numbers-box {
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 96px 72px 72px;
}

.numbers-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 56px;
  max-width: 980px;
  margin: 0 auto;
}

/* Brilho suave que atravessa o cartão */
.numbers-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  top: -260px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-value {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.stat-label { font-size: 15px; line-height: 1.4; opacity: .92; }
.stat-note { font-size: 13px; opacity: .7; }

.numbers-insight {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.numbers-insight p { margin: 0; font-size: 19px; line-height: 1.6; max-width: 760px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.chips-label { font-size: 14px; opacity: .8; margin-right: 6px; }

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .3s var(--ease);
}

.chip:hover { background: rgba(255, 255, 255, .26); }

/* ---------- Como funciona ---------- */

.how { padding-top: 0; }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps { display: grid; gap: 36px; }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 4px 26px;
  border: 0;
  border-left: 2px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}

.step::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: calc(var(--p, 0) * 100%);
  background: var(--blue);
}

.step:not(.is-active)::before { height: 0; }

.step-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--muted);
  transition: color .4s var(--ease);
}

.step-text {
  font-size: 16px;
  color: #9a9ea5;
  transition: color .4s var(--ease);
}

.step.is-active .step-title { color: var(--ink); }
.step.is-active .step-text { color: var(--muted); }
.step:hover .step-title { color: var(--ink); }

.how-media {
  position: relative;
  aspect-ratio: 1 / .88;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}

.how-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}

.how-media img.is-active { opacity: 1; transform: scale(1); }

/* ---------- Análise gratuita (CTA + formulário) ---------- */

.cta { padding-top: 0; }

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.cta-box::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  left: -220px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}

.cta-eyebrow { font-size: 16px; font-weight: 500; opacity: .85; }
.cta-text .h2 { color: var(--white); margin: 16px 0 20px; }
.cta-text p { margin: 0; font-size: 18px; opacity: .9; max-width: 460px; }

.cta-list { display: grid; gap: 12px; margin-top: 32px; }
.cta-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }

.cta-list .ic {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  stroke-width: 2.4;
}

.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 40px 80px -40px rgba(0, 20, 80, .55);
}

#form-analise { display: grid; gap: 20px; }
#form-analise[hidden] { display: none; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field label,
.field legend {
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.field legend { margin-bottom: 8px; }
.field small { font-weight: 400; color: var(--muted); }

.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #e1e3e8;
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.field input[type="text"],
.field input[type="tel"],
.field select { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 92px; }

.field input::placeholder,
.field textarea::placeholder { color: #a3a7ad; }

.field input[type="text"]:hover,
.field input[type="tel"]:hover,
.field select:hover,
.field textarea:hover { border-color: #cfd3da; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 113, 255, .14);
}

.select-wrap { position: relative; }

.select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }

.choice { position: relative; cursor: pointer; }

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #e1e3e8;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}

.choice:hover span { border-color: var(--blue); }
.choice:active span { transform: scale(.96); }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(38, 113, 255, .2); }

.error { font-size: 14px; color: var(--danger); }
.error:empty { display: none; }
.has-error input[type="text"],
.has-error input[type="tel"] { border-color: var(--danger); }
.has-error .choice span { border-color: rgba(217, 58, 58, .55); }

#form-analise .btn-block { height: 56px; margin-top: 4px; }
.form-note { margin: -6px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 8px;
}

.form-success[hidden] { display: none; }
.form-success h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.25; }
.form-success p { margin: 0 0 10px; color: var(--muted); }

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 6px;
}

.success-icon .ic { width: 28px; height: 28px; stroke-width: 2.4; }

.link-btn {
  margin-top: 6px;
  border: 0;
  background: none;
  font-size: 15px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

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

.footer { padding: 96px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
}

.footer-claim {
  margin: 20px 0 16px;
  max-width: 340px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-meta { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

.footer h4 {
  margin-bottom: 18px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}

/* Links das colunas (o logo da marca fica de fora para ser idêntico ao do topo) */
.footer-grid > div:not(.footer-brand) a,
.footer-grid > div:not(.footer-brand) span { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid > div:not(.footer-brand) a { transition: color .25s var(--ease); }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--blue); }
.footer-grid .ic { width: 17px; height: 17px; color: var(--blue); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Botão flutuante ---------- */

.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  height: 52px;
  box-shadow: 0 16px 36px -14px rgba(38, 113, 255, .8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s var(--ease);
}

.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab.is-visible:hover { transform: translateY(-2px); }

/* ---------- Desfoque progressivo na parte de baixo da tela ---------- */

.bottom-blur {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: 180px;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.bottom-blur i {
  position: absolute;
  inset: 0;
}

.bottom-blur i:nth-child(1) {
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%);
  mask-image: linear-gradient(to bottom, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%);
}

.bottom-blur i:nth-child(2) {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%);
}

.bottom-blur i:nth-child(3) {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 75%, #000 87.5%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 75%, #000 87.5%, #000 100%);
}

.bottom-blur i:nth-child(4) {
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 82%, #000 92%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 82%, #000 92%, #000 100%);
}

.bottom-blur i:nth-child(5) {
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 88%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 88%, #000 100%);
}

.menu-open .bottom-blur { opacity: 0 !important; }

/* ---------- Blog ---------- */

[data-blog-link][hidden] { display: none !important; }

.blog-home { padding-top: 0; }
.blog-page { padding: 56px 0 120px; }

.blog-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-height: 40vh;
}

.blog-empty .lead { margin: 0; }

.split-head {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.split-head > div { display: flex; flex-direction: column; gap: 18px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.card-media {
  width: 100%;
  aspect-ratio: 4 / 2.85;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.guide-card:hover .card-media img { transform: scale(1.06); }

.card-title {
  margin-top: 22px;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.25;
  transition: color .3s var(--ease);
}

.guide-card:hover .card-title { color: var(--blue); }

.card-text { margin: 12px 0 0; font-size: 16px; color: var(--muted); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 500;
  color: var(--blue);
}

.read-more .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.guide-card:hover .read-more .arrow { transform: translateX(4px); }

.article { padding: 40px 0 120px; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.back .ic { width: 18px; height: 18px; transform: rotate(180deg); }
.back:hover { color: var(--blue); }

.article-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.article-head .lead { margin: 0; }
.article-meta { margin: 0; font-size: 15px; color: var(--muted); }
.article-meta strong { font-weight: 500; color: var(--ink); }

.article-cover {
  margin: 56px 0;
  aspect-ratio: 16 / 7.6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}

.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 18px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 52px; font-size: 30px; letter-spacing: -0.03em; line-height: 1.2; }
.prose h3 { margin-top: 36px; font-size: 22px; letter-spacing: -0.02em; line-height: 1.3; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul,
.prose ol { padding-left: 24px; display: grid; gap: 10px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--blue); }

.prose blockquote {
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--blue);
  font-size: 20px;
  color: var(--ink);
}

.prose figure { margin-block: 36px; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius-md); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.article-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 72px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}

.article-cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.2; }
.article-cta p { margin: 0 0 8px; opacity: .9; }
.article-cta .btn { background: var(--white); color: var(--blue); }
.article-cta .btn:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }

/* ==========================================================================
   Animações de entrada (só com JavaScript ativo)
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

.js [data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i) * 55ms);
}

.js [data-split].in .w { opacity: 1; transform: none; filter: none; }

/* Fotos que "abrem" ao entrar na tela */
.js [data-clip] {
  clip-path: inset(7% 7% 7% 7% round var(--radius));
  transition: clip-path 1.6s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-clip].in { clip-path: inset(0 0 0 0 round var(--radius)); }

.js .hero-photo[data-clip] .hero-photo-inner img {
  transform: scale(1.14);
  transition: transform 2.2s var(--ease-out) var(--d, 0s);
}

.js .hero-photo[data-clip].in .hero-photo-inner img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal],
  .js [data-split] .w,
  .js [data-clip],
  .js .hero-photo[data-clip] .hero-photo-inner img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .hero-photo-inner { transform: none; }
  .how-media img { transition: none; }
  .nav.is-hidden { transform: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1080px) {
  section { padding: 96px 0; }
  .nav-links { gap: 26px; font-size: 16px; }

  /* Foto em cima, apresentação logo abaixo */
  .hero-media { aspect-ratio: auto; }
  .hero-photo { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .hero-photo::before { display: none; }
  .hero-photo-inner img { left: 0; -webkit-mask-image: none; mask-image: none; object-position: 50% 30%; }
  .hero-about {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(620px, calc(100% - 40px));
    margin: -64px auto 0;
    font-size: 15.5px;
  }

  .services-box,
  .numbers-box { padding: 72px 32px 48px; }
  .services { padding-bottom: 96px; }
  .services-box { padding-bottom: 56px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .cta-box { grid-template-columns: 1fr; padding: 56px; gap: 44px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-page { padding-bottom: 96px; }
  .article { padding-bottom: 96px; }
  .how-grid,
  .vision-grid { gap: 56px; }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero-photo { aspect-ratio: 4 / 4.6; }
  .hero-photo-inner img { object-position: 50% 20%; }

  .vision-grid,
  .how-grid { grid-template-columns: 1fr; }

  .vision-intro { position: static; }
  .how-media { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --nav-h: 72px; --radius: 24px; --radius-md: 20px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  section { padding: 76px 0; }

  .logo img { height: 48px; }
  .hero { padding-top: 32px; }
  .container.hero-text { gap: 20px; }
  .lead { font-size: 17px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }

  .hero-media { margin-top: 40px; }
  .hero-photo { aspect-ratio: 4 / 4.9; }
  .hero-tag { top: 14px; right: 14px; left: auto; font-size: 13px; padding: 7px 13px; }
  .hero-about { width: calc(100% - 24px); margin-top: -48px; padding: 24px 22px 14px; font-size: 15px; }

  .section-head { margin-bottom: 40px; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .cards-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-page { padding: 32px 0 76px; }
  .article { padding: 24px 0 76px; }
  .narrow { width: calc(100% - 32px); }
  .article-cover { margin: 40px 0; aspect-ratio: 4 / 3; }
  .prose { font-size: 17px; }
  .prose h2 { margin-top: 44px; font-size: 25px; }
  .article-cta { margin-top: 52px; padding: 32px 22px; }
  .article-cta .btn { width: 100%; }
  .services { padding-bottom: 76px; }
  .services-box { padding: 56px 8px 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service { padding: 24px 18px 28px; }

  .step-title { font-size: 21px; }
  .steps { gap: 28px; }

  .numbers { padding-bottom: 76px; }
  .numbers-box { padding: 56px 16px 36px; }
  .numbers-card { padding: 32px 22px; }
  .stats { gap: 28px 18px; }
  .numbers-insight p { font-size: 17px; }

  .cta-box { padding: 40px 20px 20px; }
  .form-card { padding: 24px 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-claim { font-size: 23px; }
  .footer { padding-bottom: 32px; }

  .fab { right: 16px; bottom: 16px; left: 16px; }

  .bottom-blur { height: 120px; }
}
