/* ═══════════════════════════════════════════════════════════════
   DRA. MARCELA GOUVEIA — Design System CSS v4
   Paleta: #1C1008 · #C9A96E · #F7F3EF
   Fonte: DM Sans (corpo/UI) + Cormorant Garamond (display/serif)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ───────────────────────────────────────────────── */
:root {
  /* Cores — sobrescritas pelo banco */
  --gold:          #C9A96E;
  --gold-dark:     #A07840;
  --gold-light:    #F0E6D0;
  --gold-bright:   #D4AF37;
  --brown:         #1C1008;
  --brown-mid:     #2A1A08;
  --brown-warm:    #3D2510;
  --cream:         #F7F3EF;
  --cream-dark:    #EDE5D8;

  /* Aliases dinâmicos (sobrescritos inline via PHP) */
  --color-primary:       var(--gold);
  --color-primary-dark:  var(--gold-dark);
  --color-primary-light: var(--gold-light);
  --color-secondary:     var(--gold-bright);
  --color-bg-dark:       var(--brown);
  --color-bg-medium:     var(--brown-mid);
  --color-bg-cream:      var(--cream);
  --color-surface:       var(--cream);
  --color-text:          var(--brown);
  --color-text-on-dark:  #F7F3EF;
  --color-border:        #D6C9B2;
  --color-border-dark:   rgba(201,169,110,.22);
  --color-muted:         #8A7560;
  --color-text-soft:     #5C4A35;

  /* Semânticas */
  --color-success: #4A7C5A;
  --color-danger:  #9B3A3A;
  --color-warning: #C9A96E;
  --color-info:    #4A6B8A;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Espaçamento */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5.5rem;

  /* Bordas */
  --radius-sm:   0.25rem;
  --radius-md:   0.375rem;
  --radius-lg:   0.625rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm:   0 1px 3px rgba(28,16,8,.18);
  --shadow-md:   0 4px 16px rgba(28,16,8,.22);
  --shadow-lg:   0 12px 32px rgba(28,16,8,.28);
  --shadow-xl:   0 24px 48px rgba(28,16,8,.32);
  --shadow-gold: 0 6px 24px rgba(201,169,110,.35);

  /* Transições */
  --t-fast: 150ms ease;
  --t-base: 280ms ease;
  --t-slow: 480ms ease;

  /* Layout */
  --nav-h:           4.5rem;
  --sidebar-w:       270px;
  --content-max:     80rem;
}

/* ── 2. RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.public-body {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--brown); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── 3. TIPOGRAFIA ───────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }

.text-display {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.05;
}
.text-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.2;
}
.text-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.4;
}
.text-body  { font-size: 1rem; line-height: 1.7; }
.text-small { font-size: .875rem; line-height: 1.65; }
.text-xs    { font-size: .75rem; line-height: 1.5; }
.text-label {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 4. UTILITÁRIOS DE COR ───────────────────────────────────── */
.bg-dark    { background: var(--brown) !important; }
.bg-medium  { background: var(--brown-mid) !important; }
.bg-warm    { background: var(--brown-warm) !important; }
.bg-cream   { background: var(--cream) !important; }
.bg-gold    { background: var(--gold) !important; }
.text-gold  { color: var(--gold) !important; }
.text-muted { color: var(--color-muted) !important; }
.text-soft  { color: var(--color-text-soft) !important; }
.text-dark  { color: var(--brown) !important; }
.text-on-dark { color: var(--color-text-on-dark) !important; }

/* Seções */
.section-dark   { background: var(--brown); }
.section-medium { background: var(--brown-mid); }
.section-warm   { background: var(--brown-warm); }
.section-light  { background: var(--cream); }
.section-cream  { background: var(--cream-dark); }

/* ── 5. LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section    { padding-block: var(--space-3xl); }
.section-md { padding-block: var(--space-2xl); }
.section-sm { padding-block: var(--space-xl); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
}
.grid-auto-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ── 6. NAV ──────────────────────────────────────────────────── */
.nav-public {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(28,16,8,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-dark);
  transition: box-shadow var(--t-base);
}
.nav-public.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.5); }

.nav-public__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  gap: 1rem;
}

/* Logo */
.nav-public__logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-public__logo-img { height: 2.75rem; width: auto; object-fit: contain; }
.nav-public__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-public__logo-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--gold);
}
.nav-public__logo-tagline {
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Links desktop */
.nav-public__links {
  display: flex;
  align-items: center;
  gap: clamp(.875rem, 2vw, 1.75rem);
}

.nav-public__link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247,243,239,.6);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}
.nav-public__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-base);
}
.nav-public__link:hover,
.nav-public__link.active { color: var(--gold); }
.nav-public__link:hover::after,
.nav-public__link.active::after { width: 100%; }

/* CTA nav */
.nav-public__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--t-base);
  flex-shrink: 0;
}
.nav-public__cta:hover { background: var(--gold); color: var(--brown); }

/* Burger */
.nav-public__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--brown);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 1.25rem clamp(1rem,5vw,2.5rem) 1.5rem;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile.open { display: flex; }

.nav-mobile__link {
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(247,243,239,.65);
  padding: .75rem 0;
  border-bottom: 1px solid var(--color-border-dark);
  transition: color var(--t-fast);
}
.nav-mobile__link:last-of-type { border-bottom: none; }
.nav-mobile__link:hover,
.nav-mobile__link.active { color: var(--gold); }

