/* Dr. Bruno Zanon · Ortopedia e Cirurgia do Joelho
   Tokens extraidos do Figma (arquivo "Dr. Bruno Zanon"): paleta navy/azul + sand,
   Bricolage Grotesque (corpo/UI) + Instrument Serif italico (destaque de titulo).
   Fonte carregada via <link> non-blocking no <head> (ver build.mjs WIDGETS), nao por @import. */

:root {
  --bg-base: #ffffff;
  --bg-elevated: #f4f1ea;
  --bg-surface: #e7e0d2;
  --bg-deep: #26324f;
  --bg-deep-elevated: #2e3b5c;
  --text-primary: #26324f;
  --text-muted: #515b72;
  --text-body: #3a4560;
  --text-accent: #2d6a9f;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #e7e0d2;
  --text-on-dark-body: rgba(255, 255, 255, 0.72);
  --text-on-accent: #ffffff;
  --accent-primary: #2d6a9f;
  --accent-green: #2d9f5d;
  --border-subtle: #d4d6dc;
  --border-strong: #c9ccd4;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --layout-margin: 80px;
  --font-primary: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-secondary: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  color: var(--text-body);
  background: var(--bg-elevated);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
img[hidden] { display: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--font-secondary); font-style: italic; font-weight: 400; }

