/* CSS próprio, compilado à mão — substitui o Tailwind via CDN (que carregava e processava
   tudo via JavaScript no navegador, prejudicando a velocidade de carregamento). Cobre
   exatamente as classes usadas em index.html. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; color: var(--fg); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
ol { list-style: none; }
blockquote { display: block; }
cite { font-style: normal; display: block; }
.list-none { list-style: none; }
.not-italic { font-style: normal; }

:root {
  --teal-dark: oklch(25% .06 195);
  --teal: oklch(38% .08 195);
  --teal-light: oklch(48% .08 195);
  --gold: oklch(75% .12 85);
  --bg: oklch(99% .002 195);
  --fg: oklch(20% .03 195);
  --muted: oklch(50% .03 195);
  --section-alt: oklch(97% .004 195);
  --card-border: oklch(92% .008 195);
  --card-border-strong: oklch(82% .015 195);
}

h1, h2, h3, .font-heading { font-family: 'Newsreader', serif; letter-spacing: -.01em; }
h1, h2, h3 { line-height: 1.18; }

/* Layout: display */
.flex { display: flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }

/* Flex */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Gap */
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; } .gap-7 { gap: 1.75rem; } .gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; } .gap-12 { gap: 3rem; } .gap-16 { gap: 4rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; } .left-0 { left: 0; } .right-0 { right: 0; }
.bottom-6 { bottom: 1.5rem; } .right-6 { right: 1.5rem; }
.z-10 { z-index: 10; } .z-50 { z-index: 50; }

/* Sizing */
.w-4 { width: 1rem; } .w-3\.5 { width: .875rem; } .w-5 { width: 1.25rem; } .w-8 { width: 2rem; } .w-10 { width: 2.5rem; } .w-16 { width: 4rem; }
.w-full { width: 100%; } .w-auto { width: auto; }
.w-\[340px\] { width: 340px; }
.h-4 { height: 1rem; } .h-3\.5 { height: .875rem; } .h-5 { height: 1.25rem; } .h-7 { height: 1.75rem; } .h-8 { height: 2rem; } .h-10 { height: 2.5rem; } .h-16 { height: 4rem; } .h-64 { height: 16rem; }
.h-\[400px\] { height: 400px; } .h-\[420px\] { height: 420px; }
.h-full { height: 100%; }
.w-\[320px\] { width: 320px; }
.min-h-screen { min-height: 100vh; }
.max-w-xl { max-width: 36rem; } .max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; } .max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; } .max-w-7xl { max-width: 80rem; }
.max-w-\[420px\] { max-width: 420px; }

