/* ------------------------------------------------------------------
   Dr. Alysson Zanatta, Layout, Grids e Animações
   ------------------------------------------------------------------ */

@import url("./colors_and_type.css");

/* ---------- GERAIS E ESTRUTURA ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--az-font-body);
  color: var(--az-ink-2);
  background-color: var(--az-bg);
  overflow-x: hidden;
  position: relative;
  line-height: var(--az-lh-body);
}

/* Container do Layout Principal */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.screen {
  flex-grow: 1;
  display: none;
  /* Controlado via JS */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms cubic-bezier(.22, .61, .36, 1), transform 320ms cubic-bezier(.22, .61, .36, 1);
}

main.screen.is-active {
  display: block;
}

main.screen.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Seções */
.sect {
  padding: var(--az-sp-8) 0;
  position: relative;
}

.sect--cream {
  background-color: var(--az-bg-cream);
}

.sect--narrow .sect-inner {
  max-width: 800px;
}

.sect-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--az-sp-5);
  width: 100%;
}

.sect-head {
  margin-bottom: var(--az-sp-7);
  max-width: 800px;
}

.sect-head .eyebrow {
  display: block;
  margin-bottom: var(--az-sp-2);
}

.sect-head h2 {
  font-size: var(--az-fs-display-lg);
  margin-bottom: var(--az-sp-3);
}

.sect-head .lead {
  font-size: var(--az-fs-body-lg);
  color: var(--az-ink-3);
  max-width: 680px;
}

/* ---------- NAV / HEADER ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--az-line);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--az-sp-6);
  transition: background 250ms ease;
}

.nav-brand {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: var(--az-sp-5);
  align-items: center;
}

.nav-link {
  font-family: var(--az-font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--az-ink-3);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}

.nav-link:hover {
  color: var(--az-ink);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--az-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms cubic-bezier(.22, .61, .36, 1);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active {
  color: var(--az-ink);
  font-weight: 600;
}

/* Compensar o fixed header no topo das telas */
main.screen {
  padding-top: 84px;
}

/* ---------- HERO HOME ---------- */
.hero {
  padding: var(--az-sp-8) 0 var(--az-sp-6);
  background-color: var(--az-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--az-sp-7);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--az-sp-5);
}

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

.hero-copy h1 {
  margin-top: var(--az-sp-1);
}

.hero-actions {
  display: flex;
  gap: var(--az-sp-3);
  margin-top: var(--az-sp-3);
  flex-wrap: wrap;
}

.btn-group {
  display: flex;
  gap: var(--az-sp-3);
  flex-wrap: wrap;
  align-items: center;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 380px;
  border-radius: var(--az-r-xl);
  overflow: hidden;
  box-shadow: var(--az-shadow-lg);
  border: 1px solid var(--az-line);
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-lotus {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.hero-lotus img {
  width: 100%;
  height: auto;
}

.hero-stats {
  max-width: 1200px;
  margin: var(--az-sp-7) auto 0;
  padding: 0 var(--az-sp-5);
}

/* ---------- ESTATÍSTICAS (StatRow) ---------- */
.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--az-line);
  border-bottom: 1px solid var(--az-line);
  padding: var(--az-sp-5) 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--az-sp-1);
  flex: 1;
}

.stat-num {
  font-family: var(--az-font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--az-primary-800);
  font-weight: 500;
  line-height: 1;
}

.stat-label {
  font-size: var(--az-fs-body-sm);
  color: var(--az-ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-sep {
  color: var(--az-primary);
  opacity: 0.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- DUAS COLUNAS (Layouts de Imagem + Texto) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--az-sp-7);
  align-items: center;
}

.two-col--reverse {
  grid-template-columns: 1.1fr 1fr;
}

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

.two-col-text h2 {
  font-size: var(--az-fs-display-lg);
  line-height: var(--az-lh-display);
}

.two-col-text p.lead {
  font-size: var(--az-fs-body-lg);
  color: var(--az-ink-3);
  line-height: 1.5;
}

.two-col img,
.two-col .photo-slot {
  width: 100%;
  border-radius: var(--az-r-lg);
  overflow: hidden;
  box-shadow: var(--az-shadow-md);
  border: 1px solid var(--az-line);
}

.two-col img {
  object-fit: cover;
}

/* ---------- CARDS E ESPECIALIDADES ---------- */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--az-sp-5);
  margin-top: var(--az-sp-5);
}

