/* =====================================================================
   Dra. Ana Carolina de Castro — folha de estilo única
   Tokens e regras derivados de specs/design.md.
   Ordem: tokens · reset · base · layout · componentes · utilitários
   ===================================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
   Paleta-base (design.md §2). Derivados marcados como tal.
   --------------------------------------------------------------- */
:root {
  /* Cores-base */
  --espresso: #4F453B;
  --offwhite: #F7FAFC;
  --grey: #9FA1A2;
  --taupe: #8F7A65;
  --greige: #998C79;

  /* Derivados (tints/shades das cores-base) */
  --sand: #F0EDE8;          /* greige ~8% sobre off-white: fundo de seção alternada */
  --cream: #EFE9DF;         /* bone quente: texto/logo sobre fundos escuros */
  --body: #5C5349;          /* espresso suavizado: texto de corpo */
  --muted: #776E63;         /* espresso/greige: texto de apoio com contraste AA */
  --line: #E4DED4;          /* linha fina editorial */
  --line-dark: rgba(239, 233, 223, 0.18);
  --espresso-deep: #423A31;  /* espresso escurecido: rodapé */
  /* Greige clareados para uso SOBRE fundos escuros — o greige puro (#998C79)
     não alcança AA sobre espresso (2.8:1). Estes ficam acima de 4.5:1. */
  --greige-claro: #C9BFAF;   /* sobre --espresso    → ~5.1:1 */
  --greige-rodape: #B5A996;  /* sobre --espresso-deep → ~4.8:1 */

  /* Semântica */
  --bg: var(--offwhite);
  --bg-alt: var(--sand);
  --bg-dark: var(--espresso);
  --ink: var(--espresso);
  --ink-soft: var(--body);
  --ink-muted: var(--muted);
  --ink-invert: var(--cream);
  --accent: var(--taupe);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Escala tipográfica fluida (design.md §6) */
  --fs-display: clamp(2.75rem, 7vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 5vw, 3.375rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.5rem);
  --fs-h3: clamp(1.3rem, 2.2vw, 1.625rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  /* Espaçamento — base 4px (design.md §7) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
  --section-y: clamp(3.5rem, 9vw, 8.75rem);

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(1rem, 4vw, 1.5rem);

  /* Bordas, raios, sombras (design.md §8) */
  --radius-card: 6px;
  --radius-img: 4px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(79, 69, 59, 0.08);
  --shadow-lift: 0 18px 44px rgba(79, 69, 59, 0.13);

  /* Movimento (design.md §14) */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 200ms;
  --t-base: 260ms;

  --header-h: 74px;
}

/* ---------------------------------------------------------------
   2. RESET
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

h1, h2, h3, h4,
p, ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

/* ---------------------------------------------------------------
   3. BASE — tipografia
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 600; }

p { text-wrap: pretty; }

strong { color: var(--ink); font-weight: 700; }

::selection {
  background-color: var(--taupe);
  color: var(--offwhite);
}

/* Foco visível global (design.md §9 / site.md §12) */
:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Pular para o conteúdo */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100%;
  z-index: 200;
  padding: var(--sp-3) var(--sp-6);
  background-color: var(--espresso);
  color: var(--offwhite);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* ---------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }

.section--alt { background-color: var(--bg-alt); }

.section--dark {
  background-color: var(--bg-dark);
  color: var(--ink-invert);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--cream); }

.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }

/* Cabeçalho de seção */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 62ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--dark .eyebrow { color: var(--greige-claro); }

.lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.section--dark .lede,
.section--dark p { color: #D9D0C2; }

/* Régua fina decorativa */
.rule {
  width: 56px;
  height: 1px;
  border: 0;
  background-color: var(--taupe);
}

/* ---------------------------------------------------------------
   5. BOTÕES (design.md §9 — decisão A)
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.btn__icon { flex: none; }

/* Primário: espresso sólido, hover taupe */
.btn--primary {
  background-color: var(--espresso);
  color: var(--offwhite);
  border-color: var(--espresso);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--taupe);
  border-color: var(--taupe);
}

/* Secundário: contorno espresso, hover preenche */
.btn--secondary {
  background-color: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--espresso);
  color: var(--offwhite);
}

/* Sobre fundo escuro */
.btn--light {
  background-color: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}
.btn--light:hover,
.btn--light:focus-visible {
  background-color: var(--taupe);
  border-color: var(--taupe);
  color: var(--offwhite);
}

.btn--ghost-light {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(239, 233, 223, 0.5);
}
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  background-color: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}

/* Link com sublinhado animado */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding-block: var(--sp-1);
  color: var(--espresso);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--taupe), var(--taupe));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.link-arrow:hover,
.link-arrow:focus-visible {
  background-size: 100% 1px;
  color: var(--taupe);
}
.link-arrow svg { transition: transform var(--t-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.section--dark .link-arrow { color: var(--cream); }
.section--dark .link-arrow:hover { color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ---------------------------------------------------------------
   6. CABEÇALHO / NAVEGAÇÃO
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 250, 252, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--t-base) var(--ease),
              background-color var(--t-base) var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background-color: rgba(247, 250, 252, 0.97);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

/* Marca: assinatura vetorial recolorida por currentColor */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--espresso);
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
}
.brand:hover { color: var(--taupe); }

