/* =========================================================
   Dra. Fernanda Klaus — Cirurgia Plástica
   Paleta inspirada no ensaio fotográfico: marfim, areia,
   taupe, café e um toque de bronze.
   Tipografia: fonte do sistema da Apple (SF Pro) e, fora do
   iPhone/Mac, a Inter, que tem o mesmo desenho.
   ========================================================= */

:root {
  --ivory: #F6F1EB;
  --ivory-2: #FBF8F4;
  --cream: #EFE7DD;
  --sand: #E0D4C6;
  --taupe: #B6A797;
  --ink: #2A221D;
  --ink-2: #5A4D44;
  --ink-3: #6F6259;
  --espresso: #1E1814;
  --bronze: #9A7750;
  --bronze-dark: #7A5B3C; /* bronze para texto pequeno (contraste AA) */
  --bronze-light: #CDAE87;
  --sage: #7FA07A;
  --error: #A4442E;

  --line: rgba(42, 34, 29, .1);
  --line-2: rgba(42, 34, 29, .18);
  --line-light: rgba(246, 241, 235, .12);
  --line-light-2: rgba(246, 241, 235, .24);

  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1360px;
  --header-h: 84px;
  --section-y: clamp(96px, 11vw, 176px);
  --radius: 28px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* granulado sutil, dá textura de papel fotográfico */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }

::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  /* respeita o notch/Dynamic Island com o celular deitado */
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.section { padding-block: var(--section-y); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 400;
  padding: .8rem 1.3rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font-size: .9rem;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform .35s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.35rem, 1.35rem + 3.6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.h2 em { font-style: normal; font-weight: 300; color: var(--bronze); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: clamp(1.1rem, 1.8vw, 1.75rem);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .78rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--bronze-dark);
}
.eyebrow__num::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--ink-2);
  opacity: .4;
}
.eyebrow--light { color: rgba(246, 241, 235, .72); }
.eyebrow--light .eyebrow__num { color: var(--bronze-light); }
.eyebrow--light .eyebrow__num::after { background: var(--ivory); }

