/* ====================================================
   INSTITUTO NUR — Stylesheet v1.4
   Tipografia: PT Sans Pro Cond Bold (display) + Cormorant Garamond (serifada nos destaques) + Avenir (corpo)
   Aesthetic: editorial · refinado · ouro + tinta + creme + pastel
   ==================================================== */

/* --- Fonte display: PT Sans Pro Cond Bold com fallback PT Sans Narrow do Google Fonts --- */
/* Caso o cliente faça upload da PT Sans Pro Cond Bold local em fonts/, ela será usada;
   senão a PT Sans Narrow Bold (carregada via Google Fonts no <head>) cobre como fallback. */
@font-face {
  font-family: 'PT Sans Pro Cond';
  src: local('PT Sans Pro Cond Bold'),
       local('PTSansPro-CondBold'),
       url('../fonts/PT-Sans-Pro-Cond-Bold.woff2') format('woff2'),
       url('../fonts/PT-Sans-Pro-Cond-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Fontes corpo: Avenir (mantidas) --- */
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir-medium.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir-heavy.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette — base da marca + tons pastel suaves */
  --ink:        #0b0a08;
  --ink-2:      #161310;
  --ink-3:      #2a2520;

  --cream:      #f6efe2;
  --cream-2:    #ece2cf;
  --paper:      #fbf7ee;

  /* Pastéis quentes coordenados com a paleta de ouro */
  --pastel-1:   #f7f1e6;   /* champagne suave - fundo principal */
  --pastel-2:   #f1e9d8;   /* champagne médio */
  --pastel-3:   #f5ede0;   /* areia */
  --pastel-4:   #efe5d2;   /* areia mais quente */

  --gold-1:     #a8843e;
  --gold-2:     #d4a857;
  --gold-3:     #f0d488;
  --gold-soft:  #c9a35c;
  --line:       rgba(212,168,87,.22);
  --shadow-lg:  0 30px 80px -30px rgba(11,10,8,.45);
  --shadow-md:  0 12px 40px -16px rgba(11,10,8,.35);
  --shadow-sm:  0 6px 20px -10px rgba(11,10,8,.2);

  /* Typography
     --font-display : títulos / textos com tom forte e condensado (substitui a antiga Kristall)
     --font-serif   : usada nos <em> de destaque (sabor editorial)
     --font-sans    : corpo de texto */
  --font-display: 'PT Sans Pro Cond', 'PT Sans Narrow', 'Avenir', sans-serif;
  --font-sans:    'Avenir', system-ui, -apple-system, sans-serif;
  --font-serif:   'Cormorant Garamond', 'Times New Roman', Georgia, serif;

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

/* -------- reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pastel-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; }
::selection { background: var(--gold-2); color: var(--ink); }

/* -------- Brand inline ("Instituto NUR" no meio do texto) --------
   Sempre que o nome aparece em texto, "NUR" usa a fonte display (PT Sans Pro Cond Bold)
   em maiúsculas. "Instituto" mantém a fonte sans do parágrafo. */
.brand {
  font-style: normal;
  font-weight: inherit;
}
.brand em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* -------- typography helpers -------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 28px;
}
.section-head--light .section-eyebrow { color: var(--gold-3); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  margin: 0 0 32px;
  text-transform: uppercase;
  color: var(--ink);
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3) 40%, var(--gold-1));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 .05em;
}
.section-head--light .section-title { color: var(--cream); }
.section-head { margin-bottom: 56px; }

.section-deck {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(246,239,226,.7);
  max-width: 620px;
  margin: -16px 0 0;
}
.section-deck--ink { color: var(--ink-3); }

/* -------- buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
  white-space: nowrap;
}
.btn--small {
  padding: 12px 22px;
  font-size: .72rem;
  letter-spacing: .14em;
  gap: 8px;
}
.btn--primary {
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3) 50%, var(--gold-2));
  box-shadow: 0 16px 40px -16px rgba(212,168,87,.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(212,168,87,.7); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: linear-gradient(180deg, rgba(11,10,8,.55) 0%, rgba(11,10,8,.3) 60%, rgba(11,10,8,0) 100%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease, border-color .35s ease;
}
.nav.is-scrolled {
  background: rgba(11,10,8,.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px var(--gutter);
  border-bottom: 1px solid rgba(212,168,87,.15);
}
.nav__logo {
  display: flex;
  align-items: center;
  height: 44px;
  /* ATENÇÃO: logo-gold.png é RGBA com fundo TRANSPARENTE.
     NÃO adicione background, border-radius+overflow:hidden, ou qualquer
     filtro que destrua a transparência. Não converta o PNG para JPEG.
     Em cada atualização, verificar: file assets/logo-gold.png deve dizer RGBA. */
}
.nav__logo img {
  height: 100%;
  width: auto;
  display: block;
}
.nav.is-scrolled .nav__logo { height: 36px; }

