/* ==========================================================================
   Dra. Fabiana Piovesan — sistema visual "Trajetória Clínica"
   Duotone sálvia + taupe extraído da logo real, tipografia editorial
   (Fraunces + Jost). Autoral para esta cliente — não reaproveita layout,
   componentes ou nomenclatura de outros sites da carteira Iodo.
   ========================================================================== */

:root {
  --sage: #829899;
  --sage-deep: #4F6062;
  --sage-ink: #3A4547;
  --sage-pale: #E4E9E7;

  --taupe: #A38A82;
  --taupe-deep: #8B6F63;
  --taupe-pale: #F1E9E5;

  --paper: #F6F7F5;
  --paper-alt: #EDEFEA;
  --ink: #2B302F;
  --ink-muted: #6B7472;
  --hairline: #DBE1DD;
  --white: #FFFFFF;

  --font-serif: 'Fraunces', 'Georgia', serif;
  --font-sans: 'Jost', 'Helvetica Neue', sans-serif;

  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 30px;
  --shadow-soft: 0 24px 48px -28px rgba(43, 48, 47, 0.38);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .tc-serif {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-weight: 500; }

a { color: var(--taupe-deep); }
a:hover { color: var(--sage-deep); }

::selection { background: var(--taupe-pale); color: var(--ink); }

.container { max-width: 1220px; }

/* ---------- Utilitários de seção ---------- */
.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

.tc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin-bottom: 14px;
}
.tc-eyebrow-line { display:flex; align-items:center; gap:16px; margin-bottom: 46px; }
.tc-eyebrow-line .tc-kicker { margin-bottom: 0; white-space: nowrap; }
.tc-eyebrow-line .tc-rule { height: 1px; background: var(--hairline); flex: 1; }

.section-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.25; margin-bottom: 16px; }
.section-lead { color: var(--ink-muted); font-size: 1rem; max-width: 640px; }
.tc-section-head { border-top: 1px solid var(--sage-ink); padding-top: 22px; margin-bottom: 34px; }
.tc-section-head .section-title { margin-bottom: 0; }
.tc-prose { max-width: 720px; }
.tc-prose h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.tc-prose h2:first-child { margin-top: 0; }
.tc-prose li { margin-bottom: 6px; }

/* ---------- Botões ---------- */
.btn { font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.01em; border-radius: 999px; }
.btn-lg { font-size: 1rem; }

.btn-tc {
  background: var(--taupe-deep);
  border: 1px solid var(--taupe-deep);
  color: var(--white);
  padding: 12px 26px;
}
.btn-tc:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }

.btn-tc-outline {
  background: transparent;
  border: 1px solid var(--sage-ink);
  color: var(--sage-ink);
  padding: 12px 26px;
}
.btn-tc-outline:hover { background: var(--sage-ink); border-color: var(--sage-ink); color: var(--white); }

.btn-tc-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  padding: 12px 26px;
}
.btn-tc-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* ---------- Masthead: logo centralizada, navegação dividida nos dois lados ---------- */
.tc-masthead-header { background: var(--paper); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--hairline); }

.tc-masthead { position: relative; display: flex; align-items: center; min-height: 74px; padding: 10px 0; }

.tc-masthead-brand { line-height: 0; }
.tc-masthead-brand img { height: 50px; width: auto; }
@media (min-width: 992px) { .tc-masthead-brand img { height: 64px; } }

.tc-masthead-nav { display: flex; align-items: center; gap: 30px; }