/* ---------- Botões e links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--ivory);
  --btn-hover: var(--bronze-dark);
  --btn-border: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 56px;
  padding: 0 .45rem 0 1.6rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover);
  transform: translateY(102%);
  transition: transform .6s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn:not(:has(.btn__icon)) { padding: 0 1.6rem; }

.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(246, 241, 235, .12);
  transition: transform .6s var(--ease), background-color .45s var(--ease);
}
.btn__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--sm { min-height: 44px; font-size: .9rem; }
.btn--sm:not(:has(.btn__icon)) { padding: 0 1.3rem; }
.btn--block { width: 100%; justify-content: space-between; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-hover: var(--ink);
  --btn-border: var(--line-2);
}
.btn--ghost .btn__icon { background: var(--cream); }

.btn--light {
  --btn-bg: var(--ivory);
  --btn-fg: var(--ink);
  --btn-hover: var(--bronze-light);
  --btn-border: var(--ivory);
}
.btn--light .btn__icon { background: rgba(42, 34, 29, .08); }

@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__icon { transform: rotate(-45deg); }
  .btn--ghost:hover { color: var(--ivory); border-color: var(--ink); }
  .btn--ghost:hover .btn__icon { background: rgba(246, 241, 235, .14); }
}

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
}
@media (hover: hover) {
  .link-underline:hover::after { animation: underline .9s var(--ease) both; }
}
@keyframes underline {
  0%   { transform: scaleX(1); transform-origin: right; }
  45%  { transform: scaleX(0); transform-origin: right; }
  46%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--ink);
  transition: transform .6s var(--ease), color .4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(246, 241, 235, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
/* quem navega pelo teclado sempre enxerga o cabeçalho */
.header:focus-within { transform: none; }

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  transition: height .5s var(--ease);
}
.header.is-scrolled .header__inner { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-right: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.brand__text { display: grid; gap: .3rem; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.024em;
  white-space: nowrap;
}
.brand__sub {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .65;
}
.brand--light .brand__mark { border-color: var(--line-light-2); }
@media (hover: hover) {
  .brand:hover .brand__mark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .brand--light:hover .brand__mark { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
}

.nav { display: none; }
.nav__list { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink-2);
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__cta { display: none; }

.menu-btn {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: inherit;
  transition: border-color .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.menu-btn__line {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .55s var(--ease), top .55s var(--ease);
}
.menu-btn__line:nth-child(1) { top: 19.5px; }
.menu-btn__line:nth-child(2) { top: 26.5px; }
.menu-open .menu-btn { border-color: var(--line-light-2); }
.menu-open .menu-btn__line:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn__line:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- Menu em tela cheia (celular/tablet) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  background: var(--espresso);
  color: var(--ivory);
  clip-path: circle(0% at calc(100% - var(--gutter) - 24px) 42px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu {
  clip-path: circle(150% at calc(100% - var(--gutter) - 24px) 42px);
  visibility: visible;
  transition: clip-path .8s var(--ease-io), visibility 0s 0s;
}
.menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-height: 100%;
  padding-top: calc(var(--header-h) + 4vh);
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.menu__list { display: grid; gap: .2rem; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .3rem 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 9vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s;
}
.menu-open .menu__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(.28s + var(--i, 0) * .06s);
}
.menu__num {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--bronze-light);
  transform: translateY(-1.3em);
}
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light);
  color: rgba(246, 241, 235, .7);
  font-size: .92rem;
  line-height: 1.5;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.menu-open .menu__foot { opacity: 1; transition-delay: .6s; }
.menu__social {
  display: inline-block;
  margin-top: .35rem;
  color: var(--bronze-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
html.menu-open { overflow: hidden; }
.menu-open .header { color: var(--ivory); }
.menu-open .header::before { opacity: 0; }
.menu-open .brand__mark { border-color: var(--line-light-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: calc(var(--header-h) + 28px) 0 64px;
  background:
    radial-gradient(70% 60% at 80% 40%, #EDE3D7 0%, rgba(237, 227, 215, 0) 70%),
    linear-gradient(180deg, var(--ivory-2) 0%, var(--ivory) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "media" "body";
  row-gap: 32px;
}
.hero__head { grid-area: head; }
.hero__body { grid-area: body; }
.hero__media { grid-area: media; }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 18.5vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__kicker-line { flex: none; width: 32px; height: 1px; background: var(--bronze); }
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: .06em .08em .12em 0;
  margin: -.06em -.08em -.12em 0;
}
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; font-weight: 300; letter-spacing: -.045em; color: var(--bronze); }
/* "Dra." pequeno, encaixado no alto do nome */
.hero__prefix {
  display: inline-block;
  vertical-align: top;
  margin-top: .32em;
  font-size: .19em;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--bronze-dark);
}
.hero__tagline {
  margin-top: clamp(1rem, 1.8vw, 1.5rem);
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.028em;
  color: var(--ink-2);
  text-wrap: balance;
}
.hero__tagline em { font-style: normal; font-weight: 600; color: var(--ink); }

.hero__lead {
  max-width: 46ch;
  font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero__facts svg { flex: none; width: 11px; height: 11px; fill: var(--bronze); }

/* composição: arco + recorte da doutora */
.hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 54 / 70;
}
.hero__arch {
  position: absolute;
  inset: 15% 7% 0;
  overflow: hidden;
  border-radius: 999px 999px 30px 30px;
  background:
    radial-gradient(90% 55% at 50% 28%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #D8CBBD 0%, #BDAE9E 52%, #A69584 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    0 50px 90px -50px rgba(42, 34, 29, .55);
  translate: 0 calc(var(--sy, 0) * .035px);
}
.hero__arch::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%;
  bottom: 2.5%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 34, 29, .45), rgba(42, 34, 29, 0));
  filter: blur(5px);
}
.hero__figure {
  position: absolute;
  inset: 0 0 4.5%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  translate: 0 calc(var(--sy, 0) * -.05px);
}
.hero__photo {
  width: auto;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 28px 34px rgba(42, 34, 29, .18));
}