.nav__links {
  display: flex;
  /* v2.14: gap reduzido novamente de 22px → 16px para compactar mais o menu.
     Histórico: v1.0 28px → v2.13 22px → v2.14 16px. Mais reduções podem
     comprometer a legibilidade dos sublinhados de hover entre itens. */
  gap: 16px;
}
.nav__links a {
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3));
  transition: width .35s ease;
}
.nav__links a:hover { color: var(--gold-3); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
  border-radius: 999px;
  transition: transform .3s ease;
}
.nav__cta:hover { transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(246, 239, 226, .3);
  border-radius: 6px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--cream);
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO (foto da equipe ao fundo + overlay)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px var(--gutter) 80px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }

/* Foto da equipe — desfocada e em saturação leve, sai de cena no mobile */
.hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(.85) contrast(.95) brightness(.7);
  transform: scale(1.04);
  animation: heroPhotoZoom 24s ease-in-out infinite alternate;
}
@keyframes heroPhotoZoom {
  from { transform: scale(1.04) translateX(0); }
  to   { transform: scale(1.1)  translateX(-1.5%); }
}

/* Overlay rico: gradiente escuro à esquerda (onde está o texto), suave à direita */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    /* fade lateral esquerdo para escuro (legibilidade do texto) */
    linear-gradient(95deg, rgba(11,10,8,.92) 0%, rgba(11,10,8,.78) 30%, rgba(11,10,8,.45) 55%, rgba(11,10,8,.25) 80%, rgba(11,10,8,.55) 100%),
    /* sombra superior+inferior para colar com nav e seção seguinte */
    linear-gradient(180deg, rgba(11,10,8,.5) 0%, rgba(11,10,8,0) 25%, rgba(11,10,8,0) 75%, rgba(11,10,8,.55) 100%);
}

.hero__glow {
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  top: -20%; right: -10%;
  background: radial-gradient(circle at 50% 50%,
    rgba(240,212,136,.15) 0%, rgba(212,168,87,.05) 30%, transparent 60%);
  filter: blur(40px);
  animation: float 18s ease-in-out infinite;
  mix-blend-mode: screen;
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-3%, 4%); }
}

.hero::before {
  content: '';
  position: absolute;
  left: var(--gutter); top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,168,87,.3) 30%, rgba(212,168,87,.3) 70%, transparent);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  right: var(--gutter); top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,168,87,.15) 30%, rgba(212,168,87,.15) 70%, transparent);
  z-index: 0;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  z-index: 1;
}

.hero__kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--gold-3);
  margin-bottom: 36px;
  opacity: 0;
  animation: rise .9s .1s cubic-bezier(.2,.7,.2,1) forwards;
}

/* Lede do hero — substitui hero__title + hero__sub. Texto editorial, max 2 linhas grandes */
.hero__lede {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--cream);
  max-width: 780px;
  margin: 0 0 48px;
  opacity: 0;
  animation: rise 1s .35s cubic-bezier(.2,.7,.2,1) forwards;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero__lede em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-3);
  /* font-size é um pouco maior pq Cormorant é mais fino */
  font-size: 1.06em;
}
/* Variante: o "NUR" da frase de abertura usa a fonte display do logo
   (PT Sans Pro Cond Bold), em maiúsculas, mantendo o dourado.
   "luz" e "detalhe" continuam em Cormorant itálico. */
.hero__lede em.is-mark {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1em; /* PT Sans Cond não precisa de uplift como Cormorant */
}
.hero__lede br { display: block; content: ''; margin-top: .25em; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 80px;
  opacity: 0;
  animation: rise 1s .65s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__actions .btn--ghost { color: var(--cream); border-color: rgba(246,239,226,.5); backdrop-filter: blur(6px); background: rgba(11,10,8,.18); }
.hero__actions .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); backdrop-filter: none; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 720px;
  padding-top: 36px;
  border-top: 1px solid rgba(212,168,87,.25);
  opacity: 0;
  animation: rise 1s .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__meta div { display: flex; flex-direction: column; gap: 6px; }
.hero__meta-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .04em;
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__meta-lab {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: rgba(246,239,226,.65);
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1px solid rgba(246,239,226,.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 8px;
  background: var(--gold-3);
  border-radius: 1px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(10px); opacity: .3; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   SOBRE — pastel
   ============================================================ */
.sobre {
  background: var(--pastel-1);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
}
.sobre::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.sobre__inner { max-width: var(--maxw); margin: 0 auto; }
.sobre__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.sobre__lead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
}
.sobre__text p { color: var(--ink-3); margin: 0 0 18px; }

.sobre__quick-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sobre__image {
  position: relative;
  margin: 0;
  position: sticky;
  top: 100px;
}
.sobre__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.sobre__image::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 30%; bottom: 30%;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  z-index: -1;
}
.sobre__image figcaption {
  margin-top: 16px;
  font-style: italic;
  font-size: .92rem;
  color: var(--ink-3);
  text-align: right;
}

