:root {
  --teal: #1e4f8a;
  --teal-deep: #163a66;
  --teal-soft: #e8eef7;
  --coral: #3b82f6;
  --coral-deep: #2563eb;
  --btn-from: #1e4f8a;
  --btn-to: #3b82f6;
  --btn-from-deep: #163a66;
  --btn-to-deep: #2563eb;
  --name: #1a2744;
  --ink: #1a2744;
  --ink-soft: #4a5d7a;
  --paper: #f5f8fc;
  --white: #ffffff;
  --line: rgba(30, 79, 138, 0.14);
  --shadow: 0 18px 40px rgba(30, 79, 138, 0.1);
  --radius: 16px;
  --header-h: 72px;
  --page-pad: 1.25rem;
  --font-display: var(--font-display);
  --font-body: var(--font-body);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% 0%, color-mix(in srgb, var(--teal) 14%, transparent), transparent 55%),
    radial-gradient(700px 380px at 100% 10%, color-mix(in srgb, var(--coral) 12%, transparent), transparent 50%),
    radial-gradient(500px 280px at 70% 80%, color-mix(in srgb, var(--teal) 6%, transparent), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  font-family: var(--font-body), sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-main {
  flex: 1;
}

.section {
  padding: 4.5rem var(--page-pad);
}

.section-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3,
.brand-name,
.footer-brand,
.publisher-name,
.mini-profile-name {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 0.85rem;
}

p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.3rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--btn-from) 0%, var(--btn-to) 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--btn-from-deep) 0%,
    var(--btn-from) 100%
  );
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--teal-soft);
}

.btn-secondary {
  background: var(--teal-soft);
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  color: var(--teal-deep);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--teal) 18%, white);
  border-color: var(--teal);
}

.btn-danger {
  background: #fff5f4;
  border-color: #f0b4ae;
  color: #b42318;
}

.btn-danger:hover {
  background: #fde8e6;
  border-color: #e08a82;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  color: white;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--btn-from-deep), var(--btn-from));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(245, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 80, 80, 0.06);
}

.site-header-inner {
  width: min(1100px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.brand-name {
  font-size: 1.3rem;
  color: var(--name);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.brand-role {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.brand-mark.has-logo {
  gap: 0.25rem;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
}

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 25, 40, 0.55);
}

.crop-modal[hidden] {
  display: none !important;
}

.crop-modal label[hidden] {
  display: none !important;
}

.crop-stage img {
  display: block;
  max-width: 100%;
}

.crop-modal-card {
  width: min(560px, 100%);
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.crop-modal-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.crop-stage {
  position: relative;
  width: 100%;
  height: min(360px, 55vh);
  border-radius: 12px;
  overflow: hidden;
  /* Xadrez para visualizar transparência de PNG */
  background-color: #eceff3;
  background-image:
    linear-gradient(45deg, #d7dde6 25%, transparent 25%),
    linear-gradient(-45deg, #d7dde6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d7dde6 75%),
    linear-gradient(-45deg, transparent 75%, #d7dde6 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

.crop-zoom {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.crop-zoom input[type="range"] {
  width: 100%;
}

.image-upload-preview.is-logo {
  width: min(280px, 100%);
  aspect-ratio: 3 / 1;
  object-fit: contain;
  background: #f3f6fa;
}

.image-upload-preview.is-favicon {
  width: 64px;
  height: 64px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f6fa;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a.is-active {
  color: var(--teal);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  color: white !important;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--btn-from) 28%, transparent);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--btn-from-deep), var(--btn-from));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

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

.nav-backdrop {
  display: none;
}

.spotlight {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 4rem;
}

.spotlight-intro {
  margin-bottom: 2.25rem;
  max-width: 42rem;
  padding: 1.1rem 1.2rem 1.1rem 1.15rem;
  border-left: 5px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(224, 96, 64, 0.08), rgba(0, 128, 128, 0.05));
}

.spotlight-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--name);
}

.spotlight-intro .lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.mini-profile {
  display: grid;
  gap: 1.35rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(0, 128, 128, 0.06), rgba(224, 96, 64, 0.04));
  border: 1px solid rgba(0, 128, 128, 0.12);
}

.mini-profile-head {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.mini-profile-photo-wrap {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(145deg, var(--teal), var(--coral)) border-box;
  border: 5px solid transparent;
  box-shadow:
    0 16px 36px rgba(0, 100, 100, 0.2),
    0 0 0 8px rgba(0, 128, 128, 0.08);
}

.mini-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.mini-profile-photo-wrap:hover .mini-profile-photo {
  transform: scale(1.06);
}

.mini-profile-identity {
  min-width: 0;
}

.mini-profile-name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--name);
}

.mini-profile-role {
  margin: 0 0 0.35rem;
  color: var(--coral);
  font-weight: 600;
}

.mini-profile-crp {
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.credential-list {
  list-style: none;
  padding: 0.2rem 0 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.5rem;
}

.credential-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
}

.credential-list li:nth-child(even)::before {
  background: var(--coral);
}

.mini-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.25rem;
  color: var(--ink);
  font-weight: 600;
}

.mini-profile-body > p {
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.session-price {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.session-price strong {
  color: var(--coral);
  font-weight: 700;
}

.spotlight-form-panel {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 128, 128, 0.04), transparent 40%),
    var(--white);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}

