/*
 * Daniel Cavalcante — folha de estilos única do site.
 * Seções na ordem da cascata original. Regras de uma página só valem
 * quando o <html> tem a classe do modelo (tpl-*); :where() mantém a
 * especificidade original, então nada muda no visual.
 */

/* ==========================================================================
   Base do site: tokens, cabeçalho, home, rodapé, banner de cookies
   ========================================================================== */
/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  /* Cores Oficiais */
  --color-bordo-intenso: #aa3a3a;
  --color-bordo-hover: #8e2f2f;
  --color-bordo-light: rgba(170, 58, 58, 0.08);
  --color-off-white: #f5efe4; /* Usada agora no Header flutuante */
  --color-off-white-card: #fafafa;
  --color-rosa-envelhecido: #eeb8b8;
  --color-rosa-light: rgba(238, 184, 184, 0.25);
  --color-ocre-dourado: #f08d00; /* Amarelo/Ocre idêntico ao SVG de transição */
  --color-ocre-light: rgba(240, 141, 0, 0.12);
  --color-amarelo-claro: #ffecb8;
  --color-preto-suave: #1a1a1a;
  --color-muted: #55524e;
  --color-white: #ffffff;

  /* WhatsApp Oficial */
  --color-whatsapp: #075e54;
  --color-whatsapp-hover: #054c44;

  /* Fontes */
  --font-title: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;

  /* Efeitos e Sombras */
  --shadow-subtle: 0 4px 20px rgba(26, 26, 26, 0.04);
  --shadow-header: 0 10px 30px rgba(26, 26, 26, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(170, 58, 58, 0.06), 0 2px 8px rgba(26, 26, 26, 0.04);
  --shadow-hover: 0 16px 36px rgba(170, 58, 58, 0.14), 0 4px 12px rgba(26, 26, 26, 0.06);
  --shadow-modal: 0 25px 60px rgba(26, 26, 26, 0.25);
  --shadow-banner: 0 20px 50px rgba(26, 26, 26, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);

  /* Bordas e Raios */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Container */
  --container-max: 1200px;
}

/* ==========================================================================
   Reset & Base Styles (Fundo Inteiramente Branco)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-preto-suave);
  background-color: #ffffff; /* Fundo do site 100% branco limpo */
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  color: var(--color-bordo-intenso);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1.05rem;
  color: var(--color-preto-suave);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  background-color: #ffffff; /* Garante fundo limpo em todas as seções */
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ocre-dourado);
  background: var(--color-ocre-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.35rem;
  color: var(--color-bordo-intenso);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  font-weight: 400;
}

/* Badges & Botões */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background-color: var(--color-rosa-light);
  color: var(--color-bordo-intenso);
  border: 1px solid var(--color-rosa-envelhecido);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-bordo-intenso);
  color: var(--color-white);
  border: 2px solid var(--color-bordo-intenso);
}

.btn-primary:hover {
  background-color: var(--color-bordo-hover);
  border-color: var(--color-bordo-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(170, 58, 58, 0.25);
  color: var(--color-white);
}

#hero-cta-btn {
  background-color: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  box-shadow: 0 8px 18px rgba(7, 94, 84, 0.22);
}

#hero-cta-btn:hover {
  background-color: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
  box-shadow: 0 10px 20px rgba(7, 94, 84, 0.28);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-bordo-intenso);
  border: 2px solid var(--color-bordo-intenso);
}

.btn-secondary:hover {
  background-color: var(--color-bordo-intenso);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(170, 58, 58, 0.15);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* ==========================================================================
   HEADER FLUTUANTE (Fundo com tom Off White #F5EFE4 suave e cantos arredondados)
   ========================================================================== */
.floating-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: var(--container-max);
  z-index: 999;
  background: rgba(245, 239, 228, 0.95); /* Tom suave off-white aplicado no header */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(238, 184, 184, 0.6);
  box-shadow: var(--shadow-header);
  padding: 0.65rem 1.4rem;
  transition: var(--transition-smooth);
}

.floating-header.scrolled {
  background: rgba(245, 239, 228, 0.98);
  box-shadow:
    0 12px 36px rgba(26, 26, 26, 0.12),
    0 3px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.header-brand:hover .header-logo-img {
  transform: scale(1.02);
}

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

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.header-nav-link {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-preto-suave);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.header-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-bordo-intenso);
  transition: width 0.3s ease;
  border-radius: var(--radius-pill);
}

.header-nav-link:hover {
  color: var(--color-bordo-intenso);
}

.header-nav-link:hover::after {
  width: 100%;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-whatsapp);
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(7, 94, 84, 0.25);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-whatsapp-header:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 94, 84, 0.35);
  color: var(--color-white) !important;
}

.btn-whatsapp-header svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--color-bordo-intenso);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: var(--color-rosa-light);
}

.header-toggle-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-menu-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  background: rgba(245, 239, 228, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(238, 184, 184, 0.6);
  box-shadow: var(--shadow-modal);
  padding: 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 998;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mobile-menu-dropdown.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-dropdown a {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-preto-suave);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(238, 184, 184, 0.25);
}

.mobile-menu-dropdown a:last-child {
  border-bottom: none;
}

.mobile-menu-dropdown a:hover {
  color: var(--color-bordo-intenso);
  padding-left: 0.4rem;
}

.mobile-menu-dropdown .mobile-whatsapp-cta {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  background-color: var(--color-whatsapp);
  color: var(--color-white) !important;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1rem;
}

/* ==========================================================================
   1. Seção HERO
   ========================================================================== */
.hero-section {
  padding-top: 7.5rem;
  padding-bottom: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-bordo-intenso);
  letter-spacing: -0.01em;
}

.hero-title-service,
.hero-title-tagline {
  display: block;
}

.hero-title-service {
  max-width: 720px;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-preto-suave);
  margin-bottom: 0.45rem;
}

.hero-title-tagline {
  font-size: clamp(3rem, 6.2vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--color-bordo-intenso);
}

.first-contact-section {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
}

.first-contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #fff8ee 0%, var(--color-amarelo-claro) 100%);
  border: 1px solid rgba(240, 141, 0, 0.22);
}

.first-contact-intro h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  margin: 0.7rem 0 1rem;
  max-width: 580px;
}

.first-contact-intro p {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.first-contact-steps {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.first-contact-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(170, 58, 58, 0.12);
  border-radius: 18px;
}

.first-contact-steps li > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bordo-intenso);
  color: #fff;
  font-weight: 800;
}

.first-contact-steps strong {
  color: var(--color-bordo-intenso);
  font-size: 1.05rem;
}
.first-contact-steps p {
  margin-top: 0.25rem;
  font-size: 0.96rem;
  color: var(--color-muted);
}
.btn-consultorio-page {
  background: var(--color-white);
  color: var(--color-bordo-intenso);
  border: 1px solid var(--color-bordo-intenso);
}

@media (max-width: 820px) {
  .first-contact-shell {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    border-radius: 24px;
  }
  .hero-title-service {
    font-size: 1.15rem;
  }
  .hero-title-tagline {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }
}

.hero-text {
  font-size: 1.2rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 35px rgba(170, 58, 58, 0.12));
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-img {
  transform: translateY(-4px);
  filter: drop-shadow(0 20px 42px rgba(170, 58, 58, 0.18));
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-rosa-envelhecido);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
  white-space: nowrap;
}

.hero-floating-badge span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-preto-suave);
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #27ae60;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

/* ==========================================================================
   2. Seção SOBRE MIM
   ========================================================================== */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

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

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 35px rgba(26, 26, 26, 0.08));
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
  transform: translateY(-4px);
  filter: drop-shadow(0 20px 40px rgba(170, 58, 58, 0.15));
}

.about-badge-exp {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.about-badge-exp .number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-exp .label {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-title {
  font-size: 2.75rem;
  color: var(--color-bordo-intenso);
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--color-ocre-dourado);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.about-paragraphs p {
  color: var(--color-preto-suave);
  line-height: 1.75;
}

/* ==========================================================================
   3. Seção AUTORIDADE & COMPROMISSO ÉTICO (Alinhamento Vertical Exato)
   ========================================================================== */
.authority-ethics-section {
  background-color: #ffffff;
}

.authority-ethics-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch; /* Garante que ambas as colunas tenham a mesma altura */
}

.authority-column {
  display: flex;
  flex-direction: column;
}

.authority-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.authority-card {
  background: var(--color-white);
  border: 1px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.authority-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-bordo-intenso);
  box-shadow: var(--shadow-card);
}

.authority-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-rosa-light);
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
}

.authority-icon svg {
  width: 22px;
  height: 22px;
}

.authority-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-preto-suave);
  line-height: 1.45;
}

.testimonials-column {
  display: flex;
  min-height: 0;
}

.testimonials-card-wrapper {
  background: var(--color-white);
  border: 2px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem 1.15rem 1.6rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.65rem; /* Carrossel inicia logo abaixo do warning, sem vão */
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.testimonials-header {
  margin-bottom: 0;
}

.testimonials-tag {
  color: var(--color-bordo-intenso);
  background: var(--color-rosa-light);
}

/* Nota Ética Oficial CFP (Compacta e colada na tag) */
.testimonials-legal-note {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--color-muted);
  background: var(--color-off-white);
  border-left: 3px solid var(--color-ocre-dourado);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.testimonials-legal-note svg {
  color: var(--color-ocre-dourado);
  flex-shrink: 0;
}

.testimonials-legal-note p {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--color-muted);
  margin: 0;
}

/* Estrutura do Carrossel Vertical */
.testimonials-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  position: relative;
  width: 100%;
  min-height: 0;
}

.testimonials-viewport {
  flex: 1;
  width: 100%;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-off-white-card);
  border: 1px solid rgba(238, 184, 184, 0.45);
}

/* Track absoluto para nunca inflar a altura do grid pai */
.testimonials-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  flex-shrink: 0;
  display: flex;
  padding: 0.3rem;
  box-sizing: border-box;
  width: 100%;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.04);
  border: 1px solid rgba(238, 184, 184, 0.35);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  transition:
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.testimonial-card:hover {
  border-color: var(--color-bordo-intenso);
  box-shadow: var(--shadow-subtle);
}