@media (max-width: 960px) {
  .nav-public__links { display: none; }
  .nav-public__toggle { display: flex; }
}
@media (max-width: 480px) {
  .nav-public__cta { display: none; }
}

/* ── 7. BOTÕES ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--brown);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: rgba(247,243,239,.85);
  border-color: rgba(247,243,239,.35);
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--color-muted);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--cream); color: var(--brown); }

.btn-danger  { background: var(--color-danger);  color: #fff; border-color: var(--color-danger); }
.btn-success { background: var(--color-success); color: #fff; border-color: var(--color-success); }
.btn-danger:hover,
.btn-success:hover { opacity: .85; transform: translateY(-1px); }

.btn-sm { padding: .5rem 1.25rem; font-size: .75rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: .875rem; }
.btn-xl { padding: 1.125rem 3rem; font-size: .875rem; }
.btn-icon { padding: .625rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── 8. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--brown);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .55;          /* visível mas não ofuscante */
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(28,16,8,.92) 0%,
    rgba(28,16,8,.78) 55%,
    rgba(28,16,8,.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-2xl);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: #F7F3EF;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero__title-accent { color: var(--gold); display: block; }

.hero__subtitle {
  font-size: clamp(.9375rem, 2vw, 1.0625rem);
  color: rgba(247,243,239,.6);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: .01em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,169,110,.2);
  flex-wrap: wrap;
  gap: 0;
}

.hero__stat {
  padding-right: 2rem;
  margin-right: 2rem;
  border-right: 1px solid rgba(201,169,110,.2);
}
.hero__stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hero__stat-label {
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247,243,239,.4);
  margin-top: .25rem;
}

@media (max-width: 600px) {
  .hero__stats { gap: 1.5rem; }
  .hero__stat { border-right: none; padding-right: 0; margin-right: 0; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ── Hero stats (novo — responsivo) ─────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,169,110,.2);
}

.hero-stat { text-align: left; }

.hero-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 2.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.hero-stat__unit {
  font-size: 1.375rem;
}

.hero-stat__label {
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247,243,239,.4);
  margin-top: .3rem;
  line-height: 1.4;
}

.hero-stat__divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(201,169,110,.2);
  margin: 0 clamp(1rem, 3vw, 2rem);
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: .75rem;
  }
  .hero-stat__divider { display: none; }
  .hero-stat { text-align: center; }
  .hero-stat__num { font-size: 1.625rem; }
  .hero-stat__label { font-size: .575rem; letter-spacing: .1em; }
}

/* ── 9. SEÇÃO TÍTULOS ────────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-title__eyebrow {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .875rem;
}

.section-title__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.section-dark  .section-title__heading,
.section-medium .section-title__heading,
.section-warm  .section-title__heading { color: #F7F3EF; }
.section-light .section-title__heading,
.section-cream .section-title__heading { color: var(--brown); }

.section-title__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  margin-bottom: .875rem;
}
.section-title__ornament::before,
.section-title__ornament::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}
.section-title__diamond {
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.section-title__sub {
  font-size: clamp(.875rem, 1.5vw, 1rem);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.8;
  font-weight: 300;
}
.section-dark  .section-title__sub,
.section-medium .section-title__sub,
.section-warm  .section-title__sub { color: rgba(247,243,239,.55); }
.section-light .section-title__sub { color: var(--color-text-soft); }

/* ── 10. CARDS ───────────────────────────────────────────────── */
/* Card escuro (padrão público) */
.card {
  background: rgba(42,26,8,.65);
  border: 1px solid var(--color-border-dark);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: rgba(201,169,110,.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card__image {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  opacity: .88;
  transition: opacity var(--t-base), transform var(--t-slow);
}
.card:hover .card__image { opacity: 1; transform: scale(1.03); }

.card__body { padding: 1.25rem 1.5rem; flex: 1; }

.card__label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: #F7F3EF;
  margin-bottom: .5rem;
  letter-spacing: .02em;
  line-height: 1.3;
}
.card__text {
  font-size: .875rem;
  color: rgba(247,243,239,.55);
  line-height: 1.7;
}

.card__footer {
  padding: .875rem 1.5rem;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Card claro (admin) */
.card-light {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
}
.card-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-light .card__title { color: var(--brown); }
.card-light .card__text  { color: var(--color-text-soft); }

/* ── 11. PROFISSIONAIS ───────────────────────────────────────── */
.professional-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border-dark);
  background: rgba(42,26,8,.45);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.professional-card::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-base);
}
.professional-card:hover::after { width: 60%; }
.professional-card:hover {
  border-color: rgba(201,169,110,.45);
  background: rgba(42,26,8,.8);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.professional-card__avatar {
  width: 7rem; height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--color-border-dark);
  transition: border-color var(--t-base);
}
.professional-card:hover .professional-card__avatar { border-color: var(--gold); }

.professional-card__avatar-placeholder {
  width: 7rem; height: 7rem;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,.1);
  color: var(--gold);
  font-size: 2.5rem;
  border: 1px solid var(--color-border-dark);
}

.professional-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #F7F3EF;
  margin-bottom: .2rem;
  letter-spacing: .03em;
}
.professional-card__specialty {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .875rem;
}
.professional-card__bio {
  font-size: .875rem;
  color: rgba(247,243,239,.5);
  line-height: 1.7;
}