.hero__badge {
  position: absolute;
  top: 9%;
  right: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(88px, 8.6vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 22px 44px -18px rgba(42, 34, 29, .65);
}
.hero__badge-ring {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  overflow: visible;
  animation: spin 26s linear infinite;
}
.hero__badge-ring text {
  font-family: var(--sans);
  font-size: 9.2px;
  font-weight: 600;
  letter-spacing: .4px;
  fill: currentColor;
}
.hero__badge-star { width: 22%; height: 22%; fill: var(--bronze-light); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__chip {
  position: absolute;
  left: 0;
  bottom: 11%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1.15rem .8rem .95rem;
  border-radius: 18px;
  background: rgba(251, 248, 244, .76);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 24px 48px -24px rgba(42, 34, 29, .5);
}
.hero__chip-text { display: grid; gap: .15rem; line-height: 1.25; }
.hero__chip strong { font-size: .82rem; font-weight: 600; letter-spacing: -.01em; }
.hero__chip small { font-size: .74rem; color: var(--ink-3); }

.pulse {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--sage);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Faixa de procedimentos ---------- */
.marquee {
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px) 0;
  background: var(--espresso);
  color: var(--ivory);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
}
.marquee__group span {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.marquee__group span:nth-of-type(even) { font-weight: 300; color: rgba(246, 241, 235, .55); }
.marquee__group svg { flex: none; width: clamp(12px, 1.2vw, 16px); height: auto; fill: var(--bronze-light); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}

/* ---------- Sobre ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "media" "body";
}
.about__head { grid-area: head; }
.about__body { grid-area: body; }
.about__media {
  grid-area: media;
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(3.5rem, 8vw, 4.5rem);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--line-2);
  border-radius: 999px 999px 26px 26px;
  pointer-events: none;
}
.about__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 26px 26px;
  background: var(--taupe);
}
.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__quote {
  position: absolute;
  right: 4%;
  bottom: -28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 290px;
  padding: 1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ivory-2);
  box-shadow: 0 30px 60px -30px rgba(42, 34, 29, .45);
}
.about__quote svg { flex: none; width: 16px; height: 16px; fill: var(--bronze); }
.about__quote blockquote {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.018em;
}

.about__lead {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.08rem + .95vw, 1.9rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.026em;
  text-wrap: pretty;
}
.about__text {
  display: grid;
  gap: 1.1rem;
  max-width: 58ch;
  margin-top: 1.5rem;
  color: var(--ink-2);
}
.signature {
  margin-top: 1.25rem;
  font-family: var(--script);
  font-size: clamp(2.7rem, 2rem + 2vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
  transform: rotate(-4deg);
  transform-origin: left center;
  width: max-content;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
.facts__item { padding: 1.05rem 0; border-top: 1px solid var(--line-2); }
.facts dt {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.facts dd {
  margin-top: .35rem;
  font-family: var(--display);
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.facts__link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .3s, background-size .5s var(--ease);
}
@media (hover: hover) {
  .facts__link:hover { color: var(--bronze-dark); background-size: 0 1px; }
}

/* ---------- Filosofia (seção escura) ---------- */
.philosophy {
  position: relative;
  overflow: clip;
  padding-block: var(--section-y);
  background: var(--espresso);
  color: var(--ivory);
}
.philosophy__glow {
  position: absolute;
  top: -25vw;
  right: -20vw;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 174, 135, .15), rgba(205, 174, 135, 0));
  pointer-events: none;
}
.manifesto {
  position: relative;
  max-width: 1180px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 1.05rem + 3vw, 4.05rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.038em;
  text-wrap: pretty;
}
.manifesto em { font-style: normal; color: var(--bronze-light); }
.js .manifesto .w {
  opacity: clamp(.16, calc(var(--p, 0) * (var(--n, 1) + 6) - var(--i, 0)), 1);
  transition: opacity .25s linear;
}

