:root {
  --rose: #D1B9B4;
  --bege: #D4C1B3;
  --off: #FAF7F2;
  --areia: #F2EBE3;
  --ouro-escuro: #8D7041;
  --ouro: #A68C5C;
  --texto: #3A2E28;
  --texto-2: #5C4B3E;
  --texto-3: #6B5949;
  --marrom: #4A3A2C;
  --serif: "Fraunces", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --max: 1240px;
  --pad: 24px;
  --gap: 56px;
  --sec-y: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
::selection { background: var(--rose); color: #fff; }

a { color: var(--ouro-escuro); text-decoration: none; transition: color 240ms ease; }
a:hover { color: var(--ouro); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 1.05; color: var(--marrom); }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.overline { font-size: 11.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ouro); margin: 0 0 22px; }
.em { font-family: var(--script); font-style: italic; color: var(--ouro-escuro); }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  background: var(--ouro-escuro);
  color: var(--off);
  padding: 18px 34px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 240ms ease, transform 240ms ease;
}
.btn:hover { background: var(--ouro); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #6E5638; border: 1px solid rgba(141, 112, 65, 0.4); }
.btn--ghost:hover { background: transparent; border-color: var(--ouro-escuro); color: var(--ouro-escuro); }
.btn--sm { padding: 13px 24px; font-size: 12px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 22px var(--pad) 0;
  pointer-events: none;
  transition: padding 420ms var(--ease);
}
.header__in {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: calc(var(--max) - 2 * var(--pad) + 2px);
  margin: 0 auto;
  padding: 12px 14px 12px 22px;
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.6) inset,
    0 18px 44px -20px rgba(74, 58, 44, 0.28),
    0 2px 10px rgba(74, 58, 44, 0.06);
  transition: box-shadow 420ms var(--ease), padding 420ms var(--ease), background 420ms var(--ease), border-color 420ms var(--ease);
}
.header.is-scrolled { padding-top: 12px; }
.header.is-scrolled .header__in {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(250, 247, 242, 0.86);
  border-color: rgba(166, 140, 92, 0.28);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.6) inset,
    0 14px 34px -18px rgba(74, 58, 44, 0.32),
    0 2px 8px rgba(74, 58, 44, 0.08);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; position: relative; }
.brand__logo {
  display: block;
  height: 46px;
  width: auto;
  /* a arte é clara (pensada p/ fundo escuro) — filtro converte pra tom dourado-escuro legível em fundo claro */
  filter: brightness(0) saturate(100%) invert(37%) sepia(24%) saturate(944%) hue-rotate(358deg) brightness(93%) contrast(88%);
  opacity: 0.92;
  transition: transform 420ms var(--ease), opacity 300ms ease;
}
.brand:hover .brand__logo { transform: scale(1.03); opacity: 1; }

.nav {
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  color: #6E5638;
  border-radius: 999px;
  transition: color 300ms ease;
}
.nav a span { position: relative; z-index: 1; }
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--bege));
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.nav a:hover { color: #4A3A2C; }
.nav a:hover::before { opacity: 1; transform: scale(1); }

.header__acoes { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  width: 40px;
  height: 40px;
  background: rgba(166, 140, 92, 0.1);
  border: 1px solid rgba(141, 112, 65, 0.24);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  background: #6E5638;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 32px 0 64px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(209, 185, 180, 0.5), rgba(212, 193, 179, 0.05) 70%);
  pointer-events: none;
}
.hero__in { position: relative; display: flex; flex-wrap: wrap; gap: var(--gap); align-items: center; }
.hero__texto { flex: 1 1 460px; min-width: 0; }

.hero .overline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
}
.hero .overline::before { content: ""; width: 32px; height: 1px; background: var(--ouro); }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1.03; letter-spacing: -0.02em; text-wrap: balance; }
.hero .em {
  font-size: 1.05em;
  color: var(--ouro-escuro);
}
.hero__lead { margin-top: 26px; max-width: 44ch; font-size: 16.5px; line-height: 1.65; color: var(--texto-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 38px; }

.hero__selos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(141, 112, 65, 0.18);
  font-size: 12.5px;
  color: var(--texto-3);
}
.hero__selos strong { color: var(--ouro-escuro); font-weight: 500; }
.hero__selos-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); flex: 0 0 auto; }