.testimonial-rating {
  color: var(--color-ocre-dourado);
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.testimonial-quote {
  font-size: 0.88rem; /* Fonte mantida intacta conforme solicitado */
  line-height: 1.55;
  color: var(--color-preto-suave);
  font-style: italic;
  margin: 0.2rem 0;
  overflow: visible;
  max-height: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(238, 184, 184, 0.4);
}

.author-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-title);
  font-size: 0.96rem;
  color: var(--color-bordo-intenso);
  font-weight: 700;
  line-height: 1.15;
}

.author-role {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Controles de Navegação */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.testimonial-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid var(--color-rosa-envelhecido);
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-nav-btn:hover {
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  border-color: var(--color-bordo-intenso);
  transform: translateY(-1px);
}

.testimonial-nav-btn svg {
  width: 16px;
  height: 16px;
}

.testimonials-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-rosa-envelhecido);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.testimonial-dot.active {
  width: 22px;
  background: var(--color-bordo-intenso);
}

/* ==========================================================================
   4. Seção SERVIÇOS (Grid Retangular 2 Colunas x 4 Linhas)
   ========================================================================== */
.services-section {
  background-color: #ffffff;
}

.services-grid-2x4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-rect-card {
  background: var(--color-white);
  color: inherit;
  text-decoration: none;
  border: 1.5px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.service-rect-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-bordo-intenso);
  box-shadow: var(--shadow-hover);
}

.service-rect-card:focus-visible {
  outline: 2px solid var(--color-bordo-intenso);
  outline-offset: 3px;
}

.service-rect-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-rosa-light);
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.service-rect-icon svg {
  width: 26px;
  height: 26px;
}

.service-rect-card:hover .service-rect-icon {
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  transform: scale(1.05);
}

.service-rect-info {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.service-rect-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-bordo-intenso);
  line-height: 1.3;
}

.service-rect-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fafafa;
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  border: 1px solid rgba(238, 184, 184, 0.4);
}

.service-rect-action svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.service-rect-card:hover .service-rect-action {
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  border-color: var(--color-bordo-intenso);
}

.service-rect-card:hover .service-rect-action svg {
  transform: translateX(3px);
}

/* ==========================================================================
   5. Seção PERGUNTAS FREQUENTES (FAQ)
   ========================================================================== */
.faq-section {
  background-color: #ffffff;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--color-bordo-intenso);
}

.faq-item.active {
  border-color: var(--color-bordo-intenso);
  box-shadow: var(--shadow-card);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-bordo-intenso);
  line-height: 1.35;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-rosa-light);
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0 1.85rem;
}

.faq-answer {
  border-top: 1px solid rgba(238, 184, 184, 0.5);
  padding-top: 1.85rem; /* Distância confortável e visualmente elegante da borda */
  padding-bottom: 2rem; /* Distância da borda inferior */
}

.faq-answer p {
  color: var(--color-preto-suave);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0;
}

.faq-answer p + p {
  margin-top: 0.85rem;
}

.faq-answer-lead {
  font-weight: 700;
  color: var(--color-bordo-intenso);
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

/* ==========================================================================
   6. Seção CONSULTÓRIO (Iframe esticado e alinhado perfeitamente com os dados)
   ========================================================================== */
.clinic-section {
  background-color: #ffffff;
  padding-bottom: 6.5rem;
}

.clinic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch; /* Ambas as colunas esticam na mesma altura total */
}

.clinic-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.clinic-desc {
  font-size: 1.15rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: var(--color-white);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-rosa-envelhecido);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-fast);
}

.contact-item:hover {
  border-color: var(--color-bordo-intenso);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-rosa-light);
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--color-preto-suave);
  line-height: 1.4;
}

/* Pontos de Referência (Último card da coluna) */
.landmarks-block {
  background: #fafafa;
  border: 1.5px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: auto; /* Garante que o bloco fique na base da coluna */
}

.landmarks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landmarks-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-preto-suave);
}

.landmarks-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-ocre-dourado);
  flex-shrink: 0;
}

/* Coluna 2: Mapa com Iframe Esticado e Ações Alinhadas */
.clinic-map-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%; /* Ocupa 100% da altura da coluna ao lado */
}

.map-wrapper {
  flex: 1; /* Estica dinamicamente para preencher todo o espaço disponível */
  width: 100%;
  min-height: 320px;
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-rosa-envelhecido);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-actions {
  margin-top: auto; /* Empurra os botões para a base, alinhando com o último card da coluna 1 */
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-gps {
  width: 100%;
  background: var(--color-ocre-dourado);
  color: var(--color-white);
  border: 2px solid var(--color-ocre-dourado);
  box-shadow: 0 6px 18px rgba(224, 142, 0, 0.25);
}

.btn-gps:hover {
  background: #c77e00;
  border-color: #c77e00;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224, 142, 0, 0.35);
}

.btn-reviews {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-bordo-intenso);
  border: 2px solid var(--color-rosa-envelhecido);
  box-shadow: var(--shadow-subtle);
}

.btn-reviews:hover {
  background-color: var(--color-bordo-intenso);
  color: var(--color-white);
  border-color: var(--color-bordo-intenso);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(170, 58, 58, 0.18);
}

.btn-reviews svg {
  color: var(--color-ocre-dourado);
}

.btn-reviews:hover svg {
  color: var(--color-white);
}

/* ==========================================================================
   TRANSIÇÃO E FOOTER (Mantido exatamente como está)
   ========================================================================== */
.footer-transition-container {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  display: block;
}

.footer-transition-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16667 / 3739;
  display: block;
  vertical-align: bottom;
  margin-bottom: -1px;
}

.site-footer {
  background-color: var(--color-ocre-dourado);
  color: var(--color-white);
  padding: 4rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-col {
  gap: 1.5rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-bio-summary {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--color-preto-suave);
  transform: translateX(3px);
}

.footer-contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--color-preto-suave);
  padding-left: 0.35rem;
}

.footer-lgpd-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.footer-copy p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   BARRA DE CONSENTIMENTO DE COOKIES (LGPD / GTM)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 2.5rem);
  max-width: 900px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-banner);
  padding: 1.25rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0.4s ease;
}

.cookie-consent-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.cookie-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-rosa-light);
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.cookie-text p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--color-muted);
  border: 1.5px solid rgba(26, 26, 26, 0.2);
}

.btn-cookie-reject:hover {
  background: rgba(26, 26, 26, 0.05);
  color: var(--color-preto-suave);
  border-color: var(--color-preto-suave);
}

.btn-cookie-accept {
  background: var(--color-bordo-intenso);
  color: var(--color-white);
  border: 1.5px solid var(--color-bordo-intenso);
  box-shadow: 0 4px 12px rgba(170, 58, 58, 0.2);
}