.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: clamp(64px, 8vw, 128px);
}
.pillar {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light-2);
}
.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.pillar__num {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--bronze-light);
}
.pillar__icon {
  width: 44px;
  height: 44px;
  margin: 1.75rem 0 1.4rem;
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .8s var(--ease), stroke .5s;
}
.pillar__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.15rem + .45vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.pillar p {
  margin-top: .8rem;
  font-size: .97rem;
  line-height: 1.65;
  color: rgba(246, 241, 235, .66);
}
@media (hover: hover) {
  .pillar:hover::before { transform: scaleX(1); }
  .pillar:hover .pillar__icon { transform: translateY(-4px) rotate(-6deg); stroke: var(--bronze-light); }
}

/* ---------- Cabeçalho de seção ---------- */
.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__text { max-width: 46ch; color: var(--ink-2); text-wrap: pretty; }
.section-head .eyebrow { margin-bottom: clamp(1.1rem, 1.8vw, 1.75rem); }
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .section-head__text { margin-top: 1.5rem; }

/* ---------- Procedimentos: cards com foto ----------
   Celular: carrossel com arraste. Tablet/desktop: grade em mosaico. */
.proc-grid {
  display: flex;
  gap: 12px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px 0 8px var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.proc-grid::-webkit-scrollbar { display: none; }
/* respiro no fim do carrossel */
.proc-grid::after { content: ""; flex: 0 0 calc(var(--gutter) - 12px); }

.proc-card {
  position: relative;
  flex: 0 0 84%;
  height: min(480px, 124vw);
  overflow: hidden;
  border-radius: 26px;
  background: var(--sand);
  isolation: isolate;
  scroll-snap-align: start;
}
.proc-card__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 22px 76px 22px 22px;
  border: 0;
  border-radius: inherit;
  background: none;
  color: #fff;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.proc-card__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* película ancorada no pé do card: o texto fica sempre sobre a parte escura,
     qualquer que seja a altura do card (contraste AA sobre fotos claras) */
  background: linear-gradient(to top, rgba(30, 24, 20, .9) 0, rgba(30, 24, 20, .66) 140px, rgba(30, 24, 20, .3) 240px, rgba(30, 24, 20, 0) 320px);
}
.proc-card__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
  box-shadow: inset 0 0 0 9px rgba(30, 24, 20, .85);
}
.proc-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1.2s var(--ease);
}
.proc-card__body { display: block; }
.proc-card__title {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.25rem + 1vw, 2.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.034em;
}
.proc-card__text {
  display: block;
  max-width: 36ch;
  margin-top: .45rem;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .84);
}
.proc-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: .42rem .8rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(30, 24, 20, .6);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
}
.proc-card__plus {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(251, 248, 244, .94);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
  transition: transform .6s var(--ease), background-color .35s var(--ease);
}
.proc-card__plus svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
@media (hover: hover) {
  .proc-card__btn:hover .proc-card__img { transform: scale(1.06); }
  .proc-card__btn:hover .proc-card__plus { transform: rotate(90deg); background: var(--bronze-light); }
}
.proc-card__btn:active .proc-card__plus { transform: scale(.92); }

/* controles do carrossel (só no celular) */
.proc-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.proc-nav__bar {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line-2);
}
.proc-nav__fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--progress, .12));
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.proc-nav__btns { display: flex; gap: .5rem; }
.proc-nav__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color .3s, color .3s, opacity .3s;
  -webkit-tap-highlight-color: transparent;
}
.proc-nav__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.proc-nav__btn:disabled { opacity: .35; cursor: default; }
.proc-nav__btn:not(:disabled):active { background: var(--ink); color: var(--ivory); }