/* ============================================================
   AVALIAÇÕES — intermezzo editorial entre Sobre (01) e Especialidades (02).
   Sem número próprio · fundo creme suave (--paper) para diferenciar
   da Sobre (--pastel-1) sem competir com a Especialidades (--ink).
   ============================================================ */
.reviews {
  background: var(--paper);
  padding: clamp(72px, 10vw, 130px) var(--gutter);
  position: relative;
}
.reviews::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(160px, 30%, 360px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.reviews__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.reviews .section-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
/* O .section-deck por padrão tem margin: -16px 0 0 (sem auto), o que o
   gruda à esquerda mesmo quando o pai é text-align:center. Aqui na faixa
   de Avaliações queremos a deck também centrada em relação ao widget. */
.reviews .section-deck {
  margin-left: auto;
  margin-right: auto;
}
.reviews__widget {
  /* Elfsight monta sua própria árvore de DOM aqui — damos só uma faixa
     respiráveis e deixamos o widget governar tipografia/cores internas. */
  width: 100%;
  margin: 0 auto;
  min-height: 300px;
}
/* Garante que o div da app Elfsight ocupe toda a largura */
.reviews__widget > div[class^="elfsight-app-"] {
  width: 100%;
}

/* ============================================================
   ESPECIALIDADES (dark)
   ============================================================ */
.esp {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.esp::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(212,168,87,.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(168,132,62,.08), transparent 60%);
  pointer-events: none;
}
.esp__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }

.esp__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.esp-card {
  position: relative;
  padding: 40px 36px;
  background: linear-gradient(180deg, rgba(246,239,226,.04), rgba(246,239,226,.01));
  border: 1px solid rgba(212,168,87,.18);
  border-radius: 8px;
  transition: transform .4s ease, border-color .4s ease, background .4s ease;
}
.esp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,168,87,.5);
  background: linear-gradient(180deg, rgba(246,239,226,.06), rgba(246,239,226,.02));
}
.esp-card__num {
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .14em;
  color: var(--gold-2);
  opacity: .8;
}
.esp-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--cream);
}
.esp-card__doctor {
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: var(--gold-3);
  margin: 0 0 16px;
  line-height: 1.4;
}
.esp-card > p {
  color: rgba(246,239,226,.75);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 24px;
}
.esp-card ul li {
  padding: 8px 0;
  font-size: .92rem;
  font-weight: 400;
  color: rgba(246,239,226,.85);
  border-bottom: 1px solid rgba(212,168,87,.12);
  position: relative;
  padding-left: 18px;
}
.esp-card ul li:last-child { border-bottom: 0; }
.esp-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--gold-2);
}

/* ============================================================
   CORPO CLÍNICO — pastel, equal-sized doctor cards
   ============================================================ */
.team {
  background: var(--pastel-2);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
}
.team::before, .team::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.team::before { top: 0; }
.team::after { bottom: 0; }
.team__inner { max-width: var(--maxw); margin: 0 auto; }

/* === Team group: agrupa Médicos / Equipe NUR com cabeçalho próprio === */
.team-group {
  position: relative;
}
.team-group + .team-group {
  margin-top: clamp(80px, 10vw, 130px);
  padding-top: clamp(80px, 10vw, 130px);
}
/* Separador editorial entre Médicos e Equipe NUR — linha dourada centralizada com ornamento.
   Não é uma "barra de baixo" da última card, é um divisor próprio do grupo. */
.team-group + .team-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(140px, 26%, 320px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.team-group + .team-group::after {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-1);
  background: var(--pastel-2);
  padding: 0 14px;
  line-height: 1;
}

.team-group__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 90px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.team-group__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 14px;
}
.team-group__label::before,
.team-group__label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-soft);
}
.team-group__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.team-group__deck {
  font-family: var(--font-sans);
  font-size: .98rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 18px 0 0;
  max-width: 56ch;
}

/* === Team feature: foto grande + texto, alternando lados === */
.team-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}
/* O último card de cada grupo perde a borda inferior (evita linha dupla com o separador) */
.team-group .team-feature:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.team-feature:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.team-feature--reverse {
  grid-template-columns: 1.1fr 0.95fr;
}
.team-feature--reverse figure { order: 2; }

.team-feature figure {
  margin: 0;
  position: relative;
}
.team-feature figure::before {
  content: '';
  position: absolute;
  inset: -16px -16px 35% 35%;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
}
.team-feature--reverse figure::before {
  inset: -16px 35% 35% -16px;
}
.team-feature figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  filter: saturate(1.05);
}

.team-feature__body {
  display: flex;
  flex-direction: column;
}
.team-feature__role {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 18px;
}
.team-feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--ink);
}
/* Placeholder de nome — herda fonte display PT Sans Pro Cond Bold do <h3>,
   sem itálico, sem dourado: visualmente igual a um nome real (ex.: "Dr. Ricardo Siufi"). */