/* ── 12. FORMULÁRIOS ─────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,169,110,.2);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: #F7F3EF;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,169,110,.15);
}
.form-control::placeholder { color: rgba(247,243,239,.28); }
.form-control:disabled { opacity: .5; cursor: not-allowed; }

.form-control-light {
  background: #fff;
  border: 1.5px solid var(--color-border);
  color: var(--brown);
  border-radius: var(--radius-md);
}
.form-control-light:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,.12); }
.form-control-light::placeholder { color: var(--color-muted); }

textarea.form-control,
textarea.form-control-light { resize: vertical; min-height: 120px; }

select.form-control,
select.form-control-light {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A96E' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

.form-error { font-size: .8rem; color: #E07070; margin-top: .25rem; }
.form-hint  { font-size: .8rem; color: var(--color-muted); margin-top: .25rem; }

/* ── 13. BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .75rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge-primary   { background: rgba(201,169,110,.12); color: var(--gold);   border-color: rgba(201,169,110,.28); }
.badge-success   { background: rgba(74,124,90,.12);   color: #6AAD80; border-color: rgba(74,124,90,.28); }
.badge-warning   { background: rgba(201,169,110,.12); color: #D4AF37; border-color: rgba(201,169,110,.28); }
.badge-danger    { background: rgba(155,58,58,.12);   color: #E07070; border-color: rgba(155,58,58,.28); }
.badge-info      { background: rgba(74,107,138,.12);  color: #7AABCC; border-color: rgba(74,107,138,.28); }
.badge-muted     { background: rgba(138,117,96,.1);   color: var(--color-muted); border-color: rgba(138,117,96,.2); }
.badge-pending   { background: rgba(201,169,110,.1);  color: #C9A96E; border-color: rgba(201,169,110,.22); }
.badge-confirmed { background: rgba(74,124,90,.1);    color: #6AAD80; border-color: rgba(74,124,90,.22); }
.badge-canceled  { background: rgba(155,58,58,.1);    color: #E07070; border-color: rgba(155,58,58,.22); }
.badge-completed { background: rgba(74,107,138,.1);   color: #7AABCC; border-color: rgba(74,107,138,.22); }

/* ── 14. TABELAS ─────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-lg);
}
.table { width: 100%; border-collapse: collapse; }
.table th {
  padding: .875rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  background: var(--cream);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.table td {
  padding: .875rem 1rem;
  font-size: .9rem;
  color: var(--brown);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(201,169,110,.04); }
.table-actions { display: flex; gap: .375rem; align-items: center; }

/* ── 15. ALERTAS ─────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 1.25rem;
  border-left: 3px solid;
  margin-bottom: 1.25rem;
  font-size: .9rem;
}
.alert-success { background: rgba(74,124,90,.1);  border-color: #4A7C5A; color: #6AAD80; }
.alert-danger  { background: rgba(155,58,58,.1);  border-color: #9B3A3A; color: #E07070; }
.alert-warning { background: rgba(201,169,110,.1);border-color: var(--gold); color: var(--gold); }
.alert-info    { background: rgba(74,107,138,.1); border-color: #4A6B8A; color: #7AABCC; }

/* ── 16. FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--color-border-dark); }
.faq-item:last-child { border-bottom: none; }

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  color: #F7F3EF;
  background: transparent;
  letter-spacing: .02em;
  transition: color var(--t-fast);
}
.faq-item__question:hover,
.faq-item.open .faq-item__question { color: var(--gold); }

.faq-item__icon {
  color: var(--gold);
  flex-shrink: 0;
  font-size: .875rem;
  opacity: .7;
  transition: transform var(--t-base);
}
.faq-item.open .faq-item__icon { transform: rotate(180deg); opacity: 1; }

.faq-item__answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: .9375rem;
  color: rgba(247,243,239,.55);
  line-height: 1.85;
}
.faq-item.open .faq-item__answer { display: block; }

/* FAQ claro */
.faq-light .faq-item { border-color: var(--color-border); }
.faq-light .faq-item__question { color: var(--brown); }
.faq-light .faq-item__question:hover,
.faq-light .faq-item.open .faq-item__question { color: var(--gold-dark); }
.faq-light .faq-item__answer { color: var(--color-text-soft); }

/* ── 17. REVIEWS ─────────────────────────────────────────────── */
.review-card {
  border: 1px solid var(--color-border-dark);
  padding: 2rem;
  background: rgba(42,26,8,.4);
  transition: all var(--t-base);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: .15;
  line-height: 1;
}
.review-card:hover { border-color: rgba(201,169,110,.4); background: rgba(42,26,8,.7); }

.review-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 1rem; font-size: .875rem; }
.review-stars .empty { color: rgba(201,169,110,.18); }

.review-text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: rgba(247,243,239,.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: .875rem; }
.review-author__name  { font-size: .875rem; font-weight: 600; color: #F7F3EF; }
.review-author__role  { font-size: .75rem; color: var(--color-muted); letter-spacing: .04em; }

/* ── 18. AGENDAMENTO STEPS ───────────────────────────────────── */
.booking-steps { display: flex; align-items: center; margin-bottom: 2.5rem; overflow-x: auto; }
.booking-step  { display: flex; flex-direction: column; align-items: center; gap: .375rem; min-width: 80px; }
.booking-step__num {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 600;
  color: var(--color-muted);
  background: transparent;
  transition: all var(--t-base);
}
.booking-step.active .booking-step__num { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,.1); }
.booking-step.done   .booking-step__num { border-color: var(--color-success); color: #fff; background: var(--color-success); }
.booking-step__label { font-size: .7rem; color: var(--color-muted); font-weight: 500; letter-spacing: .05em; }
.booking-step.active .booking-step__label { color: var(--gold); }
.booking-step-line { flex: 1; height: 1px; background: var(--color-border-dark); min-width: 2rem; margin-bottom: 1.25rem; }

/* ── 19. ABOUT GRID ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: block; } /* foto visível no mobile */
  .about-image__main { aspect-ratio: 4/3; max-height: 420px; }
  .about-image__frame { display: none; }
  .about-image__badge { right: 0; bottom: 0; }
}