.spotlight-form-head h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  color: var(--ink);
}

.session-price-banner {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.95rem;
  border-left: 4px solid var(--coral);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(224, 96, 64, 0.12), rgba(0, 128, 128, 0.06));
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.session-price-banner strong {
  color: var(--coral-deep);
}

.contact-form,
.contact-success {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-success {
  grid-template-columns: 1fr;
}

.contact-form label,
.admin-form label,
.login-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form label.full,
.contact-form .full,
.admin-form label.full,
.admin-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.login-form input {
  width: 100%;
  border: 1px solid rgba(30, 79, 138, 0.16);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* evita zoom automático no iPhone */
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.login-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--teal) 25%, transparent);
  border-color: var(--teal);
}

.home-latest-post {
  max-width: 820px;
}

.admin-form input[type="color"] {
  padding: 0.25rem;
  min-height: 48px;
  cursor: pointer;
}

.admin-form input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.admin-section-title {
  grid-column: 1 / -1;
  margin: 1.35rem 0 0.35rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-body), sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admin-form .admin-section-title:first-of-type {
  margin-top: 0.2rem;
}

.admin-visibility-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.5rem;
}

.admin-visibility-item {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 !important;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.admin-visibility-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: #f8fbff;
}

.admin-visibility-item:has(input:checked) {
  border-color: rgba(37, 99, 235, 0.45);
  background: #eff6ff;
}

.admin-visibility-item input {
  width: 1.1rem !important;
  height: 1.1rem !important;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.admin-visibility-item strong {
  display: block;
  font-size: 0.92rem;
  color: #1a2744;
}

.admin-visibility-item small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #66758a;
  line-height: 1.35;
}

.admin-visibility-toggle {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.35rem !important;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 14px;
  background: #eff6ff;
  cursor: pointer;
}

.admin-visibility-toggle:has(input:not(:checked)) {
  border-color: rgba(26, 39, 68, 0.12);
  background: #f8fafc;
}

.admin-visibility-toggle input {
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.admin-visibility-toggle strong {
  display: block;
  font-size: 0.95rem;
  color: #1a2744;
}

.admin-visibility-toggle small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: #5b6b82;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .admin-visibility-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .admin-visibility-grid {
    grid-template-columns: 1fr;
  }
}

.admin-ui-group {
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(26, 39, 68, 0.08);
  border-radius: 14px;
  background: #f8fafc;
}

.admin-ui-group-title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #1a2744;
}

.admin-ui-group-desc {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  color: #66758a;
  line-height: 1.45;
}

.admin-ui-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.admin-ui-field {
  display: grid !important;
  gap: 0.25rem;
  margin: 0 !important;
}

.admin-ui-field-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1a2744;
}

.admin-ui-field-where {
  font-size: 0.78rem;
  color: #66758a;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .admin-ui-group-grid {
    grid-template-columns: 1fr;
  }
}

.form-success {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 600;
}

.image-upload-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.65rem;
}

.image-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.image-upload-preview {
  width: min(220px, 100%);
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
  aspect-ratio: 1;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: -0.35rem;
}

/* ---- Editor de matéria estilo WordPress clássico ---- */
.wp-editor {
  grid-column: 1 / -1;
  border: 1px solid #c3c4c7;
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.wp-editor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: #f0f0f1;
  border-bottom: 1px solid #c3c4c7;
}

.wp-add-media {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid #c3c4c7;
  border-radius: 3px;
  background: #fff;
  color: #2c3338;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.wp-add-media:hover {
  border-color: #8c8f94;
  background: #f6f7f7;
}