.team-feature__placeholder {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.team-feature__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--gold-1);
  margin: 0 0 24px;
}
.team-feature__bio {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0 0 26px;
  max-width: 56ch;
}
.team-feature__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.team-feature__creds li {
  padding: 8px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.team-feature__creds strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .14em;
  margin-right: 8px;
  color: var(--gold-1);
  font-size: .72rem;
}
.team-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
  border-radius: 999px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-feature__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -8px rgba(212,168,87,.55);
}
.team-feature__cta svg { color: #25D366; }

/* ============================================================
   EXAMS (dark)
   ============================================================ */
.exams {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.exams::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(212,168,87,.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(168,132,62,.08), transparent 60%);
  pointer-events: none;
}
.exams__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }

.exams__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.exam-card {
  position: relative;
  background: linear-gradient(180deg, rgba(246,239,226,.04), rgba(246,239,226,.01));
  border: 1px solid rgba(212,168,87,.18);
  border-radius: 8px;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.exam-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,168,87,.45);
  box-shadow: 0 18px 48px -20px rgba(0,0,0,.5);
}
/* Carousel de imagens dos exames (estilo Taggy) — track + dots indicators */
.exam-card__media {
  position: relative;
  background: #0f0d0a;
  overflow: hidden;
  aspect-ratio: 4/3;
}
/* Wrapper interno deslizante que segura todas as imagens lado a lado */
.exam-card__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.exam-card__media img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Dots indicators sobrepostas no canto inferior */
.exam-card__dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
  z-index: 2;
}
.exam-card__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(246,239,226,.45);
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease, width .3s ease;
  box-shadow: 0 0 0 1px rgba(11,10,8,.35);
}
.exam-card__dots button:hover {
  background: rgba(246,239,226,.75);
  transform: scale(1.15);
}
.exam-card__dots button.is-active {
  background: var(--gold-3);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(11,10,8,.4), 0 0 12px rgba(240,212,136,.4);
}
/* Botões de navegação invisíveis (cliques nas laterais) — opcional, mas torna a UX melhor */
.exam-card__media::before,
.exam-card__media::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 35%;
  z-index: 1;
  pointer-events: none;
}
.exam-card__media::before { left: 0; }
.exam-card__media::after  { right: 0; }

.exam-card__body {
  padding: 30px 32px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exam-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(212,168,87,.18);
}
.exam-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
}
.exam-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .02em;
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.exam-card__price small { font-size: 1rem; letter-spacing: 0; }
.exam-card__price--text {
  font-size: 1.25rem;
  letter-spacing: .04em;
}
.exam-card p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(246,239,226,.78);
  margin: 0 0 24px;
  flex: 1;
}
.exam-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-3);
  border: 1px solid rgba(212,168,87,.4);
  border-radius: 999px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.exam-card__cta::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #25D366;
}
.exam-card__cta:hover {
  background: var(--gold-2);
  color: var(--ink);
  border-color: var(--gold-2);
}

/* Card "sob demanda" — arte SVG no lugar do carousel */
.exam-card--demand {
  background: linear-gradient(180deg, rgba(212,168,87,.08), rgba(212,168,87,.02));
  border-style: dashed;
}
.exam-card__media--art {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  background: #0f0d0a;
  overflow: hidden;
}
.exam-card__art {
  position: absolute; inset: 0;
}
.exam-card__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   A CLÍNICA — gallery (pastel)
   ============================================================ */
.clinic {
  background: var(--pastel-3);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
}
.clinic::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.clinic__inner { max-width: var(--maxw); margin: 0 auto; }

.clinic__feature {
  margin: clamp(32px,5vw,56px) 0 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Track: slides side-by-side, clips to one at a time */
.clinic__carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}

/* Each slide = full-width button that also opens lightbox */
.clinic__slide {
  flex: 0 0 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.clinic__slide img {
  width: 100%;
  height: clamp(320px, 52vw, 640px);
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.clinic__slide:hover img { transform: scale(1.02); }

/* Arrows — sobrepostos no canto vertical-center, nas laterais */
.clinic__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(11,10,8,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(240,212,136,.25);
  border-radius: 50%;
  color: var(--gold-3);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.clinic__arrow:hover {
  background: rgba(11,10,8,.85);
  border-color: var(--gold-2);
  transform: translateY(-50%) scale(1.08);
}
.clinic__arrow--prev { left: 16px; }
.clinic__arrow--next { right: 16px; }

/* Dots — sobrepostos no rodapé da imagem, estilo igual exam-card__dots */
.clinic__dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.clinic__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(240,212,136,.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.clinic__dots button.is-active {
  background: var(--gold-3);
  transform: scale(1.35);
}

/* Caption — faixa no rodapé da imagem */
.clinic__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 18px;
  background: linear-gradient(180deg, transparent, rgba(11,10,8,.82));
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-style: italic;
  color: rgba(240,212,136,.75);
  pointer-events: none;
}
#clinicCaptionText {
  font-family: var(--font-display);
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 700;
}



/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,10,8,.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid rgba(246,239,226,.3);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(246,239,226,.1); }
.lightbox__inner {
  margin: 0;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lightbox__inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.lightbox__inner figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  color: var(--cream);
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lightbox__inner figcaption em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-3);
  font-size: 1.3rem;
  margin-left: 6px;
}

