/* =========================================================
   Clínica de Psicologia Vian — folha de estilo do site
   Escrita à mão. Não depende de Bootstrap, jQuery ou AOS.
   ========================================================= */

/* ---------- Fontes locais ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Light.woff2') format('woff2'),
       url('../fonts/Montserrat-Light.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
       url('../fonts/Montserrat-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic.woff2') format('woff2'),
       url('../fonts/Montserrat-Italic.woff') format('woff');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2'),
       url('../fonts/Montserrat-Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
       url('../fonts/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
       url('../fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cream:    #f7f5ef;
  --sand:     #efeae0;
  --sand-dim: #e7e1d4;
  --paper:    #ffffff;

  --sage:     #899e7d;
  --sage-700: #6b8160;
  --sage-800: #566a4d;
  --sage-100: #e3e9dc;
  --sage-050: #eef2e9;

  --ink:      #2f342e;
  --charcoal: #3a4039;
  --muted:    #6c7368;
  --faint:    #98a094;

  --line:      rgba(58, 64, 57, .14);
  --line-soft: rgba(58, 64, 57, .08);
  --clay:      #a97b4f;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);

  --arch: 999px 999px 10px 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --shadow-soft: 0 1px 2px rgba(47, 52, 46, .04), 0 12px 32px -12px rgba(47, 52, 46, .16);
  --shadow-lift: 0 2px 4px rgba(47, 52, 46, .05), 0 24px 48px -16px rgba(47, 52, 46, .22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Grão sutil sobre o fundo: tira o aspecto "chapado" das cores planas. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

::selection { background: var(--sage); color: #fff; }

:focus-visible {
  outline: 2px solid var(--sage-700);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Estrutura ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--charcoal); color: var(--sand); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--charcoal);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: .55;
}
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow { color: var(--sage); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.022em;
  font-size: clamp(2.5rem, 6.2vw, 4.15rem);
  color: var(--charcoal);
}
.title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.018em;
  font-size: clamp(1.95rem, 4vw, 2.9rem);
  color: var(--charcoal);
}
.subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.012em;
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  color: var(--charcoal);
}
.section--ink .display,
.section--ink .title,
.section--ink .subtitle { color: var(--cream); }

.display em, .title em {
  font-style: italic;
  color: var(--sage-700);
}
.section--ink .display em { color: var(--sage); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.19rem);
  line-height: 1.68;
  color: var(--muted);
  max-width: 54ch;
}
.prose { color: var(--muted); max-width: 66ch; }
.prose strong { color: var(--charcoal); font-weight: 600; }
.section--ink .lede, .section--ink .prose { color: rgba(239, 234, 224, .78); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: 1.15rem; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: #fff;
  --btn-bd: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .845rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--sage  { --btn-bg: var(--sage-700); --btn-bd: var(--sage-700); }
.btn--sage:hover  { --btn-bg: var(--sage-800); --btn-bd: var(--sage-800); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--charcoal); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(239,234,224,.32); }
.btn--light:hover { --btn-bd: var(--cream); --btn-bg: rgba(239,234,224,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Link com seta que desliza no hover */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sage-700);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.arrow-link:hover { border-color: currentColor; }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 239, 0);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(247, 245, 239, .93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header.is-solid { background: var(--cream); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 96px;
  padding-block: .9rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  width: auto;
  height: clamp(56px, 6.8vw, 82px);
  transition: height .4s var(--ease);
}
.site-header.is-stuck .brand img { height: clamp(48px, 5.8vw, 68px); }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.nav a {
  position: relative;
  font-size: .845rem;
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--ink);
  padding-block: .35rem;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--sage-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav a:hover { color: var(--sage-800); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--sage-800); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.header-actions .btn { padding: .72rem 1.3rem; font-size: .78rem; }

/* Botão hambúrguer */
.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
}
.burger span {
  position: relative;
  display: block;
  width: 17px; height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px; height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--cream);
  padding: 1.6rem var(--gutter) 2.5rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.drawer-nav { display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding-block: 2rem; }
