/* Psiqville – Clínica de Saúde Mental
   Palette: névoa (page), tinta (text), índigo (actions), lilás (panels),
   ardósia (secondary text), verde WhatsApp (only on WhatsApp actions).
   Motif: the circular ring of the logo seal, used on portraits and the hero team strip. */

:root {
  --nevoa: #F1F0F5;
  --tinta: #24223A;
  --indigo: #3D3A8C;
  --indigo-escuro: #2E2B70;
  --lilas: #E2DEF0;
  --ardosia: #5C5970;
  --linha: #CFCAE0;
  --branco: #FFFFFF;
  --whatsapp: #1B7A4A;
  --whatsapp-escuro: #145E39;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  /* Classical scale: 14 16 18 21 24 30 36 48 60 */
  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: 1.5rem;
  --step-3: 1.875rem;
  --step-4: clamp(1.875rem, 1.4rem + 1.8vw, 2.25rem);
  --step-5: clamp(2.25rem, 1.6rem + 2.8vw, 3.25rem);
  --step-6: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);

  --wrap: 74rem;
  --wrap-narrow: 46rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 14px 36px rgba(36, 34, 58, 0.16);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--nevoa);
  color: var(--tinta);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); line-height: 1.3; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--indigo-escuro); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--tinta); color: var(--branco); padding: 0.6rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; color: var(--branco); }

/* ---------- buttons */

.button {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 0;
  font: 700 1rem/1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
}
.button--whatsapp { background: var(--whatsapp); color: var(--branco); }
.button--whatsapp:hover { background: var(--whatsapp-escuro); color: var(--branco); }

/* ---------- header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--nevoa);
  border-bottom: 1px solid var(--linha);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.75rem;
}
.brand img { height: 2.75rem; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--tinta); text-decoration: none; font-size: 1rem; padding-block: 0.4rem; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.site-header__cta { padding: 0.6rem 1.05rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--tinta); border-radius: 999px;
  padding: 0.45rem 1rem; font: 700 0.95rem var(--font-text); color: var(--tinta); cursor: pointer;
}

@media (max-width: 68rem) {
  .site-header__cta { display: none; }
}
@media (max-width: 56rem) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; }
  .js .site-nav[data-open] {
    display: block;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--nevoa); border-bottom: 1px solid var(--linha);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding-block: 0.7rem; font-size: var(--step-0); }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav { margin-left: 0; width: 100%; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 1.25rem; }
}

/* ---------- hero */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-space); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { font-size: var(--step-6); line-height: 1.06; letter-spacing: -0.01em; max-width: 15ch; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; margin-top: 1.5rem; color: var(--tinta); }
.hero__address { color: var(--ardosia); font-size: var(--step--1); margin-top: 1.75rem; }

@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- hero team strip (the one bold element) */

.team-strip {
  position: relative;
  isolation: isolate;
  background: var(--lilas);
  border-radius: 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  overflow: hidden;
}
/* Echo of the logo seal: two concentric rings behind the panel. */
.team-strip::before,
.team-strip::after {
  content: "";
  position: absolute; z-index: -1;
  border-radius: 50%;
  border: 1px solid var(--indigo);
  opacity: 0.22;
  pointer-events: none;
}
.team-strip::before { width: 26rem; height: 26rem; right: -9rem; top: -11rem; }
.team-strip::after { width: 22rem; height: 22rem; right: -7rem; top: -9rem; }

.team-strip__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.team-strip__title { font-size: var(--step-3); }
.team-strip__arrows { display: none; gap: 0.5rem; }
.js .team-strip__arrows { display: flex; }
.team-strip__arrow {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  color: var(--indigo); background: var(--branco);
  border: 1px solid transparent; border-radius: 50%;
  cursor: pointer;
}
.team-strip__arrow:hover:not(:disabled) { border-color: var(--indigo); }
.team-strip__arrow:disabled { opacity: 0.45; cursor: default; }