.about-image { position: relative; }
.about-image__main { width: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-image__frame {
  position: absolute;
  top: -1rem; left: -1rem; right: 1rem; bottom: 1rem;
  border: 1px solid var(--color-border-dark);
  z-index: -1;
}
.about-image__badge {
  position: absolute;
  bottom: 1.5rem; right: -1.5rem;
  background: var(--brown);
  border: 1px solid var(--color-border-dark);
  padding: 1rem 1.5rem;
  min-width: 150px;
}
@media (max-width: 900px) {
  .about-image__badge { right: 0; }
}
.about-image__badge-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.about-image__badge-label {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,243,239,.45);
}

.about-credentials { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.about-credential {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-dark);
}
.about-credential:last-child { border-bottom: none; }
.about-credential__icon { color: var(--gold); font-size: .875rem; margin-top: .1rem; flex-shrink: 0; }
.about-credential__text { font-size: .875rem; color: rgba(247,243,239,.6); line-height: 1.65; }

/* ── 20. ADMIN LAYOUT ────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  background: var(--cream);
}

.admin-topbar {
  grid-column: 1/-1;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding-inline: 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}

.admin-sidebar {
  background: var(--brown);
  border-right: 1px solid rgba(201,169,110,.12);
  overflow-y: auto;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  padding: 1rem 0;
  transition: transform var(--t-base);
}

.admin-main { padding: 1.5rem; overflow-x: hidden; }

.admin-nav-group { margin-bottom: 1.25rem; }
.admin-nav-group__label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(201,169,110,.35);
  padding: 0 1rem .375rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .6rem 1rem;
  font-size: .8375rem;
  font-weight: 400;
  color: rgba(247,243,239,.48);
  transition: all var(--t-fast);
  border-left: 2px solid transparent;
  position: relative;
}
.admin-nav-link:hover { background: rgba(201,169,110,.06); color: var(--gold); }
.admin-nav-link.active {
  background: rgba(201,169,110,.08);
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 500;
}
.admin-nav-link__icon { width: 1rem; text-align: center; flex-shrink: 0; font-size: .875rem; }
.admin-nav-link__badge {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 700;
  background: var(--color-danger);
  color: #fff;
  padding: .1rem .5rem;
  border-radius: var(--radius-full);
}

/* Stat cards admin */
.stat-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--t-base);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card__icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; flex-shrink: 0;
  background: var(--gold-light);
  color: var(--gold-dark);
}
.stat-card__label { font-size: .8rem; color: var(--color-text-soft); margin-bottom: .25rem; }
.stat-card__value { font-size: 1.75rem; font-weight: 700; color: var(--brown); line-height: 1; }
.stat-card__change { font-size: .8rem; color: var(--color-success); margin-top: .25rem; }
.stat-card__change.down { color: var(--color-danger); }

/* Page header */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.page-header__title { font-size: 1.375rem; font-weight: 700; color: var(--brown); }
.page-header__sub   { font-size: .875rem; color: var(--color-muted); margin-top: .2rem; }

/* ── 21. MOBILE ADMIN ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    top: var(--nav-h); left: 0; bottom: 0;
    z-index: 200;
    transform: translateX(-100%);
    box-shadow: var(--shadow-xl);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 199;
  }
  .admin-sidebar-overlay.open { display: block; }
}
@media (max-width: 640px) {
  .page-header { flex-direction: column; align-items: flex-start; }
  .admin-main  { padding: 1rem; }
}

/* ── 22. ÁREA DO PACIENTE ────────────────────────────────────── */
.patient-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 768px) { .patient-layout { grid-template-columns: 1fr; } }
.patient-sidebar {
  background: var(--brown);
  border-right: 1px solid rgba(201,169,110,.12);
  padding: 2rem 1rem;
}

/* ── 23. FOOTER ──────────────────────────────────────────────── */
.footer-public {
  background: #0F0804;
  border-top: 1px solid rgba(201,169,110,.12);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer-public__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 960px) { .footer-public__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-public__grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-public__logo { height: 2.5rem; margin-bottom: 1.25rem; }
.footer-public__desc { font-size: .875rem; color: rgba(247,243,239,.42); line-height: 1.8; margin-bottom: 1.25rem; }
.footer-public__heading {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-public__links { display: flex; flex-direction: column; gap: .5rem; }
.footer-public__link { font-size: .875rem; color: rgba(247,243,239,.42); transition: color var(--t-fast); }
.footer-public__link:hover { color: var(--gold); }

.footer-public__social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-public__social-link {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,169,110,.22);
  color: rgba(247,243,239,.45);
  font-size: .875rem;
  transition: all var(--t-base);
}
.footer-public__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,.08);
}

.footer-public__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,169,110,.1);
  flex-wrap: wrap;
  gap: .75rem;
}
@media (max-width: 560px) {
  .footer-public__bottom { flex-direction: column; align-items: flex-start; }
}
.footer-public__copy { font-size: .8rem; color: rgba(247,243,239,.28); }