.btn-cookie-accept:hover {
  background: var(--color-bordo-hover);
  border-color: var(--color-bordo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(170, 58, 58, 0.3);
}

/* ==========================================================================
   MODAIS (Biografia & Serviços)
   ========================================================================== */

/* Modal Lattes Card */

/* ==========================================================================
   Responsive Design & Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-media {
    order: -1;
  }

  .about-content {
    align-items: center;
    text-align: center;
  }

  .authority-ethics-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid-2x4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinic-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .map-wrapper {
    min-height: 360px;
    height: 360px;
  }

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

  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-toggle-btn {
    display: inline-flex;
  }

  .floating-header {
    padding: 0.55rem 1.1rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.98rem;
    white-space: normal;
    text-align: center;
  }

  .hero-section {
    padding-top: 6.5rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .about-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .authority-cards-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-2x4 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .about-badge-exp {
    right: 10px;
    bottom: 0;
    padding: 0.9rem 1.2rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cookie {
    width: 100%;
    text-align: center;
  }

  .testimonials-viewport {
    height: 300px;
    max-height: 300px;
  }

  .testimonial-slide {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    padding: 0.35rem;
  }

  .testimonial-card {
    padding: 1.35rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1.1rem;
    font-size: 0.94rem;
    gap: 0.5rem;
  }

  .btn-whatsapp-header span {
    display: none;
  }

  .btn-whatsapp-header {
    padding: 0.55rem;
    border-radius: 50%;
  }

  .floating-header {
    width: calc(100% - 1.5rem);
    top: 0.75rem;
  }

  .hero-floating-badge {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .testimonials-card-wrapper {
    padding: 1.65rem 1.25rem 1.35rem 1.25rem;
  }

  .testimonials-viewport {
    height: 300px;
    max-height: 300px;
  }

  .testimonial-slide {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    padding: 0.3rem;
  }

  .testimonial-card {
    padding: 1.25rem 1.25rem;
  }

  .testimonial-quote {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   PÁGINAS INSTITUCIONAIS & LGPD (Política, Termos, Cookies, Resolução CFP)
   ========================================================================== */
.legal-main {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-color: #ffffff;
}

.legal-header {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  text-align: left;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.legal-breadcrumb a {
  color: var(--color-bordo-intenso);
  font-weight: 600;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-title {
  font-size: 2.75rem;
  color: var(--color-bordo-intenso);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.92rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-card-content {
  background: var(--color-white);
  border: 1px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--color-bordo-intenso);
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid rgba(238, 184, 184, 0.4);
}

.legal-section h3 {
  font-size: 1.2rem;
  color: var(--color-ocre-dourado);
  margin-top: 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-preto-suave);
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-callout {
  background: var(--color-off-white);
  border-left: 4px solid var(--color-ocre-dourado);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-callout h3 {
  font-size: 1.05rem;
  color: var(--color-bordo-intenso);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-callout p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-muted);
}

/* Painel Interativo de Gestão de Cookies */
.cookie-management-panel {
  background: linear-gradient(135deg, rgba(245, 239, 228, 0.6), #ffffff);
  border: 2px solid var(--color-rosa-envelhecido);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
}

.cookie-status-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(238, 184, 184, 0.4);
}

.cookie-status-label {
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--color-bordo-intenso);
}

.cookie-status-badge {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.cookie-status-badge.accepted {
  background: #e8f8f0;
  color: #1e824c;
  border: 1px solid #a3e4d7;
}

.cookie-status-badge.rejected {
  background: #fdf2e9;
  color: #d35400;
  border: 1px solid #f5cba7;
}

.cookie-status-badge.pending {
  background: #f4f6f7;
  color: #7f8c8d;
  border: 1px solid #d5dbdb;
}

.cookie-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .legal-card-content {
    padding: 1.75rem 1.5rem;
  }

  .legal-title {
    font-size: 2.15rem;
  }
}

/* Aviso Psicológico Fundamental no Rodapé */
.footer-medical-warning {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-medical-warning p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #ffffff;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.footer-medical-warning strong {
  color: #741414; /* Tom vermelho de alto contraste e legibilidade sobre o fundo amarelo do footer */
  font-weight: 700;
}

/* Utilitários de Texto Responsivo para Botões (Mobile vs Desktop) */
.btn-text-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .btn-text-desktop {
    display: none !important;
  }
  .btn-text-mobile {
    display: inline !important;
  }
}

/* Mobile: os cartões compartilham uma célula com altura natural, sem recortar textos. */
@media (max-width: 900px) {
  .testimonials-card-wrapper {
    height: auto;
  }
  .testimonials-viewport {
    flex: none;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .testimonials-track {
    position: relative;
    height: auto;
    display: grid;
    transform: none !important;
    transition: none;
  }
  .testimonial-slide {
    grid-area: 1 / 1;
    height: auto;
    min-height: 0;
    max-height: none;
    visibility: hidden;
    pointer-events: none;
  }
  .testimonial-slide.is-active,
  .testimonial-slide:first-child:not([aria-hidden]) {
    visibility: visible;
    pointer-events: auto;
  }
  .testimonial-card {
    height: auto;
    justify-content: flex-start;
  }
  .testimonials-tag {
    max-width: 100%;
    white-space: normal;
  }
}

.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.whatsapp-float:hover {
  background: var(--color-whatsapp-hover);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--color-ocre-dourado);
  outline-offset: 4px;
}

/* Sandbox mobile: prioridade para mensagem, confiança e conversão na primeira tela. */
.whatsapp-float-label {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }
  .hero-content {
    order: 1;
  }
  .hero-media {
    order: 2;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 86px;
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .container {
    width: min(100% - 2rem, var(--container-max));
  }
  .floating-header {
    min-height: 62px;
  }
  .hero-section {
    padding-top: 4.9375rem;
    padding-bottom: 3.5rem;
  }
  .hero-grid {
    gap: 2.25rem;
  }
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
  .hero-tagline {
    margin-bottom: 0.85rem;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.08;
    margin-bottom: 1rem;
  }
  .hero-text {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0 0 1.4rem;
  }
  .hero-cta,
  .hero-cta .btn {
    width: 100%;
  }
  .hero-media picture {
    display: block;
    width: min(82vw, 360px);
  }
  .hero-img {
    max-height: 430px;
    object-fit: contain;
  }
  .hero-floating-badge {
    bottom: 1rem;
    max-width: calc(100vw - 3rem);
    white-space: normal;
    text-align: left;
  }
  .section {
    padding: 3.25rem 0;
  }
  .section.hero-section {
    padding-top: 4.9375rem;
    padding-bottom: 3.5rem;
  }
  .about-section {
    position: relative;
    border-top: 1px solid var(--color-rosa-light);
    padding-top: 4.25rem;
  }
  .about-section::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: 72px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: var(--radius-pill);
    background: var(--color-bordo-intenso);
  }
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-content {
    display: contents;
  }
  .about-content > .section-tag,
  .about-title,
  .about-subtitle,
  .about-paragraphs {
    text-align: center;
  }
  .about-content > .section-tag {
    align-self: center;
  }
  .about-title,
  .about-subtitle,
  .about-paragraphs {
    width: 100%;
  }
  .about-media {
    order: 5;
    width: 100%;
    margin-top: 0.5rem;
  }
  .about-img {
    content-visibility: auto;
  }
  .whatsapp-float {
    right: 1rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
    min-width: 150px;
    height: 52px;
    padding: 0 1.15rem;
    gap: 0.65rem;
    border-radius: var(--radius-pill);
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-float-label {
    display: inline;
    font-weight: 700;
    font-size: 0.95rem;
  }
  .cookie-consent-banner {
    bottom: calc(76px + env(safe-area-inset-bottom));
    padding: 0.85rem;
    gap: 0.75rem;
  }
  .cookie-banner-content {
    gap: 0;
  }
  .cookie-icon-wrap {
    display: none;
  }
  .cookie-text p {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .cookie-banner-actions {
    flex-direction: row;
    gap: 0.5rem;
  }
  .btn-cookie {
    width: auto;
    flex: 1;
    padding: 0.65rem 0.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-text {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Home: cards de serviço (antes inline no index.html) — escopo .tpl-home
   ========================================================================== */

:where(.tpl-home) .service-rect-info p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (max-width: 600px) {
  :where(.tpl-home) .service-rect-card {
    gap: 0.75rem;
    padding: 1.25rem;
  }
  :where(.tpl-home) .service-rect-card .service-rect-icon {
    display: none;
  }
  :where(.tpl-home) .service-rect-info {
    min-width: 0;
    padding: 0;
    text-align: left;
  }
  :where(.tpl-home) .service-rect-action {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Páginas internas: estrutura comum (serviços, consultório e guia) — escopo .tpl-interna
   ========================================================================== */
:root:where(.tpl-interna) {
  --bordo: #aa3a3a;
  --ocre: #e08e00;
  --rosa: #eeb8b8;
  --creme: #f5efe4;
  --tinta: #1a1a1a;
  --muted: #5b5650;
  --whats: #075e54;
  --max: 1120px;
}
:where(.tpl-interna) * {
  box-sizing: border-box;
}
html:where(.tpl-interna) {
  scroll-behavior: smooth;
}
:where(.tpl-interna) body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}
:where(.tpl-interna) .page-shell {
  max-width: var(--max);
  margin: auto;
  padding: 20px 24px 64px;
}
:where(.tpl-interna) .cta {
  background: var(--whats);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
}
:where(.tpl-interna) .crumbs {
  margin: 34px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
:where(.tpl-interna) .crumbs a {
  color: var(--bordo);
}
:where(.tpl-interna) .hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 42px;
  align-items: center;
  padding: 28px 0 48px;
}
:where(.tpl-interna) .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bordo);
  font-weight: 800;
  font-size: 0.76rem;
}
:where(.tpl-interna) .hero h1 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--bordo);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 14px 0 20px;
}
:where(.tpl-interna) .hero .intro {
  font-size: 1.18rem;
  max-width: 640px;
  color: var(--muted);
}
:where(.tpl-interna) .illustration {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}
:where(.tpl-interna) .illustration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 22px;
}
:where(.tpl-interna) .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
:where(.tpl-interna) .content-card {
  background: #fff;
  border: 1px solid var(--rosa);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 8px 24px #aa3a3a0c;
}
:where(.tpl-interna) .content-card h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--bordo);
  margin-top: 0;
  line-height: 1.2;
}
:where(.tpl-interna) .wide {
  grid-column: 1/-1;
}
:where(.tpl-interna) .contact-guide {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--rosa);
  border-radius: 22px;
  background: #fff8ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
:where(.tpl-interna) .contact-guide h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--bordo);
  margin: 5px 0;
}
:where(.tpl-interna) .contact-guide p {
  margin: 0;
  max-width: 760px;
}
:where(.tpl-interna) .contact-guide > a {
  color: var(--bordo);
  font-weight: 800;
  white-space: nowrap;
}
:where(.tpl-interna) .cta-band {
  margin-top: 34px;
  background: var(--bordo);
  color: #fff;
  border-radius: 28px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
:where(.tpl-interna) .cta-band h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
:where(.tpl-interna) .cta-band .cta {
  background: #fff;
  color: var(--bordo);
  white-space: nowrap;
  font-weight: 800;
}
:where(.tpl-interna) .emergency-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff2cf;
  border-left: 5px solid var(--ocre);
  color: #4c3b1f;
}
:where(.tpl-interna) .emergency-note strong {
  display: block;
  color: #741414;
}
:where(.tpl-interna) .hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
:where(.tpl-interna) .hub-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  padding: 22px;
  border: 1px solid var(--rosa);
  border-radius: 20px;
}
:where(.tpl-interna) .hub-card h2 {
  color: var(--bordo);
  margin: 0 0 7px;
}
:where(.tpl-interna) .hub-card span {
  color: var(--ocre);
  font-weight: 700;
}
@media (max-width: 760px) {
  :where(.tpl-interna) .page-shell {
    padding: 12px 16px 46px;
  }
  :where(.tpl-interna) .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 10px;
  }
  :where(.tpl-interna) .hero h1 {
    font-size: 2.55rem;
  }
  :where(.tpl-interna) .illustration {
    min-height: 0;
  }
  :where(.tpl-interna) .illustration img {
    max-height: none;
  }
  :where(.tpl-interna) .content-grid,
  :where(.tpl-interna) .hub-grid {
    grid-template-columns: 1fr;
  }
  :where(.tpl-interna) .wide {
    grid-column: auto;
  }
  :where(.tpl-interna) .contact-guide {
    align-items: flex-start;
    flex-direction: column;
  }
  :where(.tpl-interna) .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
  :where(.tpl-interna) .cta-band .cta {
    width: 100%;
    text-align: center;
  }
}