/* ============================================================
   EDUCAÇÃO MÉDICA — pastel com arte SVG
   ============================================================ */
.edu {
  background: var(--pastel-1);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
}
.edu::before, .edu::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.edu::before { top: 0; }
.edu::after  { bottom: 0; }
.edu__inner { max-width: var(--maxw); margin: 0 auto; }

.edu__construction {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-top: 16px;
}

.edu__art {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212,168,87,.3);
  aspect-ratio: 600 / 380;
}
.edu__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.edu__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.edu__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-1);
  background: rgba(168,132,62,.08);
  border: 1px solid rgba(168,132,62,.3);
  border-radius: 999px;
}
.edu__copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--ink);
}
.edu__copy p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
  max-width: 56ch;
}
.edu__copy-secondary {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem !important;
  color: var(--gold-1) !important;
}
.edu__copy .btn { margin-top: 6px; }

/* ============================================================
   CONECTE-SE / REDES SOCIAIS
   Janelas para Instagram, YouTube, Blog, LinkedIn e Imprensa.
   Fundo creme quente para se diferenciar do pastel da Educação.
   Cards em papel claro com borda dourada sutil + ícone marcado por
   tom da plataforma, no estilo editorial do NUR.
   ============================================================ */
.social {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,168,87,.07), transparent 60%),
    var(--paper);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.social::before, .social::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.social::before { top: 0; }
.social::after  { bottom: 0; }
.social__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.social__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: clamp(40px, 6vw, 70px);
}

/* Cada cartão: papel suave, borda dourada sutil, header / corpo / footer */
.social-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  min-height: 380px;
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
/* Card largo (Imprensa) ocupa as duas colunas */
.social-card--wide { grid-column: 1 / -1; }

.social-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.social-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.social-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2));
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 4px 14px -6px rgba(168,132,62,.55);
}
.social-card__platform {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 4px;
}
.social-card__handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
}
.social-card__follow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.social-card__follow:hover {
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
  border-color: transparent;
}
.social-card__body {
  flex: 1;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
}
.social-card__foot {
  padding: 14px 26px 18px;
  border-top: 1px dashed var(--line);
}
.social-card__foot small {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--ink-3);
  opacity: .8;
  font-style: italic;
}

/* === Instagram: grid 3x3 === */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

/* Variante: corpo com widget Elfsight (Instagram Feed real do @pneumologista).
   O Elfsight renderiza um <iframe> ou árvore de DOM dinâmica dentro do div alvo;
   damos margem zero, sem estilos próprios, deixando o widget governar a aparência.
   O min-height casa com o card de @nurinstituto_ ao lado. */
.social-card__body--elfsight {
  padding: 0;
  min-height: 320px;
  /* Centra o widget Elfsight horizontalmente dentro do card.
     O widget muitas vezes renderiza um carrossel/grid alinhado à esquerda
     dentro do container; com flex + justify-content:center, qualquer filho
     (mesmo block-level) fica centralizado. text-align:center cobre conteúdo inline. */
  display: flex;
  justify-content: center;
  align-items: stretch;
  text-align: center;
}
.social-card__body--elfsight > div[class^="elfsight-app-"] {
  min-height: 320px;
  width: 100%;
  /* Garante centralização também quando o widget renderiza um wrapper interno
     com largura fixa (carrosséis Elfsight costumam fazer isso). */
  margin-left: auto;
  margin-right: auto;
}

/* Variante: feed em largura total (usado no card Instagram do @nurinstituto_,
   que ocupa as duas colunas via .social-card--wide). Aumenta a altura mínima
   para acomodar o grid horizontal de posts típico do Elfsight Instagram Feed
   sem cortar nada. Sem mudar padding (segue 0, deixa o widget governar). */
.social-card__body--wide-feed,
.social-card__body--wide-feed > div[class^="elfsight-app-"] {
  min-height: 480px;
}

/* Variante: bloco vazio reservado para receber o widget Elfsight numa próxima
   atualização (ex.: @nurinstituto_). Mantém altura e sutileza visual sem
   parecer quebrado. Substitua o conteúdo por <div class="elfsight-app-..."> quando
   a app for criada no painel. */