.tc-masthead-nav a, .tc-masthead-nav .dropdown-toggle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 6px 2px;
}
.tc-masthead-nav a:hover, .tc-masthead-nav a.active,
.tc-masthead-nav .dropdown-toggle:hover, .tc-masthead-nav .dropdown-toggle.active { color: var(--taupe-deep); }
.tc-masthead-nav a.active::after, .tc-masthead-nav .dropdown-toggle.active::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: -2px; height: 2px; background: var(--taupe-deep);
}
.tc-masthead-nav .dropdown-toggle::after { margin-left: 6px; vertical-align: 1px; }
/* Submenu abre ao passar o mouse (ou ao navegar por teclado); o link do topo leva à página de áreas */
.tc-masthead-nav .dropdown-menu {
  display: block; top: 100%; left: -18px; min-width: 250px;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  margin-top: 12px !important;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.tc-masthead-nav .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.tc-masthead-nav .dropdown:hover > .dropdown-menu,
.tc-masthead-nav .dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.tc-masthead-nav .dropdown-menu { min-width: 300px; padding: 8px; border-radius: var(--radius-md); }
.tc-masthead-nav .dropdown-item { white-space: normal; }
.tc-masthead-nav .tc-sub {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  transition: background .2s ease, border-color .2s ease, padding-left .2s ease;
}
.tc-masthead-nav .tc-sub-t { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.tc-masthead-nav .tc-sub-d { display: block; font-size: 0.82rem; line-height: 1.4; color: var(--ink-muted); margin-top: 2px; }
.tc-masthead-nav .tc-sub:hover,
.tc-masthead-nav .tc-sub:focus-visible { background: var(--taupe-pale); border-left-color: var(--taupe-deep); padding-left: 18px; }
.tc-masthead-nav .tc-sub:hover .tc-sub-t,
.tc-masthead-nav .tc-sub.is-current .tc-sub-t { color: var(--taupe-deep); }
.tc-masthead-nav .tc-sub-all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 14px 14px 10px;
  border-top: 1px solid var(--hairline);
  font-size: 0.86rem; font-weight: 600; color: var(--sage-deep);
  background: transparent;
}
.tc-masthead-nav .tc-sub-all .bi { transition: transform .2s ease; }
.tc-masthead-nav .tc-sub-all:hover { background: transparent; color: var(--taupe-deep); }
.tc-masthead-nav .tc-sub-all:hover .bi { transform: translateX(4px); }

.tc-masthead-right { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.tc-masthead-toggle {
  background: none; border: none; color: var(--ink); font-size: 1.7rem; line-height: 1; padding: 2px;
}

/* ---------- Menu mobile (painel abaixo da masthead) ---------- */
.tc-mobile-nav { display: flex; flex-direction: column; padding: 8px 0 24px; }
.tc-mobile-nav a {
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--hairline);
}
.tc-mobile-nav a.active { color: var(--taupe-deep); }
.tc-mobile-nav a.tc-mobile-nav-sub { font-size: 0.9rem; color: var(--ink-muted); padding: 10px 4px 10px 18px; border-bottom: 1px dashed var(--hairline); }

/* ---------- Header transparente sobre o hero (home) ---------- */
/* Fora do desktop o wrapper some do layout (sticky do header segue normal). */
.tc-header-stack { display: contents; }

@media (min-width: 992px) {
  .tc-header-stack.is-transparent {
    display: block;
    position: absolute;
    top: 15px; left: 0; right: 0;
    z-index: 100;
  }
  .tc-header-stack.is-transparent .tc-masthead-header {
    position: static;
    background: transparent;
    border-bottom-color: transparent;
  }
}

/* ---------- Hero editorial ---------- */
.tc-hero { 
  padding: 176px 0 190px; 
  overflow: hidden; 
  position: relative; 
}

.tc-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  margin-bottom: 22px;
}
.tc-hero h1 em { font-style: italic; color: var(--taupe-deep); font-weight: 500; }
.tc-hero .tc-hero-lead { font-size: 1.05rem; color: var(--ink-muted); max-width: 520px; margin-bottom: 34px; }
.tc-hero-crm { font-size: 0.85rem; color: var(--ink-muted); margin: 22px 0 0; }

/* ---------- Links de área de atuação: bloco com linha fina no topo ---------- */
.tc-area-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding: 22px 0 6px;
  height: 100%;
  transition: border-color .2s ease;
}
.tc-area-card:hover { border-top-color: var(--taupe-deep); color: var(--ink); }
.tc-area-card h3, .tc-area-card .h3-like { font-size: 1.2rem; margin-bottom: 8px; transition: color .2s ease; }
.tc-area-card:hover h3, .tc-area-card:hover .h3-like { color: var(--taupe-deep); }
.tc-area-card p { color: var(--ink-muted); font-size: 0.94rem; margin-bottom: 0; }
.tc-area-img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--sage-pale); margin: 0 0 18px; }
.tc-area-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tc-area-card:hover .tc-area-img img { transform: scale(1.03); }
.tc-area-card:has(.tc-area-img) { border-top: 0; padding-top: 0; }

