/* Opção D (preview): editorial, airy, arch photo, soft brand mint. Loaded only with body.skin-d
   (?home=d or cookie wave_preview=d). Palette = ?cor=1 base (white, light warm grays, brand gray
   #717375 for actions) + brand sage/mint as fine accents. No charcoal: deepest text is #3f4143. */

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-condensed-latin-wght-normal.woff2") format("woff2-variations");
}

body.skin-d {
  --sage: #9fbab4;
  --mint: #c4e8da;
  --mint-soft: #eaf6f1;
  --sage-ink: #557069;      /* sage family, darkened only for small text: 5.2:1 on white */
  --sage-50: #f8f8f7;
  --sage-100: #f2f2f1;
  --sage-200: #e7e7e5;
  --sage-600: #5f6163;
  --sage-700: #717375;      /* brand gray: primary actions (4.8:1 with white) */
  --sage-900: #3f4143;
  --on-sage: #fff;
  --ink: #3f4143;
  --muted: #6b6d6f;
  --line: #e6e6e3;
  --wa: #717375;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(63, 65, 67, .04), 0 10px 30px rgba(63, 65, 67, .06);
  --shadow-lg: 0 24px 60px rgba(63, 65, 67, .10);
  --font-head: "Roboto Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Roboto Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  letter-spacing: .005em;
  color: var(--ink);
  background: #fff;
}

