/*
Theme Name: Guia Médico
Description: Tema do marketplace Guia Médico (paciente ↔ médico) — guia nacional de especialidades médicas do Brasil.
Version: 2.3.1
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: guia-medico
*/

/* Identidade visual compartilhada pelas telas de início, diretório e perfil. */

:root {
  /* Azuis */
  --gm-blue: #205bd7;
  --gm-blue-dark: #183d91;
  --gm-blue-deep: #132747;
  --gm-blue-soft: #eef2fb;
  --gm-blue-mid: #d8e2f7;
  --gm-blue-hover: #1748b5;
  /* Neutros */
  --gm-white: #ffffff;
  --gm-ink: #263247;
  --gm-gray: #69758a;
  --gm-gray-light: #98a1b0;
  --gm-bg: #f4f5f9;
  --gm-surface: #ffffff;
  --gm-border: #e5e8ef;
  --gm-border-strong: #d3d9e4;
  /* Vermelho — apenas acentos e alertas */
  --gm-red: #d22630;
  --gm-red-dark: #a01c24;
  --gm-red-soft: #fdecec;
  /* Semânticas */
  --gm-ok: #1a7f37;
  --gm-ok-soft: #eef7f0;
  --gm-warn: #9a5b00;
  --gm-warn-soft: #fdf5e6;
  --gm-focus: #4c8fd6;
  --gm-shadow: 0 5px 20px rgba(20, 37, 68, .045);
  --gm-shadow-lg: 0 12px 34px rgba(20, 37, 68, .10);
  --gm-radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gm-ink);
  background: #fff;
  line-height: 1.6;
}

a { color: var(--gm-blue); }
a:hover { color: var(--gm-blue-hover); }

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

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; color: var(--gm-blue-deep); letter-spacing: -.035em; }
h1 { font-size: 2rem; margin: 0 0 .5rem; }
h2 { font-size: 1.55rem; margin: 1.4rem 0 .6rem; }
h2:first-child { margin-top: 0; }

/* ===== Layout ===== */
.gm-container { max-width: 1140px; margin: 0 auto; padding: 28px 20px 72px; }
.gm-grid-2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }

/* ===== Header ===== */
.gm-topline {
  min-height: 28px; display: flex; align-items: center; justify-content: center; padding: 5px 16px;
  color: #d7e2f5; background: #132747; text-align: center; font-size: .67rem; line-height: 1.3; letter-spacing: .025em;
}
.gm-header {
  background: var(--gm-white);
  border-bottom: 1px solid var(--gm-border);
  box-shadow: 0 1px 0 rgba(12, 42, 77, .025);
  position: relative; z-index: 50;
}
.gm-header::after {
  content: none;
}
.gm-header-inner { max-width: 1200px; min-height: 68px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; }
.gm-logo {
  font-weight: 800; font-size: 1rem; text-decoration: none; letter-spacing: -.01em;
  color: var(--gm-blue-dark); display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
}
.gm-logo .gm-logo-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--gm-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(32, 91, 215, .18);
}
.gm-logo-copy { display: flex; flex-direction: column; line-height: 1.05; }
.gm-logo-copy strong { color: var(--gm-blue-deep); font-size: .97rem; letter-spacing: -.045em; }
.gm-logo-copy strong span { color: var(--gm-blue); }
.gm-logo-copy small { margin-top: 4px; color: #8b96a7; font-size: .48rem; letter-spacing: .16em; font-weight: 700; }
.gm-nav { margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
.gm-nav a {
  text-decoration: none; font-weight: 550; font-size: .76rem; color: #4e5a70;
  padding: 8px 10px; border-radius: 8px; white-space: nowrap;
}
.gm-nav a:hover { color: var(--gm-blue-dark); background: var(--gm-blue-soft); }
.gm-header-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.gm-login-link { color: #4e5a70; font-size: .78rem; font-weight: 600; text-decoration: none; }
.gm-login-link:hover { color: var(--gm-blue); }

/* ===== Cards ===== */
.gm-card {
  background: var(--gm-surface); border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius); padding: 22px; margin: 0 0 20px; box-shadow: var(--gm-shadow);
}
.gm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 22px 0; }
.gm-card-doc {
  display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.gm-card-doc:hover { box-shadow: var(--gm-shadow-lg); transform: translateY(-2px); border-color: var(--gm-blue-mid); }
.gm-card-doc h2 { margin: 0; font-size: 1.08rem; }
.gm-card-doc h2 a { text-decoration: none; color: var(--gm-blue-dark); }
.gm-card-doc h2 a:hover { color: var(--gm-blue); }
.gm-card-doc .gm-btn { margin-top: auto; align-self: flex-start; }
.gm-card-head { display: flex; gap: 12px; align-items: center; }
.gm-card-sub, .gm-card-meta { color: var(--gm-gray); margin: .15rem 0; font-size: .9rem; }

/* Avatar com iniciais */
.gm-avatar {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gm-blue-soft); color: var(--gm-blue-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; letter-spacing: .02em; border: 1px solid var(--gm-blue-mid);
}
.gm-avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }

/* ===== Botões ===== */
.gm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border-radius: 999px; border: 1px solid var(--gm-blue);
  background: var(--gm-surface); color: var(--gm-blue); text-decoration: none; font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.gm-btn:hover { background: var(--gm-blue-soft); color: var(--gm-blue-hover); border-color: var(--gm-blue-hover); }
.gm-btn-primary { background: var(--gm-blue); border-color: var(--gm-blue); color: #fff; }
.gm-btn-primary:hover { background: var(--gm-blue-hover); border-color: var(--gm-blue-hover); color: #fff; }
.gm-btn-danger { background: var(--gm-red); border-color: var(--gm-red); color: #fff; }
.gm-btn-danger:hover { background: var(--gm-red-dark); border-color: var(--gm-red-dark); color: #fff; }
.gm-btn-small { padding: 5px 11px; font-size: .82rem; }

/* ===== Formulários ===== */
.gm-field { margin-bottom: 14px; }
.gm-field label, .gm-agenda-form label, .gm-consent label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 4px; color: var(--gm-blue-deep); }
.gm-consent label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--gm-ink); }
.gm-field input, .gm-field select, .gm-field textarea,
.gm-filters input, .gm-filters select, .gm-agenda-form input, .gm-agenda-form select,
.gm-care textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--gm-border-strong); border-radius: 9px; font: inherit;
  background: #fff; color: var(--gm-ink);
}
.gm-field input:focus, .gm-field select:focus, .gm-field textarea:focus,
.gm-filters input:focus, .gm-filters select:focus {
  outline: 3px solid var(--gm-focus); outline-offset: 1px; border-color: var(--gm-blue);
}
.gm-consent input[type=checkbox] { width: auto; }
.gm-filters { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; margin: 20px 0 10px; padding: 18px; background: var(--gm-surface); border: 1px solid var(--gm-border); border-radius: var(--gm-radius); box-shadow: var(--gm-shadow); align-items: end; }
.gm-filter-actions { display: flex; gap: 8px; }
@media (max-width: 960px) { .gm-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gm-filters { grid-template-columns: 1fr; } }
.gm-result-count { color: var(--gm-gray); font-size: .9rem; margin: 4px 0 0; }
.gm-agenda-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 18px; }
@media (max-width: 900px) { .gm-agenda-form { grid-template-columns: 1fr 1fr; } }

