/* Clínica Aurora: verde-floresta + osso + âmbar discreto. Cantos de 24px; botões em pílula. */
:root {
  --fundo: #F1EFEA; --fundo-2: #E6E8E1; --cartao: #ffffff; --linha: #1F3A3322;
  --texto: #16241F; --texto-2: #3F524B; --texto-3: #6A7A73;
  --verde: #1F3A33; --verde-2: #2E5248; --ambar: #B77A1E;
  --raio: 24px; --curva: cubic-bezier(.23, 1, .32, 1); --fonte: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; overflow-x: clip; }
body { background: var(--fundo); color: var(--texto); font: 16px/1.65 var(--fonte); overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
section[id] { scroll-margin-top: 84px; }
.cab { max-width: 1180px; margin: 0 auto 30px; }
.cab p { color: var(--texto-2); margin-top: 10px; max-width: 560px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 16px var(--fonte); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--curva), background-color 160ms, border-color 160ms; }
.btn:active { transform: scale(.97); }
.btn-cheio { background: var(--verde); color: #fff; }
.btn-linha { background: transparent; border: 1.5px solid var(--linha); color: var(--texto); }
@media (hover: hover) and (pointer: fine) { .btn-cheio:hover { background: var(--verde-2); } .btn-linha:hover { border-color: var(--verde); } }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 10px clamp(16px, 4vw, 48px); background: rgb(241 239 234 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-decoration: none; min-height: 44px; }
.logo i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 120%, var(--ambar) 0 38%, transparent 39%), var(--verde); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; text-decoration: none; color: var(--texto-2); font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--texto); } }
.btn-nav { min-height: 44px; padding: 0 20px; }