.team-strip__members {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
  border-radius: 1.5rem;
}
.team-strip__members::-webkit-scrollbar { display: none; }
.team-strip__member {
  scroll-snap-align: start;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem;
  background: var(--branco);
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem 1.25rem 1.25rem;
}
.team-strip__picks { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1rem; }
.team-strip__pick { display: block; border-radius: 50%; outline-offset: 3px; }
.team-strip__pick .portrait--small { width: 2.75rem; padding: 2px; opacity: 0.6; transition: opacity 150ms; }
.team-strip__pick .portrait--small .portrait__initials { font-size: 0.9rem; }
.team-strip__pick:hover .portrait--small { opacity: 1; }
.team-strip__pick[aria-current="true"] .portrait--small { opacity: 1; box-shadow: 0 0 0 2px var(--indigo); }
.team-strip__name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; }
.team-strip__name a { color: var(--tinta); text-decoration: none; }
.team-strip__name a:hover { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; }
.team-strip__role { font-size: var(--step--1); color: var(--tinta); margin: 0.2rem 0 0; line-height: 1.35; }
.team-strip__audience { font-size: var(--step--1); color: var(--ardosia); margin: 0.15rem 0 0; line-height: 1.35; }
.team-strip__whatsapp {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem;
  background: var(--whatsapp); color: var(--branco);
  border-radius: 999px; padding: 0.6rem 1rem;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.team-strip__whatsapp:hover { background: var(--whatsapp-escuro); color: var(--branco); }
.team-strip__more {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  margin-top: 1.25rem; font-size: var(--step--1);
}

@media (max-width: 30rem) {
  .team-strip { padding: 1.25rem; }
  .team-strip__member { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; padding: 1.25rem; }
  .team-strip__whatsapp { display: flex; justify-content: center; }
}

/* ---------- portraits: circle inside a thin ring, like the seal */

.portrait {
  width: 9.5rem; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--tinta);
  padding: 5px;
  flex: none;
}
.portrait img,
.portrait__initials {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.portrait__initials {
  display: grid; place-items: center;
  background: var(--lilas);
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--indigo);
}
.portrait--small { width: 3.5rem; padding: 3px; }
.portrait--small .portrait__initials { font-size: 1.1rem; }
.portrait--hero { width: clamp(7rem, 12vw, 9rem); padding: 5px; }
.portrait--hero .portrait__initials { font-size: 2.2rem; }
.portrait--large { width: min(15rem, 60vw); padding: 7px; }
.portrait--large .portrait__initials { font-size: 3.75rem; }

/* ---------- sections */

.section { padding-block: var(--section-space); }
.section--tinted { background: var(--branco); }
.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.section__header { position: sticky; top: 7rem; }
.section__header .portrait { margin-bottom: 1rem; }
.section__lede { color: var(--ardosia); margin-top: 0.9rem; max-width: 30ch; }
.section__body { max-width: 48rem; }
.section__more { margin-top: 2rem; font-weight: 700; }

@media (max-width: 56rem) {
  .section__grid { grid-template-columns: 1fr; }
  .section__header { position: static; }
}

#boas-vindas .section__body > p { font-size: var(--step-1); line-height: 1.55; max-width: 38em; }

.numbers {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  margin: 2.5rem 0 0; padding-top: 1.75rem;
  border-top: 1px solid var(--linha);
}
.numbers div { display: flex; align-items: baseline; gap: 0.6rem; }
.numbers dt { font-family: var(--font-display); font-size: var(--step-3); color: var(--indigo); line-height: 1; }
.numbers dd { margin: 0; color: var(--ardosia); line-height: 1.3; }

.approach {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 3rem;
}
.approach h3 { margin-bottom: 0.5rem; }
.approach p { color: var(--ardosia); }
@media (max-width: 40rem) { .approach { grid-template-columns: 1fr; } }

/* ---------- FAQ */

.faq { border-top: 1px solid var(--linha); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 0.8rem; height: 0.8rem;
  border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 180ms ease;
}
.faq__item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__item summary h3 { font-size: var(--step-1); }
.faq__item summary:hover h3 { color: var(--indigo); }
.faq__answer { padding: 0 0 1.75rem; max-width: 42em; }
.faq__answer ul { padding-left: 1.2rem; margin: 0 0 1em; }
.faq__answer li { margin-bottom: 0.6em; }
.faq__answer li::marker { color: var(--indigo); }

/* ---------- testimonials */

.testimonials { display: grid; gap: 3rem; }
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 36em;
}
.testimonial figcaption { margin-top: 1rem; color: var(--ardosia); font-size: var(--step--1); }
.testimonial__author { font-weight: 700; color: var(--tinta); margin-right: 0.35rem; }

/* ---------- tips */