/* ---------- Type ---------- */
.skin-d h1, .skin-d h2, .skin-d h3, .skin-d h4 { font-family: var(--font-head); color: var(--ink); }
.skin-d .section__title, .skin-d .page-hero__title, .skin-d .cta-band__title {
  font-weight: 300; letter-spacing: .005em; line-height: 1.12; color: var(--ink);
}
.skin-d .section__title { font-size: clamp(1.9rem, 1.4rem + 1.7vw, 2.9rem); }
.skin-d .eyebrow, .skin-d .skd-eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 16px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 500; letter-spacing: .32em;
  text-transform: uppercase; color: var(--sage-ink);
}
.skin-d .eyebrow::before, .skin-d .skd-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--sage); flex: none; }
.skin-d .eyebrow--light { color: #fff; }
.skin-d a { color: var(--sage-600); }
.skin-d .link-arrow { color: var(--ink); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; border-bottom: 1px solid var(--sage); padding-bottom: 4px; }
.skin-d .link-arrow:hover { color: var(--sage-ink); }
.skin-d .tag { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.skin-d :focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 3px; }

/* ---------- Buttons: brand gray solid + outline secondaries ---------- */
.skin-d .btn {
  border-radius: 2px; font-family: var(--font-head); font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; font-size: .84rem; min-height: 50px; padding: .8em 1.6em; box-shadow: none;
}
.skin-d .btn:hover { transform: none; }
.skin-d .btn--sm { min-height: 42px; font-size: .78rem; padding: .5em 1.2em; }
.skin-d .btn--primary { background: var(--sage-700); border-color: var(--sage-700); color: #fff; box-shadow: none; }
.skin-d .btn--primary:hover { background: #5f6163; border-color: #5f6163; color: #fff; }
.skin-d .btn--whatsapp, .skin-d .btn--ghost, .skin-d .btn--outline {
  background: transparent; color: var(--ink); border: 1px solid #a9abad;
}
.skin-d .btn--whatsapp:hover, .skin-d .btn--ghost:hover, .skin-d .btn--outline:hover {
  background: var(--mint-soft); color: var(--ink); border-color: var(--sage);
}
.skin-d .cta-group { gap: 10px; }

/* ---------- Topbar / header ---------- */
.skin-d .topbar { background: #fff; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .8rem; letter-spacing: .06em; }
.skin-d .topbar .icon { color: var(--sage); }
.skin-d .site-header { border-bottom: 1px solid var(--line); }
.skin-d .site-header.is-scrolled { box-shadow: none; }
.skin-d .site-nav__list a { font-weight: 400; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 0; color: var(--ink); background: none; position: relative; }
.skin-d .site-nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
.skin-d .site-nav__list a:hover { background: none; color: var(--ink); }
.skin-d .site-nav__list a:hover::after, .skin-d .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.skin-d .site-nav__list a[aria-current="page"] { background: none; color: var(--ink); }
.skin-d .site-header__phone { color: var(--ink); font-weight: 400; letter-spacing: .04em; }
.skin-d .site-header__phone .icon { color: var(--sage); }
@media (max-width: 1359px) { .skin-d .site-nav__list a { padding: 10px 8px; letter-spacing: .08em; font-size: .82rem; } .skin-d .site-nav__list a::after { left: 8px; right: 8px; } }

/* ---------- Hero D ---------- */
.skd-hero { padding: 72px 0 40px; background: #fff; overflow: hidden; }
.skd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.skd-hero__text, .skd-hero__figure { min-width: 0; }
.skd-hero__title { overflow-wrap: break-word; hyphens: manual; }
.skd-hero__title {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); font-weight: 300; line-height: 1.04; letter-spacing: -.005em;
  margin: 0 0 28px; color: var(--ink); max-width: 13em;
}
.skd-hero__title em { font-style: normal; color: var(--sage-700); }
.skd-hero__lead { font-size: 1.18rem; line-height: 1.65; color: var(--muted); max-width: 34em; margin: 0 0 36px; font-weight: 400; }
.skd-hero__areas { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.skd-hero__areas li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.skd-hero__areas li:nth-child(odd) { padding-right: 20px; }
.skd-hero__areas span { color: var(--sage-ink); font-size: .74rem; letter-spacing: .1em; }
.skd-hero__figure { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 560px; padding: 0 0 28px 28px; }
.skd-hero__arch-bg { position: absolute; left: 0; bottom: 0; width: calc(100% - 28px); height: calc(100% - 28px - 80px); border-radius: 999px 999px 0 0; background: var(--mint); opacity: .75; }
.skd-hero__figure img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 85%; border-radius: 50% 50% 0 0 / 38% 38% 0 0; }
.skd-hero__caption { position: relative; display: grid; gap: 6px; margin-top: 18px; font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.skd-hero__caption span { display: flex; gap: .55em; align-items: flex-start; }
.skd-hero__caption .icon { color: var(--sage); }

/* Logo signature line: the real logo asset, with sage hairlines running out of it */
.skd-signature { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1280px; margin: 24px auto 0; padding: 0 24px; }
.skd-signature::before, .skd-signature::after { content: ""; flex: 1; height: 1px; background: var(--sage); }
.skd-signature img { width: 104px; height: auto; opacity: .9; }

/* ---------- Sections ---------- */
.skin-d .section { padding: 104px 0; }
.skin-d .section--tint { background: var(--sage-50); }
.skin-d .section__head { margin-bottom: 48px; align-items: flex-end; }

/* Services: editorial numbered list with mint hover */
.skin-d .service-grid { counter-reset: svc; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.skin-d .service-card {
  counter-increment: svc; flex-direction: row; align-items: baseline; gap: 22px; min-height: 0;
  padding: 26px 56px 26px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  transition: background-color .25s;
}
.skin-d .service-card::before { content: counter(svc, decimal-leading-zero); flex: none; width: 2.2em; font-size: .8rem; letter-spacing: .12em; color: var(--sage-ink); }
.skin-d .service-card:hover, .skin-d .service-card:focus-within { background: var(--mint-soft); box-shadow: none; transform: none; border-color: var(--line); }
.skin-d .service-card .tag { order: 3; margin-left: auto; white-space: nowrap; }
.skin-d .service-card__link { order: 2; font-weight: 300; font-size: 1.35rem; text-transform: none; letter-spacing: .01em; color: var(--ink); }
.skin-d .service-card__arrow { right: 14px; top: 50%; bottom: auto; margin-top: -.55em; color: var(--sage); }

/* About = the one soft mint band */
.skin-d .section--tint:has(#sobre-title) { background: var(--mint-soft); position: relative; }
.skin-d .slider--about { border-radius: 999px 999px 0 0; box-shadow: none; aspect-ratio: 4 / 4.4; max-width: 480px; justify-self: end; width: 100%; }
.skin-d .prose__body { color: var(--muted); line-height: 1.75; }
.skin-d .slider__dots button::before { border-color: #fff; }

/* Team band */
.skin-d .team-band { background: #fff; }
.skin-d .team-band__inner { padding-top: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }

/* Convênios, blog, visit */
.skin-d .logo-strip { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skin-d .logo-strip a { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; height: 110px; }
.skin-d .logo-strip a:hover { box-shadow: none; background: var(--mint-soft); }
.skin-d .logo-strip img { filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.skin-d .logo-strip a:hover img { filter: none; opacity: 1; }
.skin-d .post-card { border-radius: 0; box-shadow: none; border: 1px solid var(--line); }
.skin-d .post-card:hover { box-shadow: none; transform: none; border-color: var(--sage); }
.skin-d .visit { background: #fff; border-top: 1px solid var(--line); }
.skin-d .info-list .icon { color: var(--sage); }
.skin-d .visit__map iframe, .skin-d .visit__map { border-radius: 0; }

/* ---------- Inner pages: light editorial header with arch photo ---------- */
.skin-d .page-hero, .skin-d .page-hero--plain { background: var(--sage-50); color: var(--ink); border-bottom: 1px solid var(--line); }
.skin-d .page-hero__title { color: var(--ink); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem); max-width: 14em; }
.skin-d .page-hero__desc { color: var(--muted); }
.skin-d .page-hero .eyebrow, .skin-d .page-hero a, .skin-d .page-hero .breadcrumbs, .skin-d .page-hero nav { color: var(--sage-ink); }
.skin-d .page-hero :focus-visible { outline-color: var(--sage-ink); }
.skin-d .page-hero__inner { padding-top: 88px; padding-bottom: 88px; }
/* Page headers: the photo is a full-width background (Miguel 2026-11-06), with a soft white veil on the
   text side so the dark title stays readable. Per-page framing via --hero-pos (set in inc/skin-d.php). */
.skin-d .page-hero--image { position: relative; background: var(--sage-50); }
.skin-d .page-hero--image .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center 40%); z-index: 0; border-radius: 0; box-shadow: none; }
.skin-d .page-hero--image::before { content: ""; display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.35) 58%, rgba(255,255,255,0) 75%); }
.skin-d .page-hero--image .page-hero__inner { position: relative; z-index: 2; min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.skin-d .page-hero--image .page-hero__title, .skin-d .page-hero--image .page-hero__desc { max-width: 560px; }
@media (max-width: 900px) {
  .skin-d .page-hero--image .page-hero__inner { min-height: 0; padding-top: 220px; padding-bottom: 40px; }
  .skin-d .page-hero--image::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 120px, rgba(255,255,255,.9) 230px, rgba(255,255,255,.96) 100%); }
}

/* Side cards / CTA band / footer: light and calm, no dark blocks */
.skin-d .aside__card, .skin-d .contact-card--accent { background: var(--mint-soft); color: var(--ink); border-radius: 0; }
.skin-d .aside__card .aside__title, .skin-d .contact-card--accent .contact-card__title, .skin-d .aside__link { color: var(--ink); }
.skin-d .cta-band { background: #fff; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skin-d .cta-band__title { color: var(--ink); }
.skin-d .cta-group--light .btn--primary { background: var(--sage-700); color: #fff; }
.skin-d .cta-group--light .btn--ghost, .skin-d .cta-band .cta-group--light .btn--ghost, .skin-d .aside__card .cta-group--light .btn--ghost { background: transparent; color: var(--ink); border-color: #a9abad; }
.skin-d .site-footer { background: var(--sage-50); color: var(--ink); border-top: 1px solid var(--sage); }
.skin-d .site-footer a, .skin-d .site-footer__menu a, .skin-d .site-footer__title, .skin-d .site-footer__label { color: var(--ink); }
.skin-d .site-footer__title, .skin-d .site-footer__label { font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }

/* Discreet WhatsApp: white pill, hairline, gray icon */
.skin-d .wa-float { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(63, 65, 67, .10); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; height: 52px; }
.skin-d .wa-float .icon { color: var(--sage-700); }
.skin-d .wa-float:hover { background: var(--mint-soft); color: var(--ink); }

/* Comparison switcher in brand gray instead of the dark green */
.skin-d .hx-switch { background: rgba(113, 115, 117, .96); }
.skin-d .hx-switch a[aria-current="page"] { background: var(--mint); color: var(--ink); }
.skin-d .hx-switch__label { color: #fff; }
.skin-d .skd-pill a { color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .skd-hero { padding: 40px 0 24px; }
  .skd-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .skd-hero__figure { justify-self: center; max-width: 360px; }
  .skin-d .service-grid { grid-template-columns: 1fr; }
  .skin-d .slider--about { justify-self: center; }
}
@media (max-width: 600px) {
  .skd-hero__title { font-size: 2.35rem; }
  .skin-d .skd-eyebrow, .skin-d .eyebrow { letter-spacing: .2em; font-size: .72rem; gap: 10px; }
  .skin-d .skd-eyebrow::before, .skin-d .eyebrow::before { width: 22px; }
  .skd-hero__lead { font-size: 1.05rem; }
  .skd-hero__areas { grid-template-columns: 1fr; }
  .skd-hero__areas li:nth-child(odd) { padding-right: 0; }
  .skin-d .section { padding: 64px 0; }
  .skin-d .service-card { padding: 20px 40px 20px 4px; flex-wrap: wrap; gap: 6px 16px; }
  .skin-d .service-card .tag { margin-left: calc(2.2em + 16px); order: 4; }
  .skin-d .service-card__link { font-size: 1.15rem; max-width: calc(100% - 3em); }
  .skin-d .skd-cta .btn { width: 100%; }
  .skd-signature img { width: 84px; }
  .skin-d .wa-float { height: 52px; width: 52px; }
}
@media (prefers-reduced-motion: reduce) { .skin-d .site-nav__list a::after, .skin-d .service-card { transition: none; } }

/* Sobre nós: partners photo in an arch; "Por que Wave?" with the stationery photo */
.skd-about__photo { margin: 0; justify-self: end; width: 100%; max-width: 480px; aspect-ratio: 4 / 4.4; border-radius: 999px 999px 0 0; overflow: hidden; }
.skd-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.skd-why { background: #fff; }
.skd-why__grid { align-items: center; }
.skd-why__photo { margin: 0; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.skd-why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; display: block; }
.skd-why .eyebrow { color: var(--sage-ink); }
.skd-why .section__title em { font-style: italic; color: var(--sage-ink); }
.skd-why__text p:not(.eyebrow) { font-size: 1.08rem; line-height: 1.8; color: var(--ink); margin: 0 0 1em; }
@media (max-width: 720px) { .skd-about__photo { justify-self: center; } }
