/* Clínica Aura Bem — estilos do site institucional */

/* Fonte dos títulos guardada no próprio site (só o alfabeto latino). O texto usa a fonte do aparelho. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/cormorant-garamond-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-italico.woff2") format("woff2"); }

:root {
  --bg: #FAF6F2;
  --bg-soft: #F3EAE3;
  --rose: #EADBD3;
  --rose-deep: #D9BFB1;
  --brown: #8B5A3C;
  --brown-ink: #6B4229;
  --brown-dark: #3E2618;
  --ink: #2F2320;
  --muted: #6E5D55;
  --line: #E4D6CC;
  --white: #FFFDFB;
  --radius: 18px;
  --head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--brown-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--brown-dark); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brown); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--rose { background: var(--rose); }
.section--dark { background: var(--brown-dark); color: #F4E9E2; }
.section--dark h2, .section--dark h3 { color: #FFF6F0; }
.section--dark h2 em { color: var(--rose-deep); }
.section--dark a:not(.btn) { color: var(--rose); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--rose-deep); }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.25rem); color: var(--muted); }
.section--dark .lead { color: #E3D2C8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown-dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid var(--brown);
  background: var(--brown); color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none;
  transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brown-ink); }
.btn--ghost:hover { background: var(--brown); color: #fff; }
.btn--light { background: var(--rose); border-color: var(--rose); color: var(--brown-dark); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--brown-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 242, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brown); background: var(--bg-soft); }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 10px 20px; color: #fff; }
.nav .btn:hover { background: var(--brown-dark); color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--brown-dark); }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: 0 20px 40px -20px rgba(62, 38, 24, .25); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
}

/* Hero */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__lead { font-size: clamp(1.12rem, 2vw, 1.3rem); color: var(--muted); max-width: 560px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .93rem; color: var(--brown-ink); font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brown); opacity: .55; }
.arch { position: relative; max-width: 440px; margin-inline: auto; }
.arch__img { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--rose); aspect-ratio: 4 / 5; }
.arch__img img { width: 100%; height: 100%; object-fit: cover; }
.arch__tag { position: absolute; left: -18px; bottom: 32px; background: var(--white); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px -18px rgba(62, 38, 24, .35); font-size: .9rem; line-height: 1.35; max-width: 230px; }
.arch__tag strong { display: block; font-family: var(--head); font-size: 1.2rem; color: var(--brown-dark); }
.spiral { position: absolute; pointer-events: none; opacity: .5; color: var(--rose-deep); }
.hero .spiral { right: -120px; top: -60px; width: 420px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .arch { max-width: 360px; }
  .arch__tag { left: 0; }
}

/* Página interna — cabeçalho */
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); position: relative; overflow: hidden; }
.page-hero .spiral { right: -80px; top: -40px; width: 340px; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.page-hero__img { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 320px; margin-left: auto; background: var(--rose); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__img { margin: 0 auto; max-width: 280px; } }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }

/* Resposta rápida */
.answer { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brown); border-radius: 14px; padding: 22px 26px; margin: 28px 0 0; max-width: 720px; }
.answer p { margin: 0; }
.answer b { color: var(--brown-dark); }

/* Grades e cartões */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--link:hover { transform: translateY(-3px); border-color: var(--rose-deep); box-shadow: 0 22px 44px -26px rgba(62, 38, 24, .4); color: var(--ink); }
.card--link .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--brown); font-size: .95rem; }
.card--link .more::after { content: " →"; }
.card__num { font-family: var(--head); font-size: 1.05rem; font-style: italic; color: var(--brown); display: block; margin-bottom: 6px; }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head.center { margin-inline: auto; }

.pillar { padding: 26px 0 0; border-top: 1px solid var(--line); }
.pillar h3 { font-size: 1.7rem; }
.pillar p { color: var(--muted); }

/* Passos */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--head); font-size: 2.3rem; color: var(--brown); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Galeria de atendimentos */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery a img { transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--rose); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Sobre */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--rose); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__img { max-width: 420px; } }
.quote { font-family: var(--head); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.35; color: var(--brown-dark); border-left: 3px solid var(--rose-deep); padding-left: 22px; margin: 26px 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5A3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
@media (max-width: 720px) { .cols-2 { grid-template-columns: 1fr; } }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--brown-ink); font-weight: 600; }

/* Artigo (páginas de conteúdo) */
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.article > * { min-width: 0; }
.toc { position: sticky; top: 100px; font-size: .93rem; }
.toc strong { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--brown); border-left-color: var(--brown); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 0; } .toc { position: static; margin-bottom: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; } }
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-top: 1.6em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { margin: 0 0 1.3em; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.figs figure { margin: 0; }
.figs img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.callout { background: var(--rose); border-radius: 14px; padding: 20px 24px; margin: 26px 0; font-size: .98rem; }
.callout p:last-child { margin: 0; }
.relato { margin: 24px 0; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.relato::before { content: "“"; position: absolute; top: -18px; left: 20px; font-family: var(--head); font-size: 5rem; line-height: 1; color: var(--rose-deep); }
.relato strong { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 8px; }
.relato p { margin: 0 0 12px; }
.relato small { display: block; font-size: .85rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); background: var(--bg-soft); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--brown-dark); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--brown-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--brown); border-bottom: 2px solid var(--brown); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Parceiros */
.partner { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; }
.partner__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--rose); display: grid; place-items: center; font-family: var(--head); font-size: 2rem; color: var(--brown); }
.partner__area { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.partner h3 { margin: 4px 0 6px; font-size: 1.45rem; }
.partner__meta { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.partner__links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 700; font-size: .93rem; }
.partner__perk { display: inline-block; background: var(--rose); color: var(--brown-dark); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; margin-bottom: 10px; }
.empty { text-align: center; padding: 44px 28px; border: 1.5px dashed var(--rose-deep); border-radius: var(--radius); background: var(--white); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 18px; }

/* Faixa CTA */
.cta-band { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band .actions { justify-content: flex-end; margin: 0; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.contact .card h3 { font-size: 1.3rem; }
.contact dl { margin: 0; display: grid; gap: 16px; }
.contact dt { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.contact dd { margin: 2px 0 0; font-size: 1.08rem; }
.map-card { display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; background: var(--brown-dark); color: #F4E9E2; border: 0; }
.map-card h3 { color: #fff; }

/* Rodapé */
.footer { background: var(--brown-dark); color: #D9C7BC; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #F4E9E2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer__grid h4 { font-family: var(--body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 14px; font-weight: 700; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__brand img { height: 72px; width: auto; margin-bottom: 14px; }
.footer__legal { border-top: 1px solid rgba(234, 219, 211, .18); margin-top: 44px; padding-top: 22px; font-size: .84rem; color: #B9A296; display: grid; gap: 8px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Entrada suave */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