/* ── 24. WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .625rem;
  background: linear-gradient(135deg, #C9A96E, #A07840);
  color: #1C1008;
  border-radius: var(--radius-full);
  padding: .875rem;
  box-shadow: 0 4px 20px rgba(201,169,110,.4);
  transition: all var(--t-base);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(201,169,110,.55); }
.whatsapp-float__icon { font-size: 1.5rem; line-height: 1; }
.whatsapp-float__text {
  font-size: .875rem; font-weight: 600; white-space: nowrap;
  max-width: 0; overflow: hidden;
  transition: max-width var(--t-slow);
}
.whatsapp-float:hover .whatsapp-float__text { max-width: 140px; }
@media (max-width: 480px) {
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-float__text { display: none; }
}

/* ── 25. RESULTADOS ANTES/DEPOIS ─────────────────────────────── */
.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: relative; overflow: hidden; }
.result-pair__label {
  position: absolute; bottom: .625rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(28,16,8,.85);
  color: var(--gold);
  padding: .2rem .6rem;
  z-index: 1;
}
.result-pair__label--before { left: .625rem; }
.result-pair__label--after  { right: .625rem; }

/* ── 26. UTILITÁRIOS ─────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.truncate   { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aspect-video  { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1; }
.aspect-4-3    { aspect-ratio: 4/3; }
.aspect-3-4    { aspect-ratio: 3/4; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm   { display: flex; align-items: center; gap: .5rem; }
.flex-gap-md   { display: flex; align-items: center; gap: 1rem; }
.divider       { border: none; border-top: 1px solid var(--color-border); margin-block: 1.5rem; }
.divider-dark  { border: none; border-top: 1px solid var(--color-border-dark); margin-block: 1.5rem; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, rgba(201,169,110,.05) 25%, rgba(201,169,110,.12) 50%, rgba(201,169,110,.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Animações */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-in-up { animation: fadeInUp .6s ease both; }
.animate-fade-in    { animation: fadeIn .5s ease both; }
.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }

/* Print */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── 27. CARD VARIANTES ──────────────────────────────────────── */
/* Card claro — para seções com fundo creme/branco */
.card--light {
  background: #fff;
  border: 1px solid rgba(28,16,8,.1);
}
.card--light:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(28,16,8,.12);
}
.card--light .card__title  { color: var(--brown); }
.card--light .card__text   { color: var(--color-text-soft); }
.card--light .card__label  { color: var(--gold-dark); }
.card--light .card__footer { border-color: rgba(28,16,8,.08); }

/* ── 28. PAGE HERO MINI ──────────────────────────────────────── */
.page-hero {
  background: var(--brown);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .875rem;
}
.page-hero__eyebrow::before { content: '—  '; }
.page-hero__eyebrow::after  { content: '  —'; }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: #F7F3EF;
  margin-bottom: .875rem;
  line-height: 1.15;
}

.page-hero__sub {
  font-size: clamp(.875rem, 1.5vw, 1.0625rem);
  color: rgba(247,243,239,.5);
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.8;
}

/* ── 29. SECTION HELPERS ─────────────────────────────────────── */
.section-title { /* reuse como shorthand */ }

/* Classe de bloco de título centrado — shorthand */
.block-title {
  text-align: center;
  margin-bottom: 3rem;
}
.block-title__eyebrow {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}
.block-title__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: .625rem;
}
/* cor automática pelo contexto */
.section-dark .block-title__heading,
.section-medium .block-title__heading { color: #F7F3EF; }
.section-light .block-title__heading,
.section-cream .block-title__heading  { color: var(--brown); }

.block-title__sub {
  font-size: clamp(.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  max-width: 42rem;
  margin-inline: auto;
}
.section-dark .block-title__sub,
.section-medium .block-title__sub { color: rgba(247,243,239,.5); }
.section-light .block-title__sub,
.section-cream .block-title__sub  { color: var(--color-text-soft); }

/* ── 30. CONTACT INFO ITEM ───────────────────────────────────── */
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(28,16,8,.08);
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-item--dark {
  border-color: var(--color-border-dark);
}

.contact-item__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(201,169,110,.1);
  border: 1px solid rgba(201,169,110,.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: .875rem;
}
.contact-item__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: .25rem;
}
.contact-item__value {
  font-size: .9375rem;
  color: var(--brown);
  line-height: 1.6;
}
.contact-item__value a { color: inherit; transition: color var(--t-fast); }
.contact-item__value a:hover { color: var(--gold-dark); }

/* Dark variant */
.contact-item--dark .contact-item__label { color: rgba(247,243,239,.4); }
.contact-item--dark .contact-item__value { color: rgba(247,243,239,.8); }
.contact-item--dark .contact-item__value a:hover { color: var(--gold); }

/* ── 31. FORMULÁRIO DE GRID ──────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── 32. SHARE BUTTONS ───────────────────────────────────────── */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.125rem;
  font-size: .8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.share-btn:hover { opacity: .88; transform: translateY(-1px); }
.share-btn--whatsapp { background: linear-gradient(135deg, #C9A96E, #A07840); color: #1C1008; }
.share-btn--facebook  { background: #1877F2; color: #fff; }

/* ── 33. PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* ── 34. ARTICLE BODY ────────────────────────────────────────── */
.article-body {
  color: rgba(28,16,8,.8);
  line-height: 1.9;
  font-size: 1.0625rem;
}
.article-body p    { margin-bottom: 1.25em; }
.article-body h2   { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--brown); margin: 2em 0 .75em; }
.article-body h3   { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; color: var(--brown); margin: 1.5em 0 .5em; }
.article-body ul   { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25em; }
.article-body ol   { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25em; }
.article-body li   { margin-bottom: .4em; }
.article-body strong { font-weight: 600; color: var(--brown); }
.article-body em   { font-style: italic; }
.article-body a    { color: var(--gold-dark); text-decoration: underline; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5em 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-text-soft);
}

/* ── 35. SIDEBAR STICKY ──────────────────────────────────────── */
.sidebar-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

/* ── 36. INFO BOX ────────────────────────────────────────────── */
.info-box {
  background: var(--brown);
  border: 1px solid var(--color-border-dark);
  padding: 2rem;
}
.info-box--light {
  background: #fff;
  border: 1px solid rgba(28,16,8,.1);
}
.info-box__heading {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: #F7F3EF;
  margin-bottom: 1.5rem;
}
.info-box--light .info-box__heading { color: var(--brown); }

.info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border-dark);
}
.info-row:last-child { border-bottom: none; }
.info-row--light { border-color: rgba(28,16,8,.08); }
.info-row__icon {
  width: 2.75rem; height: 2.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--color-border-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: .9375rem;
}
.info-row__icon--light {
  background: rgba(201,169,110,.08);
  border-color: rgba(201,169,110,.2);
}
.info-row__label {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247,243,239,.35);
  margin-bottom: .2rem;
}
.info-row__label--light { color: var(--color-muted); }
.info-row__value {
  font-size: .9375rem;
  color: rgba(247,243,239,.85);
}
.info-row__value--light { color: var(--brown); }