/* Custom 5-item specialty grid layout with centered bottom row on desktop/tablet */
.specialty-grid--5items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--az-sp-5);
  margin-top: var(--az-sp-5);
}

.specialty-grid--5items .specialty-card {
  grid-column: span 2;
}

/* Centering the 4th and 5th card on desktop */
.specialty-grid--5items .specialty-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.specialty-grid--5items .specialty-card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .specialty-grid--5items {
    grid-template-columns: repeat(4, 1fr);
  }

  .specialty-grid--5items .specialty-card {
    grid-column: span 2 !important;
  }

  /* Centering the 5th card on tablet */
  .specialty-grid--5items .specialty-card:nth-child(5) {
    grid-column: 2 / span 2 !important;
  }
}

@media (max-width: 767px) {
  .specialty-grid--5items {
    display: flex;
    flex-direction: column;
    gap: var(--az-sp-5);
  }

  .specialty-grid--5items .specialty-card {
    grid-column: auto !important;
  }
}

/* Custom 5-item philosophy grid layout */
.philosophy-grid--5cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--az-sp-4);
  margin-bottom: 32px;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .philosophy-grid--5cols {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--az-sp-4);
  }

  .philosophy-grid--5cols .philosophy-card {
    grid-column: span 2;
  }

  /* Centering the 4th and 5th cards on the second row */
  .philosophy-grid--5cols .philosophy-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .philosophy-grid--5cols .philosophy-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 767px) {
  .philosophy-grid--5cols {
    display: flex;
    flex-direction: column;
    gap: var(--az-sp-4);
  }

  .philosophy-grid--5cols .philosophy-card {
    grid-column: auto !important;
  }
}


.specialty-card {
  background: var(--az-surface);
  border-radius: var(--az-r-lg);
  padding: var(--az-sp-5);
  border: 1px solid var(--az-line);
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
  box-shadow: var(--az-shadow-sm);
  transition: transform 220ms cubic-bezier(.22, .61, .36, 1), box-shadow 220ms cubic-bezier(.22, .61, .36, 1);
  cursor: pointer;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--az-shadow-md);
}

.specialty-ic {
  width: 48px;
  height: 48px;
  border-radius: var(--az-r-sm);
  background: var(--az-primary-050);
  display: grid;
  place-items: center;
  color: var(--az-primary-700);
}

.specialty-card h3 {
  font-size: var(--az-fs-display-sm);
  color: var(--az-ink);
}

.specialty-card p {
  font-size: var(--az-fs-body-sm);
  color: var(--az-ink-3);
  line-height: 1.5;
  flex-grow: 1;
}

.specialty-card .more {
  font-size: 13px;
  font-weight: 600;
  color: var(--az-primary-700);
  display: inline-flex;
  align-items: center;
  gap: var(--az-sp-1);
  margin-top: var(--az-sp-2);
}

.specialty-card--cta {
  background: var(--az-bg-cream);
  border-style: dashed;
  justify-content: center;
  cursor: default;
}

.specialty-card--cta:hover {
  transform: none;
  box-shadow: var(--az-shadow-sm);
}