.social-card__body--placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212,168,87,.08), transparent 70%),
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(168,132,62,.05) 14px 15px);
}
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pastel-3), var(--pastel-4));
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s ease;
}
.ig-tile:hover { transform: scale(1.03); }
.ig-tile__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-1);
  opacity: .55;
}
.ig-tile:nth-child(2n) .ig-tile__placeholder { opacity: .3; }
.ig-tile:nth-child(3n) .ig-tile__placeholder { opacity: .45; }
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === YouTube: video frame === */
.yt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
}
.yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 32px;
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(212,168,87,.18), transparent 65%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
}
.yt-play {
  display: inline-flex;
  color: var(--gold-3);
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 14px rgba(212,168,87,.4));
}
.yt-placeholder p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
  max-width: 36ch;
  color: var(--cream-2);
}
/* Variante: placeholder clicável que leva ao canal */
.yt-placeholder--link {
  text-decoration: none;
  cursor: pointer;
  transition: filter .3s ease;
}
.yt-placeholder--link:hover { filter: brightness(1.15); }
.yt-placeholder__cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-3);
  border-bottom: 1px solid rgba(240,212,136,.35);
  padding-bottom: 2px;
}

/* === TikTok: ícone discreto na paleta do site (NOVO em v2.13) ===
   Mantém o tom escuro/dourado da paleta para não destoar — o widget
   do Elfsight aparece colorido por conta próprio. */
.social-card--tt .social-card__icon {
  background: linear-gradient(135deg, #0e0e10, #25252a);
  color: var(--gold-3);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.55);
}

/* === Spotify: player oficial embutido === */
.social-card--spt .social-card__icon {
  /* verde-escuro discreto, fica em harmonia com a paleta dourada */
  background: linear-gradient(135deg, #1a3a2e, #2d5a47);
  color: #d4f0d4;
  box-shadow: 0 4px 14px -6px rgba(20,60,40,.55);
}
.social-card__body--spt {
  /* v2.14: altura aumentada de 352px → 580px para que o iframe do Spotify
     renderize não só o player do último episódio mas também a playlist com
     os episódios anteriores logo abaixo. Esse comportamento é nativo do embed
     /show/ — basta dar altura suficiente. Antes ficava um espaço preto sobrando
     no fim do card; agora a playlist preenche elegantemente. */
  padding: 0;        /* o iframe ocupa o card inteiro */
  flex: 1;
  min-height: 580px;
  position: relative;
  background: var(--ink);
  /* Fallback visível quando o iframe não carrega (ex.: testes em localhost,
     onde o Spotify retorna "Host not in allowlist"). Em produção (domínio
     público), o iframe sobrepõe e esconde este fallback automaticamente. */
}
.social-card__body--spt::before {
  /* v2.14: mensagem genérica (servia tanto para Pneumocast quanto Podcast NUR).
     Aparece só se o iframe não carregar. */
  content: 'Para ouvir o podcast, abra no Spotify ↗';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream-2);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  z-index: 0;
}
.spt-frame {
  width: 100%;
  height: 100%;
  /* v2.14: min-height casado com o body--spt para acomodar o player + playlist */
  min-height: 580px;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;          /* sobrepõe o fallback quando carrega */
}

/* === Blog: lista de 3 posts === */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  list-style: none;
  padding: 0;
}
.blog-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.5);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.blog-item:hover {
  border-color: var(--gold-soft);
  transform: translateX(2px);
  background: rgba(255,255,255,.85);
}
.blog-item__date {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 6px;
}
.blog-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.18;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--ink);
}
.blog-item__excerpt {
  font-family: var(--font-sans);
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

/* === LinkedIn: cartão de post === */
.li-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  justify-content: center;
}
.li-post {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .3s ease;
}
.li-post:hover { border-color: var(--gold-soft); }
.li-post__avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px -6px rgba(168,132,62,.5);
}
.li-post__avatar-mark {
  display: block;
  width: 22px;
  height: 22px;
  background: var(--ink);
  -webkit-mask: url('../assets/logo-vector.svg') no-repeat center / contain;
          mask: url('../assets/logo-vector.svg') no-repeat center / contain;
}
.li-post__body {
  flex: 1;
  min-width: 0;
}
.li-post__author {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}
.li-post__meta {
  display: block;
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--ink-3);
  opacity: .8;
  margin-bottom: 8px;
}
.li-post__text {
  font-family: var(--font-sans);
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
.li-post__text em {
  font-family: var(--font-serif);
  color: var(--gold-1);
}

/* === Imprensa: track horizontal === */
.press-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.press-item {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.press-item:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  background: #ffffff;
}
.press-item__veiculo {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.press-item__logo {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: var(--gold-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  -webkit-text-fill-color: var(--gold-3);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.press-item__veiculo strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: -.005em;
  line-height: 1.1;
}
.press-item__veiculo > div span {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  color: var(--ink-3);
  opacity: .8;
  margin-top: 2px;
}
.press-item__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 14px;
  flex: 1;
}
.press-item__cta {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-top: auto;
}
.press-item:hover .press-item__cta { color: var(--ink); }

.social-card__foot code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .72rem;
  background: rgba(212,168,87,.12);
  color: var(--gold-1);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ============================================================
   LOCALIZAÇÃO (dark with map)
   ============================================================ */
.loc {
  background: var(--ink-2);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.loc::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212,168,87,.1), transparent 60%);
  pointer-events: none;
}
.loc__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }

