/* Opção E (preview): D made warmer and curvier. Loaded after skin-d.css, only with body.skin-e
   (?home=e, ?estilo=e or the E preview cookie). Organic wave edges, pill buttons, rounded cards,
   warm linen/sand neutrals (from the reception wood and marble) with the brand mint and sage.
   No charcoal: deepest text is the warm #45423c. Motion respects prefers-reduced-motion. */

body.skin-e {
  --e-paper: #fffdf9;
  --e-linen: #faf6f0;
  --e-sand: #f1e9de;
  --e-mint: #d3e5c9;
  --e-mint-soft: #eef3e6;
  --e-sage: #a9c0a0;
  --e-ink: #45423c;        /* warm deep text: 9.3:1 on linen */
  --e-muted: #67625a;      /* 5.5:1 on linen, 4.9:1 on sand */
  --sage-ink: #4a6a4c;     /* approved D tint: 4.9:1 on linen, 5.4:1 white on it */
  --ink: var(--e-ink);
  --muted: var(--e-muted);
  --line: #ece4d8;
  --sage-50: var(--e-linen);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(69, 66, 60, .04), 0 12px 32px rgba(120, 100, 70, .08);
  --e-wave-h: clamp(46px, 7vw, 112px);
  background: var(--e-paper);
}
/* Small sine waves used as the motif (eyebrows, nav underline, highlight under the headline) */
body.skin-e {
  --e-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0,4 C4,0 8,0 12,4 C16,8 20,8 24,4' fill='none' stroke='%23a9c0a0' stroke-width='1.4'/%3E%3C/svg%3E");
  --e-squiggle-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0,6 C7,0 13,0 20,6 C27,12 33,12 40,6' fill='none' stroke='%23d3e5c9' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Type & motif ---------- */
.skin-e h1, .skin-e h2, .skin-e h3, .skin-e h4,
.skin-e .section__title, .skin-e .page-hero__title, .skin-e .cta-band__title { color: var(--e-ink); }
.skin-e .eyebrow::before, .skin-e .skd-eyebrow::before {
  width: 42px; height: 10px; background: var(--e-squiggle) left center / 21px 7px repeat-x;
}
.skin-e .link-arrow { border-bottom: 0; padding-bottom: 6px; background: var(--e-squiggle) left bottom / 16px 5px repeat-x; }

/* ---------- Pills ---------- */
.skin-e .btn { border-radius: 999px; padding: .8em 1.7em; }
.skin-e .btn--sm { padding: .5em 1.2em; }
@media (max-width: 1079px) { .skin-e .site-header .btn--sm { padding: .5em .95em; } }
@media (max-width: 420px) { .skin-e .site-header .btn--sm { padding: .5em .85em; } }
.skin-e .btn--primary { background: var(--sage-ink); border-color: var(--sage-ink); color: #fff; }
.skin-e .btn--primary:hover { background: #4a625c; border-color: #4a625c; color: #fff; }
.skin-e .btn--whatsapp, .skin-e .btn--ghost, .skin-e .btn--outline { border-color: var(--e-sage); background: rgba(255, 255, 255, .55); color: var(--e-ink); }
.skin-e .btn--whatsapp:hover, .skin-e .btn--ghost:hover, .skin-e .btn--outline:hover { background: var(--e-mint-soft); border-color: var(--sage-ink); }
.skin-e .tag { background: var(--e-mint-soft); border-color: transparent; color: var(--sage-ink); }
.skin-e .chip { border-radius: 999px; border-color: var(--e-sage); background: #fff; font-weight: 500; }
.skin-e .chip[aria-pressed="true"], .skin-e .chip[aria-current="page"] { background: var(--e-mint); border-color: var(--e-mint); color: var(--e-ink); }
.skin-e :focus-visible { border-radius: 12px; }

/* ---------- Header: warm paper, wavy underline ---------- */
.skin-e .topbar { background: var(--e-linen); border-bottom-color: var(--line); }
.skin-e .site-header { background: rgba(255, 253, 249, .96); border-bottom-color: var(--line); }
.skin-e .site-nav__list a::after { height: 6px; bottom: 0; background: var(--e-squiggle) left center / 12px 5px repeat-x; transform-origin: left; }

/* ---------- Wave dividers (home) ---------- */
.hxe-wave { position: relative; z-index: 3; height: var(--e-wave-h); line-height: 0; pointer-events: none; }
.hxe-wave--up { margin-top: calc(-1 * var(--e-wave-h) + 1px); }
.hxe-wave--down { margin-bottom: calc(-1 * var(--e-wave-h) + 1px); }
/* 2 px of extra fill below/above the edge hides the subpixel seam left by fractional heights */
.hxe-wave svg { display: block; width: 100%; height: calc(100% + 2px); overflow: visible; }
.hxe-wave--down svg { margin-top: -2px; }
.hxe-wave__fill { fill: var(--wave-fill); }
.hxe-wave__accent { fill: var(--wave-accent); opacity: .6; }
.hxe-wave[style*="e-sage"] .hxe-wave__accent { opacity: .38; }
.hxe-wave__line { fill: none; stroke: var(--e-sage); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* ---------- Hero E ---------- */
.hxe-hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(600px, calc(100svh - 116px), 820px); padding: 40px 0 calc(var(--e-wave-h) + 56px);
  background: radial-gradient(60% 70% at 18% 25%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--e-linen);
}
.hxe-defs { position: absolute; width: 0; height: 0; }
.hxe-hero__inner { position: relative; z-index: 2; }
.hxe-hero__text { max-width: min(600px, calc(54vw - 250px)); }
.hxe-hero__title {
  font-size: clamp(2.4rem, 1.2rem + 2.4vw, 3.8rem); font-weight: 300; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance;
  margin: 0 0 22px; color: var(--e-ink);
}
.hxe-hero__title em { font-style: normal; color: var(--sage-ink); }
.hxe-hero__lead { font-size: 1.16rem; line-height: 1.6; color: var(--e-muted); max-width: 31em; margin: 0 0 28px; }
.hxe-hero__areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; max-width: 600px; }
.hxe-hero__areas li {
  padding: 6px 14px; border-radius: 999px; background: rgba(211, 229, 201, .55); color: var(--sage-ink);
  font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.hxe-hero__figure { position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; width: min(46vw, 720px); margin: 0; }
.hxe-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; clip-path: url(#hxe-photo-clip); }
.hxe-hero__blob, .hxe-hero__ring { position: absolute; pointer-events: none; }
.hxe-hero__blob { left: -78px; top: 9%; width: 58%; height: 80%; fill: var(--e-mint); opacity: .85; }
.hxe-hero__ring { left: -104px; top: 5%; width: 60%; height: 86%; fill: none; stroke: var(--e-sage); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hxe-hero__card {
  position: absolute; z-index: 2; left: auto; right: 32px; top: 28px; bottom: auto; display: grid; gap: 8px; margin: 0; white-space: nowrap;
  padding: 16px 20px; border-radius: 22px; background: rgba(255, 253, 249, .95); color: var(--e-ink);
  box-shadow: 0 16px 40px rgba(120, 100, 70, .14); font-size: .86rem; line-height: 1.4; letter-spacing: .02em;
}
.hxe-hero__card span { display: flex; gap: .6em; align-items: flex-start; }
.hxe-hero__card .icon { flex: none; color: var(--sage-ink); margin-top: .1em; }
/* The logo's line: a thin ECG/ultrasound trace that draws itself once, then rests */
.hxe-ecg { position: absolute; left: 0; bottom: calc(var(--e-wave-h) - 30px); z-index: 0; width: 100%; height: 160px; overflow: visible; }
.hxe-ecg path { fill: none; stroke: var(--sage-ink); stroke-opacity: .55; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hxe-draw 3.2s cubic-bezier(.45, .05, .25, 1) .6s forwards; }
@keyframes hxe-draw { to { stroke-dashoffset: 0; } }

/* ---------- Sections (home) ---------- */
.skin-e .site-main { background: var(--e-paper); }
.skin-e .section { padding: 88px 0; }
.skin-e .section--tint:has(#sobre-title) { background: var(--e-mint-soft); }
.skin-e .skd-why { background: var(--e-linen); }
.skin-e .section--tint:has(#blog-title) { background: var(--e-linen); }
.skin-e .visit, .skin-e.skin-d .visit { background: var(--e-paper); border-top: 0; }

/* Services: rounded cards, numbers in a mint circle */
.skin-e .service-grid { gap: 14px; border-top: 0; }
.skin-e .service-card {
  align-items: center; padding: 22px 56px 22px 20px; border: 1px solid var(--line); border-radius: 22px;
  background: #fff; box-shadow: 0 1px 2px rgba(69, 66, 60, .03);
  transition: background-color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.skin-e .service-card::before {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--e-mint-soft); color: var(--sage-ink); font-size: .78rem; letter-spacing: .04em;
}
.skin-e .service-card:hover, .skin-e .service-card:focus-within {
  background: #fff; border-color: var(--e-sage); box-shadow: 0 14px 34px rgba(120, 100, 70, .10); transform: translateY(-2px);
}
.skin-e .service-card:hover::before { background: var(--e-mint); }
.skin-e .service-card__link::after { border-radius: 22px; }
.skin-e .service-card__arrow { color: var(--sage-ink); }

/* About: arch photo with an offset mint arch behind it */
.skin-e .skd-about__photo { overflow: visible; border-radius: 0; position: relative; isolation: isolate; }
.skin-e .skd-about__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: 999px 999px 0 0; background: var(--e-mint); }
.skin-e .skd-about__photo img { border-radius: 999px 999px 0 0; }

/* Por que Wave?: leaf-shaped photo on a soft mint shadow */
.skin-e .skd-why__photo { border-radius: 180px 28px 180px 28px; box-shadow: -18px 18px 0 var(--e-mint); overflow: hidden; }
.skin-e .skd-why .section__title em { font-style: italic; }

/* Team band: wavy top (divider) and bottom (mask), rounded card */
.skin-e .team-band { background: var(--e-paper); }
.skin-e .team-band__img {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V60 C1210,104 980,96 720,58 C470,22 220,30 0,70 Z'/%3E%3C/svg%3E") left bottom / 100% var(--e-wave-h) no-repeat, linear-gradient(#000, #000) left top / 100% calc(100% - var(--e-wave-h) + 1px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V60 C1210,104 980,96 720,58 C470,22 220,30 0,70 Z'/%3E%3C/svg%3E") left bottom / 100% var(--e-wave-h) no-repeat, linear-gradient(#000, #000) left top / 100% calc(100% - var(--e-wave-h) + 1px) no-repeat;
}
.skin-e .team-band__inner { border-bottom: 0; padding-top: 24px; }

/* Convênios, blog, visit */
.skin-e .logo-strip { gap: 12px; border: 0; }
.skin-e .logo-strip a { border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.skin-e .logo-strip a:hover { background: var(--e-mint-soft); border-color: var(--e-sage); }
.skin-e .post-card { border-radius: 24px; border-color: var(--line); background: #fff; overflow: hidden; }
.skin-e .post-card:hover { border-color: var(--e-sage); box-shadow: 0 14px 34px rgba(120, 100, 70, .10); }
.skin-e .visit__map, .skin-e .visit__map iframe { border-radius: 28px; }
.skin-e .visit__map { overflow: hidden; box-shadow: 16px 16px 0 var(--e-mint-soft); }
/* Safari ignores overflow+radius on an iframe's composited layer (square bottom corners, cut attribution):
   clip the box itself and keep it on its own layer. */
.skin-e .visit__map iframe { clip-path: inset(0 round 28px); } /* on the iframe, so the mint offset shadow of the box stays */

/* ---------- Footer: soft mint-white with a gentle wave edge that drifts slowly (Miguel 2026-11-06: subtle) ---------- */
.skin-e .site-footer { position: relative; margin-top: var(--e-wave-h); background: #f0f4e9; border-top: 0; }
.skin-e .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--e-wave-h); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C240,80 480,80 720,50 C960,20 1200,20 1440,50' fill='none' stroke='%23a9c0a0' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 1440px 100% repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C240,80 480,80 720,50 C960,20 1200,20 1440,50 L1440,120 L0,120 Z' fill='%23f0f4e9'/%3E%3C/svg%3E") 0 0 / 1440px 100% repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,70 480,70 720,40 C960,10 1200,10 1440,40 L1440,120 L0,120 Z' fill='%23d3e5c9' fill-opacity='.45'/%3E%3C/svg%3E") 0 0 / 1440px 100% repeat-x;
  animation: footer-drift 60s linear infinite;
}
@keyframes footer-drift { from { background-position: 0 0, 0 0, 0 0; } to { background-position: -1440px 0, -1440px 0, 1440px 0; } }
@media (prefers-reduced-motion: reduce) { .skin-e .site-footer::before { animation: none; } }
.skin-e .cta-band + .site-footer, .skin-e .cta-band { border: 0; }

/* ---------- Inner pages: wave-shaped bottom on the page header, rounded side cards ---------- */
.skin-e .page-hero { position: relative; }
.skin-e .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: var(--e-wave-h); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,52 C260,14 520,18 760,46 C1000,74 1230,84 1440,38 L1440,120 L0,120 Z' fill='%23d3e5c9' fill-opacity='.75'/%3E%3Cpath d='M0,70 C220,30 470,22 720,58 C980,96 1210,104 1440,60 L1440,120 L0,120 Z' fill='%23fffdf9'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.skin-e .page-hero, .skin-e .page-hero--plain { border-bottom: 0; background: var(--e-linen); }
.skin-e .page-hero__inner { padding-bottom: calc(88px + var(--e-wave-h) * .6); }
.skin-e .page-hero + .section { padding-top: 48px; }
.skin-e .page-hero--image::before { background: linear-gradient(90deg, rgba(250, 246, 240, .95) 0%, rgba(250, 246, 240, .88) 34%, rgba(250, 246, 240, .35) 58%, rgba(250, 246, 240, 0) 75%); }
.skin-e .aside__card, .skin-e .contact-card--accent, .skin-e .contact-card { border-radius: 24px; }
.skin-e .aside__card, .skin-e .contact-card--accent { background: var(--e-mint-soft); }
.skin-e .cta-band { background: var(--e-paper); }
.skin-e .cta-band__inner { background: var(--e-mint-soft); border-radius: 32px; padding: 40px 44px; }
.skin-e .prose img, .skin-e .profile img, .skin-e .team-card img { border-radius: 24px; }

/* WhatsApp float and preview pill */
.skin-e .wa-float { border-radius: 999px; background: var(--e-paper); border-color: var(--e-sage); }
.skin-e .hx-switch { background: rgba(74, 106, 76, .96); }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hxe-hero { display: block; min-height: 0; padding: 0 0 calc(var(--e-wave-h) + 96px); background: var(--e-linen); }
  .hxe-hero__figure { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; }
  .hxe-hero__img {
    clip-path: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H400 V372 C330,398 260,350 190,362 C120,374 60,398 0,380 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H400 V372 C330,398 260,350 190,362 C120,374 60,398 0,380 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  }
  .hxe-hero__blob, .hxe-hero__ring { display: none; }
  .hxe-hero__card { left: 16px; right: auto; top: auto; bottom: 34px; max-width: calc(100% - 32px); padding: 12px 16px; font-size: .8rem; border-radius: 18px; white-space: normal; }
  .hxe-hero__text { max-width: none; padding-top: 28px; }
  .hxe-ecg { bottom: calc(var(--e-wave-h) - 6px); height: 90px; }
  .skin-e .cta-band__inner { padding: 28px 22px; border-radius: 24px; }
  .skin-e .page-hero--image::before { background: linear-gradient(180deg, rgba(250, 246, 240, 0) 0%, rgba(250, 246, 240, 0) 110px, rgba(250, 246, 240, .9) 220px, rgba(250, 246, 240, .97) 100%); }
}
@media (max-width: 600px) {
  .hxe-hero__title { font-size: 2.45rem; }
  .hxe-hero__lead { font-size: 1.06rem; }
  .skin-e .service-card { padding: 16px 44px 16px 14px; border-radius: 18px; }
  .skin-e .service-card::before { width: 2.2rem; height: 2.2rem; }
  .skin-e .skd-why__photo { border-radius: 120px 22px 120px 22px; box-shadow: -12px 12px 0 var(--e-mint); }
  .skin-e .section { padding: 64px 0; }
  .skin-e .skd-about__photo::before { inset: 14px -12px -14px 12px; }
  .skin-e .visit__map { box-shadow: 10px 10px 0 var(--e-mint-soft); }
  .skin-e .wa-float { width: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .hxe-ecg path { animation: none; stroke-dashoffset: 0; }
  .skin-e .service-card { transition: none; }
  .skin-e .service-card:hover { transform: none; }
}

/* ---------- "Resultado de exames": the patients' main task (Débora 2026-11-06) ----------
   Desktop: a contrasting pill in the sticky header. Mobile: a fixed pill at the bottom, within thumb reach,
   with WhatsApp moved to the left. */
.skin-e { --e-results: #46684a; --e-results-hover: #37543a; } /* deep brand sage, chosen by Miguel 2026-11-06 (5:1 with white) */
.btn--results { background: var(--e-results); color: #fff; border-radius: 999px; box-shadow: 0 6px 16px rgba(120, 70, 40, .22); }
.btn--results:hover, .btn--results:focus-visible { background: var(--e-results-hover); color: #fff; }
.results-float { display: none; }
@media (max-width: 960px) {
  .site-header__actions .btn--results { display: none; }
  .results-float {
    position: fixed; z-index: 61; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex;
    align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
    background: var(--e-results); color: #fff; font-weight: 500; letter-spacing: .04em; text-decoration: none;
    box-shadow: 0 10px 26px rgba(120, 70, 40, .30);
  }
  .results-float:hover, .results-float:focus-visible { background: var(--e-results-hover); color: #fff; }
  .results-float .icon { width: 22px; height: 22px; }
  .skin-e .wa-float { right: auto; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  html.menu-open .results-float { display: none; }
  body.skin-e { padding-bottom: 84px; }
}
@media print { .results-float { display: none !important; } }
.skin-e a.btn--results, .skin-e a.btn--results:hover, .skin-e a.results-float, .skin-e a.results-float:hover { color: #fff; }
.skin-e a.btn--results .icon, .skin-e a.results-float .icon { color: #fff; }
/* Room for the extra header button: phone shows as an icon only until wide screens. */
@media (min-width: 961px) and (max-width: 1799px) {
  .skin-e .site-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .skin-e .site-header__actions { gap: 10px; }
}
@media (min-width: 961px) and (max-width: 1279px) {
  .skin-e .site-nav__list a { letter-spacing: .08em; }
  .skin-e .site-nav__list { gap: 18px; }
}
@media (min-width: 961px) and (max-width: 1599px) {
  .skin-e .site-nav__list { gap: 22px; }
  .skin-e .site-nav__list a { letter-spacing: .1em; }
  .skin-e .site-header__actions .btn--sm { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 961px) and (max-width: 1599px) {
  .skin-e .site-nav__list { gap: 16px; }
  .skin-e .site-nav__list a { letter-spacing: .06em; font-size: .8rem; }
}
@media (min-width: 961px) and (max-width: 1399px) {
  .skin-e .site-nav__list { gap: 12px; }
  .skin-e .site-nav__list a { letter-spacing: .03em; font-size: .74rem; }
  .skin-e .site-header__logo img { width: 150px; height: auto; }
}
@media (min-width: 1600px) and (max-width: 1799px) {
  .skin-e .site-nav__list { gap: 20px; }
  .skin-e .site-nav__list a { letter-spacing: .08em; font-size: .82rem; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .skin-e .site-header__phone { display: none; }
  .skin-e .site-nav__list { gap: 10px; }
  .skin-e .site-nav__list a { letter-spacing: .02em; font-size: .7rem; }
  .skin-e .site-header__logo img { width: 128px; }
  .skin-e .site-header__actions .btn--sm { padding-left: 12px; padding-right: 12px; }
}

/* Mobile (Miguel 2026-11-06): WhatsApp and Resultado de exames share one fixed bottom row, 50% each, lower height. */
@media (max-width: 960px) {
  .skin-e .wa-float, .skin-e .results-float {
    position: fixed; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 61; display: inline-flex; align-items: center;
    justify-content: center; gap: 8px; height: 46px; width: calc(50% - 15px); padding: 0 10px; border-radius: 999px;
    font-size: .86rem; font-weight: 500; letter-spacing: .03em; white-space: nowrap; transform: none;
  }
  .skin-e .wa-float { left: 10px; right: auto; border: 1px solid var(--e-sage); background: var(--e-paper); color: var(--e-ink); }
  .skin-e .results-float { right: 10px; left: auto; box-shadow: 0 8px 20px rgba(120, 70, 40, .25); }
  .skin-e .wa-float .icon, .skin-e .results-float .icon { width: 18px; height: 18px; flex: none; }
  .skin-e .wa-float__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }
  body.skin-e { padding-bottom: 66px; }
}

/* Mobile header (Miguel 2026-11-06): no "Agendar exame" button up top; the bottom bar (WhatsApp + Resultado de
   exames) and the menu panel's buttons cover it. Also keeps the header inside small screens. */
@media (max-width: 960px) {
  .skin-e .site-header__actions [data-cta-booking] { display: none; }
}
@media (max-width: 359px) {
  .skin-e .wa-float, .skin-e .results-float { font-size: .76rem; letter-spacing: 0; gap: 6px; padding: 0 6px; }
}
/* WhatsApp button label: "Fale conosco" on desktop, the number itself on phones (Miguel 2026-11-06). */
.wa-float__label--phone { display: none; }
@media (max-width: 960px) {
  .skin-e .wa-float__label--desk { display: none; }
  .skin-e .wa-float__label--phone { display: inline; position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Mobile header (Miguel: "me surpreende") ----------
   The logo writes itself left to right once per visit (it is a signature), and a live chip says whether the
   clinic is open now. Desktop keeps its header as is. */
.open-status { display: none; }
@media (max-width: 960px) {
  .skin-e .site-header__inner { gap: 10px; }
  .skin-e .open-status {
    display: inline-flex; align-items: center; gap: 7px; margin: 0 0 0 auto; padding: 6px 12px; border-radius: 999px;
    background: var(--e-mint-soft); color: var(--sage-ink); font-size: .72rem; font-weight: 500; letter-spacing: .03em;
    white-space: nowrap;
  }
  .skin-e .open-status[hidden] { display: none; }
  .skin-e .open-status.is-closed { background: var(--e-sand); color: var(--e-muted); }
  .skin-e .open-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #3f9a6b; flex: none; }
  .skin-e .open-status.is-closed .open-status__dot { background: #b3a38c; }
  .skin-e .open-status.is-open .open-status__dot { box-shadow: 0 0 0 0 rgba(63, 154, 107, .5); animation: wave-pulse 2.2s ease-out infinite; }
  .skin-e .site-header__actions { margin-left: 0; }
}
@media (max-width: 359px) { .skin-e .open-status { font-size: .64rem; padding: 5px 9px; } }
@keyframes wave-pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 154, 107, .5); } 70% { box-shadow: 0 0 0 9px rgba(63, 154, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 154, 107, 0); } }
.site-header__logo.is-signing img { animation: wave-sign 1.8s cubic-bezier(.6, .05, .3, 1) .2s both; }
@keyframes wave-sign { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .skin-e .open-status__dot { animation: none !important; } .site-header__logo.is-signing img { animation: none; } }
@media (max-width: 400px) {
  .skin-e .open-status__more { display: none; }
  .skin-e .site-header__logo img { width: 116px; height: auto; }
  .skin-e .open-status { padding: 5px 10px; gap: 6px; }
}
@media (max-width: 340px) { .skin-e .site-header__logo img { width: 96px; } .skin-e .open-status { font-size: .62rem; } }

/* ---------- Mobile photo fit (Débora 2026-11-06: photos cut people off on phones) ----------
   Group/landscape photos keep their own proportion on phones instead of being squeezed into tall arches. */
@media (max-width: 720px) {
  /* Home "A Wave": landscape arch (soft top curve) so the whole group fits. */
  .skin-e .skd-about__photo { aspect-ratio: 16 / 10; max-width: 100%; }
  .skin-e .skd-about__photo img { border-radius: 46% 46% 0 0 / 30% 30% 0 0; object-position: center 58%; }
  .skin-e .skd-about__photo::before { border-radius: 46% 46% 0 0 / 30% 30% 0 0; }
}
@media (max-width: 900px) {
  /* Inner page headers: photo on top at its natural landscape shape, title below on linen (no veil). */
  .skin-e .page-hero--image .page-hero__img {
    position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
    object-fit: cover; object-position: center 45%; border-radius: 0 0 46% 46% / 0 0 14% 14%;
  }
  .skin-e .page-hero--image::before { display: none; }
  .skin-e .page-hero--image .page-hero__inner { padding-top: 24px; min-height: 0; }
}

/* ---------- Page transition (only for slow pages): brand green, one white line writing the real logo (assets/js/page-transition.js) */
.wave-trans { position: fixed; inset: 0; z-index: 9999; background: #a9c0a0; opacity: 0; overflow: hidden; }
.wave-trans__sig { position: absolute; left: 50%; top: 50%; width: min(78vw, 640px); height: auto; transform: translate(-50%, -50%); overflow: visible; }
.wave-trans__pen path { fill: none; stroke: #fff; stroke-width: 36; stroke-linecap: round; stroke-linejoin: round; } /* each path stays invisible until its stroke starts (JS), so round caps leave no dots */
/* Arriving after a slow click: green from the first paint until the script takes over. */
html.wave-arriving body::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: #a9c0a0; pointer-events: none; animation: wave-trans-safety 0s linear 4s forwards; }
@keyframes wave-trans-safety { to { opacity: 0; visibility: hidden; } } /* never stuck green if the script fails */
@media (prefers-reduced-motion: reduce) { .wave-trans, html.wave-arriving body::after { display: none !important; } }
/* Desktop: the fixed "Fale conosco" pill sits bottom-right; keep the footer's last line clear of it. */
@media (min-width: 961px) { .skin-e .site-footer__bottom-inner { padding-right: 300px; padding-bottom: 28px; } }
/* Footer bottom line: copyright and credit together on the left (Miguel 2026-11-06). */
.skin-e .site-footer__bottom-inner { justify-content: flex-start; column-gap: 28px; }
/* Header WhatsApp button (replaces Agendar + phone icon, Miguel 2026-11-06); phones use the bottom bar. */
.skin-e .site-header__wa { white-space: nowrap; }
@media (max-width: 960px) { .skin-e .site-header__actions .site-header__wa { display: none; } }
/* Header (Miguel 2026-11-06): Resultados is the one filled button; WhatsApp is a quiet outline so they don't compete. */
.skin-e .site-header__wa { background: transparent; color: var(--sage-ink); border: 1px solid var(--e-sage); box-shadow: none; }
.skin-e .site-header__wa .icon { color: var(--sage-ink); }
.skin-e .site-header__wa:hover, .skin-e .site-header__wa:focus-visible { background: var(--e-mint-soft); color: var(--sage-ink); border-color: var(--sage-ink); }
/* Header hovers readable on the light background (Miguel 2026-11-06): no white text on linen. */
.skin-e .topbar, .skin-e .topbar a.topbar__item { color: var(--e-muted); }
.skin-e a.topbar__item:hover, .skin-e a.topbar__item:focus-visible { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }
.skin-e .topbar .icon { color: var(--sage-ink); }
.skin-e .site-nav__list a:hover, .skin-e .site-nav__list a:focus-visible, .skin-e .site-nav__list a[aria-current="page"] { color: var(--sage-ink); background: none; }
.skin-e .site-header__logo:hover { opacity: .85; }
/* "A Wave" (Miguel 2026-11-06): title right under its eyebrow (prose h2 margin added a big gap); photo and its
   mint offset kept clear of the wave at the bottom of the band. */
.skin-e .split__text.prose > .eyebrow + .section__title { margin-top: 0; }
.skin-e .section--tint:has(#sobre-title) { padding-bottom: calc(88px + var(--e-wave-h) * .5); }
.skin-e .skd-about__photo::before { inset: 18px -18px -18px 18px; }
/* "A Wave" photo (Miguel 2026-11-06: the offset mint block made a stepped "greek key" shape). Clean arch only,
   with a thin sage arch line around it, same curve, no offset block. */
.skin-e .skd-about__photo::before {
  inset: -14px; z-index: -1; background: none; border: 1px solid var(--e-sage);
  border-radius: 999px 999px 0 0; border-bottom: 0;
}
.skin-e .skd-about__photo img { border-radius: 999px 999px 0 0; box-shadow: 0 18px 40px rgba(70, 60, 45, .10); }
@media (max-width: 720px) {
  .skin-e .skd-about__photo::before { inset: -10px; border-radius: 46% 46% 0 0 / 30% 30% 0 0; }
  .skin-e .skd-about__photo img { border-radius: 46% 46% 0 0 / 30% 30% 0 0; }
}

/* ---------- Home "Nossa Equipe": one warm photo of the whole team (partials/home-team-e.php) ---------- */
.team-e { padding-top: 72px; padding-bottom: 64px; }
.team-e__card { position: relative; display: block; border-radius: 32px; overflow: hidden; text-decoration: none; color: var(--e-ink); isolation: isolate; }
.team-e__photo { display: block; aspect-ratio: 16 / 8.2; }
.team-e__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.team-e__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 246, 240, .94) 0%, rgba(250, 246, 240, .78) 26%, rgba(250, 246, 240, 0) 50%); pointer-events: none; }
.team-e__text { position: absolute; z-index: 1; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; max-width: 380px; }
.team-e__text .section__title { margin: 0; }
.team-e__lead { color: var(--e-muted); font-size: 1.05rem; line-height: 1.6; }
.team-e__cta { display: inline-flex; align-items: center; gap: .5em; margin-top: 6px; color: var(--sage-ink); font-weight: 500; letter-spacing: .06em; }
.team-e__cta .icon { transition: transform .3s ease; }
.team-e__card:hover .team-e__photo img, .team-e__card:focus-visible .team-e__photo img { transform: scale(1.03); }
.team-e__card:hover .team-e__cta .icon { transform: translateX(4px); }
.team-e__card:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 4px; }
@media (max-width: 860px) {
  .team-e { padding-top: 48px; }
  .team-e__card { border-radius: 24px; background: var(--e-linen); }
  .team-e__card::after { display: none; }
  .team-e__photo { aspect-ratio: 16 / 10; }
  .team-e__text { position: static; transform: none; max-width: none; padding: 22px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) { .team-e__photo img, .team-e__cta .icon { transition: none; } }
/* Nossa Equipe (Miguel 2026-11-06 "não dá pra ler"): text never over the photo. Text row above, photo clean below. */
.team-e__card { display: flex; flex-direction: column-reverse; gap: 28px; border-radius: 0; overflow: visible; background: none; }
.team-e__card::after { display: none; }
.team-e__text { position: static; transform: none; max-width: none; padding: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 40px; row-gap: 10px; align-items: end; }
.team-e__text .eyebrow, .team-e__text .section__title { grid-column: 1; }
.team-e__lead { grid-column: 1; max-width: 40em; }
.team-e__cta { grid-column: 2; grid-row: 2 / span 2; align-self: end; margin: 0; white-space: nowrap; }
.team-e__photo { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 8; }
@media (max-width: 860px) {
  .team-e__card { gap: 18px; background: none; }
  .team-e__text { grid-template-columns: 1fr; }
  .team-e__cta { grid-column: 1; grid-row: auto; }
  .team-e__photo { border-radius: 22px; aspect-ratio: 4 / 3; }
}
/* Nossa Equipe photo: lower frame, ceiling cropped, team kept whole (Miguel 2026-11-06). */
.team-e__photo { aspect-ratio: 16 / 6.4; }
.team-e__photo img { object-position: center 88%; }
@media (max-width: 860px) { .team-e__photo { aspect-ratio: 16 / 9; } .team-e__photo img { object-position: center 85%; } }
.team-e__photo { aspect-ratio: 16 / 6.8; }
.team-e__photo img { object-position: center 80%; }
@media (max-width: 860px) { .team-e__photo { aspect-ratio: 16 / 9; } .team-e__photo img { object-position: center 85%; } }

/* ---------- Team list (Miguel 2026-11-06: less institutional) ----------
   3 columns, arch-topped portraits, middle column set lower for an editorial rhythm, role as a small line
   above the name, names balanced so long ones break nicely. */
.skin-e .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; max-width: 1040px; margin: 24px auto 0; align-items: start; }
.skin-e .team-card:nth-child(3n + 2) { margin-top: 72px; }
.skin-e .team-card a { display: grid; gap: 0; }
.skin-e .team-card__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--e-linen); }
.skin-e .team-card img, .skin-e .team-card__photo img { border-radius: 0; object-position: center 22%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.skin-e .team-card__photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 253, 249, .0); border-radius: 999px 999px 20px 20px; transition: border-color .4s ease; pointer-events: none; }
.skin-e .team-card a:hover .team-card__photo::after, .skin-e .team-card a:focus-visible .team-card__photo::after { border-color: rgba(255, 253, 249, .85); }
.skin-e .team-card a:hover img { transform: scale(1.04); }
.skin-e .team-card__role { order: 1; margin: 22px 0 6px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); }
.skin-e .team-card__photo { order: 0; }
.skin-e .team-card__name { order: 2; font-family: inherit; font-weight: 400; font-size: 1.3rem; line-height: 1.25; color: var(--e-ink); text-wrap: balance; }
.skin-e .team-card a:hover .team-card__name { color: var(--sage-ink); }
/* Dra. Débora's photo is a wider shot than the others: zoom it to the same framing (Débora 2026-11-06). */
.skin-e .team-card--59 .team-card__photo img { transform: scale(1.42); transform-origin: 50% 30%; }
.skin-e .team-card--59 a:hover .team-card__photo img { transform: scale(1.48); }
@media (max-width: 900px) {
  .skin-e .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; }
  .skin-e .team-card:nth-child(3n + 2) { margin-top: 0; }
  .skin-e .team-card:nth-child(2n) { margin-top: 48px; }
  .skin-e .team-card__name { font-size: 1.05rem; }
  .skin-e .team-card__role { margin-top: 14px; font-size: .62rem; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) { .skin-e .team-card img { transition: none; } }
/* Sections that end in a background wave keep their content clear of it (Miguel 2026-11-06: convênios logos and
   blog cards were sitting on the wave). The wave overlaps the section's last --e-wave-h pixels. */
.skin-e main > section:has(+ .hxe-wave--up) { padding-bottom: calc(72px + var(--e-wave-h)); }
.skin-e main > section.section--tint:has(#blog-title) { padding-top: 56px; }
/* "Ver detalhes" / "Mais posts": no wavy underline (Miguel 2026-11-06), a plain thin line. */
.skin-e .link-arrow { background: none; border-bottom: 1px solid var(--e-sage); padding-bottom: 4px; }
.skin-e .link-arrow:hover { color: var(--sage-ink); border-bottom-color: var(--sage-ink); }

/* ---------- Team list v2 (Miguel 2026-11-06: arches read as a "house"; wanted something different) ----------
   Soft organic "pebble" portraits, three slightly different shapes in rotation, aligned grid (no stagger),
   name and role centred under the photo. On hover the shape slowly morphs, like water. */
.skin-e .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; max-width: 1000px; }
.skin-e .team-card:nth-child(3n + 2), .skin-e .team-card:nth-child(2n) { margin-top: 0; }
.skin-e .team-card a { justify-items: center; text-align: center; }
.skin-e .team-card__photo {
  width: 100%; max-width: 280px; aspect-ratio: 1 / 1.08; background: var(--e-linen);
  border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%;
  transition: border-radius 1.2s cubic-bezier(.45, .05, .25, 1);
}
.skin-e .team-card:nth-child(3n + 2) .team-card__photo { border-radius: 44% 56% 52% 48% / 47% 55% 45% 53%; }
.skin-e .team-card:nth-child(3n + 3) .team-card__photo { border-radius: 52% 48% 41% 59% / 56% 47% 53% 44%; }
.skin-e .team-card a:hover .team-card__photo, .skin-e .team-card a:focus-visible .team-card__photo { border-radius: 47% 53% 58% 42% / 45% 53% 47% 55%; }
.skin-e .team-card__photo::after { display: none; }
.skin-e .team-card img, .skin-e .team-card__photo img { object-position: center 24%; }
.skin-e .team-card__role { order: 2; margin: 6px 0 0; }
.skin-e .team-card__name { order: 1; margin-top: 22px; font-size: 1.22rem; max-width: 16em; }
@media (max-width: 900px) {
  .skin-e .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; }
  .skin-e .team-card__name { margin-top: 14px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .skin-e .team-card__photo { transition: none; } }
/* Team list: 4 per row on desktop (Miguel 2026-11-06). */
@media (min-width: 1100px) {
  .skin-e .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 36px; max-width: 1180px; }
  .skin-e .team-card__photo { max-width: 250px; }
  .skin-e .team-card__name { font-size: 1.15rem; }
}
@media (min-width: 901px) and (max-width: 1099px) { .skin-e .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .skin-e .team-card:last-child:nth-child(4n + 1) { grid-column: 2 / span 2; justify-self: center; width: calc(50% - 18px); } }
/* Nossa Equipe page header: frame the people, not the ceiling (Miguel 2026-11-06). */
.skin-e.page-template-tpl-team .page-hero--image .page-hero__img { --hero-pos: center 78%; object-position: center 78%; }
.skin-e.page-template-tpl-team .page-hero--image .page-hero__img { object-position: center 68%; }
@media (max-width: 900px) { .skin-e.page-template-tpl-team .page-hero--image .page-hero__img { aspect-ratio: 5 / 4; object-position: center 88%; } }
@media (max-width: 900px) { .skin-e.page-template-tpl-team .page-hero--image .page-hero__img { aspect-ratio: 16 / 9.5; object-position: center 82%; } }

/* ---------- Convênios page (partials/insurances-e.php): steps once, then short cards ---------- */
.ins-e { max-width: 1120px; margin: 0 auto; }
.ins-e__lead { max-width: 46em; font-size: 1.12rem; line-height: 1.65; color: var(--e-muted); margin: 0 0 40px; }
.ins-e__lead strong { color: var(--e-ink); font-weight: 500; }
.ins-e__steps { list-style: none; margin: 0 0 64px; padding: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; background: var(--e-mint-soft); border-radius: 28px; }
.ins-e__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: start; }
.ins-e__num { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--e-paper); color: var(--sage-ink); font-size: .95rem; box-shadow: 0 0 0 1px var(--e-sage); }
.ins-e__steps strong { font-weight: 500; color: var(--e-ink); font-size: 1.05rem; }
.ins-e__steps span:not(.ins-e__num) { color: var(--e-muted); line-height: 1.5; font-size: .95rem; }
.ins-e__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ins-e__card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--e-paper); border: 1px solid rgba(169, 192, 160, .45); border-radius: 26px; transition: transform .3s ease, box-shadow .3s ease; }
.ins-e__card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(70, 60, 45, .08); }
.ins-e__logo { height: 64px; display: flex; align-items: center; margin-bottom: 6px; }
.ins-e__logo img { max-height: 56px; max-width: 170px; width: auto; height: auto; object-fit: contain; border-radius: 0 !important; }
.ins-e__name { margin: 0; font-size: 1.35rem; font-weight: 400; color: var(--e-ink); }
.ins-e__label { margin: 8px 0 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); }
.ins-e__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ins-e__chips li { padding: 5px 12px; border-radius: 999px; background: var(--e-mint-soft); color: var(--e-ink); font-size: .88rem; }
.ins-e__none { margin: 0; color: var(--e-muted); font-size: .92rem; }
.ins-e__guia { margin: 8px 0 0; padding-left: 14px; border-left: 2px solid var(--e-sage); color: var(--e-ink); font-size: .92rem; line-height: 1.45; }
.ins-e__guia.is-before { border-left-color: var(--sage-ink); font-weight: 500; }
.ins-e__note { margin: 0; color: var(--e-muted); font-size: .82rem; line-height: 1.45; }
.ins-e__contact { margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgba(169, 192, 160, .35); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .86rem; color: var(--e-muted); }
.ins-e__contact a { color: var(--sage-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.ins-e__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ins-e__help { margin: 48px 0 0; text-align: center; color: var(--e-muted); }
.ins-e__help a { color: var(--sage-ink); }
@media (max-width: 860px) {
  .ins-e__steps { grid-template-columns: 1fr; padding: 22px; gap: 18px; margin-bottom: 40px; }
  .ins-e__card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .ins-e__card { transition: none; } }
.ins-e__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.ins-e__card { flex: 0 1 calc((100% - 48px) / 3); min-width: 280px; }
.ins-e__logo img { height: 56px; }
@media (max-width: 960px) { .ins-e__card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .ins-e__card { flex-basis: 100%; } }
/* Nossa Equipe header on wide screens (Miguel 2026-11-06 "cortando a cabeça"): the band grows with the
   width so the whole team fits, instead of a fixed 460px strip that crops heads on big monitors. */
@media (min-width: 901px) {
  .skin-e.page-template-tpl-team .page-hero--image .page-hero__inner { min-height: clamp(460px, 37vw, 720px); display: flex; flex-direction: column; justify-content: center; }
  .skin-e.page-template-tpl-team .page-hero--image .page-hero__img { object-position: center 42%; }
}
@media (min-width: 901px) { .skin-e.page-template-tpl-team .page-hero--image .page-hero__img { object-position: center 56%; } }
/* Convênio logos: each brand in its own colours, same visual weight, centred in a fixed band. */
.ins-e__logo { height: 96px; justify-content: flex-start; margin-bottom: 4px; }
.ins-e__logo img { width: auto; max-width: 100%; max-height: none; object-fit: contain; filter: none; opacity: 1; border-radius: 0 !important; }
/* Home convênios strip: brand colours (no grey filter), trimmed logos at equal visual weight, scaled down. */
.skin-e .logo-strip img { filter: none; opacity: 1; width: auto; max-width: 100%; object-fit: contain; border-radius: 0 !important; transform: scale(.82); }
.skin-e .logo-strip a:hover img { transform: scale(.86); }
.skin-e .logo-strip { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.skin-e .logo-strip a { height: 128px; padding: 18px 22px; }
.skin-e .logo-strip img { max-height: 76px; transition: transform .3s ease; }
@media (max-width: 600px) { .skin-e .logo-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Convênio logos v3 (Miguel 2026-11-06): all brands in one ink tone (assets/img/convenios/*.webp are
   single-tone cut-outs, no boxes), centred in a calm linen panel at the top of each card. */
.ins-e__card { padding: 0; overflow: hidden; gap: 0; }
.ins-e__logo { height: 132px; margin: 0; padding: 22px 28px; justify-content: center; background: var(--e-linen); border-bottom: 1px solid rgba(169, 192, 160, .35); }
.ins-e__logo img { opacity: .9; transition: opacity .3s ease; }
.ins-e__card:hover .ins-e__logo img { opacity: 1; }
.ins-e__card > :not(.ins-e__logo) { margin-left: 28px; margin-right: 28px; }
.ins-e__name { margin-top: 22px; }
.ins-e__card > .ins-e__label { margin-top: 12px; }
.ins-e__card > .ins-e__chips, .ins-e__card > .ins-e__none { margin-top: 8px; }
.ins-e__card > .ins-e__guia { margin-top: 16px; }
.ins-e__card > .ins-e__note { margin-top: 8px; }
.ins-e__card > .ins-e__contact { margin-top: auto; margin-bottom: 0; padding: 18px 0 24px; }
.ins-e__card > .ins-e__contact::before { content: ""; display: block; width: 100%; height: 0; }
.ins-e__card > .ins-e__guia + .ins-e__contact, .ins-e__card > .ins-e__note + .ins-e__contact { margin-top: 20px; }
/* Home strip: same single-tone logos, no box behind each. */
.skin-e .logo-strip a { background: transparent; border-color: rgba(169, 192, 160, .45); }
.skin-e .logo-strip img { transform: scale(.78); opacity: .85; }
.skin-e .logo-strip a:hover img { transform: scale(.82); opacity: 1; }
@media (max-width: 860px) { .ins-e__card > :not(.ins-e__logo) { margin-left: 22px; margin-right: 22px; } .ins-e__logo { height: 116px; } }

/* ---------- Consultas / Exames (partials/services-e.php): paths, pregnancy timeline, groups ---------- */
.svc-e { max-width: 1160px; margin: 0 auto; }
.svc-e__paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 96px; }
.svc-e__ask { grid-column: 1 / -1; margin: 0 0 6px; font-size: 1.5rem; color: var(--e-ink); }
.svc-e__paths a { position: relative; display: grid; gap: 6px; padding: 26px 56px 26px 28px; border-radius: 26px; background: var(--e-mint-soft); color: var(--e-muted); text-decoration: none; line-height: 1.45; transition: background .3s ease, transform .3s ease; }
.svc-e__paths a .icon { position: absolute; right: 24px; top: 50%; transform: translateY(-50%) rotate(90deg); color: var(--sage-ink); transition: transform .3s ease; }
.svc-e__paths a:hover { background: var(--e-mint); transform: translateY(-2px); }
.svc-e__paths a:hover .icon { transform: translateY(-30%) rotate(90deg); }
.svc-e__path-title { font-size: 1.3rem; color: var(--e-ink); }
.svc-e__group { margin-bottom: 104px; scroll-margin-top: 140px; }
.svc-e__head { max-width: 640px; margin-bottom: 40px; }
.svc-e__head .section__title { margin: 0 0 12px; }
.svc-e__lead { margin: 0; color: var(--e-muted); font-size: 1.08rem; line-height: 1.6; }
/* Timeline: three phases side by side, joined by a thin sage line with a dot per phase. */
.svc-e__timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.svc-e__timeline::before { content: ""; position: absolute; left: 7px; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--e-sage), rgba(169, 192, 160, .2)); }
.svc-e__phase-title { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.15rem; color: var(--e-ink); }
.svc-e__dot { width: 15px; height: 15px; border-radius: 50%; background: var(--e-paper); box-shadow: inset 0 0 0 4px var(--e-sage); flex: none; }
.svc-e__phase-sub { margin: 6px 0 20px 27px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-ink); }
.svc-e__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.svc-e__list--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.svc-e__item a { display: grid; gap: 8px; height: 100%; box-sizing: border-box; padding: 22px 24px; border-radius: 22px; background: var(--e-paper); border: 1px solid rgba(169, 192, 160, .4); color: var(--e-ink); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.svc-e__item a:hover, .svc-e__item a:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(70, 60, 45, .08); border-color: var(--e-sage); }
.svc-e__weeks { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--e-mint-soft); color: var(--sage-ink); font-size: .74rem; letter-spacing: .04em; }
.svc-e__name { font-size: 1.16rem; line-height: 1.3; text-wrap: balance; }
.svc-e__line { color: var(--e-muted); font-size: .93rem; line-height: 1.55; }
.svc-e__more { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; color: var(--sage-ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.svc-e__more .icon { transition: transform .3s ease; }
.svc-e__item a:hover .svc-e__more .icon { transform: translateX(4px); }
@media (max-width: 960px) {
  .svc-e__paths { grid-template-columns: 1fr; margin-bottom: 64px; }
  .svc-e__ask { font-size: 1.3rem; }
  .svc-e__group { margin-bottom: 72px; }
  .svc-e__timeline { grid-template-columns: 1fr; gap: 36px; }
  .svc-e__timeline::before { left: 7px; right: auto; top: 11px; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--e-sage), rgba(169, 192, 160, .15)); }
  .svc-e__phase .svc-e__list { margin-left: 27px; }
}
@media (prefers-reduced-motion: reduce) { .svc-e__item a, .svc-e__paths a, .svc-e__more .icon { transition: none; } }
/* Menu: current page marked with a plain thin line, not the wavy one (Miguel 2026-11-06). */
.skin-e .site-nav__list a::after { height: 1px; background: var(--e-sage); }
.svc-e__phase-title { display: inline-flex; padding-right: 16px; background: var(--e-paper); z-index: 1; }
@media (max-width: 960px) { .svc-e__phase-title { padding-right: 0; background: none; } .svc-e__dot { background: var(--e-paper); position: relative; z-index: 1; } }

/* ---------- Consultas / Exames v2: one row per moment (label left, exams right) ---------- */
.svc-e--v2 .svc-e__group { margin-bottom: 88px; }
.svc-e--v2 .svc-e__head { margin-bottom: 28px; }
.svc-e__row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 36px 0; border-top: 1px solid rgba(169, 192, 160, .45); }
.svc-e__row:last-child { border-bottom: 1px solid rgba(169, 192, 160, .45); }
.svc-e__aside { position: sticky; top: 140px; align-self: start; }
.svc-e__big { margin: 0; font-size: 1.15rem; line-height: 1.1; color: var(--e-ink); letter-spacing: .02em; }
.svc-e__big span { display: block; font-size: 3.4rem; font-weight: 300; color: var(--sage-ink); line-height: 1; margin-bottom: 4px; }
.svc-e__row--mulher .svc-e__big span, .svc-e__row--integral .svc-e__big span { font-size: 2.6rem; }
.svc-e__when { display: inline-block; margin: 14px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--e-mint-soft); color: var(--sage-ink); font-size: .78rem; letter-spacing: .06em; }
.svc-e__about { margin: 14px 0 0; color: var(--e-muted); font-size: .95rem; line-height: 1.55; }
.svc-e--v2 .svc-e__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.svc-e--v2 .svc-e__item a { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 48px; }
.svc-e--v2 .svc-e__name { font-size: 1.12rem; }
.svc-e--v2 .svc-e__weeks { align-self: flex-start; }
.svc-e--v2 .svc-e__line { font-size: .9rem; }
.svc-e__arrow { position: absolute; right: 20px; bottom: 18px; color: var(--sage-ink); transition: transform .3s ease; }
.svc-e--v2 .svc-e__item a:hover .svc-e__arrow { transform: translateX(4px); }
@media (max-width: 1180px) { .svc-e--v2 .svc-e__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-e__row { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; } }
@media (max-width: 760px) {
  .svc-e__row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .svc-e__aside { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .svc-e__big { grid-row: span 2; }
  .svc-e__big span { font-size: 2.6rem; }
  .svc-e__when { margin: 0; justify-self: start; }
  .svc-e__about { grid-column: 1 / -1; margin-top: 10px; }
  .svc-e--v2 .svc-e__list { grid-template-columns: 1fr; gap: 12px; }
}
/* 4 or 2 items: 2 columns, so no card sits alone on a row. */
@media (min-width: 761px) { .svc-e__row--mulher .svc-e__list, .svc-e__row--integral .svc-e__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-e__row--mulher .svc-e__big span, .svc-e__row--integral .svc-e__big span { font-size: 3.4rem; }
@media (max-width: 760px) { .svc-e__row--mulher .svc-e__big span, .svc-e__row--integral .svc-e__big span { font-size: 2.6rem; } }

/* ---------- Home "O que fazemos": three doors (partials/home-services-e.php) ---------- */
.doors-e { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.doors-e__door { position: relative; display: flex; flex-direction: column; padding: 34px 32px 30px; border-radius: 30px; background: var(--e-paper); border: 1px solid rgba(169, 192, 160, .45); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.doors-e__door:first-child { background: var(--e-mint-soft); border-color: transparent; }
.doors-e__door:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(70, 60, 45, .09); border-color: var(--e-sage); }
.doors-e__kicker { margin: 0 0 10px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-ink); }
.doors-e__title { margin: 0; font-size: 1.9rem; font-weight: 300; line-height: 1.15; }
.doors-e__title a { color: var(--e-ink); text-decoration: none; }
.doors-e__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.doors-e__text { margin: 12px 0 22px; color: var(--e-muted); line-height: 1.55; }
.doors-e__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.doors-e__list li { border-top: 1px solid rgba(169, 192, 160, .4); }
.doors-e__list a { position: relative; z-index: 1; display: block; padding: 10px 0; color: var(--e-ink); text-decoration: none; font-size: .95rem; }
.doors-e__list a:hover { color: var(--sage-ink); }
.doors-e__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; color: var(--sage-ink); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.doors-e__more .icon { transition: transform .3s ease; }
.doors-e__door:hover .doors-e__more .icon { transform: translateX(4px); }
@media (max-width: 960px) { .doors-e { grid-template-columns: 1fr; gap: 16px; } .doors-e__door { padding: 26px 24px; } .doors-e__title { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .doors-e__door, .doors-e__more .icon { transition: none; } }
/* Small phones (Miguel 2026-11-06, 327px): nothing wider than the screen. */
@media (max-width: 960px) {
  .skin-e .contact { grid-template-columns: minmax(0, 1fr); }
  .skin-e .contact > *, .skin-e .contact-card { min-width: 0; }
  .skin-e .contact-card .btn { white-space: normal; text-align: center; max-width: 100%; }
  .skin-e .wa-float, .skin-e .results-float { min-width: 0; overflow: hidden; }
  .skin-e .wa-float__label, .skin-e .results-float span { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 379px) {
  .skin-e .wa-float, .skin-e .results-float { font-size: .74rem; letter-spacing: 0; gap: 5px; padding: 0 8px; }
  .skin-e .contact-card .btn { letter-spacing: .08em; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 600px) {
  .skin-e .post-grid { grid-template-columns: minmax(0, 1fr); }
  .skin-e .post-card { min-width: 0; }
  .skin-e input[type="file"] { max-width: 100%; width: 100%; font-size: .8rem; }
}

/* Base-theme and skin-D tokens used by older components, same greens (Miguel 2026-11-06 chose "verde 1"). */
.skin-e { --sage: #a9c0a0; --mint: #d3e5c9; --mint-soft: #eef3e6; --sage-600: #46684a; --sage-900: #33503a; }