/* ---------- PROCESSO DE CUIDADO ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--az-sp-5);
  list-style: none;
}

.process li {
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-2);
  border-left: 1px solid var(--az-line);
  padding-left: var(--az-sp-4);
  position: relative;
}

.process-n {
  font-family: var(--az-font-display);
  font-size: var(--az-fs-display-sm);
  color: var(--az-primary-300);
  font-weight: 600;
}

.process h4 {
  font-family: var(--az-font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--az-ink);
}

.process p {
  font-size: 14px;
  color: var(--az-ink-3);
  line-height: 1.55;
}

/* ---------- DEPOIMENTOS ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--az-sp-5);
}

.testi {
  background: var(--az-surface);
  border-radius: var(--az-r-lg);
  padding: var(--az-sp-5);
  border: 1px solid var(--az-line);
  box-shadow: var(--az-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
}

.testi-mark {
  font-family: var(--az-font-display);
  font-size: 80px;
  color: var(--az-primary-200);
  line-height: 0.2;
  height: 24px;
}

.testi blockquote {
  font-family: var(--az-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--az-ink);
  line-height: 1.4;
}

.testi figcaption {
  font-size: 13px;
  color: var(--az-ink-4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--az-sp-6);
  align-items: center;
  background: var(--az-bg);
  border: 1px solid var(--az-line);
  padding: var(--az-sp-6);
  border-radius: var(--az-r-xl);
  box-shadow: var(--az-shadow-md);
}

.cta-final-actions {
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
  align-items: stretch;
}

.cta-final-actions .btn {
  justify-content: center;
}

/* ---------- TRAJETÓRIA (TIMELINE) ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-color: var(--az-line);
}

.timeline li {
  display: flex;
  gap: var(--az-sp-4);
  margin-bottom: var(--az-sp-5);
  position: relative;
  padding-left: 30px;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline-year {
  font-family: var(--az-font-display);
  font-size: var(--az-fs-display-sm);
  color: var(--az-primary-700);
  font-weight: 600;
  width: 100px;
  text-align: left;
  flex-shrink: 0;
  white-space: nowrap;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--az-primary);
  box-shadow: 0 0 0 4px var(--az-bg-cream);
  z-index: 2;
}

.timeline li div {
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-1);
}

.timeline h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--az-ink);
}

.timeline p {
  font-size: 15px;
  color: var(--az-ink-3);
}

/* ---------- FILOSOFIA ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--az-sp-5);
}

.philosophy-card {
  background: var(--az-bg-cream);
  border-radius: var(--az-r-lg);
  padding: var(--az-sp-5);
  border: 1px solid var(--az-line);
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
}

.philosophy-card h3 {
  font-size: var(--az-fs-display-sm);
  color: var(--az-ink);
}

.philosophy-card p {
  font-size: 15px;
  color: var(--az-ink-3);
  line-height: 1.55;
}

/* ---------- SINTOMAS E TRATAMENTOS ---------- */
.sintomas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--az-sp-4);
  margin-bottom: var(--az-sp-4);
}

.sintoma {
  display: flex;
  align-items: center;
  gap: var(--az-sp-3);
  background: var(--az-surface);
  border: 1px solid var(--az-line);
  padding: var(--az-sp-4);
  border-radius: var(--az-r-md);
  box-shadow: var(--az-shadow-xs);
}

.sintoma-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az-primary-700);
}

.sintoma p {
  font-size: 15px;
  font-weight: 600;
  color: var(--az-ink-2);
}

.muted-note {
  font-size: 13px;
  color: var(--az-ink-4);
  text-align: center;
  margin-top: var(--az-sp-3);
}

.tratamento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--az-sp-5);
}

