:root {
  /* 1. Paleta Calibrada para o Esqueleto (Ardósia Executiva, Marfim & Bronze Sóbrio) */
  --hero-bg: #46505B;
  --hero-text: #F8F9FA;
  --hero-muted: rgba(255, 255, 255, 0.86);
  --hero-glow: rgba(255, 255, 255, 0.08);
  --bg: #F4F5F6;
  --surface: #FFFFFF;
  --surface-alt: #7C8794;
  --band-dark: #1B2026;
  --band-text: #F4F5F6;
  --text: #1B2026;
  --text-muted: #545D68;
  --accent: #9A7B56;
  --accent-deep: #7A5D3B;
  --accent-contrast: #FFFFFF;
  --border: rgba(154, 123, 86, 0.35);

  /* 2. Vozes Tipográficas Fiéis à Referência & Movimento */
  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--accent);
  color: var(--accent-contrast);
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

blockquote {
  margin: 0;
  font-style: normal;
}

/* Container & Grids Estruturais */
.wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.split-6-6 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.split-5-7 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

/* 1. Fita Branca Superior */
.top-white-bar {
  background: var(--surface);
  color: var(--text);
  border-bottom: 1px solid rgba(27, 32, 38, 0.08);
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Primitivas Obrigatórias do Esqueleto bronze_chevron_arches + Fachada Estilizada */
.hero-chevron-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--hero-bg);
  color: var(--hero-text);
  clip-path: polygon(0 0, 100% 0, 100% 87%, 50% 100%, 0 87%);
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(5.25rem, 8vw, 7rem);
}

.hero-bg-ambient {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url('./assets/foto-maps-4.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: blur(22px) saturate(0.7) brightness(0.38) contrast(1.1);
  transform: scale(1.12);
  pointer-events: none;
}

.hero-bg-facade {
  position: absolute;
  inset: 0 0 0 24%;
  z-index: -2;
  background-image: url('./assets/foto-maps-4.jpg');
  background-size: cover;
  background-position: 54% 35%;
  filter: contrast(1.1) saturate(0.85) brightness(0.96);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, rgba(0, 0, 0, 0.94) 44%, #000000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, rgba(0, 0, 0, 0.94) 44%, #000000 100%);
  pointer-events: none;
}

.hero-bg-stylized {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 24, 30, 0.72) 0%, rgba(19, 24, 30, 0.12) 26%, rgba(19, 24, 30, 0.22) 78%, rgba(19, 24, 30, 0.68) 100%),
    linear-gradient(98deg, rgba(20, 25, 32, 0.95) 0%, rgba(29, 36, 45, 0.88) 38%, rgba(38, 46, 56, 0.32) 70%, rgba(22, 28, 35, 0.5) 100%),
    radial-gradient(ellipse at 74% 38%, rgba(196, 158, 110, 0.24) 0%, transparent 56%);
  box-shadow: inset 0 0 0 1px rgba(215, 188, 155, 0.18);
  pointer-events: none;
}

.hero-chevron-stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.chevron-line-mobile {
  display: none;
}

.btn-sharp-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  min-height: 46px;
  border-radius: 3px;
  padding: 0.85rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.btn-sharp-rect:hover {
  transform: translateY(-2px);
}

.btn-bronze {
  background-color: var(--accent-deep);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.btn-bronze:hover {
  background-color: #694F31;
}

.btn-white-hero {
  background-color: #FFFFFF;
  color: #23221F;
}

.btn-white-hero:hover {
  background-color: #F2EFEA;
}

/* Header Transparente sobre o Palco Tonal */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(215, 188, 155, 0.26);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-wordmark-main {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.55vw, 1.28rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hero-text);
}

.brand-wordmark-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--hero-muted);
  margin-top: 0.2rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.header-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--hero-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.header-nav a:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.header-cta {
  background: #FFFFFF;
  color: #23221F;
  padding-inline: 1.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  background: #F2EFEA;
}

/* Hero Copy & Placa Arquitetônica sobre a Fachada */
#inicio {
  position: relative;
  z-index: 2;
  padding-top: clamp(2rem, 4.2vw, 3.6rem);
  min-height: clamp(340px, 42vw, 450px);
}

.hero-copy h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.62rem, 3.1vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hero-text);
  max-width: 17ch;
  text-shadow: 0 2px 18px rgba(15, 19, 24, 0.45);
}