.wrap { width: 90%; max-width: 1800px; margin-inline: auto; }
@media (min-width: 1200px) { .wrap { width: 80%; } }
.section-pad { padding-block: 7em; }
section[aria-label="Blog"] { padding-top: 0; }
.como-funciona { padding-top: 0; }
.tecnologias { background: #fff; }
.tecnologias h2 { font-size: 40px; }
.tecnologias h2 em { color: var(--accent-primary); }
.section-locations .wrap { position: relative; }
.section-locations-deco { position: absolute; top: -30px; left: -30px; }
.section-locations-deco-br { top: auto; left: auto; bottom: -10px; right: -10px; }
.muted { color: var(--text-muted); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.eyebrow-accent { color: var(--text-accent); }
.eyebrow-light { color: var(--text-on-dark-muted); }
.hero .eyebrow-light { color: #fff; }
.eyebrow-muted { color: var(--text-muted); }

h2 { font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--text-primary); }
.section-heading { max-width: 600px; }
.section-heading.center { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; border-radius: var(--radius-full); font-weight: 500; font-size: 16px; white-space: nowrap; border: none; cursor: pointer; transition: transform .2s ease, opacity .2s ease; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-primary { background: var(--accent-primary); color: var(--text-on-accent); }
.btn-white { background: #fff; color: var(--text-primary); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-small { padding: 10px 22px; font-size: 16px; }
.btn img { width: 18px; height: 18px; }

/* ---------- header ---------- */
/* nunca usa transform/filter/backdrop-filter direto no .site-header: isso
   cria containing block e prende o overlay fixed do menu mobile dentro
   dele em vez da viewport. O slide anima via "top" (nao transform) e o
   blur fica num ::before (pseudo-elemento, nao conta pros descendentes). */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding-block: 24px; transition: padding .25s ease, top .35s ease; }
.site-header.is-fixed { position: fixed; top: -120px; padding-block: 16px; }
.site-header.is-fixed.is-visible { top: 0; }
.site-header.is-fixed::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.header-content { display: flex; align-items: center; justify-content: space-between; border-radius: var(--radius-full); transition: background .25s ease, backdrop-filter .25s ease, padding .25s ease, box-shadow .25s ease; }
.header-logo { position: relative; display: block; }
.header-logo img { height: 28px; width: auto; }
.header-logo-scrolled { position: absolute; inset: 0; opacity: 0; }
.site-header.is-fixed .header-logo-top { opacity: 0; }
.site-header.is-fixed .header-logo-scrolled { opacity: 1; }
.header-nav { width: 45%; }
@media (min-width: 1600px) { .header-nav { width: 40%; } }
.header-nav-list { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 4px; list-style: none; margin: 0; padding: 0; }
.header-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; color: #fff; opacity: .82; font-weight: 500; font-size: 17px; background: none; border: none; cursor: pointer; font-family: inherit; }
.header-link:hover { opacity: 1; }
.header-link img { width: 16px; height: 16px; }
.site-header.is-fixed .header-link { color: var(--text-primary); }
.header-caret-scrolled { display: none; }
.site-header.is-fixed .header-caret-top { display: none; }
.site-header.is-fixed .header-caret-scrolled { display: block; }
.header-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.header-toggle span { width: 22px; height: 2px; background: #fff; }
.site-header.is-fixed .header-toggle span { background: var(--text-primary); }

.header-dropdown { position: relative; }
.procedures-menu { position: absolute; top: calc(100% + 12px); left: 80%; transform: translateX(-50%); background: var(--bg-base); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: 16px; display: none; gap: 16px; width: 900px; box-shadow: 0 24px 48px rgba(0,0,0,.18); }
.header-dropdown.is-open .procedures-menu { display: flex; }
.procedures-links { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.procedure-link { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius-lg); align-items: flex-start; }
.procedure-link:hover { background: var(--bg-elevated); }
.procedure-icon { background: var(--bg-elevated); border-radius: var(--radius-md); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.procedure-link strong { display: block; font-size: 17px; font-weight: 500; color: var(--text-primary); }
.procedure-link small { display: block; font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.procedures-cta { width: 220px; background: var(--bg-deep); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.procedures-cta-text { color: #fff; font-size: 22px; font-weight: 500; line-height: 1.25; margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; max-height: 1000px; display: flex; align-items: center; padding-top: 88px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38,50,79,0) 78.633%, rgba(38,50,79,.9) 100%), linear-gradient(270deg, rgba(42,78,119,0) 53.974%, rgba(45,106,159,.45) 76.987%, rgba(38,50,79,.9) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 64px; }
.hero-text { max-width: 640px; color: #fff; }
.hero-title { font-size: 72px; font-weight: 500; line-height: .95; letter-spacing: -0.02em; color: #e7e0d2; margin: 16px 0 24px; }
.hero-title em { color: #fff; }
.hero-sobre .hero-title { color: #fff; }
.hero-procedure .hero-title { color: #fff; }
.hero-procedure .hero-text { max-width: 700px; }
.hero-lead { font-size: 20px; max-width: 560px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-credentials { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-on-dark-muted); margin-top: 3em; }
.hero-divider { width: 32px; height: 1px; background: var(--border-strong); }

/* ---------- section 2: credenciais ---------- */
.credentials-card { background: var(--bg-base); border-radius: var(--radius-lg); padding: 30px 40px; display: flex; align-items: center; gap: 48px; }
.credentials-title { font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--text-primary); max-width: 300px; }
.locations-row { display: grid; grid-template-columns: repeat(4, auto); align-items: end; justify-content: end; gap: 32px; flex: 1; }
.location-item { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--accent-primary); }
.location-icon { width: 44px; height: 44px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent-primary), var(--bg-deep)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.location-item strong { display: block; font-size: 15px; font-weight: 500; color: var(--text-primary); white-space: nowrap; }
.location-item small { font-size: 14px; color: var(--text-muted); white-space: nowrap; }

/* ---------- section 3: symptom cards ---------- */
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 64px; flex-wrap: wrap; }
.section-intro h2 { max-width: 560px; }

section[aria-label="Do consultório ao centro cirúrgico"] .section-heading { max-width: 700px; }
section[aria-label="Do consultório ao centro cirúrgico"] .section-intro h2 { max-width: none; }
section[aria-label="Do consultório ao centro cirúrgico"] .section-intro { flex-direction: row; }
section[aria-label="Do consultório ao centro cirúrgico"] .section-lead { max-width: 460px; }
.tecnologias h2 { max-width: none; }
#duvidas h2 em { color: var(--accent-primary); }
section[aria-label="Sintomas relacionados"] h2 em { color: var(--accent-primary); }
section[aria-label="Sintomas relacionados"] .section-lead { max-width: 450px; }
section[aria-label="Sintomas relacionados"] { padding-bottom: 7em; }
#trajetoria h2 em { color: var(--accent-primary); }
section[aria-label="Do consultório ao centro cirúrgico"] h2 em { color: var(--accent-primary); }
section[aria-label="Do consultório ao centro cirúrgico"] h2 { font-size: 45px; }
section[aria-label="Movimento é liberdade"] h2 em { color: var(--accent-primary); }
section[aria-label="Quando a prótese é indicada"] h2 em { color: var(--accent-primary); }
section[aria-label="Quando a prótese é indicada"] h2 { font-size: 44px; }
section[aria-label="Quando a prótese é indicada"] .section-lead { max-width: 570px; }
section[aria-label="Cirurgia robótica na prótese de joelho"] { background: var(--bg-elevated); padding-bottom: 7em; }
section[aria-label="Recuperação da prótese de joelho"] { background: linear-gradient(to bottom, var(--bg-base), var(--bg-elevated)); }
section[aria-label="Recuperação da prótese de joelho"] h2 em { color: var(--accent-primary); }
section[aria-label="Recuperação da prótese de joelho"] .section-lead { max-width: 450px; }
section[aria-label="Depoimentos sobre a prótese de joelho"] h2 em { color: var(--accent-primary); }
section[aria-label="Depoimentos sobre a prótese de joelho"] .section-lead { max-width: 450px; }
#duvidas h2 { width: 90%; margin-inline: auto; }
section[aria-label="Movimento é liberdade"] .section-lead, section[aria-label="Movimento é liberdade"] .section-quote { max-width: 593px; }
#onde-atendo { padding-top: 0; }
.where-content h2 + p { max-width: 390px; }
.where-content .eyebrow { font-size: 15px !important; }
.section-lead, .section-quote { font-size: 20px; color: var(--text-body); }
.section-quote { font-family: var(--font-secondary); font-style: italic; font-size: 22px; line-height: 1.3; }
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.symptom-card { position: relative; height: 500px; border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; gap: 24px; background-size: cover; background-position: center; color: #fff; }
.symptom-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,50,79,0) 0%, rgba(38,50,79,.1) 30%, rgba(38,50,79,.85) 60%, rgb(38,50,79) 100%); }
.symptom-text { position: relative; display: flex; flex-direction: column; gap: 12px; }
.symptom-text strong { font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.symptom-text span { font-size: 17px; color: rgba(255,255,255,.72); max-width: 280px; }
.symptom-link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; transition: gap .2s ease; }
.symptom-card:hover .symptom-link { gap: 12px; }
.symptom-note { margin-top: 32px; font-size: 14px; max-width: 70ch; }

/* ---------- section 4: sobre ---------- */
.about-grid { display: flex; align-items: center; gap: 8em; }
.about-media { position: relative; flex: 0 0 37%; height: 590px; }
.about-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.about-accent-block { position: absolute; right: -55px; bottom: 8%; width: 150px; height: 150px; background: var(--accent-primary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.credential-badge { position: absolute; top: 24px; left: 24px; background: #fff; border-radius: var(--radius-md); display: flex; align-items: center; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.credential-badge-icon { background: var(--accent-primary); width: 56px; align-self: stretch; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.credential-badge > span:last-child { padding: 12px 24px 12px 12px; }
.credential-badge small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-accent); }
.credential-badge strong { display: block; font-size: 17px; font-weight: 500; color: var(--text-primary); }
.about-content { flex: 0 0 45%; }
.about-content h2 { margin: 8px 0 16px; }
.about-text { font-size: 17px; margin-bottom: 32px; }
.about-highlights { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.about-highlights li { display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; color: var(--text-primary); }
.highlight-icon { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--bg-base); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- section 5: cada passo ---------- */
.steps-block { position: relative; background: var(--bg-deep); border-radius: var(--radius-lg); padding: 80px 48px; display: flex; flex-direction: column; align-items: center; gap: 48px; overflow: hidden; }
.steps-deco { position: absolute; top: -160px; right: -180px; width: 520px; opacity: .06; }
.steps-heading { position: relative; text-align: center; max-width: 860px; }
.steps-heading h2 { color: #fff; font-size: 48px; margin: 16px 0; }
.steps-heading p { font-size: 20px; color: var(--text-on-dark-body); }
.steps-row { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: 100%; }
.step-card { background: var(--accent-primary); border-radius: var(--radius-xl); padding: 32px; display: flex; flex-direction: column; gap: 24px; color: #fff; }
.step-card-done { background: var(--accent-green); }
.step-progress { display: flex; gap: 4px; }
.step-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-deep-elevated); }
.step-progress i.on { background: var(--border-subtle); }
.step-num { font-size: 40px; font-weight: 300; letter-spacing: -0.02em; }
.step-card strong { display: block; font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------- section 6: tecnologia ---------- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tech-card { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 12px 12px 32px; }
.tech-cover { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-md); }
.tech-body { padding: 28px 20px 0; display: flex; flex-direction: column; gap: 24px; }
.tech-body h3 { font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 8px; }
.tech-body > p { font-size: 17px; }
.tech-lists { display: flex; gap: 24px; }
.tech-lists > div { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.check-row { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.check-row img { flex-shrink: 0; margin-top: 1px; }
.tech-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-accent); }

/* ---------- section 7: faq ---------- */
.faq-wrap { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 40px 0; }
.faq-item { background: var(--bg-base); border-radius: var(--radius-xl); overflow: hidden; }
.faq-item.is-open { background: var(--bg-deep); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.faq-question span:first-child { font-size: 22px; font-weight: 500; color: var(--text-primary); }
.faq-item.is-open .faq-question span:first-child { color: #fff; }
.faq-toggle-icon { width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-item.is-open .faq-toggle-icon { background: var(--accent-primary); border-color: var(--accent-primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 24px; }
.faq-item.is-open .faq-answer { max-height: 400px; padding-bottom: 24px; }
.faq-answer p { font-size: 17px; color: var(--text-on-dark-body); }
.faq-item:not(.is-open) .faq-answer p { color: var(--text-body); }
.help-card { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.help-card strong { font-size: 22px; color: var(--text-primary); }
.help-card p { font-size: 14px; margin-top: 4px; max-width: 46ch; }

/* ---------- section 8: onde atendo ---------- */
.where-block { position: relative; background: linear-gradient(90deg, var(--bg-deep), var(--accent-primary)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 40px 64px 0; display: flex; align-items: flex-end; justify-content: space-between; min-height: 420px; }
.where-deco { position: absolute; top: 40px; right: -60px; width: 520px; opacity: .07; }
.where-content { position: relative; max-width: 560px; padding-bottom: 56px; color: #fff; }
.where-content h2 { color: #fff; font-size: 48px; margin: 16px 0; }
.where-content > p:not(.where-phone) { font-size: 20px; color: var(--text-on-dark-body); margin-bottom: 32px; }
.where-phone { margin-top: 12px; font-size: 14px; color: var(--text-on-dark-body); }
.where-portrait { position: absolute; max-width: 560px; align-self: flex-end; right: 0; bottom: 0; }
.location-cards { display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; margin-top: -2em; z-index: 1; position: relative; }
.location-card { background: var(--bg-base); padding: 32px 32px 24px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--border-subtle); }
.location-card:last-child { border-right: none; }
.location-card h3 { font-size: 22px; font-weight: 500; color: var(--text-primary); }
.location-row { display: flex; gap: 12px; font-size: 14px; align-items: flex-start; }
.location-maps { display: flex; gap: 24px; flex-wrap: wrap; }
.location-maps a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-accent); font-size: 16px; }

/* ---------- section 9: blog ---------- */
.blog-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.blog-vermais { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-accent); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--bg-base); border: 1px solid var(--bg-elevated); border-radius: var(--radius-xl); overflow: hidden; display: block; transition: transform .25s ease; }
.article-card:hover { transform: translateY(-4px); }
.article-image { display: block; height: 250px; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.article-tag { display: inline-flex; width: fit-content; background: var(--bg-elevated); color: var(--accent-primary); font-size: 14px; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-sm); }
.article-body strong { font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--text-primary); }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }

/* ---------- pagina /sobre/: hero compacto ---------- */
.hero-sobre { height: 600px; max-height: none; }

/* ---------- pagina /sobre/: trajetoria (timeline) ---------- */
.trajetoria-grid { display: flex; gap: 6em; align-items: flex-start; }
.trajetoria-intro { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.trajetoria-intro h2 { margin-bottom: 8px; }
.trajetoria-photo { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); margin-top: 8px; }

@media (max-width: 1170px) {
  .trajetoria-grid { flex-direction: column; gap: 40px; }
  .trajetoria-intro { flex: 1 1 auto; width: 100%; max-width: 600px; }
}
.timeline { flex: 1; min-width: 0; }
.timeline-item { display: flex; gap: 32px; align-items: flex-start; padding-block: 28px; border-top: 1px solid var(--border-subtle); }
.timeline-item:first-child { border-top: none; }
.timeline-year { flex: 0 0 160px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent-primary); }
.timeline-body { display: flex; flex-direction: column; gap: 8px; }
.timeline-body strong { font-size: 22px; font-weight: 500; color: var(--text-primary); }
.timeline-body p { font-size: 17px; }

/* ---------- pagina /sobre/: principios (bloco escuro) ---------- */
.principles-block { position: relative; background: var(--bg-deep); border-radius: var(--radius-xl); padding: 80px; display: flex; flex-direction: column; gap: 48px; overflow: hidden; }
.principles-deco { position: absolute; top: -30%; right: -16%; width: 45%; }
.principles-heading { position: relative; color: #fff; font-size: 56px; max-width: 900px; }
.principles-heading em { color: var(--text-on-dark-muted); }
.principles-row { position: relative; display: flex; gap: 40px; }
.principle-item { flex: 1; display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.4); }
.principle-item strong { font-size: 22px; font-weight: 500; color: #fff; }
.principle-item p { font-size: 17px; color: var(--text-on-dark-body); }

/* ---------- pagina /sobre/: bento (do consultorio ao centro cirurgico) ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(280px, auto)); gap: 16px; }
.bento-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; background-size: cover; background-position: center; }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,50,79,0) 55%, rgba(38,50,79,.7) 100%); }
.bento-label { position: absolute; left: 20px; bottom: 20px; color: #fff; font-weight: 500; font-size: 16px; }
.bento-tile-surgery { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.bento-tile-consulta { grid-column: 4; grid-row: 1 / span 2; }
.bento-tile-simposio { grid-column: 1; grid-row: 3; }
.bento-tile-tecnologia { grid-column: 2; grid-row: 3; }
.bento-tile-podcast { grid-column: 3 / span 2; grid-row: 3; }
.bento-accent { grid-column: 3; grid-row: 1; background: var(--accent-primary); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.bento-accent-text strong { display: block; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-on-accent); margin-bottom: 8px; }
.bento-accent-text p { font-size: 14px; color: var(--text-on-dark-body); }
.bento-stat { grid-column: 3; grid-row: 2; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.bento-stat-number { font-size: 48px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1; }
.bento-stat p:last-child { font-size: 14px; }

/* ---------- pagina /sobre/: movimento e liberdade ---------- */
.movement-section { overflow: hidden; }
.movement-grid { position: relative; display: flex; gap: 6em; align-items: center; }
.movement-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.movement-quote { border-left: 2px solid var(--accent-primary); padding-left: 24px; margin: 0; font-family: var(--font-secondary); font-style: italic; font-size: 28px; line-height: 1.25; color: var(--text-primary); }
.movement-photo-wrap { position: relative; flex: 0 0 480px; }
.movement-photo { width: 480px; height: 600px; object-fit: cover; border-radius: var(--radius-lg); }
.movement-arc { position: absolute; pointer-events: none; }
.movement-arc-big { top: 24px; right: 360px; width: 240px; }
.movement-arc-small { top: 400px; right: -100px; width: 200px; }
.movement-trail { position: absolute; left: -140px; bottom: 90px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.movement-trail i { display: block; height: 7px; border-radius: var(--radius-full); background: var(--accent-primary); }
.movement-trail i:nth-child(1) { width: 100px; }
.movement-trail i:nth-child(2) { width: 60px; background: var(--accent-primary); opacity: .6; margin-left: 30px; }
.movement-trail i:nth-child(3) { width: 170px; }
.movement-trail i:nth-child(4) { width: 80px; height: 6px; background: var(--accent-primary); opacity: .6; margin-left: 30px; }
.movement-trail i:nth-child(5) { width: 150px; background: #A9C8E0; }
@media (prefers-reduced-motion: reduce) { .movement-arc { display: none; } }

/* ---------- paginas /procedimentos/<slug>/: hero ---------- */
.hero-procedure { height: auto; max-height: none; background: var(--bg-deep); padding-top: 4em; }
.procedure-hero-glow { position: absolute; border-radius: 50%; width: 691px; height: 691px; background: var(--accent-primary); filter: blur(140px); opacity: .35; pointer-events: none; }
.procedure-hero-glow-left { left: -150px; top: 260px; }
.procedure-hero-glow-right { right: -250px; top: -500px; }
.procedure-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.procedure-hero-photo { flex: 1 1 320px; max-width: 480px; min-width: 240px; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; }
.hero-procedure .hero-text { flex: 1 1 360px; min-width: 0; }
.procedure-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- paginas /procedimentos/<slug>/: quando e indicada ---------- */
.indications-grid { display: flex; align-items: flex-start; gap: 64px; }
.indications-content { flex: 1 1 656px; display: flex; flex-direction: column; gap: 24px; }
.indications-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.indication-row { display: flex; align-items: center; gap: 8px; padding: 24px 16px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--bg-base), var(--bg-elevated)); }
.indication-row:nth-child(even) { background: linear-gradient(90deg, var(--bg-elevated), var(--bg-base)); }
.indication-row img { flex-shrink: 0; }
.indication-row p { font-size: 14px; color: var(--text-body); }
.indications-photo { flex: 0 0 480px; height: 560px; border-radius: var(--radius-lg); overflow: hidden; }
.indications-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- paginas /procedimentos/<slug>/: robotica (foto + listas e/nao e) ---------- */
.procedure-tech-grid { display: flex; align-items: center; gap: 64px; }
.procedure-tech-photo { flex: 0 0 560px; height: 600px; border-radius: var(--radius-lg); overflow: hidden; }
.procedure-tech-photo img { width: 100%; height: 100%; object-fit: cover; }
.procedure-tech-content { flex: 1 1 656px; display: flex; flex-direction: column; gap: 32px; }

/* ---------- paginas /procedimentos/<slug>/: recuperacao (nota escura na intro) ---------- */
.timeline-note { background: var(--bg-deep); border-radius: var(--radius-lg); padding: 24px; color: var(--text-on-dark); font-size: 14px; max-width: 430px; }

/* ---------- paginas /procedimentos/<slug>/: depoimentos ---------- */
.testimonials-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 48px; flex-wrap: wrap; }
.testimonials-head .section-heading { flex: 1 1 320px; max-width: none; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.testimonial-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.testimonial-rating { display: flex; gap: 2px; }
.testimonial-rating img { width: 18px; height: 18px; }
.testimonial-quote { font-family: var(--font-secondary); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--text-primary); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--accent-primary); color: var(--text-on-accent); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 16px; flex-shrink: 0; }
.testimonial-author-info strong { display: block; font-size: 17px; font-weight: 500; color: var(--text-primary); }
.testimonial-author-info small { font-size: 14px; color: var(--text-muted); }

@media (max-width: 980px) {
  .indications-grid, .procedure-tech-grid { flex-direction: column; }
  .indications-photo, .procedure-tech-photo { width: 100%; flex: 1 1 auto; height: 360px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .procedure-hero-grid { flex-direction: column; }
  .procedure-hero-photo { width: 100%; flex: 1 1 auto; max-width: none; }
}
@media (max-width: 782px) {
  .testimonials-head { flex-direction: column; align-items: flex-start; }
  .testimonials-head .section-heading { flex: none; }
  .hero-scrim { background: linear-gradient(0deg, rgba(38,50,79,0) 78.633%, rgba(38,50,79,.9) 100%), linear-gradient(270deg, rgba(42,78,119,0) 1.974%, rgba(45,106,159,.45) 68.987%, rgba(38,50,79,.9) 100%); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 64px; }
.footer-main { padding-block: 80px 64px; }
.footer-grid { display: flex; gap: 48px; }
.footer-grid > div { flex: 1; min-width: 0; }
.footer-logo { width: 100%; max-width: 282px; height: auto; margin-bottom: 24px; }
.footer-quote { font-family: var(--font-secondary); font-style: italic; font-size: 28px; line-height: 1.25; color: #fff; margin-bottom: 24px; }
.footer-quote em { color: var(--text-on-dark-muted); }
.footer-social { display: flex; gap: 12px; margin-bottom: 24px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col p { color: #fff; font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }
.footer-contact p { font-size: 17px; align-items: flex-start; }
.footer-bottom { background: #1c2540; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-block: 24px; }
.footer-legal-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--text-on-dark-muted); margin-bottom: 16px; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { text-decoration: underline; color: var(--text-on-dark-muted); }
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-disclaimer { font-size: 14px; color: var(--text-on-dark-body); margin: 0; }

/* ---------- reveal on scroll (leve) ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Responsivo em cascata: celular -> ultra-wide (7 níveis)
   ========================================================= */

/* 1) >= 2000px: ultra-wide, respira mais */
@media (min-width: 2000px) {
  .hero-title, h2, .where-content h2, .steps-heading h2 { font-size: 56px; }
}

/* 2) 1600–1999px: desktop grande (comportamento padrão do Figma, já coberto acima) */
@media (min-width: 1600px) {
  .eyebrow { font-size: 17px; }
  .hero-title { font-size: 88px; }
  .header-logo img { height: 40px; width: auto; }
}
@media (min-width: 1400px) {
  .hero-procedure { max-height: 670px; }
}
@media (min-width: 1700px) {
  .credentials-title { max-width: 400px; }
}
@media (min-width: 1800px) {
  .hero-title { font-size: 95px; }
}

/* 3) <= 1400px: aperta margens e headline um pouco */
@media (max-width: 1400px) {
  :root { --layout-margin: 56px; }
  .hero-title { font-size: 60px; }
  .locations-row { display: flex; flex-wrap: wrap; }
}

/* 4) <= 1200px: tech/location cards empilham menos gap, steps vira 2 colunas de rolagem */
@media (max-width: 1200px) {
  .steps-row { grid-template-columns: repeat(5, 220px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .step-card { scroll-snap-align: start; min-width: 220px; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-badge { display: none; }
  /* pagina /sobre/: bento vira 2 colunas, posicoes explicitas saem do fluxo */
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .bento-grid > * { grid-column: auto !important; grid-row: auto !important; min-height: 280px; }
  .bento-tile-surgery { grid-column: 1 / span 2 !important; min-height: 400px; }
  .bento-tile { background-position: top; }
  .movement-arc { display: none; }
}

/* 4b) <= 1024px: header vira menu mobile (evita quebra do menu desktop apertado) */
@media (max-width: 1024px) {
  .header-nav { position: fixed; inset: 0; top: 0; width: 300px; background: var(--bg-deep); justify-content: center; align-items: center; display: none; z-index: 40; }
  .header-nav.is-open { display: flex; }
  .header-nav-list { flex-direction: column; gap: 8px; width: 100%; }
  .header-toggle { display: flex; }
  .header-cta { display: none; }
  .header-dropdown { width: 100%; text-align: center; }
  .procedures-menu { position: static; transform: none; width: 100%; flex-direction: column; margin-top: 8px; }
  .procedures-links { grid-template-columns: 1fr; }
  .procedures-cta { width: 100%; }
  /* drawer mobile e' sempre fundo navy: texto sempre branco, mesmo com
     .site-header.is-fixed aplicando cor escura nos links do desktop */
  .site-header .header-nav .header-link { color: #fff; }
  .site-header .header-nav .header-caret-top { display: block; }
  .site-header .header-nav .header-caret-scrolled { display: none; }
}

/* 5) <= 980px: grids principais colapsam pra 1-2 colunas */
@media (max-width: 980px) {
  :root { --layout-margin: 28px; }

  .hero-title { font-size: 60px; }
  .hero { min-height: auto; padding-bottom: 64px; }
  .locations-row { display: grid; grid-template-columns: repeat(2, 1fr); justify-content: stretch; gap: 24px; width: 100%; }
}

/* <= 782px: credentials-card nao cabe mais lado a lado, empilha */
@media (max-width: 782px) {
  .credentials-card { flex-direction: column; align-items: stretch; }
  .about-grid { gap: 3em; }
  .about-media { height: auto; max-height: none; }
  .about-photo { height: 80vh; }
  .about-accent-block { display: none; }
  .section-intro { flex-direction: column; align-items: flex-start; gap: 24px; }
  h2 { font-size: 36px; }
  .symptom-grid { grid-template-columns: 1fr; }
  .symptom-card { height: 420px; }
  .about-grid { flex-direction: column; }
  .about-media { width: 100%; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-lists { flex-direction: column; gap: 20px; }
  .where-block { flex-direction: column; align-items: flex-start; padding: 40px 24px 0; }
  .where-content { width: 100%; min-width: 0; max-width: none; }
  .where-content h2 { color: #fff; font-size: 34px; }
  .where-portrait { width: 70%; margin: 0 auto; align-self: center; }
  .where-content .btn { white-space: normal; text-align: center; width: 100%; }
  .section-locations-deco { left: 0; top: 0; }
  .section-locations-deco-br { right: 0; bottom: 0; }
  .location-cards { grid-template-columns: 1fr; }
  .location-card { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .footer-grid { flex-wrap: wrap; }
  .footer-grid > div { flex: 1 1 45%; }

  /* pagina /sobre/: colunas empilham */
  .hero-sobre { height: auto; padding-bottom: 48px; }
  .principles-block { padding: 40px 24px; }
  .principles-heading { font-size: 36px; }
  .principles-row { flex-direction: column; gap: 24px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile-surgery, .bento-grid > * { grid-column: 1 !important; min-height: 400px; }
  .bento-tile { background-position: start; }
  .movement-photo-wrap, .movement-photo { width: 100%; flex: 1 1 auto; max-width: 520px; }
  .movement-photo { height: 60vh; }
}
@media (max-width: 1100px) {
  .movement-trail { display: none; }
}
@media (max-width: 878px) {
  .movement-grid { flex-direction: column; gap: 32px; }
}

@media (max-width: 1123px) {
  .where-portrait { max-width: 500px; }
}
@media (max-width: 1003px) {
  .where-portrait { display: none; }
}
@media (max-width: 1024px) {
  .where-deco { right: 0; width: min(55%, 280px); }
}

/* 6) <= 860px: blog/location cards 1 coluna, botoes empilham */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps-heading h2 { font-size: 36px; }
  .help-card { flex-direction: column; align-items: flex-start; }
}

/* <= 500px: botoes da hero empilham e ocupam a largura toda */
@media (max-width: 500px) {
  .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-buttons .btn { justify-content: center; width: 100%; }
}

/* 7) <= 560px: celular */
@media (max-width: 560px) {
  :root { --layout-margin: 20px; }
  .locations-row { display: grid; grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .hero-lead { font-size: 17px; }
  h2 { font-size: 30px; }
  .section-quote { font-size: 18px; }
  .steps-block { padding: 48px 24px; }
  .footer-grid { flex-direction: column; }
  .footer-grid > div { flex: 1 1 auto; }
  .footer-legal-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .credential-badge { position: static; margin-top: -40px; margin-left: 16px; width: fit-content; }
  .about-accent-block { display: none; }
}

/* sumario lateral do artigo de blog */
.article-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.article-main { min-width: 0; }
.article-toc { position: sticky; top: 140px; padding: 20px; border: 1px solid var(--border, rgba(38,50,79,.12)); border-radius: var(--radius-md); align-self: start; }
.article-toc-label { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-primary); opacity: .6; }
.article-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.article-toc a { display: block; color: var(--text-primary); opacity: .75; font-size: 14px; line-height: 1.4; text-decoration: none; }
.article-toc a:hover { opacity: 1; color: var(--accent-primary); }
.article-related { margin-top: 5em; }
.article-related h2 { margin-bottom: 48px; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-toc { display: none; }
  .article-main { max-width: 80%; margin: 0 auto; }
}
@media (max-width: 768px) {
  .article-main { max-width: 100%; }
}