.tratamento-card {
  background: var(--az-surface);
  border-radius: var(--az-r-lg);
  padding: var(--az-sp-5);
  border: 1px solid var(--az-line);
  box-shadow: var(--az-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
}

.tratamento-tag {
  font-family: var(--az-font-eyebrow);
  font-size: var(--az-fs-eyebrow);
  color: var(--az-primary-700);
  background-color: var(--az-primary-050);
  padding: 4px 10px;
  border-radius: var(--az-r-xs);
  width: fit-content;
  font-weight: 700;
}

.tratamento-card h3 {
  font-size: var(--az-fs-display-sm);
}

.tratamento-card p {
  font-size: 14px;
  color: var(--az-ink-3);
  line-height: 1.55;
}

/* ---------- FAQ ACCORDION ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--az-surface);
  border: 1px solid var(--az-line);
  border-radius: var(--az-r-md);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.faq-item[open] {
  border-color: var(--az-primary-300);
  box-shadow: var(--az-shadow-xs);
}

.faq-item summary {
  padding: var(--az-sp-4) var(--az-sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--az-font-body);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--az-ink);
  line-height: 1.35;
}

.faq-toggle {
  font-family: var(--az-font-display);
  font-size: var(--az-fs-display-sm);
  color: var(--az-primary-700);
  user-select: none;
  transition: transform 220ms ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 var(--az-sp-5) var(--az-sp-4);
  font-size: 15px;
  color: var(--az-ink-3);
  line-height: 1.55;
  border-top: 1px solid transparent;
}

.faq-item[open] p {
  border-top: 1px solid var(--az-line-soft);
}

/* ---------- FORMULÁRIO E CONTATO ---------- */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-4);
  margin-bottom: var(--az-sp-5);
}

.contact-list li {
  display: flex;
  gap: var(--az-sp-4);
}

.contact-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--az-r-pill);
  background: var(--az-primary-050);
  display: grid;
  place-items: center;
  color: var(--az-primary-700);
  flex-shrink: 0;
}

.contact-list li h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--az-ink);
}

.contact-list li p {
  font-size: 14px;
  color: var(--az-ink-3);
}

/* Formulário */
.contact-form {
  background: var(--az-surface);
  border: 1px solid var(--az-line);
  padding: var(--az-sp-6);
  border-radius: var(--az-r-lg);
  box-shadow: var(--az-shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-4);
}

.contact-form h3 {
  font-size: var(--az-fs-display-sm);
  color: var(--az-ink);
}

.form-lead {
  font-size: 14px;
  color: var(--az-ink-3);
  margin-top: -8px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-1);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--az-sp-3);
}

.field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--az-ink-3);
}

.field input,
.field select,
.field textarea {
  font-family: var(--az-font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--az-r-sm);
  border: 1px solid var(--az-line);
  background: var(--az-bg);
  color: var(--az-ink);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--az-primary);
  box-shadow: 0 0 0 3px var(--az-primary-050);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C69863' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Checkbox estilizado */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--az-sp-3);
  cursor: pointer;
  font-size: 13px;
  color: var(--az-ink-3);
  line-height: 1.45;
}

.check-box {
  width: 20px;
  height: 20px;
  border-radius: var(--az-r-xs);
  border: 1px solid var(--az-line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background-color: var(--az-bg);
  transition: background 200ms ease, border-color 200ms ease;
}

.check.checked .check-box {
  background-color: var(--az-primary);
  border-color: var(--az-primary);
}

.form-success {
  font-size: 14px;
  color: var(--az-success);
  font-weight: 600;
  background: var(--az-bg-cream);
  padding: var(--az-sp-3) var(--az-sp-4);
  border-radius: var(--az-r-sm);
  border: 1px solid var(--az-line-soft);
  text-align: center;
}

/* MAPA */
.map {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--az-sp-5);
  align-items: center;
  border: 1px solid var(--az-line);
  border-radius: var(--az-r-lg);
  overflow: hidden;
  box-shadow: var(--az-shadow-sm);
}

.map-art {
  height: 320px;
  background: var(--az-bg-cream);
  display: flex;
  overflow: hidden;
}

.map-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-card {
  padding: var(--az-sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
}

.map-card h4 {
  font-size: var(--az-fs-display-sm);
}

.map-card p {
  font-size: 14px;
  color: var(--az-ink-3);
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--az-bg-cream);
  border-top: 1px solid var(--az-line);
  padding: var(--az-sp-8) 0 var(--az-sp-6);
  margin-top: auto;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--az-sp-5);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.8fr;
  gap: var(--az-sp-7);
  margin-bottom: var(--az-sp-7);
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: var(--az-sp-3);
  object-fit: contain;
}

