/* ==========================================================================
   Dr. Neurovascular — Main Stylesheet
   Mobile-first, app-web style
   Tokens: kit de marca Dr. Victor Hugo Espíndola Ala
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Palette — from tokens.json */
  --azul: #3B4259;
  --ground: #141A2E;
  --azul-medio: #5C6273;
  --dourado: #BF8E63;
  --dourado-claro: #D2B093;
  --off-white: #F2F2F2;
  --cinza: #A6A6A6;
  --branco: #FFFFFF;

  /* Semantic — theme: ground (web) */
  --fundo: var(--ground);
  --tinta: var(--off-white);
  --tinta-suave: var(--cinza);
  --acento: var(--dourado);
  --sobre-acento: var(--ground);

  /* Surfaces */
  --card-bg: var(--azul);
  --card-bg-hover: #434a63;
  --card-radius: 20px;
  --pill-radius: 9999px;

  /* Spacing (scaled from 1080px art to web) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --gutter: 16px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Typography */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-texto: "Inter", system-ui, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Z-index layers */
  --z-fab: 900;
  --z-header: 1000;
  --z-overlay: 1100;
  --z-modal: 1200;
  --z-toast: 1300;

  /* Bottom nav height (mobile) */
  --bottom-nav-h: 64px;
  --header-h: 64px;

  /* Safe areas (iOS notch, Android gesture bar) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* --------------------------------------------------------------------------
   Temas de seção (v1.0.3) — cada <section data-theme="..."> pinta o próprio
   fundo e redefine os tokens, então texto e cards sempre têm contraste (AA).
   Paleta alinhada ao link-bio: ground / surface / dourado / tinta.
   -------------------------------------------------------------------------- */
:root {
  --surface: #3B4259;
  --surface-hi: #434B63;
  --ink: #F4F2EF;
  --ink-dim: #B8BEC9;
  --sobre-gold: #262B38;
  --linha: rgba(191, 142, 99, 0.22);
  --creme: #F3EEE6;          /* fundo das seções claras (off-white quente) */
  --creme-card: #FBF8F3;     /* cards sobre seção clara (off-white, não branco puro) */
  --creme-linha: rgba(20, 26, 46, 0.10);
  --verde: #5EE98C;
  --section-y: clamp(64px, 9vw, 112px);
}

/* Escuro (padrão do site) */
[data-theme="ground"] {
  --fundo: var(--ground);
  --tinta: var(--ink);
  --tinta-suave: var(--ink-dim);
  --acento: var(--dourado);
  --sobre-acento: var(--sobre-gold);
  --card-bg: var(--surface);
  --card-bg-hover: var(--surface-hi);
  --card-borda: var(--linha);
  --titulo: var(--ink);
}

/* Azul (tons do azul da marca) */
[data-theme="azul"] {
  --fundo: var(--surface);
  --tinta: var(--ink);
  --tinta-suave: #D3D8E1;
  --acento: var(--dourado-claro);
  --sobre-acento: var(--sobre-gold);
  --card-bg: var(--ground);
  --card-bg-hover: #1b2340;
  --card-borda: var(--linha);
  --titulo: var(--ink);
}

/* Claro (off-white quente) */
[data-theme="claro"] {
  --fundo: var(--creme);
  --tinta: var(--ground);
  --tinta-suave: #4A5168;
  --acento: #8A5F36;               /* dourado escuro: AA sobre creme (≥5:1) */
  --sobre-acento: #FFFFFF;
  --card-bg: var(--creme-card);
  --card-bg-hover: #FFFFFF;
  --card-borda: var(--creme-linha);
  --titulo: var(--ground);
}

/* Dourado (fundo na cor da marca, texto ground) */
[data-theme="dourado"] {
  --fundo: var(--dourado);
  --tinta: var(--ground);
  --tinta-suave: #1E2438;
  --acento: var(--ground);
  --sobre-acento: var(--ink);
  --card-bg: var(--ground);
  --card-bg-hover: #1b2340;
  --card-borda: rgba(20, 26, 46, 0.35);
  --titulo: var(--ground);
}

[data-theme] {
  background-color: var(--fundo);
  color: var(--tinta);
}
[data-theme] h1, [data-theme] h2, [data-theme] h3, [data-theme] h4 { color: var(--titulo, var(--tinta)); }

/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-lg));
}

body {
  font-family: var(--font-texto);
  font-weight: 400;
  line-height: 1.6;
  color: var(--tinta);
  background-color: var(--fundo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--bottom-nav-h);
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--acento);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--dourado-claro);
}

a:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
  border-radius: 4px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--acento);
  color: var(--sobre-acento);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--card-radius);
  font-weight: 600;
  z-index: var(--z-toast);
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--tinta);
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--tinta-suave);
}

.kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--tinta);
}

.text-accent { color: var(--acento); }
.text-muted { color: var(--tinta-suave); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section--alt {
  background-color: var(--azul);
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  :root {
    --gutter: 24px;
  }
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(20, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(191, 142, 99, 0.15);
  padding-top: var(--safe-top);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

/* Desktop navigation */
.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.site-nav__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tinta);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast);
  position: relative;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--acento);
}

.site-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--acento);
  border-radius: 1px;
}

/* Dropdown */
.site-nav__item--has-children {
  position: relative;
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--space-md));
  min-width: 280px;
  background: var(--ground);
  border: 1px solid rgba(191, 142, 99, 0.15);
  border-radius: var(--card-radius);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.site-nav__item--has-children:hover .site-nav__dropdown,
.site-nav__item--has-children:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  color: var(--tinta-suave);
  border-radius: calc(var(--card-radius) - 4px);
  transition: all var(--duration-fast);
}