.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; margin: 0; }
.tips dt { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: 0.6rem; }
.tips dd { margin: 0; color: var(--ardosia); }
@media (max-width: 48rem) { .tips { grid-template-columns: 1fr; } }

/* ---------- videos */

.videos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2rem 1.5rem;
}
.video a { color: var(--tinta); text-decoration: none; display: block; }
.video__thumb { position: relative; display: block; border-radius: 0.9rem; overflow: hidden; aspect-ratio: 16 / 9; background: var(--lilas); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__thumb .icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 3.25rem; height: 3.25rem; padding: 0.85rem 0.75rem 0.85rem 0.95rem;
  border-radius: 50%; background: rgba(36, 34, 58, 0.82); color: var(--branco);
}
.video a:hover .icon { background: var(--indigo); }
.video__title { display: block; margin-top: 0.8rem; font-weight: 700; line-height: 1.35; }
.video a:hover .video__title { text-decoration: underline; }

/* ---------- blog cards */

.post-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 2.75rem 1.75rem;
}
.post-card > a { display: block; color: var(--tinta); text-decoration: none; }
.post-card__image {
  display: block; aspect-ratio: 4 / 3; border-radius: 0.9rem; overflow: hidden;
  background: var(--lilas);
}
.post-card__image { margin-bottom: 1rem; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title {
  display: block;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3;
}
.post-card > a:hover .post-card__title { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; }
.post-card__excerpt { color: var(--ardosia); font-size: 1rem; margin: 0.6rem 0 0; }
.post-card time { display: block; margin-top: 0.6rem; font-size: var(--step--1); color: var(--ardosia); }
.section__body .post-grid { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.section__body .videos { grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); }

.pagination ul { list-style: none; margin: 3.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pagination a {
  display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: 0.5rem;
  border-radius: 999px; border: 1px solid var(--linha);
  color: var(--tinta); text-decoration: none; font-weight: 700;
}
.pagination a:hover { border-color: var(--indigo); }
.pagination a[aria-current="page"] { background: var(--indigo); border-color: var(--indigo); color: var(--branco); }

/* ---------- e-book */

.ebook { background: var(--lilas); padding-block: var(--section-space); }
.ebook__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: start; }
.ebook h2 { margin-bottom: 0.9rem; }
.ebook__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ebook__form label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.95rem; }
.ebook__form label:first-child { grid-column: 1 / -1; }
.ebook__form input {
  font: 400 var(--step-0) var(--font-text); color: var(--tinta);
  background: var(--branco);
  border: 1px solid var(--linha); border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
}
.ebook__form input:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; }
.ebook__form .button { grid-column: 1 / -1; justify-self: start; margin-top: 0.5rem; }
@media (max-width: 52rem) {
  .ebook__grid { grid-template-columns: 1fr; }
  .ebook__form { grid-template-columns: 1fr; }
}

/* ---------- booking band */

.booking-band {
  background: var(--tinta); color: var(--branco);
  padding-block: var(--section-space);
}
.booking-band :focus-visible { outline-color: var(--lilas); }
.booking-band a:not(.button) { color: var(--lilas); }
.booking-band__lede { color: var(--linha); margin-top: 0.8rem; max-width: 46ch; }
.booking-band__list {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem;
}
.booking-band__list li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(226, 222, 240, 0.3);
}
.booking-band__name { font-family: var(--font-display); font-size: var(--step-2); }
.booking-band__role { color: var(--linha); font-size: var(--step--1); margin-bottom: 0.9rem; flex: 1; }

/* ---------- inner pages */

.page-heading { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-heading h1 { max-width: 20ch; }
.page-heading__lede { font-size: var(--step-1); color: var(--ardosia); max-width: 40ch; margin-top: 1rem; }
.breadcrumbs {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: var(--step--1); color: var(--ardosia);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--linha); }
.breadcrumbs li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }
.page-body { padding-bottom: var(--section-space); }
.prose-intro { padding-bottom: 1rem; }
.prose-intro p { font-size: var(--step-1); max-width: 38em; }

.profile { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--linha); }
.profile__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.profile__text { max-width: 42em; }
.profile__role { font-size: var(--step-1); margin: 0.6rem 0 0.25rem; }
.profile__registry { color: var(--ardosia); font-size: var(--step--1); margin-bottom: 1.5rem; }
.profile__audience { font-weight: 700; }
.profile .button { margin-top: 0.75rem; }
@media (max-width: 44rem) { .profile__grid { grid-template-columns: 1fr; } }