.hero { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.7rem); color: var(--verde); }
.sub { margin: 20px 0 28px; font-size: 18px; color: var(--texto-2); max-width: 500px; text-wrap: pretty; }
.acoes { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-foto { border-radius: var(--raio); overflow: hidden; aspect-ratio: 5 / 4; position: relative; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }

/* quiz */
.descubra { background: var(--verde); color: #EDEFE9; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); }
.descubra h2 { color: #fff; }
.descubra .cab p { color: #C3CFC9; }
/* mapa de rosto e corpo */
.mapa-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.mapa, .info { background: #ffffff0d; border: 1px solid #ffffff1f; border-radius: var(--raio); padding: clamp(16px, 3vw, 28px); }
.abas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #00000026; margin-bottom: 18px; }
.abas button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: #C3CFC9; font: 700 15px var(--fonte); cursor: pointer; transition: background-color 160ms, color 160ms; }
.abas button[aria-selected="true"] { background: #fff; color: var(--verde); }
.fig { position: relative; margin: 0 auto; }
.fig[hidden] { display: none; }
.fig-rosto { width: min(100%, 340px); aspect-ratio: 300 / 360; }
.fig-corpo { width: min(100%, 240px); aspect-ratio: 300 / 560; }
.fig svg { width: 100%; height: 100%; display: block; fill: none; stroke: #DCE5E0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fig .pele { fill: #ffffff08; }
.fig .cabelo { fill: #ffffff14; stroke: #ffffff40; }
.fig .iris { fill: #DCE5E0; stroke: none; }
.fig .boca { fill: #B77A1E55; }
.ponto { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); border: 0; background: none; cursor: pointer; padding: 0; }
.ponto i { position: absolute; inset: 0; }
.ponto i::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 0 3px #1F3A33, 0 0 0 4.5px #f3cf8f; transition: transform 200ms var(--curva), background-color 200ms; }
.ponto i::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px solid #f3cf8f; animation: pulso 2.2s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.ponto[aria-pressed="true"] i::before { background: #fff; transform: scale(1.25); }
.ponto[aria-pressed="true"] i::after { animation: none; opacity: 0; }
/* nome da área: aparece no ponto escolhido, no foco e ao passar o mouse */
.ponto::after { content: attr(aria-label); position: absolute; right: calc(100% - 6px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--verde); font: 700 13px var(--fonte); opacity: 0; pointer-events: none; transition: opacity 160ms; }
.ponto.dir::after { right: auto; left: calc(100% - 6px); }
.ponto[aria-pressed="true"]::after, .ponto:focus-visible::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .ponto:hover::after { opacity: 1; } .ponto:hover i::before { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .ponto i::after { animation: none; opacity: 0; } }
.info { min-height: 320px; animation: tela .4s var(--curva) both; }
@keyframes tela { from { opacity: 0; transform: translateY(10px); } }
.info h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; margin-bottom: 10px; }
.info > p { color: #C3CFC9; }
.rotulo { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #f3cf8f; font-weight: 700; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.info > .chips:first-child { margin-top: 0; margin-bottom: 20px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #ffffff2e; background: transparent; color: #fff; font: 600 14px var(--fonte); cursor: pointer; transition: border-color 160ms, background-color 160ms; }
.chip[aria-pressed="true"] { background: var(--ambar); border-color: var(--ambar); color: #1b1203; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ambar); } }
.procs { display: grid; gap: 10px; margin-top: 8px; }
.proc { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; padding: 16px 18px; border-radius: 18px; background: #ffffff0a; border: 1px solid #ffffff1a; }
.proc h4 { font-size: 18px; color: #fff; letter-spacing: -.01em; }
.proc p { color: #C3CFC9; font-size: 15px; }
.proc .fatos { margin: 10px 0 0; }
.proc-fim { display: grid; gap: 8px; justify-items: end; text-align: right; }
.proc-fim b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.proc-fim b small { display: block; font-size: 12px; font-weight: 600; color: #b8c7c0; }
.btn-ambar { background: var(--ambar); color: #1b1203; min-height: 44px; padding: 0 18px; font-size: 15px; }
.nota { margin-top: 14px; font-size: 13.5px; color: #b8c7c0; }
.dica { color: #b8c7c0; font-size: 14px; }
.voltar { display: block; margin-bottom: 10px; min-height: 44px; background: none; border: 0; color: #C3CFC9; font: 600 15px var(--fonte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.fatos { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.fatos span { padding: 6px 12px; border-radius: 999px; background: #ffffff14; font-size: 14px; font-weight: 600; }
.dias, .horas { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.dia, .hora { flex: none; min-width: 64px; min-height: 64px; border-radius: 14px; border: 1.5px solid #ffffff2e; background: transparent; color: #fff; font: 700 15px var(--fonte); cursor: pointer; display: grid; place-items: center; line-height: 1.15; padding: 8px 10px; }
.hora { min-height: 48px; min-width: 76px; }
.dia small { display: block; font-weight: 500; font-size: 12px; color: #b8c7c0; }
.dia[aria-pressed="true"], .hora[aria-pressed="true"] { background: #fff; color: var(--verde); border-color: #fff; }
.dia[aria-pressed="true"] small { color: var(--texto-3); }
.hora:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.agenda-rot { font-size: 14px; font-weight: 700; color: #C3CFC9; margin: 18px 0 8px; }
.confirmar { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.confirmar .btn { background: var(--ambar); color: #1b1203; }
.confirmar small { color: #C3CFC9; }

/* tratamentos */
.tratamentos { padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); }
.lista-trat { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: 16px; }
.trat { background: var(--cartao); border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); display: flex; flex-direction: column; }
.trat img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.trat > div { padding: 16px 20px 20px; display: grid; gap: 6px; }
.trat h3 { font-size: 20px; color: var(--verde); }
.trat p { color: var(--texto-2); font-size: 15px; }
.trat b { color: var(--ambar); font-size: 18px; font-variant-numeric: tabular-nums; }
.trat.destaque { grid-row: span 2; }
.trat.destaque img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.lista-trat .trat:nth-child(4) { grid-column: 2 / span 2; flex-direction: row; }
.lista-trat .trat:nth-child(4) img { width: 40%; aspect-ratio: auto; }

.visita { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) clamp(56px, 8vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.linha-tempo { list-style: none; margin-top: 24px; display: grid; gap: 0; border-left: 2px solid var(--linha); }
.linha-tempo li { padding: 0 0 22px 24px; position: relative; display: grid; gap: 4px; }
.linha-tempo li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 0 4px var(--fundo); }
.linha-tempo b { color: var(--verde); font-size: 18px; }
.linha-tempo span { color: var(--texto-2); }
.duvidas { display: grid; gap: 10px; align-content: start; }
.duvidas details { background: var(--cartao); border: 1px solid var(--linha); border-radius: 18px; }
.duvidas summary { min-height: 56px; display: flex; align-items: center; padding: 0 20px; font-weight: 700; cursor: pointer; list-style: none; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; margin-left: auto; color: var(--ambar); font-size: 22px; transition: transform 200ms var(--curva); }
.duvidas details[open] summary::after { transform: rotate(45deg); }
.duvidas p { padding: 0 20px 18px; color: var(--texto-2); }

.rodape { border-top: 1px solid var(--linha); padding: 28px clamp(16px, 4vw, 48px); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--texto-3); }
.rodape span { font-weight: 800; font-size: 20px; color: var(--verde); }

@media (max-width: 900px) {
  .hero, .visita { grid-template-columns: 1fr; }
  .hero-foto { order: -1; }
  .nav-links { display: none; }
  .btn-nav { margin-left: auto; }
  .lista-trat { grid-template-columns: 1fr 1fr; }
  .trat.destaque { grid-column: 1 / -1; grid-row: auto; }
  .lista-trat .trat:nth-child(4) { grid-column: auto; flex-direction: column; }
  .lista-trat .trat:nth-child(4) img { width: 100%; aspect-ratio: 4 / 3; }
  .mapa-wrap { grid-template-columns: 1fr; }
  .info { scroll-margin-top: 84px; min-height: 0; }
}
@media (max-width: 560px) {
  .lista-trat { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .proc-fim { grid-template-columns: 1fr auto; align-items: center; justify-items: start; text-align: left; }
  .acoes .btn { flex: 1; }
}