/* ---------- Áreas na home: blocos de foto com título sobreposto ---------- */
.tc-area-tiles .tc-area-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: auto;
  aspect-ratio: 4 / 5;
  padding: 24px 22px;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sage-ink);
  color: #fff;
  box-shadow: 0 30px 50px -36px rgba(43, 48, 47, 0.6);
}
.tc-area-tiles .tc-area-img { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; border-radius: 0; z-index: 0; }
.tc-area-tiles .tc-area-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43,48,47,0) 30%, rgba(43,48,47,.55) 58%, rgba(43,48,47,.93) 100%);
  transition: opacity .4s ease;
}
.tc-area-tiles .tc-area-card::after {
  content: '\2192';
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(43,48,47,.25);
  color: #fff; font-family: var(--font-sans); font-size: 1.05rem; line-height: 1;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.tc-area-tiles .tc-area-card:hover::after { background: #fff; color: var(--sage-ink); transform: translateX(3px); }
.tc-area-tiles .tc-area-card h3,
.tc-area-tiles .tc-area-card p { position: relative; z-index: 2; }
.tc-area-tiles .tc-area-card h3,
.tc-area-tiles .tc-area-card:hover h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.tc-area-tiles .tc-area-card p { color: #E1E8E5; font-size: 0.9rem; line-height: 1.5; }
.tc-area-tiles .tc-area-card:hover .tc-area-img img { transform: scale(1.06); }
.tc-area-tiles [href*="transplante-renal"] .tc-area-img img { object-position: 74% center; }
.tc-area-tiles [href*="dialise"] .tc-area-img img { object-position: 38% center; }
@media (max-width: 767.98px) {
  .tc-area-tiles .tc-area-card { aspect-ratio: 16 / 11; }
}

/* ---------- Páginas de área: lista de sinais, nota de pesquisa, autora ---------- */
.tc-prose > p:first-of-type { font-size: 1.08rem; color: var(--ink); }
.tc-prose h2 + p { margin-top: 0; }
.tc-checks { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.tc-checks li {
  position: relative;
  margin: 0;
  padding: 13px 16px 13px 44px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-size: 0.94rem; line-height: 1.45;
}
.tc-checks li::before {
  content: '';
  position: absolute; left: 17px; top: 18px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--taupe-deep);
  border-bottom: 2px solid var(--taupe-deep);
  transform: rotate(-45deg);
}
.tc-research { background: var(--taupe-pale); border-radius: var(--radius-md); padding: 26px 30px 28px; margin: 38px 0 0; }
.tc-research-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--taupe-deep); margin-bottom: 8px; }
.tc-research p { font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.6; color: var(--sage-ink); margin: 0; }
.tc-aside { box-shadow: 0 30px 50px -40px rgba(43, 48, 47, 0.45); }
.tc-aside-author { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.tc-aside-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; }
.tc-aside-author span { display: flex; flex-direction: column; line-height: 1.35; }
.tc-aside-author strong { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.tc-aside-author small { font-size: 0.78rem; color: var(--ink-muted); }
.tc-area-tiles--wide .tc-area-card { aspect-ratio: 16 / 11; }

/* ---------- Lista de fatos (credenciais, dados práticos) ---------- */
.tc-facts { list-style: none; padding: 0; margin: 0; }
.tc-facts li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.tc-facts li:last-child { border-bottom: 1px solid var(--hairline); }
.tc-facts .tc-facts-k { flex: 0 0 132px; font-size: 0.85rem; font-weight: 600; color: var(--taupe-deep); }
.tc-facts .tc-facts-v { color: var(--ink); font-size: 0.97rem; }

/* ---------- Caixa lateral das páginas de área ---------- */
.tc-aside { border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--white); padding: 28px; position: sticky; top: 100px; }
.tc-aside h2 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.tc-aside ul { font-size: 0.92rem; color: var(--ink-muted); padding-left: 18px; margin-bottom: 22px; }
.tc-aside .tc-aside-crm { font-size: 0.8rem; color: var(--ink-muted); margin: 14px 0 0; text-align: center; }

/* ---------- Timeline acadêmica (Sobre) ---------- */
.tc-timeline { position: relative; padding-left: 40px; }
.tc-timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(to bottom, var(--taupe), var(--sage));
}
.tc-timeline-item { position: relative; padding-bottom: 42px; }
.tc-timeline-item:last-child { padding-bottom: 0; }
.tc-timeline-item::before {
  content: ''; position: absolute; left: -40px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--taupe-deep);
}
.tc-timeline-item .tc-tl-period {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--taupe-deep); margin-bottom: 6px; display:block;
}
.tc-timeline-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tc-timeline-item p { color: var(--ink-muted); margin-bottom: 0; }

/* ---------- Página Sobre ---------- */
.tc-intro-lead { font-size: 1.12rem; line-height: 1.65; color: var(--ink); }
.tc-sticky-head { position: sticky; top: 110px; }

/* Cronologia em linhas: período à esquerda, marco à direita */
.tc-chrono { list-style: none; margin: 0; padding: 0; }
.tc-chrono li {
  display: grid; grid-template-columns: 150px 1fr; gap: 0 32px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
}
.tc-chrono li:first-child { border-top: 2px solid var(--sage-ink); }
.tc-chrono li:last-child { border-bottom: 1px solid var(--hairline); }
.tc-chrono-when { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.3; color: var(--taupe-deep); }
.tc-chrono h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 6px; }
.tc-chrono p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* Publicações e títulos */
.tc-pub {
  display: grid; grid-template-columns: 76px 1fr; gap: 0 22px; align-items: start;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--taupe);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.tc-pub-year { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2; color: var(--taupe-deep); }