.hero__fig { flex: 0 1 480px; min-width: 320px; margin: 0; position: relative; }
.hero__fig::before {
  content: "";
  position: absolute;
  inset: -36px -50px -36px -36px;
  z-index: -2;
  background: radial-gradient(ellipse at 55% 40%, rgba(166, 140, 92, 0.32), rgba(166, 140, 92, 0) 68%);
  filter: blur(2px);
  pointer-events: none;
}
.hero__fig::after {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(166, 140, 92, 0.5);
  border-radius: 50%;
  z-index: -1;
}
.moldura {
  position: relative;
  border-radius: 12px 140px 12px 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  background: linear-gradient(160deg, #E7DCD3, var(--rose));
  box-shadow:
    0 2px 6px -2px rgba(74, 58, 44, 0.16),
    0 28px 58px -22px rgba(74, 58, 44, 0.4),
    0 64px 120px -38px rgba(74, 58, 44, 0.4),
    0 0 60px -18px rgba(166, 140, 92, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  transform: translateY(var(--parallax, 0px));
  transition: box-shadow 700ms var(--ease);
  will-change: transform;
}
.hero__fig:hover .moldura { box-shadow:
    0 2px 6px -2px rgba(74, 58, 44, 0.2),
    0 34px 66px -20px rgba(74, 58, 44, 0.45),
    0 72px 130px -34px rgba(74, 58, 44, 0.45),
    0 0 76px -14px rgba(166, 140, 92, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.moldura img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
  filter: saturate(1.02) contrast(1.03);
  transition: transform 900ms var(--ease);
}
.hero__fig:hover .moldura img { transform: scale(1.03); }
.ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 10px, rgba(255, 255, 255, 0) 10px 20px),
    linear-gradient(160deg, #E7DCD3, var(--rose));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6E5638;
  line-height: 1.8;
}
/* ---------- sinais ---------- */
.sinais { background: var(--rose); padding: 72px 0; margin-top: 40px; }
.sinais__in { display: flex; flex-direction: column; }
.sinais__intro { max-width: 60ch; }
.sinais__intro .overline { color: #7A5F49; }
.sinais__intro h2 { font-size: clamp(28px, 3vw, 42px); color: #fff; }
.sinais__intro p { margin-top: 16px; max-width: 62ch; font-size: 15px; line-height: 1.6; color: #4E3C30; }
.sinais__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.34);
}
.sinal { background: var(--rose); padding: 20px 20px 22px; }
.sinal span { font-family: var(--serif); font-size: 12px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.85); }
.sinal h3 { font-weight: 400; font-size: 16.5px; line-height: 1.25; color: #43342A; margin: 8px 0 6px; }
.sinal p { font-size: 13px; line-height: 1.5; color: #5B483B; }

/* ---------- antes / depois (barra compacta) ---------- */
.antes-depois {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(74, 58, 44, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}
.antes-depois__fotos { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.antes-depois__foto { position: relative; margin: 0; }
.antes-depois__foto img {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px -12px rgba(74, 58, 44, 0.4);
  filter: saturate(0.55) brightness(0.88);
}
.antes-depois__foto--ouro img { filter: none; border-color: var(--ouro-escuro); }
.antes-depois__foto figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5B483B;
}
.antes-depois__seta { font-family: var(--serif); font-size: 26px; color: var(--ouro-escuro); }

.antes-depois__texto { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; flex: 1 1 320px; justify-content: flex-end; }
.antes-depois__texto p { font-size: 16.5px; color: #43342A; margin: 0; }
.antes-depois__cta { flex: 0 0 auto; }

/* ---------- serviços ---------- */
.servicos { padding: 116px 0; }
.servicos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(141, 112, 65, 0.22);
  padding-bottom: 30px;
}
.servicos__head h2 { font-size: clamp(32px, 4vw, 58px); }
.servicos__head p { max-width: 34ch; font-size: 15.5px; line-height: 1.7; color: var(--texto-3); }
.servicos__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.servico-card {
  position: relative;
  min-height: 560px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 60px -28px rgba(74, 58, 44, 0.4);
  transition: transform 480ms var(--ease), box-shadow 480ms var(--ease);
}
.servico-card:hover { transform: translateY(-8px); box-shadow: 0 40px 76px -24px rgba(74, 58, 44, 0.48); }

.servico-card__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--marrom);
}
.servico-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.25) sepia(0.3) brightness(0.42) contrast(1.08);
  transition: transform 700ms var(--ease), filter 400ms ease;
}
.servico-card:hover .servico-card__bg img { transform: scale(1.06); filter: saturate(0.3) sepia(0.3) brightness(0.48) contrast(1.08); }

.servico-card__n {
  position: absolute;
  top: 26px;
  left: 30px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--rose);
}

.servico-card__conteudo {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 30px 32px;
}
.servico-card__conteudo h3 { font-weight: 400; font-size: 26px; line-height: 1.15; color: #fff; }
.servico-card__conteudo p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.servico-card__conteudo ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.servico-card__conteudo li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.servico-card__conteudo li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--rose); flex: 0 0 auto; }

.servico-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  align-self: flex-start;
}
.servico-card__cta span { transition: transform 240ms var(--ease); }
.servico-card__cta:hover { color: var(--rose); border-bottom-color: var(--rose); }
.servico-card__cta:hover span { transform: translateX(4px); }

/* ---------- citação ---------- */
/* ---------- sobre ---------- */
.sobre { position: relative; padding: 128px 0 116px; overflow: hidden; }
.sobre::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(166, 140, 92, 0.18), rgba(166, 140, 92, 0) 70%);
  pointer-events: none;
}
.sobre__in { position: relative; display: flex; flex-wrap: wrap; gap: 88px; align-items: flex-start; padding-bottom: 56px; }
.sobre__foto { flex: 1 1 320px; min-width: 0; max-width: 360px; position: sticky; top: 100px; }