.site-nav__dropdown-link:hover {
  background: var(--azul);
  color: var(--tinta);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switcher__flag {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity var(--duration-fast);
  cursor: pointer;
}

.lang-switcher__flag:hover,
.lang-switcher__flag--active {
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: var(--z-overlay);
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tinta);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .hamburger { display: none; }
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ground);
  z-index: calc(var(--z-header) - 1);
  padding: calc(var(--header-h) + var(--space-2xl)) var(--gutter) var(--space-2xl);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--tinta);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(191, 142, 99, 0.1);
}

.mobile-menu__sublink {
  display: block;
  font-size: 1rem;
  color: var(--tinta-suave);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
}

/* --------------------------------------------------------------------------
   5. Bottom Navigation (Mobile App-Web Style)
   -------------------------------------------------------------------------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: rgba(20, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(191, 142, 99, 0.15);
  z-index: var(--z-header);
  padding-bottom: var(--safe-bottom);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-xs) var(--space-sm);
  color: var(--tinta-suave);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast);
  text-decoration: none;
}

.bottom-nav__item--active,
.bottom-nav__item:hover {
  color: var(--acento);
}

.bottom-nav__icon {
  width: 24px;
  height: 24px;
}

@media (min-width: 769px) {
  .bottom-nav { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

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

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 26, 46, 0.85) 0%,
    rgba(20, 26, 46, 0.6) 50%,
    rgba(20, 26, 46, 0.95) 100%
  );
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Diagonal motif (brand: ~33° from vertical) */
.hero__diagonal {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    123deg,
    transparent 40%,
    rgba(191, 142, 99, 0.08) 40.5%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__credentials {
  font-family: var(--font-texto);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--tinta-suave);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__title span {
  color: var(--acento);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--tinta-suave);
  max-width: 560px;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__photo {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
  }

  .hero__photo {
    display: block;
    justify-self: end;
  }

  .hero__photo img {
    max-width: 400px;
    border-radius: var(--card-radius);
  }
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--pill-radius);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--acento);
  color: var(--sobre-acento);
}

.btn--primary:hover {
  background: var(--dourado-claro);
  color: var(--sobre-acento);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 142, 99, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--tinta);
  border: 1.5px solid rgba(242, 242, 242, 0.2);
}

.btn--outline:hover {
  border-color: var(--acento);
  color: var(--acento);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 18px 36px;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(191, 142, 99, 0.08);
  text-decoration: none;
  display: block;
}

.card:hover {
  background: var(--card-bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(191, 142, 99, 0.2);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--acento);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tinta);
  margin-bottom: var(--space-sm);
}

.card__excerpt {
  font-size: 0.875rem;
  color: var(--tinta-suave);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card__link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--acento);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.card__link::after {
  content: '→';
  transition: transform var(--duration-fast);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* Card Destaque (highlight with gold left border) */
.card--destaque {
  border-left: 8px solid var(--acento);
  padding-left: calc(var(--space-xl) - 8px);
}

/* Card Material Gratuito */
.card--material {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card--material .card__badge {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--acento);
  color: var(--sobre-acento);
  padding: 4px 12px;
  border-radius: var(--pill-radius);
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   9. Section: Sobre Mim
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__photo {
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.about__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.about__credential {
  background: var(--azul);
  color: var(--tinta);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--pill-radius);
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 5fr 7fr;
  }
}

/* --------------------------------------------------------------------------
   10. Section: Doenças & Tratamentos Grids
   -------------------------------------------------------------------------- */
.conditions-grid,
.treatments-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .conditions-grid,
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .conditions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .treatments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   12. Section: Depoimentos (Testimonials)
   -------------------------------------------------------------------------- */
.testimonials__rating {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.testimonials__stars {
  color: var(--acento);
  display: flex;
  gap: 2px;
}

.testimonials__score {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--tinta);
}

.testimonials__count {
  font-size: 0.875rem;
  color: var(--tinta-suave);
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--space-xl);
  border: 1px solid rgba(191, 142, 99, 0.08);
}

.testimonial-card__text {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--tinta-suave);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--tinta);
}

.testimonial-card__badge {
  font-size: 0.75rem;
  color: var(--acento);
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   13. Section: Segunda Opinião (Steps)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-lg);
  counter-reset: step;
}

.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  counter-increment: step;
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--acento);
  color: var(--sobre-acento);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.step__content h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.step__content p {
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   14. Article (Single Doença / Tratamento)
   -------------------------------------------------------------------------- */
.article-hero {
  padding-top: calc(var(--header-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(191, 142, 99, 0.1);
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.article-hero__category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acento);
  background: rgba(191, 142, 99, 0.12);
  padding: 4px 12px;
  border-radius: var(--pill-radius);
}

.article-hero__date {
  font-size: 0.8125rem;
  color: var(--tinta-suave);
}

.article-hero h1 {
  margin-bottom: var(--space-md);
}

.article-hero__lede {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--tinta-suave);
  line-height: 1.6;
  max-width: 640px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--tinta-suave);
  padding: var(--space-md) 0;
}

.breadcrumb a {
  color: var(--tinta-suave);
}

.breadcrumb a:hover {
  color: var(--acento);
}

.breadcrumb__sep {
  color: var(--cinza);
}

/* Table of Contents */
.toc {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  border: 1px solid rgba(191, 142, 99, 0.08);
}

.toc__title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--acento);
  margin-bottom: var(--space-md);
}

.toc__list {
  counter-reset: toc;
}

.toc__item {
  counter-increment: toc;
}

.toc__link {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  color: var(--tinta-suave);
  border-bottom: 1px solid rgba(191, 142, 99, 0.06);
  transition: color var(--duration-fast);
}