/* Keep content rhythm consistent across the service hub and detail pages. */
:where(.tpl-interna) .page-shell .content-card p:last-child {
  margin-bottom: 0;
}
:where(.tpl-interna) .page-shell .content-grid > .content-card {
  min-width: 0;
}
:where(.tpl-interna) .page-shell .content-grid > .content-card:not(.wide):nth-child(odd):has(+ .content-card.wide),
:where(.tpl-interna) .page-shell .content-grid > .content-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 1050px) {
  :where(.tpl-interna) .page-shell .crumbs,
  :where(.tpl-interna) .page-shell .hero,
  :where(.tpl-interna) .page-shell .content-grid,
  :where(.tpl-interna) .page-shell .hub-grid,
  :where(.tpl-interna) .page-shell .contact-guide,
  :where(.tpl-interna) .page-shell .cta-band,
  :where(.tpl-interna) .page-shell .emergency-note {
    text-align: center;
  }
  :where(.tpl-interna) .page-shell .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  :where(.tpl-interna) .page-shell .hero > div h1 {
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  }
  :where(.tpl-interna) .page-shell .hero .intro {
    margin-inline: auto;
    max-width: 42em;
  }
  :where(.tpl-interna) .page-shell .hero .illustration {
    width: min(100%, 680px);
    min-height: 0;
    margin-inline: auto;
  }
  :where(.tpl-interna) .page-shell .hero .illustration img {
    max-height: none;
  }
  :where(.tpl-interna) .page-shell .content-grid,
  :where(.tpl-interna) .page-shell .hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  :where(.tpl-interna) .page-shell .contact-guide,
  :where(.tpl-interna) .page-shell .cta-band {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  :where(.tpl-interna) .page-shell .contact-guide > div,
  :where(.tpl-interna) .page-shell .cta-band > div {
    max-width: 46em;
  }
  :where(.tpl-interna) .page-shell .contact-guide p {
    margin-inline: auto;
  }
}

/* ==========================================================================
   Página do consultório — escopo .tpl-consultorio
   ========================================================================== */
:root:where(.tpl-consultorio) {
  --bordo: #aa3a3a;
  --ocre: #e08e00;
  --rosa: #eeb8b8;
  --creme: #f5efe4;
  --tinta: #1a1a1a;
  --muted: #5b5650;
  --whats: #075e54;
}
:where(.tpl-consultorio) .clinic-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: end;
  padding: 48px 0 56px;
}
:where(.tpl-consultorio) .clinic-hero h1,
:where(.tpl-consultorio) .map-copy h2,
:where(.tpl-consultorio) .contact-expectation h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--bordo);
  line-height: 1.05;
}
:where(.tpl-consultorio) .clinic-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin: 12px 0 22px;
  letter-spacing: -0.04em;
}
:where(.tpl-consultorio) .clinic-hero .intro {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 680px;
}
:where(.tpl-consultorio) .clinic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
:where(.tpl-consultorio) .secondary-action {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--bordo);
  color: var(--bordo);
  font-weight: 800;
  text-decoration: none;
}
:where(.tpl-consultorio) .address-card {
  background: var(--bordo);
  color: #fff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 50px #6c1f1f24;
}
:where(.tpl-consultorio) .address-card span,
:where(.tpl-consultorio) .address-card strong,
:where(.tpl-consultorio) .address-card small {
  display: block;
}
:where(.tpl-consultorio) .address-card span {
  color: #ffd7aa;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}
:where(.tpl-consultorio) .address-card strong {
  font-size: 1.55rem;
  margin: 10px 0;
}
:where(.tpl-consultorio) .address-card p {
  color: #fff;
  margin: 0 0 18px;
}
:where(.tpl-consultorio) .address-card small {
  border-top: 1px solid #ffffff35;
  padding-top: 18px;
}
:where(.tpl-consultorio) .clinic-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
:where(.tpl-consultorio) .clinic-details article {
  background: #fff;
  border: 1px solid var(--rosa);
  border-radius: 22px;
  padding: 25px;
}
:where(.tpl-consultorio) .detail-number {
  color: var(--ocre);
  font-weight: 900;
  letter-spacing: 0.14em;
}
:where(.tpl-consultorio) .clinic-details h2 {
  font-size: 1.35rem;
  margin: 12px 0;
  color: var(--bordo);
}
:where(.tpl-consultorio) .clinic-details p {
  color: var(--muted);
}
:where(.tpl-consultorio) .map-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
  margin-top: 32px;
  background: #fff8ee;
  border-radius: 28px;
  padding: 30px;
}
:where(.tpl-consultorio) .map-copy h2,
:where(.tpl-consultorio) .contact-expectation h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 10px 0 20px;
}
:where(.tpl-consultorio) .map-copy ul {
  padding-left: 20px;
}
:where(.tpl-consultorio) .map-copy li {
  margin: 10px 0;
}
:where(.tpl-consultorio) .route-note {
  font-size: 0.9rem;
  color: var(--muted);
}
:where(.tpl-consultorio) .map-frame {
  min-height: 440px;
  overflow: hidden;
  border-radius: 22px;
}
:where(.tpl-consultorio) .map-frame iframe {
  width: 100%;
  height: 440px;
  border: 0;
}
:where(.tpl-consultorio) .contact-expectation {
  margin-top: 32px;
  background: var(--bordo);
  color: #fff;
  border-radius: 28px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
:where(.tpl-consultorio) .contact-expectation h2,
:where(.tpl-consultorio) .contact-expectation p,
:where(.tpl-consultorio) .contact-expectation .eyebrow {
  color: #fff;
}
:where(.tpl-consultorio) .contact-expectation > div {
  max-width: 720px;
}
:where(.tpl-consultorio) .contact-expectation .cta {
  background: #fff;
  color: var(--bordo);
  white-space: nowrap;
}
:where(.tpl-consultorio) .emergency-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff2cf;
  border-left: 5px solid var(--ocre);
  color: #4c3b1f;
}
:where(.tpl-consultorio) .emergency-note strong {
  display: block;
  color: #741414;
}
@media (max-width: 760px) {
  :where(.tpl-consultorio) .clinic-hero,
  :where(.tpl-consultorio) .map-section {
    grid-template-columns: 1fr;
  }
  :where(.tpl-consultorio) .clinic-details {
    grid-template-columns: 1fr;
  }
  :where(.tpl-consultorio) .contact-expectation {
    align-items: flex-start;
    flex-direction: column;
  }
  :where(.tpl-consultorio) .contact-expectation .cta {
    width: 100%;
    text-align: center;
  }
  :where(.tpl-consultorio) .map-section {
    padding: 20px;
  }
  :where(.tpl-consultorio) .clinic-hero {
    padding-top: 16px;
  }
}

:where(.tpl-consultorio) .page-shell .clinic-hero > *,
:where(.tpl-consultorio) .page-shell .clinic-details > *,
:where(.tpl-consultorio) .page-shell .map-section > * {
  min-width: 0;
}
:where(.tpl-consultorio) .page-shell .clinic-details article p:last-child {
  margin-bottom: 0;
}
:where(.tpl-consultorio) .page-shell .map-frame {
  line-height: 0;
}
:where(.tpl-consultorio) .page-shell .map-frame iframe {
  display: block;
}

