/* Dra. Luiza Andres — site em tela cheia, menu no topo.
   Componentes no espírito da UI HorizonX: pílulas, marcador deslizante, cards com tons suaves. */
:root {
  /* Marca */
  --tinta: #6b5948;
  --champagne: #b7a18d;
  --escuro: #2a2320;
  --escuro-2: #1c1714;
  /* Superfícies */
  --branco: #ffffff;
  --lateral: #f4f3f1;
  --linha: #e8e5e1;
  --linha-forte: #d6d0c9;
  /* Texto */
  --texto: #2a2320;
  --texto-2: #6e655e;
  --texto-3: #978e87;
  /* Tons */
  --rosa: #fbf4f1; --rosa-2: #f3e3dd;
  --areia: #f8f5f0; --areia-2: #ede4d8;
  --salvia: #f4f7f2; --salvia-2: #e1e9dc;
  --nevoa: #f3f5f8; --nevoa-2: #e1e6ee;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pena: cubic-bezier(.5, .05, .3, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --topo: 76px;
  --secao: clamp(80px, 9vw, 136px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--branco); color: var(--texto); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: #ecdcc9; color: var(--texto); }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ol, ul, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 120; padding: 12px 18px; background: var(--escuro); color: #fff; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.container { width: min(100%, 1360px); margin-inline: auto; padding-inline: var(--gutter); }
.container--estreito { width: min(100%, 1040px); }
.aviso svg, .flutua svg, .busca__icone { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pílulas ---------- */
.pilula { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s; }
.pilula:active { transform: scale(.97); }
.pilula--escura { background: var(--escuro); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 20px -12px rgba(42, 35, 32, .9); }
.pilula--escura:hover { background: var(--escuro-2); transform: translateY(-1px); }
.pilula--contorno { background: rgba(255, 255, 255, .7); border-color: var(--linha-forte); color: var(--texto); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pilula--contorno:hover { border-color: var(--texto); background: #fff; }
.pilula--clara { background: var(--branco); color: var(--texto); }
.pilula--clara:hover { background: #f3ede7; }
.pilula--vidro { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: #fff; }
.pilula--vidro:hover { background: rgba(255, 255, 255, .16); }
.pilula--grande { min-height: 56px; padding: 0 30px; font-size: 16px; }

/* ---------- Abertura (monograma escrito na ordem da mão) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: var(--branco); transition: opacity .6s var(--ease), visibility .6s; }
.intro__logo { width: min(78vw, 440px); height: auto; overflow: visible; transition: transform .8s var(--ease); }
.intro .traco { stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: escrever var(--d) var(--pena) var(--t) forwards; }
.intro__nome path, .intro__desc .letra { opacity: 0; animation: letra .5s var(--ease) calc(1.75s + var(--i) * 28ms) forwards; }
.intro__desc .letra { animation-delay: calc(2.15s + var(--i) * 26ms); }
.intro__desc .filete { transform-box: fill-box; transform-origin: center; transform: scaleX(0); animation: filete .7s var(--ease) 2.1s forwards; }
.intro.saindo { opacity: 0; visibility: hidden; }
.intro.saindo .intro__logo { transform: translateY(-14px) scale(.97); }
.sem-intro .intro { display: none; }
@keyframes escrever { to { stroke-dashoffset: 0; } }
@keyframes letra { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
@keyframes filete { to { transform: scaleX(1); } }

/* ---------- Aviso de agendamento ---------- */
.aviso { position: relative; z-index: 41; display: flex; align-items: center; justify-content: center; gap: 6px 16px; flex-wrap: wrap; padding: 10px 56px; background: var(--escuro); color: #fff; font-size: 14px; line-height: 1.4; text-align: center; }
.aviso[hidden] { display: none; }
.aviso__texto { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .86); }
.aviso__icone { flex: none; width: 16px; height: 16px; }
.aviso__acao { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); transition: text-decoration-color .2s; }
.aviso__acao:hover { text-decoration-color: #fff; }
.aviso__fechar { position: absolute; right: 10px; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; opacity: .7; cursor: pointer; transform: translateY(-50%); }
.aviso__fechar:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.aviso__fechar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Menu no topo ---------- */
.topo { position: sticky; top: 0; z-index: 40; height: var(--topo); transition: background .35s, box-shadow .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s; }
.topo.rolado { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--linha), 0 18px 40px -30px rgba(42, 35, 32, .45); }
.topo__inner { position: relative; display: flex; align-items: center; gap: 16px; width: min(100%, 1360px); height: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.marca { flex: none; }
.marca img { width: 184px; height: auto; }
.navegacao { position: relative; display: flex; gap: 2px; margin-inline: auto; padding: 4px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(214, 208, 201, .7); border-radius: 999px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.navegacao a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; color: var(--texto-2); font-size: 14.5px; white-space: nowrap; transition: color .3s; }
.navegacao a:hover { color: var(--texto); }
.navegacao a.ativo { color: #fff; }
.navegacao__marcador { position: absolute; z-index: 0; top: 4px; left: 0; width: 0; height: 38px; background: var(--escuro); border-radius: 999px; opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.navegacao .navegacao__agendar { display: none; }
.topo__agendar { flex: none; }
.topo__menu { display: none; place-items: center; width: 46px; height: 46px; padding: 0; background: rgba(255, 255, 255, .8); border: 1px solid var(--linha); border-radius: 50%; cursor: pointer; }
.topo__menu-icone { position: relative; width: 18px; height: 10px; }
.topo__menu-icone::before, .topo__menu-icone::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: var(--texto); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.topo__menu-icone::before { top: 0; }
.topo__menu-icone::after { top: 8.4px; }
.topo__menu[aria-expanded="true"] .topo__menu-icone::before { top: 4.2px; transform: rotate(45deg); }
.topo__menu[aria-expanded="true"] .topo__menu-icone::after { top: 4.2px; transform: rotate(-45deg); }

/* ---------- Hero em tela cheia ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(660px, calc(100svh - 40px)); margin-top: calc(-1 * var(--topo)); padding-top: var(--topo); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.hero__fundo { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #fdfbfa 0%, #f9f3f0 55%, #f5f1eb 100%); }
.bolha { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .9; will-change: transform; translate: calc(var(--px, 0) * var(--f, 30px)) calc(var(--py, 0) * var(--f, 30px)); animation: deriva var(--dur, 20s) ease-in-out var(--atraso, 0s) infinite alternate; }
.bolha--rosa { --dur: 19s; --f: 40px; top: -14%; right: 6%; width: min(52vw, 760px); aspect-ratio: 1; background: #f3d8ce; }
.bolha--areia { --dur: 23s; --f: -26px; --atraso: -6s; left: -10%; bottom: -16%; width: min(46vw, 680px); aspect-ratio: 1; background: #eedcc4; }
.bolha--salvia { --dur: 21s; --f: 34px; --atraso: -11s; right: -8%; bottom: 0; width: min(38vw, 560px); aspect-ratio: 1; background: #d9e5d3; opacity: .85; }
.bolha--nevoa { --dur: 27s; --f: -20px; --atraso: -3s; left: 26%; top: 8%; width: min(30vw, 440px); aspect-ratio: 1; background: #dee5ef; opacity: .6; }
@keyframes deriva { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5%, -4%) scale(1.08); } 100% { transform: translate(-4%, 5%) scale(.95); } }
.hero__monograma { position: absolute; right: -6%; top: 6%; width: min(64vw, 920px); height: auto; fill: rgba(107, 89, 72, .045); translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -18px + var(--sy, 0) * 60px); }
.hero__grao { position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .35 0 0 0 0 .28 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; z-index: 2; display: grid; flex: 1; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; align-items: stretch; }
.hero__texto { display: flex; flex-direction: column; justify-content: center; padding-block: 40px 96px; }
.selo { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(232, 229, 225, .9); border-radius: 999px; color: var(--texto-2); font-size: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.selo__ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--tinta); box-shadow: 0 0 0 4px rgba(107, 89, 72, .14); }
.hero h1 { margin-top: 28px; font-size: clamp(56px, 6.8vw, 116px); line-height: .96; letter-spacing: -.03em; }
.linha { display: block; overflow: hidden; padding-bottom: .07em; }
.linha > span { display: block; }
.linha--recuo { padding-left: .92em; }
.hero__intro { max-width: 33em; margin-top: 28px; color: var(--texto-2); font-size: 18.5px; line-height: 1.6; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__provas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero__provas li { display: flex; flex-direction: column; padding: 10px 16px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(232, 229, 225, .9); border-radius: 16px; font-size: 13px; line-height: 1.35; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__provas strong { font-size: 14px; font-weight: 600; }
.hero__provas span { color: var(--texto-3); }

/* Retrato integrado ao fundo */
.retrato { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 520px; }
.retrato__halo { position: absolute; left: 50%; bottom: 0; width: 120%; height: 92%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); pointer-events: none; }
.retrato__foto { position: relative; width: auto; height: min(84svh, 880px); max-width: none; margin-bottom: -2px; filter: drop-shadow(0 30px 40px rgba(62, 52, 46, .2)); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 6px + var(--sy, 0) * 40px); }
.flutua, .retrato__nome { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 12px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .95); border-radius: 18px; box-shadow: 0 18px 36px -18px rgba(62, 52, 46, .45); color: var(--texto-2); font-size: 13px; line-height: 1.3; }
.flutua strong, .retrato__nome strong { display: block; color: var(--texto); font-size: 14px; font-weight: 600; }
.flutua svg { flex: none; width: 20px; height: 20px; color: var(--tinta); }
.flutua--a { top: 20%; left: 0; translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 20px); }
.flutua--b { top: 46%; right: 2%; translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 14px); }
.retrato__nome { bottom: 72px; left: 4%; translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); }
.avatar { display: grid; flex: none; place-items: center; width: 36px; height: 36px; background: var(--branco); border: 1px solid var(--linha); border-radius: 50%; }
.avatar svg { width: 21px; height: auto; fill: var(--tinta); }
.avatar--p { width: 24px; height: 24px; }
.avatar--p svg { width: 14px; }
.hero__rolar { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: grid; place-items: start center; width: 26px; height: 42px; padding-top: 8px; border: 1.5px solid rgba(42, 35, 32, .35); border-radius: 999px; transform: translateX(-50%); }
.hero__rolar span { width: 4px; height: 8px; border-radius: 4px; background: var(--texto); animation: rolar 1.8s var(--ease) infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Seções ---------- */
.secao { padding-block: var(--secao); }
.secao__cabeca { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.secao__cabeca h2, .sobre h2, .locais h2 { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.02; }
.secao__cabeca p { max-width: 36em; margin-top: 14px; color: var(--texto-2); font-size: 17.5px; }

/* Áreas de atuação */
.galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cartao { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--tom); border: 1px solid var(--linha); border-radius: 26px; scroll-margin-top: 110px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cartao:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -32px rgba(42, 35, 32, .5); }
.cartao--rosa { --tom: var(--rosa); --tom-2: var(--rosa-2); }
.cartao--areia { --tom: var(--areia); --tom-2: var(--areia-2); }
.cartao--salvia { --tom: var(--salvia); --tom-2: var(--salvia-2); }
.cartao--nevoa { --tom: var(--nevoa); --tom-2: var(--nevoa-2); }
.cartao__arte { height: 210px; overflow: hidden; background: var(--tom-2); }
.cartao__arte svg { width: 100%; height: 100%; transition: transform .9s var(--ease); }
.cartao:hover .cartao__arte svg { transform: scale(1.06); }
.cartao__tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.cartao__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tinta); }
.cartao__corpo { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 18px; }
.cartao h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.cartao p { flex: 1; margin-top: 8px; color: var(--texto-2); font-size: 15px; line-height: 1.55; }
.cartao__meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--texto-3); font-size: 13px; }
.cartao__meta a { margin-left: auto; padding: 7px 14px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(42, 35, 32, .08); border-radius: 999px; color: var(--texto); font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.cartao__meta a:hover { background: var(--escuro); border-color: var(--escuro); color: #fff; }
.arte-orbita circle, .arte-lupa, .arte-grade path, .arte-folha, .arte-texto { fill: none; stroke: rgba(107, 89, 72, .36); stroke-width: 1.3; }
.arte-orbita { transform-origin: 160px 100px; transition: transform 1.4s var(--ease); }
.arte-nucleo, .arte-ponto { fill: var(--tinta); }
.arte-ponto--2 { fill: var(--champagne); }
.cartao:hover .arte-orbita { transform: rotate(14deg) scale(1.04); }
.arte-pele circle { fill: rgba(107, 89, 72, .2); }
.arte-lupa { stroke: var(--tinta); stroke-width: 2; stroke-linecap: round; transition: transform 1s var(--ease); }
.cartao:hover .arte-lupa { transform: translate(-70px, 40px); }
.arte-grade path { stroke: rgba(107, 89, 72, .14); }
.arte-linha { fill: none; stroke: var(--tinta); stroke-width: 2.2; stroke-linecap: round; }
.arte-folha { fill: rgba(255, 255, 255, .8); stroke: rgba(107, 89, 72, .3); transition: transform .9s var(--ease); }
.arte-folha--tras { fill: rgba(255, 255, 255, .45); }
.arte-texto { stroke: rgba(107, 89, 72, .45); stroke-width: 3; stroke-linecap: round; }
.cartao:hover .arte-folha--tras { transform: translate(-14px, -6px) rotate(-4deg); }

/* Manifesto */
.manifesto { padding: clamp(40px, 5vw, 72px) var(--gutter) var(--secao); text-align: center; }
.manifesto__texto { max-width: 19em; margin: 0 auto; font: 400 clamp(32px, 3.8vw, 58px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.manifesto__assinatura { width: 80px; height: auto; margin: 44px auto 0; }
.manifesto__assinatura .traco { stroke-dasharray: 1 2; stroke-dashoffset: 0; }

/* Sobre: faixa inteira em tom claro */
.sobre { padding-block: var(--secao); background: var(--lateral); }
.sobre__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.sobre__foto { overflow: hidden; border-radius: 30px; aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -46px rgba(42, 35, 32, .55); }
.sobre__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.sobre__foto:hover img { transform: scale(1.03); }
.sobre__texto > p { max-width: 34em; margin-top: 20px; color: var(--texto-2); font-size: 17.5px; line-height: 1.7; }
.sobre__subtitulo { margin-top: 40px; font-size: 15px; font-weight: 600; }
.formacao { margin-top: 10px; border-top: 1px solid var(--linha-forte); }
.formacao li { display: grid; grid-template-columns: 74px 1fr; gap: 2px 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--linha-forte); }
.formacao time { grid-row: span 2; color: var(--tinta); font: 400 28px/1 var(--serif); }
.formacao strong { font-weight: 600; }
.formacao span { color: var(--texto-3); font-size: 14.5px; }
.registro { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.registro div { padding: 10px 18px; background: var(--branco); border-radius: 14px; }
.registro dt { color: var(--texto-3); font-size: 12.5px; }
.registro dd { font-size: 17px; font-weight: 600; }

/* Primeira consulta */
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.passo { position: relative; padding: 26px 26px 30px; background: var(--lateral); border-radius: 26px; }
.passo:not(:last-child)::after { content: ""; position: absolute; top: 49px; left: 84px; right: -16px; border-top: 1px dashed var(--linha-forte); }
.passo__n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 48px; background: var(--branco); border: 1px solid var(--linha); border-radius: 50%; color: var(--tinta); font: 400 23px/1 var(--serif); }
.passo h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.passo p { margin-top: 8px; color: var(--texto-2); font-size: 15.5px; line-height: 1.55; }

/* Locais */
.locais { padding-block: var(--secao); background: linear-gradient(180deg, #fff 0%, var(--areia) 100%); }
.locais__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.locais__texto { display: flex; flex-direction: column; gap: 28px; }
.abas { position: relative; display: inline-flex; align-self: flex-start; max-width: 100%; padding: 4px; background: var(--branco); border: 1px solid var(--linha); border-radius: 999px; }
.abas button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--texto-2); font-size: 14.5px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .3s; }
.abas button[aria-selected="true"] { color: #fff; }
.abas__marcador { position: absolute; top: 4px; left: 0; width: 0; height: 42px; background: var(--escuro); border-radius: 999px; transition: transform .5s var(--ease), width .5s var(--ease); }
.local h3 { font: 400 36px/1.1 var(--serif); letter-spacing: -.015em; }
.local address { margin: 12px 0 24px; color: var(--texto-2); font-size: 17.5px; font-style: normal; line-height: 1.6; }
.local:not([hidden]) { animation: subir .5s var(--ease); }
.mapa { position: relative; min-height: 440px; overflow: hidden; background: #edf0eb; border-radius: 30px; box-shadow: 0 40px 70px -48px rgba(42, 35, 32, .5); }
.mapa svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa__quadras path { fill: none; stroke: #fff; stroke-width: 9; }
.mapa__avenida { fill: none; stroke: #fff; stroke-width: 20; }
.mapa__rio { fill: none; stroke: #d7e2e6; stroke-width: 30; }
.mapa__pino { position: absolute; left: 40%; top: 52%; width: 46px; height: 46px; transform: translate(-50%, -100%); transition: left .9s var(--ease), top .9s var(--ease); }
.mapa[data-local="moinhos"] .mapa__pino { left: 66%; top: 36%; }
.mapa__pino svg { position: relative; z-index: 1; width: 46px; height: 46px; filter: drop-shadow(0 8px 10px rgba(42, 35, 32, .35)); }
.mapa__pino path { fill: var(--escuro); }
.mapa__pino circle { fill: #fff; }
.mapa__onda { position: absolute; left: 50%; bottom: -8px; width: 64px; height: 22px; margin-left: -32px; border-radius: 50%; background: rgba(42, 35, 32, .2); animation: onda 2.6s var(--ease) infinite; }
.mapa__rotulo { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; background: rgba(255, 255, 255, .88); border-radius: 999px; font-size: 13px; font-weight: 500; }
@keyframes onda { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* Dúvidas */
.busca { position: relative; flex: 0 1 360px; }
.busca__campo { width: 100%; height: 50px; padding: 0 48px 0 22px; border: 1px solid var(--linha); border-radius: 999px; background: var(--branco); color: var(--texto); font-size: 15px; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.busca__campo::placeholder { color: var(--texto-3); }
.busca__campo::-webkit-search-cancel-button { -webkit-appearance: none; }
.busca__campo:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(183, 161, 141, .2); }
.busca__icone { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; color: var(--texto-3); transform: translateY(-50%); pointer-events: none; }
.duvidas { overflow: hidden; background: var(--branco); border: 1px solid var(--linha); border-radius: 26px; }
.duvidas details { border-bottom: 1px solid var(--linha); }
.duvidas details:last-of-type { border-bottom: 0; }
.duvidas details[hidden] { display: none; }
.duvidas summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-size: 17.5px; font-weight: 500; list-style: none; cursor: pointer; transition: background .2s; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary:hover { background: #fcfbfa; }
.duvidas summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lateral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%232a2320' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.duvidas details[open] summary::after { transform: rotate(45deg); background-color: var(--rosa-2); }
.duvidas details p { max-width: 46em; padding: 0 26px 24px; color: var(--texto-2); line-height: 1.65; }
.duvidas details[open] p { animation: subir .4s var(--ease); }
.duvidas mark { padding: 0 2px; background: #f2e2c9; border-radius: 3px; color: inherit; }
.duvidas__vazio { padding: 26px; color: var(--texto-2); }
.duvidas__vazio a { color: var(--texto); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Instagram: carrossel com as publicações recentes (mesma ideia do site da AFARGS) */
.instagram { position: relative; padding-block: var(--secao); overflow: hidden; background: var(--lateral); }
.instagram::before { content: "@luizaoncologista"; position: absolute; right: -2vw; top: 8px; color: rgba(107, 89, 72, .035); font: 400 clamp(80px, 13vw, 210px)/1 var(--serif); letter-spacing: -.03em; white-space: nowrap; pointer-events: none; }
.icone-insta { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.instagram__cabeca { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 72px; align-items: end; margin-bottom: 48px; }
.instagram__cabeca h2 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1; }
.instagram__intro { justify-self: end; max-width: 440px; }
.instagram__intro p { margin-bottom: 20px; color: var(--texto-2); font-size: 16.5px; }
.carrossel[hidden] { display: none; }
.carrossel { position: relative; z-index: 1; max-width: 1560px; margin-inline: auto; padding-inline: clamp(64px, 6vw, 96px); }
.carrossel__janela { overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.carrossel__janela::-webkit-scrollbar { display: none; }
.carrossel__trilho { display: flex; gap: 18px; }
.post { position: relative; flex: 0 0 calc((100% - 54px) / 4); min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--escuro); border-radius: 26px; scroll-snap-align: start; box-shadow: 0 30px 60px -36px rgba(42, 35, 32, .6); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 23, 20, 0) 38%, rgba(28, 23, 20, .86) 100%); }
.post__sobre { position: absolute; z-index: 1; inset: auto 22px 22px; color: #fff; transform: translateY(26px); transition: transform .5s var(--ease); }
.post__sobre small { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.post__sobre strong { display: -webkit-box; overflow: hidden; font: 400 clamp(19px, 1.5vw, 23px)/1.22 var(--serif); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.post__sobre i { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 13px; font-style: normal; font-weight: 500; opacity: 0; transition: opacity .35s; }
.post:hover img, .post:focus-visible img { transform: scale(1.06); filter: saturate(1.06); }
.post:hover .post__sobre, .post:focus-visible .post__sobre { transform: none; }
.post:hover .post__sobre i, .post:focus-visible .post__sobre i { opacity: 1; }
.carrossel__seta { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; background: var(--escuro); border: 0; border-radius: 50%; color: #fff; box-shadow: 0 18px 36px -16px rgba(28, 23, 20, .7); cursor: pointer; transform: translateY(-50%); transition: transform .25s var(--ease), opacity .25s, background .2s; }
.carrossel__seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.carrossel__seta:hover:not(:disabled) { background: var(--escuro-2); transform: translateY(calc(-50% - 3px)) scale(1.05); }
.carrossel__seta:disabled { opacity: .25; cursor: default; }
.carrossel__seta--anterior { left: clamp(8px, 1.6vw, 28px); }
.carrossel__seta--proxima { right: clamp(8px, 1.6vw, 28px); }
.instagram__reserva { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.instagram__reserva[hidden] { display: none; }
.instagram__reserva-icone { display: grid; place-items: center; width: 64px; height: 64px; background: var(--branco); border-radius: 50%; color: var(--tinta); }
.instagram__reserva-icone svg { width: 24px; height: 24px; }
.instagram__reserva p { flex: 1 1 280px; font: 400 clamp(22px, 2.4vw, 32px)/1.2 var(--serif); }

/* Chamada final: faixa escura de ponta a ponta */
.cta { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 140% at 80% 0%, #4c3f37 0%, #2a2320 55%, #1f1a17 100%); color: #fff; }
.cta__fundo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bolha--cta-1 { --dur: 22s; top: -30%; right: 10%; width: min(50vw, 720px); aspect-ratio: 1; background: rgba(183, 161, 141, .28); }
.bolha--cta-2 { --dur: 26s; --atraso: -8s; left: -12%; bottom: -40%; width: min(44vw, 640px); aspect-ratio: 1; background: rgba(243, 216, 206, .14); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; min-height: 580px; }
.cta__texto { align-self: center; padding-block: var(--secao); }
.cta h2 { max-width: 11em; font-size: clamp(44px, 5.2vw, 82px); line-height: 1; }
.cta p { max-width: 31em; margin-top: 22px; color: rgba(255, 255, 255, .72); font-size: 18.5px; }
.cta__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cta__foto { justify-self: center; width: auto; height: 540px; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 82%, transparent 100%); }

/* Rodapé */
.rodape { padding-block: 48px 20px; }
.rodape__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.rodape__marca img { width: 180px; height: auto; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--texto-2); font-size: 14.5px; }
.rodape__links a:hover { color: var(--texto); }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: 100%; padding-top: 18px; border-top: 1px solid var(--linha); color: var(--texto-3); font-size: 13px; }
.rodape__base a { color: var(--texto-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pré-atendimento ---------- */
.chat-launcher { position: fixed; z-index: 35; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: none; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; background: var(--escuro); border: 0; border-radius: 999px; box-shadow: 0 16px 36px -10px rgba(28, 23, 20, .6); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); touch-action: manipulation; }
.chat-launcher::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 4px rgba(183, 161, 141, .25); }
.chat-launcher.visivel { opacity: 1; transform: none; pointer-events: auto; }
.intake-aberto .chat-launcher { opacity: 0; transform: translateY(16px); pointer-events: none; }
.intake[hidden] { display: none; }
.intake { position: fixed; z-index: 70; right: 20px; bottom: 20px; display: flex; flex-direction: column; width: min(420px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 40px)); overflow: hidden; background: var(--branco); border: 1px solid var(--linha); border-radius: 28px; box-shadow: 0 40px 90px -24px rgba(28, 23, 20, .45), 0 2px 10px rgba(28, 23, 20, .06); transform-origin: bottom right; animation: painel .45s var(--ease); }
@keyframes painel { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.intake__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 14px 16px 24px; border-bottom: 1px solid var(--linha); }
.intake__header h2 { font-size: 30px; line-height: 1.05; }
.intake__header span { display: block; margin-top: 4px; color: var(--texto-3); font-size: 13px; }
.intake__close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--lateral); cursor: pointer; transition: background .2s; }
.intake__close:hover { background: var(--linha); }
.intake__content { padding: 24px; overflow-y: auto; overscroll-behavior: contain; font-size: 15px; line-height: 1.6; scrollbar-width: thin; scrollbar-color: var(--linha-forte) transparent; }
.intake__content > * { animation: subir .5s var(--ease) both; }
.intake__content p + p { margin-top: 14px; }
.intake__greeting { margin-bottom: 14px; font: 28px/1.15 var(--serif); }
.intake__privacy { color: var(--texto-2); font-size: 13px; line-height: 1.55; }
.intake__progress { margin-bottom: 16px; color: var(--texto-3); font-size: 13px; }
.intake__barra { height: 4px; margin: -8px 0 22px; overflow: hidden; background: var(--lateral); border-radius: 4px; }
.intake__barra span { display: block; height: 100%; background: var(--tinta); border-radius: 4px; transition: width .5s var(--ease); }
.intake h3 { margin-bottom: 20px; font: 400 26px/1.2 var(--serif); }
.intake [tabindex="-1"]:focus { outline: none; }
.intake__choices { display: grid; gap: 8px; }
.intake__option, .intake__primary { display: block; width: 100%; min-height: 50px; padding: 13px 18px; border: 1px solid var(--linha); border-radius: 16px; background: var(--branco); font-size: 15px; line-height: 1.4; text-align: left; cursor: pointer; touch-action: manipulation; transition: background .2s, border-color .2s, transform .16s; }
.intake__option:hover { border-color: var(--texto); background: var(--lateral); }
.intake__option:active, .intake__primary:active { transform: scale(.985); }
.intake__primary { margin-top: 18px; border-color: var(--escuro); border-radius: 999px; background: var(--escuro); color: #fff; font-weight: 500; text-align: center; }
.intake__primary:hover { background: var(--escuro-2); }
.intake input { width: 100%; padding: 14px 18px; border: 1px solid var(--linha-forte); border-radius: 16px; background: var(--branco); color: var(--texto); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.intake input:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(183, 161, 141, .2); }
.intake__error { min-height: 1.4em; margin-top: 6px; color: #8c3028; font-size: 13px; }
.intake__back { min-height: 44px; padding: 12px 0; border: 0; background: none; color: var(--texto-2); font-size: 14px; cursor: pointer; }
.intake__summary { margin: 20px 0; }
.intake__summary dt { margin-top: 12px; color: var(--texto-3); font-size: 12px; }
.intake__summary dd { padding-bottom: 10px; border-bottom: 1px solid var(--linha); overflow-wrap: anywhere; }
.intake__footer { padding: 12px 24px; background: var(--lateral); color: var(--texto-3); font-size: 12px; }

/* ---------- Movimento ---------- */
@keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes linha { from { transform: translateY(105%); } to { transform: none; } }
@keyframes retrato-entra { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.motion .linha > span, .motion .entra, .motion .entra-foto { opacity: 0; }
.motion.pronto .linha > span { opacity: 1; animation: linha 1.05s var(--ease) both; }
.motion.pronto .linha + .linha > span { animation-delay: .1s; }
.motion.pronto .entra { opacity: 1; animation: subir .9s var(--ease) both; }
.motion.pronto .hero__intro { animation-delay: .25s; }
.motion.pronto .hero__acoes { animation-delay: .35s; }
.motion.pronto .hero__provas { animation-delay: .45s; }
.motion.pronto .entra-foto { opacity: 1; animation: retrato-entra 1.2s var(--ease) .1s both; }
.motion.pronto .flutua--a { animation: flutuar 6s ease-in-out 1.4s infinite; }
.motion.pronto .flutua--b { animation: flutuar 7s ease-in-out 2.1s infinite; }
.motion.pronto .retrato__nome { animation: flutuar 8s ease-in-out 1.8s infinite; }
.motion [data-surge] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--atraso-surge, 0s), transform .9s var(--ease) var(--atraso-surge, 0s), box-shadow .5s var(--ease); }
.motion [data-surge].visivel { opacity: 1; transform: none; }
.motion .cartao[data-surge].visivel:hover { transform: translateY(-6px); transition-delay: 0s; }
.motion .arte-linha { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.motion .visivel .arte-linha { stroke-dashoffset: 0; }
.motion .manifesto__assinatura .traco { stroke-dashoffset: 1; }
.motion .manifesto__assinatura.visivel .traco { animation: escrever var(--d) var(--pena) var(--t) forwards; }

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 1080px) {
  :root { --topo: 68px; }
  .marca img { width: 160px; }
  .topo__menu { display: grid; }
  .topo__agendar { margin-left: auto; }
  .navegacao { position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 2px; margin: 0; padding: 10px; background: rgba(255, 255, 255, .97); border-color: var(--linha); border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(28, 23, 20, .4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .4s; }
  .navegacao.aberta { opacity: 1; visibility: visible; transform: none; }
  .navegacao a { height: 50px; padding: 0 16px; font-size: 16px; color: var(--texto); }
  .navegacao a.ativo { color: var(--texto); background: var(--lateral); }
  .navegacao__marcador { display: none; }
  .navegacao .navegacao__agendar { display: inline-flex; justify-content: center; margin-top: 8px; color: #fff; }
  .navegacao .navegacao__agendar.ativo { color: #fff; background: var(--escuro); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .retrato { overflow: hidden; }
  .hero__texto { padding-block: 32px 8px; }
  .retrato { min-height: 0; }
  .retrato__foto { height: min(70svh, 640px); }
  .flutua--a { left: 2%; }
  .hero__rolar { display: none; }
  .sobre__inner, .locais__inner { grid-template-columns: 1fr; }
  .sobre__foto { max-width: 560px; }
  .cta__inner { grid-template-columns: 1fr; min-height: 0; }
  .cta__texto { padding-bottom: 24px; }
  .cta__foto { height: 380px; }
}
@media (max-width: 860px) {
  .passos { grid-template-columns: 1fr; }
  .passo:not(:last-child)::after { display: none; }
  .passo__n { margin-bottom: 24px; }
  .secao__cabeca { flex-direction: column; align-items: stretch; }
  .busca { flex: none; }
  .mapa { min-height: 320px; }
  .instagram__cabeca { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .instagram__intro { justify-self: start; }
  .post { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  :root { --topo: 64px; }
  body { font-size: 15.5px; }
  .aviso { padding: 9px 46px 9px 16px; font-size: 13px; justify-content: flex-start; text-align: left; }
  .topo__agendar { display: none; }
  .topo__menu { margin-left: auto; }
  .marca img { width: 150px; }
  .hero { min-height: 0; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); margin-top: 22px; }
  .linha--recuo { padding-left: .5em; }
  .hero__intro { font-size: 16.5px; }
  .hero__acoes .pilula { flex: 1 1 100%; }
  .hero__provas { margin-top: 28px; }
  .retrato__foto { height: min(62svh, 520px); }
  .flutua, .retrato__nome { padding: 8px 12px 8px 10px; font-size: 12px; }
  .flutua strong, .retrato__nome strong { font-size: 13px; }
  .flutua--a { top: 12%; left: 0; }
  .flutua--b { top: 40%; right: 0; }
  .retrato__nome { left: 0; bottom: 56px; }
  .galeria { grid-template-columns: 1fr; }
  .carrossel { padding-inline: var(--gutter); }
  .carrossel__seta { display: none; }
  .carrossel__trilho { gap: 12px; }
  .post { flex-basis: min(78vw, 340px); }
  .post__sobre { transform: none; }
  .post__sobre i { opacity: 1; }
  .abas button { padding: 0 14px; font-size: 14px; }
  .duvidas summary { padding: 18px; font-size: 16px; }
  .duvidas details p { padding: 0 18px 20px; }
  .cta__acoes .pilula { flex: 1 1 100%; }
  .cta__foto { height: 320px; }
  .rodape { padding-bottom: 100px; }
  .chat-launcher { display: inline-flex; left: 12px; right: 12px; justify-content: center; }
  .intake { inset: auto 0 0 0; width: 100%; max-height: calc(100dvh - 24px); border-width: 1px 0 0; border-radius: 28px 28px 0 0; transform-origin: bottom center; padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
}