.hero-copy p {
  margin: 0 0 1.85rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.62;
  color: var(--hero-muted);
  max-width: 46ch;
  text-shadow: 0 1px 12px rgba(15, 19, 24, 0.45);
}

.hero-portrait-apex {
  display: flex;
  justify-content: flex-end;
  align-self: end;
  width: 100%;
  padding-bottom: 0.5rem;
}

.hero-facade-plaque {
  position: relative;
  width: min(100%, 340px);
  padding: 1.15rem 1.35rem;
  background: rgba(22, 27, 34, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(215, 188, 155, 0.42);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: 0 18px 38px rgba(12, 16, 20, 0.34);
}

.hero-facade-plaque::after {
  content: "";
  position: absolute;
  inset: 7px -7px -7px 7px;
  border: 1px solid rgba(215, 188, 155, 0.24);
  border-radius: 3px;
  pointer-events: none;
}

.plaque-kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #DFC6A6;
}

.plaque-address {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
}

.plaque-sub {
  font-size: 0.8rem;
  color: rgba(248, 249, 250, 0.82);
}

/* 2. Seção Sobre com Arco à Esquerda + Menu Tátil */
.section-about-arch {
  padding: clamp(4rem, 7vw, 6.25rem) 0;
  background: var(--bg);
}

.arch-photo-left {
  position: relative;
  padding: 0 14px 14px 0;
  max-width: 440px;
  margin-inline: auto;
}

.arch-photo-left::after {
  content: "";
  position: absolute;
  inset: 18px 0 0 18px;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.arch-photo-left img {
  border-radius: 999px 999px 0 0;
  aspect-ratio: 3 / 3.8;
  width: 100%;
  object-fit: cover;
  object-position: 70% 52%;
  position: relative;
  z-index: 1;
}

.about-copy-right h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  line-height: 1.26;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.about-lead {
  margin: 0 0 1.65rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 58ch;
}

/* Menu Tátil de Experiência & Agendamento Rápido */
.interactive-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: clamp(1.2rem, 2.5vw, 1.65rem);
}

.interactive-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
}

.experience-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.exp-tab {
  appearance: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid rgba(27, 32, 38, 0.14);
  border-radius: 3px;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.exp-tab:hover {
  border-color: var(--accent);
}

.exp-tab[aria-pressed="true"] {
  background: var(--band-dark);
  color: var(--band-text);
  border-color: var(--band-dark);
}

.exp-tab-indicator {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: rgba(27, 32, 38, 0.24);
  flex-shrink: 0;
}

.exp-tab[aria-pressed="true"] .exp-tab-indicator {
  background: var(--accent);
}

.experience-detail {
  margin: 0 0 1.25rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent);
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  min-height: 2.9rem;
}

/* 3. Trio de Arcos Altos sobre Faixa Bicolor */
.bicolor-arches-band {
  background: linear-gradient(180deg, #5F6A77 0%, var(--surface-alt) 48%, var(--band-dark) 48%, var(--band-dark) 100%);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.centered-uppercase-h2 {
  margin: 0 auto clamp(2.1rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.32rem, 2.5vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 26ch;
}

.three-col-arches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.8vw, 2.25rem);
  align-items: stretch;
}

.tall-service-arch {
  display: flex;
  flex-direction: column;
}

.tall-service-arch-media {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: #2B313A;
  border: 1px solid var(--border);
  border-bottom: none;
}

.tall-service-arch img {
  border-radius: 999px 999px 0 0;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s var(--ease-out);
}

.tall-service-arch:hover img {
  transform: scale(1.03);
}

.tall-service-arch img.crop-consultorio {
  object-position: 64% 52%;
  transform: scale(1.12);
}

.tall-service-arch:hover img.crop-consultorio {
  transform: scale(1.15);
}

.tall-service-arch img.crop-exames {
  object-position: center 10%;
}

.tall-service-arch-body {
  flex: 1;
  border: 1px solid var(--border);
  border-top: none;
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--band-text);
  background: var(--band-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tall-service-arch-body h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.tall-service-arch-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(244, 245, 246, 0.84);
}

/* 4. Avaliações Reais Verificadas */
.reviews-section {
  padding: clamp(3.75rem, 6.5vw, 5.5rem) 0;
}