/* ── 37. BLOG CARD ───────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid rgba(28,16,8,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
}
.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(28,16,8,.1);
  transform: translateY(-3px);
}
.blog-card__image { width: 100%; height: 13rem; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .blog-card__image { transform: scale(1.04); }
.blog-card__image-wrap { height: 13rem; overflow: hidden; display: block; }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { font-size: .75rem; color: var(--color-muted); margin-bottom: .875rem; }
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.35;
  margin-bottom: .75rem;
  transition: color var(--t-fast);
}
.blog-card:hover .blog-card__title { color: var(--gold-dark); }
.blog-card__excerpt { font-size: .875rem; color: var(--color-text-soft); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.blog-card__footer {
  padding-top: .875rem;
  border-top: 1px solid rgba(28,16,8,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.blog-card__read-more {
  font-size: .8125rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: gap var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
}
.blog-card:hover .blog-card__read-more { gap: .625rem; }

/* ── 38. SERVICE CARD ────────────────────────────────────────── */
.service-card {
  background: #fff;
  border: 1px solid rgba(28,16,8,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(28,16,8,.1);
  transform: translateY(-3px);
}
.service-card__image-wrap { height: 14rem; overflow: hidden; flex-shrink: 0; }
.service-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brown), var(--brown-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 2.5rem; opacity: .6;
}
.service-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.service-card__desc { font-size: .875rem; color: var(--color-text-soft); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .875rem 0;
  border-top: 1px solid rgba(28,16,8,.07);
  border-bottom: 1px solid rgba(28,16,8,.07);
  margin-bottom: 1.25rem;
}
.service-card__meta-label {
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: .2rem;
}
.service-card__duration { font-size: .9375rem; color: var(--brown); }
.service-card__price    { font-size: 1.125rem; font-weight: 500; color: var(--gold-dark); }

/* ── 39. PROFISSIONAL PROFILE ────────────────────────────────── */
.prof-profile {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(28,16,8,.1);
  background: #fff;
}
.prof-profile__photo {
  flex: 0 0 18rem;
  min-height: 24rem;
  object-fit: cover;
  object-position: top;
}
.prof-profile__placeholder {
  flex: 0 0 18rem;
  min-height: 24rem;
  background: linear-gradient(135deg, var(--brown), var(--brown-mid));
  display: flex; align-items: center; justify-content: center;
}
.prof-profile__body { padding: 2.5rem 3rem; flex: 1; min-width: 0; }
.prof-profile__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--brown);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.prof-profile__reg  { font-size: .8125rem; color: var(--color-muted); letter-spacing: .06em; margin-bottom: 1.5rem; }
.prof-profile__bio  { color: var(--color-text-soft); line-height: 1.8; font-size: .9375rem; margin-bottom: 2rem; }
.prof-profile__services-heading {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 1rem;
}
.prof-profile__services { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 2rem; }
.prof-profile__service {
  padding: .875rem 1rem;
  border: 1px solid rgba(28,16,8,.1);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.prof-profile__service:hover { border-color: var(--gold); background: rgba(201,169,110,.04); }
.prof-profile__service-name { font-size: .9375rem; color: var(--brown); margin-bottom: .2rem; }
.prof-profile__service-desc { font-size: .8125rem; color: var(--color-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 768px) {
  .prof-profile { flex-direction: column; }
  .prof-profile__photo,
  .prof-profile__placeholder { flex: 0 0 18rem; min-height: 18rem; }
  .prof-profile__body { padding: 1.75rem; }
  .prof-profile__services { grid-template-columns: 1fr; }
}

/* ── 40. PROF CARD GRID ──────────────────────────────────────── */
.prof-card {
  background: #fff;
  border: 1px solid rgba(28,16,8,.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
}
.prof-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(28,16,8,.1); transform: translateY(-3px); }
.prof-card__photo-wrap { height: 16rem; overflow: hidden; flex-shrink: 0; position: relative; }
.prof-card__photo { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--t-slow); }
.prof-card:hover .prof-card__photo { transform: scale(1.04); }
.prof-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brown), var(--brown-mid));
  display: flex; align-items: center; justify-content: center;
}
.prof-card__placeholder-initial {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem; color: var(--gold); font-weight: 300;
}
.prof-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.prof-card__name  { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; color: var(--brown); margin-bottom: .5rem; }
.prof-card__reg   { font-size: .75rem; color: var(--color-muted); letter-spacing: .05em; margin-bottom: 1rem; }
.prof-card__bio   { font-size: .875rem; color: var(--color-text-soft); line-height: 1.7; margin-bottom: 1.25rem; flex: 1; }
.prof-card__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: auto; }