/* ---------- leque de fotos (carrossel 3D em baralho) ---------- */
.leque { position: relative; max-width: 320px; margin: 0 auto; }
.leque__palco {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  perspective: 1400px;
}
.leque__carta {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 4px 32px 4px 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -26px rgba(74, 58, 44, 0.45);
  transform-origin: 50% 108%;
  transition: transform 650ms var(--ease), opacity 650ms var(--ease), box-shadow 650ms var(--ease), filter 650ms var(--ease);
  cursor: pointer;
}
.leque__carta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}
/* fotos 4 e 6: rosto fica mais alto na imagem original, desce o enquadramento */
.leque__carta[data-carta="3"] img,
.leque__carta[data-carta="4"] img {
  object-position: 50% 30%;
}

/* posições em leque relativas à carta ativa */
.leque__carta { opacity: 0; pointer-events: none; z-index: 1; transform: rotate(0deg) translateX(0) scale(0.86); filter: saturate(0.5) brightness(0.85); }
.leque__carta.is-ativa {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
  transform: rotate(0deg) translateX(0) scale(1);
  filter: none;
  box-shadow: 0 50px 90px -30px rgba(74, 58, 44, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.leque__carta.is-prev1 { opacity: 1; pointer-events: auto; z-index: 4; transform: rotate(-5deg) translateX(-8%) scale(0.94); filter: saturate(0.75) brightness(0.92); }
.leque__carta.is-next1 { opacity: 1; pointer-events: auto; z-index: 4; transform: rotate(5deg) translateX(8%) scale(0.94); filter: saturate(0.75) brightness(0.92); }
.leque__carta.is-prev2 { opacity: 1; pointer-events: auto; z-index: 3; transform: rotate(-9deg) translateX(-15%) scale(0.88); filter: saturate(0.55) brightness(0.86); }
.leque__carta.is-next2 { opacity: 1; pointer-events: auto; z-index: 3; transform: rotate(9deg) translateX(15%) scale(0.88); filter: saturate(0.55) brightness(0.86); }

.leque__mono {
  position: absolute;
  z-index: 6;
  right: -12px;
  top: -18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(74, 58, 44, 0.25), 0 0 0 4px var(--off);
}

.leque__seta {
  position: absolute;
  top: 50%;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off);
  border: 1px solid rgba(141, 112, 65, 0.25);
  color: var(--marrom);
  cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(74, 58, 44, 0.35);
  transition: background 260ms ease, color 260ms ease, transform 260ms ease;
}
.leque__seta svg { width: 17px; height: 17px; }
.leque__seta:hover { background: var(--ouro-escuro); color: #fff; transform: translateY(-50%) scale(1.06); }
.leque__seta--prev { left: -18px; transform: translateY(-50%); }
.leque__seta--prev:hover { transform: translateY(-50%) scale(1.06); }
.leque__seta--next { right: -18px; transform: translateY(-50%); }


.sobre__assinatura {
  display: block;
  margin-top: 26px;
  text-align: right;
  font-family: var(--script);
  font-style: italic;
  font-size: 30px;
  color: var(--ouro-escuro);
}

.sobre__texto { flex: 1 1 440px; min-width: 0; padding-left: 44px; }
.sobre__texto h2 { font-size: clamp(34px, 4.4vw, 60px); }
.sobre__citacao {
  position: relative;
  margin: 34px 0 0;
  padding: 6px 0 6px 8px;
  font-family: var(--script);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--ouro-escuro);
}
.sobre__aspas {
  position: absolute;
  top: -46px;
  left: -18px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 140px;
  line-height: 1;
  color: var(--rose);
  opacity: 0.55;
  z-index: -1;
}
.sobre__corpo { margin-top: 30px; }
.sobre__corpo p { margin-top: 20px; font-size: 17px; line-height: 1.8; color: var(--texto-2); }
.sobre__corpo p:first-child { margin-top: 0; }
.sobre__capitular {
  float: left;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.78;
  font-weight: 400;
  color: var(--ouro-escuro);
  padding: 4px 6px 0 0;
}

.sobre__crm {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(141, 112, 65, 0.22);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--texto-3);
}

/* ---------- números / credibilidade ---------- */
.numeros { position: relative; background: var(--areia); overflow: hidden; }

/* ---------- processo (como funciona) ---------- */
.processo { position: relative; padding: 96px 0; }
.processo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, rgba(141, 112, 65, 0) 0%, var(--ouro) 100%);
}
.processo__head { max-width: 60ch; margin: 0 auto; text-align: center; }
.processo__head h3 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 400; color: var(--marrom); }
.processo__head p { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--texto-2); }