.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.85rem, 3.5vw, 2.6rem);
}

.reviews-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #11151A;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(27, 32, 38, 0.14);
  border-radius: 3px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.reviews-stars {
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.4vw, 1.75rem);
  align-items: stretch;
}

.review-card {
  background: var(--surface);
  color: var(--text);
  border-radius: 3px;
  border-top: 3px solid var(--accent);
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 12px 28px rgba(27, 32, 38, 0.08);
}

.review-card blockquote p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.64;
  color: var(--text);
}

.review-author {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(27, 32, 38, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.review-author strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.review-author span {
  color: var(--text-muted);
  font-size: 0.76rem;
}

/* 5. Rodapé Escuro Sóbrio */
.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.25rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244, 245, 246, 0.12);
}

.footer-brand h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer-brand p {
  margin: 0 0 1.4rem;
  color: rgba(244, 245, 246, 0.8);
  font-size: 0.95rem;
  max-width: 38ch;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D7BC9B;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: rgba(244, 245, 246, 0.86);
}

.footer-list li {
  overflow-wrap: anywhere;
}

.footer-list a {
  border-bottom: 1px solid rgba(215, 188, 155, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.footer-list a:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(244, 245, 246, 0.68);
}

/* Barra Fixa Mobile (< 768px) */
.mobile-sticky-cta {
  display: none;
}

/* Responsividade */
@media (max-width: 960px) {
  .header-nav {
    display: none;
  }

  .hero-bg-facade {
    inset: 0;
    background-position: center 26%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-bg-stylized {
    background:
      linear-gradient(180deg, rgba(18, 23, 29, 0.88) 0%, rgba(24, 30, 38, 0.76) 54%, rgba(22, 28, 35, 0.62) 100%),
      radial-gradient(ellipse at 50% 35%, rgba(186, 149, 102, 0.2) 0%, transparent 65%);
  }

  .hero-portrait-apex {
    justify-content: flex-start;
  }

  .split-6-6,
  .split-5-7 {
    grid-template-columns: 1fr;
  }

  .three-col-arches,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bicolor-arches-band {
    background: linear-gradient(180deg, #5F6A77 0%, var(--surface-alt) 22%, var(--band-dark) 22%, var(--band-dark) 100%);
  }

  .tall-service-arch {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 4.5rem;
  }

  .wrap {
    width: calc(100% - 2rem);
  }

  .top-white-bar {
    font-size: 0.64rem;
    letter-spacing: 0.09em;
    padding: 0.45rem 0.75rem;
  }

  .hero-chevron-stage {
    clip-path: polygon(0 0, 100% 0, 100% 93%, 50% 100%, 0 93%);
    padding: 0.9rem 0 3.75rem;
  }

  .chevron-line-desktop {
    display: none;
  }

  .chevron-line-mobile {
    display: block;
  }

  .site-header {
    padding-bottom: 0.95rem;
    gap: 0.75rem;
  }

  .brand-wordmark-main {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }

  .brand-wordmark-sub {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .header-cta {
    padding: 0.65rem 0.95rem;
    font-size: 0.7rem;
    min-height: 44px;
  }

  #inicio {
    padding-top: 1.15rem;
    min-height: auto;
    gap: 1.45rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.42rem, 6.2vw, 1.82rem);
    margin-bottom: 0.8rem;
  }

  .hero-copy p {
    font-size: 0.94rem;
    margin-bottom: 1.25rem;
  }

  .hero-portrait-apex {
    max-width: 100%;
    padding-bottom: 0;
  }

  .hero-facade-plaque {
    width: 100%;
    padding: 0.95rem 1.1rem;
  }

  .hero-facade-plaque::after {
    display: none;
  }

  .experience-tabs {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: flex;
    padding: 0.65rem 1rem;
    background: rgba(27, 32, 38, 0.96);
    border-top: 1px solid var(--border);
  }

  .mobile-sticky-cta .btn-sharp-rect {
    width: 100%;
    min-height: 46px;
    padding-inline: 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 360px) {
  .header-cta {
    padding-inline: 0.75rem;
    font-size: 0.66rem;
    letter-spacing: 0.05em;
  }

  .hero-copy h1 {
    font-size: 1.32rem;
  }
}

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

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