.tc-pub h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; line-height: 1.5; letter-spacing: 0; margin-bottom: 6px; }
.tc-pub p { font-size: 0.88rem; color: var(--ink-muted); margin: 0; }
.tc-honors { background: var(--taupe-pale); border-radius: var(--radius-md); padding: 8px 26px; }
.tc-honor { padding: 20px 0; border-bottom: 1px solid rgba(139, 111, 99, 0.25); }
.tc-honor:last-child { border-bottom: 0; }
.tc-honor p { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-muted); }
.tc-honor strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.98rem; }

/* ---------- Pull quote ---------- */
.tc-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--sage-ink);
  border-left: 3px solid var(--taupe);
  padding: 6px 0 6px 28px;
  margin: 40px 0;
}

/* ---------- Breadcrumb ---------- */
.tc-breadcrumb { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 18px; }
.tc-breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.tc-breadcrumb a:hover { color: var(--taupe-deep); }
.tc-breadcrumb .active { color: var(--ink); font-weight: 500; }

/* ---------- Abertura das páginas internas ----------
   Com foto (.has-photo + --hero-img): a foto do tema ocupa o lado direito e
   se dissolve no fundo em direção ao texto. */
.tc-page-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 66px;
  background: linear-gradient(100deg, var(--paper-alt) 0%, var(--paper-alt) 52%, var(--sage-pale) 100%);
  border-bottom: 1px solid var(--hairline);
}
.tc-page-hero .container { position: relative; z-index: 2; }
.tc-page-hero h1 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.2; margin-bottom: 14px; max-width: 760px; }
.tc-page-hero .lead { color: var(--ink-muted); max-width: 620px; font-size: 1rem; margin-bottom: 0; }
.tc-page-hero .tc-post-meta { font-size: 0.88rem; color: var(--ink-muted); margin: 0; }
.tc-page-hero .tc-post-meta a { color: var(--ink); }
.tc-breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--taupe); }

@media (min-width: 992px) {
  .tc-page-hero.has-photo { padding: 84px 0 88px; }
  .tc-page-hero.has-photo::after {
    content: '';
    position: absolute; z-index: 1;
    top: 0; bottom: 0; right: 0;
    width: 46%;
    background: var(--hero-img) center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 62%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 62%);
  }
  .tc-page-hero.has-photo h1 { max-width: 600px; }
  .tc-page-hero.has-photo .lead { max-width: 520px; }
}
@media (max-width: 991.98px) {
  .tc-page-hero { padding: 40px 0 44px; }
}

/* ---------- Info box / CTA card ---------- */
.tc-info-card {
  background: var(--sage-ink);
  color: #EAEFED;
  border-radius: var(--radius-md);
  padding: 40px;
}
.tc-info-card h2 { font-size: 1.45rem; }
.tc-info-card h2, .tc-info-card h3 { color: #fff; }
.tc-info-card p { color: #C7D2CF; }

/* ---------- Retrato profissional ---------- */
.tc-portrait-wrap { position: relative; }
.tc-portrait-wrap::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  right: 18px; bottom: -18px;
  background: var(--taupe-pale);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.tc-portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.tc-portrait-wrap.tc-portrait--hero { max-width: 460px; margin: 0 auto; width: 100%; }

/* Retrato usando a mesma composição da capa (recorte + fundo desfocado) */
.tc-portrait--cover {
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(246,247,245,.30) 0%, rgba(246,247,245,.04) 45%, rgba(246,247,245,.34) 100%),
    url('../img/fundo.webp') center 28% / cover no-repeat;
}
.tc-portrait--cover img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* ---------- Hero com foto de fundo em página inteira ---------- */
.tc-hero--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(660px, 84vh, 880px);
  color: var(--ink);
  display: flex;
}
.tc-hero-bg {
  position: absolute; inset: 0;
  background: url('../img/fundo.webp') center 30% / cover no-repeat;
  z-index: 0;
}
.tc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(246,247,245,.97) 0%, rgba(246,247,245,.94) 28%, rgba(246,247,245,.80) 50%, rgba(246,247,245,.48) 70%, rgba(246,247,245,.62) 100%);
  z-index: 1;
}
.tc-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
}
.tc-hero-inner .row { width: 100%; }
.tc-hero-figure {
  position: absolute;
  /* Foto encostada na coluna de texto e maior que a altura do hero:
     a parte de baixo (cintura) é cortada pela borda, como num retrato editorial. */
  top: 100px;
  bottom: 0;
  left: 58%;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
}
@media (min-width: 1200px) {
  .tc-hero-figure { left: calc(50% + 10px); }
}
.tc-hero-figure-img {
  display: block;
  height: 122%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 22px 26px rgba(43,48,47,.25));
}