/* Foto do empreendimento (Edifício Alpha Business) */
.loc__facade {
  position: relative;
  margin: 0 0 56px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212,168,87,.25);
}
.loc__facade img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.loc__facade figcaption {
  padding: 24px 32px 26px;
  background: linear-gradient(180deg, rgba(11,10,8,0) -20%, rgba(11,10,8,.85) 70%);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 720px;
}
.loc__facade figcaption span {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.loc__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.loc__map {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212,168,87,.25);
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}
.loc__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; }
.loc__map::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 0 60px rgba(11,10,8,.3);
  z-index: 1;
}

.loc__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.loc__brand {
  display: block;
  width: clamp(200px, 18vw, 240px);
  height: auto;
  aspect-ratio: 2056 / 336;
  margin-bottom: 22px;
  background: linear-gradient(120deg, var(--gold-1) 0%, var(--gold-3) 50%, var(--gold-1) 100%);
  -webkit-mask: url("../assets/logo-vector.svg") no-repeat center / contain;
          mask: url("../assets/logo-vector.svg") no-repeat center / contain;
}
.loc__address {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(246,239,226,.85);
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(212,168,87,.2);
}
.loc__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.loc__details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(246,239,226,.8);
}
.loc__details strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-3);
}
.loc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.loc__actions .btn--ghost { color: var(--cream); border-color: rgba(246,239,226,.4); }
.loc__actions .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.loc__actions .btn svg { color: inherit; }

/* ============================================================
   CTA / Agendar — pastel
   ============================================================ */
