/* ==========================================================================
   Dra. Monica Okamoto — folha de estilo única
   1. tokens  2. base  3. utilitários  4. cabeçalho  5. abertura
   6. seções  7. áreas (acordeão)  8. citação  9. sobre  10. blog
   11. contato  12. rodapé  13. responsivo
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  --paper: #fbf8f3;
  --shell: #f3e9e3;
  --rose: #eddad3;
  --ink: #39312c;
  --ink-2: #554a44;
  --taupe: #7b6e67;
  --plum: #5c424d;
  --plum-deep: #46313a;
  --cream: #f7f0e9;
  --line: #e2d7d0;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --axis: max(22px, calc((100vw - 1240px) / 2));
  --header-h: 78px;
  --section-y: clamp(76px, 9vw, 140px);
  --ease: 180ms ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

h3 {
  font-size: 1.34rem;
  line-height: 1.28;
}

p {
  margin: 0 0 1.05em;
  max-width: 52ch;
}

p:last-child {
  margin-bottom: 0;
}

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

a {
  color: var(--plum);
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

::selection {
  background: var(--rose);
  color: var(--ink);
}

/* 3. UTILITÁRIOS ---------------------------------------------------------- */
.section-inner {
  padding-inline: var(--axis);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--plum-deep);
  color: var(--cream);
  padding: 14px 22px;
  font-size: 0.86rem;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.eyebrow .num {
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--plum);
}

.eyebrow .num::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin: 0 12px 3px;
  background: currentColor;
  opacity: 0.45;
}

.eyebrow--light {
  color: rgba(247, 240, 233, 0.62);
}

.eyebrow--light .num {
  color: var(--cream);
}

.display {
  font-size: clamp(2.15rem, 1.35rem + 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 24ch;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 50ch;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn-primary {
  background: var(--plum);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--plum-deep);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  border-color: var(--plum);
  color: var(--plum);
}

.btn-outline:hover {
  background: var(--plum);
  color: var(--cream);
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--taupe);
  border-bottom: 1px solid var(--line);
  transition: color var(--ease), border-color var(--ease);
}

.link-quiet:hover {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

/* 4. CABEÇALHO ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding-inline: var(--axis);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
  text-decoration: none;
}

.brand-symbol {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.05;
  color: var(--ink);
}

.brand-role {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
}

.nav-list a {
  display: block;
  padding-block: 8px;
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.nav-list a:hover {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav-cta {
  min-height: 42px;
  padding: 0.55rem 1.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-label {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* 5. ABERTURA ------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: stretch;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 76px) clamp(28px, 3.4vw, 56px) clamp(40px, 5vw, 76px) var(--axis);
  min-height: 0;
}

/* No desktop a abertura cabe na tela: janela menos o cabeçalho (79px, já
   contando o fio inferior). */
@media (min-width: 901px) {
  .hero {
    height: clamp(620px, calc(100svh - var(--header-h) - 1px), 860px);
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.hero-honorific {
  font-size: clamp(0.82rem, 0.72rem + 0.3vw, 1.05rem);
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: clamp(10px, 1.6vw, 20px);
}

.hero-name,
.hero-last {
  display: block;
  font-size: clamp(3.2rem, 1.4rem + 6.4vw, 7rem);
  line-height: 0.92;
}

.hero-last {
  margin-left: -0.02em;
}

.epigraph {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: 26ch;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 0.95rem + 0.9vw, 1.7rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--plum);
}

.hero-text {
  margin-top: clamp(18px, 2.2vw, 26px);
  max-width: 44ch;
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(24px, 3vw, 38px);
}

/* Painel em duas partes: foto no topo, faixa ameixa com a frase embaixo. */
.hero-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
  background: var(--plum-deep);
}

.hero-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-caption {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 3.2vw, 44px) clamp(28px, 3.6vw, 60px) clamp(28px, 3.2vw, 40px);
  background: var(--plum-deep);
}

.hero-panel-quote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--cream);
}

.hero-panel-quote .line {
  display: block;
  white-space: nowrap;
}

.hero-panel-sign {
  margin: 0;
  padding-top: 18px;
  max-width: none;
  border-top: 1px solid rgba(247, 240, 233, 0.3);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 240, 233, 0.86);
}