.service-block { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--linha); }
.services { margin: 0 0 2rem; display: grid; gap: 1.5rem; }
.services dt { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.3rem; }
.services dd { margin: 0; color: var(--ardosia); max-width: 42em; }

.contact address { font-style: normal; font-size: var(--step-1); line-height: 1.5; margin-bottom: 1rem; }
.contact__map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 1rem; margin-top: 1.5rem; background: var(--lilas); }

.link-list { padding-left: 1.2rem; }
.link-list li { margin-bottom: 0.5rem; }

/* ---------- article */

.article { padding-bottom: var(--section-space); }
.article__header { padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.article__header h1 { font-size: var(--step-5); }
.article__byline { color: var(--ardosia); margin-top: 1.25rem; font-size: 1rem; }
.article__image { margin: 0 0 2.5rem; border-radius: 1rem; overflow: hidden; background: var(--lilas); }
.article__image img { width: 100%; max-height: 78vh; object-fit: contain; }
.article__body { font-size: 1.1875rem; line-height: 1.7; }
.article__body p { margin-bottom: 1.15em; }
.article__body ul { padding-left: 1.2rem; margin: 0 0 1.15em; }
.article__body li { margin-bottom: 0.5em; }
.article__cta {
  margin-top: 3.5rem; padding: 1.75rem;
  background: var(--lilas); border-radius: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.article__cta p { flex: 1 1 100%; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; }
.article__cta-link { font-weight: 700; }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.article__nav-link {
  display: block; padding-top: 1rem; border-top: 1px solid var(--linha);
  color: var(--tinta); text-decoration: none; font-family: var(--font-display); line-height: 1.35;
}
.article__nav-link span { display: block; font-family: var(--font-text); font-size: var(--step--1); color: var(--ardosia); margin-bottom: 0.35rem; }
.article__nav-link:hover { color: var(--indigo); }
.article__nav-link--older { text-align: right; grid-column: 2; }
@media (max-width: 40rem) {
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-link--older { grid-column: 1; text-align: left; }
}

/* ---------- footer */

.site-footer { padding-block: 4rem 2rem; font-size: 1rem; border-top: 1px solid var(--linha); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 0.8fr; gap: 2.5rem; }
.site-footer__clinic img { height: 2.5rem; width: auto; margin-bottom: 1.25rem; }
.site-footer address { font-style: normal; color: var(--ardosia); line-height: 1.6; }
.site-footer__heading { font-family: var(--font-text); font-weight: 700; font-size: 1rem; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__links li,
.site-footer__contacts li { margin-bottom: 0.45rem; }
.site-footer__contacts span { display: block; color: var(--ardosia); font-size: var(--step--1); }
.site-footer__legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linha);
  color: var(--ardosia); font-size: var(--step--1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
}
.site-footer__legal p { margin: 0; max-width: 60ch; }
@media (max-width: 56rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp */

.whatsapp-dock { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.whatsapp-dock__button {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--whatsapp); color: var(--branco);
  border: 0; border-radius: 999px; padding: 0.85rem 1.25rem;
  font: 700 1rem var(--font-text); cursor: pointer;
  box-shadow: var(--shadow);
}
.whatsapp-dock__button:hover { background: var(--whatsapp-escuro); }
.whatsapp-dock__panel {
  width: min(20rem, calc(100vw - 2.5rem));
  background: var(--branco); border-radius: 1.25rem; padding: 1.1rem;
  box-shadow: var(--shadow);
  transform-origin: bottom right;
  animation: dock-in 180ms ease-out;
}
@keyframes dock-in { from { opacity: 0; transform: scale(0.96) translateY(6px); } to { opacity: 1; transform: none; } }
.whatsapp-dock__title { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.6rem; }
.whatsapp-dock__panel ul { list-style: none; margin: 0; padding: 0; }
.whatsapp-dock__panel a {
  display: flex; flex-direction: column; padding: 0.65rem 0.75rem; border-radius: 0.75rem;
  color: var(--tinta); text-decoration: none;
}
.whatsapp-dock__panel a:hover { background: var(--nevoa); }
.whatsapp-dock__panel a span { color: var(--ardosia); font-size: var(--step--1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .whatsapp-dock, .booking-band, .ebook, .article__cta { display: none; }
}