.wp-add-media-ico {
  width: 1rem;
  height: 1rem;
  border-radius: 2px;
  background:
    linear-gradient(135deg, #2271b1 40%, transparent 40%),
    linear-gradient(45deg, #72aee6 50%, #dcdcde 50%);
  flex: 0 0 auto;
}

.wp-editor-tabs {
  display: inline-flex;
  border: 1px solid #c3c4c7;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.wp-editor-tab {
  border: 0;
  background: #fff;
  color: #50575e;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.wp-editor-tab + .wp-editor-tab {
  border-left: 1px solid #c3c4c7;
}

.wp-editor-tab.is-active {
  background: #2271b1;
  color: #fff;
}

.wp-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.55rem;
  background: #f6f7f7;
  border-bottom: 1px solid #c3c4c7;
}

.wp-tool-select select {
  min-width: 7.5rem;
  height: 2rem;
  border: 1px solid #c3c4c7;
  border-radius: 2px;
  background: #fff;
  color: #2c3338;
  font: inherit;
  font-size: 0.82rem;
  padding: 0 0.4rem;
}

.wp-tool {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #2c3338;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.wp-tool:hover {
  border-color: #c3c4c7;
  background: #fff;
}

.wp-tool-sep {
  width: 1px;
  height: 1.4rem;
  margin: 0 0.2rem;
  background: #dcdcde;
}

.wp-editor-visual {
  min-height: 280px;
  max-height: 640px;
  overflow: auto;
  padding: 1rem 1.1rem;
  background: #fff;
  color: #1d2327;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  outline: none;
}

.wp-editor-visual:empty:before {
  content: attr(data-placeholder);
  color: #a7aaad;
}

.wp-editor-visual p {
  margin: 0 0 0.9rem;
}

.wp-editor-visual h2,
.wp-editor-visual h3 {
  margin: 1.1rem 0 0.6rem;
  line-height: 1.3;
}

.wp-editor-visual ul,
.wp-editor-visual ol {
  margin: 0 0 0.9rem 1.25rem;
}

.wp-editor-visual blockquote {
  margin: 0 0 0.9rem;
  padding: 0.35rem 0 0.35rem 0.9rem;
  border-left: 3px solid #c3c4c7;
  color: #50575e;
}

.wp-editor-visual a,
.wp-editor-visual .post-inline-link {
  color: #2271b1 !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
  background: rgba(34, 113, 177, 0.08);
  padding: 0 0.15em;
  border-radius: 2px;
}

.wp-editor-visual figure.post-inline-figure,
.wp-editor-visual .post-inline-figure {
  position: relative;
  margin: 0.85rem auto;
  text-align: center;
  outline: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.wp-editor-visual figure.is-selected {
  outline-color: #2271b1;
  outline-offset: 3px;
}

.wp-img-controls {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 0.75rem);
}

.wp-img-controls-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.wp-img-controls-label {
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.15rem;
}

.wp-img-size-btn,
.wp-img-remove-btn {
  border: 0;
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.wp-img-size-btn:hover,
.wp-img-remove-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.wp-img-size-btn.is-active {
  background: #2271b1;
}

.wp-img-remove-btn {
  background: #b42318;
  margin-left: 0.15rem;
}

.wp-img-remove-btn:hover {
  background: #912018;
}

@media (max-width: 640px) {
  .wp-img-controls-label {
    width: 100%;
    text-align: center;
    margin: 0 0 0.15rem;
  }
}

.wp-editor-visual img,
.wp-editor-visual .post-inline-image {
  height: auto;
  border-radius: 2px;
  display: inline-block;
  max-width: 100%;
}

.wp-editor-visual .size-small img,
.wp-editor-visual img.size-small,
.post-html-content .size-small img,
.post-html-content img.size-small {
  width: 30%;
  max-width: 220px;
}

.wp-editor-visual .size-medium img,
.wp-editor-visual img.size-medium,
.post-html-content .size-medium img,
.post-html-content img.size-medium {
  width: 50%;
  max-width: 420px;
}

.wp-editor-visual .size-large img,
.wp-editor-visual img.size-large,
.post-html-content .size-large img,
.post-html-content img.size-large {
  width: 75%;
  max-width: 640px;
}

.wp-editor-visual .size-full img,
.wp-editor-visual img.size-full,
.post-html-content .size-full img,
.post-html-content img.size-full {
  width: 100%;
  max-width: 100%;
}

.wp-editor-text {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 640px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1rem 1.1rem !important;
  font-family: Consolas, Monaco, monospace !important;
  font-size: 0.9rem !important;
  line-height: 1.5;
  resize: vertical;
}

/* Importante: sem isso o HTML fica visível junto com o Visual */
.wp-editor-text[hidden],
.wp-editor-visual[hidden],
.wp-editor-toolbar[hidden] {
  display: none !important;
}

.wp-editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.75rem;
  border-top: 1px solid #c3c4c7;
  background: #f6f7f7;
  color: #50575e;
  font-size: 0.8rem;
}

.wp-editor-footer-hint {
  color: #8c8f94;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-html-content h2,
.post-html-content h3,
.post-html-content h4 {
  margin: 1.25rem 0 0.65rem;
  color: var(--name);
  line-height: 1.25;
}

.post-html-content p {
  margin: 0 0 1rem;
}

.post-html-content ul,
.post-html-content ol {
  margin: 0 0 1rem 1.2rem;
}

.post-html-content blockquote {
  margin: 0 0 1rem;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid var(--teal);
  color: var(--ink-soft);
}

.post-html-content .post-inline-figure {
  margin: 1rem 0;
}

@media (max-width: 720px) {
  .wp-editor-top {
    flex-direction: column;
    align-items: stretch;
  }

  .wp-editor-tabs {
    width: 100%;
  }

  .wp-editor-tab {
    flex: 1;
  }

  .wp-tool {
    font-size: 0.75rem;
  }
}

.leads-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.lead-motivo {
  max-width: 280px;
  white-space: pre-wrap;
}

.lead-status {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.lead-status.is-attended {
  background: color-mix(in srgb, #2f9e44 16%, white);
  color: #1b6b2c;
}

.lead-status.is-archived {
  background: #eef1f1;
  color: #5a6a6a;
}

.contact-form textarea,
.admin-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  grid-column: 1 / -1;
  color: var(--coral-deep);
  margin: 0;
}

.instagram-section {
  background:
    radial-gradient(600px 240px at 90% 0%, color-mix(in srgb, var(--coral) 8%, transparent), transparent 60%),
    radial-gradient(500px 220px at 10% 30%, color-mix(in srgb, var(--teal) 7%, transparent), transparent 55%),
    var(--white);
  border-top: 1px solid var(--line);
}

.instagram-section .reels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.reel-card {
  display: grid;
  gap: 0.7rem;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--teal-soft), #ffffff);
  box-shadow: var(--shadow);
}

.reel-frame.is-post {
  aspect-ratio: 1 / 1;
  max-height: 420px;
}

.reel-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* um pouco mais alto para esconder a barra de curtidas embaixo */
  height: calc(100% + 72px);
  border: 0;
}

.reel-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
}