.tc-hero--photo .tc-hero-lead { margin-bottom: 26px; }

/* ---------- FAQ (accordion) ---------- */
.tc-faq .accordion-item {
  border: 1px solid var(--hairline) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tc-faq .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: var(--taupe) !important; box-shadow: 0 22px 36px -30px rgba(43, 48, 47, 0.5); }
.tc-faq .accordion-button {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem;
  background: transparent; color: var(--ink); padding: 20px 22px; box-shadow: none; gap: 16px;
}
.tc-faq .accordion-button:not(.collapsed) { color: var(--taupe-deep); background: transparent; box-shadow: none; }
.tc-faq .accordion-button:focus-visible { outline: 2px solid var(--taupe); outline-offset: -2px; }
.tc-faq .accordion-button::after {
  content: '+';
  background-image: none;
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 50%;
  font-family: var(--font-sans); font-weight: 400; font-size: 1.25rem; line-height: 1;
  color: var(--taupe-deep);
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.tc-faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background: var(--taupe-deep); border-color: var(--taupe-deep); color: #fff; }
.tc-faq .accordion-body { padding: 0 22px 22px; color: var(--ink-muted); }
.tc-faq-more { margin: 20px 0 0; padding: 0 4px; font-size: 0.92rem; color: var(--ink-muted); }
.tc-faq-more a { font-weight: 600; }

/* ---------- Blog ---------- */
.tc-post-row { display:flex; gap: 24px; text-decoration:none; color: var(--ink); padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.tc-post-row:first-child { padding-top: 0; }
.tc-post-row-img { width: 168px; height: 120px; flex-shrink:0; border-radius: var(--radius-sm); overflow:hidden; background: var(--paper-alt); }
.tc-post-row-img img { width:100%; height:100%; object-fit:cover; }
.tc-post-row-meta { font-size:0.76rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color: var(--taupe-deep); margin-bottom:6px; }
.tc-post-row-title { font-size: 1.15rem; margin-bottom: 6px; }
.tc-post-row p { color: var(--ink-muted); font-size: 0.92rem; margin-bottom:0; }
.tc-post-row:hover .tc-post-row-title { color: var(--taupe-deep); }

/* ---------- Cartões de artigo (home e "continue lendo") ---------- */
.tc-post-card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tc-post-card:hover { color: var(--ink); border-color: var(--taupe); box-shadow: 0 30px 46px -36px rgba(43, 48, 47, 0.55); }
.tc-post-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-pale); }
.tc-post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tc-post-card:hover .tc-post-card-img img { transform: scale(1.04); }
.tc-post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 20px; }
.tc-post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; transition: color .2s ease; }
.tc-post-card:hover h3 { color: var(--taupe-deep); }
.tc-post-card p {
  color: var(--ink-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tc-post-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 0.82rem; color: var(--ink-muted);
}
.tc-post-card-foot .bi { color: var(--taupe-deep); font-size: 1.05rem; transition: transform .25s ease; }
.tc-post-card:hover .tc-post-card-foot .bi { transform: translateX(5px); }

/* ---------- Filtro de categorias do blog ---------- */
.tc-filter { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 36px; border-bottom: 1px solid var(--hairline); }
.tc-filter a {
  position: relative;
  padding: 0 0 14px;
  font-size: 0.94rem; font-weight: 500;
  color: var(--ink-muted); text-decoration: none;
  transition: color .2s ease;
}
.tc-filter a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--taupe-deep); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.tc-filter a:hover, .tc-filter a.is-active { color: var(--ink); }
.tc-filter a:hover::after, .tc-filter a.is-active::after { transform: scaleX(1); }
.tc-post-card h2 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; transition: color .2s ease; }
.tc-post-card:hover h2 { color: var(--taupe-deep); }

.tc-blog-content { font-size: 1.06rem; line-height: 1.85; }
.tc-blog-content h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 16px; }
.tc-blog-content h3 { font-size: 1.15rem; margin-top: 30px; margin-bottom: 12px; }
.tc-blog-content p { margin-bottom: 18px; color: var(--ink); }
.tc-blog-content ul, .tc-blog-content ol { margin-bottom: 18px; padding-left: 22px; }
.tc-blog-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.tc-blog-content blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; border-left: 3px solid var(--taupe); padding-left: 22px; color: var(--sage-ink); margin: 28px 0; }

/* ---------- Trajetória na home (fundo claro) ---------- */
.tc-traj { background: var(--paper); }