@media (max-width: 1050px) {
  :where(.tpl-consultorio) .page-shell .clinic-hero,
  :where(.tpl-consultorio) .page-shell .clinic-details,
  :where(.tpl-consultorio) .page-shell .map-section,
  :where(.tpl-consultorio) .page-shell .contact-expectation {
    text-align: center;
  }
  :where(.tpl-consultorio) .page-shell .clinic-hero,
  :where(.tpl-consultorio) .page-shell .clinic-details,
  :where(.tpl-consultorio) .page-shell .map-section {
    grid-template-columns: minmax(0, 1fr);
  }
  :where(.tpl-consultorio) .page-shell .clinic-hero {
    align-items: center;
    gap: 28px;
  }
  :where(.tpl-consultorio) .page-shell .clinic-hero > div h1 {
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  }
  :where(.tpl-consultorio) .page-shell .clinic-hero .intro {
    margin-inline: auto;
  }
  :where(.tpl-consultorio) .page-shell .clinic-actions {
    justify-content: center;
  }
  :where(.tpl-consultorio) .page-shell .address-card {
    width: min(100%, 680px);
    margin-inline: auto;
  }
  :where(.tpl-consultorio) .page-shell .clinic-details article {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }
  :where(.tpl-consultorio) .page-shell .map-copy ul {
    padding-left: 0;
    list-style-position: inside;
  }
  :where(.tpl-consultorio) .page-shell .map-frame,
  :where(.tpl-consultorio) .page-shell .map-frame iframe {
    min-height: 320px;
    height: 320px;
  }
  :where(.tpl-consultorio) .page-shell .contact-expectation {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* ==========================================================================
   Página Sobre — escopo .tpl-sobre
   ========================================================================== */
:root:where(.tpl-sobre) {
  --bordo: #aa3a3a;
  --ocre: #e08e00;
  --rosa: #eeb8b8;
  --creme: #f5efe4;
  --tinta: #1a1a1a;
  --texto-suave: #5b5650;
  --whatsapp: #25d366;
  --whatsapp-escuro: #0b5d2a;
  --branco: #fffdf8;
  --max: 1160px;
}

:where(.tpl-sobre) * {
  box-sizing: border-box;
}
html:where(.tpl-sobre) {
  scroll-behavior: smooth;
}
:where(.tpl-sobre) body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
}
:where(.tpl-sobre) a {
  color: inherit;
}
:where(.tpl-sobre) .page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 56px;
}
:where(.tpl-sobre) .crumbs {
  margin: 34px 0 16px;
  color: var(--texto-suave);
  font-size: 0.9rem;
}
:where(.tpl-sobre) .crumbs a {
  color: var(--bordo);
}
:where(.tpl-sobre) .bio-header {
  max-width: 900px;
  padding: 30px 0 68px;
}
:where(.tpl-sobre) .eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bordo);
  font-weight: 800;
  font-size: 0.76rem;
}
:where(.tpl-sobre) h1,
:where(.tpl-sobre) h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--bordo);
  line-height: 1.08;
}
:where(.tpl-sobre) h1 {
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  max-width: 950px;
}
:where(.tpl-sobre) .bio-header > p:last-child {
  margin: 0;
  max-width: 700px;
  color: var(--texto-suave);
  font-size: 1.2rem;
}
:where(.tpl-sobre) .story-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid #d8c7ba;
}
:where(.tpl-sobre) .story-row.reverse .story-image {
  order: 2;
}
:where(.tpl-sobre) .story-row.reverse .story-copy {
  order: 1;
}
:where(.tpl-sobre) .story-image {
  margin: 0;
  position: relative;
  border-radius: 32px;
}
:where(.tpl-sobre) .story-image::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--ocre);
  border-radius: 38% 62% 54% 46% / 48% 38% 62% 52%;
  z-index: -1;
}
:where(.tpl-sobre) .story-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: 32px;
  /* As fotos são recortes com fundo transparente: a sombra segue o contorno da imagem. */
  filter: drop-shadow(0 22px 26px rgba(94, 48, 36, 0.2));
}
:where(.tpl-sobre) .story-image.portrait img {
  object-position: center;
}
:where(.tpl-sobre) .section-number {
  margin: 0 0 4px;
  color: var(--ocre);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
:where(.tpl-sobre) .story-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}
:where(.tpl-sobre) .story-copy p:not(.section-number) {
  color: #413d39;
  font-size: 1.05rem;
}
:where(.tpl-sobre) .bio-actions {
  margin-top: 64px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 30px;
  background: var(--bordo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
:where(.tpl-sobre) .bio-actions .eyebrow {
  color: #ffdf90;
}
:where(.tpl-sobre) .bio-actions h2 {
  color: #fff;
  margin: 0;
  max-width: 600px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
:where(.tpl-sobre) .button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
:where(.tpl-sobre) .button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
:where(.tpl-sobre) .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #24100e33;
}
:where(.tpl-sobre) .button:focus-visible {
  outline: 3px solid var(--ocre);
  outline-offset: 4px;
}
:where(.tpl-sobre) .button-lattes {
  background: var(--branco);
  color: var(--bordo);
}
:where(.tpl-sobre) .button-whatsapp {
  background: var(--whatsapp);
  color: #102717;
}
:where(.tpl-sobre) footer {
  padding-top: 34px;
  text-align: center;
  color: var(--texto-suave);
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  :where(.tpl-sobre) .page-shell {
    width: min(100% - 28px, var(--max));
    padding-top: 14px;
  }
  :where(.tpl-sobre) .bio-header {
    padding-bottom: 42px;
  }
  :where(.tpl-sobre) h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
  :where(.tpl-sobre) .story-row {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 0;
  }
  :where(.tpl-sobre) .story-row.reverse .story-image,
  :where(.tpl-sobre) .story-row.reverse .story-copy {
    order: initial;
  }
  :where(.tpl-sobre) .story-image {
    width: calc(100% - 12px);
  }
  :where(.tpl-sobre) .story-image::after {
    inset: 12px -12px -12px 12px;
  }
  :where(.tpl-sobre) .bio-actions {
    align-items: stretch;
    flex-direction: column;
  }
  :where(.tpl-sobre) .button-group {
    justify-content: stretch;
    flex-direction: column;
  }
  :where(.tpl-sobre) .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:where(.tpl-sobre) {
    scroll-behavior: auto;
  }
  :where(.tpl-sobre) .button {
    transition: none;
  }
}

:where(.tpl-sobre) .page-shell .story-row > * {
  min-width: 0;
}
:where(.tpl-sobre) .page-shell .story-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  :where(.tpl-sobre) .page-shell .crumbs,
  :where(.tpl-sobre) .page-shell .bio-header,
  :where(.tpl-sobre) .page-shell .story-copy,
  :where(.tpl-sobre) .page-shell .story-copy p:not(.section-number),
  :where(.tpl-sobre) .page-shell .bio-actions {
    text-align: center;
  }
  :where(.tpl-sobre) .page-shell .bio-header {
    margin-inline: auto;
  }
  :where(.tpl-sobre) .page-shell .bio-header h1 {
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  }
  :where(.tpl-sobre) .page-shell .bio-header > p:last-child {
    margin-inline: auto;
  }
  :where(.tpl-sobre) .page-shell .story-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  :where(.tpl-sobre) .page-shell .story-row .story-copy {
    order: 1;
    max-width: 46em;
    margin-inline: auto;
  }
  :where(.tpl-sobre) .page-shell .story-row .story-image {
    order: 2;
    width: min(100%, 520px);
    margin-inline: auto;
  }
  :where(.tpl-sobre) .page-shell .bio-actions {
    flex-direction: column;
    align-items: center;
  }
  :where(.tpl-sobre) .page-shell .bio-actions h2 {
    margin-inline: auto;
  }
}

/* ==========================================================================
   Identidade visual: fontes, cores e componentes reconciliados
   ========================================================================== */
@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Quicksand;
  src: url("/assets/fonts/quicksand-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-title: "Josefin Sans", Arial, sans-serif;
  --font-body: Quicksand, Arial, sans-serif;
  --color-ocre-dourado: #e08e00;
  --color-ocre-light: rgba(224, 142, 0, 0.12);
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #25d366;
  --whats: #25d366;
  --whatsapp: #25d366;
  --color-muted: #1a1a1a;
  --muted: #1a1a1a;
  --texto-suave: #1a1a1a;
  --brand-paper: #f5efe4;
  --brand-ink: #1a1a1a;
  --brand-wine: #aa3a3a;
  --brand-rose: #eeb8b8;
  --brand-yellow: #ffecb8;
}
html {
  scroll-padding-top: 110px;
}
body,
button {
  font-family: var(--font-body);
  color: var(--brand-ink);
}
body,
.section,
.legal-main {
  background: var(--brand-paper);
}
h1,
h2,
h3,
.hero h1,
.content-card h2,
.contact-guide h2,
.clinic-hero h1,
.map-copy h2,
.contact-expectation h2,
.hub-card h2,
.cta-band h2 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}
p,
li {
  overflow-wrap: break-word;
}
p {
  line-height: 1.7;
}
h1 {
  overflow-wrap: anywhere;
}
.hero-title,
.hero-title-tagline,
.hero-title-service,
.clinic-hero h1 {
  letter-spacing: 0;
}
.floating-header,
.floating-header.scrolled,
.mobile-menu-dropdown {
  background: var(--brand-paper);
}
.header-inner {
  gap: 1rem;
}
.header-nav-list {
  gap: 1.1rem;
}
.header-nav-link {
  font-size: 0.95rem;
}
.header-logo-img {
  width: 160px;
  height: 40px;
  object-fit: contain;
}
.header-nav-link,
.mobile-menu-dropdown a {
  font-family: var(--font-title);
}
.btn-whatsapp-header,
.mobile-menu-dropdown .mobile-whatsapp-cta,
#hero-cta-btn,
.whatsapp-float {
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: var(--brand-ink) !important;
  font-family: var(--font-body);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-wine);
  outline-offset: 4px;
}
.btn-whatsapp-header svg,
.whatsapp-float svg {
  fill: var(--brand-ink);
}
.page-shell {
  max-width: 1200px;
  width: 100%;
  padding: 120px 24px 64px;
  margin: auto;
}
.page-shell .crumbs {
  margin: 0 0 20px;
}
.page-shell p {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.page-shell .eyebrow {
  font-size: 0.8rem;
  color: var(--brand-wine);
}
.page-shell .hero .intro {
  font-size: 1.15rem;
  color: var(--brand-ink);
}
.page-shell .hero h1,
.clinic-hero h1,
.bio-header h1 {
  font-size: 3.5rem;
  line-height: 1.12;
}
.page-shell .hero {
  padding: 24px 0 48px;
}
.content-card,
.hub-card,
.clinic-details article {
  border-radius: 16px;
}
.content-card h2,
.hub-card h2,
.clinic-details h2 {
  font-size: 1.6rem;
  line-height: 1.3;
}
.contact-guide,
.map-section {
  background: var(--brand-yellow);
  border-radius: 16px;
}
.contact-guide h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--brand-wine);
}
.contact-guide .eyebrow {
  margin-bottom: 0.3rem;
}
.cta-band,
.contact-expectation,
.bio-actions,
.address-card {
  border-radius: 16px;
  background: var(--brand-wine);
}
.cta-band h2,
.contact-expectation h2,
.bio-actions h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: #fff;
}
.cta-band .cta,
.contact-expectation .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta,
.secondary-action,
.button {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  white-space: normal !important;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-guide > a {
  white-space: normal;
}
.emergency-note {
  background: var(--brand-yellow);
  color: var(--brand-ink);
  border-radius: 8px;
}
.emergency-note strong {
  color: var(--brand-wine);
}
.bio-header {
  padding: 20px 0 42px;
}
.bio-header h1 {
  max-width: 900px;
}
.story-row {
  gap: 48px;
}
.story-copy h2 {
  font-size: 2.5rem;
}
.story-copy p:not(.section-number) {
  color: var(--brand-ink);
  text-align: left;
}
.story-image::after {
  display: none;
}
.story-image {
  border-radius: 16px;
}
.story-image img {
  border-radius: 16px;
}
.clinic-details p,
.route-note {
  color: var(--brand-ink);
}
.site-footer {
  font-family: var(--font-body);
}
.footer-medical-warning p,
.footer-medical-warning strong,
.footer-bottom p {
  color: var(--brand-ink);
}
.footer-links a {
  color: var(--brand-ink);
}
.footer-transition-container {
  margin-top: 0;
}
.site-footer .footer-medical-warning strong {
  color: var(--brand-wine);
}
.btn-gps {
  color: var(--brand-ink);
}
.section-subtitle,
.hero-text,
.about-subtitle {
  color: var(--brand-ink);
}
.legal-card-content {
  border-radius: 16px;
}
.legal-section p,
.legal-section li,
.about-paragraphs p,
.faq-panel p {
  text-align: left;
}
.section-tag {
  color: var(--brand-wine);
}
.first-contact-shell {
  background: var(--brand-yellow);
  border-radius: 16px;
}
.cookie-consent-banner {
  font-family: var(--font-body);
}
.cookie-consent-banner .cookie-text p {
  color: var(--brand-ink);
}
@media (max-width: 1050px) {
  .header-nav {
    display: none;
  }
  .header-toggle-btn {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 90px;
  }
  .page-shell {
    padding: 92px 20px 40px;
  }
  .page-shell .hero h1,
  .clinic-hero h1,
  .bio-header h1 {
    font-size: 2.25rem;
    line-height: 1.15;
  }
  .bio-header {
    padding: 12px 0 32px;
  }
  .story-copy h2 {
    font-size: 2rem;
  }
  .page-shell .hero {
    padding: 16px 0 32px;
  }
  .page-shell p,
  .page-shell .hero .intro {
    font-size: 1rem;
  }
  .hero-title-tagline {
    font-size: 2.8rem;
  }
  .hero-title-service {
    font-size: 1.15rem;
  }
  .about-content > .section-tag,
  .about-title,
  .about-subtitle {
    text-align: left;
    align-self: flex-start;
  }
  .about-paragraphs {
    text-align: left;
  }
  .container {
    width: 100%;
    padding: 0 20px;
  }
  .header-logo-img {
    width: 140px;
    height: 35px;
  }
  .header-inner {
    gap: 10px;
  }
  .floating-header {
    padding: 10px 14px;
  }
  .hero-section,
  .section.hero-section {
    padding-top: 89px;
  }
  .hero-tagline .badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
  .cookie-consent-banner {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .content-grid,
  .hub-grid,
  .clinic-details {
    gap: 16px;
  }
  .content-card,
  .hub-card {
    padding: 22px;
  }
  .cta-band,
  .contact-expectation {
    padding: 24px;
  }
  .cta-band h2,
  .contact-expectation h2,
  .bio-actions h2 {
    font-size: 1.6rem;
  }
  .site-footer .footer-grid {
    text-align: left;
  }
  .first-contact-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  .first-contact-steps li > span {
    width: 40px;
    height: 40px;
  }
  .story-row {
    gap: 24px;
  }
  .legal-breadcrumb {
    flex-wrap: wrap;
  }
}
@media (max-width: 360px) {
  .header-logo-img {
    width: 125px;
  }
  .floating-header {
    padding-inline: 10px;
  }
  .hero-tagline .badge {
    font-size: 0.72rem;
  }
  .hero-title-tagline {
    font-size: 2.5rem;
  }
  .page-shell {
    padding-inline: 16px;
  }
  .legal-card-content {
    padding: 24px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.floating-header {
  line-height: 1.5;
}
.site-footer p,
.site-footer a,
.site-footer svg,
.site-footer .footer-lgpd-text {
  color: var(--brand-ink);
}
.legal-meta {
  gap: 0.5rem;
}
.legal-main .legal-card-content {
  box-shadow: none;
}
.legal-section h3,
.hub-card span {
  color: var(--brand-wine);
}
@media (max-width: 768px) {
  .hero-section,
  .section.hero-section {
    padding-top: 79px;
  }
  .legal-main {
    padding-top: 92px;
  }
  .legal-meta {
    column-gap: 0.5rem;
    row-gap: 0.25rem;
  }
}
.site-footer .footer-contact-items span,
.site-footer .footer-medical-warning strong {
  color: var(--brand-ink);
}
.contact-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--brand-wine);
}
.testimonial-dot,
.testimonial-dot.active {
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  background: transparent;
  border: 0;
  position: relative;
}
.testimonial-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--brand-rose);
}
.testimonial-dot.active::after {
  background: var(--brand-wine);
}
.testimonials-dots {
  gap: 4px;
}
.site-footer .footer-title {
  color: var(--brand-ink);
  letter-spacing: 0;
}
.site-footer .footer-logo {
  filter: none;
}
.cookie-text h2 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--brand-wine);
}
@media (max-width: 768px) {
  .cookie-text h2 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }
}
.cookie-consent-banner {
  transition: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--brand-paper);
}
.story-copy .section-number {
  color: var(--brand-wine);
}
.page-shell .bio-actions .eyebrow {
  color: var(--brand-yellow);
}
.page-shell .contact-expectation .eyebrow {
  color: var(--brand-yellow);
}
.clinic-details .detail-number,
.detail-number {
  color: var(--brand-wine);
}
.cookie-status-badge.rejected {
  color: var(--brand-ink);
  background: var(--brand-yellow);
  border-color: var(--brand-wine);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--brand-paper);
  color: var(--brand-ink);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.page-shell .hero > div {
  min-width: 0;
}
.service-landing {
  --lp-muted: var(--brand-ink);
  --lp-border: var(--brand-rose);
}
.page-shell .cta-band p {
  color: var(--brand-paper);
}
.cookie-status-badge.accepted,
.cookie-status-badge.pending {
  color: var(--brand-ink);
  background: var(--brand-yellow);
  border-color: var(--brand-rose);
}
.page-shell p a,
.legal-section p a,
.legal-section li a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
@media (max-width: 360px) {
  .service-landing .hero h1 {
    font-size: 1.875rem;
  }
}
@media (max-width: 768px) {
  .about-content > .btn {
    order: 6;
    align-self: center;
    margin-top: 0.25rem;
  }
  .about-media {
    order: 5;
  }
}