/* ── 41. FORM CARD ───────────────────────────────────────────── */
.form-card {
  background: #fff;
  border: 1px solid rgba(28,16,8,.1);
  padding: 2.5rem;
}
@media (max-width: 640px) { .form-card { padding: 1.5rem; } }

/* Form control claro dentro de seção creme */
.section-light .form-control,
.section-cream .form-control,
.form-card .form-control {
  background: #fff;
  border: 1.5px solid rgba(28,16,8,.15);
  color: var(--brown);
}
.section-light .form-control:focus,
.section-cream .form-control:focus,
.form-card .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}
.section-light .form-control::placeholder,
.section-cream .form-control::placeholder,
.form-card .form-control::placeholder { color: var(--color-muted); }
.section-light .form-label,
.section-cream .form-label,
.form-card .form-label { color: var(--color-muted); }

/* ── 42. BACK LINK ───────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  letter-spacing: .05em;
  color: rgba(247,243,239,.4);
  text-decoration: none;
  transition: color var(--t-fast);
  margin-bottom: 1.75rem;
}
.back-link:hover { color: var(--gold); }
.back-link--dark {
  color: rgba(28,16,8,.45);
}
.back-link--dark:hover { color: var(--gold-dark); }

/* ── 43. SUCCESS / ERROR STATES ──────────────────────────────── */
.state-success,
.state-error {
  padding: .875rem 1.25rem;
  border-left: 3px solid;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.state-success { background: rgba(74,124,90,.06); border-color: #4A7C5A; color: #3A6A48; }
.state-error   { background: rgba(155,58,58,.06); border-color: #9B3A3A; color: #8B2A2A; }

/* Gold states (for light sections) */
.state-success--gold { background: rgba(201,169,110,.08); border-color: var(--gold); color: var(--gold-dark); }

/* ── 44. PAGE NAV (breadcrumb area) ──────────────────────────── */
.page-nav {
  background: var(--brown);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 1.5rem 0;
}

/* ── 45. CTA BAND ────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   46. ADMIN COMPONENTS — Design System
   Estas classes são compartilhadas pelo painel admin e públicas.
   Mantê-las aqui evita duplicação com o <style> inline do layout.
   ══════════════════════════════════════════════════════════════ */

/* Tokens do admin */
:root {
  --admin-border:      rgba(28,16,8,.09);
  --admin-border-soft: rgba(28,16,8,.06);
  --admin-bg-row:      #FAF7F3;
  --admin-radius:      .5rem;
  --admin-t:           200ms ease;
}

/* Card */
.a-card {
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  overflow: hidden;
}
.a-card__header {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--admin-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  min-width: 0;
}
.a-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
}
.a-card__body { padding: 1.5rem; }

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 1.125rem 1.25rem;
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: block;  /* override: não usar flex — icon/value/label em bloco vertical */
  gap: 0;          /* remove gap do flex anterior */
  align-items: unset;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.stat-card__icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: .375rem;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: .75rem;
  flex-shrink: 0;
}
.stat-card__value {
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.stat-card__label {
  font-size: .75rem;
  color: #8A7560;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow: visible;
  display: block;
}

/* Table */
.a-table-wrap { overflow-x: auto; }
.a-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.a-table th {
  text-align: left;
  padding: .75rem 1rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8A7560;
  background: var(--admin-bg-row);
  border-bottom: 1px solid var(--admin-border-soft);
  white-space: nowrap;
}
.a-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--admin-border-soft);
  color: #3D2510;
  vertical-align: middle;
}
.a-table tr:last-child td { border-bottom: none; }
.a-table tbody tr:hover td { background: var(--admin-bg-row); }