.tc-bigquote {
  position: relative;
  margin: 0;
  padding: 44px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--sage-ink);
}
.tc-bigquote::before {
  content: '\201C';
  position: absolute;
  top: -22px; left: -4px;
  font-size: 5.5rem;
  line-height: 1;
  font-style: normal;
  color: var(--taupe);
}
.tc-bigquote footer {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Linha do tempo horizontal: anos reais da formação */
.tc-milestones {
  list-style: none;
  margin: 64px 0 0;
  padding: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 28px;
  position: relative;
}
.tc-milestones::before {
  content: '';
  position: absolute;
  top: 6px; left: 0; right: 0;
  height: 1px;
  background: var(--sage);
  opacity: .55;
  transform-origin: left center;
}
.tc-milestone { position: relative; display: flex; flex-direction: column; }
.tc-milestone::before {
  content: '';
  position: absolute;
  top: -34px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--taupe-deep);
}
.tc-milestone-year { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.1; color: var(--taupe-deep); margin-bottom: 10px; }
.tc-milestone strong { color: var(--ink); font-weight: 600; font-size: 0.98rem; line-height: 1.35; margin-bottom: 6px; }
.tc-milestone span:last-child { font-size: 0.86rem; line-height: 1.5; color: var(--ink-muted); }

.tc-traj-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem; color: var(--ink-muted);
}

/* ---------- Trajetória: citação em painel e linha do tempo em cartão ---------- */
.tc-bigquote {
  background: var(--taupe-pale);
  border-radius: var(--radius-md);
  padding: 64px 40px 34px;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}
.tc-bigquote::before { top: 18px; left: 34px; font-size: 4.6rem; color: var(--taupe-deep); }
.tc-bigquote footer { display: flex; align-items: center; gap: 14px; margin-top: 24px; line-height: 1.45; }
.tc-bigquote footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; }
.tc-bigquote footer strong { color: var(--ink); font-weight: 600; font-size: 0.92rem; }

.tc-milestones {
  margin-top: 48px;
  padding: 76px 38px 38px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 50px -40px rgba(43, 48, 47, 0.45);
}
.tc-milestones::before {
  top: 46px; left: 38px; right: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--taupe-deep), var(--sage));
  opacity: 1;
}
.tc-milestone::before {
  top: -38px;
  width: 16px; height: 16px;
  background: var(--taupe-deep);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--taupe-deep);
}
.tc-milestone-year { font-size: 1.9rem; }

/* ---------- Sinais de alerta (quando procurar): painel em grade com linhas finas ---------- */
.tc-signs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 50px -40px rgba(43, 48, 47, 0.45);
}
.tc-sign {
  padding: 30px 26px 28px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background .3s ease;
}
.tc-sign:nth-child(3n) { border-right: 0; }
.tc-sign:nth-last-child(-n+3) { border-bottom: 0; }
.tc-sign:hover { background: var(--taupe-pale); }
.tc-sign .bi { display: block; font-size: 1.7rem; line-height: 1; color: var(--taupe-deep); margin-bottom: 18px; }
.tc-sign h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tc-sign p { font-size: 0.9rem; line-height: 1.55; color: var(--ink-muted); margin: 0; }

/* ---------- Cartão do consultório (mapa + dados) ---------- */
.tc-place { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 30px 50px -40px rgba(43, 48, 47, 0.45); }
.tc-place-map { aspect-ratio: 4 / 3; background: var(--sage-pale); }
.tc-place-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.45) contrast(0.96); }
.tc-place-body { padding: 14px 28px 28px; }
.tc-place-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 0.96rem; }
.tc-place-row .bi { color: var(--taupe-deep); font-size: 1.05rem; margin-top: 2px; }

/* ---------- Animação de entrada ao rolar (só com JS e sem "reduzir movimento") ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.tc-milestones[data-line]::before { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .15s; }
.tc-milestones[data-line].is-in::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tc-milestones[data-line]::before { transform: none; transition: none; }
}

/* ---------- Página de contato ---------- */
.tc-contact-card {
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--taupe-deep);
  border-radius: var(--radius-md);
  padding: 34px 34px 18px;
  box-shadow: 0 30px 50px -40px rgba(43, 48, 47, 0.45);
}
.tc-contact-card .tc-place-row { width: 100%; border-bottom: 0; border-top: 1px solid var(--hairline); }
.tc-place--map { height: 100%; display: flex; flex-direction: column; }
.tc-place--map .tc-place-map { flex: 1; aspect-ratio: auto; min-height: 380px; }
.tc-place-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 24px; font-size: 0.9rem; color: var(--ink-muted); }
.tc-place-caption a { font-weight: 600; text-decoration: none; }