/* ===== Alerts e pills ===== */
.gm-alert { border-radius: 9px; padding: 12px 16px; margin: 0 0 16px; border: 1px solid; font-size: .95rem; }
.gm-alert-ok { border-color: var(--gm-ok); color: var(--gm-ok); background: var(--gm-ok-soft); }
.gm-alert-warn { border-color: var(--gm-warn); color: var(--gm-warn); background: var(--gm-warn-soft); }
.gm-alert-error { border-color: var(--gm-red); color: var(--gm-red-dark); background: var(--gm-red-soft); }
.gm-pill, .gm-badge {
  display: inline-block; background: var(--gm-blue-soft); color: var(--gm-blue-dark); border-radius: 999px;
  padding: 2px 10px; font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.gm-pill-verified { background: var(--gm-blue-dark); color: #fff; }
.gm-badge { background: var(--gm-red); color: #fff; }

/* ===== Tabelas ===== */
.gm-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.gm-table th, .gm-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gm-border); vertical-align: top; }
.gm-table th { color: var(--gm-gray); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--gm-border-strong); }
.gm-table tr:hover td { background: var(--gm-blue-soft); }
@media (max-width: 640px) {
  .gm-table thead { display: none; }
  .gm-table tr { display: block; border-bottom: 1px solid var(--gm-border); padding: 8px 0; }
  .gm-table td { display: block; border: 0; padding: 3px 0; }
}

/* Status */
.gm-status { font-weight: 700; font-size: .85rem; }
.gm-status-solicitada { color: var(--gm-warn); }
.gm-status-confirmada { color: var(--gm-blue); }
.gm-status-realizada { color: var(--gm-ok); }
.gm-status-cancelada { color: var(--gm-red); }

/* ===== Perfil ===== */
.gm-breadcrumb { margin: 0 0 14px; font-size: .9rem; }
.gm-breadcrumb a { text-decoration: none; color: var(--gm-gray); font-weight: 600; }
.gm-breadcrumb a:hover { color: var(--gm-blue); }
.gm-profile-head {
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap;
  background: linear-gradient(180deg, var(--gm-blue-soft) 0%, var(--gm-white) 100%);
  border: 1px solid var(--gm-blue-mid); border-radius: var(--gm-radius);
  padding: 24px; margin-bottom: 22px; box-shadow: var(--gm-shadow);
}
.gm-profile-identity { display: flex; gap: 16px; align-items: flex-start; }
.gm-eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; color: var(--gm-blue); font-weight: 800; margin: 0; }
.gm-verified-dot {
  display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px;
  background: var(--gm-ok); color: #fff; border-radius: 50%; font-size: .6rem; margin-right: 4px;
}
.gm-profile-head h1 { margin: .2rem 0; }
.gm-profile-sub { color: var(--gm-gray); margin: .2rem 0; }
.gm-profile-loc { color: var(--gm-gray); margin: .2rem 0; font-size: .95rem; }
.gm-profile-rating { margin: .3rem 0 0; font-weight: 700; color: var(--gm-blue-dark); }
.gm-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gm-reviews { list-style: none; padding: 0; margin: 0; }
.gm-reviews li { border-top: 1px solid var(--gm-border); padding: 14px 0; }
.gm-reviews li:first-child { border-top: 0; }
.gm-reviews small { color: var(--gm-gray-light); margin-left: 8px; }
.gm-list { padding-left: 20px; }
.gm-pront { border-top: 1px dashed var(--gm-border-strong); padding: 12px 0; }
.gm-prose p:first-child { margin-top: 0; }