.toc__link::before {
  content: counter(toc) ". ";
  color: var(--acento);
  font-weight: 600;
}

.toc__link:hover {
  color: var(--acento);
}

/* Article body prose */
.article-body {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-block: var(--space-2xl);
}

.article-body h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-body h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-body p {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.75;
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tinta-suave);
}

.article-body strong {
  color: var(--tinta);
  font-weight: 600;
}

/* Alert box */
.alert {
  background: rgba(191, 142, 99, 0.1);
  border-left: 4px solid var(--acento);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.alert--emergency {
  background: rgba(220, 53, 69, 0.1);
  border-left-color: #dc3545;
}

.alert__title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--acento);
  margin-bottom: var(--space-sm);
}

.alert--emergency .alert__title {
  color: #dc3545;
}

/* Video embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  margin-bottom: var(--space-xl);
  background: var(--azul);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed__caption {
  font-size: 0.8125rem;
  color: var(--tinta-suave);
  font-style: italic;
  margin-top: var(--space-sm);
}

/* Related links */
.related-links {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}

.related-links__title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--acento);
  margin-bottom: var(--space-md);
}

.related-links a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--tinta-suave);
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(191, 142, 99, 0.06);
}

.related-links a:hover {
  color: var(--acento);
}

/* Author box */
.author-box {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}

.author-box__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--tinta);
  margin-bottom: var(--space-xs);
}

.author-box__desc {
  font-size: 0.8125rem;
  color: var(--tinta-suave);
  line-height: 1.5;
}

/* Draft notice (CFM compliance) */
.draft-notice {
  background: rgba(255, 193, 7, 0.1);
  border: 1px dashed rgba(255, 193, 7, 0.4);
  border-radius: var(--card-radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: 0.875rem;
  color: var(--tinta-suave);
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  text-align: center;
  padding-block: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    123deg,
    transparent 50%,
    rgba(191, 142, 99, 0.06) 50.5%
  );
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--azul);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(191, 142, 99, 0.15);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.site-footer__brand img {
  height: 48px;
  margin-bottom: var(--space-md);
}

.site-footer__desc {
  font-size: 0.875rem;
  color: var(--tinta-suave);
  line-height: 1.6;
  max-width: 280px;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acento);
  margin-bottom: var(--space-md);
}

.site-footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--tinta-suave);
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

.site-footer__link:hover {
  color: var(--acento);
}

.site-footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.site-footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 242, 242, 0.06);
  border-radius: 50%;
  color: var(--tinta-suave);
  transition: all var(--duration-fast);
}

.site-footer__social a:hover {
  background: var(--acento);
  color: var(--sobre-acento);
}

/* Footer signature (CFM mandatory) */
.site-footer__signature {
  font-size: 0.75rem;
  color: var(--tinta-suave);
  text-align: center;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(191, 142, 99, 0.1);
}

.site-footer__disclaimer {
  font-size: 0.6875rem;
  color: var(--cinza);
  text-align: center;
  margin-top: var(--space-md);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   17. Floating Action Button (WhatsApp)
   -------------------------------------------------------------------------- */
.fab-whatsapp {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--space-md) + var(--safe-bottom));
  right: var(--space-md);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: var(--z-fab);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 769px) {
  .fab-whatsapp {
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 64px;
    height: 64px;
  }

  .fab-whatsapp svg {
    width: 32px;
    height: 32px;
  }
}