/* ---------- Fechamento da página: convite com telefone em destaque e símbolo da marca ---------- */
.tc-closing {
  position: relative;
  overflow: hidden;
  background: var(--taupe-pale);
  padding: 92px 0 96px;
}
.tc-closing .container { position: relative; z-index: 1; }
.tc-closing-mark {
  position: absolute;
  right: 3%; bottom: -150px;
  height: 520px; width: auto;
  opacity: 0.16;
  transform: rotate(-8deg);
  pointer-events: none;
}
.tc-closing h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); line-height: 1.25; margin-bottom: 14px; max-width: 480px; }
.tc-closing p { color: var(--ink-muted); max-width: 470px; margin: 0; }
.tc-closing-contact { display: flex; flex-direction: column; align-items: flex-start; border-left: 2px solid var(--taupe-deep); padding-left: 28px; }
.tc-closing-label { font-size: 0.86rem; font-weight: 500; color: var(--ink-muted); margin-bottom: 4px; }
.tc-closing-number {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.15;
  color: var(--sage-ink); text-decoration: none;
  margin-bottom: 20px;
  background: linear-gradient(var(--taupe-deep), var(--taupe-deep)) left bottom / 0 2px no-repeat;
  transition: background-size .35s ease, color .25s ease;
}
.tc-closing-number:hover { color: var(--taupe-deep); background-size: 100% 2px; }
.tc-closing-addr { font-size: 0.86rem; color: var(--ink-muted); margin-top: 18px; }