.drawer-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  line-height: 1.35;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line-soft);
  padding-block: .55rem;
  transition: color .25s var(--ease), padding-left .35s var(--ease);
}
.drawer-nav a:hover { color: var(--sage-700); padding-left: .5rem; }
.drawer-foot { display: grid; gap: 1rem; }
.drawer-foot .btn { width: 100%; }
.drawer-foot p { font-size: .85rem; color: var(--muted); margin: 0; }
body.is-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::after {
  /* névoa verde muito sutil no canto superior direito */
  content: '';
  position: absolute;
  top: -22%; right: -12%;
  width: min(680px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137,158,125,.20) 0%, rgba(137,158,125,0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 37rem; }
.hero-copy .display { margin-bottom: 1.5rem; }
.hero-copy .lede { margin-bottom: 2.1rem; }
.hero-copy .btn-row { margin-bottom: 2.4rem; }

.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.hero-note span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-note svg { width: 15px; height: 15px; color: var(--sage-700); flex: none; }

/* Imagem em arco com moldura deslocada */
.hero-media { position: relative; }
.hero-media::before {
  content: '';
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 1px solid var(--sage);
  border-radius: var(--arch);
  opacity: .45;
  pointer-events: none;
}
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sand-dim);
}
.arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-media .arch img { aspect-ratio: 5 / 6; }

.hero-badge {
  position: absolute;
  left: -1.2rem;
  bottom: 2.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem 1.25rem;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
  max-width: 18rem;
}
.hero-badge img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.hero-badge b { display: block; font-size: .82rem; font-weight: 600; color: var(--charcoal); line-height: 1.35; }
.hero-badge small { font-size: .74rem; color: var(--muted); line-height: 1.45; }

/* ---------- Faixa de valores ---------- */
.marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mark {
  display: flex;
  gap: 1rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}
.mark:first-child { border-left: 0; padding-left: 0; }
.mark:last-child { padding-right: 0; }
.mark svg { width: 26px; height: 26px; color: var(--sage-700); flex: none; margin-top: .2rem; }
.mark h3 { font-size: .95rem; font-weight: 600; color: var(--charcoal); margin-bottom: .3rem; }
.mark p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---------- A clínica ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media .arch img { aspect-ratio: 3 / 4; }
.about-media .stack {
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  width: 46%;
  border-radius: 12px;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-soft);
}
.section--sand .about-media .stack { border-color: var(--sand); }
.about-media .stack img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.quote {
  margin: 2.25rem 0 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--sage);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--charcoal);
}

/* ---------- Especialidades (lista editorial) ---------- */
.esp-list { border-top: 1px solid var(--line); }
.esp-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(.75rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: padding-left .4s var(--ease);
}
.esp-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sage-050);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.esp-row:hover { padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.esp-row:hover::before { transform: scaleX(1); }

.esp-num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--sage);
  letter-spacing: .04em;
}
.esp-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.68rem);
  line-height: 1.2;
  letter-spacing: -.012em;
  color: var(--charcoal);
  margin-bottom: .35rem;
}
.esp-row p { font-size: .92rem; color: var(--muted); margin: 0; max-width: 46ch; }
.esp-side { display: flex; align-items: center; gap: 1.25rem; }
.esp-who { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.esp-go {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--charcoal);
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.esp-go svg { width: 16px; height: 16px; }
.esp-row:hover .esp-go {
  background: var(--sage-700);
  border-color: var(--sage-700);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---------- Equipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 4vw, 3.25rem);
  max-width: 820px;
}
.person { display: block; }
.person .arch {
  margin-bottom: 1.1rem;
  transition: transform .5s var(--ease);
}
.person .arch img { aspect-ratio: 4 / 5; transition: transform .8s var(--ease), filter .6s var(--ease); }
.person:hover .arch img { transform: scale(1.045); }
.person h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -.01em;
  color: var(--charcoal);
  margin-bottom: .18rem;
}
.person .role { font-size: .84rem; color: var(--sage-700); font-weight: 500; margin-bottom: .3rem; }
.person .approach { font-size: .8rem; color: var(--faint); letter-spacing: .03em; margin-bottom: .85rem; }
.person .bio { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.person .arrow-link { pointer-events: none; }
.person:hover .arrow-link { border-color: currentColor; }
.person:hover .arrow-link svg { transform: translateX(5px); }
.person .arch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--arch);
  box-shadow: inset 0 0 0 1px rgba(58, 64, 57, .07);
}