.processo__trilha {
  position: relative;
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.processo__linha {
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(141, 112, 65, 0.22);
}
.processo__linha-preenchida {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro));
  transition: transform 1400ms var(--ease);
}
.processo__trilha.is-vista .processo__linha-preenchida { transform: scaleX(1); }

.processo__passo { position: relative; text-align: center; padding-top: 4px; }
.processo__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--off);
  border: 1px solid rgba(141, 112, 65, 0.3);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ouro-escuro);
  box-shadow: 0 16px 34px -18px rgba(74, 58, 44, 0.35);
  transition: background 420ms var(--ease), color 420ms var(--ease), border-color 420ms var(--ease), transform 420ms var(--ease);
}
.processo__passo:hover .processo__num {
  background: var(--ouro-escuro);
  border-color: var(--ouro-escuro);
  color: #fff;
  transform: translateY(-4px);
}
.processo__passo h4 { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--marrom); }
.processo__passo p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--texto-3); }

.processo__cta { margin-top: 68px; text-align: center; }

/* ---------- faq (cartas pessoais) ---------- */
.faq { position: relative; padding: 128px 0; overflow: hidden; background: var(--areia); }
.faq::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(209, 185, 180, 0.32), rgba(209, 185, 180, 0) 70%);
  pointer-events: none;
}
.faq__head { position: relative; max-width: 62ch; margin: 0 auto; text-align: center; }
.faq__head h2 { font-size: clamp(30px, 3.6vw, 50px); }
.faq__nota { margin: 22px auto 0; max-width: 46ch; font-family: var(--script); font-style: italic; font-size: 19px; color: var(--texto-3); }

.cartas {
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 56px;
  align-items: stretch;
}

.cartas__perguntas { display: flex; flex-direction: column; gap: 2px; }
.carta-pergunta {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--texto-2);
  transition: background 300ms ease, color 300ms ease;
}
.carta-pergunta__num {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ouro);
  font-family: var(--sans);
}
.carta-pergunta:hover { background: rgba(255, 255, 255, 0.5); }
.carta-pergunta.is-ativa {
  background: var(--off);
  color: var(--marrom);
  box-shadow: 0 18px 40px -26px rgba(74, 58, 44, 0.35);
}
.carta-pergunta.is-ativa .carta-pergunta__num { color: var(--ouro-escuro); }

.cartas__papel {
  position: relative;
  background: var(--off);
  border-radius: 12px;
  box-shadow: 0 40px 80px -30px rgba(74, 58, 44, 0.4);
  padding: 56px 56px 44px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carta__aspas {
  position: absolute;
  top: 22px;
  left: 40px;
  font-family: var(--serif);
  font-size: 90px;
  line-height: 1;
  color: var(--rose);
  opacity: 0.6;
  pointer-events: none;
}
.carta {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
}
.carta.is-ativa { display: block; opacity: 1; transform: translateY(0); }
.carta__corpo { font-family: var(--serif); font-size: 19px; line-height: 1.72; color: var(--texto-2); font-weight: 300; }
.carta__assinatura {
  margin-top: 26px;
  font-family: var(--script);
  font-style: italic;
  font-size: 26px;
  color: var(--ouro-escuro);
}
.carta__cta {
  display: inline-block;
  margin-top: 8px;
  align-self: flex-start;
}

/* ---------- localização ---------- */
.local { position: relative; background: var(--off); padding: 120px 0; overflow: hidden; }
.local__blob {
  position: absolute;
  top: -160px;
  left: -180px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(166, 140, 92, 0.14), rgba(166, 140, 92, 0) 70%);
  pointer-events: none;
}
.local__in { position: relative; display: flex; flex-wrap: wrap; gap: var(--gap); align-items: stretch; }
.local__info { flex: 1 1 380px; min-width: 0; }
.local__info h2 { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 30px; }
.local__end { font-size: 17px; line-height: 1.75; color: var(--texto-2); margin-bottom: 34px; }

.local__dados { display: grid; gap: 12px; margin-bottom: 36px; }
.local__dados div {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(141, 112, 65, 0.14);
  border-radius: 10px;
  box-shadow: 0 18px 40px -30px rgba(74, 58, 44, 0.3);
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease), border-color 380ms var(--ease);
}
.local__dados div:hover {
  transform: translateX(4px);
  border-color: rgba(166, 140, 92, 0.4);
  box-shadow: 0 22px 48px -26px rgba(74, 58, 44, 0.36);
}
.local__icone { flex: 0 0 auto; margin-top: 3px; font-size: 13px; color: var(--ouro); }
.local__dados p { font-size: 15px; line-height: 1.6; color: var(--texto-2); }
.local__dados strong { display: block; font-size: 10.5px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ouro-escuro); margin-bottom: 6px; }
.local__acoes { display: flex; flex-wrap: wrap; gap: 14px; }