/* --------------------------------------------------------------------------
   18. Page: Contato
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form .form-group {
  margin-bottom: var(--space-md);
}

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tinta);
  margin-bottom: var(--space-xs);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px var(--space-md);
  background: var(--card-bg);
  border: 1px solid rgba(191, 142, 99, 0.15);
  border-radius: 12px;
  color: var(--tinta);
  font-family: var(--font-texto);
  font-size: 0.9375rem;
  transition: border-color var(--duration-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--acento);
  box-shadow: 0 0 0 3px rgba(191, 142, 99, 0.15);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(191, 142, 99, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acento);
}

/* Map embed */
.map-embed {
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: var(--space-xl);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Ruler (brand motif) */
.ruler {
  width: 72px;
  height: 6px;
  background: var(--acento);
  border-radius: 3px;
  margin-bottom: var(--space-lg);
}

.ruler--center {
  margin-inline: auto;
}

/* Separator */
.separator {
  height: 1px;
  background: rgba(191, 142, 99, 0.1);
  margin-block: var(--space-3xl);
}

/* --------------------------------------------------------------------------
   20. Animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
  }

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

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .bottom-nav,
  .fab-whatsapp,
  .mobile-menu,
  .btn--whatsapp {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  .card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}


/* ==========================================================================
   v1.0.3 — CAMADA DE DESIGN
   Paleta e componentes alinhados ao link-bio (ground / dourado / tinta),
   ritmo de seções escuro ↔ claro ↔ dourado, cards off-white, FAQ nativo.
   ========================================================================== */

/* ---------- 22. Base de seção, respiro e cabeçalho de seção ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background-color: var(--surface); }

/* Cada tema tem botão/borda próprios */
[data-theme="ground"], [data-theme="azul"] { --btn-borda: var(--dourado); --btn-prim-bg: var(--dourado); --btn-prim-fg: var(--sobre-gold); --btn-prim-hover: var(--dourado-claro); }
[data-theme="claro"]  { --btn-borda: #8A5F36; --btn-prim-bg: var(--ground); --btn-prim-fg: var(--ink); --btn-prim-hover: #2a3250; }
[data-theme="dourado"]{ --btn-borda: var(--ground); --btn-prim-bg: var(--ground); --btn-prim-fg: var(--ink); --btn-prim-hover: #263054; }

.section__header,
.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.section-head .kicker { margin-inline: auto; }
.section-head h2 { margin-bottom: var(--space-md); }
.section__subtitle,
.section-head p {
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 0;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
}
.text-center { text-align: center; }
.text-center > p, p.text-center { margin-inline: auto; }

/* Kicker em pílula (igual ao link-bio) */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--linha);
  background: rgba(191, 142, 99, 0.12);
  border-radius: var(--pill-radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--acento);
  margin-bottom: var(--space-md);
}
[data-theme="claro"] .kicker { background: rgba(138, 95, 54, 0.10); border-color: rgba(138, 95, 54, 0.35); }
[data-theme="dourado"] .kicker { background: rgba(20, 26, 46, 0.08); border-color: rgba(20, 26, 46, 0.35); }

.ruler { height: 3px; width: 56px; background: var(--acento); border-radius: 2px; margin: 0 0 var(--space-lg); }
.ruler--center { margin-inline: auto; }

/* ---------- 23. Botões (padrão link-bio: pílula, alvo ≥ 52px, borda 2px) ---------- */
.btn {
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  border: 2px solid transparent;
}
.btn svg { flex-shrink: 0; }
.btn--sm { min-height: 44px; padding: 10px 20px; }
.btn--lg { min-height: 58px; padding: 16px 34px; }

.btn--primary { background: var(--btn-prim-bg, var(--dourado)); color: var(--btn-prim-fg, var(--sobre-gold)); border-color: var(--btn-prim-bg, var(--dourado)); }
.btn--primary:hover { background: var(--btn-prim-hover, var(--dourado-claro)); border-color: var(--btn-prim-hover, var(--dourado-claro)); color: var(--btn-prim-fg, var(--sobre-gold)); }

.btn--outline { background: transparent; color: var(--tinta); border: 2px solid var(--btn-borda, var(--dourado)); }
.btn--outline:hover { background: var(--btn-borda, var(--dourado)); color: var(--fundo); border-color: var(--btn-borda, var(--dourado)); transform: translateY(-2px); }
[data-theme="ground"] .btn--outline:hover, [data-theme="azul"] .btn--outline:hover { color: var(--sobre-gold); }

/* WhatsApp: verde do link-bio com texto escuro (AA em qualquer fundo) */
.btn--whatsapp { background: var(--verde); color: #08301a; border-color: var(--verde); }
.btn--whatsapp:hover { background: #7bf0a3; border-color: #7bf0a3; color: #08301a; box-shadow: 0 8px 24px rgba(94, 233, 140, 0.28); }

a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--dourado-claro);
  outline-offset: 3px;
}
[data-theme="claro"] a:focus-visible, [data-theme="claro"] summary:focus-visible { outline-color: #8A5F36; }
[data-theme="dourado"] a:focus-visible, [data-theme="dourado"] summary:focus-visible { outline-color: var(--ground); }

/* Links dentro de texto corrido */
.prose a, .article-body a:not(.btn), .about__text p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 24. Cabeçalho: chevron e alinhamento ---------- */
.site-nav__link { display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; }
.site-nav__link svg { width: 12px; height: 12px; flex-shrink: 0; }
.site-header__actions { display: flex; align-items: center; gap: var(--space-md); }
.site-nav__dropdown { max-height: 70vh; overflow-y: auto; }
.site-nav__dropdown-link { line-height: 1.35; }
.site-nav__dropdown-link:hover { color: var(--ink); }

/* ---------- 25. HERO ---------- */
.hero {
  min-height: auto;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(191, 142, 99, 0.20), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(67, 75, 99, 0.65), transparent 65%),
    var(--ground);
  isolation: isolate;
}
.hero__diagonal { z-index: -1; }
.hero__overlay { display: none; }
.hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero__text { max-width: 640px; }
.hero__kicker { margin-bottom: var(--space-lg); }
.hero__title {
  font-size: clamp(2.125rem, 6.2vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}
.hero__title--accent { color: var(--dourado-claro); display: block; }
.hero__lead {
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 54ch;
  margin-bottom: var(--space-xl);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__signature {
  margin: var(--space-xl) 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  padding-top: var(--space-md);
  border-top: 1px solid var(--linha);
  max-width: 54ch;
}
.hero__photo { display: block; justify-self: center; position: relative; width: min(100%, 420px); margin: 0; }
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--dourado);
  border-radius: 28px;
  z-index: -1;
  opacity: .75;
}
.hero__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; border-radius: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.hero__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(20, 26, 46, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid var(--linha);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink);
}
@media (min-width: 900px) {
  .hero__content { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-3xl); }
  .hero__photo { justify-self: end; }
}