.footer-tag {
  font-size: 13px;
  color: var(--az-ink-3);
  margin-bottom: var(--az-sp-1);
}

.footer-credentials {
  font-size: 12px;
  color: var(--az-ink-4);
}

.footer-col h4 {
  font-family: var(--az-font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--az-primary-700);
  margin-bottom: var(--az-sp-4);
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: var(--az-ink-3);
  text-decoration: none;
  line-height: 1.6;
}

.footer-col a {
  cursor: pointer;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--az-primary-700);
}

.footer-base {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--az-sp-5) var(--az-sp-5) 0;
  border-top: 1px solid var(--az-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--az-ink-4);
  flex-wrap: wrap;
  gap: var(--az-sp-3);
}

/* ---------- PHOTO PLACEHOLDERS (Quando fotos reais falham) ---------- */
.photo-slot {
  position: relative;
  background-color: var(--az-primary-050);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--az-sp-4);
}

.photo-slot-bars {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 var(--az-sp-5);
  pointer-events: none;
  opacity: 0.05;
}

.photo-slot-bars span {
  width: 1px;
  background: var(--az-primary-800);
  height: 100%;
}

.photo-slot-caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-slot-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--az-primary-700);
  letter-spacing: 0.1em;
}

.photo-slot-desc {
  font-size: 12px;
  color: var(--az-ink-3);
  line-height: 1.35;
}

/* ---------- RESPONSIVIDADE ---------- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--az-sp-6);
  }

  .hero-photo {
    max-width: 320px;
  }

  .two-col,
  .two-col--reverse {
    grid-template-columns: 1fr;
    gap: var(--az-sp-5);
  }

  .two-col--reverse .two-col-text {
    order: -1;
  }

  .cta-final {
    grid-template-columns: 1fr;
    gap: var(--az-sp-5);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--az-sp-6);
  }

  .map {
    grid-template-columns: 1fr;
  }

  .map-art {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 var(--az-sp-4);
  }

  .hero-actions,
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .az-btn,
  .btn-group .az-btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Hamburguer Menu Toggle --- */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--az-ink-2);
    border-radius: 999px;
    transition: transform 300ms cubic-bezier(.22, .61, .36, 1), opacity 300ms ease, background-color 300ms ease;
  }

  /* Transform lines to a cross 'X' when open */
  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  @media (max-width: 768px) {
    .nav-toggle {
      display: flex;
    }

    .nav-links {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background-color: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-left: 1px solid var(--az-line);
      padding: 100px var(--az-sp-6) var(--az-sp-6);
      gap: var(--az-sp-5);
      z-index: 1050;
      transition: right 350ms cubic-bezier(.22, .61, .36, 1);
      box-shadow: -10px 0 30px rgba(58, 40, 22, 0.08);
      align-items: flex-start;
    }

    .nav-links.is-open {
      right: 0;
    }

    .nav-link {
      font-size: 18px;
      width: 100%;
      padding: 8px 0;
    }
  }

  .stat-row {
    flex-direction: column;
    gap: var(--az-sp-4);
    padding: var(--az-sp-6) 0;
  }

  .stat-sep {
    transform: rotate(90deg);
  }

  .timeline::before {
    left: 10px;
  }

  .timeline li::after {
    left: 7px;
  }

  .timeline-year {
    width: 100px;
    font-size: 18px;
    text-align: left;
    padding-left: 0;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- ELEMENTOS ESTÉTICOS "HAND-DRAWN" (DOODLES) ---------- */

/* Sublinhado ondulado orgânico sob itálicos destacados */
.az-italic-accent {
  position: relative;
  display: inline-block;
  font-family: var(--az-font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--az-primary-700);
}

.az-italic-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 25 4, 45 9, 65 5 C 85 2, 98 6, 98 6' stroke='%23C69863' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.85;
}