/* 6. SEÇÕES --------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 4px);
}

.section--dark {
  background: var(--plum-deep);
  border-bottom-color: transparent;
}

.section--shell {
  background: var(--shell);
}

.section--dark h2 {
  color: var(--cream);
  max-width: 20ch;
}

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

.section--dark p {
  color: rgba(247, 240, 233, 0.8);
}

.section-lede {
  margin-top: clamp(22px, 2.6vw, 32px);
  max-width: 46ch;
  font-size: 1.04rem;
}

/* Princípios */
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 72px);
}

.principle {
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid rgba(247, 240, 233, 0.24);
}

.principle-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(247, 240, 233, 0.42);
}

.principle h3 {
  margin-bottom: 8px;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
}

.principle p {
  margin: 0;
  max-width: 40ch;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* 7. ÁREAS (ACORDEÃO) ----------------------------------------------------- */
.areas-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  padding-bottom: clamp(26px, 3vw, 40px);
  margin-bottom: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
}

.areas-note {
  margin: 0 0 6px;
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--taupe);
}

.areas-note + .areas-note {
  margin-top: 4px;
  margin-bottom: 6px;
}

.areas {
  border-top: 0;
}

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

.area-trigger {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: 100%;
  min-height: 96px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: color var(--ease);
}

.area-index {
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: var(--plum);
}

.area-name {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color var(--ease);
}

.area-trigger:hover .area-name {
  color: var(--plum);
}

.area-mark {
  position: relative;
  justify-self: end;
  width: 20px;
  height: 20px;
}

.area-mark::before,
.area-mark::after {
  content: "";
  position: absolute;
  background: var(--plum);
  transition: transform var(--ease), opacity var(--ease);
}

.area-mark::before {
  top: 50%;
  left: 0;
  width: 20px;
  height: 1.5px;
  transform: translateY(-50%);
}

.area-mark::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 20px;
  transform: translateX(-50%);
}

.area.is-open .area-mark::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.area-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 56px);
  padding: 0 0 clamp(24px, 3vw, 38px) calc(52px + clamp(10px, 2vw, 28px));
}

.area-panel[hidden] {
  display: none;
}

.area-panel p {
  margin: 0;
  max-width: 40ch;
  font-size: 1rem;
  color: var(--ink-2);
}

.area-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--taupe);
}

.area-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Termo técnico entre parênteses: cor de apoio e corpo menor. */
.area-term {
  display: inline;
  margin-left: 0.32em;
  font-size: 0.9em;
  color: var(--taupe);
}

.area-item-name {
  display: inline;
  color: var(--ink-2);
}

/* Quando o item recebe endereço, vira link com o mesmo desenho do texto. */
.area-item > a {
  display: inline;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.area-item > a:hover,
.area-item > a:focus-visible {
  text-decoration: underline;
}

/* 8. PARTILHA DA DECISÃO -------------------------------------------------- */
.decisao-copy {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 60ch;
}

.decisao-copy p {
  max-width: 60ch;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.decisao-copy p + p {
  margin-top: 1.1em;
}

/* 9. SOBRE ---------------------------------------------------------------- */
.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 5.5vw, 88px);
  align-items: center;
}

.sobre-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 40px;
  background: var(--rose);
}

.sobre-panel img {
  max-width: 62%;
  max-height: 62%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sobre-panel.is-photo {
  padding: 0;
  overflow: hidden;
}

.sobre-panel.is-photo img {
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.sobre-panel[hidden] {
  display: none;
}

/* Sem foto e sem símbolo, a seção vira uma coluna só, centrada. */
.sobre-grid.is-single {
  display: block;
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.sobre-grid.is-single .lead,
.sobre-grid.is-single p {
  margin-inline: auto;
}

/* Trajetória: acordeão discreto logo abaixo do texto do Sobre. */
.trajetoria {
  margin-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--line);
}

.trajetoria .trajetoria-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 0;
}

.trajetoria-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color var(--ease);
}

.trajetoria-trigger:hover .trajetoria-label,
.trajetoria-trigger:focus-visible .trajetoria-label {
  color: var(--plum);
}

.trajetoria.is-open .area-mark::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.trajetoria .trajetoria-panel {
  display: block;
  padding: 0 0 clamp(18px, 2.2vw, 28px);
}

.trajetoria-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.trajetoria-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.trajetoria-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.traj-detail {
  color: var(--taupe);
}

.sobre-copy .lead {
  margin-top: clamp(18px, 2vw, 26px);
}