/* Spacing: margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 1.25rem; } .mb-12 { margin-bottom: 3rem; } .mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; } .mt-8 { margin-top: 2rem; } .mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-14 { margin-top: 3.5rem; } .mt-16 { margin-top: 4rem; }

/* Spacing: padding */
.p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .p-10 { padding: 2.5rem; }
.p-5 { padding: 1.25rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-24 { padding-bottom: 6rem; }
.pt-36 { padding-top: 9rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }

/* Borders + radius */
.border { border-width: 1px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-card { border-color: var(--card-border); }
.border-teal { border-color: var(--teal); }
.border-white\/10 { border-color: rgb(255 255 255 / .1); }
.border-white\/20 { border-color: rgb(255 255 255 / .2); }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }

/* Backgrounds */
.bg-white { background-color: #fff; }
.bg-white\/5 { background-color: rgb(255 255 255 / .05); }
.bg-white\/10 { background-color: rgb(255 255 255 / .1); }
.bg-page { background-color: var(--bg); }
.bg-teal { background-color: var(--teal); }
.bg-teal-dark { background-color: var(--teal-dark); }
.bg-section-alt { background-color: var(--section-alt); }
.bg-\[\#25D366\] { background-color: #25D366; }
.bg-\[\#25D366\]:hover { background-color: #20bd5a; }
.text-\[\#25D366\] { color: #25D366; }
.btn-gold { background-color: var(--gold); color: var(--teal-dark); }
.btn-gold:hover { filter: brightness(1.08); }

/* Text */
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .05em; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.text-white { color: #fff; }
.text-white\/55 { color: rgb(255 255 255 / .55); }
.text-white\/60 { color: rgb(255 255 255 / .6); }
.text-white\/70 { color: rgb(255 255 255 / .7); }
.text-white\/80 { color: rgb(255 255 255 / .8); }
.text-white\/85 { color: rgb(255 255 255 / .85); }
.text-white\/90 { color: rgb(255 255 255 / .9); }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }

/* Object fit */
.object-cover { object-fit: cover; }
.object-pos-top { object-position: center 12%; }
.object-contain { object-fit: contain; }
.opacity-80 { opacity: .8; }

/* Effects */
.shadow-sm { box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.transition-all { transition: all .2s ease; }
.transition-colors { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.transition-shadow { transition: box-shadow .2s ease; }
.transition-transform { transition: transform .2s ease; }
.duration-300 { transition-duration: .3s; }

/* Hover states */
.hover\:bg-teal:hover { background-color: var(--teal); }
.hover\:bg-teal-light:hover { background-color: var(--teal-light); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:text-gold:hover { color: var(--gold); }
.hover\:text-teal:hover { color: var(--teal); }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration: underline; }

/* ===== Responsivo: sm (>=640px) ===== */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-center { justify-content: center; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== Responsivo: md (>=768px) ===== */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-left { text-align: left; }
  .md\:text-right { text-align: right; }
  .md\:items-start { align-items: flex-start; }
  .md\:flex-row { flex-direction: row; }
  .md\:justify-between { justify-content: space-between; }
}

/* ===== Responsivo: lg (>=1024px) ===== */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:text-left { text-align: left; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:py-0 { padding-top: 0; padding-bottom: 0; }
  .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:h-\[520px\] { height: 520px; }
  .lg\:w-\[400px\] { width: 400px; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-\[0\.9fr_1\.1fr\] { grid-template-columns: 0.9fr 1.1fr; }
}

/* ===== Ajustes solicitados (2026-07-24) ===== */

/* Logo: branco por padrão, cor natural (verde/teal) quando o cabeçalho está "scrolled" */
.logo-img {
  filter: brightness(0) invert(1);
  transition: filter .2s ease;
}
.h-\[77px\] { height: 77px; }

/* Cabeçalho: estado padrão (topo) vs. rolado (scrolled) */
#site-header {
  transition: background-color .25s ease, box-shadow .25s ease;
}
#site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / .08);
}
.nav-link {
  white-space: nowrap;
}
#site-header.scrolled .nav-link {
  color: var(--fg);
}
#site-header.scrolled .nav-link:hover {
  color: var(--teal);
}
#site-header.scrolled .logo-img {
  filter: none;
}
#site-header.scrolled .menu-toggle-btn {
  color: var(--fg);
}
/* O botão "Agendar Consulta" do menu mantém a cor sempre — sem regra especial aqui de propósito */

/* Botão flutuante "Agendar Consulta" (acima do WhatsApp) */
.bottom-24 { bottom: 6rem; }

/* Cards de Diferenciais: borda com mais contraste */
.card-diferencial {
  border: 1px solid var(--card-border-strong);
}

/* Subtítulo de Áreas de Atuação: uma linha só, sem quebrar */
.subtitle-nowrap {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .subtitle-nowrap {
    white-space: normal;
    text-align: center;
  }
}

.bullet-teal {
  margin-top: .375rem;
  height: .5rem;
  width: .5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: var(--teal);
  display: inline-block;
}

/* Cards de "Benefícios": translúcidos sobre fundo escuro */
.card-beneficio {
  border: 1px solid rgb(255 255 255 / .1);
  background-color: rgb(255 255 255 / .05);
  backdrop-filter: blur(4px);
}

/* Carrossel de depoimentos */
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  transition: transform .4s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 .5rem;
  box-sizing: border-box;
}
.testimonial-card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
  transition: box-shadow .2s ease;
}
.dot {
  height: .625rem;
  width: .625rem;
  border-radius: 9999px;
  background-color: var(--card-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color .2s ease;
}
.dot.active {
  background-color: var(--teal);
}
@media (min-width: 640px) {
  .carousel-slide { flex: 0 0 50%; }
}
@media (min-width: 1024px) {
  .carousel-slide { flex: 0 0 33.3333%; }
}

/* Efeito de entrada (fade + slide) — seção Início */
.reveal {
  opacity: 0;
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Lightbox: amplia fotos de galeria em tela cheia */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 20, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: .5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .75rem;
}
.lightbox-close:hover {
  color: var(--gold);
}

/* Trajetória Profissional: linha do tempo com linha central, alternando esquerda/direita */
.timeline {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 1.25rem;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--card-border);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 1.25rem;
  top: .4rem;
  z-index: 10;
  height: .625rem;
  width: .625rem;
  border-radius: 9999px;
  background: var(--teal);
  transform: translateX(-50%);
}
.timeline-card {
  margin-left: 2.25rem;
  border-radius: .625rem;
  background: #fff;
  padding: .875rem 1.125rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
  flex: 1;
}
.timeline-date {
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--teal);
}
.timeline-text {
  margin-top: .2rem;
  font-size: .8125rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--fg);
}
@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-1px);
  }
  .timeline-dot {
    left: 50%;
  }
  .timeline-card {
    margin-left: 0;
    width: calc(50% - 1.5rem);
    text-align: right;
    flex: none;
  }
  .timeline-item--reverse {
    flex-direction: row-reverse;
  }
  .timeline-item--reverse .timeline-card {
    margin-left: auto;
    text-align: left;
  }
}

/* FAQ: acordeão (mesmo modelo do site de referência) */
.faq-list {
  border-top: 1px solid var(--card-border);
}
.faq-item {
  border-bottom: 1px solid var(--card-border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  color: var(--fg);
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  font-size: 1.375rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item details[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-item details > p {
  padding-bottom: 1.25rem;
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.625;
}

/* Artigos do blog em formato rico (parseados de Artigos/*.txt) */
.article-h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Newsreader', serif;
  color: var(--fg);
}
.article-h4 {
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
}
.article-list {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.article-list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.article-ordered-list {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--section-alt);
  border-left: 3px solid var(--gold);
  border-radius: .5rem;
  font-size: .9375rem;
  line-height: 1.6;
}
.article-table-wrap {
  margin: 1.75rem 0;
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: .5rem;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.article-table th, .article-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}
.article-table th {
  background: var(--section-alt);
  font-family: 'Newsreader', serif;
  font-weight: 600;
}
.article-table tr:last-child td {
  border-bottom: none;
}
.ref-marker {
  font-size: .75em;
  vertical-align: super;
  color: var(--teal);
}
.ref-marker a { text-decoration: underline; }
.article-refs {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}
.article-refs h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-family: 'Newsreader', serif;
}
.article-refs ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-refs li {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
}
.article-refs a {
  color: var(--teal);
  text-decoration: underline;
}
.article-toc {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--section-alt);
  border: 1px solid var(--card-border);
  border-radius: .5rem;
}
.article-toc-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: .75rem;
  color: var(--fg);
}
.article-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-toc a {
  font-size: .875rem;
  color: var(--teal);
}
.article-toc a:hover {
  text-decoration: underline;
}
/* compensa o cabeçalho fixo ao pular direto pra um título via link de âncora */
h2[id] {
  scroll-margin-top: 7rem;
}
