html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Evita que o topo da seção fique escondido atrás do menu fixo */
}

/* ========================================== */
/* VARIÁVEIS E RESET GLOBAL                   */
/* ========================================== */
:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --accent: #0284c7;
  --accent-light: #e0f2fe;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd5b;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Playfair Display', Georgia, serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

/* ========================================== */
/* CABEÇALHO / HEADER                         */
/* ========================================== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 14px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.btn-header {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
}

/* ========================================== */
/* HERO SECTION                               */
/* ========================================== */
.hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 2.3rem;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.feature-item {
  background: #ffffff;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

.feature-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-whatsapp-hero {
  background: #e6f9ed;
  color: #0d8339;
  border: 1px solid #a3e8bb;
}

.btn-whatsapp-hero:hover {
  background: #d0f4dc;
}

.badge-consultorio {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.badge-consultorio h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.badge-consultorio p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge-price {
  margin: 18px 0;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 8px;
}

.price-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.price-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.badge-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ========================================== */
/* BARRA DE AUTORIDADE                        */
/* ========================================== */
.authority-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 30px 0;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.auth-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 4px;
}

.auth-text {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ========================================== */
/* MODALIDADES E VALORES                      */
/* ========================================== */
.modalidades {
  padding: 70px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-title h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.card-featured {
  border: 2px solid var(--accent);
  background: #f0f9ff;
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.card-price .currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-price .val {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.card-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-main);
  flex-grow: 1;
}

.btn-block {
  width: 100%;
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
}

.btn-outline:hover {
  background: var(--bg-light);
}

.note-particular {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ========================================== */
/* CONDIÇÕES ATENDIDAS                        */
/* ========================================== */
.condicoes {
  padding: 70px 0;
  background: var(--bg-light);
}

.condicoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.condicao-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 22px;
  border-radius: 8px;
}

.condicao-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.condicao-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================== */
/* COMO FUNCIONA                              */
/* ========================================== */
.como-funciona {
  padding: 70px 0;
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
  padding: 16px;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================== */
/* SOBRE O MÉDICO                             */
/* ========================================== */
.sobre {
  padding: 70px 0;
  background: var(--bg-light);
}

.sobre-content {
  max-width: 800px;
  margin: 0 auto;
}

.sobre h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.sobre-p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1rem;
}

.sobre-highlights {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* ========================================== */
/* MINI-AGENDADOR                             */
/* ========================================== */
.agendamento-section {
  padding: 70px 0;
  background: #fff;
}

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-header h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.agendador-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select {
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.btn-whatsapp-submit {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  margin-top: 10px;
}

.btn-whatsapp-submit:hover {
  background: var(--whatsapp-hover);
}


/* ========================================== */
/* REFINAMENTO EDITORIAL - REFERÊNCIA VISUAL  */
/* ========================================== */
:root {
  --primary: #315d52;
  --primary-dark: #1f4038;
  --accent: #9db7a6;
  --accent-light: #e9f0eb;
  --text-main: #26352f;
  --text-muted: #66736d;
  --bg-light: #f6f7f3;
  --bg-white: #fffefa;
  --border-color: #e4e8e2;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-title: 'Cormorant Garamond', Georgia, serif;
}

body {
  color: var(--text-main);
  background: var(--bg-white);
  letter-spacing: -0.01em;
}

.container { max-width: 1240px; }

/* Header mais leve e editorial */
.header {
  background: rgba(255, 254, 250, 0.94);
  border-bottom: 1px solid rgba(49, 93, 82, 0.10);
  padding: 17px 0;
}
.logo-name { font-size: 1.32rem; letter-spacing: -0.035em; }
.logo-subtitle { letter-spacing: 0.035em; text-transform: uppercase; font-size: 0.64rem; }
.nav { gap: 26px; }
.nav a { font-size: 0.84rem; color: #52635c; }
.btn-header { background: var(--primary); border-radius: 2px; padding: 11px 18px; }

/* Primeira dobra */
.hero {
  min-height: 680px;
  padding: 64px 0 72px;
  background: #f1f3ee;
  overflow: hidden;
}
.hero-grid {
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.hero-content { position: relative; z-index: 2; padding: 18px 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  color: #54766a;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  font-weight: 700;
}
.tag-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #86a992; }
.hero-title,
.hero h1 {
  max-width: 630px;
  margin: 23px 0 20px;
  color: #253b32;
  font-family: var(--font-title);
  font-size: clamp(3.15rem, 5.2vw, 5rem);
  line-height: 0.99;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.hero-title em { color: #668777; font-weight: 400; }
.hero-desc { max-width: 510px; margin: 0 0 25px; color: #66736d; font-size: 0.96rem; line-height: 1.85; }
.hero-desc strong { color: #36584b; font-weight: 700; }
.hero-features { display: grid; gap: 14px; margin: 25px 0 28px; }
.hero .feature-item { display: grid; grid-template-columns: 16px 1fr; gap: 11px; align-items: start; }
.feature-bullet { color: #8cae98; font-size: 1.5rem; line-height: 1; }
.hero .feature-item strong { display: block; color: #354e43; font-size: 0.85rem; font-weight: 700; }
.hero .feature-item span:not(.feature-bullet) { display: block; margin-top: 2px; color: #77847d; font-size: 0.75rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero .btn { border-radius: 2px; padding: 13px 21px; font-size: 0.78rem; letter-spacing: 0.015em; }
.hero .btn-primary { background: #315d52; box-shadow: none; }
.hero .btn-primary:hover { background: #24483e; transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; color: #36584b; background: transparent; border: 1px solid #b8c6bb; text-decoration: none; font-weight: 600; }
.btn-secondary:hover { background: #e7ece6; }
.hero-meta { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 8px; color: #849087; font-size: 0.67rem; }
.meta-sep { color: #b8c2ba; }
.hero-card { display: none; }
.hero-visual { min-width: 0; }
.hero-image-wrap {
  position: relative;
  width: 100%;
  height: clamp(430px, 43vw, 590px);
  overflow: visible;
}
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(30, 56, 45, 0.12);
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(90, 124, 104, 0.28);
  z-index: -1;
}
.hero-floating-card {
  position: absolute;
  left: -35px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 285px;
  padding: 17px 20px;
  background: #fffefa;
  box-shadow: 0 15px 45px rgba(36, 57, 47, 0.14);
}
.floating-badge { display: flex; align-items: center; gap: 10px; }
.floating-num { font-family: var(--font-title); font-size: 2.5rem; line-height: 1; color: #557966; }
.floating-label { max-width: 72px; color: #77847c; font-size: 0.64rem; line-height: 1.35; }
.floating-divider { height: 35px; width: 1px; background: #e0e6df; }
.floating-detail strong, .floating-detail span { display: block; }
.floating-detail strong { color: #344a40; font-size: 0.75rem; }
.floating-detail span { color: #7b877e; font-size: 0.68rem; margin-top: 3px; }

/* Autoridade: manter conteúdo, suavizar visual */
.authority-bar { background: #fffefa; border-top: 1px solid #e8ebe5; border-bottom: 1px solid #e8ebe5; }
.auth-num { color: #5f8270; font-family: var(--font-title); }

/* Títulos e botões consistentes com a direção */
h2, .section-title h2 { font-family: var(--font-title); letter-spacing: -0.025em; font-weight: 500; }
.btn, .btn-primary { border-radius: 2px; }

/* Seção Sobre com retrato editorial */
.sobre { background: #f1f3ee; padding: 100px 0; }
.sobre-grid { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(38px, 7vw, 100px); align-items: center; }
.sobre-visual { min-width: 0; }
.sobre-image-frame { position: relative; padding: 0 22px 22px 0; }
.sobre-image-frame::after { content: ''; position: absolute; z-index: 0; left: 22px; right: 0; top: 22px; bottom: 0; border: 1px solid #a9bbaa; }
.sobre-img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% center; }
.sobre-caption { position: absolute; z-index: 2; left: -10px; bottom: 38px; display: flex; flex-direction: column; gap: 3px; padding: 13px 17px; background: #fffefa; box-shadow: 0 10px 32px rgba(32, 58, 45, 0.12); }
.sobre-caption-title { color: #314a3e; font-family: var(--font-title); font-size: 1.12rem; }
.sobre-caption-sub { color: #7d8980; font-size: 0.61rem; text-transform: uppercase; letter-spacing: 0.06em; }
.sobre-content h2 { margin: 18px 0 20px; color: #263d33; font-size: clamp(2.3rem, 3.8vw, 3.7rem); line-height: 1.04; }
.sobre-p { color: #69766e; font-size: 0.88rem; line-height: 1.85; margin: 0 0 15px; }
.sobre-p strong { color: #3d5a4c; }
.sobre-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.pillar-card { padding: 13px 12px; background: rgba(255, 254, 250, 0.8); border-top: 2px solid #94ad9a; }
.pillar-label { color: #547665; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pillar-card p { margin-top: 6px; color: #758078; font-size: 0.68rem; line-height: 1.55; }
.sobre-action .btn { display: inline-block; padding: 13px 19px; background: #315d52; color: #fff; text-decoration: none; font-size: 0.76rem; font-weight: 600; }

/* Ajustes gerais nas seções existentes */
.modalidades, .condicoes, .como-funciona, .faq { padding-top: 88px; padding-bottom: 88px; }
.section-title { margin-bottom: 42px; }
.section-title h2 { color: #2e473b; font-size: clamp(2.4rem, 4vw, 3.5rem); }

@media (max-width: 900px) {
  .hero { min-height: 0; padding: 44px 0 58px; }
  .hero-grid { grid-template-columns: 1fr 0.92fr; gap: 30px; }
  .hero-title, .hero h1 { font-size: clamp(2.8rem, 6vw, 4rem); }
  .hero-image-wrap { height: 480px; }
  .hero-floating-card { left: -15px; }
  .sobre-grid { grid-template-columns: 0.8fr 1.2fr; gap: 36px; }
  .sobre-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header { padding: 12px 0; }
  .header-container { gap: 12px; }
  .logo-name { font-size: 1.05rem; }
  .logo-subtitle { font-size: 0.55rem; }
  .nav { gap: 8px; }
  .nav a:not(.btn-header) { display: none; }
  .btn-header { padding: 9px 11px; font-size: 0.68rem !important; }
  .hero { padding: 36px 0 44px; }
  .hero-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .hero-content { padding: 0; }
  .hero-title, .hero h1 { max-width: 520px; margin: 18px 0 15px; font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-desc { font-size: 0.88rem; }
  .hero-features { gap: 12px; margin: 20px 0 23px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { font-size: 0.62rem; }
  .hero-visual { order: -1; }
  .hero-image-wrap { height: min(82vw, 420px); }
  .hero-img { object-position: 66% center; }
  .hero-image-wrap::before { inset: 10px -9px -10px 9px; }
  .hero-floating-card { left: 10px; bottom: 14px; min-width: 0; padding: 11px 13px; gap: 12px; }
  .floating-num { font-size: 2rem; }
  .floating-label { font-size: 0.58rem; }
  .floating-detail strong { font-size: 0.68rem; }
  .floating-detail span { font-size: 0.62rem; }
  .sobre { padding: 64px 0; }
  .sobre-grid { display: flex; flex-direction: column; align-items: stretch; gap: 35px; }
  .sobre-visual { width: min(100%, 440px); margin: 0 auto; }
  .sobre-image-frame { padding: 0 13px 13px 0; }
  .sobre-image-frame::after { left: 13px; top: 13px; }
  .sobre-img { aspect-ratio: 1 / 1.05; }
  .sobre-caption { left: -5px; bottom: 24px; padding: 10px 12px; }
  .sobre-caption-title { font-size: 0.98rem; }
  .sobre-caption-sub { font-size: 0.52rem; }
  .sobre-content h2 { font-size: 2.65rem; }
  .sobre-pillars { grid-template-columns: 1fr; }
  .modalidades, .condicoes, .como-funciona, .faq { padding-top: 62px; padding-bottom: 62px; }
}

/* ========================================== */
/* DIREÇÃO VISUAL 2: MAIS PROFUNDIDADE E CONTRASTE */
/* ========================================== */
:root {
  --ink: #17271f;
  --forest: #18372e;
  --forest-deep: #112a23;
  --sage: #9bb6a4;
  --paper: #f7f8f3;
  --muted-ink: #45574c;
}

body {
  background: #fffefa;
  color: #203128;
}

/* Abertura: gradiente sutil, linhas suaves e texto escuro */
.hero {
  background:
    radial-gradient(ellipse at 10% 8%, rgba(225, 235, 224, .95) 0, rgba(225, 235, 224, 0) 43%),
    linear-gradient(125deg, #f4f6f0 0%, #fffefa 52%, #e8eee8 100%);
}
.hero-title,
.hero h1 { color: #17271f; }
.hero-desc { color: #3e5146; }
.hero .feature-item strong { color: #243d30; }
.hero .feature-item span:not(.feature-bullet) { color: #526258; }
.hero-meta { color: #4f6256; }
.hero-image-wrap::before { border-color: rgba(39, 82, 63, .34); }
.hero-floating-card { border: 1px solid rgba(32, 66, 49, .10); border-radius: 8px; }
.hero-img { border-radius: 8px; }

/* Faixa de credenciais em tom escuro para criar pausa visual */
.authority-bar {
  color: #f5f7f1;
  background: linear-gradient(110deg, #17372e 0%, #254c3e 50%, #18372f 100%);
  border: 0;
}
.authority-grid { padding-top: 23px; padding-bottom: 23px; }
.auth-box { border-right-color: rgba(238, 245, 236, .2); }
.auth-num { color: #d7e5d7; }
.auth-text { color: #edf2eb; }

/* Seção escura de etapas da teleconsulta */
.como-funciona.dark-theme {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f4f6f0;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(111, 151, 124, .24) 0, rgba(111, 151, 124, 0) 36%),
    radial-gradient(ellipse at 0% 100%, rgba(79, 122, 98, .18) 0, rgba(79, 122, 98, 0) 42%),
    linear-gradient(120deg, #132d25 0%, #1d4033 52%, #142f27 100%);
}
.como-funciona.dark-theme::before,
.como-funciona.dark-theme::after {
  content: '';
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(230, 241, 228, .10);
  border-radius: 50%;
  pointer-events: none;
}
.como-funciona.dark-theme::before { width: 430px; height: 430px; right: -180px; top: -200px; }
.como-funciona.dark-theme::after { width: 300px; height: 300px; right: -115px; top: -135px; }
.como-funciona.dark-theme .section-title h2 { color: #f6f7f1; }
.como-funciona.dark-theme .section-title p { color: #d0ddd2; }
.como-funciona.dark-theme .steps-grid { position: relative; z-index: 1; gap: 17px; }
.como-funciona.dark-theme .step {
  position: relative;
  padding: 27px 23px 25px;
  color: #edf3eb;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid rgba(237, 245, 234, .20);
  border-radius: 12px;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 16px 35px rgba(5, 23, 17, .12);
  backdrop-filter: blur(5px);
}
.como-funciona.dark-theme .step-num {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: #163328;
  background: linear-gradient(145deg, #dce9da, #a8c2ae);
  border: 0;
  border-radius: 50%;
  font-weight: 700;
}
.como-funciona.dark-theme .step h3 { margin-top: 18px; color: #fffefa; font-size: 1.02rem; }
.como-funciona.dark-theme .step p { color: #d8e2d8; font-size: .84rem; line-height: 1.75; }

/* Cards mais expressivos, sem prejudicar leitura em fundos claros */
.modalidades { background: linear-gradient(180deg, #fffefa 0%, #f6f8f3 100%); }
.modalidades .section-title h2,
.condicoes .section-title h2,
.faq .section-title h2 { color: #17271f; }
.modalidades .card,
.condicoes .condicao-card,
.faq-item {
  border: 1px solid #dce5dc;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(27, 58, 42, .055);
}
.modalidades .card { background: linear-gradient(155deg, #fffefa, #f8faf6); }
.modalidades .card-featured {
  background: linear-gradient(150deg, #edf4ec 0%, #fffefa 70%);
  border-color: #a9c1ac;
  box-shadow: 0 18px 42px rgba(33, 76, 49, .12);
}
.modalidades .card h3,
.condicoes .condicao-card h4 { color: #203a2c; }
.modalidades .card-sub,
.modalidades .card-benefits,
.condicoes .condicao-card p,
.note-particular { color: #405348; }
.modalidades .btn-primary,
.sobre-action .btn { border-radius: 7px; }
.modalidades .btn-outline { border-radius: 7px; border-color: #315d52; color: #244b39; }
.condicoes { background: #f4f6f1; }
.condicoes .condicao-card {
  background: linear-gradient(145deg, #fffefa, #f8faf6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.condicoes .condicao-card:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(27, 58, 42, .10); }

/* Foto menor na seção Sobre para dar mais espaço ao texto */
.sobre { background: linear-gradient(125deg, #edf1e9 0%, #f8f9f5 54%, #eef2ea 100%); }
.sobre-grid { grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr); gap: clamp(40px, 7vw, 96px); }
.sobre-visual-compact { width: min(100%, 390px); justify-self: center; }
.sobre-image-frame { padding: 0 16px 16px 0; }
.sobre-img { aspect-ratio: 4 / 4.3; max-height: 465px; border-radius: 8px; }
.sobre-image-frame::after { left: 16px; top: 16px; border-radius: 8px; }
.sobre-caption { left: -16px; border: 1px solid #e0e7dd; border-radius: 6px; }
.sobre-content h2 { color: #17271f; }
.sobre-p { color: #3d5045; }
.pillar-card { background: rgba(255, 255, 252, .86); border: 1px solid #e0e7dd; border-top: 3px solid #71927c; border-radius: 8px; }
.pillar-card p { color: #45574b; }

/* Header CTA + botones con bordes suaves */
.btn-header { border-radius: 7px; }
.btn { border-radius: 7px; }
.faq { background: linear-gradient(180deg, #fffefa, #f5f7f2); }
.faq-item { background: #fffefa; }
.faq-item summary { color: #243b2e; }
.faq-item p { color: #43564a; }
.footer { background: linear-gradient(120deg, #142c24, #1e4033); color: #f0f4ed; }
.footer a, .footer p, .footer span { color: #d6e0d5; }

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: minmax(235px, .7fr) minmax(0, 1.3fr); }
  .sobre-visual-compact { max-width: 340px; }
}
@media (max-width: 680px) {
  .authority-grid { padding-top: 16px; padding-bottom: 16px; }
  .sobre-grid { display: flex; }
  .sobre-visual-compact { max-width: 290px; }
  .sobre-img { max-height: 330px; }
  .como-funciona.dark-theme .step { padding: 22px 19px; }
}

/* ========================================================= */
/* AJUSTES DE REFINAMENTO: CENTRALIZAÇÃO, BOTÕES, FAQ, RODAPÉ */
/* ========================================================= */

/* 1. TÍTULOS CENTRALIZADOS */
.section-title,
.modalidades .section-title,
.condicoes .section-title,
.como-funciona .section-title,
.agendamento-section .section-title,
.faq .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.section-title h2,
.modalidades h2,
.condicoes h2,
.como-funciona h2,
.agendamento-section h2,
.faq h2 {
  text-align: center;
}

.section-title p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

/* 2. BOTÕES COM BORDAS TOTALMENTE ARREDONDADAS (PILL / SOFT PILL) */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-header,
.btn-whatsapp-submit,
.btn-whatsapp-hero {
  border-radius: 9999px !important; /* Arredondado suave e moderno estilo cápsula */
  padding: 13px 28px;
  transition: all 0.25s ease;
}

.btn-header {
  padding: 9px 20px;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 58, 42, 0.16);
}

/* 3. CENTRALIZAÇÃO QUANDO HOUVER APENAS 1 BOTÃO */
.sobre-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.sobre-action .btn {
  margin: 0 auto;
}

/* No card de agendamento ou outros botões solitários */
.agendamento-section .btn-whatsapp-submit {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 18px auto 0 auto;
}

/* 4. FAQ: ITENS MAIS AFASTADOS, RESPOSTAS COM LETRAS MENORES E HIERARQUIA CLARA */
.faq-list {
  max-width: 840px;
  margin: 36px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px; /* Espaço generoso entre os itens para não ficarem colados */
}

.faq-item {
  border: 1px solid #dbe4db;
  border-radius: 14px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(25, 48, 36, 0.04);
}

.faq-item:hover {
  border-color: #8da995;
  box-shadow: 0 8px 24px rgba(25, 48, 36, 0.08);
}

.faq-item[open] {
  border-color: #7d9e87;
  background: #fcfdfa;
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #17271f; /* Contraste forte */
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: #557966;
  transition: transform 0.25s ease;
  margin-left: 14px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
  color: #244b39;
}

.faq-item p {
  padding: 0 24px 22px 24px;
  font-size: 0.90rem; /* Letra menor que a pergunta para melhor hierarquia */
  line-height: 1.75;
  color: #4a5c51; /* Leitura confortável e nítida */
  border-top: 1px solid #edf2ec;
  margin-top: 4px;
  padding-top: 16px;
}

/* 5. RODAPÉ REFINADO E SOFISTICADO */
.footer {
  background: linear-gradient(135deg, #0e211b 0%, #16352b 60%, #102720 100%);
  color: #edf3eb;
  padding: 72px 0 32px 0;
  border-top: 1px solid rgba(155, 182, 164, 0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(155, 182, 164, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(237, 245, 234, 0.12);
}

.footer-col h3 {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9db7a6;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #cbd8cf;
  margin-bottom: 6px;
}

.footer-badge-med {
  display: inline-block;
  background: rgba(155, 182, 164, 0.15);
  border: 1px solid rgba(155, 182, 164, 0.3);
  color: #d8e5dc;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 10px;
}

.footer-bottom {
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.76rem;
  line-height: 1.7;
  color: #92a497;
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-item summary {
    font-size: 0.98rem;
    padding: 16px 18px;
  }
  .faq-item p {
    font-size: 0.86rem;
    padding: 0 18px 18px 18px;
  }
}