/* ==========================================================================
   Páginas de serviço (landing pages) — escopo .tpl-servico
   ========================================================================== */
/* Service pages share an editorial rhythm; rules stay inside their main. */
:where(.tpl-servico) .page-shell.service-landing {
  --lp-border: color-mix(in srgb, var(--brand-wine) 19%, var(--brand-paper));
  --lp-muted: var(--brand-ink);
  --lp-surface: color-mix(in srgb, var(--brand-paper) 55%, var(--color-white));
  --lp-rose-surface: color-mix(in srgb, var(--brand-rose) 19%, var(--brand-paper));
  --lp-accent: var(--color-ocre-dourado);
  --lp-white: var(--color-white);
  --lp-shadow: 0 20px 48px color-mix(in srgb, var(--brand-wine) 9%, transparent);
  --lp-section-gap: clamp(3rem, 6vw, 5.5rem);
  padding-top: 124px;
  padding-bottom: 72px;
}
:where(.tpl-servico) .service-landing .lp-breadcrumb {
  margin-bottom: 24px;
}
:where(.tpl-servico) .service-landing .crumbs {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--lp-muted);
}
:where(.tpl-servico) .service-landing .crumbs a {
  text-decoration: none;
}
:where(.tpl-servico) .service-landing .crumbs a:hover {
  text-decoration: underline;
}
:where(.tpl-servico) .page-shell.service-landing .eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
}
:where(.tpl-servico) .page-shell.service-landing .hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: 24px 0 0;
  margin-bottom: var(--lp-section-gap);
}
:where(.tpl-servico) .service-landing .lp-hero-copy {
  min-width: 0;
}
:where(.tpl-servico) .page-shell.service-landing .hero h1 {
  font-size: clamp(2.7rem, 3.8vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 1.35rem;
  max-width: 13.5em;
  overflow-wrap: normal;
  text-wrap: balance;
}
:where(.tpl-servico) .page-shell.service-landing .hero .intro {
  max-width: 34em;
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 1.6rem;
}
:where(.tpl-servico) .service-landing .lp-service-meta {
  border-left: 3px solid var(--lp-accent);
  padding-left: 16px;
  margin-bottom: 1.65rem;
}
:where(.tpl-servico) .page-shell.service-landing .lp-credentials {
  font-size: 0.925rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}
:where(.tpl-servico) .page-shell.service-landing .lp-format {
  font-size: 0.925rem;
  margin: 0;
}
:where(.tpl-servico) .page-shell.service-landing .lp-caption {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--lp-muted);
  max-width: 36em;
  margin: 0.85rem 0 0;
}
:where(.tpl-servico) .page-shell.service-landing .hero .illustration {
  width: 100%;
  min-height: 0;
  padding: 12px;
  background: var(--lp-rose-surface);
  border: 1px solid var(--lp-border);
  border-radius: 24px 80px 24px 80px;
  overflow: hidden;
  box-shadow: var(--lp-shadow);
}
:where(.tpl-servico) .page-shell.service-landing .hero .illustration img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px 70px 16px 70px;
}
:where(.tpl-servico) .page-shell.service-landing .cta {
  display: inline-flex;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid var(--color-whatsapp);
  background: var(--color-whatsapp);
  color: var(--lp-white) !important;
  border-radius: var(--radius-pill);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
:where(.tpl-servico) .page-shell.service-landing .cta:hover {
  background: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
}
:where(.tpl-servico) .service-landing .cta:focus-visible {
  outline: 3px solid var(--brand-wine);
  outline-offset: 5px;
}
:where(.tpl-servico) .service-landing .lp-section-heading {
  margin-bottom: 30px;
}
:where(.tpl-servico) .service-landing .lp-section-heading h2 {
  font-size: clamp(2rem, 2.7vw, 2.65rem);
  line-height: 1.2;
  margin: 0;
}
:where(.tpl-servico) .service-landing .lp-section-heading .eyebrow {
  margin-bottom: 0.5rem;
}
:where(.tpl-servico) .service-landing .lp-overview {
  margin: 0 0 var(--lp-section-gap);
}
:where(.tpl-servico) .service-landing .lp-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
:where(.tpl-servico) .service-landing .lp-overview-item {
  min-width: 0;
  border-top: 1px solid var(--lp-border);
  padding-top: 23px;
}
:where(.tpl-servico) .service-landing .lp-topic-number {
  display: block;
  color: var(--brand-wine);
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 17px;
}
:where(.tpl-servico) .service-landing .lp-overview-item h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 14px;
  text-wrap: balance;
}
:where(.tpl-servico) .page-shell.service-landing .lp-overview-item p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
:where(.tpl-servico) .service-landing .lp-perspective {
  margin-bottom: 36px;
}
:where(.tpl-servico) .service-landing .lp-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
  padding: 40px;
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  background: var(--lp-rose-surface);
}
:where(.tpl-servico) .service-landing .lp-statement h2 {
  font-size: clamp(2.25rem, 3vw, 2.8rem);
  line-height: 1.15;
  max-width: 7em;
  margin: 0;
}
:where(.tpl-servico) .page-shell.service-landing .lp-statement p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
:where(.tpl-servico) .page-shell.service-landing .contact-guide {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 0 var(--lp-section-gap);
  padding: 28px 32px;
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  background: var(--lp-surface);
}
:where(.tpl-servico) .service-landing .lp-professional-portrait {
  width: 116px;
  height: 144px;
  overflow: hidden;
  align-self: end;
  background: var(--brand-yellow);
  border-radius: 64px 64px 12px 12px;
}
:where(.tpl-servico) .service-landing .lp-professional-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
:where(.tpl-servico) .service-landing .lp-professional-copy {
  min-width: 0;
}
:where(.tpl-servico) .page-shell.service-landing .contact-guide .eyebrow {
  margin-bottom: 0.4rem;
}
:where(.tpl-servico) .page-shell.service-landing .contact-guide h2 {
  font-size: 1.65rem;
  line-height: 1.3;
  margin: 0 0 0.7rem;
}
:where(.tpl-servico) .page-shell.service-landing .contact-guide p:not(.eyebrow) {
  font-size: 0.925rem;
  line-height: 1.75;
  margin: 0 0 0.55rem;
}
:where(.tpl-servico) .page-shell.service-landing .contact-guide p:last-child {
  margin-bottom: 0;
}
:where(.tpl-servico) .service-landing .lp-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand-wine);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
:where(.tpl-servico) .page-shell.service-landing .lp-next {
  margin: 0 0 var(--lp-section-gap);
  padding: 40px;
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  background: var(--brand-yellow);
}
:where(.tpl-servico) .service-landing .lp-next .lp-section-heading {
  max-width: 40em;
}
:where(.tpl-servico) .service-landing .lp-next ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
:where(.tpl-servico) .service-landing .lp-next li {
  padding: 0;
  min-width: 0;
}
:where(.tpl-servico) .service-landing .lp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lp-border);
  border-radius: 50%;
  background: var(--brand-paper);
  color: var(--brand-wine);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}