.reel-link:hover {
  color: var(--coral);
}

.reels-empty {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.instagram-cta {
  margin-top: 2rem;
}

.site-footer {
  padding: 2.25rem 1.25rem 1.4rem;
  background:
    radial-gradient(500px 180px at 100% 0%, color-mix(in srgb, var(--coral) 32%, transparent), transparent 55%),
    linear-gradient(
      135deg,
      var(--teal-deep) 0%,
      var(--teal) 55%,
      color-mix(in srgb, var(--teal) 72%, black) 100%
    );
  color: rgba(255, 255, 255, 0.85);
}

.site-footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto 1.35rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0 0 0.35rem;
  color: white;
  font-size: 1.35rem;
}

.footer-meta,
.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.site-footer a,
.site-footer a:visited,
.footer-links a,
.footer-links a:visited,
.footer-whatsapp a,
.footer-whatsapp a:visited {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer a:hover,
.footer-links a:hover,
.footer-whatsapp a:hover {
  color: #fff;
}

.footer-copy {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.blog-page,
.post-page {
  padding-top: calc(var(--header-h) + 2.25rem);
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.blog-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
}

.blog-item h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-item .btn {
  margin-top: 0.75rem;
  width: auto;
}

.blog-empty {
  padding: 2.5rem 0;
}

.location-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: stretch;
}

.location-copy h2 {
  margin: 0 0 0.85rem;
  color: var(--name);
}

.location-address,
.location-phone {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  white-space: pre-line;
}

.location-phone a {
  color: var(--teal);
  font-weight: 700;
}

.location-copy .btn {
  margin-top: 0.85rem;
}

.location-map {
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #e8eef7;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.location-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.location-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef7;
  aspect-ratio: 4 / 3;
}

.location-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-whatsapp {
  margin: 0.7rem 0 0;
}

.footer-whatsapp a {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

.footer-whatsapp-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer-whatsapp strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.form-fields-admin {
  display: grid;
  gap: 1rem;
}

.form-field-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfe;
}

.form-field-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-field-card-head strong {
  color: var(--teal-deep);
  font-size: 0.95rem;
}

.form-field-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field-card-grid label,
.form-field-card-options .checkbox-row {
  min-width: 0;
}

.form-field-card-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding-top: 0.15rem;
}

.form-fields-add {
  justify-self: start;
}