.cta {
  background: linear-gradient(180deg, var(--pastel-1) 0%, var(--pastel-4) 100%);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
}
.cta__inner { max-width: 980px; margin: 0 auto; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.005em;
  margin: 12px 0 24px;
  text-transform: uppercase;
}
.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-3) 40%, var(--gold-1));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta__text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0 auto 56px;
  max-width: 580px;
}
.cta__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.cta-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-2);
  box-shadow: var(--shadow-md);
}
.cta-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-3);
  flex-shrink: 0;
}
.cta-card--wa .cta-card__icon { background: #25D366; color: #fff; }
.cta-card--review .cta-card__icon { background: linear-gradient(135deg, #4285F4, #EA4335); color: #fff; }
.cta-card__body { display: flex; flex-direction: column; gap: 2px; }
.cta-card__body span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cta-card__body strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--ink);
  font-weight: 600;
}

.cta__wifi {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.cta__wifi strong {
  color: var(--gold-3);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  margin-right: 4px;
}
.cta__wifi svg { color: var(--gold-3); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) var(--gutter) 32px;
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.foot__brand { display: flex; flex-direction: column; gap: 14px; }
.foot__logo-link {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
}
/* Logo via mask CSS — cor controlada por background.
   O SVG usa currentColor, mas <img> não permite recolorir, então mascaramos. */
.foot__logo-svg {
  display: block;
  width: clamp(220px, 22vw, 280px);
  height: auto;
  aspect-ratio: 2056 / 336;
  background: linear-gradient(120deg, var(--gold-1) 0%, var(--gold-3) 50%, var(--gold-1) 100%);
  -webkit-mask: url("../assets/logo-vector.svg") no-repeat center / contain;
          mask: url("../assets/logo-vector.svg") no-repeat center / contain;
  transition: opacity .25s ease, transform .25s ease;
}
.foot__logo-link:hover .foot__logo-svg { opacity: .85; transform: translateY(-1px); }
.foot__brand small {
  font-size: .82rem;
  font-weight: 400;
  color: rgba(246,239,226,.55);
  letter-spacing: .02em;
}
.foot__col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 16px;
}
.foot__col p {
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(246,239,226,.75);
  margin: 0;
}
.foot__col a {
  color: rgba(246,239,226,.85);
  transition: color .25s ease;
  display: inline-block;
}
.foot__col a:hover { color: var(--gold-3); }
.foot__bar {
  grid-column: 1 / -1;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(212,168,87,.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.foot__bar small { color: rgba(246,239,226,.5); font-size: .78rem; letter-spacing: .04em; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 16px 32px -8px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .3s ease;
  animation: pulseWA 2.4s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.08); }
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 16px 32px -8px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 16px 32px -8px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 981px) {
  .nav__links-cta { display: none; }
}

@media (max-width: 1100px) {
  .loc__grid { grid-template-columns: 1fr; }
  .loc__map { min-height: 320px; }
  .loc__map iframe { min-height: 320px; }
}

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 90px 32px 40px;
    background: var(--ink);
    height: 100vh;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.is-open li { border-bottom: 1px solid rgba(212,168,87,.15); }
  .nav__links.is-open a {
    display: block;
    padding: 20px 0;
    font-size: 1rem;
  }
  .nav__links.is-open .nav__links-cta {
    border-bottom: 0;
    margin-top: 24px;
  }
  .nav__links.is-open .nav__links-cta a {
    display: inline-block;
    padding: 16px 28px;
    background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
    color: var(--ink);
    border-radius: 999px;
    font-weight: 600;
  }
  .nav__links.is-open .nav__links-cta a::after { display: none; }

  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__image { position: static; max-width: 480px; margin: 0 auto; }

  .esp__grid { grid-template-columns: 1fr; }
  .exams__grid { grid-template-columns: 1fr; }

  /* Team feature: empilha foto e texto em mobile */
  .team-feature,
  .team-feature--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .team-feature--reverse figure { order: 0; }
  .team-feature figure { max-width: 480px; margin: 0 auto; }
  .team-feature figure::before,
  .team-feature--reverse figure::before { inset: -10px -10px 35% 35%; }

  /* Educação: empilha arte e texto em mobile */
  .edu__construction {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .edu__art { max-width: 560px; margin: 0 auto; width: 100%; }

  .loc__facade figcaption {
    position: static;
    background: rgba(11,10,8,.92);
  }

  /* Social: empilha as janelas em mobile */
  .social__grid { grid-template-columns: 1fr; }
  .social-card { min-height: 0; }
  .social-card__head { padding: 18px 20px 14px; }
  .social-card__body { padding: 18px 20px; }
  .social-card__foot { padding: 12px 20px 14px; }

  /* Hero: foco mais à esquerda em telas médias, overlay um pouco mais escuro */
  .hero__photo img { object-position: center 22%; }
  .hero__photo-overlay {
    background:
      linear-gradient(95deg, rgba(11,10,8,.95) 0%, rgba(11,10,8,.85) 35%, rgba(11,10,8,.65) 70%, rgba(11,10,8,.7) 100%),
      linear-gradient(180deg, rgba(11,10,8,.5) 0%, rgba(11,10,8,0) 25%, rgba(11,10,8,0) 75%, rgba(11,10,8,.55) 100%);
  }

  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .clinic__arrow { width: 38px; height: 38px; }
  .clinic__slide img { height: clamp(260px, 52vw, 460px); }

  .team-feature h3 { font-size: 1.7rem; }

  /* Hero meta: stack para 2 colunas em tablets */
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .edu__copy h3 { font-size: 1.7rem; }
}

@media (max-width: 560px) {
  .hero { padding: 120px var(--gutter) 60px; min-height: 92vh; min-height: 92svh; }
  .hero__lede { font-size: 1.35rem; line-height: 1.3; margin-bottom: 36px; }
  .hero__meta { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .hero__actions { gap: 12px; margin-bottom: 56px; }
  .hero__actions .btn { padding: 14px 22px; font-size: .76rem; }
  /* MOBILE (v2.15): comportamento da foto restaurado para o equivalente exato
     da v2.11, a pedido do cliente. As experimentações das v2.12-v2.14 (fillers,
     tirinhas equipe-edge-*, pseudo ::after, --photo-top, object-fit:contain,
     align-items:flex-start) foram TODAS desfeitas. A foto volta a usar
     object-fit:cover cobrindo todo o hero, com object-position e filter
     levemente ajustados para mobile (idênticos à v2.11), e o overlay vertical
     idem. O texto fica centralizado verticalmente (align-items:center padrão
     do .hero, herdado), sobre a foto desfocada/escurecida. Sem assets extras,
     sem JS, sem CSS auxiliar — exatamente como o site original era até a v2.11. */
  .hero__photo img { object-position: center 18%; filter: saturate(.8) contrast(.92) brightness(.55); }
  .hero__photo-overlay {
    background:
      linear-gradient(180deg, rgba(11,10,8,.65) 0%, rgba(11,10,8,.4) 30%, rgba(11,10,8,.6) 65%, rgba(11,10,8,.95) 100%);
  }

  .esp-card { padding: 32px 24px; }
  .exam-card__body { padding: 24px 22px 22px; }
  .exam-card header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .exam-card__price { font-size: 1.4rem; }
  .exam-card__dots { bottom: 8px; }
  .exam-card__dots button { width: 7px; height: 7px; }
  .exam-card__dots button.is-active { width: 18px; }

  .clinic__slide img { height: 260px; }
  .clinic__arrow { width: 34px; height: 34px; }

  .loc__facade figcaption {
    padding: 18px 22px 20px;
    font-size: .92rem;
  }

  .cta__wifi {
    display: flex;
    text-align: left;
    font-size: .82rem;
    padding: 14px 18px;
    line-height: 1.4;
  }

  /* Social: header empilha em telas muito pequenas para o follow não cortar */
  .social-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .social-card__follow { align-self: flex-start; }
  .ig-grid { gap: 4px; }

  .foot__inner { grid-template-columns: 1fr; }
  .foot__bar { flex-direction: column; align-items: flex-start; }

  .float-wa { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__kicker, .hero__lede, .hero__actions, .hero__meta { opacity: 1; transform: none; }
  .hero__photo img { animation: none; transform: scale(1.04); }
}
