/* Dra. Ana Carolina Zaluski - estilos do site */
:root { color-scheme: light; }
[hidden] { display: none !important; }
/* Layout: hero tipográfico gigante com selo giratório e moldura em arco; faixa dourada em movimento; grade de blocos; seção rosa-quartzo com ABCDE interativo; fecho em rosa saturado. */
:root {
  --bg: #EADCDF;
  --surface: #DAC9CD;
  --pink: #CDB5BC;
  --rose: #B99BA4;
  --card: #F4ECEE;
  --ink: #3A2630;
  --ink-soft: #57404A;
  --gold: #B8893A;
  --gold-text: #644210;
  --line: rgba(100, 66, 16, 0.3);
  --on-gold: #35212B;
  --gold-strong: #5A3A0C;
  --alert: #A02848;
  --blob-1: #D2B0BA;
  --blob-2: #E8D3AE;
  --mole: #6E3F45;
  --mole-dark: #3A171E;
  --mole-red: #B5524F;
  --mole-blue: #6F7F99;
  --gold-grad: linear-gradient(135deg, #DDBB78 0%, #B58529 52%, #E3C687 100%);
  --num-grad: linear-gradient(135deg, #A87A28 0%, #7D5517 55%, #B58529 100%);
  --shadow: 0 24px 50px -26px rgba(95, 55, 72, 0.5);
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color-scheme: light;
  --font-body: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-text); }
.h2 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.015em; }
.h2 em, .h1 em { font-style: italic; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 56ch; }
.section { padding-block: clamp(64px, 9vw, 124px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 60px); justify-items: start; }
.gold-text { background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0; text-align: center; line-height: 1.35;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
}
.btn-primary { background: var(--gold-grad); background-size: 160% 100%; color: var(--on-gold); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); background-position: 100% 0; }
.btn-primary .arr { transition: transform 0.25s ease; }
.btn-primary:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-small { min-height: 42px; padding: 8px 22px; font-size: 0.72rem; }

/* Cabeçalho em pílula */
.site-header { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 40; padding-block: 8px; pointer-events: none; }
.pill {
  pointer-events: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding: 10px 12px 8px 18px; border-radius: 28px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 36px; height: auto; flex: none; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; white-space: nowrap; }