.lead-fields {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.seo-preview {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.seo-preview-title {
  margin: 0 0 0.2rem;
  color: #1a0dab;
  font-size: 1.15rem;
  font-weight: 500;
}

.seo-preview-url {
  margin: 0 0 0.35rem;
  color: #006621;
  font-size: 0.88rem;
}

.seo-preview-desc {
  margin: 0;
  color: #545454;
  font-size: 0.92rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--coral);
}

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

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

@media (max-width: 640px) {
  .form-field-card {
    padding: 0.95rem;
  }

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

  .form-field-card-head .btn,
  .form-fields-add {
    width: 100%;
  }

  .form-field-card-options {
    flex-direction: column;
    gap: 0.65rem;
  }
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.blog-pagination-nav {
  font-size: 0.95rem;
  color: var(--ink);
  text-transform: lowercase;
}

.blog-pagination-nav:hover {
  color: var(--teal);
}

.blog-pagination-nav.is-disabled {
  color: color-mix(in srgb, var(--ink-soft) 55%, white);
  pointer-events: none;
}

.blog-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.blog-pagination-page {
  display: inline-flex;
  min-width: 1.5rem;
  justify-content: center;
  font-weight: 600;
  color: var(--ink);
}

.blog-pagination-page:hover {
  color: var(--teal);
}

.blog-pagination-page.is-active {
  color: var(--coral);
}

.blog-pagination-ellipsis {
  color: var(--ink-soft);
  user-select: none;
}

@media (max-width: 640px) {
  .blog-pagination {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .blog-pagination-pages {
    order: -1;
    width: 100%;
  }
}

.post-cover {
  width: min(900px, 100%);
  margin: 0 auto 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.post-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.post-article {
  width: min(760px, 100%);
  margin: 0 auto;
}

.post-article h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  margin: 0 0 1.4rem;
  color: var(--teal-deep);
}

.post-text-block p {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.post-inline-link {
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.post-inline-link:hover {
  color: var(--teal-deep);
}

.admin-form code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(0, 128, 128, 0.08);
  color: var(--teal-deep);
}

.post-inline-figure {
  margin: 1.6rem auto;
  text-align: center;
}

.post-inline-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.post-inline-figure.size-small,
.post-html-content figure.size-small {
  max-width: 220px;
}

.post-inline-figure.size-medium,
.post-html-content figure.size-medium {
  max-width: 420px;
}

.post-inline-figure.size-large,
.post-html-content figure.size-large {
  max-width: 640px;
}

.post-inline-figure.size-full,
.post-html-content figure.size-full {
  max-width: 100%;
}

.publisher-card {
  width: min(760px, 100%);
  margin: 2.75rem auto 0;
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.publisher-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.publisher-name {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
  color: var(--name);
}

.publisher-meta {
  margin: 0 0 0.85rem;
}

/* ===== Admin moderno (sidebar + content) ===== */
.admin-body {
  background: #f4f6f9;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #f4f6f9;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: linear-gradient(180deg, #243447 0%, #1a2433 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 1rem 0.85rem 1.5rem;
  z-index: 60;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.admin-sidebar-brand strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.15;
}

.admin-sidebar-brand small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  max-width: 10.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0.4rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-sidebar-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #31425a;
}

.admin-sidebar-user strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.admin-sidebar-user span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.admin-sidebar-label {
  margin: 0.35rem 0.75rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.2rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.admin-nav-link.is-active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.admin-nav-ico {
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.admin-nav-ico svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.admin-sidebar-backdrop {
  display: none;
}

.admin-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(26, 39, 68, 0.08);
  backdrop-filter: blur(10px);
}

.admin-navbar-titles {
  min-width: 0;
  flex: 1;
}

.admin-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8rem;
  color: #7b8798;
}

.admin-breadcrumb a {
  color: #3b82f6;
  font-weight: 650;
}

.admin-navbar-title {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a2744;
  line-height: 1.2;
}

.admin-navbar-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.admin-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(30, 79, 138, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #1a2744;
  cursor: pointer;
}

.admin-menu-burger {
  display: grid;
  gap: 4px;
  width: 18px;
}

.admin-menu-burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-menu-toggle.is-open .admin-menu-burger i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.admin-menu-toggle.is-open .admin-menu-burger i:nth-child(2) {
  opacity: 0;
}

.admin-menu-toggle.is-open .admin-menu-burger i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.admin-main {
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.35rem 3.5rem;
}

.admin-panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.4rem 1.6rem;
  border: 1px solid rgba(26, 39, 68, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 39, 68, 0.045);
}

.admin-page-head h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #1a2744;
  font-weight: 800;
}

.admin-page-head p {
  margin: 0;
  max-width: 40rem;
  color: #66758a;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-stat {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(26, 39, 68, 0.12);
  transition: transform 0.15s ease;
}

.admin-stat:hover {
  transform: translateY(-2px);
}

.admin-stat:nth-child(1) {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.admin-stat:nth-child(2) {
  background: linear-gradient(135deg, #10b981, #059669);
}

.admin-stat:nth-child(3) {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.admin-stat:nth-child(4) {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.admin-stat-label {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.admin-stat-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.admin-block-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a2744;
}

.admin-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-action {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 39, 68, 0.08);
  background: #f8fafc;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.admin-action:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: #eff6ff;
  transform: translateY(-1px);
}

.admin-action strong {
  font-size: 1.02rem;
  color: #1a2744;
}

.admin-action span {
  font-size: 0.9rem;
  color: #66758a;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.admin-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* legado — botões antigos do topo (caso alguma página ainda use) */
.admin-top-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.admin-top-btn.is-active {
  background: #3b82f6;
  color: #fff;
}

.admin-top-btn-soft {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(280px, 86vw);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.28);
  }

  .admin-sidebar.is-open,
  body.admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .admin-sidebar-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-menu-toggle {
    display: inline-flex;
  }

  .admin-navbar-actions .btn-ghost {
    display: none;
  }

  .admin-stats,
  .admin-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-navbar {
    padding: 0.75rem 0.9rem;
  }

  .admin-main {
    padding: 0.9rem 0.9rem 5rem;
  }

  .admin-panel {
    padding: 1.05rem;
    border-radius: 16px;
  }

  .admin-stats,
  .admin-action-row {
    grid-template-columns: 1fr;
  }

  .admin-navbar-title {
    font-size: 1.15rem;
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-form {
  display: grid;
  gap: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.admin-form.site-form {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 720px) {
  .admin-form.site-form {
    grid-template-columns: 1fr;
  }
}

.admin-form .hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.seo-box {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  margin-top: 0.25rem;
  border: 1px dashed rgba(0, 128, 128, 0.35);
  border-radius: 14px;
  background: rgba(0, 128, 128, 0.04);
}

.seo-box summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-deep);
  list-style: none;
}

.seo-box summary::-webkit-details-marker {
  display: none;
}

.seo-box[open] summary {
  margin-bottom: 0.4rem;
}

.seo-box h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--teal-deep);
}

.post-form-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  top: 4.75rem;
  z-index: 5;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--teal) 10%, white),
    #fff 55%
  );
  box-shadow: 0 8px 22px rgba(26, 39, 68, 0.06);
}

/* No painel, botões “fantasma” ficam mais fáceis de reconhecer */
.admin-panel .btn-ghost,
.admin-form .btn-ghost,
.editor-toolbar .btn-ghost {
  background: #fff;
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  color: var(--teal-deep);
  box-shadow: 0 1px 0 rgba(26, 39, 68, 0.04);
}

.admin-panel .btn-ghost:hover,
.admin-form .btn-ghost:hover,
.editor-toolbar .btn-ghost:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
}