/* Monograma recolorido por máscara — mantém a marca dentro da paleta */
.brand__mark {
  flex: none;
  width: 34px;
  height: 34px;
  background-color: currentColor;
  -webkit-mask: url("../img/brand/monograma-espresso.png") center / contain no-repeat;
  mask: url("../img/brand/monograma-espresso.png") center / contain no-repeat;
}

.brand__name {
  margin-left: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .brand__name { font-size: 1rem; }
}

/* Navegação desktop */
.site-nav { display: none; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding-block: var(--sp-2);
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--taupe);
  transition: width var(--t-base) var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--espresso); }
.site-nav__link:hover::after { width: 100%; }

.site-nav__link[aria-current="page"] {
  color: var(--espresso);
}
.site-nav__link[aria-current="page"]::after { width: 100%; }

.header-cta { display: none; }

/* Botão hambúrguer */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  background: none;
  border: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--espresso);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Painel mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--gutter) var(--sp-12);
  background-color: var(--offwhite);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              visibility var(--t-base);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}

.mobile-nav__link {
  display: block;
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.mobile-nav__link:hover { color: var(--taupe); }
.mobile-nav__link[aria-current="page"] { color: var(--taupe); }

.mobile-nav__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

body.nav-open { overflow: hidden; }

@media (min-width: 900px) {
  .site-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  gap: var(--sp-8);
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
  max-width: 44ch;
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 1.05;
  font-weight: 500;
}

.hero__title em {
  font-style: italic;
  color: var(--taupe);
}

.hero__text {
  max-width: 46ch;
  color: var(--ink-soft);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-2);
  color: var(--muted);
  font-size: var(--fs-small);
}

.hero__figure {
  position: relative;
  margin: 0;
}

.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-img);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .hero__img {
    aspect-ratio: 4 / 5;
    max-height: min(78vh, 640px);
  }
}

/* Cabeçalho de página interna */
.page-hero {
  display: grid;
  gap: var(--sp-8);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5, 1.25rem);
  max-width: 46ch;
}

.page-hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-img);
}

@media (min-width: 900px) {
  .page-hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .page-hero__img { aspect-ratio: 4 / 5; max-height: min(70vh, 560px); }
}

/* ---------------------------------------------------------------
   8. BLOCO EDITORIAL (imagem + texto)
   --------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

.split__media { margin: 0; }

.split__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.split__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .split--reverse .split__media { order: 2; }
  .split__img {
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 600px);
  }
}

/* ---------------------------------------------------------------
   9. PILARES DE VALOR
   --------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.pillar__icon {
  width: 26px;
  height: 26px;
  color: var(--taupe);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.pillar__text {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8) var(--sp-6); }
}
@media (min-width: 1000px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------
   10. CARDS
   --------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-6);
  background-color: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--greige);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.card__text {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.card__number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--taupe);
}

/* Lista simples de procedimentos */
.proc-list {
  display: grid;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.proc {
  display: grid;
  gap: var(--sp-2);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line);
}