/* ---------- Janela de detalhes do procedimento ---------- */
.proc-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}
.proc-dialog[open] { display: grid; align-items: end; }
.proc-dialog::backdrop {
  background: rgba(20, 16, 13, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.proc-dialog__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  max-height: 92vh;
  max-height: 92svh;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--ivory);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .45);
}
.proc-dialog__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 38vh;
  max-height: 38svh;
  overflow: hidden;
  background: var(--sand);
}
.proc-dialog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.proc-dialog__tag {
  position: absolute;
  left: max(18px, env(safe-area-inset-left));
  bottom: 16px;
  padding: .42rem .8rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(30, 24, 20, .6);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.2;
}
.proc-dialog__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px max(var(--gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.proc-dialog__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.45rem + 1.8vw, 2.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.038em;
}
/* o título recebe o foco ao abrir (leitores de tela começam por ele), sem anel visível */
.proc-dialog__title:focus { outline: none; }
.proc-dialog__lead {
  margin-top: .6rem;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.proc-dialog__content p { margin-top: 1rem; color: var(--ink-2); }
.proc-dialog__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.proc-dialog__chips li {
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.proc-dialog__cta { width: 100%; margin-top: 1.75rem; justify-content: space-between; }
.proc-dialog__note { margin-top: .9rem; font-size: .8rem; color: var(--ink-3); }
.proc-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 248, 244, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
  transition: transform .4s var(--ease), background-color .3s;
}
.proc-dialog__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
@media (hover: hover) {
  .proc-dialog__close:hover { transform: rotate(90deg); background: #fff; }
}
html.dialog-open { overflow: hidden; }

.proc-dialog[open] .proc-dialog__panel { animation: sheet-up .55s var(--ease) both; }
.proc-dialog[open]::backdrop { animation: fade-in .4s ease both; }
.proc-dialog.is-closing .proc-dialog__panel { animation: sheet-down .3s var(--ease-io) both; }
.proc-dialog.is-closing::backdrop { animation: fade-out .3s ease both; }
@keyframes sheet-up   { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { from { transform: none; } to { transform: translateY(100%); } }
@keyframes pop-in  { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in  { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* ---------- Jornada ---------- */
.journey { background: var(--cream); }
.steps {
  --dot: 54px;
  --gap: 2.25rem;
  margin-top: clamp(48px, 6vw, 88px);
}
.steps__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: var(--dot) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2);
  left: calc(var(--dot) / 2);
  width: 1px;
  height: calc(100% + var(--gap));
  background: var(--line-2);
}
.step:not(:last-child)::after {
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease-io);
}
.step.is-done::after { transform: scaleY(1); }
.step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--cream);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.step.is-active .step__dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
  box-shadow: 0 0 0 6px rgba(42, 34, 29, .06);
}
.step__title {
  margin: .8rem 0 .45rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.024em;
}
.step p { font-size: .97rem; line-height: 1.65; color: var(--ink-2); }

/* ---------- Dúvidas ---------- */
.faq__grid { display: grid; gap: 2.5rem; }
.faq__text { max-width: 40ch; margin: 1.5rem 0 2rem; color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item__h { font: inherit; }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: clamp(1.25rem, 2vw, 1.6rem) 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  -webkit-tap-highlight-color: transparent;
}
.faq-item__icon {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .6s var(--ease);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-item__icon { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (hover: hover) {
  .faq-item__q:hover .faq-item__icon { border-color: var(--ink); }
}
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .7s var(--ease);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s .7s;
}
.faq-item.is-open .faq-item__inner { visibility: visible; transition-delay: 0s; }
.faq-item__inner p {
  max-width: 64ch;
  padding: 0 0 1.75rem;
  color: var(--ink-2);
}

/* ---------- Contato ---------- */
.contact {
  position: relative;
  overflow: clip;
  padding-block: var(--section-y);
  background: var(--espresso);
  color: var(--ivory);
}
.contact__glow {
  position: absolute;
  left: -25vw;
  bottom: -40vw;
  width: 80vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 174, 135, .14), rgba(205, 174, 135, 0));
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.contact .h2 em { color: var(--bronze-light); }
.contact__text {
  max-width: 44ch;
  margin-top: 1.5rem;
  font-size: 1.06rem;
  color: rgba(246, 241, 235, .72);
}
.contact__info {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-light);
}
.contact__info li { display: flex; align-items: center; gap: 1rem; line-height: 1.4; }
.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-light-2);
  color: var(--bronze-light);
}
.contact__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__info strong { display: block; font-size: 1rem; font-weight: 600; }
.contact__info small { display: block; margin-top: .15rem; font-size: .86rem; color: rgba(246, 241, 235, .58); }
.contact__link { display: flex; align-items: center; gap: 1rem; }
.contact__link .contact__icon { transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.contact__link strong {
  text-decoration: underline;
  text-decoration-color: rgba(246, 241, 235, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color .3s;
}
@media (hover: hover) {
  .contact__link:hover .contact__icon { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--espresso); }
  .contact__link:hover strong { text-decoration-color: var(--bronze-light); }
}

/* cartão do formulário */
.form-card {
  position: relative;
  padding: clamp(22px, 3.6vw, 52px);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .75);
}
.form__head { margin-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.form__title {
  font-family: var(--display);
  font-size: clamp(1.65rem, 1.35rem + 1vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.form__sub { margin-top: .35rem; font-size: .92rem; color: var(--ink-3); }

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem 1rem;
}
.field { display: grid; gap: .5rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field__label {
  padding: 0;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--ink-2);
}
.field__opt { font-weight: 500; color: var(--ink-3); }

.input {
  width: 100%;
  min-height: 54px;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background-color: var(--ivory-2);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.input::placeholder { color: #7D7066; opacity: 1; }
.input:hover { border-color: rgba(42, 34, 29, .34); }
.input:focus {
  outline: none;
  border-color: var(--ink);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(154, 119, 80, .16);
}
.select {
  padding-right: 3rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A221D' stroke-width='1.6' 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 1.1rem center;
  background-size: 18px;
}
.textarea { min-height: 112px; resize: vertical; }
.field__error { font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--error); }
/* vazio continua na árvore de acessibilidade (sem ocupar espaço), para o aviso ser anunciado */
.field__error:empty { position: absolute; }
.field.is-invalid .input {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(164, 68, 46, .1);
}
.field__counter { justify-self: end; font-size: .75rem; color: var(--ink-3); }
.field.is-highlight .input { animation: highlight 1.8s var(--ease) .7s; }
@keyframes highlight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(154, 119, 80, 0); border-color: var(--line-2); }
  30% { box-shadow: 0 0 0 6px rgba(154, 119, 80, .28); border-color: var(--bronze); }
}

.chips legend { margin-bottom: .55rem; }
.chips__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--ivory-2);
  font-size: .92rem;
  font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
}
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid rgba(42, 34, 29, .35);
  border-radius: 7px;
  background: var(--ivory-2);
  transition: background-color .3s, border-color .3s;
}
.check__box svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--ivory);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .4s var(--ease);
}
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--bronze); outline-offset: 2px; }
.field.is-invalid .check__box { border-color: var(--error); }