/* Faixa de credenciais logo abaixo do hero */
.trust { background: #101528; border-block: 1px solid var(--linha); padding-block: var(--space-lg); }
.trust__list { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; line-height: 1.35; color: var(--ink-dim); }
.trust__item svg { width: 22px; height: 22px; color: var(--dourado); flex-shrink: 0; }
.trust__item strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; }
@media (min-width: 640px)  { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 26. SOBRE / páginas institucionais ---------- */
.about__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: center; }
.about__photo { position: relative; aspect-ratio: auto; overflow: visible; border-radius: 0; max-width: 460px; width: 100%; margin-inline: auto; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; border-radius: 28px; box-shadow: 0 24px 50px rgba(20, 26, 46, 0.22); }
.about__photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--dourado); border-radius: 28px; z-index: -1; }
.about__badge { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(20, 26, 46, .9); border: 1px solid var(--linha); border-radius: 14px; padding: 10px 14px; }
.about__badge-crm { font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.about__text { max-width: 640px; }
.about__text h2 { margin-bottom: var(--space-xs); }
.about__text h3 { margin: var(--space-xl) 0 var(--space-md); font-size: 1.125rem; }
.about__subtitle { font-family: var(--font-display); font-weight: 500; color: var(--acento); font-size: 1.0625rem; margin-bottom: var(--space-lg); }
.about__text p { color: var(--tinta-suave); line-height: 1.75; }
.about__highlights, .about__curriculum { display: grid; gap: 12px; margin: var(--space-lg) 0 var(--space-xl); }
.about__highlights li, .about__curriculum li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--tinta); font-size: .975rem; line-height: 1.5;
}
.about__highlights li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: var(--acento); }
.about__curriculum li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); flex-shrink: 0; margin-top: .6em; }
.about__curriculum li strong { color: var(--tinta); }
.about__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-lg); }
.about__grid--full { align-items: start; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: var(--space-3xl); }
  .about__grid--full .about__photo { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- 27. Cards genéricos (off-white sobre seção clara) ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-borda, var(--linha));
  border-radius: 22px;
  padding: clamp(22px, 3vw, 32px);
  color: var(--tinta);
}
[data-theme="claro"] .card { box-shadow: 0 1px 2px rgba(20, 26, 46, .05), 0 10px 30px -14px rgba(20, 26, 46, .18); }
.card:hover { transform: translateY(-3px); border-color: rgba(191, 142, 99, .55); box-shadow: 0 18px 40px -16px rgba(20, 26, 46, .35); }
.card__title { color: var(--titulo, var(--tinta)); line-height: 1.3; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(191, 142, 99, .14); color: var(--dourado); margin-bottom: var(--space-md); }
.card__icon svg { width: 26px; height: 26px; }
.card__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.card__thumb { margin: calc(-1 * clamp(22px, 3vw, 32px)) calc(-1 * clamp(22px, 3vw, 32px)) var(--space-md); border-radius: 22px 22px 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Cards sobre fundo dourado são navy: restaura tokens "escuros" localmente */
[data-theme="dourado"] .card, [data-theme="dourado"] .topic-card {
  --tinta: var(--ink); --tinta-suave: var(--ink-dim); --acento: var(--dourado-claro); --titulo: var(--ink);
}

/* ---------- 28. CARDS DE DOENÇAS / TRATAMENTOS (subtexto + botão) ---------- */
.topic-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 600px)  { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }

.topic-card {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-borda, var(--linha));
  border-radius: 22px;
  padding: clamp(24px, 3vw, 32px);
  text-align: left;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal);
}
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .5); border-color: rgba(210, 176, 147, .7); }
.topic-card__icon { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(191, 142, 99, .16); color: var(--dourado-claro); margin-bottom: var(--space-lg); }
.topic-card__icon svg { width: 26px; height: 26px; }
.topic-card__title { font-size: 1.1875rem; font-weight: 500; line-height: 1.3; color: var(--ink); margin-bottom: var(--space-sm); }
.topic-card__text { flex: 1 1 auto; color: var(--ink-dim); font-size: .9375rem; line-height: 1.65; margin-bottom: var(--space-lg); }
.topic-card__cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--pill-radius);
  background: var(--dourado); color: var(--sobre-gold);
  font-family: var(--font-display); font-size: .875rem; font-weight: 600;
  transition: background var(--duration-fast), gap var(--duration-fast);
}
.topic-card__cta::after { content: ""; position: absolute; inset: 0; border-radius: 22px; } /* cartão inteiro clicável */
.topic-card:hover .topic-card__cta { background: var(--dourado-claro); gap: 12px; }
.topic-card__cta:hover { color: var(--sobre-gold); }

/* Variação azul (tratamentos): fio dourado no topo, superfície azul */
.topic-card--azul { background: var(--surface); border-color: var(--linha); border-top: 3px solid var(--dourado); }
.topic-card--azul:hover { background: var(--surface-hi); }

/* Variação sobre fundo dourado (doenças): navy */
.topic-card--ouro { background: var(--ground); border-color: rgba(20, 26, 46, .5); }

/* Variação sobre fundo claro (arquivos / taxonomia) */
[data-theme="claro"] .topic-card { background: var(--creme-card); border-color: var(--creme-linha); box-shadow: 0 1px 2px rgba(20, 26, 46, .05), 0 12px 30px -16px rgba(20, 26, 46, .2); }
[data-theme="claro"] .topic-card__title { color: var(--ground); }
[data-theme="claro"] .topic-card__text { color: #4A5168; }
[data-theme="claro"] .topic-card__icon { background: rgba(138, 95, 54, .12); color: #8A5F36; }
[data-theme="claro"] .topic-card__cta { background: var(--ground); color: var(--ink); }
[data-theme="claro"] .topic-card:hover .topic-card__cta { background: #2a3250; }
[data-theme="claro"] .topic-card:hover { border-color: rgba(138, 95, 54, .5); }

.section-foot { margin-top: var(--space-2xl); text-align: center; }

/* ---------- 29. PASSOS (Segunda opinião — estilo Spadoni, paleta própria) ---------- */
.steps { display: block; counter-reset: none; }
.steps__grid, .steps-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: 1fr; margin-top: var(--space-2xl); }
@media (min-width: 640px)  { .steps__grid, .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps__grid, .steps-grid { grid-template-columns: repeat(4, 1fr); } .steps__grid--3 { grid-template-columns: repeat(3, 1fr) !important; } }
.steps__item {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-borda, var(--linha));
  border-radius: 22px;
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 10px;
  text-align: left;
}
[data-theme="claro"] .steps__item { box-shadow: 0 1px 2px rgba(20, 26, 46, .05), 0 12px 30px -16px rgba(20, 26, 46, .2); }
.steps__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ground); color: var(--dourado-claro);
  border: 2px solid var(--dourado);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
  margin-bottom: 6px;
}
[data-theme="ground"] .steps__number, [data-theme="azul"] .steps__number { background: var(--dourado); color: var(--sobre-gold); }
.steps__title, .steps__item h3 { font-size: 1.125rem; font-weight: 500; margin: 0; }
.steps__item p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.steps > .ruler, .steps > h2 { margin-inline: auto; text-align: center; }