.proc__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.proc__text {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

@media (min-width: 800px) {
  .proc {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: var(--sp-8);
    align-items: start;
  }
}

/* ---------------------------------------------------------------
   11. CASOS — antes / depois
   --------------------------------------------------------------- */
.cases {
  display: grid;
  gap: var(--sp-12);
  margin-top: var(--sp-12);
}

.case {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.case__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.case__item { position: relative; margin: 0; }

.case__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background-color: var(--sand);
  border-radius: var(--radius-img);
}

.case__tag {
  position: absolute;
  left: var(--sp-3);
  top: var(--sp-3);
  padding: 0.3rem 0.7rem;
  background-color: rgba(79, 69, 59, 0.88);
  border-radius: var(--radius-pill);
  color: var(--offwhite);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case__caption {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.case__label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 900px) {
  .cases { grid-template-columns: repeat(2, 1fr); gap: var(--sp-12) var(--sp-8); }
}

/* Aviso sóbrio */
.notice {
  max-width: 68ch;
  margin-top: var(--sp-12);
  padding: var(--sp-6);
  background-color: var(--sand);
  border-left: 2px solid var(--taupe);
  border-radius: var(--radius-img);
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.section--dark .notice {
  background-color: rgba(239, 233, 223, 0.08);
  color: #D9D0C2;
}

/* ---------------------------------------------------------------
   12. DEPOIMENTOS
   --------------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8) var(--sp-6);
  background-color: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.quote__text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.quote__author {
  color: var(--ink-muted);
  font-size: var(--fs-small);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   13. FAQ (acordeão)
   --------------------------------------------------------------- */
.faq {
  max-width: 60rem;
  margin-top: var(--sp-12);
  border-top: 1px solid var(--line);
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  min-height: 56px;
  padding: var(--sp-4) 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  transition: color var(--t-fast) var(--ease);
}
.faq__trigger:hover { color: var(--taupe); }

.faq__sign {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--taupe);
  transition: transform var(--t-base) var(--ease);
}
.faq__sign::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__sign::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq__trigger[aria-expanded="true"] .faq__sign::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.faq__panel[data-open="true"] { grid-template-rows: 1fr; }

.faq__panel > div { overflow: hidden; }

.faq__answer {
  max-width: 68ch;
  padding-bottom: var(--sp-6);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* ---------------------------------------------------------------
   14. FAIXA DE CONVITE (CTA escura)
   --------------------------------------------------------------- */
.invite {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

.invite__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
}

.invite__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-img);
}

@media (min-width: 900px) {
  .invite { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .invite__img { aspect-ratio: 4 / 5; max-height: min(70vh, 560px); }
}

/* ---------------------------------------------------------------
   15. CONTATO
   --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.contact-block__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-block__value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

a.contact-block__value { transition: color var(--t-fast) var(--ease); }
a.contact-block__value:hover { color: var(--taupe); }

.contact-block__note {
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

/* Mapa: imagem estática + link (decisão C) */
.map-card {
  display: block;
  margin-top: var(--sp-12);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.map-card:hover {
  border-color: var(--greige);
  box-shadow: var(--shadow-soft);
}

.map-card__canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: var(--sp-12) var(--sp-6);
  background-color: var(--sand);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  text-align: center;
}

.map-card__pin {
  width: 34px;
  height: 34px;
  margin-inline: auto;
  color: var(--taupe);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
}

.map-card__label {
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
}

.map-card__hint {
  margin-top: var(--sp-1);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

/* Marcador de conteúdo pendente */
.pending {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background-color: rgba(143, 122, 101, 0.14);
  border: 1px dashed var(--greige);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section--dark .pending {
  background-color: rgba(239, 233, 223, 0.12);
  border-color: rgba(239, 233, 223, 0.4);
  color: #D9D0C2;
}

/* ---------------------------------------------------------------
   16. RODAPÉ
   --------------------------------------------------------------- */
.site-footer {
  padding-block: var(--sp-16) var(--sp-8);
  background-color: var(--espresso-deep);
  color: #CFC6B8;
}

.site-footer__top {
  display: grid;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--line-dark);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
  color: var(--cream);
}

/* Assinatura vetorial recolorida por máscara (viewBox ~14:1) */
.site-footer__signature {
  width: min(300px, 100%);
  aspect-ratio: 2083 / 148;
  background-color: currentColor;
  -webkit-mask: url("../img/brand/assinatura.svg") left center / contain no-repeat;
  mask: url("../img/brand/assinatura.svg") left center / contain no-repeat;
}

.site-footer__tagline {
  max-width: 34ch;
  color: #BDB2A2;
  font-size: var(--fs-small);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col__title {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--greige-rodape);
}

.footer-col__link {
  color: #CFC6B8;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-col__link:hover,
.footer-col__link:focus-visible { color: var(--cream); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-8);
  color: var(--greige-rodape);
  font-size: 0.8125rem;
}

@media (min-width: 700px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-12); }
}

/* ---------------------------------------------------------------
   17. WHATSAPP FLUTUANTE
   --------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(0.875rem, 3vw, 1.5rem);
  bottom: clamp(0.875rem, 3vw, 1.5rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  background-color: var(--espresso);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lift);
  color: var(--offwhite);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}

.wa-float:hover,
.wa-float:focus-visible {
  background-color: var(--taupe);
  transform: translateY(-2px);
}

.wa-float__label { display: none; }

@media (min-width: 560px) {
  .wa-float__label { display: inline; }
}

/* ---------------------------------------------------------------
   18. ANIMAÇÕES DE ENTRADA (design.md §14)
   Só aplicadas quando o JS está ativo — sem JS o conteúdo aparece.
   --------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------
   19. ENQUADRAMENTO DOS RETRATOS
   Os retratos são 2:3 e as caixas do site são 4:5, então o
   `object-fit: cover` descarta ~17% da altura. Com o padrão (50%)
   metade desse corte sai do topo e a cabeça da Dra. era cortada.
   Cada valor abaixo foi medido para manter a cabeça inteira, com
   folga. Aplicar a classe junto da classe do componente.
   Precisa vir depois dos componentes para vencer no cascata.
   --------------------------------------------------------------- */
.foto-apresentacao       { object-position: center 10%; }
.foto-contato            { object-position: center 0%; }
.foto-convite            { object-position: center 56%; }
.foto-depoimentos        { object-position: center 9%; }
.foto-harmonizacao       { object-position: center 17%; }
.foto-harmonizacao-apoio { object-position: center 51%; }
.foto-harmonizacao-capa  { object-position: center 0%; }
.foto-hero               { object-position: center 18%; }
.foto-odontologia        { object-position: center 0%; }
.foto-odontologia-apoio  { object-position: center 0%; }
.foto-odontologia-capa   { object-position: center 59%; }
.foto-sobre              { object-position: center 3%; }
.foto-sobre-retrato      { object-position: center 45%; }

/* ---------------------------------------------------------------
   20. UTILITÁRIOS
   --------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stack-6 { display: flex; flex-direction: column; gap: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