/* ---------- Etapas ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.75rem; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sage);
  letter-spacing: .05em;
}
.step::after {
  content: '';
  position: absolute;
  top: 1.9rem; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.section--ink .step::after { background: rgba(239, 234, 224, .18); }
.section--ink .step::before { color: var(--sage); }
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: .6rem;
}
.section--ink .step h3 { color: var(--cream); }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
.section--ink .step p { color: rgba(239, 234, 224, .72); }

/* ---------- Missão / Visão / Valores ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.pillar { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  color: var(--charcoal);
  margin-bottom: .85rem;
}
.pillar p { font-size: .92rem; color: var(--muted); margin: 0; }
.pillar ul { display: grid; gap: .55rem; }
.pillar li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-size: .92rem;
  color: var(--muted);
}
.pillar li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex: none;
  transform: translateY(-2px);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.35;
  color: var(--charcoal);
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--sage-800); }
.faq-icon {
  position: relative;
  width: 34px; height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.5px;
  background: var(--charcoal);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), background-color .35s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--sage-700); border-color: var(--sage-700); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  font-size: .95rem;
  color: var(--muted);
  max-width: 68ch;
  padding-bottom: 1.6rem;
  margin: 0;
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-list { display: grid; gap: 1.5rem; }
.contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item svg { width: 20px; height: 20px; color: var(--sage-700); margin-top: .35rem; }
.contact-item .label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .28rem;
}
.contact-item > div { min-width: 0; }
.contact-item .value {
  font-size: 1.02rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.5;
  /* O e-mail é uma palavra só e não tem onde quebrar em telas estreitas. */
  overflow-wrap: anywhere;
  transition: color .25s var(--ease);
}
a.contact-item:hover .value { color: var(--sage-800); }
.contact-item .value small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); margin-top: .2rem; }

/* ---------- Formulário ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field > span {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(137, 158, 125, .16);
}
.captcha-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: end; }
.captcha-box { display: flex; align-items: center; gap: .5rem; }
.captcha-box img { border-radius: 8px; border: 1px solid var(--line); }
.captcha-reload {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .4s var(--ease);
}
.captcha-reload:hover { color: var(--sage-800); border-color: var(--sage); transform: rotate(90deg); }
.captcha-reload svg { width: 15px; height: 15px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-msg {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 10px;
  font-size: .89rem;
  line-height: 1.55;
  border: 1px solid transparent;
}
.form-msg.is-visible { display: block; }
.form-msg.is-ok    { background: var(--sage-050); border-color: var(--sage); color: var(--sage-800); }
.form-msg.is-warn  { background: #fdf6e6; border-color: #e2c07a; color: #7a5a17; }
.form-msg.is-error { background: #fbeeee; border-color: #dda6a6; color: #8a3333; }
.form-msg.is-info  { background: var(--sand); border-color: var(--line); color: var(--muted); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form-foot small { font-size: .78rem; color: var(--faint); max-width: 30ch; line-height: 1.5; }

/* ---------- Mapa ---------- */
.map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--sand-dim);
  line-height: 0;
}
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Chamada final ---------- */
.cta-band {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -6%; top: -35%;
  width: min(520px, 55vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137,158,125,.28) 0%, rgba(137,158,125,0) 70%);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.cta-inner .title { color: var(--cream); max-width: 20ch; }