/* ---------- 30. MATERIAIS (guias externos) ---------- */
.materials-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; }
@media (min-width: 760px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
.materials-grid--full { max-width: 1000px; }
.card--material { display: flex; flex-direction: column; align-items: flex-start; text-align: left; height: 100%; }
.card--material .card__badge { align-self: flex-start; font-size: .6875rem; padding: 5px 12px; letter-spacing: .12em; margin-bottom: var(--space-lg); background: var(--dourado); color: var(--sobre-gold); border-radius: var(--pill-radius); font-family: var(--font-display); font-weight: 600; }
.card--material .card__excerpt { flex: 1 1 auto; font-size: .9375rem; }
.card--material .btn { align-self: stretch; }
.card--material-lg .card__title { font-size: 1.375rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8125rem; color: var(--tinta-suave); margin-bottom: var(--space-lg); }
.card--material-inline { display: flex; align-items: center; gap: var(--space-lg); margin-top: var(--space-2xl); flex-wrap: wrap; }
.card--material-inline > div { flex: 1 1 240px; }
.card--material-inline h4 { margin-bottom: 6px; }
.card--material-inline p { margin-bottom: var(--space-md); font-size: .9375rem; }
.card--material-inline .card__icon { margin: 0; }

/* ---------- 31. VÍDEOS ---------- */
.video-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 760px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-grid__item { background: var(--card-bg); border: 1px solid var(--card-borda, var(--linha)); border-radius: 22px; padding: 14px 14px 18px; }
.video-grid__item .video-embed { border-radius: 14px; overflow: hidden; }
.video-grid__title { margin: 14px 6px 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--tinta); }

/* ---------- 32. FAQ — <details> nativo, sem JS de altura ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-borda, var(--linha));
  border-radius: 18px;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
[data-theme="claro"] .faq-item { box-shadow: 0 1px 2px rgba(20, 26, 46, .05); }
.faq-item[open] { border-color: rgba(191, 142, 99, .65); box-shadow: 0 14px 30px -18px rgba(20, 26, 46, .35); }
.faq-item__question {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  padding: 20px 24px;
  min-height: 60px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.4;
  color: var(--tinta);
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::marker { content: ""; }
.faq-item__question:hover { color: var(--acento); }
.faq-item__icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--acento); transition: transform var(--duration-normal) var(--ease-out); }
.faq-item[open] > .faq-item__question .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { padding: 0 24px 22px; }
.faq-item__answer p { margin: 0; color: var(--tinta-suave); font-size: .975rem; line-height: 1.75; max-width: 70ch; }
.faq-category { margin-bottom: var(--space-3xl); }
.faq-category h2 { font-size: clamp(1.25rem, 3vw, 1.625rem); margin-bottom: var(--space-lg); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--dourado); display: inline-block; }
.article-faq { margin-top: var(--space-3xl); }
.article-faq h2 { margin-bottom: var(--space-lg); }

/* ---------- 33. MISSÃO / VISÃO / VALORES ---------- */
.mvv-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); } }
.card--mvv { text-align: left; height: 100%; }
.card--mvv h3 { margin-bottom: var(--space-sm); }
.card--mvv p { margin: 0; line-height: 1.7; }
.card--mvv .card__icon { background: rgba(191, 142, 99, .16); }
.mvv-full { display: grid; gap: var(--space-3xl); }
.mvv-full__item { background: var(--card-bg); border: 1px solid var(--card-borda); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
[data-theme="claro"] .mvv-full__item { box-shadow: 0 1px 2px rgba(20, 26, 46, .05), 0 14px 34px -18px rgba(20, 26, 46, .2); }
.mvv-full__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(138, 95, 54, .12); color: var(--acento); margin-bottom: var(--space-md); }
.mvv-full__item h2 { margin-bottom: var(--space-md); }
.mvv-full__item p { line-height: 1.75; }