/* 10. BLOG ---------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

.blog-text {
  margin: 0;
  max-width: 38ch;
  font-size: 0.98rem;
  color: var(--ink-2);
}

.themes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #dfd2c9;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.themes span[aria-hidden] {
  color: #b9a79c;
}

.blog-side .btn {
  margin-top: 24px;
}

/* 11. CONTATO ------------------------------------------------------------- */
.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.contato-grid .lead {
  margin-top: clamp(20px, 2.4vw, 28px);
}

.locais-line {
  margin: 20px 0 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
}

.contact-actions {
  margin-top: clamp(24px, 3vw, 34px);
}

.contact-hint {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--taupe);
}

.social-line {
  margin: 14px 0 0;
  max-width: none;
}

.social-link {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--taupe);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color var(--ease), border-color var(--ease);
}

.social-link:hover {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

/* Formulário */
.contato-form {
  padding-top: clamp(4px, 1vw, 10px);
}

.form-title {
  margin-bottom: clamp(20px, 2.4vw, 28px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 20px;
  max-width: none;
}

.field label {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.field .req {
  color: var(--plum);
}

.field .opt {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--taupe);
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--taupe);
}

.field input,
.field textarea {
  width: 100%;
  padding: 9px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  transition: border-color var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:hover,
.field textarea:hover {
  border-bottom-color: #cbb9ae;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--plum);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

.field-counter {
  align-self: flex-end;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--taupe);
}

/* honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

.form-note {
  margin: 0 0 18px;
  max-width: 52ch;
  padding: 12px 14px;
  background: var(--shell);
  border-left: 2px solid var(--plum);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  max-width: none;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--plum);
}

.consent label {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.consent a {
  color: var(--plum);
}

.consent--opcional {
  margin-bottom: 24px;
}

.consent--opcional label {
  color: var(--taupe);
}

.form-submit {
  width: 100%;
}

.form-submit[disabled] {
  opacity: 0.62;
  cursor: progress;
}

.form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  max-width: none;
  border-left: 2px solid var(--plum);
  background: var(--shell);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink);
}

.form-status[data-state="erro"] {
  border-left-color: #8a3f38;
  background: #f4e6e1;
}

.form-status[data-state="sucesso"] {
  border-left-color: var(--plum);
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  padding-top: 2px;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.contact-list dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink);
}

.contact-list dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--ease), color var(--ease);
}

.contact-list dd a:hover {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

/* 12. RODAPÉ -------------------------------------------------------------- */
.site-footer {
  background: var(--plum-deep);
  color: rgba(247, 240, 233, 0.72);
  padding-block: clamp(52px, 6vw, 84px) 26px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid rgba(247, 240, 233, 0.22);
}

.footer-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 76px;
  max-width: 100%;
  object-fit: contain;
}

.footer-signature {
  margin: 0;
  max-width: none;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: flex-end;
}

.footer-nav a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(247, 240, 233, 0.78);
  transition: color var(--ease);
}

.footer-nav a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 30px;
  padding-top: 20px;
}

.footer-register {
  margin: 0;
  max-width: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 240, 233, 0.9);
}

.reg-chunk {
  white-space: nowrap;
}

/* O separador fica preso ao bloco anterior; o espaço depois dele é o único
   ponto de quebra, então nenhuma linha começa com "·" nem parte um registro. */
.reg-sep {
  white-space: nowrap;
}

@media (max-width: 900px) {
  /* No celular a linha de identificação ocupa duas linhas. */
  .footer-register {
    letter-spacing: 0.04em;
  }
}

.footer-copy {
  margin: 0 0 0 auto;
  max-width: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(247, 240, 233, 0.5);
}

/* 12b. PÁGINA LEGAL ------------------------------------------------------- */
.legal {
  padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 120px);
}

.legal-title {
  max-width: 22ch;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.legal-copy {
  max-width: 68ch;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.25;
}

.legal-copy p {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-2);
}