.form__submit {
  margin-top: 1.6rem;
  min-height: 62px;
  padding-left: 1.6rem;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}
.form__submit > span { transition: opacity .3s; }
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(246, 241, 235, .3);
  border-top-color: var(--ivory);
  border-radius: 50%;
  opacity: 0;
  animation: spin .8s linear infinite;
}
.form.is-loading .form__submit { pointer-events: none; }
.form.is-loading .form__submit > span:not(.spinner) { opacity: 0; }
.form.is-loading .spinner { opacity: 1; }
.form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .8rem;
  text-align: center;
  color: var(--ink-3);
}
.form__note svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(.5rem, 2vw, 2rem);
  text-align: center;
  outline: none;
}
.form-success__icon svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success__icon circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw 1s var(--ease) forwards; }
.form-success__icon path { stroke: var(--ink); stroke-width: 2.2; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success__title {
  margin-top: .5rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.form-success p { max-width: 40ch; color: var(--ink-2); }

/* ---------- Rodapé ---------- */
.footer {
  padding: clamp(72px, 8vw, 120px) 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  background: var(--espresso);
  color: rgba(246, 241, 235, .66);
  font-size: .94rem;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}
.footer__brand { grid-column: 1 / -1; }
.footer .brand { color: var(--ivory); }
.footer__tagline { max-width: 34ch; margin-top: 1.25rem; line-height: 1.65; }
.footer__title {
  margin-bottom: 1rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory);
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--ivory); }
.footer__social { display: inline-flex; align-items: center; gap: .5rem; }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.footer__giant {
  margin: clamp(56px, 8vw, 120px) 0 clamp(20px, 3vw, 40px);
  font-family: var(--display);
  font-size: clamp(2.6rem, 14.2vw, 13.5rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.055em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(246, 241, 235, .92) 15%, rgba(246, 241, 235, .05) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.footer__giant em { font-style: normal; font-weight: 300; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light);
  font-size: .8rem;
  line-height: 1.6;
}
.footer__legal { display: grid; gap: .3rem; max-width: 720px; }
.footer__disclaimer { color: rgba(246, 241, 235, .6); }
.footer__end { display: grid; justify-items: start; gap: .9rem; }
.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ivory);
}
.footer__top-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.footer__top-link:hover svg { transform: translateY(-3px); }
.footer__credit {
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(246, 241, 235, .55);
}
.footer__credit strong { font-weight: 700; color: rgba(246, 241, 235, .75); }