/* ---------- 34. CTA final (rodapé do conteúdo) e CTA de artigo ---------- */
.cta-section { padding-block: var(--section-y); }
.cta-section .container { max-width: 760px; }
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { max-width: 54ch; color: var(--tinta-suave); }
.cta-section .btn--whatsapp { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.cta-section .btn--whatsapp:hover { background: #263054; border-color: #263054; color: var(--ink); }
.cta-section .btn--whatsapp svg { color: var(--verde); }

.article-cta {
  margin-top: var(--space-2xl);
  background: var(--ground);
  color: var(--ink);
  border: 1px solid var(--linha);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
  --tinta: var(--ink); --tinta-suave: var(--ink-dim); --acento: var(--dourado); --titulo: var(--ink);
  --btn-borda: var(--dourado);
}
.article-cta .ruler { margin-inline: auto; }
.article-cta h3 { color: var(--ink); margin-bottom: var(--space-sm); }
.article-cta p { color: var(--ink-dim); max-width: 52ch; margin-inline: auto; }
.article-cta .btn--outline { color: var(--ink); }
.article-cta .btn--outline:hover { color: var(--sobre-gold); }
.article-cta .about__actions { justify-content: center; }
.contact-form__privacy { font-size: .8125rem; line-height: 1.55; color: var(--tinta-suave); }
.article-cta .contact-form__privacy { color: var(--ink-dim); }

/* ---------- 35. Páginas internas: hero, breadcrumb e artigo ---------- */
.article-hero {
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 56px));
  padding-bottom: clamp(36px, 6vw, 64px);
  border-bottom: 1px solid var(--linha);
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(191, 142, 99, .18), transparent 65%),
    var(--fundo);
}
.article-hero__category { display: inline-block; margin-bottom: var(--space-md); font-size: .75rem; letter-spacing: .1em; padding: 6px 14px; border: 1px solid var(--linha); color: var(--dourado-claro); background: rgba(191, 142, 99, .12); }
.article-hero__title { font-size: clamp(1.875rem, 5vw, 3rem); font-weight: 500; line-height: 1.12; margin-bottom: var(--space-md); color: var(--ink); }
.article-hero__lede { color: var(--ink-dim); max-width: 62ch; font-size: clamp(1.0625rem, 2.2vw, 1.1875rem); line-height: 1.65; }
.article-hero__meta { margin-top: var(--space-lg); font-size: .8125rem; color: var(--ink-dim); align-items: center; }
.article-hero__sep { opacity: .5; }
.article-hero__date { color: var(--ink-dim); }

.breadcrumb { font-size: .8125rem; padding: 0 0 var(--space-lg); }
.article-hero .breadcrumb, .article-hero .breadcrumb a { color: var(--ink-dim); }
.article-hero .breadcrumb a:hover { color: var(--dourado-claro); }
.article-hero .breadcrumb__sep { color: var(--ink-dim); opacity: .6; }

.article-body { max-width: none; margin: 0; padding-block: var(--section-y); }
.article-body.section { padding-block: clamp(48px, 7vw, 88px); }
.article-body__content, .prose { color: var(--tinta); }
.article-body h2 { margin-top: var(--space-3xl); margin-bottom: var(--space-md); padding-top: 0; font-size: clamp(1.375rem, 3.4vw, 1.875rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.article-body p, .article-body li { color: var(--tinta); line-height: 1.8; font-size: 1.0625rem; }
.article-body p { margin-bottom: var(--space-md); }
.article-body ul, .article-body ol { margin: 0 0 var(--space-lg) 1.25rem; }
.article-body li { margin-bottom: 8px; padding-left: 4px; }
.article-body li::marker { color: var(--acento); font-weight: 600; }
.article-body strong { color: var(--ground); }
.article-body__video { margin-bottom: var(--space-2xl); border-radius: 20px; overflow: hidden; }
.article-body__disclaimer { margin-top: var(--space-xl); font-size: .8125rem; line-height: 1.6; color: var(--tinta-suave); padding-top: var(--space-md); border-top: 1px solid var(--creme-linha); }

.toc { background: var(--card-bg); border: 1px solid var(--card-borda); border-radius: 20px; padding: clamp(20px, 3vw, 28px); margin-bottom: var(--space-2xl); box-shadow: 0 1px 2px rgba(20,26,46,.05); }
.toc__link { color: var(--tinta); border-bottom-color: var(--creme-linha); }
.toc__link:hover, .toc__link--active { color: var(--acento); }

.treatment-highlights { display: grid; gap: 12px; grid-template-columns: 1fr; margin: var(--space-2xl) 0; }
@media (min-width: 640px) { .treatment-highlights { grid-template-columns: repeat(3, 1fr); } }
.treatment-highlights__item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--ground); color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.treatment-highlights__item svg { width: 24px; height: 24px; color: var(--dourado); flex-shrink: 0; }

.related-links { margin-top: var(--space-2xl); padding: 22px 24px; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--card-borda); }
.related-links__title { font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); margin-bottom: 10px; }
.related-links a { color: var(--tinta); display: block; padding: 10px 0; border-bottom: 1px solid var(--creme-linha); }
.related-links a:last-child { border-bottom: 0; }
.related-links a:hover { color: var(--acento); }

.author-box { display: flex; align-items: center; gap: 18px; margin-top: var(--space-2xl); padding: 20px 22px; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--card-borda); }
.author-box__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dourado); flex-shrink: 0; }
.author-box__info { min-width: 0; }
.author-box__info p { margin: 0; }
.author-box__name { font-family: var(--font-display); font-weight: 600; color: var(--tinta); }
.author-box__title { font-size: .875rem; color: var(--tinta-suave); }
.author-box__crm { font-size: .75rem; letter-spacing: .04em; color: var(--acento); margin-top: 4px !important; }

.alert { border-radius: 16px; }
.draft-notice { border-radius: 0; }