.legal-back {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-back a {
  text-decoration: none;
  color: var(--plum);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.legal-back a:hover {
  border-bottom-color: var(--plum);
}

/* 13. RESPONSIVO ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-copy {
    padding-right: 32px;
  }

  .hero-name,
  .hero-last {
    font-size: clamp(3.1rem, 6vw, 5rem);
  }

  .area-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 62px;
    --axis: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 8px var(--axis) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    margin-left: 0;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list a {
    padding: 14px 0;
    font-size: 0.8rem;
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  /* Abertura */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
    padding: 26px var(--axis) 30px;
  }

  .hero-name,
  .hero-last {
    font-size: clamp(3rem, 11.5vw, 4.2rem);
  }

  .hero-panel {
    min-height: 0;
    border-top: 1px solid var(--line);
  }

  .hero-photo {
    aspect-ratio: 4 / 5;
  }

  .hero-caption {
    gap: 16px;
    padding: 26px var(--axis) 28px;
  }

  .hero-panel-quote {
    max-width: 22ch;
    font-size: 1.5rem;
    line-height: 1.16;
  }

  .hero-panel-sign {
    padding-top: 14px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .principle {
    padding-block: 20px;
  }

  .area-trigger {
    grid-template-columns: 34px minmax(0, 1fr) 44px;
    min-height: 84px;
  }

  .area-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 44px;
  }

  .sobre-grid,
  .blog-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .sobre-panel {
    aspect-ratio: 3 / 4;
  }

  .blog-side .btn {
    margin-top: 20px;
  }

  .footer-top {
    gap: 22px;
  }

  .brand-symbol {
    width: 32px;
    height: 32px;
  }

  .footer-logo {
    height: 60px;
  }

  .footer-nav ul {
    justify-content: flex-start;
    gap: 10px 22px;
  }

  .footer-copy {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: 64px;
    --axis: 20px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-logo {
    max-height: 36px;
    max-width: 170px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-role {
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .nav-toggle {
    padding: 8px 11px;
  }

  .nav-toggle-label {
    display: none;
  }

  .hero-copy {
    padding-top: 22px;
    padding-bottom: 26px;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
  }

  .hero-name,
  .hero-last {
    font-size: clamp(2.75rem, 12.4vw, 3.4rem);
  }

  .hero-honorific {
    margin-bottom: 8px;
    font-size: 0.76rem;
  }

  .epigraph {
    margin-top: 16px;
    padding-top: 10px;
    font-size: 1.14rem;
  }

  .hero-text {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .link-quiet {
    justify-content: center;
    min-height: 40px;
  }

  .hero-caption {
    padding: 22px var(--axis) 24px;
  }

  .hero-panel-quote {
    max-width: none;
    font-size: 1.5rem;
  }

  .display {
    font-size: clamp(1.95rem, 8.2vw, 2.6rem);
  }

  .area-name {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .area-trigger {
    min-height: 74px;
    padding-block: 16px;
  }

  .area-panel {
    padding-left: 0;
    padding-bottom: 22px;
  }

  .blog-grid {
    gap: 22px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-list dt {
    padding-top: 0;
  }

  .btn {
    min-height: 52px;
  }

  .footer-signature {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }
}

@media (max-width: 380px) {
  .brand-role {
    display: none;
  }

  .hero-name,
  .hero-last {
    font-size: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section--dark,
  .site-footer,
  .quote,
  .section--shell {
    background: #fff;
    color: #000;
  }

  .section--dark h2,
  .section--dark h3,
  .section--dark p,
  .footer-signature {
    color: #000;
  }
}

/* Link de mapa nos endereços */
.contact-list dd .map-link{display:inline-block;margin-top:6px;font-family:var(--sans);font-size:.64rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--plum);border-bottom:1px solid currentColor}
.contact-list dd .map-link:hover{color:var(--plum-deep)}

/* Botão flutuante do WhatsApp — sempre visível no canto inferior direito */
.wa-float{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:60;display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 20px 0 16px;border-radius:999px;background:var(--plum-deep);color:var(--cream);text-decoration:none;font-family:var(--sans);font-size:.68rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;box-shadow:0 6px 20px rgba(57,49,44,.18);transition:background var(--ease),transform var(--ease)}
.wa-float svg{width:22px;height:22px;flex:none}
.wa-float:hover{background:var(--plum);transform:translateY(-2px)}
.wa-float:focus-visible{outline:2px solid var(--plum);outline-offset:3px}
@media (max-width:640px){.wa-float{width:54px;height:54px;padding:0;justify-content:center;right:16px;bottom:16px}.wa-float-label{display:none}.wa-float svg{width:26px;height:26px}}
@media (prefers-reduced-motion:reduce){.wa-float{transition:none}.wa-float:hover{transform:none}}
.wa-float{border:1px solid rgba(247,240,233,.55);box-shadow:0 0 0 3px rgba(70,49,58,.18),0 8px 24px rgba(30,20,25,.28)}

/* Correção: a trajetória começa fechada (o display:block acima não pode vencer o atributo hidden). */
.trajetoria .trajetoria-panel[hidden] {
  display: none;
}