.admin-save-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(238, 243, 249, 0.75) 35%,
    rgba(238, 243, 249, 0.95) 100%
  );
}

.admin-save-float-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px rgba(26, 39, 68, 0.14);
}

@media (min-width: 981px) {
  .admin-save-float {
    left: 260px;
  }
}

.admin-save-float-hint {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.admin-form.site-form {
  padding-bottom: 6.5rem;
}

/* ---- Mapa da página + guia de seção (Meu site) ---- */
.admin-page-map {
  grid-column: 1 / -1;
  position: sticky;
  top: 4.6rem;
  z-index: 8;
  margin: 0 0 0.35rem;
  padding: 0;
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  box-shadow: 0 10px 28px rgba(26, 39, 68, 0.07);
  overflow: hidden;
}

.admin-page-map-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.admin-page-map-toggle-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.admin-page-map-toggle-copy strong {
  font-size: 1rem;
  color: #1a2744;
}

.admin-page-map-current {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-page-map-chevron {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: #eff6ff;
  position: relative;
}

.admin-page-map-chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #2563eb;
  border-bottom: 2px solid #2563eb;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.18s ease;
}

.admin-page-map:not(.is-collapsed) .admin-page-map-chevron::before {
  transform: translate(-50%, -35%) rotate(225deg);
}

.admin-page-map-body {
  padding: 0.65rem 0.85rem 0.75rem;
}

.admin-page-map-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6b82;
}

.admin-page-map-hint {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
}

.admin-page-map-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-page-map-link {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 39, 68, 0.12);
  background: #fff;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.admin-page-map-link:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
  background: #eff6ff;
}

.admin-page-map-link.is-active {
  border-color: rgba(37, 99, 235, 0.55);
  background: #2563eb;
  color: #fff;
}

.admin-section-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  margin: 0.85rem 0 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
  scroll-margin-top: 9.5rem;
}

.admin-section-guide-visual {
  display: flex;
  justify-content: center;
}

.admin-wire {
  width: 56px;
  height: auto;
  display: block;
}

.admin-wire-frame {
  fill: #fff;
  stroke: #cbd5e1;
  stroke-width: 1.5;
}

.admin-wire-notch {
  fill: #e2e8f0;
}

.admin-wire-band {
  fill: #e2e8f0;
}

.admin-wire-band.is-on {
  fill: #2563eb;
}

.admin-wire-settings {
  width: 52px;
  height: 64px;
  display: grid;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
}

.admin-wire-settings span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
}

.admin-wire-settings span:nth-child(1) {
  width: 70%;
  background: #2563eb;
}

.admin-wire-settings span:nth-child(2) {
  width: 100%;
}

.admin-wire-settings span:nth-child(3) {
  width: 85%;
}

.admin-section-guide-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3b82f6;
}

.admin-section-guide-copy strong {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #1a2744;
}

.admin-section-guide-copy p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #5b6b82;
}

.admin-form .admin-section-title {
  scroll-margin-top: 9.5rem;
}

/* Desktop: mapa sempre aberto */
@media (min-width: 981px) {
  .admin-page-map {
    padding: 0;
  }

  .admin-page-map-toggle {
    display: none !important;
  }

  .admin-page-map-body {
    display: block !important;
  }

  .admin-page-map.is-collapsed .admin-page-map-body {
    display: block !important;
  }
}

/* Tablet + celular: mapa recolhido, abre com a seta */
@media (max-width: 980px) {
  .admin-page-map {
    top: 4.25rem;
  }

  .admin-page-map-toggle {
    display: flex;
  }

  .admin-page-map.is-collapsed .admin-page-map-body {
    display: none;
  }

  .admin-page-map:not(.is-collapsed) .admin-page-map-body {
    display: block;
    max-height: min(42vh, 320px);
    overflow: auto;
    padding-top: 0;
    border-top: 1px solid rgba(26, 39, 68, 0.08);
    -webkit-overflow-scrolling: touch;
  }

  .admin-section-guide {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.65rem;
    margin: 0.55rem 0 0.1rem;
    padding: 0.7rem 0.75rem;
    scroll-margin-top: 6.2rem;
  }

  .admin-section-guide-kicker {
    font-size: 0.68rem;
  }

  .admin-section-guide-copy strong {
    font-size: 0.95rem;
  }

  .admin-section-guide-copy p:last-child {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .admin-wire {
    width: 42px;
  }

  .admin-wire-settings {
    width: 42px;
    height: 52px;
    gap: 5px;
    padding: 8px 6px;
  }

  .admin-form .admin-section-title {
    margin-top: 0.85rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    scroll-margin-top: 6.2rem;
  }

  .admin-page-head p {
    font-size: 0.9rem;
  }

  .admin-visibility-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-form.site-form {
    gap: 0.75rem;
  }

  .admin-save-float {
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  .admin-save-float-inner {
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
  }

  .admin-save-float-hint {
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .admin-page-map {
    top: 3.9rem;
    border-radius: 14px;
  }

  .admin-page-map-toggle {
    padding: 0.75rem 0.85rem;
  }

  .admin-visibility-grid {
    grid-template-columns: 1fr;
  }

  .admin-visibility-item {
    padding: 0.7rem 0.75rem;
  }

  .admin-section-guide-visual {
    align-self: start;
    padding-top: 0.15rem;
  }

  .admin-ui-group {
    padding: 0.85rem 0.9rem 0.95rem;
  }

  .admin-form.site-form {
    padding-bottom: 7.5rem;
  }
}

.admin-post-preview {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--teal) 8%, white),
    #fff 40%
  );
}

