/* =========================================================
   Laura Pimenta · Cirurgiã-Dentista
   Folha de estilo única — sem dependências externas
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:        #442321;
  --ink-soft:   #6a4343;
  --clay:       #a1706a;
  --blush:      #e7b6ad;
  --white:      #ffffff;

  --cream:      #faf6f5;
  --cream-deep: #f3eae7;
  --line:       rgba(68, 35, 33, .12);
  --line-soft:  rgba(68, 35, 33, .07);

  --shadow-sm: 0 1px 2px rgba(68,35,33,.05), 0 4px 14px rgba(68,35,33,.05);
  --shadow-md: 0 2px 6px rgba(68,35,33,.06), 0 18px 48px rgba(68,35,33,.10);
  --shadow-lg: 0 4px 12px rgba(68,35,33,.08), 0 34px 80px rgba(68,35,33,.14);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;

  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);

  --nav-h: 68px;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --radius: 18px;
  --radius-lg: 26px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blush); color: var(--ink); }

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

/* ---------- 3. Utilitários ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }

.section { padding-block: clamp(72px, 11vw, 140px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 20px;
}
.section--ink .eyebrow { color: var(--blush); }

.lede {
  font-size: clamp(1.06rem, 1.9vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--ink .lede { color: rgba(255,255,255,.76); }

.head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }
h2 + .lede { margin-top: 22px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); transform: translateY(-2px); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--blush); transform: translateY(-2px); }

.btn--outline-light { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }

.btn:active { transform: translateY(0) scale(.985); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--topo { margin-top: 34px; }
.btn-row--centro { justify-content: center; margin-top: 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .93rem; font-weight: 500; color: var(--clay);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--ink); gap: 11px; }

/* ---------- 5. Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease),
              backdrop-filter .5s var(--ease), transform .45s var(--ease);
}
.nav.is-solid {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line-soft);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav__brand {
  position: relative; display: flex; align-items: center;
  height: 44px; /* área de toque confortável, a logo continua com 27px */
}
.nav__brand img {
  width: auto; height: 27px;
  transition: opacity .45s var(--ease);
}
.nav__brand img + img { position: absolute; left: 0; top: 0; opacity: 0; }
.nav__brand:hover { opacity: .62; }

