/* =========================================================
   Dr. Mário Amorim — Cirurgia Vascular
   Estrutura: menu flutuante em pílula, selos na abertura, números, chips rolando,
   serviços em blocos (bento), passos, FAQ e contato.
   Paleta: verde-petróleo (identidade do site antigo, #307f7c) + coral para chamadas.
   ========================================================= */
:root {
  --bg: #f4f2ee;
  --tint: #e6ece9;
  --white: #ffffff;
  --g950: #0c2324;
  --g900: #112f30;
  --g800: #17403f;
  --g700: #22605d;
  --teal: #2d7c78;
  --mint: #d5e8e3;
  --coral: #e0603f;
  --coral-2: #c84f31;
  --coral-soft: #f7e1d8;
  --ink: #1d2b2b;
  --muted: #5f6b69;
  --line: rgba(23, 64, 63, .12);
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 28px;
  --sec: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -36px rgba(12, 35, 36, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: .9em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--g950); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--tint); }
.sec--flush { padding-top: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
.eyebrow::after { display: none; }
.eyebrow--light { color: #9fd3cb; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 14px; }
.lead--light { color: rgba(255, 255, 255, .74); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow::after { display: block; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.head--row > .lead { max-width: 460px; margin: 0; }
.hl { background: linear-gradient(92deg, #9fe0d4, #f3c7b5); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ico { width: 22px; height: 22px; flex: 0 0 auto; }
.ico--box { width: 54px; height: 54px; padding: 14px; border-radius: 16px; background: var(--mint); color: var(--g700); }
.ico--chip { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint); color: var(--g700); }

/* Botões em pílula */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 15px/1.15 var(--sans); border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; }
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--gold { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -12px rgba(224, 96, 63, .8); }
.btn--gold:hover { background: var(--coral-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--g700); }
.btn--green, .btn--primary { background: var(--g800); color: var(--white); }
.btn--green:hover, .btn--primary:hover { background: var(--g950); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.pill .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--coral); color: #fff; }
.pill--warn { background: #fff3cd; color: #6b4e00; border-color: #f1d77a; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--coral-soft); color: #a63f25; font-size: 13px; font-weight: 700; }
.tag { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
a.tag:hover { background: var(--g800); border-color: var(--g800); color: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ---------- Barra de aviso + menu flutuante ---------- */
.topbar { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 16px; background: var(--g950); color: rgba(255, 255, 255, .82); font-size: 13.5px; text-align: center; }
.topbar .ico { width: 17px; height: 17px; color: var(--coral); }
.topbar a { color: #ffb59f; font-weight: 700; }
.hd { position: fixed; left: 0; right: 0; top: 54px; z-index: 50; transition: top .35s var(--ease); }
.hd.is-scrolled { top: 12px; }
.hd__pill { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(17, 47, 48, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.brand__doc { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .2); color: var(--white); font-size: 13px; font-weight: 700; line-height: 1.2; }
.brand__doc small { font-weight: 500; color: rgba(255, 255, 255, .6); font-size: 11.5px; }
.hd__nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.hd__nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; color: rgba(255, 255, 255, .8); font-size: 14.5px; font-weight: 600; transition: background .2s, color .2s; }
.hd__nav a:not(.btn):hover, .hd__nav a[aria-current] { background: rgba(255, 255, 255, .08); color: var(--white); }
.hd__cta { margin-left: 8px; padding: 12px 20px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 0; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Abertura ---------- */
.hero {
  position: relative; overflow: hidden; padding: 130px 0 150px; color: var(--white);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(45, 124, 120, .35), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(224, 96, 63, .16), transparent 70%),
    linear-gradient(180deg, var(--g900), var(--g950));
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { font-size: clamp(38px, 5.2vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__lead { font-size: 18.5px; color: rgba(255, 255, 255, .76); max-width: 580px; margin-bottom: 34px; }
.hero__media { position: relative; max-width: 450px; margin-left: auto; width: 100%; }
.hero__photo { border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--g700), var(--g900)); padding: 10px; border: 1px solid rgba(255, 255, 255, .14); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; border-radius: 26px; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); font-size: 13px; color: var(--muted); line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.float b { display: block; color: var(--ink); font-size: 16px; font-weight: 800; }
.float--a { left: -48px; top: 12%; }
.float--b { right: -30px; top: 50%; animation-delay: -2s; }
.float--c { left: -28px; bottom: 7%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.hero--page { padding: 150px 0 90px; }
.hero__title--page { font-size: clamp(36px, 4.6vw, 58px); max-width: 860px; }
.hero__title--post { font-size: clamp(30px, 4vw, 48px); }
.hero--page .hero__lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.crumbs a:hover { color: #ffb59f; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .85); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid rgba(255, 255, 255, .25); }
.byline b { display: block; color: var(--white); }

/* ---------- Números + chips ---------- */
.stats { position: relative; margin-top: -80px; padding-bottom: 20px; }
.stats__card { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 30px 10px; }
.stats__card div { text-align: center; padding: 0 14px; }
.stats__card div + div { border-left: 1px solid var(--line); }
.stats__card b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--g800); line-height: 1.1; }
.stats__card span { color: var(--muted); font-size: 14.5px; }
.marquee { margin-top: 40px; display: grid; gap: 12px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__inner { display: flex; gap: 10px; width: max-content; animation: marquee 70s linear infinite; }
.marquee__row--rev .marquee__inner { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__inner { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Serviços (bento) ---------- */
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.bento > * { min-width: 0; }
.svc { background: var(--white); border-radius: var(--r); padding: 30px; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 8px; }
.svc > p { color: var(--muted); font-size: 15.5px; }
.svc .tag { white-space: normal; }
.svc__photo { display: block; margin: -30px -30px 22px; aspect-ratio: 16 / 9; overflow: hidden; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__photo img { transform: scale(1.05); }
.svc__ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--mint); color: var(--g700); }
.svc__ico .ico { width: 26px; height: 26px; }
.svc--big { background: linear-gradient(160deg, var(--g800), var(--g950)); color: var(--white); border: 0; position: relative; }
.svc--big::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(rgba(224, 96, 63, .3), transparent 70%); pointer-events: none; }
.svc--big > p { color: rgba(255, 255, 255, .72); }
.svc--big .svc__ico { background: rgba(255, 255, 255, .1); color: #ffb59f; }
.svc--big .tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--white); position: relative; z-index: 1; }
.svc--big .tag:hover { background: var(--coral); border-color: var(--coral); }
.svc--big h3 { font-size: 28px; }
.svc--gold { grid-column: span 2; background: var(--coral-soft); border-color: transparent; }
.svc--gold .svc__ico { background: var(--white); color: var(--coral-2); }
@media (min-width: 981px) {
  .svc--big { grid-row: span 2; }
  .svc--gold { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto auto auto 1fr; column-gap: 30px; align-items: start; }
  .svc--gold .svc__photo { grid-row: 1 / span 4; grid-column: 1; margin: -30px 0 -30px -30px; aspect-ratio: auto; height: calc(100% + 60px); min-height: 280px; }
  .svc--gold > :not(.svc__photo) { grid-column: 2; }
}

/* ---------- Clínica / listas ---------- */
.clinic { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.specs { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.specs li, .spec { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 22px; padding: 20px; min-width: 0; }
.specs h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.specs p { font-size: 14.5px; color: var(--muted); }
.specs--4 { grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.sec--tint .spec { border: 1px solid var(--line); }
.clinic__media { position: relative; margin: 0; }
.clinic__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 34px; }
.clinic__media figcaption { position: absolute; left: -24px; bottom: 30px; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow); font-size: 13.5px; color: var(--muted); line-height: 1.25; max-width: 90%; }
.clinic__media figcaption b { display: block; color: var(--ink); font-size: 15.5px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: var(--sec); }
.shot { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 13.5px; font-weight: 700; }

/* ---------- O médico ---------- */
.lead-doc { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--white); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.lead-doc > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 15%; }
.lead-doc__text { padding: clamp(28px, 4vw, 52px); }
.lead-doc h3, .lead-doc__name { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 4px; line-height: 1.15; }
.lead-doc__role { color: var(--teal); font-weight: 600; font-size: 14.5px; margin-bottom: 18px !important; }
.lead-doc__text > p:not(.lead-doc__role) { color: var(--muted); }
.lead-doc blockquote { margin: 22px 0 26px; padding: 18px 22px; border-radius: 18px; background: var(--tint); font-weight: 600; font-style: italic; line-height: 1.5; }
.lead-doc--over { margin-top: -60px; position: relative; }
.signature { height: 54px; width: auto; opacity: .75; margin-top: 10px; }
.goal__n { display: inline-grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--g800); color: #ffb59f; font-weight: 800; }
.quote-big { margin: 0 0 40px; padding: clamp(26px, 4vw, 44px); background: var(--white); border-radius: 30px; border: 1px solid var(--line); font-size: clamp(18px, 2vw, 22px); font-weight: 600; font-style: italic; line-height: 1.5; }
.quote-big cite { display: block; margin-top: 14px; font-size: 14px; font-style: normal; color: var(--teal); }

/* ---------- Passos ---------- */
.steps { padding: var(--sec) 0; }
.steps__box { background: radial-gradient(70% 90% at 50% 0%, rgba(45, 124, 120, .35), transparent 70%), var(--g950); border-radius: 40px; padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 70px); text-align: center; color: var(--white); }
.steps__box .eyebrow::after { display: block; }
.steps__box .lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.steps__list { list-style: none; padding: 0; margin: 56px 0 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.steps__list::before { content: ""; position: absolute; top: 30px; left: 17%; right: 17%; border-top: 2px dashed rgba(255, 255, 255, .22); }
.steps__list li { position: relative; }
.step__n { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(160deg, var(--coral), var(--coral-2)); color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 0 0 8px rgba(224, 96, 63, .15), 0 0 40px rgba(224, 96, 63, .4); position: relative; }
.steps__list h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.steps__list p { color: rgba(255, 255, 255, .68); font-size: 15px; max-width: 300px; margin: 0 auto; }

/* ---------- Por que ---------- */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.whys > * { min-width: 0; }
.why { background: var(--white); border-radius: var(--r); padding: 30px; border: 1px solid var(--line); }
.why h3 { font-size: 19px; font-weight: 800; margin: 20px 0 8px; letter-spacing: -.01em; }
.why p { color: var(--muted); font-size: 15px; }

/* ---------- Checks ---------- */
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--mint); color: var(--g700); }
.checks--light li { color: var(--white); font-weight: 500; }
.checks--light .ico { background: rgba(224, 96, 63, .2); color: #ffb59f; }

/* ---------- Dúvidas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.accordion { display: grid; gap: 10px; }
.acc { background: var(--white); border-radius: 20px; border: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--g700); font-size: 20px; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.acc[open] summary::after { transform: rotate(45deg); background: var(--coral); color: #fff; }
.acc__body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contato + formulário ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.contact__grid > * { min-width: 0; }
.where { background: var(--white); border-radius: 34px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); }
.where__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.where__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.where__list li > div { min-width: 0; overflow-wrap: anywhere; }
.where__list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--mint); color: var(--g700); }
.where__list b { display: block; color: var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.where__map { border-radius: 22px; overflow: hidden; height: 260px; background: var(--tint); }
.where__map iframe { width: 100%; height: 100%; border: 0; }
.form { background: var(--white); border-radius: 34px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font: 15.5px var(--sans); color: var(--ink); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: var(--white); }
.field.is-invalid input, .consent.is-invalid { border-color: #c0503a; color: #a33c27; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; line-height: 1.45; }
.consent input { margin-top: 2px; accent-color: var(--g800); width: 16px; height: 16px; flex: 0 0 auto; }
.consent a { text-decoration: underline; }
.form .btn--primary { background: var(--coral); }
.form .btn--primary:hover { background: var(--coral-2); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Chamada final ---------- */
.final { padding: 0 0 var(--sec); }
.final__box { text-align: center; color: var(--white); border-radius: 40px; padding: clamp(50px, 7vw, 90px) clamp(24px, 5vw, 60px); background: radial-gradient(60% 100% at 50% 100%, rgba(224, 96, 63, .28), transparent 70%), linear-gradient(160deg, var(--g800), var(--g950)); }
.final__box .h2 { max-width: 760px; margin: 0 auto; }
.final__box .lead { max-width: 560px; margin: 14px auto 30px; }
.final__crm { margin-top: 22px !important; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- Tratamentos ---------- */
.tgroup + .tgroup { margin-top: 70px; }
.tgroup .head { margin-bottom: 26px; }
.tgroup .lead { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards > * { min-width: 0; }
.tcard { display: flex; flex-direction: column; background: var(--white); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; }
.tcard__body { padding: 22px; display: grid; gap: 8px; flex: 1; }
.tcard__body b { font-size: 18.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.tcard__body span { color: var(--muted); font-size: 15px; }
.tcard__body i { font-style: normal; color: var(--teal); font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.tcard__body i .ico { width: 18px; height: 18px; }
.two { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.two > * { min-width: 0; }
.panel { background: var(--white); border-radius: 34px; padding: clamp(24px, 4vw, 46px); border: 1px solid var(--line); }
.panel > p { color: var(--muted); margin-bottom: 1.1em; }
.panel h2 + p { margin-top: 0; }
.panel h2:not(:first-of-type) { margin-top: 30px; }
.panel__img { width: calc(100% + 2 * clamp(24px, 4vw, 46px)); max-width: none; margin: calc(-1 * clamp(24px, 4vw, 46px)) calc(-1 * clamp(24px, 4vw, 46px)) 30px; aspect-ratio: 16 / 8; object-fit: cover; }
.panel--green { background: linear-gradient(160deg, var(--g800), var(--g950)); color: var(--white); border: 0; }
.panel--green .h3 { color: var(--white); }
.panel--green > p { color: rgba(255, 255, 255, .72); }
.panel--sm { padding: 22px; margin-top: 18px; display: grid; gap: 10px; }
.panel__crm { margin-top: 16px !important; font-size: 12.5px; color: rgba(255, 255, 255, .5) !important; text-align: center; }
.aside { position: sticky; top: 100px; }
.aside__t { font-weight: 800; }
.rel { display: flex; align-items: center; gap: 16px; background: var(--bg); border-radius: 18px; padding: 14px 18px; transition: background .25s; }
.rel:hover { background: var(--tint); }
.rel small { display: block; color: var(--muted); font-size: 12px; }
.rel b { font-size: 15.5px; }
.rel i { margin-left: auto; font-style: normal; color: var(--teal); font-size: 20px; }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 30px !important; padding: 16px 18px; background: var(--tint); border-radius: 16px; font-size: 14px; }
.note .ico { color: var(--teal); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.posts > * { min-width: 0; }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.posts--grid .post-card__img { aspect-ratio: 4 / 4.2; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.post-card small { color: var(--teal); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.post-card b { font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.post-card__more { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.post-card__more .ico { width: 16px; height: 16px; }
.blog-search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; margin: -110px auto 40px; max-width: 640px; box-shadow: var(--shadow); position: relative; }
.blog-search .ico { color: var(--muted); }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 15.5px var(--sans); background: transparent; padding: 10px 0; }
.blog-result { margin-bottom: 20px; color: var(--muted); }
.blog-result a { text-decoration: underline; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; }
.pager a[aria-current] { background: var(--g800); color: var(--white); border-color: var(--g800); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Artigo */
.article-wrap { padding-top: 56px; }
.article-cover { width: 100%; max-width: 560px; margin: 0 auto 40px; border-radius: 24px; box-shadow: var(--shadow); }
.prose { font-size: 17.5px; line-height: 1.8; color: #2b3838; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h1 { display: none; } /* o título já aparece no topo da página */
.prose h2 { font-size: 1.55em; line-height: 1.25; letter-spacing: -.02em; margin-top: 1.8em; color: var(--g900); }
.prose h3 { font-size: 1.22em; line-height: 1.3; margin-top: 1.5em; color: var(--g900); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose svg { max-width: 100%; height: auto; border-radius: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--teal); background: var(--white); border-radius: 0 16px 16px 0; font-style: italic; }
.prose figure { margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose iframe { max-width: 100%; border-radius: 14px; }
.prose .video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.prose .btn { text-decoration: none; color: #fff; }
/* artigos migrados do WordPress: cores do artigo trocadas pela identidade do site */
.prose .art-vascular, .prose .art-trombose { --azul: #17403f; --azul2: #2d7c78; --bg-box: #ffffff; --linha: rgba(23, 64, 63, .14); }
.prose .resumo, .prose .box-resumo { background: var(--white); border-left: 4px solid var(--teal); border-radius: 12px; padding: 1em 1.2em; }
.prose .aviso, .prose .box-aviso { background: #fff8ec; border-left: 4px solid #e0a12e; border-radius: 12px; padding: 1em 1.2em; }
.prose .art-vascular, .prose .dr-article, .prose .art-trombose { max-width: none !important; font-size: inherit !important; }
.article-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 50px; padding: 26px 28px; border-radius: 26px; background: linear-gradient(160deg, var(--g800), var(--g950)); color: var(--white); }
.article-cta p { color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 4px; }
.article-cta b { font-size: 19px; }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 26px; padding: 22px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); }
.author-box img { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; object-position: 50% 15%; flex: 0 0 auto; }
.author-box small { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.author-box b { display: block; font-size: 18px; }
.author-box p { font-size: 14.5px; color: var(--muted); margin: 4px 0 6px; }
.author-box a { color: var(--teal); font-weight: 700; font-size: 14.5px; }

/* ---------- Rodapé ---------- */
.ft { background: var(--g950); color: rgba(255, 255, 255, .66); padding: 60px 0 30px; font-size: 14.5px; }
.ft__grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 30px; }
.ft__logo { height: 26px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .9; }
.ft__crm { margin-top: 12px !important; color: rgba(255, 255, 255, .85); font-weight: 600; }
.ft b { display: block; color: var(--white); margin-bottom: 10px; }
.ft nav { display: grid; gap: 8px; align-content: start; }
.ft p { display: flex; gap: 10px; align-items: flex-start; }
.ft p .ico { width: 18px; height: 18px; margin-top: 3px; color: #9fd3cb; }
.ft a:hover { color: #ffb59f; }
.ft .btn:hover { color: #fff; }
.ft__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.ft__legal p { display: block; }
.ft__legal a { text-decoration: underline; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #1f9d5a; color: var(--white); font-weight: 700; font-size: 14.5px; box-shadow: 0 16px 30px -12px rgba(12, 35, 36, .6); transition: transform .3s; }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px); }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; background: var(--white); color: var(--ink); border-radius: 22px; padding: 18px 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); border: 1px solid var(--line); font-size: 14px; }
.cookie a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1140px) {
  .hd__nav a:not(.btn) { padding: 10px; font-size: 14px; }
  .specs--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .hd__nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 28px;
    background: var(--g900); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, visibility .3s, transform .3s;
  }
  .hd__nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .hd__nav a:not(.btn) { font-size: 17px; padding: 14px 16px; }
  .hd__cta { margin: 8px 0 0; }
  .hd .wrap { position: relative; }
  .hero__grid, .clinic, .faq, .contact__grid, .two, .lead-doc { grid-template-columns: 1fr; }
  .hero__media { margin: 20px auto 0; max-width: 400px; }
  .float--a { left: -10px; } .float--b { right: -10px; } .float--c { left: -6px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc--big, .svc--gold { grid-column: span 2; }
  .clinic__media { max-width: 460px; }
  .clinic__media figcaption { left: 16px; }
  .lead-doc > img { min-height: 0; aspect-ratio: 4 / 3; }
  .cards, .posts { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { font-size: 12.5px; padding: 9px 12px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .topbar span { overflow: hidden; text-overflow: ellipsis; }
  .topbar .ico, .topbar__more { display: none; }
  .hd { top: 46px; }
  .brand__doc { display: none; }
  .brand img { height: 18px; }
  .hero { padding-top: 120px; }
  .hero--page { padding: 130px 0 80px; }
  .actions .btn { width: 100%; }
  .float { padding: 8px 12px 8px 8px; font-size: 12px; }
  .float b { font-size: 14px; }
  .float .ico--chip { width: 32px; height: 32px; padding: 7px; }
  .stats { margin-top: -60px; }
  .stats__card { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stats__card div:nth-child(3) { border-left: 0; }
  .bento, .specs, .specs--4, .whys, .cards, .posts, .gallery { grid-template-columns: 1fr; }
  .svc--big, .svc--gold { grid-column: auto; }
  .steps__list { grid-template-columns: 1fr; gap: 34px; }
  .steps__list::before { display: none; }
  .ft__grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .lead-doc--over { margin-top: -40px; }
  .author-box { flex-direction: column; align-items: flex-start; }
  .blog-search { margin-top: -100px; }
  .prose { font-size: 16.5px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}