/* ===== Mensagens ===== */
.gm-msgs { list-style: none; padding: 0; max-width: 720px; }
.gm-msg { display: flex; margin-bottom: 10px; }
.gm-msg.is-mine { justify-content: flex-end; }
.gm-msg-bubble { background: #eef2f6; border-radius: 14px 14px 14px 4px; padding: 10px 14px; max-width: 80%; }
.gm-msg-bubble small { color: var(--gm-gray); }
.gm-msg.is-mine .gm-msg-bubble { background: var(--gm-blue-soft); border: 1px solid var(--gm-blue-mid); border-radius: 14px 14px 4px 14px; }
.gm-thread-list { list-style: none; padding: 0; }
.gm-thread-list li { padding: 11px 0; border-bottom: 1px solid var(--gm-border); }
.gm-thread-list a { text-decoration: none; }
.gm-thread-list a:hover strong { color: var(--gm-blue); }

/* ===== Hero ===== */
.gm-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(210, 38, 48, .35) 0%, rgba(210, 38, 48, 0) 55%),
    linear-gradient(135deg, var(--gm-blue-deep) 0%, var(--gm-blue-dark) 45%, var(--gm-blue) 100%);
  color: #fff; border-bottom: 4px solid var(--gm-red);
}
.gm-hero-inner { max-width: 1140px; margin: 0 auto; padding: 64px 20px 58px; }
.gm-hero h1 { font-size: 2.3rem; color: #fff; letter-spacing: -.01em; }
.gm-hero p { font-size: 1.05rem; max-width: 660px; color: #dce8f6; }
.gm-hero .gm-btn { border-color: #fff; color: var(--gm-blue-dark); background: #fff; margin-right: 10px; }
.gm-hero .gm-btn:hover { background: var(--gm-blue-soft); color: var(--gm-blue-deep); }
.gm-hero .gm-btn-primary { background: var(--gm-red); border-color: var(--gm-red); color: #fff; }
.gm-hero .gm-btn-primary:hover { background: var(--gm-red-dark); border-color: var(--gm-red-dark); color: #fff; }

.gm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 20px 0 34px; }
.gm-steps .gm-card h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-top: 0; }
.gm-steps .gm-card { border-top: 4px solid var(--gm-blue); margin-bottom: 0; }
.gm-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gm-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; flex: 0 0 auto;
}
.gm-empty { color: var(--gm-gray); }

/* ===== Paginação ===== */
.gm-pagination { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.gm-pagination a { text-decoration: none; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--gm-border); color: var(--gm-blue); background: #fff; }
.gm-pagination a:hover { background: var(--gm-blue-soft); border-color: var(--gm-blue-mid); }
.gm-page-current { background: var(--gm-blue); color: #fff; padding: 6px 12px; border-radius: 8px; font-weight: 700; }

/* ===== Auth ===== */
.gm-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gm-hint { color: var(--gm-gray); font-size: .85rem; }

/* ===== Footer ===== */
.gm-footer { background: var(--gm-blue-deep); color: #c6d4e4; margin-top: 48px; }
.gm-footer-inner { max-width: 1200px; margin: 0 auto; padding: 30px 24px; font-size: .78rem; display: grid; grid-template-columns: minmax(190px, 1.2fr) 2fr; gap: 20px 50px; align-items: start; }
.gm-footer strong { color: #fff; }
.gm-footer a { color: #9fc1e8; }
.gm-footer a:hover { color: #fff; }
.gm-footer .gm-footer-emergency { border-left: 4px solid var(--gm-red); padding-left: 12px; margin-top: 14px; color: #e9d3d5; }
.gm-logo-footer .gm-logo-copy strong { color: #fff; }
.gm-logo-footer .gm-logo-copy small { color: #a6b7d0; }
.gm-footer-brand p { margin: 10px 0 0; color: #aab9ce; font-size: .72rem; }
.gm-footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 22px; padding-top: 7px; }
.gm-footer-links a { color: #c4d0e0; text-decoration: none; font-size: .72rem; }
.gm-footer-note { grid-column: 1 / -1; border-top: 1px solid rgba(220, 230, 245, .12); margin: 2px 0 0; padding-top: 16px; color: #98abc5; font-size: .67rem; }
.gm-home + .gm-footer,
.gm-page-directory + .gm-footer { margin-top: 0; }

/* ===== Responsivo ===== */
@media (max-width: 860px) {
  .gm-grid-2, .gm-auth { grid-template-columns: 1fr; }
  .gm-hero h1 { font-size: 1.7rem; }
  .gm-hero-inner { padding: 44px 20px 40px; }
  .gm-profile-actions { width: 100%; }
  .gm-profile-actions .gm-btn { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  .gm-container { padding: 20px 14px 56px; }
  .gm-card { padding: 16px; }
  .gm-profile-head { padding: 18px; }
  .gm-profile-identity { flex-direction: column; }
}

@media print {
  .gm-header, .gm-footer, .gm-profile-actions, .gm-btn { display: none !important; }
}

/* ===== Layout de referência: página inicial ===== */
.gm-home { color: var(--gm-ink); }
.gm-home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #f2f3f8;
}
.gm-home-hero::before,
.gm-home-hero::after {
  content: ""; position: absolute; z-index: -1; border: 1px solid rgba(32, 91, 215, .09);
  border-radius: 50%; pointer-events: none;
}
.gm-home-hero::before { width: 610px; height: 610px; right: 6%; top: -340px; }
.gm-home-hero::after { width: 450px; height: 450px; right: 12%; top: -260px; }
.gm-home-hero-inner {
  max-width: 1200px; min-height: 440px; margin: 0 auto; padding: 58px 24px 48px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 22px; align-items: center;
}
.gm-home-copy { position: relative; z-index: 2; }
.gm-eyebrow { margin: 0 0 11px; color: #73819a; font-size: .62rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; }
.gm-home-copy h1 { max-width: 620px; margin: 0; color: var(--gm-blue-deep); font-size: clamp(2.65rem, 5.2vw, 4.2rem); line-height: .98; letter-spacing: -.065em; }
.gm-home-copy h1 span,
.gm-trust-copy h2 span { color: var(--gm-blue); }
.gm-home-intro { max-width: 530px; margin: 18px 0 24px; color: #69758a; font-size: .91rem; line-height: 1.65; }
.gm-home-search {
  display: grid; grid-template-columns: 1.05fr 1fr 1.05fr auto; gap: 0; align-items: center;
  max-width: 810px; padding: 8px; border: 1px solid rgba(219, 224, 234, .8); border-radius: 16px;
  background: rgba(255,255,255,.97); box-shadow: 0 12px 30px rgba(24, 43, 78, .08);
}
.gm-home-search-field { min-width: 0; padding: 6px 13px; border-right: 1px solid #e9ecf2; }
.gm-home-search-field label { display: block; margin: 0 0 3px; color: #9099a8; font-size: .57rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gm-home-search-field input,
.gm-home-search-field select {
  width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #29364d;
  font: inherit; font-size: .73rem;
}
.gm-home-search-field input::placeholder { color: #9ba4b2; }
.gm-home-search-field select { cursor: pointer; }
.gm-home-search .gm-btn { min-height: 42px; padding: 0 17px; white-space: nowrap; font-size: .72rem; }
.gm-home-trustline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; color: #79869a; font-size: .59rem; }
.gm-home-trustline .gm-verified-dot { width: 14px; height: 14px; margin: 0 1px 0 0; font-size: .55rem; }
.gm-home-map { min-height: 350px; position: relative; display: flex; align-items: center; justify-content: center; }
.gm-brazil-map { width: min(290px, 73%); height: auto; position: relative; z-index: 1; filter: drop-shadow(0 12px 12px rgba(59, 95, 173, .12)); }
.gm-brazil-shape { fill: #dfe8fa; stroke: #cbd8f0; stroke-width: 2; stroke-linejoin: round; }
.gm-map-river { fill: none; stroke: #c0d2f0; stroke-width: 2; stroke-linecap: round; }
.gm-map-point { fill: var(--gm-blue); stroke: #fff; stroke-width: 4; }
.gm-map-point-small { fill: #6f8fda; stroke-width: 3; }
.gm-map-orbit { position: absolute; border: 1px solid rgba(87, 119, 191, .14); border-radius: 50%; }
.gm-map-orbit-one { width: 330px; height: 330px; }
.gm-map-orbit-two { width: 430px; height: 430px; }
.gm-map-label {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 13px;
  border: 1px solid rgba(226, 231, 241, .9); border-radius: 12px; background: rgba(255,255,255,.95);
  box-shadow: 0 10px 25px rgba(38, 57, 95, .10); color: #21304a;
}
.gm-map-label strong { display: block; font-size: .64rem; line-height: 1.35; }
.gm-map-label small { display: block; margin-top: 3px; color: #8490a2; font-size: .54rem; }
.gm-map-label-top { top: 57px; left: 0; }
.gm-map-label-bottom { right: 0; bottom: 47px; }
.gm-map-label-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--gm-blue); box-shadow: 0 0 0 5px #eaf0fc; }
.gm-map-label-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: #edf2fc; color: var(--gm-blue); font-weight: 800; }
.gm-home-stats {
  max-width: 1200px; min-height: 92px; margin: 0 auto; padding: 16px 24px; display: grid;
  grid-template-columns: repeat(4, 1fr); align-items: center; border-bottom: 1px solid #edf0f4;
}
.gm-home-stats > div { display: flex; flex-direction: column; gap: 1px; padding: 0 24px; border-right: 1px solid #e8ebf0; }
.gm-home-stats > div:first-child { padding-left: 0; }
.gm-home-stats > div:last-child { border: 0; }
.gm-home-stats strong { color: var(--gm-blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; letter-spacing: -.04em; line-height: 1.1; }
.gm-home-stats span { color: #828da0; font-size: .61rem; }
.gm-home-stats .gm-home-stat-note strong { color: var(--gm-blue); font-size: .94rem; }
.gm-home-section { max-width: 1200px; margin: 0 auto; padding: 62px 24px; }
.gm-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.gm-section-heading h2 { margin: 0; font-size: 2rem; }
.gm-section-heading p:not(.gm-eyebrow) { margin: 6px 0 0; color: #788499; font-size: .75rem; }
.gm-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gm-blue); font-size: .69rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gm-text-link:hover { color: var(--gm-blue-hover); }
.gm-specialty-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gm-specialty-tile {
  min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; padding: 16px;
  border: 1px solid #e8ebf1; border-radius: 14px; background: #fff; color: var(--gm-blue-deep);
  box-shadow: 0 4px 14px rgba(30, 48, 80, .025); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gm-specialty-tile:hover { transform: translateY(-3px); border-color: #d1dcf3; box-shadow: var(--gm-shadow-lg); }
.gm-specialty-icon { width: 24px; height: 24px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 8px; background: #eaf0fc; color: var(--gm-blue); font-size: .9rem; font-weight: 800; }
.gm-specialty-tile strong { font-family: Georgia, "Times New Roman", serif; font-size: .85rem; letter-spacing: -.02em; }
.gm-specialty-tile > span:last-child { display: flex; gap: 5px; margin-top: auto; padding-top: 8px; color: #8994a5; font-size: .57rem; }
.gm-home-featured { background: #f4f5f9; }
.gm-home-featured .gm-home-section { padding-top: 58px; padding-bottom: 64px; }
.gm-home-doctors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.gm-doctor-card { padding: 17px 17px 15px; margin: 0; border-color: #e9ebf1; border-radius: 15px; box-shadow: 0 4px 16px rgba(26, 42, 73, .035); }
.gm-doctor-card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 12px; }
.gm-doctor-card .gm-avatar { width: 37px; height: 37px; border: 0; background: #edf1fa; color: #4965a7; font-size: .74rem; }
.gm-doctor-verified { display: inline-flex; align-items: center; color: #6a7da8; font-size: .47rem; font-weight: 800; letter-spacing: .08em; }
.gm-doctor-verified .gm-verified-dot { width: 12px; height: 12px; margin-right: 4px; font-size: .48rem; }
.gm-doctor-card h3 { min-height: 33px; margin: 0 0 3px; font-size: .96rem; line-height: 1.18; }
.gm-doctor-card h3 a { color: var(--gm-blue-deep); text-decoration: none; }
.gm-doctor-card h3 a:hover { color: var(--gm-blue); }
.gm-doctor-specialty { margin: 0 0 5px; color: #59677d; font-size: .66rem; font-weight: 650; }
.gm-doctor-location { margin: 0 0 12px; color: #8b95a5; font-size: .59rem; }
.gm-doctor-meta { min-height: 42px; display: flex; flex-direction: column; gap: 5px; padding: 9px 0; border-top: 1px solid #edf0f4; color: #7b8798; font-size: .57rem; }
.gm-doctor-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; padding-top: 10px; border-top: 1px solid #edf0f4; }
.gm-doctor-card-bottom > span { color: #68758a; font-size: .56rem; }
.gm-doctor-card-bottom .gm-btn { align-self: auto; }
.gm-btn-small { padding: 7px 12px; font-size: .64rem; }
.gm-empty-panel { padding: 26px; border: 1px solid var(--gm-border); border-radius: var(--gm-radius); background: #fff; }
.gm-empty-panel strong { color: var(--gm-blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.gm-empty-panel p { color: var(--gm-gray); font-size: .8rem; }
.gm-home-clarity { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.gm-trust-illustration { position: relative; min-height: 260px; display: grid; place-items: center; border-radius: 24px; background: #f2f4f9; overflow: hidden; }
.gm-trust-illustration::before,.gm-trust-illustration::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid #e4e9f4; border-radius: 50%; }
.gm-trust-illustration::after { width: 340px; height: 340px; }
.gm-trust-mini-card { position: relative; z-index: 1; width: min(370px, 85%); display: flex; align-items: center; gap: 10px; padding: 18px 16px; border: 1px solid #eaedf3; border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgba(30, 48, 80, .08); }
.gm-trust-mini-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: #edf2fc; color: var(--gm-blue); font-weight: 800; }
.gm-trust-mini-card strong { display: block; color: var(--gm-blue-deep); font-size: .7rem; }
.gm-trust-mini-card small { display: block; margin-top: 4px; color: #8a95a5; font-size: .56rem; }
.gm-trust-mini-pill { margin-left: auto; padding: 5px 7px; border-radius: 20px; background: #edf6f1; color: #52816b; font-size: .43rem; font-weight: 800; letter-spacing: .05em; }
.gm-trust-lines { position: absolute; bottom: 30px; left: 12%; right: 12%; display: flex; flex-direction: column; gap: 8px; }
.gm-trust-lines i { height: 1px; background: #e5e9f1; }
.gm-trust-lines i:nth-child(2) { width: 82%; }
.gm-trust-lines i:nth-child(3) { width: 65%; }
.gm-trust-copy h2 { margin: 0; font-size: clamp(1.9rem, 3.3vw, 2.65rem); line-height: 1.04; }
.gm-trust-copy > p:not(.gm-eyebrow) { max-width: 450px; margin: 15px 0; color: #778398; font-size: .76rem; }
.gm-trust-copy ul { list-style: none; display: grid; gap: 9px; margin: 17px 0; padding: 0; color: #526078; font-size: .69rem; }
.gm-trust-copy li::before { content: "✓"; margin-right: 9px; color: var(--gm-blue); font-weight: 800; }
.gm-home-how { background: #f3f4f8; }
.gm-how-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.gm-how-heading h2 { margin: 0; font-size: 1.9rem; }
.gm-how-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.gm-how-steps article { min-height: 130px; padding: 8px 17px; border-left: 1px solid #dfe3eb; }
.gm-how-steps article > span { color: #7b8cae; font-family: Georgia, "Times New Roman", serif; font-size: .8rem; }
.gm-how-steps h3 { margin: 11px 0 5px; font-size: .93rem; }
.gm-how-steps p { margin: 0; color: #7c8798; font-size: .62rem; line-height: 1.55; }
.gm-home-cta-wrap { padding: 50px 24px; }
.gm-home-cta { position: relative; isolation: isolate; overflow: hidden; max-width: 1152px; min-height: 210px; margin: 0 auto; padding: 34px 45px; border-radius: 22px; background: #205bd7; color: #fff; }
.gm-home-cta .gm-eyebrow { color: #cfddfb; }
.gm-home-cta h2 { position: relative; z-index: 1; max-width: 560px; margin: 8px 0 20px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.04; }
.gm-btn-light { position: relative; z-index: 1; border-color: #fff; background: #fff; color: var(--gm-blue); font-size: .67rem; }
.gm-btn-light:hover { border-color: #e5ecff; background: #eaf0fc; color: var(--gm-blue-dark); }
.gm-cta-orbit { position: absolute; z-index: -1; right: 4%; top: -105px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.gm-cta-orbit-two { right: 0; top: -65px; width: 235px; height: 235px; }

/* ===== Diretório nacional ===== */
.gm-directory-wrapper { max-width: none !important; width: 100%; margin: 0 !important; padding: 0 !important; }
.gm-directory-wrapper .gm-prose { width: 100%; }
.gm-directory { width: 100%; margin: 0; padding: 0 0 54px; }
.gm-directory-hero { position: relative; overflow: hidden; background: #f2f3f8; }
.gm-directory-hero::before,.gm-directory-hero::after { content: ""; position: absolute; border: 1px solid rgba(32, 91, 215, .08); border-radius: 50%; pointer-events: none; }
.gm-directory-hero::before { width: 570px; height: 570px; right: 9%; top: -350px; }
.gm-directory-hero::after { width: 410px; height: 410px; right: 15%; top: -270px; }
.gm-directory-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 46px 24px 27px; }
.gm-directory-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 6px 10px; border-radius: 20px; background: rgba(255,255,255,.8); color: #687894; font-size: .53rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gm-directory-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gm-blue); }
.gm-directory-hero h1 { max-width: 620px; margin: 0; font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: .97; letter-spacing: -.065em; }
.gm-directory-hero h1 span { color: var(--gm-blue); }
.gm-directory-hero-copy { max-width: 510px; margin: 14px 0 22px; color: #788397; font-size: .78rem; }
.gm-directory-filters { display: grid; grid-template-columns: 1.25fr 1.1fr 1.1fr 1.15fr .8fr auto; gap: 5px; align-items: center; padding: 8px; border: 1px solid rgba(225, 229, 237, .9); border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(22, 41, 75, .08); }
.gm-directory-filter { min-width: 0; padding: 5px 11px; border-right: 1px solid #edf0f4; }
.gm-directory-filter label { display: block; margin: 0 0 3px; color: #8b95a6; font-size: .48rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gm-directory-filter input,.gm-directory-filter select { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #303d53; font: inherit; font-size: .65rem; }
.gm-directory-filter input::placeholder { color: #a1a8b4; }
.gm-directory-filters .gm-btn { min-height: 39px; padding: 0 16px; font-size: .66rem; white-space: nowrap; }
.gm-directory-trust { margin: 11px 0 0; color: #7d899c; font-size: .57rem; }
.gm-directory-trust span { margin-right: 11px; }
.gm-directory-trust span::before { content: "✓"; margin-right: 5px; color: var(--gm-blue); font-weight: 800; }
.gm-directory-results { max-width: 1200px; margin: 0 auto; padding: 44px 24px 0; }
.gm-directory-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.gm-directory-results-heading h2 { margin: 0; font-size: 2rem; }
.gm-directory-results-heading p { margin: 6px 0 0; color: #858fa1; font-size: .63rem; }
.gm-directory-sort { display: flex; align-items: center; gap: 7px; }
.gm-directory-sort label { color: #8993a3; font-size: .58rem; }
.gm-directory-sort select { max-width: 160px; padding: 9px 30px 9px 11px; border: 1px solid #e7eaf0; border-radius: 20px; background: #fff; color: #526078; font: inherit; font-size: .61rem; }
.gm-directory-count { margin: -4px 0 17px; color: #788398; font-size: .6rem; }
.gm-directory-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.gm-directory-card { min-height: 205px; padding: 17px 17px 14px; margin: 0; border: 1px solid #e8ebf1; border-radius: 16px; box-shadow: 0 5px 18px rgba(23, 40, 72, .035); }
.gm-directory-card .gm-card-head { gap: 10px; align-items: flex-start; }
.gm-directory-card .gm-avatar { width: 36px; height: 36px; border: 0; background: #edf1fa; color: #566eab; font-size: .68rem; }
.gm-directory-card h2 { margin: 0 0 4px; font-size: .88rem; line-height: 1.18; }
.gm-directory-card .gm-card-sub { margin: 0; font-size: .6rem; }
.gm-directory-card .gm-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 11px 0 0; color: #718098; font-size: .56rem; }
.gm-directory-card .gm-card-meta .gm-pill { padding: 3px 7px; font-size: .48rem; }
.gm-directory-card .gm-pill-verified { background: #eff4ff; color: #4c67a2; }
.gm-directory-description { min-height: 32px; margin: 10px 0 8px; color: #717e93; font-size: .6rem; line-height: 1.5; }
.gm-directory-card-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0 0; border-top: 1px solid #edf0f4; color: #788398; font-size: .55rem; }
.gm-directory-card-info strong { color: #53627b; font-weight: 600; }
.gm-directory-card .gm-btn { align-self: flex-end; margin-top: auto; padding: 7px 13px; font-size: .61rem; }
.gm-directory-note { max-width: 1200px; margin: 18px auto 0; padding: 0 24px; color: #8a94a4; font-size: .57rem; }

/* ===== Perfil médico e formulários ===== */
.gm-profile { padding: 4px 0 20px; }
.gm-profile .gm-breadcrumb { margin: 0 0 14px; font-size: .67rem; }
.gm-profile .gm-breadcrumb a { color: #71819b; font-weight: 650; }
.gm-profile-head {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 24px; align-items: center;
  min-height: 142px; padding: 24px 28px 20px; margin-bottom: 20px; border: 1px solid #e8ebf1;
  border-radius: 18px; background: #fff; box-shadow: var(--gm-shadow);
}
.gm-profile-head::before,.gm-profile-head::after { content: ""; position: absolute; right: 13%; top: -105px; width: 300px; height: 300px; border: 1px solid rgba(32,91,215,.07); border-radius: 50%; pointer-events: none; }
.gm-profile-head::after { right: 17%; top: -71px; width: 230px; height: 230px; }
.gm-profile-identity { position: relative; z-index: 1; display: flex; flex-direction: row; gap: 15px; align-items: center; min-width: 0; }
.gm-profile-identity .gm-avatar-lg { width: 66px; height: 66px; border: 0; border-radius: 16px; background: #f1f3f8; color: #566fa9; font-size: 1.15rem; }
.gm-profile-identity > div { min-width: 0; }
.gm-profile .gm-eyebrow { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; font-size: .5rem; }
.gm-profile-head h1 { margin: 0 0 5px; font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1; }
.gm-profile-sub { margin: 0; color: #68758b; font-size: .64rem; }
.gm-profile-loc { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 8px 0 0; color: #7c889a; font-size: .57rem; }
.gm-profile-loc .gm-pill { background: #f0f4fc; color: #6379a9; font-size: .5rem; }
.gm-profile-rating { margin: 6px 0 0; color: #536887; font-size: .57rem; font-weight: 650; }
.gm-profile-actions { position: relative; z-index: 1; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; min-width: 0; }
.gm-profile-actions .gm-btn { padding: 8px 13px; font-size: .61rem; }
.gm-profile-actions .gm-hint { flex: 0 0 100%; margin: 0; text-align: right; }
.gm-profile-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 16px; align-items: start; }
.gm-profile-column { min-width: 0; }
.gm-profile-column > .gm-card { padding: 19px; margin: 0 0 14px; border-color: #e8ebf1; border-radius: 16px; box-shadow: var(--gm-shadow); }
.gm-profile-column h2 { margin: 0 0 10px; font-size: 1.32rem; }
.gm-profile-column .gm-eyebrow { margin-bottom: 5px; }
.gm-profile-about .gm-prose { color: #748096; font-size: .66rem; line-height: 1.65; }
.gm-profile-about .gm-prose p { margin: 0 0 9px; }
.gm-profile-services-title { margin: 15px 0 8px; color: #33425a; font-family: inherit; font-size: .65rem; font-weight: 750; letter-spacing: 0; }
.gm-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; padding: 0; list-style: none; }
.gm-services-grid li { color: #6e7b91; font-size: .59rem; }
.gm-services-grid li::before { content: "✓"; margin-right: 6px; color: #8799c3; font-weight: 800; }
.gm-profile-fee { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding: 11px 12px; border: 1px solid #edf0f4; border-radius: 11px; background: #fbfcfe; }
.gm-profile-fee span { display: block; color: #7f8b9c; font-size: .52rem; }
.gm-profile-fee strong { color: var(--gm-blue-deep); font-size: .77rem; }
.gm-profile-fee small { color: #7f8b9c; font-size: .52rem; text-align: right; }
.gm-profile-location-layout { display: grid; grid-template-columns: minmax(145px, .9fr) 1.1fr; gap: 13px; align-items: center; }
.gm-location-map { position: relative; min-height: 128px; overflow: hidden; border: 1px solid #e6eaf1; border-radius: 12px; background-color: #f1f3f8; background-image: linear-gradient(33deg, transparent 47%, #dce2ec 48%, #dce2ec 49%, transparent 50%), linear-gradient(145deg, transparent 45%, #dce2ec 46%, #dce2ec 47%, transparent 48%), linear-gradient(90deg, transparent 49%, #e2e7ef 50%, transparent 51%); background-size: 72px 61px, 86px 71px, 56px 53px; }
.gm-location-map::before { content: ""; position: absolute; left: 50%; top: 48%; width: 17px; height: 17px; border: 4px solid #fff; border-radius: 50% 50% 50% 0; background: #de5361; box-shadow: 0 3px 8px rgba(24,37,64,.16); transform: translate(-50%,-50%) rotate(-45deg); }
.gm-location-map::after { content: ""; position: absolute; left: 50%; top: 52%; width: 5px; height: 5px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); }
.gm-map-caption { position: absolute; left: 7px; bottom: 7px; padding: 4px 6px; border-radius: 5px; background: rgba(255,255,255,.88); color: #768297; font-size: .43rem; }
.gm-location-copy { color: #758197; font-size: .6rem; }
.gm-location-copy strong { display: block; margin-bottom: 4px; color: #34435a; font-family: Georgia, "Times New Roman", serif; font-size: .86rem; }
.gm-location-copy p { margin: 3px 0; }
.gm-location-copy a { display: inline-flex; margin-top: 7px; font-size: .55rem; font-weight: 700; text-decoration: none; }
.gm-profile-column .gm-booking-card { background: #fff; }
.gm-booking-card h2 { margin-bottom: 5px; }
.gm-card-intro { margin: 0 0 12px; color: #7c8799; font-size: .58rem; }
.gm-profile-column .gm-field { margin-bottom: 10px; }
.gm-profile-column .gm-field label { margin-bottom: 4px; color: #56637a; font-size: .57rem; }
.gm-profile-column .gm-field input,
.gm-profile-column .gm-field select,
.gm-profile-column .gm-field textarea { min-height: 37px; padding: 9px 10px; border-color: #e2e6ed; border-radius: 9px; font-size: .62rem; }
.gm-profile-column .gm-field textarea { min-height: 76px; resize: vertical; }
.gm-profile-column .gm-btn-primary[type="submit"] { width: 100%; min-height: 38px; border-radius: 9px; font-size: .64rem; }
.gm-profile-column .gm-hint { margin: 8px 0 0; text-align: center; font-size: .5rem; }
.gm-profile-column .gm-consent label { font-size: .51rem; }
.gm-profile-reviews .gm-reviews { margin-top: 8px; }
.gm-profile-reviews .gm-reviews li { padding: 11px 0; border-color: #edf0f4; color: #66738a; font-size: .6rem; }
.gm-profile-reviews .gm-reviews li p { margin: 6px 0 0; color: #768297; line-height: 1.5; }
.gm-review-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; padding: 9px 11px; border-radius: 10px; background: #f4f6fb; }
.gm-review-summary strong { color: var(--gm-blue-deep); font-size: .8rem; }
.gm-review-summary span { color: #8792a3; font-size: .52rem; }
.gm-profile-empty-reviews { margin: 0; color: #7b8798; font-size: .61rem; }
.gm-profile .gm-alert { font-size: .75rem; }
.gm-profile .gm-pagination { margin-top: 24px; }

/* Ajustes responsivos comuns */
@media (max-width: 1050px) {
  .gm-home-search { grid-template-columns: 1fr 1fr; }
  .gm-home-search-field:nth-child(2) { border-right: 0; }
  .gm-home-search-field:nth-child(3) { border-top: 1px solid #edf0f4; }
  .gm-home-search .gm-btn { justify-self: stretch; margin: 5px; }
  .gm-directory-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gm-directory-filter:nth-child(3) { border-right: 0; }
  .gm-directory-filter:nth-child(n+4) { border-top: 1px solid #edf0f4; }
  .gm-directory-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-home-doctors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-specialty-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .gm-header-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  .gm-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; margin: 0; }
  .gm-home-hero-inner { grid-template-columns: 1fr .7fr; gap: 8px; padding-top: 45px; }
  .gm-home-map { min-height: 270px; }
  .gm-map-label-top { left: -10px; }
  .gm-map-label-bottom { right: -10px; }
  .gm-home-clarity { gap: 35px; }
  .gm-how-inner { grid-template-columns: 1fr; gap: 26px; }
  .gm-profile-grid { grid-template-columns: 1fr; }
  .gm-profile-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .gm-profile-actions { width: 100%; justify-content: flex-start; }
  .gm-profile-actions .gm-hint { text-align: left; }
}
@media (max-width: 640px) {
  .gm-header-inner { padding: 9px 15px; }
  .gm-header-actions { gap: 10px; }
  .gm-header-cta { padding: 8px 12px; font-size: .65rem; }
  .gm-login-link { font-size: .67rem; }
  .gm-nav { gap: 1px; }
  .gm-nav a { padding: 7px 9px; font-size: .67rem; }
  .gm-home-hero-inner { display: block; padding: 37px 17px 24px; }
  .gm-home-copy h1 { font-size: clamp(2.45rem, 12vw, 3.25rem); }
  .gm-home-intro { margin: 14px 0 19px; font-size: .78rem; }
  .gm-home-search { grid-template-columns: 1fr; padding: 5px; border-radius: 13px; }
  .gm-home-search-field { padding: 9px 10px; border-right: 0; border-bottom: 1px solid #edf0f4; }
  .gm-home-search-field:nth-child(2) { border-bottom: 1px solid #edf0f4; }
  .gm-home-search-field:nth-child(3) { border-top: 0; border-bottom: 0; }
  .gm-home-search .gm-btn { margin: 5px; }
  .gm-home-trustline { gap: 6px; font-size: .53rem; }
  .gm-home-map { min-height: 220px; margin-top: 8px; }
  .gm-brazil-map { width: 205px; }
  .gm-map-orbit-one { width: 250px; height: 250px; }
  .gm-map-orbit-two { width: 315px; height: 315px; }
  .gm-map-label { padding: 8px 9px; }
  .gm-map-label-top { top: 17px; left: 0; }
  .gm-map-label-bottom { right: 0; bottom: 13px; }
  .gm-map-label strong { font-size: .56rem; }
  .gm-map-label small { font-size: .48rem; }
  .gm-home-stats { min-height: auto; grid-template-columns: 1fr 1fr; gap: 15px 0; padding: 19px 17px; }
  .gm-home-stats > div { padding: 0 12px; }
  .gm-home-stats > div:nth-child(2) { border-right: 0; }
  .gm-home-stats > div:first-child { padding-left: 0; }
  .gm-home-stats strong { font-size: 1.04rem; }
  .gm-home-section { padding: 44px 17px; }
  .gm-section-heading { display: block; }
  .gm-section-heading h2 { font-size: 1.7rem; }
  .gm-section-heading > .gm-text-link { margin-top: 13px; }
  .gm-specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .gm-specialty-tile { min-height: 111px; padding: 13px; }
  .gm-home-doctors { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gm-doctor-card { padding: 13px 12px; }
  .gm-doctor-card h3 { font-size: .85rem; }
  .gm-doctor-card-bottom { align-items: flex-start; flex-direction: column; }
  .gm-home-clarity { display: flex; flex-direction: column; align-items: stretch; gap: 25px; }
  .gm-trust-illustration { min-height: 205px; }
  .gm-trust-copy h2 { font-size: 2rem; }
  .gm-how-steps { grid-template-columns: 1fr; }
  .gm-how-steps article { min-height: auto; padding: 12px 0; border-left: 0; border-top: 1px solid #dfe3eb; }
  .gm-how-steps article:first-child { border-top: 0; }
  .gm-how-steps h3 { margin: 4px 0; }
  .gm-home-cta-wrap { padding: 28px 15px; }
  .gm-home-cta { min-height: 200px; padding: 26px 22px; border-radius: 17px; }
  .gm-home-cta h2 { font-size: 1.8rem; }
  .gm-directory-hero-inner { padding: 37px 17px 22px; }
  .gm-directory-hero h1 { font-size: 2.55rem; }
  .gm-directory-filters { grid-template-columns: 1fr 1fr; gap: 0; }
  .gm-directory-filter { padding: 8px; }
  .gm-directory-filter:nth-child(2n) { border-right: 0; }
  .gm-directory-filter:nth-child(3) { border-right: 1px solid #edf0f4; }
  .gm-directory-filter:nth-child(n+3) { border-top: 1px solid #edf0f4; }
  .gm-directory-filters .gm-btn { grid-column: 1 / -1; margin: 5px; }
  .gm-directory-results { padding: 34px 17px 0; }
  .gm-directory-results-heading { align-items: flex-start; flex-direction: column; }
  .gm-directory-results-heading h2 { font-size: 1.7rem; }
  .gm-directory-sort { align-self: stretch; justify-content: space-between; }
  .gm-directory-sort select { max-width: none; flex: 1; }
  .gm-directory-cards { grid-template-columns: 1fr; gap: 10px; }
  .gm-directory-card { min-height: 0; }
  .gm-directory-note { padding: 0 17px; }
  .gm-profile { padding-top: 0; }
  .gm-profile-head { grid-template-columns: minmax(0, 1fr); align-items: flex-start; padding: 18px; gap: 14px; }
  .gm-profile-identity { flex-direction: row; align-items: flex-start; gap: 12px; }
  .gm-profile-identity .gm-avatar-lg { width: 52px; height: 52px; border-radius: 13px; }
  .gm-profile-head h1 { font-size: 1.6rem; }
  .gm-profile-actions { width: 100%; justify-content: flex-start; }
  .gm-profile-actions .gm-btn { flex: 1 1 140px; text-align: center; }
  .gm-profile-actions .gm-hint { text-align: left; }
  .gm-profile-grid { gap: 0; }
  .gm-profile-location-layout { grid-template-columns: 1fr; }
  .gm-location-map { min-height: 155px; }
  .gm-profile-column > .gm-card { padding: 16px; }
  .gm-services-grid { grid-template-columns: 1fr; }
  .gm-footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 24px 17px; }
  .gm-footer-links { justify-content: flex-start; gap: 10px 15px; }
  .gm-footer-note { grid-column: auto; }
}

/* ===== 2.2.3 — legibilidade, toque e acessibilidade ===== */
.gm-skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--gm-blue-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.gm-skip-link:focus { top: 12px; color: #fff; }
.gm-topline { font-size: .75rem; }
.gm-nav a, .gm-login-link, .gm-footer-links a { font-size: .8125rem; }
.gm-btn { min-height: 44px; }
.gm-home .gm-eyebrow,
.gm-directory-eyebrow,
.gm-profile .gm-eyebrow { font-size: .75rem; }
.gm-home-search-field label { font-size: .75rem; }
.gm-home-search-field input,
.gm-home-search-field select { min-height: 44px; font-size: 16px; }
.gm-home-search .gm-btn { font-size: .875rem; }
.gm-home-trustline { font-size: .75rem; }
.gm-map-label strong { font-size: .8125rem; }
.gm-map-label small { font-size: .75rem; }
.gm-home-stats span { font-size: .78rem; }
.gm-specialty-tile strong { font-size: 1rem; }
.gm-specialty-tile > span:last-child { font-size: .75rem; }
.gm-doctor-verified { font-size: .7rem; }
.gm-doctor-specialty { font-size: .78rem; }
.gm-section-heading p:not(.gm-eyebrow),
.gm-text-link { font-size: .8125rem; }
.gm-directory-filter label { font-size: .75rem; }
.gm-directory-filter input,
.gm-directory-filter select { min-height: 44px; font-size: 16px; }
.gm-directory-filters .gm-btn { min-height: 44px; font-size: .875rem; }
.gm-directory-trust { font-size: .75rem; }
.gm-directory-results-heading p,
.gm-directory-count,
.gm-directory-sort label,
.gm-directory-note { font-size: .8rem; }
.gm-directory-sort select { min-height: 44px; font-size: .875rem; }
.gm-directory-card h2 { font-size: 1.05rem; }
.gm-directory-card .gm-card-sub,
.gm-directory-card .gm-card-meta,
.gm-directory-description,
.gm-directory-card-info { font-size: .8rem; }
.gm-directory-card .gm-card-meta .gm-pill { font-size: .7rem; }
.gm-directory-card .gm-btn { min-height: 44px; font-size: .8125rem; }
.gm-profile .gm-breadcrumb,
.gm-profile-sub,
.gm-profile-about .gm-prose,
.gm-profile-location-layout,
.gm-profile-reviews .gm-reviews li { font-size: .875rem; }
.gm-profile-loc,
.gm-profile-rating,
.gm-services-grid li,
.gm-location-copy,
.gm-card-intro,
.gm-profile-column .gm-field label,
.gm-profile-column .gm-hint,
.gm-profile-column .gm-consent label,
.gm-review-summary span,
.gm-profile-empty-reviews { font-size: .78rem; }
.gm-profile-loc .gm-pill,
.gm-profile-fee span,
.gm-profile-fee small,
.gm-map-caption { font-size: .72rem; }
.gm-profile-fee strong { font-size: .95rem; }
.gm-profile-column .gm-field input,
.gm-profile-column .gm-field select,
.gm-profile-column .gm-field textarea { min-height: 44px; font-size: 16px; }
.gm-profile-column .gm-btn-primary[type="submit"] { min-height: 48px; font-size: .875rem; }
.gm-footer-brand p,
.gm-footer-note { font-size: .78rem; }
.gm-footer-links { gap: 12px 18px; }

.gm-nav a:focus-visible,
.gm-login-link:focus-visible,
.gm-footer a:focus-visible,
.gm-text-link:focus-visible,
.gm-specialty-tile:focus-visible,
.gm-doctor-card a:focus-visible {
  outline: 3px solid var(--gm-focus);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .gm-header-cta,
  .gm-login-link,
  .gm-nav a { font-size: .75rem; }
  .gm-home-copy h1 { line-height: 1.04; }
  .gm-home-trustline { font-size: .72rem; }
  .gm-map-label strong { font-size: .75rem; }
  .gm-map-label small { font-size: .7rem; }
  .gm-profile-column .gm-field label { font-size: .75rem; }
  .gm-profile-column .gm-hint,
  .gm-profile-column .gm-consent label { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