/* ---------- 36. Contato ---------- */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-info { display: grid; gap: 14px; }
.contact-info__item { margin: 0; padding: 18px 20px; align-items: center; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--card-borda); box-shadow: 0 1px 2px rgba(20,26,46,.05); }
.contact-info__item h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); margin-bottom: 4px; font-weight: 600; }
.contact-info__item p, .contact-info__item a:not(.btn) { margin: 0; color: var(--tinta); font-size: 1rem; line-height: 1.5; }
.contact-info__item a:not(.btn):hover { color: var(--acento); }
.contact-info__item .btn { margin-top: 6px; }
.contact-info__icon { width: 46px; height: 46px; background: rgba(138, 95, 54, .12); color: var(--acento); }
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-form-wrapper { background: var(--card-bg); border: 1px solid var(--card-borda); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 2px rgba(20,26,46,.05), 0 18px 40px -20px rgba(20,26,46,.25); }
.contact-form-wrapper h2 { margin-bottom: 6px; font-size: clamp(1.375rem, 3vw, 1.75rem); }
.contact-form__note { color: var(--tinta-suave); margin-bottom: var(--space-lg); }
.contact-form__field { margin-bottom: 18px; }
.contact-form label, .contact-form__field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .875rem; color: var(--tinta); margin-bottom: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: #fff; color: var(--ground);
  border: 1.5px solid rgba(20, 26, 46, .22); border-radius: 14px;
  font: inherit; font-size: 1rem;
}
.contact-form textarea { min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #8A5F36; box-shadow: 0 0 0 4px rgba(191, 142, 99, .28); }
.contact-form .btn { width: 100%; margin-top: 8px; }
.map-embed { aspect-ratio: auto; margin-top: var(--space-3xl) !important; border-radius: 0; overflow: visible; }
.map-embed h2 { margin-bottom: var(--space-lg); }
.map-embed iframe { width: 100%; height: 420px; border-radius: 22px !important; border: 1px solid var(--creme-linha); }

/* ---------- 37. Arquivos, paginação, 404, depoimentos ---------- */
.conditions-grid, .treatments-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 600px)  { .conditions-grid, .treatments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .conditions-grid, .treatments-grid { grid-template-columns: repeat(3, 1fr); } }
.pagination, .navigation.pagination { margin-top: var(--space-2xl); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links a, .nav-links span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: var(--pill-radius); border: 1.5px solid var(--card-borda); color: var(--tinta); }
.nav-links .current { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.error-404 { text-align: center; padding-block: var(--section-y); max-width: 640px; margin-inline: auto; }
.error-404__code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); font-weight: 600; line-height: 1; color: var(--dourado); }
.testimonials-page { max-width: 900px; margin-inline: auto; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--card-borda); }

/* ---------- 38. Rodapé e navegação inferior ---------- */
.site-footer { background: var(--ground); border-top: 1px solid var(--linha); color: var(--ink-dim); }
.site-footer__heading { color: var(--ink); }
.site-footer__link { color: var(--ink-dim); }
.site-footer__link:hover { color: var(--dourado-claro); }
.site-footer__desc, .site-footer__signature, .site-footer__disclaimer { color: var(--ink-dim); }

/* ---------- 39. Revelação ao rolar (só quando o JS roda) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .reveal.reveal--visible { opacity: 1; transform: none; }
  .card.reveal--visible:hover, .topic-card.reveal--visible:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 40. Mobile fino ---------- */
@media (max-width: 480px) {
  .hero__actions .btn, .about__actions .btn, .article-cta .btn { width: 100%; }
  .author-box { flex-direction: column; text-align: center; }
  .faq-item__question { padding: 18px 18px; }
  .faq-item__answer { padding: 0 18px 20px; }
}

/* ---------- 41. Aviso de cookies, card do canal, ajustes de espaçamento ---------- */
.cookie-banner {
  position: fixed; z-index: var(--z-toast);
  left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
  max-width: 720px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  padding: 16px 20px;
  background: var(--ground); color: var(--ink);
  border: 1px solid var(--linha); border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .8125rem; line-height: 1.5; color: var(--ink-dim); }
@media (min-width: 769px) { .cookie-banner { bottom: 16px; left: 16px; right: auto; margin: 0; } }

.channel-card {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 32px);
}
.channel-card__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(191, 142, 99, .16); color: var(--dourado-claro); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.channel-card > div { flex: 1 1 280px; }
.channel-card h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--ink); }
.channel-card p { margin: 0; color: var(--ink-dim); }
.video-grid:has(.channel-card) { display: block; }
.video-grid:has(.channel-card) .channel-card { background: var(--surface); border: 1px solid var(--linha); border-radius: 22px; }

.kicker { margin-bottom: 20px; }
.hero__title { font-size: clamp(2rem, 5vw, 3.25rem); }
.section-foot { margin-top: clamp(36px, 5vw, 56px); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- 42. Índice do artigo: sem marcador duplicado ---------- */
.article-body .toc__list { list-style: none; margin: 0; padding: 0; }
.article-body .toc__item { margin: 0; padding: 0; }
.article-body .toc__link { text-decoration: none; font-size: .9375rem; line-height: 1.5; }
.article-body .toc__link:hover { text-decoration: underline; }
.article-body .related-links a, .article-body .btn, .article-body .author-box a { text-decoration: none; }
.article-body .btn--whatsapp { color: #08301a; }
.article-body .btn--outline { color: var(--tinta); }
.article-body .btn--outline:hover { color: var(--fundo); }
.article-body .article-cta h3, .article-body .article-cta p { color: inherit; }
.article-body .article-cta p { color: var(--ink-dim); }
.article-body .article-cta h3 { color: var(--ink); }

/* ---------- 43. Mobile: listas de cards viram carrossel (estilo app) ---------- */
@media (max-width: 599px) {
  .topic-grid--scroll {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px;
    scrollbar-width: thin;
  }
  .topic-grid--scroll > .topic-card { flex: 0 0 84%; scroll-snap-align: center; }
  .topic-grid--scroll::-webkit-scrollbar { height: 6px; }
  .topic-grid--scroll::-webkit-scrollbar-thumb { background: rgba(191, 142, 99, .6); border-radius: 6px; }
  [data-theme="dourado"] .topic-grid--scroll::-webkit-scrollbar-thumb { background: rgba(20, 26, 46, .55); }
}

/* ---------- 44. Listas com destaque em negrito (Missão/Valores) ---------- */
.mvv-full .about__curriculum li { display: block; position: relative; padding-left: 22px; line-height: 1.65; }
.mvv-full .about__curriculum li::before { position: absolute; left: 0; top: .65em; margin: 0; }