@media (min-width: 1180px) and (max-width: 1339px) { .brand-sub { display: none; } }
.nav { display: flex; gap: 24px; order: 3; width: 100%; overflow-x: auto; white-space: nowrap; padding-block: 4px 6px; scrollbar-width: none; }
@media (min-width: 560px) and (max-width: 1179px) { .nav { justify-content: center; } }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); font-weight: 400; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
@media (min-width: 1180px) {
  .pill { flex-wrap: nowrap; border-radius: 999px; padding: 9px 10px 9px 20px; }
  .nav { order: 1; width: auto; padding: 0; overflow: visible; gap: 26px; margin-left: auto; }
  .pill > .btn { order: 2; }
}

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -76px; padding-top: 76px; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.85; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.blob-1 { width: 560px; height: 560px; background: var(--blob-1); top: -160px; right: -120px; }
.blob-2 { width: 480px; height: 480px; background: var(--blob-2); bottom: -200px; left: -160px; animation-delay: -6s; }
@keyframes drift { to { transform: translate3d(-40px, 36px, 0) scale(1.08); } }
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; padding-block: clamp(36px, 6vw, 80px) clamp(64px, 8vw, 110px); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.3fr 0.7fr; gap: 40px; } }
.hero-copy { display: grid; gap: 28px; justify-items: start; min-width: 0; }
.h1 { font-size: clamp(3.5rem, 8.6vw, 7.4rem); letter-spacing: -0.025em; line-height: 0.94; }
.h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.h1 .line > span { display: block; animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.h1 .line:nth-child(2) > span { animation-delay: 0.14s; }
.h1 em { background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.hero .eyebrow { animation: fade 0.8s 0.05s both; }
.hero .lead { animation: fade 0.9s 0.4s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fade 0.9s 0.55s both; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; max-width: 560px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; animation: fade 0.9s 0.7s both; }
.hero-tags li { display: flex; align-items: center; gap: 10px; }
.hero-tags li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.stage { position: relative; width: min(calc(100% - 44px), 360px); justify-self: center; padding: 20px 0 40px; animation: fade 1.1s 0.3s both; }
.arch {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 32px 32px;
  background: linear-gradient(170deg, var(--pink) 0%, var(--surface) 60%, var(--bg) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.arch::before { content: ""; position: absolute; inset: -16px; border: 1px solid var(--line); border-radius: 999px 999px 44px 44px; pointer-events: none; }
.arch > .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: inherit; }
.arch-note { position: absolute; top: 22px; left: 0; right: 0; text-align: center; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); }
.seal { position: absolute; left: -36px; top: auto; bottom: 18px; z-index: 2; width: 120px; height: 120px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal text { font-family: var(--font-body); font-size: 11.5px; font-weight: 500; fill: var(--gold-text); }
.seal img { width: 50px; height: auto; position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.nameplate { position: absolute; right: max(-12px, -2vw); bottom: 38px; padding: 14px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 2px; width: max-content; max-width: calc(100% + 24px); }
.nameplate strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.1; white-space: nowrap; }
.nameplate span { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }

/* Faixa em movimento */
.marquee { background: var(--gold-grad); color: var(--on-gold); overflow: hidden; border-block: 1px solid rgba(59, 27, 42, 0.18); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); padding: 14px 0; white-space: nowrap; }
.marquee-group i { width: 9px; height: 9px; background: var(--on-gold); transform: rotate(45deg); margin: 0 clamp(20px, 3vw, 40px); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sobre */
.about-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 90px; align-items: start; } }
.quote { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; }
.quote em { background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-copy { display: grid; gap: 22px; }
.facts { border-top: 1px solid var(--line); margin-top: 6px; }
.facts div { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .facts div { grid-template-columns: 170px 1fr; gap: 20px; align-items: baseline; } }
.facts dt { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.values { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.value { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--gold); }
.value h3 { font-size: 2rem; }
.value p { color: var(--ink-soft); }

/* Grade de especialidades */
.band-surface { background: var(--surface); }
.bento { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.tile { grid-column: span 12; border-radius: 30px; padding: clamp(26px, 3.2vw, 44px); display: grid; gap: 18px; align-content: start; min-width: 0; transition: transform 0.3s ease; }
.tile:hover { transform: translateY(-4px); }
@media (min-width: 960px) { .t1 { grid-column: span 7; } .t2 { grid-column: span 5; } .t3 { grid-column: span 5; } .t4 { grid-column: span 7; } }
.tile h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.tile p { max-width: 46ch; }
.tile li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 22%, transparent); }
.tile li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.t1 { background: var(--card); border: 1px solid var(--line); }
.t1 p { color: var(--ink-soft); }
.t2 { background: var(--gold-grad); color: var(--on-gold); }
.t2 li::before { background: var(--on-gold); }
.t3 { background: var(--pink); }
.t3 p { color: var(--ink-soft); }
.t4 { background: transparent; border: 1px dashed var(--gold); align-content: center; justify-items: start; }
.t4 p { color: var(--ink-soft); }
.tile-tag { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }

/* Oncodermatologia interativa */
.onco { background: var(--pink); }
.onco-intro { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); justify-items: start; }
.onco-note { font-size: 0.92rem; color: var(--ink-soft); max-width: 62ch; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.tab { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; padding: 12px 0 14px; border-radius: 18px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--pink); border-color: var(--ink); }
.panel { display: grid; gap: 24px; background: var(--bg); border-radius: 30px; padding: clamp(22px, 3.4vw, 44px); border: 1px solid var(--line); animation: fade 0.5s both; }
@media (min-width: 960px) { .panel { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; } }
.panel-copy { display: grid; gap: 14px; align-content: start; }
.panel-copy h3 { font-size: clamp(2.6rem, 5vw, 4rem); }
.panel-copy p { color: var(--ink-soft); }
.panel-copy .nb { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fig { display: grid; gap: 10px; background: var(--surface); border-radius: 22px; padding: 14px 14px 16px; min-width: 0; }
.fig svg { width: 100%; height: auto; display: block; }
.fig figcaption { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; text-align: center; line-height: 1.4; }
.fig.ok figcaption { color: var(--gold-text); }
.fig.warn figcaption { color: var(--alert); }

/* Prevenção */
.big-grid { display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.big { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.big-n { font-family: var(--font-display); font-size: clamp(4rem, 8.4vw, 7rem); line-height: 0.92; letter-spacing: -0.03em; padding-bottom: 0.06em; }
.big h3 { font-size: 1.9rem; }
.big p { color: var(--ink-soft); max-width: 36ch; }

/* Consulta */
.steps { display: grid; gap: 52px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); padding-top: 24px; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 38px; border-top: 1px solid var(--line); min-width: 0; }
.step-n { position: absolute; top: -25px; left: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.step h3 { font-size: 1.9rem; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* Perguntas */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 90px; align-items: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.12; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 300; font-size: 1.8rem; color: var(--gold-text); transition: transform 0.25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 26px 0; color: var(--ink-soft); max-width: 62ch; }

/* Contato */
.contact { position: relative; overflow: hidden; background: var(--rose); background: linear-gradient(150deg, var(--pink) 0%, var(--rose) 100%); }
.contact-grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: end; } }
.contact-copy { display: grid; gap: 26px; justify-items: start; }
.contact .h2 { font-size: clamp(3rem, 8.4vw, 7rem); line-height: 0.95; }
.contact .lead { color: var(--ink); opacity: 0.82; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list div { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .contact-list div { grid-template-columns: 130px 1fr; gap: 20px; align-items: baseline; } }
.contact-list dt { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-strong); font-weight: 500; }
.contact .eyebrow { color: var(--gold-strong); }
.contact-list dd { overflow-wrap: anywhere; }
.contact .btn-primary { background: var(--ink); color: var(--pink); }

/* Rodapé */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 44px; }
.footer-grid { display: grid; gap: 28px; justify-items: center; text-align: center; }
.footer-grid img { width: min(100%, 420px); height: auto; margin-inline: auto; }

.foot-brand { display: grid; justify-items: center; gap: 10px; }
.foot-brand img { width: 64px; height: auto; }
.foot-name { white-space: nowrap; font-family: var(--font-display); font-size: clamp(1rem, 5.2vw, 2.6rem); line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-sub { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.footer-legal { display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 0.875rem; width: 100%; max-width: none; color: var(--ink-soft); }
.footer-legal p { text-wrap: balance; }
.footer-legal strong { font-weight: 500; color: var(--ink); }

.float-wa { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; }

@media (min-width: 960px) and (max-width: 1179px) {
  .seal { width: 86px; height: 86px; left: -30px; bottom: 22px; }
  .seal img { width: 30px; }
  .nameplate { padding: 12px 16px; }
  .nameplate strong { font-size: 1.02rem; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand img { width: 30px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 1.02rem; letter-spacing: 0.02em; }
  .pill { padding-left: 14px; }
  .site-header .pill > .btn { display: none; }
  .seal { width: 78px; height: 78px; left: -10px; top: auto; bottom: 22px; }
  .seal img { width: 28px; }
  .seal text { font-size: 11.5px; }
  .nameplate { right: -8px; bottom: 34px; max-width: none; padding: 10px 14px; }
  .nameplate strong { font-size: 0.9rem; }
  .nameplate span { font-size: 0.56rem; }
  .pair { gap: 10px; }
  .fig { padding: 10px 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee-group[aria-hidden="true"] { display: none; }
}