/* Setas curvas espiraladas flutuantes */
.doodle-arrow {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.hero-arrow {
  bottom: -70px;
  left: -80px;
  animation: doodleFloatHero 3s ease-in-out infinite alternate;
}

.cta-arrow {
  top: -35px;
  right: 50px;
  animation: doodleFloatCta 3s ease-in-out infinite alternate;
}

@keyframes doodleFloatHero {
  0% {
    transform: translateY(0) rotate(-10deg);
  }

  100% {
    transform: translateY(-6px) rotate(-10deg);
  }
}

@keyframes doodleFloatCta {
  0% {
    transform: translateY(0) rotate(15deg);
  }

  100% {
    transform: translateY(-6px) rotate(15deg);
  }
}

/* Ornatos botânicos em marca d'água no fundo das seções */
.hero-bg-doodle,
.sobre-bg-doodle,
.womb-bg-doodle {
  position: absolute;
  pointer-events: none;
  opacity: 0.60;
  z-index: -1;
  max-width: 320px;
  height: auto;
  mix-blend-mode: multiply;
}

.hero-bg-doodle {
  bottom: 200px;
  left: 430px;
  transform: rotate(15deg);
}

.sobre-bg-doodle {
  bottom: -80px;
  right: -50px;
  transform: scaleX(-1) rotate(-10deg);
  max-width: 280px;
}

.womb-bg-doodle {
  bottom: 20px;
  right: -40px;
  transform: rotate(-8deg);
  max-width: 360px;
}

/* Garantir posicionamento relativo nas seções pai para conter marcas d'água e setas */
.hero,
.cta-final,
.sect,
.two-col,
.two-col-text,
.hero-copy {
  position: relative;
  z-index: 1;
}

/* Esconder as setas decorativas e ornatos em telas pequenas para evitar poluição visual */
@media (max-width: 991px) {
  .doodle-arrow {
    display: none;
  }

  .hero-bg-doodle,
  .sobre-bg-doodle,
  .womb-bg-doodle {
    max-width: 180px;
    opacity: 0.04;
  }
}

/* ---------- LISTA DE DORES (Seção Espelho da Dor) ---------- */
.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
  margin: var(--az-sp-3) 0;
}

.pain-list li {
  font-size: 15px;
  color: var(--az-ink-2);
  line-height: 1.55;
  padding-left: var(--az-sp-5);
  position: relative;
}

.pain-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--az-primary);
  font-weight: 700;
}

/* ---------- SEÇÃO DE AUTORIDADE ---------- */
.authority-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--az-sp-7);
  align-items: start;
  margin-top: var(--az-sp-5);
}

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

.authority-creds {
  position: sticky;
  top: 104px;
}

.creds-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--az-line);
  border-radius: var(--az-r-lg);
  overflow: hidden;
  box-shadow: var(--az-shadow-sm);
}

.creds-table tbody tr {
  border-bottom: 1px solid var(--az-line);
}

.creds-table tbody tr:last-child {
  border-bottom: none;
}

.creds-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--az-ink-4);
  padding: 10px 14px;
  background: var(--az-bg-cream);
  width: 36%;
  vertical-align: top;
}

.creds-value {
  font-size: 13px;
  color: var(--az-ink);
  font-weight: 500;
  padding: 10px 14px;
  background: var(--az-surface);
  vertical-align: top;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .authority-creds {
    position: static;
  }
}

/* ---------- CTA INTERMEDIÁRIO ---------- */
.cta-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--az-sp-7);
  align-items: center;
  background: var(--az-bg);
  border: 1px solid var(--az-line);
  padding: var(--az-sp-7) var(--az-sp-6);
  border-radius: var(--az-r-xl);
  box-shadow: var(--az-shadow-md);
}

.cta-mid .sect-head {
  margin-bottom: 0;
}

.cta-mid-actions {
  display: flex;
  flex-direction: column;
  gap: var(--az-sp-3);
  align-items: stretch;
}