.admin-post-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-post-preview-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--teal-deep);
}

.admin-post-preview-card {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-post-preview-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  color: var(--ink);
}

.admin-post-preview-cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .admin-save-float-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-save-float-inner .btn {
    width: 100%;
  }
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-tag {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.quick-tag.is-on {
  background: rgba(0, 128, 128, 0.12);
  border-color: var(--teal);
  color: var(--teal-deep);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal-deep);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.post-tag:hover {
  background: rgba(224, 96, 64, 0.14);
  color: var(--coral-deep);
}

.admin-quick-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.metrics-intro {
  margin-bottom: 1.5rem;
}

.metrics-intro h2 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
}

.metrics-intro p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 52rem;
}

.metrics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.metrics-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 0.35rem;
}

.metrics-card span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
}

.metrics-card strong {
  font-size: 1.85rem;
  color: var(--teal-deep);
  line-height: 1.1;
}

.metrics-panel {
  margin-bottom: 2rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.metrics-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--teal-deep);
}

.metrics-bars {
  display: grid;
  gap: 0.55rem;
}

.metrics-bar-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr 2.5rem;
  gap: 0.65rem;
  align-items: center;
}

.metrics-bar-label {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.metrics-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.1);
  overflow: hidden;
}

.metrics-bar-fill {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.metrics-bar-value {
  text-align: right;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .metrics-bar-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label value"
      "bar bar";
    gap: 0.35rem 0.75rem;
  }

  .metrics-bar-label {
    grid-area: label;
  }

  .metrics-bar-value {
    grid-area: value;
  }

  .metrics-bar-track {
    grid-area: bar;
  }
}

.reels-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.35rem;
}

.reel-field {
  display: grid;
  gap: 0.55rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.reel-field:last-of-type {
  border-bottom: 0;
}

.reel-field-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.success-note {
  color: var(--teal-deep) !important;
  font-weight: 600;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, #eef3f9 0%, #f7f9fc 50%, #fff 100%);
}

.login-card {
  width: min(420px, 100%);
  padding: 2.1rem 2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 79, 138, 0.1);
  box-shadow: 0 16px 40px rgba(26, 39, 68, 0.08);
}

.login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.status-pill {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill.active {
  background: rgba(0, 128, 128, 0.12);
  color: var(--teal-deep);
}

.status-pill.inactive {
  background: rgba(224, 96, 64, 0.12);
  color: var(--coral-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.1s;
}

.blog-item-fallback {
  height: 160px;
  border-radius: 14px;
  background: linear-gradient(135deg, #008080, #e06040);
}

.blog-item-date {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

/* Tablets */
@media (max-width: 1024px) {
  :root {
    --page-pad: 1.15rem;
  }

  .section {
    padding: 3.25rem var(--page-pad);
  }

  .spotlight {
    padding-top: calc(var(--header-h) + 1.5rem);
  }

  .spotlight-grid {
    gap: 1.35rem;
  }

  .mini-profile-photo-wrap {
    flex-basis: 168px;
    width: 168px;
    height: 168px;
  }

  .instagram-section .reels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-section .reels-grid > :nth-child(3) {
    grid-column: 1 / -1;
    max-width: 380px;
    margin-inline: auto;
  }
}

/* Celulares e tablets menores */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --page-pad: 1rem;
  }

  .site-header-inner {
    padding: 0 var(--page-pad);
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-role {
    font-size: 0.64rem;
  }

  .spotlight-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .spotlight-form-panel {
    position: static;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

  .spotlight-intro {
    padding: 0.9rem 0.95rem;
    margin-bottom: 1.5rem;
  }

  .spotlight-intro h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
  }

  .spotlight-intro .lead {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 40, 40, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 0.5rem);
    right: var(--page-pad);
    left: var(--page-pad);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 55;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 10px;
  }

  .site-nav a:active {
    background: var(--teal-soft);
  }

  .nav-cta {
    justify-content: center;
    text-align: center;
    margin-top: 0.25rem;
  }

  .blog-item img,
  .blog-item-fallback {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    gap: 0.75rem 1rem;
  }

  .reel-frame {
    max-height: 480px;
    margin-inline: auto;
    width: min(100%, 340px);
  }

  .reel-card {
    justify-items: center;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 0.9rem;
    --header-h: 62px;
  }

  .section {
    padding: 2.4rem var(--page-pad);
  }

  .spotlight {
    padding-top: calc(var(--header-h) + 1.1rem);
    padding-bottom: 2.4rem;
  }

  .contact-form,
  .contact-success {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .mini-profile {
    padding: 0.95rem;
    gap: 1rem;
  }

  .mini-profile-head {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
  }

  .mini-profile-photo-wrap {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    border-width: 3px;
    box-shadow:
      0 10px 24px rgba(0, 100, 100, 0.16),
      0 0 0 5px rgba(0, 128, 128, 0.08);
  }

  .mini-profile-name {
    font-size: 1.35rem;
  }

  .mini-profile-role,
  .mini-profile-crp {
    font-size: 0.88rem;
  }

  .credential-list {
    gap: 0.45rem;
    margin: 0.85rem 0;
  }

  .credential-list li {
    font-size: 0.94rem;
  }

  .spotlight-form-panel {
    padding: 1.1rem;
  }

  .spotlight-form-head h3 {
    font-size: 1.35rem;
  }

  .instagram-section .reels-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .instagram-section .reels-grid > :nth-child(3) {
    max-width: none;
  }

  .reel-frame {
    width: min(100%, 320px);
    max-height: 520px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .admin-actions .btn,
  .reel-field-actions .btn,
  .quick-tags .quick-tag,
  .post-tag {
    width: auto;
  }

  .publisher-card {
    flex-direction: column;
    text-align: center;
  }

  .post-article {
    width: 100%;
  }

  .post-article h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .post-cover {
    border-radius: 12px;
    margin-bottom: 1.35rem;
  }

  .admin-top,
  .admin-quick-card,
  .post-form-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-nav {
    width: 100%;
  }

  .admin-nav .btn {
    flex: 1;
    justify-content: center;
  }

  .site-footer {
    padding: 2rem var(--page-pad) 4.5rem;
  }
}

/* Botão flutuante WhatsApp — PC / tablet / celular */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, calc(0.85rem + env(safe-area-inset-bottom, 0px)));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0 1rem 0 0.7rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow:
    0 10px 28px rgba(18, 140, 70, 0.38),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: wa-float-in 0.45s ease both;
}

.wa-float:hover,
.wa-float:focus-visible {
  background: #1ebe57;
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 14px 32px rgba(18, 140, 70, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

.wa-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.wa-float-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  animation: wa-float-pulse 2.4s ease-in-out infinite;
}

.wa-float-icon svg {
  display: block;
}

.wa-float-text {
  font-family: var(--font-body), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-right: 0.2rem;
  white-space: nowrap;
}

@keyframes wa-float-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wa-float-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 720px) {
  .wa-float {
    min-height: 58px;
    min-width: 58px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  }

  .wa-float-icon {
    width: 58px;
    height: 58px;
    background: transparent;
  }

  .wa-float-icon svg {
    width: 30px;
    height: 30px;
  }

  .wa-float-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float-icon {
    animation: none;
  }

  .wa-float:hover,
  .wa-float:focus-visible {
    transform: none;
  }
}

/* ===== Landing (estilo página de psicóloga online) ===== */
.land-hero {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 3rem;
}

.land-hero-grid,
.land-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.land-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--name);
  font-weight: 600;
}