.local__mapa {
  position: relative;
  flex: 1 1 440px;
  min-width: 0;
  min-height: 460px;
  border-radius: 12px 90px 12px 12px;
  overflow: hidden;
  box-shadow:
    0 2px 6px -2px rgba(74, 58, 44, 0.15),
    0 30px 60px -26px rgba(74, 58, 44, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.local__mapa iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(0.82) contrast(1.02); }
.local__selo {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 22px;
  background: var(--marrom);
  border-radius: 10px;
  box-shadow: 0 22px 46px -16px rgba(58, 46, 40, 0.55);
}
.local__selo strong { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--rose); }
.local__selo span { margin-top: 3px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 247, 242, 0.72); }

/* ---------- agendamento ---------- */
.agendar {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
}
.agendar__fundo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('Assets/agendamento-consultorio-fundo.png') center/cover no-repeat;
  transform: scaleX(-1);
}
.agendar__fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(38, 28, 22, 0.65) 0%, rgba(46, 34, 26, 0.40) 50%, rgba(38, 28, 22, 0.70) 100%);
}
.agendar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, rgba(255, 255, 255, 0) 1px 26px);
  pointer-events: none;
}
.agendar__blob {
  position: absolute;
  z-index: 1;
  bottom: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(212, 175, 140, 0.15), rgba(74, 58, 44, 0) 70%);
  pointer-events: none;
}