/* ---------- CTA fixo no celular ---------- */
.mobile-cta {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  background: rgba(246, 241, 235, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 44px -16px rgba(42, 34, 29, .5);
  transform: translateY(calc(100% + 32px));
  transition: transform .6s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 54px; }
.mobile-cta .btn__icon { width: 42px; height: 42px; }
/* sobre seções escuras o CTA inverte as cores */
.mobile-cta.on-dark {
  border-color: rgba(246, 241, 235, .14);
  background: rgba(30, 24, 20, .55);
}
.mobile-cta.on-dark .btn {
  --btn-bg: var(--ivory);
  --btn-fg: var(--ink);
  --btn-hover: var(--bronze-light);
  --btn-border: var(--ivory);
}
.mobile-cta.on-dark .btn__icon { background: rgba(42, 34, 29, .08); }

/* ---------- Animações de entrada ---------- */
.js .hero [data-intro] { opacity: 0; }
.js.is-loaded .hero [data-intro] {
  animation: intro-up 1.3s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.js.is-loaded .hero__media[data-intro] { animation-name: intro-media; animation-duration: 1.6s; }
.js .hero__title .line > span { transform: translateY(112%); }
.js.is-loaded .hero__title .line > span {
  animation: line-up 1.4s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes intro-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes intro-media {
  from { opacity: 0; transform: translateY(48px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes line-up {
  from { transform: translateY(112%); }
  to   { transform: none; }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* assinatura "escrita" da esquerda para a direita
   (o recorte fica no span, assim o parágrafo continua visível para o observer) */
.js .signature[data-reveal] { opacity: 1; transform: rotate(-4deg); }
.js .signature[data-reveal] > span {
  display: inline-block;
  clip-path: inset(-30% 100% -30% -4%);
  transition: clip-path 1.8s var(--ease-io) .25s;
}
.js .signature[data-reveal].is-in > span { clip-path: inset(-30% -6% -30% -4%); }

/* retrato: de preto e branco para cor */
.js .about__frame img {
  transform: scale(1.12);
  filter: grayscale(1) contrast(1.04);
  transition: transform 2s var(--ease), filter 1.8s var(--ease) .35s;
}
.js .about__media.is-in .about__frame img { transform: none; filter: none; }

/* sem JavaScript: carrossel sem controles */
html:not(.js) .proc-nav { display: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 639px) {
  /* no carrossel os cards já aparecem prontos ao arrastar */
  .js .proc-card[data-reveal] { opacity: 1; transform: none; }
}

@media (min-width: 560px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 559px) {
  /* 3 pílulas lado a lado; em telas muito estreitas, 2 por linha */
  .chips__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
  .chip span { justify-content: center; width: 100%; padding: 0 .5rem; }
}

@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.5rem; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__end { justify-items: end; }

  .proc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(300px, 44vw, 420px);
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .proc-grid::after { content: none; }
  .proc-card { flex: none; height: auto; }
  .proc-card--wide { grid-column: span 2; }
  .proc-card__btn { padding: 26px 84px 26px 26px; }
  .proc-card__tag { top: 22px; left: 22px; }
  .proc-card__plus { right: 22px; bottom: 22px; }
  .proc-nav { display: none; }
}

@media (min-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: calc(var(--header-h) + clamp(16px, 3vh, 40px)) 0 clamp(40px, 6vh, 72px);
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: "head media" "body media";
    column-gap: clamp(40px, 6vw, 112px);
    row-gap: clamp(28px, 3.4vw, 44px);
  }
  .hero__head { align-self: end; }
  .hero__body { align-self: start; max-width: 580px; }
  .hero__media {
    align-self: center;
    width: 100%;
    max-width: min(540px, calc((100svh - var(--header-h) - 80px) * .77));
  }
  .hero__title { font-size: clamp(4.6rem, .8rem + 8.6vw, 9.6rem); }

  .about__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "media head" "media body";
    column-gap: clamp(56px, 8vw, 144px);
  }
  .about__head { align-self: end; }
  .about__body { align-self: start; margin-top: 2rem; }
  .about__media { align-self: center; width: 100%; max-width: 520px; margin: 0; }
  .about__media::before { inset: -18px 18px 18px -18px; }
  .about__quote { right: -10%; bottom: 9%; }

  .section-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: end;
    gap: 2rem clamp(32px, 6vw, 96px);
  }
  .section-head--center { display: flex; align-items: center; }

  .proc-dialog[open] { place-items: center; padding: 32px; }
  .proc-dialog__panel {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-rows: minmax(0, 1fr);
    width: min(1040px, 100%);
    max-height: min(680px, 88vh);
    border-radius: 32px;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .55);
  }
  .proc-dialog__media { aspect-ratio: auto; max-height: none; height: 100%; }
  .proc-dialog__tag { left: 24px; bottom: 22px; }
  .proc-dialog__body { padding: clamp(36px, 4vw, 56px); }
  .proc-dialog__cta { width: auto; }
  .proc-dialog[open] .proc-dialog__panel { animation-name: pop-in; }
  .proc-dialog.is-closing .proc-dialog__panel { animation-name: pop-out; }

  .steps { --dot: 64px; --gap: clamp(20px, 2.4vw, 40px); }
  .steps__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step { display: block; }
  .step:not(:last-child)::before,
  .step:not(:last-child)::after { width: calc(100% + var(--gap)); height: 1px; }
  .step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; }
  .step.is-done::after { transform: scaleX(1); }
  .step__title { margin: 1.75rem 0 .7rem; }

  .faq__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 7vw, 128px);
    align-items: start;
  }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-item__inner p { padding-right: 4rem; }

  .footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1000px) {
  .contact__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(56px, 7vw, 128px);
  }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 1080px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
  .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
  .mobile-cta { display: none; }

  .proc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(360px, 30vw, 460px);
    gap: 20px;
  }
}

@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .brand__mark { width: 42px; height: 42px; font-size: .86rem; }
  .brand__name { font-size: 1.06rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: space-between; }
  .hero__actions .link-underline { align-self: center; }
  .hero__facts { justify-content: center; }
  .hero__chip { bottom: 7%; }
}

@media (max-width: 639px) {
  .hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    text-align: center;
  }
  .hero__facts li {
    flex-direction: column;
    gap: .55rem;
    font-size: .76rem;
    line-height: 1.35;
  }

  /* ficha do "Sobre" vira lista: rótulo à esquerda, valor à direita */
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .3rem 1rem;
    padding: .95rem 0;
  }
  .facts dd { margin-top: 0; text-align: right; }
}

@media (max-width: 380px) {
  .brand__sub { letter-spacing: .18em; }
  .hero__chip { padding: .65rem .9rem .65rem .8rem; }
  .hero__chip small { display: none; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js .hero [data-intro],
  .js .hero__title .line > span,
  .js .about__frame img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .js .signature[data-reveal] { transform: rotate(-4deg) !important; }
  .js .signature[data-reveal] > span { clip-path: none; }
  .marquee__track, .hero__badge-ring { animation: none !important; }
}