.land-hero .lead,
.land-section .lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 40rem;
}

.land-checklist {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.land-checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
  font-weight: 500;
}

.land-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 18%, transparent);
}

.land-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.land-hero-card {
  background: color-mix(in srgb, white 88%, var(--teal-soft));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.75rem 1.5rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.land-hero-photo {
  margin: 0 auto 1rem;
  width: 180px;
  height: 180px;
  flex: none;
}

.land-hero-meta {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

.land-section {
  padding: 3.5rem 1.25rem;
}

.land-soft {
  background:
    radial-gradient(700px 280px at 10% 0%, color-mix(in srgb, var(--coral) 10%, transparent), transparent 60%),
    radial-gradient(600px 260px at 90% 100%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 55%),
    color-mix(in srgb, var(--teal-soft) 55%, white);
}

.land-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.land-cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.land-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--teal) 8%, transparent);
}

.land-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--teal-deep);
}

.land-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.land-section-note {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  text-align: center;
  color: var(--ink);
  font-weight: 500;
}

.land-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--teal-soft);
}

.land-quote {
  padding: 3rem 1.25rem;
  background: linear-gradient(135deg, var(--teal-deep), color-mix(in srgb, var(--teal) 70%, black));
  color: #fff;
}

.land-quote blockquote {
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
  color: #fff;
}

/* Força contraste: o seletor global `p` usa cor escura e cobria o branco herdado */
.land-quote p,
.land-quote cite {
  color: #ffffff;
}

.land-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.land-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}

.land-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.land-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 0.75rem;
}

.land-stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--teal-deep);
}

.land-stat span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.land-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}

.land-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.land-faq-item summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}

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

.land-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 700;
}

.land-faq-item[open] summary::after {
  content: "–";
}

.land-faq-item p {
  margin: 0.75rem 0 0.2rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.land-final-cta {
  padding: 3.5rem 1.25rem;
  background:
    radial-gradient(600px 240px at 20% 0%, color-mix(in srgb, var(--coral) 22%, transparent), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--teal-soft) 80%, white), #fff);
  text-align: center;
}

.land-final-cta h2 {
  margin: 0 auto 0.85rem;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--name);
}

.land-final-cta p {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.land-final-cta .land-cta-row {
  justify-content: center;
}

.land-contact .spotlight-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.land-split {
  max-width: 760px;
}

@media (max-width: 900px) {
  .land-hero-grid,
  .land-about-grid,
  .land-cards,
  .land-cards-2,
  .land-stats {
    grid-template-columns: 1fr;
  }

  .land-hero-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