@media (max-width: 768px) {
  .cta-mid {
    grid-template-columns: 1fr;
    gap: var(--az-sp-5);
  }
}

/* --- Galeria do Consultório --- */
.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--az-sp-3);
}

.clinic-gallery-item {
  position: relative;
  border-radius: var(--az-r-md);
  overflow: hidden;
  box-shadow: var(--az-shadow-sm);
  border: 1px solid var(--az-line);
  aspect-ratio: 4/3;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.clinic-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.clinic-gallery-item:hover img {
  transform: scale(1.05);
}

.clinic-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--az-shadow-md);
}

.clinic-gallery-item--featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

@media (max-width: 576px) {
  .clinic-gallery {
    grid-template-columns: 1fr;
  }

  .clinic-gallery-item--featured {
    grid-column: auto;
    aspect-ratio: 4/3;
  }
}

/* --- Processo Passo a Passo ("Você não percorre esse caminho sozinha") --- */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: var(--az-sp-6) auto 0;
  padding: 20px 0;
}

/* Linha vertical dourada que conecta os passos */
.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--az-primary-100), var(--az-primary), var(--az-primary-100));
  transform: translateX(-50%);
  z-index: 1;
}

.process-step {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: var(--az-sp-6);
  width: 100%;
}

.process-step:last-child {
  margin-bottom: 0;
}

/* Círculo com o número do passo */
.process-step-badge {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--az-bg);
  border: 2px solid var(--az-primary);
  color: var(--az-primary-800);
  font-family: var(--az-font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--az-shadow-sm);
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.process-step:hover .process-step-badge {
  background-color: var(--az-primary);
  color: #fff;
  transform: translate(-50%, -2px) scale(1.05);
}

/* Card de conteúdo de cada passo */
.process-step-card {
  width: 44%;
  background: var(--az-surface);
  border: 1px solid var(--az-line);
  padding: var(--az-sp-5);
  border-radius: var(--az-r-lg);
  box-shadow: var(--az-shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
  position: relative;
  z-index: 2;
}

.process-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--az-shadow-md);
  border-color: var(--az-primary-200);
}

.process-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--az-sp-2);
  color: var(--az-ink);
}

.process-step-card p {
  font-size: 14px;
  color: var(--az-ink-3);
  line-height: 1.6;
}

/* Alinhamento alternado no Desktop */
.process-step:nth-child(odd) {
  justify-content: flex-start;
}

.process-step:nth-child(even) {
  justify-content: flex-end;
}

/* Setas indicadoras apontando para o número */
.process-step:nth-child(odd) .process-step-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -8px;
  width: 14px;
  height: 14px;
  background: var(--az-surface);
  border-right: 1px solid var(--az-line);
  border-top: 1px solid var(--az-line);
  transform: rotate(45deg);
}

.process-step:nth-child(even) .process-step-card::after {
  content: "";
  position: absolute;
  top: 24px;
  left: -8px;
  width: 14px;
  height: 14px;
  background: var(--az-surface);
  border-left: 1px solid var(--az-line);
  border-bottom: 1px solid var(--az-line);
  transform: rotate(45deg);
}

/* Otimização para Mobile */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 24px;
    transform: none;
  }

  .process-step {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 56px;
    margin-bottom: var(--az-sp-5);
  }

  .process-step-badge {
    left: 24px;
    transform: translate(-50%, 0);
  }

  .process-step:hover .process-step-badge {
    transform: translate(-50%, -1px) scale(1.05);
  }

  .process-step-card {
    width: 100%;
    padding: var(--az-sp-4);
  }

  /* Setas no mobile apontando para a esquerda */
  .process-step:nth-child(odd) .process-step-card::after,
  .process-step:nth-child(even) .process-step-card::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -6px;
    right: auto;
    width: 10px;
    height: 10px;
    background: var(--az-surface);
    border-left: 1px solid var(--az-line);
    border-bottom: 1px solid var(--az-line);
    border-right: none;
    border-top: none;
    transform: rotate(45deg);
  }
}