.cta-inner p { color: rgba(239, 234, 224, .74); max-width: 46ch; margin-top: 1rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--sand); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-brand img { height: 62px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: .875rem; color: var(--muted); max-width: 30ch; }
.footer-col h4 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a, .footer-col p {
  font-size: .885rem;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--sage-800); }
.socials { display: flex; gap: .55rem; margin-top: 1.25rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--charcoal);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.socials a:hover { background: var(--sage-700); border-color: var(--sage-700); color: #fff; }
.socials svg { width: 16px; height: 16px; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-bar p, .footer-bar a { font-size: .8rem; color: var(--faint); margin: 0; }
.footer-bar a:hover { color: var(--sage-800); }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.2rem .8rem .95rem;
  background: var(--sage-700);
  color: #fff;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 8px 28px -8px rgba(47, 52, 46, .45);
  transform: translateY(140%);
  transition: transform .55s var(--ease), background-color .3s var(--ease);
}
.wpp-float.is-visible { transform: translateY(0); }
.wpp-float:hover { background: var(--sage-800); }
.wpp-float svg { width: 21px; height: 21px; flex: none; }

/* ---------- Página interna ---------- */
.page-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--faint);
  margin-bottom: 1.75rem;
}
.crumbs a { transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--sage-800); }
.crumbs span { opacity: .55; }

.esp-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.esp-hero .arch img { aspect-ratio: 4 / 5; }
.esp-hero-media { position: relative; max-width: 26rem; }
.esp-hero-media::before {
  content: '';
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--sage);
  border-radius: var(--arch);
  opacity: .4;
}
.credential {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  background: var(--sage-050);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--sage-800);
  margin-bottom: 1.25rem;
}
.topics { display: grid; gap: .7rem; margin-top: 1.75rem; }
.topics li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-size: .95rem;
  color: var(--muted);
}
.topics li::before {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  flex: none;
  transform: translateY(-2px);
}

.other-esp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: start;
  gap: 1rem;
}
.other-esp a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.other-esp a:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.other-esp svg { width: 15px; height: 15px; color: var(--sage-700); flex: none; }

/* ---------- Revelação no scroll ----------
   Só esconde quando há JavaScript para revelar de volta: sem JS,
   ou se o script falhar, o conteúdo continua visível. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }
.js .reveal[data-delay="5"] { transition-delay: .45s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { max-width: none; }
  .hero-media { max-width: 30rem; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 28rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .esp-hero { grid-template-columns: 1fr; }
  .esp-hero-media { max-width: 22rem; order: -1; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .marks { grid-template-columns: 1fr; }
  .mark { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .mark:first-child { border-top: 0; }
  .steps, .pillars, .other-esp { grid-template-columns: 1fr; }
  .pillars { gap: 2rem; }
  .esp-row { grid-template-columns: 2.25rem minmax(0, 1fr); row-gap: .9rem; }
  .esp-side { grid-column: 2; justify-content: space-between; }
  .wpp-float span { display: none; }
  .wpp-float { padding: .9rem; }
}

@media (max-width: 620px) {
  .contact-item { grid-template-columns: 28px 1fr; gap: .75rem; }
  .field-grid { grid-template-columns: 1fr; }
  .captcha-row { grid-template-columns: 1fr; align-items: stretch; }
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid .person .arch { max-width: 20rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; bottom: -1.25rem; }
  .hero-media::before { inset: 1rem -1rem -1rem 1rem; }
  .about-media .stack { width: 42%; right: -.75rem; }
  .btn-row .btn { flex: 1 1 100%; }
}

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

@media print {
  .site-header, .drawer, .wpp-float, .map, .form-card, .cta-band { display: none !important; }
  body { background: #fff; }
  body::before { display: none; }
}

/* Especialidade ainda sem profissional definido: uma coluna só. */
.esp-hero--sem-foto { grid-template-columns: 1fr; max-width: 68ch; }