/* ---------- Footer ---------- */
.tc-footer { background: var(--sage-ink); color: #C6D0CD; padding: 72px 0 28px; }
.tc-footer .tc-footer-title { color: #fff; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; text-transform:uppercase; letter-spacing:0.06em; margin-bottom: 18px; }
.tc-footer .tc-footer-logo { height: 42px; width: auto; margin-bottom: 18px; }
.tc-footer a { color: #C6D0CD; }
.tc-footer a:hover { color: #fff; }
.tc-footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; font-size:0.92rem; }
.tc-footer-links a { text-decoration:none; }
.tc-footer-contact { display:flex; gap:10px; font-size:0.9rem; margin-bottom: 10px; align-items:flex-start; }
.tc-footer-contact i { color: var(--taupe); margin-top: 3px; }
.tc-footer-crm { color: #fff; font-weight: 600; font-size: 0.9rem; margin-top: 6px; }
.tc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding-top: 24px; font-size: 0.82rem; color: #9FADA9; }

/* ---------- Botão flutuante de WhatsApp ---------- */
.tc-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 24px -12px rgba(43, 48, 47, 0.55);
  z-index: 90;
  transition: background .15s ease;
}
.tc-whatsapp-float:hover { background: #1EBE5B; color: #fff; }

/* ---------- Aviso de cookies (cookies.php + assets/js/consentimento.js) ---------- */
.cookie-aviso {
  position: fixed; left: 22px; bottom: 22px; z-index: 1050;
  width: min(27rem, calc(100vw - 44px));
  padding: 20px 22px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline); border-top: 3px solid var(--taupe-deep); border-radius: var(--radius-md);
  box-shadow: 0 24px 46px -18px rgba(43, 48, 47, 0.45);
  font-size: 0.88rem; line-height: 1.5;
}
.cookie-aviso[hidden] { display: none; }
.cookie-aviso-titulo { font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.cookie-aviso-texto { margin: 0 0 14px; color: var(--ink-muted); }
.cookie-aviso-texto a { font-weight: 600; }
.cookie-aviso-opcoes { display: grid; gap: 10px; margin-bottom: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.cookie-aviso-opcoes[hidden] { display: none; }
.cookie-opcao { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--ink-muted); cursor: pointer; }
.cookie-opcao strong { color: var(--ink); }
.cookie-opcao input { flex: none; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--taupe-deep); }
.cookie-aviso-botoes { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.cookie-btn {
  padding: 8px 20px; border: 1px solid var(--sage-ink); border-radius: 999px;
  background: var(--sage-ink); color: #fff; font-family: var(--font-sans); font-weight: 500; font-size: 0.86rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.cookie-btn:hover { background: var(--taupe-deep); border-color: var(--taupe-deep); }
.cookie-btn--link { margin-right: auto; padding-left: 0; padding-right: 0; border-color: transparent; background: transparent; color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
.cookie-btn--link:hover { background: transparent; border-color: transparent; color: var(--taupe-deep); }
.cookie-btn[hidden] { display: none; }
@media (max-width: 575.98px) {
  .cookie-aviso { left: 16px; right: 16px; bottom: 16px; width: auto; }
  /* O aviso ocupa a largura toda: o WhatsApp flutuante sobe para não ficar por cima */
  .tem-cookie-aviso .tc-whatsapp-float { bottom: calc(var(--cookie-aviso-altura, 0px) + 28px); }
}

/* ---------- Política de privacidade ---------- */
.tc-politica > p.tc-politica-data { font-size: 0.86rem; color: var(--ink-muted); }
.tc-politica h2 { scroll-margin-top: 100px; }
.tabela-cookies { width: 100%; border-collapse: collapse; font-size: 0.88rem; line-height: 1.5; margin: 6px 0 18px; background: var(--white); }
.tabela-cookies th { text-align: left; font-weight: 600; color: var(--ink); background: var(--taupe-pale); padding: 10px 12px; }
.tabela-cookies td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.tabela-cookies code { color: var(--sage-deep); background: none; font-size: 0.82rem; white-space: nowrap; }
.tc-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; }
.tc-footer-legal a { text-decoration: none; }
.tc-footer-legal a:hover { text-decoration: underline; }

/* ---------- Erro 404 ---------- */
.tc-error-code { font-family: var(--font-serif); font-size: 4rem; color: var(--sage); font-weight: 500; line-height: 1; }

/* ---------- Login do painel (o resto do painel fica em admin.css) ---------- */
.tc-auth-card { max-width: 420px; margin: 0 auto; background:#fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 44px; }

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
  .tc-aside { position: static; }
  .tc-signs { grid-template-columns: repeat(2, 1fr); }
  .tc-sign:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .tc-sign:nth-child(2n) { border-right: 0; }
  .tc-sign:nth-last-child(-n+3) { border-bottom: 1px solid var(--hairline); }
  .tc-sign:nth-last-child(-n+2) { border-bottom: 0; }
  .tc-sign { padding: 24px 18px 22px; }
  .tc-milestones { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 34px; margin-top: 44px; }
  .tc-milestones::before { top: 6px; bottom: 6px; left: 6px; right: auto; width: 1px; height: auto; transform-origin: center top; }
  .tc-milestone::before { top: 8px; left: -34px; }
  .tc-milestones[data-line]::before { transform: scaleY(0); }
  .tc-milestones[data-line].is-in::before { transform: scaleY(1); }
  .tc-bigquote { margin-top: 12px; }
  .tc-info-card { padding: 30px 24px; }
  .tc-facts li { flex-direction: column; gap: 2px; }
  .tc-facts .tc-facts-k { flex: none; }
  /* Hero mobile: foto sangrando no topo + cartão de texto sobreposto (estilo Dr. Luís) */
  .tc-hero--photo {
    display: block;
    height: auto;
    min-height: 0;
    padding: 440px 0 0;
  }
  .tc-hero-bg,
  .tc-hero--photo .tc-hero-overlay {
    height: 490px;
    bottom: auto;
  }
  .tc-hero--photo .tc-hero-overlay {
    background: linear-gradient(180deg, rgba(246,247,245,.26) 0%, rgba(246,247,245,.04) 45%, rgba(246,247,245,.32) 100%);
  }
  .tc-hero-figure {
    position: absolute;
    top: 0; left: 0; right: 0;
    bottom: auto;
    height: 490px;
    padding-top: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
  }
  .tc-hero-figure-img {
    height: 97%;
    width: auto;
    max-width: 94%;
    filter: none;
  }
  .tc-hero-inner {
    position: relative;
    z-index: 3;
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    background: var(--paper);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -16px 34px -22px rgba(43,48,47,.22);
  }
  .tc-hero-inner .row { width: auto; margin: 0; }
  .tc-hero-inner .row > [class*="col-"] { padding: 34px 22px 40px; }
  .tc-hero--photo .row { text-align: left; }
  .tc-hero--photo .tc-hero-lead { margin-left: 0; margin-right: 0; }
  .tc-hero--photo .d-flex { justify-content: flex-start; }
  .tc-post-row { flex-direction: column; }
  .tc-post-row-img { width: 100%; height: 180px; }
}

@media (max-width: 991.98px) {
  .tc-bigquote { padding: 58px 26px 28px; margin-top: 0; }
  .tc-bigquote::before { left: 22px; }
  .tc-milestones { padding: 30px 24px 30px 58px; margin-top: 32px; }
  .tc-milestones::before { top: 36px; bottom: 36px; left: 29px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--taupe-deep), var(--sage)); }
  .tc-milestone::before { top: 6px; left: -37px; }
}

@media (max-width: 991.98px) {
  .tc-closing { padding: 60px 0 68px; }
  .tc-closing-mark { height: 340px; right: -40px; bottom: -110px; opacity: 0.12; }
  .tc-closing-contact { padding-left: 20px; margin-top: 8px; }
}

@media (max-width: 991.98px) {
  .tc-sticky-head { position: static; }
  .tc-chrono li { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .tc-chrono-when { font-size: 1.1rem; }
  .tc-pub { grid-template-columns: 1fr; gap: 4px; padding: 18px 18px; }
}

@media (max-width: 767.98px) {
  .tc-checks { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .tc-contact-card { padding: 26px 22px 12px; }
  .tc-place--map .tc-place-map { min-height: 300px; }
}