.agendar__in { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.agendar__texto { flex: 1 1 380px; min-width: 0; }
.agendar__texto .overline { color: #E8CDB5; }
.agendar__texto h2 { font-size: clamp(32px, 4.2vw, 60px); color: #fff; }
.agendar__texto p { margin-top: 28px; max-width: 42ch; font-size: 16.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.92); }

.agendar__selos { display: grid; gap: 12px; margin-top: 36px; max-width: 420px; }
.agendar__selos div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(250, 247, 242, 0.88);
  border: 1px solid rgba(250, 247, 242, 0.6);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}
.agendar__icone { flex: 0 0 auto; margin-top: 3px; font-size: 12px; color: var(--marrom); }
.agendar__selos strong { display: block; font-size: 13.5px; font-weight: 500; color: var(--marrom); margin-bottom: 2px; }
.agendar__selos p { margin: 0; font-size: 13px; color: #5C4634; max-width: none; }

.agendar__nota { margin-top: 34px; font-family: var(--script); font-style: italic; font-size: 22px; color: #E8CDB5; }

.form {
  position: relative;
  flex: 1 1 400px;
  min-width: 0;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  padding: 48px 44px;
  border-radius: 14px 60px 14px 14px;
  display: grid;
  gap: 22px;
  box-shadow:
    0 2px 6px -2px rgba(74, 58, 44, 0.18),
    0 34px 68px -26px rgba(74, 58, 44, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.form__selo {
  position: absolute;
  z-index: 2;
  right: 32px;
  top: -22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 12px 18px;
  background: var(--marrom);
  border-radius: 10px;
  box-shadow: 0 18px 36px -14px rgba(58, 46, 40, 0.5);
}
.form__selo strong { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--rose); line-height: 1; }
.form__selo span { margin-top: 3px; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 247, 242, 0.72); }

.form label { display: grid; gap: 8px; }
.form label > span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ouro); }
.form input, .form select, .form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(141, 112, 65, 0.35);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--texto);
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-bottom-color: var(--ouro-escuro);
  box-shadow: 0 1px 0 0 var(--ouro-escuro);
}
.form textarea { resize: vertical; }
.form__btn { justify-self: start; }
.form__aviso { min-height: 20px; font-size: 13.5px; color: #A9503F; }
.form__aviso[data-ok="true"] { color: #6B7F5A; }
.form__lgpd { font-size: 12px; line-height: 1.6; color: #8A7663; }

/* ---------- rodapé ---------- */
.footer { background: var(--marrom); color: rgba(250, 247, 242, 0.78); padding: 88px 0 0; }
.footer a { color: rgba(250, 247, 242, 0.86); }
.footer a:hover { color: var(--rose); }
.footer__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-bottom: 64px; }
.footer__logo { width: 260px; display: block; }
.footer__in > div > p { margin-top: 12px; max-width: 34ch; font-size: 15px; line-height: 1.7; }
.footer__titulo { margin: 0 0 22px; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose); }
.footer__col { display: grid; gap: 16px; font-size: 15px; }
p.footer__legal { font-size: 13px; line-height: 1.7; color: rgba(250, 247, 242, 0.6); margin-top: 14px !important; }
.footer__social { display: flex; gap: 14px; margin-top: 22px; }
.footer__social a { display: inline-flex; color: rgba(250, 247, 242, 0.86); transition: color 240ms ease, transform 240ms ease; }
.footer__social a:hover { color: var(--rose); transform: translateY(-2px); }
.footer__contato a { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer__contato svg { flex: 0 0 auto; margin-top: 2px; color: var(--rose); }

@media (max-width: 991px) {
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer__in { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}
/* ---------- seção de créditos (.footer-bottom) ---------- */
.creditos {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-credits-left { display: flex; flex-direction: column; gap: 4px; }
.footer-credits-copy { font-size: 0.75rem; color: rgba(250, 247, 242, 0.5); }

.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; font-size: 11px; color: rgba(250, 247, 242, 0.4); }
.footer-legal-links a { color: inherit; text-decoration: none; transition: color 300ms ease; }
.footer-legal-links a:hover { color: var(--rose); }
.footer-legal-sep { margin: 0 10px; opacity: 0.3; }

.footer-credits-right { font-size: 0.75rem; color: rgba(250, 247, 242, 0.5); white-space: nowrap; }
.footer-credits-right a { color: var(--rose); font-weight: 600; transition: color 300ms ease; }
.footer-credits-right a:hover { color: #fff; }

/* toggle de cookies (padrão AG5) */
#ck-prefs-link { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 6px; }
#cookie-toggle {
  display: inline-flex;
  align-items: center;
  width: 28px;
  height: 14px;
  background: rgba(250, 247, 242, 0.1);
  border-radius: 10px;
  padding: 2px;
  border: 1px solid rgba(250, 247, 242, 0.2);
  position: relative;
  font-size: 8px;
  font-weight: bold;
  transition: border-color 240ms ease;
}
#ck-prefs-link:hover #cookie-toggle { border-color: rgba(250, 247, 242, 0.4); }
.ck-icon-yes { color: #86EFAC; margin-left: 2px; }
.ck-icon-no { color: #FCA5A5; margin-left: auto; margin-right: 2px; }
#cookie-toggle-dot {
  position: absolute;
  left: 15px;
  width: 10px;
  height: 10px;
  background: var(--ouro);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: left 0.2s ease, background 0.2s ease, box-shadow 240ms ease;
}
#cookie-toggle.active #cookie-toggle-dot { left: 15px; background: var(--ouro); }
#cookie-toggle.inactive #cookie-toggle-dot { left: 2px; background: #888; }
#ck-prefs-link:hover #cookie-toggle-dot { box-shadow: 0 0 8px rgba(166, 140, 92, 0.5); }

@media (max-width: 767px) {
  .creditos { flex-direction: column; align-items: flex-start; gap: 1rem; padding-left: 8px; padding-right: 8px; }
  .footer-legal-links { justify-content: flex-start; }
  .footer-credits-right { text-align: left; margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP PREMIUM — Balão + botão flutuante (AG5 V4)
═══════════════════════════════════════════════════════ */
.wa-premium-container {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 2000;
  font-family: var(--sans);
}

/* Balão Glassmorphism */
.wa-bubble {
  width: 280px;
  position: absolute;
  bottom: 68px;
  right: 0;
  background: rgba(255, 252, 246, .98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(141, 112, 65, .25);
  border-radius: 1rem;
  box-shadow: 0 12px 32px -12px rgba(28, 24, 12, .18);
  padding: 1rem 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cauda triangular conectando o balão ao botão */
.wa-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: inherit;
  border-right: 1px solid rgba(141, 112, 65, .35);
  border-bottom: 1px solid rgba(141, 112, 65, .35);
  transform: rotate(45deg);
  border-bottom-right-radius: 4px;
  z-index: -1;
}

.wa-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Cabeçalho */
.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-avatar-wrapper { position: relative; flex-shrink: 0; }

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid #25d366;
  display: block;
}

.wa-name {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
  letter-spacing: .01em;
}

/* Digitação */
.wa-typing {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.wa-typing span {
  width: 5px;
  height: 5px;
  background: #25d366;
  border-radius: 50%;
  animation: wa-typing-ani 1.4s infinite;
  opacity: 0.4;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing-ani {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}

/* Mensagem */
.wa-message-text p {
  margin: 0;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.wa-message-text p strong {
  color: var(--ouro-escuro);
  font-weight: 700;
}

/* Botão flutuante redondo (estado inicial hidden, JS controla via .visible) */
.wa-float-btn {
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.6s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  position: relative;
}

.wa-float-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-float-btn:hover { transform: scale(1.1) translateY(-3px); }
.wa-float-btn svg { display: block; }

/* Badge de notificação (compacto, não-invasivo — não dispara em modo Compliance) */
.wa-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: #ff3b30;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1.5px solid #fff;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.wa-badge.show { opacity: 1; transform: scale(1); }

/* Botão fechar */
.wa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-close:hover { color: #666; }

/* Classes utilitárias (PageSpeed fix — substituem inline style do JS, evita forced reflow) */
.wa-typing.is-hidden { display: none !important; }
.wa-message-text.is-visible { display: block !important; opacity: 0; transition: opacity 500ms ease; }
.wa-message-text.is-visible.is-in { opacity: 1; }

@media (max-width: 480px) {
  .wa-premium-container { bottom: 16px; right: 16px; }
  .wa-bubble { width: 260px; bottom: 72px; }
}

/* ---------- drawer (menu mobile) ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(58, 46, 40, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 380ms var(--ease);
}
.drawer-overlay[hidden] { display: none; }
.drawer-overlay.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: min(340px, 84vw);
  background: var(--off);
  box-shadow: -24px 0 60px rgba(74, 58, 44, 0.28);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 420ms var(--ease);
  padding: 22px 26px 32px;
}
.drawer.is-open { transform: translateX(0); }

.drawer__topo { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid rgba(141, 112, 65, 0.16); }
.drawer__logo img {
  display: block;
  height: 34px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(37%) sepia(24%) saturate(944%) hue-rotate(358deg) brightness(93%) contrast(88%);
}
.drawer__fechar {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: rgba(166, 140, 92, 0.1);
  border: 1px solid rgba(141, 112, 65, 0.24);
  border-radius: 50%;
  cursor: pointer;
}
.drawer__fechar span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: #6E5638;
}
.drawer__fechar span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__fechar span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.drawer__nav { display: flex; flex-direction: column; margin-top: 12px; }
.drawer__nav a {
  padding: 18px 4px;
  border-bottom: 1px solid rgba(141, 112, 65, 0.14);
  font-family: var(--serif);
  font-size: 22px;
  color: var(--marrom);
  opacity: 0.82;
  transition: opacity 260ms ease, color 260ms ease, padding-left 260ms var(--ease);
}
.drawer__nav a:hover,
.drawer__nav a:focus-visible { opacity: 1; color: var(--ouro-escuro); padding-left: 10px; }

.drawer__cta { margin-top: auto; text-align: center; }

body.drawer-open { overflow: hidden; }

/* ---------- animações de scroll ---------- */
.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); will-change: opacity, transform; }
.js .rv--x { transform: translateX(-40px); transition-duration: 450ms; }
.js .rv.is-visible { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  :root { --sec-y: 80px; --gap: 40px; }
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .servico-card { min-height: 480px; }
  .sobre__foto { position: static; }
  .sobre__texto { padding-left: 0; }
  .sinais__grid { grid-template-columns: repeat(2, 1fr); }
  .cartas { grid-template-columns: 1fr; gap: 8px; }
  .processo__trilha { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .processo__linha { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 92px; }

  /* carrossel de fotos entre o texto, de forma estratégica */
  .sobre__in { display: grid; grid-template-columns: 1fr; gap: 0; }
  .sobre__texto { display: contents; }
  .sobre__texto .overline,
  .sobre__texto h2,
  .sobre__texto .sobre__citacao,
  .sobre__texto .sobre__corpo,
  .sobre__texto .sobre__crm,
  .sobre__foto {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .sobre__texto .overline { order: 1; }
  .sobre__texto h2 { order: 1; margin-top: 10px; }
  .sobre__texto .sobre__citacao { order: 1; margin-top: 34px; }
  .sobre__foto { order: 2; margin-top: 40px; margin-bottom: 16px; }
  .leque { max-width: 420px; }
  .sobre__texto .sobre__corpo { order: 3; margin-top: 30px; }
  .sobre__texto .sobre__crm { order: 3; margin-top: 24px; }

  .header { padding-left: 14px; padding-right: 14px; }
  .header__in { position: relative; padding-right: 8px; }
  .nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: var(--off);
    border-color: rgba(141, 112, 65, 0.3);
    box-shadow: 0 4px 14px rgba(74, 58, 44, 0.14);
  }
  .header .btn { display: none; }
  .servicos, .sobre, .faq, .local, .agendar { padding: 72px 0; }
  .local__mapa { min-height: 320px; border-radius: 12px; }
  .local__mapa iframe { min-height: 320px; }
  .local__selo { left: 16px; bottom: 16px; padding: 12px 16px; }
  .form { padding: 32px 24px; border-radius: 14px; margin-top: 20px; }
  .form__selo { right: 20px; top: -20px; padding: 10px 14px; }
  .antes-depois { justify-content: center; text-align: center; }
  .antes-depois__texto { justify-content: center; }
  /* FAQ mobile: accordion — cada pergunta abre a própria resposta logo abaixo dela */
  .faq__head { text-align: left; max-width: 100%; }
  .faq__nota { margin-left: 0; margin-right: 0; }

  .cartas {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cartas__perguntas { display: contents; }
  .cartas__papel {
    display: contents;
    position: static;
  }

  /* pergunta fechada: linha simples numerada, como um índice de cartas */
  .carta-pergunta {
    grid-column: 1;
    flex-direction: row;
    align-items: baseline;
    grid-template-columns: 30px 1fr;
    padding: 18px 4px;
    margin-top: 0;
    border: 0;
    border-bottom: 1px solid rgba(141, 112, 65, 0.18);
    border-radius: 0;
    background: none;
  }
  .carta-pergunta__num { font-size: 12.5px; }
  .carta-pergunta.is-ativa { color: var(--ouro-escuro); }

  /* resposta aberta: volta a ser a "carta pessoal", com aspas e papel */
  .carta {
    grid-column: 1;
    display: none;
    opacity: 0;
    transform: none;
    position: relative;
  }
  .carta.is-ativa {
    display: block;
    opacity: 1;
    margin: -2px 0 22px;
    padding: 40px 22px 28px;
    background: var(--off);
    border-radius: 4px 28px 4px 4px;
    box-shadow: 0 28px 56px -26px rgba(74, 58, 44, 0.35);
  }
  .carta.is-ativa::before {
    content: "\201C";
    position: absolute;
    top: 4px;
    left: 18px;
    font-family: var(--serif);
    font-size: 68px;
    line-height: 1;
    color: var(--rose);
    opacity: 0.65;
    pointer-events: none;
  }
  .carta__aspas { display: none; }

  .carta-pergunta[data-carta="1"] { order: 1; }
  .carta[data-carta="1"] { order: 2; }
  .carta-pergunta[data-carta="2"] { order: 3; }
  .carta[data-carta="2"] { order: 4; }
  .carta-pergunta[data-carta="3"] { order: 5; }
  .carta[data-carta="3"] { order: 6; }
  .carta-pergunta[data-carta="4"] { order: 7; }
  .carta[data-carta="4"] { order: 8; }

  .carta__corpo { font-size: 17px; }
  .carta__assinatura { font-size: 24px; margin-top: 18px; }
  .carta__cta { grid-column: 1; order: 9; margin-top: 24px; text-align: center; align-self: center; }
  .processo { padding: 64px 0 72px; }
  .processo::before { height: 44px; }
  .processo__head { text-align: left; max-width: 100%; }
  .processo__trilha {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 52px;
  }
  .processo__linha { display: none; }
  .processo__passo {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 4px;
    text-align: left;
    padding: 0 0 40px;
  }
  .processo__passo::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: -4px;
    left: 27px;
    width: 1px;
    background: linear-gradient(180deg, rgba(141, 112, 65, 0.35), rgba(141, 112, 65, 0.08));
  }
  .processo__passo:last-child { padding-bottom: 0; }
  .processo__passo:last-child::before { display: none; }
  .processo__num {
    grid-column: 1;
    grid-row: 1 / 3;
    margin-bottom: 0;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .processo__passo h4 { grid-column: 2; grid-row: 1; padding-top: 12px; }
  .processo__passo p { grid-column: 2; grid-row: 2; max-width: 40ch; margin-top: 0; }

  /* ---------- hero mobile: foto de fundo cinematográfica, atrás da navbar ---------- */
  .hero {
    height: calc(90svh + var(--header-h));
    min-height: calc(90svh + var(--header-h));
    margin-top: calc(-1 * var(--header-h));
    padding: 0 !important;
    isolation: isolate;
    background-image:
      linear-gradient(0deg, rgba(35, 26, 20, 0.88) 0%, rgba(35, 26, 20, 0.35) 34%, rgba(35, 26, 20, 0.05) 58%, rgba(35, 26, 20, 0.3) 100%),
      url("Assets/dra-bruna-campos-consultorio-jaleco-sorriso.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: center, 68% top;
    background-size: cover, cover;
  }
  .hero::before { display: none; }
  .sinais { margin-top: 0; }
  .hero__in {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    position: relative;
    padding: calc(var(--header-h) + 12px + 9svh) var(--pad) 52px;
  }
  .hero__fig { display: none; }
  .hero__in::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(120% 70% at 15% 100%, rgba(166, 140, 92, 0.28), rgba(166, 140, 92, 0) 62%);
    pointer-events: none;
  }

  .hero__texto { position: relative; max-width: 92%; flex: 0 0 auto; }
  .hero .overline { color: rgba(250, 247, 242, 0.85); }
  .hero .overline::before { background: var(--rose); }
  .hero h1 { font-size: clamp(38px, 10.5vw, 54px); color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
  .hero .em { color: var(--rose); }
  .hero__lead { max-width: 34ch; font-size: 15.5px; color: rgba(250, 247, 242, 0.88); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
  .hero__cta { margin-top: 30px; }
  .hero__cta .btn { box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
  .hero__selos {
    gap: 8px 12px;
    font-size: 11.5px;
    margin-top: 26px;
    padding-top: 18px;
    border-top-color: rgba(250, 247, 242, 0.25);
    color: rgba(250, 247, 242, 0.75);
  }
  .hero__selos strong { color: var(--rose); }
  .hero__selos-sep { background: var(--rose); }
}

@media (max-width: 480px) {
  :root { --pad: 18px; --sec-y: 64px; --header-h: 68px; }
  .header { padding-top: 16px; }
  .header__in { padding: 8px 8px 8px 16px; }
  .servicos__grid { grid-template-columns: 1fr; }
  .servico-card { min-height: 460px; }
  .brand__logo { height: 42px; }
  .sinais__grid { grid-template-columns: 1fr; }
  .sobre__aspas { font-size: 100px; top: -34px; left: -6px; }
  .leque__mono { width: 62px; height: 62px; top: -14px; right: -8px; }
  .leque__seta { width: 38px; height: 38px; }
  .leque__seta--prev { left: -10px; }
  .leque__seta--next { right: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
}