/* sobre o topo escuro da abertura, o cabeçalho fica claro */
body[data-hero="dark"] .nav:not(.is-solid) .nav__brand img { opacity: 0; }
body[data-hero="dark"] .nav:not(.is-solid) .nav__brand img + img { opacity: 1; }
body[data-hero="dark"] .nav:not(.is-solid) .nav__menu a { color: rgba(255,255,255,.82); }
body[data-hero="dark"] .nav:not(.is-solid) .nav__menu a:hover { color: var(--white); background: rgba(255,255,255,.12); }
body[data-hero="dark"] .nav:not(.is-solid) .nav__cta { background: rgba(255,255,255,.14); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
body[data-hero="dark"] .nav:not(.is-solid) .nav__cta:hover { background: var(--white); color: var(--ink); }
body[data-hero="dark"] .nav:not(.is-solid) .nav__burger span { background: var(--white); }
body.menu-open[data-hero="dark"] .nav .nav__brand img { opacity: 1; }
body.menu-open[data-hero="dark"] .nav .nav__brand img + img { opacity: 0; }
body.menu-open[data-hero="dark"] .nav .nav__burger span { background: var(--ink); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  position: relative;
  padding: 9px 15px;
  font-size: .9rem;
  font-weight: 450;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__menu a:hover { color: var(--ink); background: rgba(68,35,33,.05); }
.nav__menu a[aria-current="page"] { color: var(--ink); font-weight: 550; }

.nav__cta { margin-left: 8px; padding: 11px 22px; font-size: .88rem; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  margin-right: -10px;
  place-items: center;
  border-radius: 50%;
  transition: background .3s var(--ease);
}
.nav__burger:hover { background: rgba(68,35,33,.06); }
.nav__burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .45s var(--ease-out), opacity .25s var(--ease);
}
.nav__burger span + span { margin-top: 5px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* menu mobile */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
  padding: calc(var(--nav-h) + 28px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden;
  transition: opacity .42s var(--ease), visibility .42s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; }

.drawer a {
  font-family: var(--serif);
  font-size: 1.85rem;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
body.menu-open .drawer a { opacity: 1; transform: none; }
.drawer .btn { margin-top: 28px; opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out) .3s, transform .5s var(--ease-out) .3s; }
body.menu-open .drawer .btn { opacity: 1; transform: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(40,19,18,.93) 0%, rgba(40,19,18,.62) 40%, rgba(40,19,18,.34) 68%, rgba(40,19,18,.62) 100%),
    radial-gradient(120% 70% at 20% 90%, rgba(40,19,18,.5), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; color: var(--white); width: 100%; }
.hero__cro {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 22px;
}
.hero__cro::before { content: ""; width: 26px; height: 1px; background: var(--blush); }
.hero h1 { max-width: 15ch; }
.hero__sub {
  margin-top: 26px; max-width: 46ch;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: rgba(255,255,255,.82);
}
.hero .btn-row { margin-top: 38px; }

.hero__facts {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
  max-width: 660px;
}
.hero__facts strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2;
}
.hero__facts span { font-size: .8rem; color: rgba(255,255,255,.62); letter-spacing: .02em; }

/* ---------- 7. Sobre ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about p.p--topo { margin-top: 22px; }
.about__sign {
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
}
.about__sign img { width: 44px; height: auto; opacity: .85; }
.about__sign div { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
.about__sign strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- 8. Cards de tratamento ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 32px 30px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
}
.section--cream .card { background: var(--white); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__num {
  font-family: var(--serif); font-size: 1rem; color: var(--clay);
  letter-spacing: .1em; margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: .96rem; color: var(--ink-soft); margin-bottom: 22px; }
.card .link-arrow { margin-top: auto; }
.card__link { position: absolute; inset: 0; border-radius: var(--radius); }

/* ---------- 9. Casos antes e depois ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
}
.case img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.case:hover img { transform: scale(1.045); }
.case__tag {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.case__foot {
  position: absolute; inset: auto 0 0 0;
  padding: 44px 18px 16px;
  background: linear-gradient(to top, rgba(40,19,18,.85), transparent);
  color: var(--white); font-size: .88rem; font-weight: 500;
}
.case__split {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(255,255,255,.5);
}
.disclaimer { margin-top: 28px; font-size: .82rem; color: var(--ink-soft); opacity: .8; max-width: 70ch; }

/* ---------- 10. Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.quote {
  display: flex; flex-direction: column;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.quote__stars { color: var(--blush); letter-spacing: .18em; font-size: .9rem; margin-bottom: 18px; }
.quote p { font-size: .98rem; color: rgba(255,255,255,.86); line-height: 1.62; }
.quote cite {
  margin-top: 22px; font-style: normal; font-size: .84rem;
  color: rgba(255,255,255,.55); letter-spacing: .03em;
}

/* ---------- 11. Estrutura (galeria) ---------- */
.gallery { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .9s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- 12. Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.info { display: grid; gap: 4px; }
.info__row {
  display: grid; grid-template-columns: 26px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line-soft);
  transition: opacity .3s var(--ease);
}
.info__row:last-child { border-bottom: 0; }
.info__row svg { width: 20px; height: 20px; color: var(--clay); margin-top: 3px; }
.info__row span { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 5px; }
.info__row strong { display: block; font-weight: 500; font-size: 1.02rem; }
.info__row strong + strong { margin-top: 5px; }
.info__row a:hover { color: var(--clay); }
.info__row p { font-size: .95rem; color: var(--ink-soft); margin: 4px 0 0; }

.map {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  background: var(--cream-deep);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* o mapa do Google só é baixado quando a pessoa pede */
.map__fachada {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; width: 100%; min-height: 380px; padding: 32px 28px; text-align: center;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), transparent 60%),
    repeating-linear-gradient(45deg, var(--cream) 0 14px, var(--cream-deep) 14px 28px);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.map__fachada svg { width: 34px; height: 34px; color: var(--clay); transition: transform .4s var(--ease-out); }
.map__fachada span { font-size: 1rem; font-weight: 500; color: var(--ink); }
.map__fachada small { font-size: .82rem; max-width: 34ch; line-height: 1.5; opacity: .8; }
.map__fachada:hover svg { transform: translateY(-3px) scale(1.06); }
.map__fachada:hover span { color: var(--clay); }
.map__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: var(--white); border-top: 1px solid var(--line-soft);
  font-size: .9rem;
}

/* ---------- 13. Faixa de CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 22px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- 14. Páginas internas ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(48px, 7vw, 90px);
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a { display: inline-block; padding: 7px 0; }
.crumbs a:hover { color: var(--clay); }
.crumbs span { opacity: .45; margin-inline: 8px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); max-width: 18ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(230px, 32vw, 380px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* "em Ituiutaba" no fim do título */
.h1__local {
  display: block;
  font-style: italic;
  color: var(--clay);
  font-weight: 300;
}

/* foto do procedimento no cabeçalho, com a borda dissolvida no fundo */
.hero-foto {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  isolation: isolate;
}
/* halo suave por trás, para a foto pousar no fundo em vez de ser colada nele */
.hero-foto::before {
  content: "";
  position: absolute; inset: -7%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
              rgba(231,182,173,.42) 52%, rgba(231,182,173,.16) 74%, transparent 78%);
  z-index: -1;
}
/* anel fino para amarrar com o resto do site */
.hero-foto::after {
  content: "";
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(161,112,106,.22);
  pointer-events: none;
}
.hero-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(68,35,33,.16);
  animation: revela-foto 1.1s var(--ease-out) both;
}
@keyframes revela-foto {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}