:where(.tpl-servico) .service-landing .lp-next h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 12px;
}
:where(.tpl-servico) .page-shell.service-landing .lp-next p:not(.eyebrow) {
  font-size: 0.975rem;
  line-height: 1.8;
  margin: 0;
}
:where(.tpl-servico) .page-shell.service-landing .lp-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr);
  gap: 48px;
  margin: 0 0 var(--lp-section-gap);
}
:where(.tpl-servico) .service-landing .lp-faq .lp-section-heading {
  margin-bottom: 0;
}
:where(.tpl-servico) .service-landing .lp-faq-list {
  border-top: 1px solid var(--lp-border);
  min-width: 0;
}
:where(.tpl-servico) .service-landing .lp-faq details {
  border-bottom: 1px solid var(--lp-border);
  padding: 0;
}
:where(.tpl-servico) .service-landing .lp-faq summary {
  position: relative;
  display: block;
  padding: 22px 36px 22px 0;
  min-height: 64px;
  color: var(--brand-ink);
  font-size: 1.025rem;
  font-weight: 700;
  line-height: 1.65;
  list-style: none;
  cursor: pointer;
}
:where(.tpl-servico) .service-landing .lp-faq summary::-webkit-details-marker {
  display: none;
}
:where(.tpl-servico) .service-landing .lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 22px;
  color: var(--brand-wine);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