/* Badge variants (admin + public) */
.badge--gold   { background: rgba(201,169,110,.15); color: #A07840; }
.badge--green  { background: rgba(74,124,90,.12);   color: #3A6A4A; }
.badge--red    { background: rgba(155,58,58,.12);   color: #9B3A3A; }
.badge--blue   { background: rgba(74,107,138,.12);  color: #3A5A7A; }
.badge--gray   { background: rgba(28,16,8,.07);     color: #5C4A35; }
.badge--orange { background: rgba(180,100,30,.12);  color: #B46020; }
.badge--yellow { background: rgba(210,160,20,.12);  color: #907000; }

/* Form controls (admin) */
.f-group { margin-bottom: 1.25rem; }
.f-label {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: #5C4A35;
  margin-bottom: .4rem;
}
.f-label .req { color: var(--gold-dark); margin-left: .2rem; }
.f-control {
  width: 100%;
  padding: .625rem .875rem;
  background: #fff;
  border: 1px solid rgba(28,16,8,.18);
  border-radius: .375rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--brown);
  outline: none;
  transition: border-color var(--admin-t), box-shadow var(--admin-t);
}
.f-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.f-control::placeholder { color: #B8A898; }
textarea.f-control { resize: vertical; min-height: 7rem; }
select.f-control { cursor: pointer; }
input[type="file"].f-control { padding: .375rem .875rem; cursor: pointer; }
.f-hint  { display: block; font-size: .8rem; color: #8A7560; margin-top: .35rem; }
.f-error { display: block; font-size: .8rem; color: #9B3A3A; margin-top: .35rem; }

/* Grid utilities */
.g2 { display: grid; grid-template-columns: 1fr 1fr;           gap: 1.25rem; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr;       gap: 1.25rem; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr);    gap: 1.25rem; }

/* Notification dropdown */
.notif-dropdown {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + .5rem);
  width: 22rem;
  background: #fff;
  border: 1px solid rgba(28,16,8,.1);
  border-radius: .5rem;
  box-shadow: 0 12px 32px rgba(28,16,8,.18);
  z-index: 200;
  overflow: hidden;
}
.notif-dropdown.is-open { display: block; }
.notif-dropdown__head {
  padding: .875rem 1.125rem;
  border-bottom: 1px solid rgba(28,16,8,.08);
  display: flex; align-items: center; justify-content: space-between;
}
.notif-dropdown__title { font-size: .875rem; font-weight: 600; color: var(--brown); }
.notif-dropdown__mark-all {
  font-size: .75rem; color: var(--gold-dark);
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
}
.notif-dropdown__mark-all:hover { text-decoration: underline; }
.notif-list { max-height: 22rem; overflow-y: auto; }
.notif-item {
  display: flex; gap: .875rem;
  padding: .875rem 1.125rem;
  border-bottom: 1px solid rgba(28,16,8,.05);
  cursor: pointer; transition: background var(--admin-t);
}
.notif-item:hover       { background: var(--admin-bg-row); }
.notif-item--unread     { background: rgba(201,169,110,.05); }
.notif-item__icon {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: .75rem;
  flex-shrink: 0; margin-top: .1rem;
}
.notif-item__title  { font-size: .8125rem; font-weight: 500; color: var(--brown); margin-bottom: .2rem; }
.notif-item__msg    { font-size: .75rem; color: #8A7560; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.notif-item__time   { font-size: .6875rem; color: #B8A898; margin-top: .3rem; }
.notif-dropdown__foot { padding: .75rem 1.125rem; border-top: 1px solid rgba(28,16,8,.08); text-align: center; }
.notif-dropdown__foot a { font-size: .8125rem; color: var(--gold-dark); text-decoration: none; }
.notif-dropdown__foot a:hover { text-decoration: underline; }

/* Page header */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
}
.page-header__title { font-size: 1.375rem; font-weight: 700; color: var(--brown); }
.page-header__sub   { font-size: .875rem; color: var(--color-muted); margin-top: .2rem; }

/* Utility */
.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;
}

/* Admin responsive */
@media (max-width: 1200px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .a-table th, .a-table td { padding: .75rem .875rem; }
}
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header { align-items: flex-start; gap: .75rem; }
  .a-card__header { flex-direction: column; align-items: flex-start; }
  .a-table th, .a-table td { padding: .625rem .75rem; font-size: .8125rem; }
}
@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   FIM DO DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--brown);
  border-top: 1px solid var(--color-border-dark);
  padding: 5rem 0;
  text-align: center;
}
.cta-band__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 300;
  color: #F7F3EF;
  margin-bottom: 1rem;
}
.cta-band__sub { font-size: 1.0625rem; color: rgba(247,243,239,.55); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   ADMIN VISUAL FIXES — truncation, overflow, responsive polish
   ═══════════════════════════════════════════════════════════════ */

/* Currency values: slightly smaller font */
.stat-card__value--currency {
  font-size: 1.25rem;
}

/* Card title: truncate if too long */
.a-card__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

/* stat-grid layout: definido em linha ~1943 */

/* Table columns: prevent action buttons from forcing row expansion */
.a-table td, .a-table th {
  max-width: 18rem;
}
.a-table td:last-child,
.a-table th:last-child {
  max-width: none;
  white-space: nowrap;
}

/* Long text cells (name, email) - add ellipsis when cramped */
.a-table td.cell-truncate {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* g3 grids: collapse intermediate breakpoint */
@media (max-width: 1100px) {
  .g3 { grid-template-columns: 1fr 1fr; }
}

/* Page header: don't clip action buttons on small screens */
.page-header {
  flex-wrap: wrap;
  row-gap: .75rem;
}

/* Flash messages: don't shrink icon */
.flash i { flex-shrink: 0; }

/* Ensure a-card__header title doesn't push action btn out of view */
.a-card__header {
  min-width: 0;
}
.a-card__header .btn {
  flex-shrink: 0;
}

/* Badge: prevent wrapping mid-word */
.badge {
  white-space: nowrap;
}

/* f-control: ensure inputs don't overflow their container on mobile */
.f-control {
  max-width: 100%;
  min-width: 0;
}

/* Topbar title: ellipsis on very small screens */
@media (max-width: 420px) {
  .topbar__title {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