/* ---------- formulário de contato ---------- */
.form {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}
.form__titulo {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 26px;
}
.form__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.campo { display: block; margin-bottom: 18px; }
.form__linha .campo { margin-bottom: 0; }
.campo label {
  display: block;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 9px;
}
.campo__op { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.campo input, .campo select, .campo textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: .98rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.campo textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.campo select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1706a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 17px;
  padding-right: 44px;
  cursor: pointer;
}
.campo input::placeholder, .campo textarea::placeholder { color: rgba(68,35,33,.42); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(161,112,106,.14);
}
.campo input:user-invalid, .campo textarea:user-invalid { border-color: #b5544c; }

.campo__isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__enviar { width: 100%; margin-top: 8px; padding: 16px 28px; }
.form__erro {
  margin: 0 0 22px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(181, 84, 76, .08);
  border: 1px solid rgba(181, 84, 76, .28);
  color: #8d3f38;
  font-size: .92rem;
}
.form__nota {
  margin-top: 16px; text-align: center;
  font-size: .8rem; color: var(--ink-soft); opacity: .75;
}

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 0; }
.prose h3 { margin: 42px 0 12px; font-size: 1.3rem; }
.prose p { color: var(--ink-soft); }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink); }

.page-hero--erro { min-height: 70vh; display: flex; align-items: center; }

.steps { counter-reset: s; display: grid; gap: 2px; margin-top: 8px; max-width: 760px; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.15rem; color: var(--clay); line-height: 1.5;
}
.step h3 { margin: 0 0 8px; font-size: 1.22rem; }
.step p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

.myths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.myth {
  padding: 28px 28px 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line-soft);
}
.myth span {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 12px;
}
.myth h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.myth p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* acordeão */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px;
  padding: 24px 0; text-align: left;
  font-size: 1.06rem; font-weight: 500; line-height: 1.45;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--clay); }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; margin-top: 5px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 1.5px; background: var(--clay); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease-out), opacity .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: 26px; padding-right: 40px;
  font-size: 1rem; color: var(--ink-soft);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .4s var(--ease) .06s, transform .4s var(--ease) .06s;
}
.faq__item.is-open .faq__a p { opacity: 1; transform: none; }

.other-pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.other-pages a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 22px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line-soft);
  font-size: .96rem; font-weight: 500;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), color .3s var(--ease);
}
.other-pages a::after { content: "→"; color: var(--clay); transition: transform .35s var(--ease); }
.other-pages a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.other-pages a:hover::after { transform: translateX(4px); }

/* ---------- 15. Rodapé ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding-block: clamp(56px, 8vw, 88px) 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.footer__logo { width: 210px; margin-bottom: 22px; opacity: .92; }
.footer p { font-size: .92rem; line-height: 1.6; max-width: 34ch; }
.footer h4 {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blush);
  margin: 0 0 18px;
}
.footer li { margin-bottom: 5px; font-size: .93rem; }
.footer li a, .footer li > span { display: inline-block; padding: 6px 0; }
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__bottom {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.42);
}

/* ---------- 16. Botão flutuante ---------- */
.float-wa {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease-out), background .35s var(--ease);
}
.float-wa.is-in { opacity: 1; transform: none; pointer-events: auto; }
.float-wa:hover { background: var(--clay); transform: scale(1.06); }
.float-wa svg { width: 26px; height: 26px; }

/* ---------- 17. Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal[data-delay="1"].is-in { transition-delay: .09s; }
.reveal[data-delay="2"].is-in { transition-delay: .18s; }
.reveal[data-delay="3"].is-in { transition-delay: .27s; }
.reveal[data-delay="4"].is-in { transition-delay: .36s; }

/* ---------- 18. Responsivo ---------- */
@media (max-width: 960px) {
  .about, .contact { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero__grid .hero-foto { order: -1; width: 200px; justify-self: start; }
  .about__photo { max-width: 460px; }
  .gallery { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav.is-solid, body.menu-open .nav { background: rgba(255,255,255,.9); }
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
  .hero__facts li { display: flex; align-items: baseline; gap: 10px; }
  .hero__facts strong { font-size: 1.15rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cases, .myths, .form__linha { grid-template-columns: 1fr; }
  .form__linha { gap: 0; }
  .form__linha .campo { margin-bottom: 18px; }
  .card { padding: 28px 24px 26px; }
  .quote { padding: 28px 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- 19. Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .drawer, .float-wa, .map { display: none; }
  body { color: #000; }
}