:where(.tpl-servico) .service-landing .lp-faq details[open] summary::after {
  content: "\2212";
}
:where(.tpl-servico) .service-landing .lp-faq details[open] summary {
  color: var(--brand-wine);
}
:where(.tpl-servico) .service-landing .lp-faq summary:hover {
  color: var(--brand-wine);
}
:where(.tpl-servico) .service-landing .lp-faq summary:focus-visible {
  outline: 3px solid var(--brand-wine);
  outline-offset: 3px;
  border-radius: 4px;
}
:where(.tpl-servico) .page-shell.service-landing .lp-faq p {
  max-width: 62ch;
  padding: 0 24px 22px 0;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
:where(.tpl-servico) .service-landing .lp-faq-answer p + p {
  margin-top: 0.75rem;
}
:where(.tpl-servico) .service-landing .lp-faq-answer {
  padding-bottom: 22px;
}
:where(.tpl-servico) .page-shell.service-landing .lp-faq-answer p {
  padding-bottom: 0;
}
:where(.tpl-servico) .page-shell.service-landing .cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
  padding: 44px 40px;
  border-radius: 24px;
  background: var(--brand-wine);
}
:where(.tpl-servico) .service-landing .cta-band > div {
  min-width: 0;
  max-width: 36em;
}
:where(.tpl-servico) .page-shell.service-landing .cta-band h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  line-height: 1.2;
  color: var(--lp-white);
  margin: 0 0 0.8rem;
}
:where(.tpl-servico) .page-shell.service-landing .cta-band p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--lp-white);
  margin: 0;
}
:where(.tpl-servico) .page-shell.service-landing .cta-band .cta {
  flex-shrink: 0;
}
:where(.tpl-servico) .service-landing .cta-band .cta:focus-visible {
  outline-color: var(--brand-yellow);
}
:where(.tpl-servico) .page-shell.service-landing .emergency-note {
  max-width: 62em;
  margin: 24px auto 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-ink);
  font-size: 0.875rem;
  line-height: 1.75;
  text-align: center;
}
:where(.tpl-servico) .service-landing .emergency-note strong {
  margin-bottom: 0.25rem;
}
@media (max-width: 1050px) {
  :where(.tpl-servico) .page-shell.service-landing {
    --lp-section-gap: 3.5rem;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    text-align: center;
  }
  :where(.tpl-servico) .service-landing .lp-hero-copy {
    max-width: 46rem;
    margin-inline: auto;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero h1 {
    font-size: clamp(2.45rem, 5vw, 3.35rem);
    max-width: 15em;
    margin-inline: auto;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero .intro,
  :where(.tpl-servico) .page-shell.service-landing .lp-caption {
    margin-inline: auto;
  }
  :where(.tpl-servico) .service-landing .lp-service-meta {
    border: 0;
    padding-left: 0;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero .illustration {
    width: min(100%, 680px);
    margin-inline: auto;
  }
  :where(.tpl-servico) .service-landing .lp-overview,
  :where(.tpl-servico) .service-landing .lp-perspective,
  :where(.tpl-servico) .service-landing .contact-guide,
  :where(.tpl-servico) .service-landing .lp-next,
  :where(.tpl-servico) .service-landing .lp-faq,
  :where(.tpl-servico) .service-landing .cta-band {
    text-align: center;
  }
  :where(.tpl-servico) .service-landing .lp-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  :where(.tpl-servico) .service-landing .lp-overview-item {
    width: 100%;
    max-width: 44rem;
    margin-inline: auto;
  }
  :where(.tpl-servico) .service-landing .lp-overview-item h3 {
    margin-inline: auto;
  }
  :where(.tpl-servico) .service-landing .lp-statement {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  :where(.tpl-servico) .service-landing .lp-statement h2 {
    max-width: none;
  }
  :where(.tpl-servico) .service-landing .lp-statement p {
    max-width: 44rem;
    margin-inline: auto;
  }
  :where(.tpl-servico) .page-shell.service-landing .contact-guide {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 20px;
  }
  :where(.tpl-servico) .service-landing .lp-professional-copy {
    order: 1;
    max-width: 44rem;
  }
  :where(.tpl-servico) .service-landing .lp-professional-portrait {
    order: 2;
  }
  :where(.tpl-servico) .service-landing .contact-guide > a {
    order: 3;
  }
  :where(.tpl-servico) .service-landing .lp-next .lp-section-heading {
    margin-inline: auto;
  }
  :where(.tpl-servico) .service-landing .lp-next ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  :where(.tpl-servico) .service-landing .lp-next li {
    max-width: 40rem;
    margin-inline: auto;
  }
  :where(.tpl-servico) .page-shell.service-landing .lp-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  :where(.tpl-servico) .service-landing .lp-faq-list {
    width: 100%;
    max-width: 48rem;
    margin-inline: auto;
  }
  :where(.tpl-servico) .service-landing .lp-faq summary {
    padding-left: 32px;
  }
  :where(.tpl-servico) .page-shell.service-landing .lp-faq p {
    padding-left: 20px;
    padding-right: 20px;
    margin-inline: auto;
  }
  :where(.tpl-servico) .page-shell.service-landing .cta-band {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  :where(.tpl-servico) .page-shell.service-landing {
    padding: 100px 20px 40px;
    --lp-section-gap: 3rem;
  }
  :where(.tpl-servico) .service-landing .lp-breadcrumb {
    margin-bottom: 18px;
  }
  :where(.tpl-servico) .page-shell.service-landing .crumbs {
    font-size: 0.8rem;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero {
    padding: 14px 0 0;
    gap: 30px;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero h1 {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
    line-height: 1.16;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero .intro {
    font-size: 1rem;
    line-height: 1.8;
  }
  :where(.tpl-servico) .page-shell.service-landing .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero .illustration {
    padding: 8px;
    border-radius: 18px 48px 18px 48px;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero .illustration img {
    border-radius: 12px 40px 12px 40px;
  }
  :where(.tpl-servico) .service-landing .lp-section-heading {
    margin-bottom: 24px;
  }
  :where(.tpl-servico) .service-landing .lp-section-heading h2 {
    font-size: 2rem;
  }
  :where(.tpl-servico) .service-landing .lp-overview-item h3 {
    font-size: 1.45rem;
  }
  :where(.tpl-servico) .service-landing .lp-statement,
  :where(.tpl-servico) .page-shell.service-landing .contact-guide,
  :where(.tpl-servico) .page-shell.service-landing .lp-next,
  :where(.tpl-servico) .page-shell.service-landing .cta-band {
    padding: 28px 22px;
    border-radius: 20px;
  }
  :where(.tpl-servico) .service-landing .lp-statement h2 {
    font-size: 2.25rem;
  }
  :where(.tpl-servico) .service-landing .lp-perspective {
    margin-bottom: 24px;
  }
  :where(.tpl-servico) .page-shell.service-landing .contact-guide h2 {
    font-size: 1.6rem;
  }
  :where(.tpl-servico) .service-landing .lp-next h3 {
    font-size: 1.35rem;
  }
  :where(.tpl-servico) .service-landing .lp-faq summary {
    font-size: 1rem;
    padding: 20px 30px;
  }
  :where(.tpl-servico) .service-landing .lp-faq summary::after {
    top: 22px;
  }
  :where(.tpl-servico) .page-shell.service-landing .lp-faq p {
    padding-inline: 8px;
  }
  :where(.tpl-servico) .page-shell.service-landing .cta-band h2 {
    font-size: 1.9rem;
  }
  :where(.tpl-servico) .page-shell.service-landing .cta {
    font-size: 0.925rem;
    padding-inline: 18px;
  }
  :where(.tpl-servico) .page-shell.service-landing .cta-band .cta {
    width: 100%;
    max-width: 24rem;
  }
  :where(.tpl-servico) .page-shell.service-landing .emergency-note {
    padding-inline: 4px;
  }
}
@media (max-width: 360px) {
  :where(.tpl-servico) .page-shell.service-landing {
    padding-inline: 16px;
  }
  :where(.tpl-servico) .page-shell.service-landing .hero h1 {
    font-size: 1.875rem;
  }
  :where(.tpl-servico) .service-landing .lp-statement,
  :where(.tpl-servico) .page-shell.service-landing .contact-guide,
  :where(.tpl-servico) .page-shell.service-landing .lp-next,
  :where(.tpl-servico) .page-shell.service-landing .cta-band {
    padding-inline: 18px;
  }
  :where(.tpl-servico) .page-shell.service-landing .cta {
    padding-inline: 13px;
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.tpl-servico) .page-shell.service-landing a {
    transition: none;
  }
}

/* ==========================================================================
   Harmonia visual: ajustes de espaçamento e tipografia
   ========================================================================== */
/* Ajustes visuais locais: escala, alinhamento e chamadas de contato. */
:root {
  --color-whatsapp: #075e54;
  --color-whatsapp-hover: #064c44;
  --whats: var(--color-whatsapp);
  --whatsapp: var(--color-whatsapp);
  --booking-whatsapp: var(--color-whatsapp);
  --contact-white: #fff;
}

.header-inner {
  gap: 1rem;
  flex-wrap: nowrap;
}
.header-nav-list {
  gap: clamp(0.8rem, 1.2vw, 1.1rem);
}
.header-nav-link {
  white-space: nowrap;
}
.btn-whatsapp-header {
  margin-left: auto;
}
.header-toggle-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.header-brand {
  min-width: 0;
}

.btn-whatsapp-header,
.mobile-menu-dropdown .mobile-whatsapp-cta,
#hero-cta-btn,
.whatsapp-float {
  color: var(--contact-white) !important;
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
}
.btn-whatsapp-header:hover,
.mobile-menu-dropdown .mobile-whatsapp-cta:hover,
#hero-cta-btn:hover,
.whatsapp-float:hover {
  background: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
}
.btn-whatsapp-header svg,
#hero-cta-btn svg,
.whatsapp-float svg {
  color: var(--contact-white);
  fill: currentColor;
  flex-shrink: 0;
}
.btn,
.cta,
.button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}
.btn-text-desktop,
.btn-text-mobile {
  min-width: 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}
.hero-content {
  min-width: 0;
}
.hero-tagline {
  margin-bottom: 1.25rem;
}
.hero-tagline .badge {
  font-size: 0.85rem;
  line-height: 1.4;
}
.hero-title {
  width: 100%;
  max-width: 36rem;
  margin-bottom: 1.5rem;
  overflow-wrap: normal;
}
.hero-title-service {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}
.hero-title-tagline {
  font-size: clamp(3rem, 4.7vw, 4.4rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero-text {
  max-width: 34rem;
  font-size: 1.075rem;
  line-height: 1.75;
  text-align: left;
  margin-bottom: 1.75rem;
}
.hero-cta {
  max-width: 100%;
}
.hero-cta .btn {
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
}
.first-contact-intro h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}
#btn-cookie-page-reset {
  background: var(--brand-yellow) !important;
  color: var(--color-preto-suave);
}

@media (max-width: 1150px) {
  .header-nav {
    display: none;
  }
  .header-toggle-btn {
    display: inline-flex;
    order: 2;
  }
  .header-inner > .btn-whatsapp-header {
    order: 3;
    margin-left: 0;
  }
  .header-brand {
    margin-right: auto;
  }
  .mobile-menu-dropdown {
    text-align: center;
  }
}

@media (max-width: 1050px) {
  .page-shell .hero,
  .page-shell .bio-header,
  .clinic-hero,
  .contact-guide,
  .cta-band,
  .contact-expectation,
  .map-copy {
    text-align: center;
  }
  .page-shell .hero .intro {
    margin-inline: auto;
  }
  .legal-section p,
  .legal-section li,
  .legal-callout p,
  .cookie-management-panel > p {
    text-align: center;
  }
  .legal-header {
    text-align: center;
  }
  .legal-breadcrumb,
  .legal-meta,
  .legal-callout h3,
  .cookie-panel-actions {
    justify-content: center;
  }
  .cookie-status-display {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
    order: 1;
  }
  .hero-title,
  .hero-text {
    margin-inline: auto;
  }
  .hero-text {
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-media {
    order: 2;
  }
  .hero-floating-badge {
    text-align: center;
  }
  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
  }
  .about-media {
    order: 2;
    width: 100%;
    margin-top: 0;
  }
  .about-content > .section-tag {
    align-self: center;
  }
  .about-title,
  .about-subtitle,
  .about-paragraphs,
  .about-paragraphs p {
    text-align: center;
  }
  .about-content > .btn {
    align-self: center;
    order: initial;
  }
  .about-paragraphs {
    max-width: 44rem;
  }
  .first-contact-shell {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 2rem;
  }
  .first-contact-intro h2,
  .first-contact-intro p {
    margin-inline: auto;
  }
  .first-contact-steps li {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .section-header,
  .section-subtitle,
  .clinic-info,
  .faq-question,
  .faq-panel p,
  .site-footer .footer-grid,
  .site-footer p,
  .site-footer .footer-links,
  .cookie-text,
  .cookie-text p {
    text-align: center;
  }
  .authority-card {
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    margin-inline: auto;
  }
  .faq-question {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .section.hero-section {
    padding-top: 6.75rem;
  }
  .btn-whatsapp-header {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .hero-title-tagline {
    font-size: clamp(2.75rem, 9vw, 3.6rem);
  }
  .hero-title-service {
    font-size: 1.25rem;
  }
  .hero-title {
    max-width: 32rem;
  }
  .hero-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  .hero-cta {
    width: 100%;
    max-width: 26rem;
  }
  .hero-cta .btn {
    width: 100%;
    padding-inline: 1rem;
  }
  .whatsapp-float {
    max-width: calc(100vw - 2rem);
    min-width: 0;
    padding-inline: 1rem;
    gap: 0.5rem;
  }
  .whatsapp-float-label {
    font-size: 0.875rem;
    line-height: 1.35;
    text-align: center;
  }
}

/* ==========================================================================
   Estrutura compartilhada: cabeçalho, rodapé e banner em todas as páginas
   ========================================================================== */
/* Componentes comuns derivados da home: navegação, contato e rodapé. */
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.header-brand {
  grid-column: 1;
  justify-self: start;
  margin: 0;
}
.header-nav {
  grid-column: 2;
  justify-self: center;
}
.header-inner > .btn-whatsapp-header {
  grid-column: 3;
  justify-self: end;
  margin: 0;
}
.header-nav-list {
  justify-content: center;
}
.header-toggle-btn {
  grid-column: 3;
  justify-self: end;
}
.floating-header,
.floating-header.scrolled,
.mobile-menu-dropdown {
  background: var(--brand-paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-floating-badge {
  background: var(--contact-white, #fff);
  backdrop-filter: none;
}

.mobile-menu-dropdown {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  max-height: min(75vh, calc(100dvh - 7rem));
  overflow-y: auto;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}
.mobile-menu-dropdown.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

a.contact-action,
a.contact-action:link,
a.contact-action:visited,
a.contact-action:focus-visible,
a.contact-action:active {
  color: var(--contact-white, #fff) !important;
  background: var(--color-whatsapp, #075e54) !important;
  border-color: var(--color-whatsapp, #075e54) !important;
  text-decoration: none;
}
a.contact-action:hover {
  color: var(--contact-white, #fff) !important;
  background: var(--color-whatsapp-hover, #064c44) !important;
  border-color: var(--color-whatsapp-hover, #064c44) !important;
}
a.contact-action :where(span, svg) {
  color: inherit !important;
}
a.contact-action svg:not([fill="none"]) {
  fill: currentColor;
}
.contact-action {
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.mobile-menu-dropdown .contact-action:hover {
  padding-left: 1rem;
}

.site-footer .footer-grid,
.site-footer .footer-col,
.site-footer p,
.site-footer li,
.site-footer .footer-links,
.site-footer .footer-bottom {
  text-align: left;
}
.site-footer .footer-col {
  min-width: 0;
  align-items: stretch;
}
.site-footer .footer-contact-link {
  justify-content: flex-start;
  text-align: left;
}
.site-footer .footer-contact-link span {
  overflow-wrap: anywhere;
}
.site-footer .footer-logo {
  margin: 0;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.site-footer .footer-bottom {
  align-items: flex-start;
}
.site-footer .footer-links a:hover {
  padding-left: 0;
}
.site-footer .footer-contact-link:hover {
  transform: none;
}
.contact-cards-list .contact-card-title {
  text-align: left;
}
.contact-cards-list .contact-item {
  justify-content: flex-start;
}
.contact-cards-list .contact-details,
.contact-cards-list .contact-details p {
  text-align: left;
}

.faq-panel {
  transition: max-height 0.25s ease;
}
.header-logo-img:hover,
.about-image-wrapper:hover .about-img,
.hero-image-wrapper:hover .hero-img {
  transform: none;
}

@media (max-width: 1150px) {
  .header-inner {
    display: flex;
    gap: 0.75rem;
  }
  .header-brand {
    margin-right: auto;
  }
  .header-toggle-btn {
    order: 2;
  }
  .header-inner > .btn-whatsapp-header {
    order: 3;
    margin: 0;
  }
}
@media (max-width: 768px) {
  .site-footer .footer-bottom {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Título do painel de cookies: h2 na hierarquia, com a aparência do antigo h3 */
.cookie-management-panel .cookie-panel-title {
  font-size: 1.17em;
  line-height: 1.25;
  margin: 0;
}

/* Destaque dos termos: h3 dentro de .legal-section mantém a aparência do antigo h4 */
.legal-section .legal-callout h3 {
  margin-top: 0;
  color: var(--color-bordo-intenso);
}

/* ==========================================================================
   Aviso de saída (popup "Não vá ainda!")
   ========================================================================== */
.exit-popup {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 2.25rem 2rem 1.75rem;
  border: 1px solid var(--brand-rose);
  border-radius: var(--radius-lg);
  background: var(--brand-paper);
  color: var(--brand-ink);
  box-shadow: var(--shadow-modal);
  font-family: var(--font-body);
  text-align: center;
}
.exit-popup::backdrop {
  background: rgba(26, 26, 26, 0.55);
}
.exit-popup[open] {
  animation: exit-popup-in 0.25s ease-out;
}
.exit-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--brand-wine);
  cursor: pointer;
}
.exit-popup-close:hover {
  background: var(--color-bordo-light);
}
.exit-popup-close svg {
  width: 1.25rem;
  height: 1.25rem;
}
.exit-popup-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--brand-wine);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.exit-popup-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 6vw, 2rem);
  color: var(--brand-wine);
}
.exit-popup-text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}
.exit-popup-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.exit-popup-actions .btn {
  width: 100%;
}
.exit-popup-dismiss {
  padding: 0.5rem 1rem;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.exit-popup-note {
  margin: 1.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
@keyframes exit-popup-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .exit-popup[open] {
    animation: none;
  }
}

/* Nomes técnicos de cookies nas páginas legais */
.legal-section code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--color-bordo-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
