/* Home: linguagem editorial do Blog, com foco em acolhimento pediátrico. */
body.home-editorial {
  --home-night: #1A1714;
  --home-paper: #F5EFE3;
  --home-paper-muted: rgba(245, 239, 227, 0.68);
  --home-gold: #D9C28A;
  color: var(--ink);
  background: var(--warm-white);
}

body.home-editorial > nav {
  background: var(--home-night);
  border-bottom: 1px solid rgba(245, 239, 227, 0.14);
  box-shadow: none;
}

body.home-editorial .nav-links > li > a,
body.home-editorial .nav-dropdown-trigger,
body.home-editorial .nav-search-trigger {
  color: rgba(245, 239, 227, 0.82);
}

body.home-editorial .nav-links > li > a:hover,
body.home-editorial .nav-dropdown-trigger:hover,
body.home-editorial .nav-search-trigger:hover {
  color: var(--home-gold);
}

body.home-editorial .nav-dropdown-arrow {
  stroke: currentColor;
}

body.home-editorial .nav-whatsapp {
  color: var(--home-gold);
  border-color: rgba(245, 239, 227, 0.24);
}

body.home-editorial .nav-whatsapp:hover {
  background: rgba(245, 239, 227, 0.08);
  border-color: var(--home-gold);
}

body.home-editorial .nav-cta {
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.home-editorial .nav-hamburger span {
  background: var(--home-paper);
}

body.home-editorial .hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--home-night);
  color: var(--home-paper);
}

body.home-editorial .hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 67%;
  width: min(620px, 76vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--home-gold);
  opacity: 0.06;
  pointer-events: none;
  -webkit-mask: url(/img/favicon-512.png) center / contain no-repeat;
  mask: url(/img/favicon-512.png) center / contain no-repeat;
}

body.home-editorial .hero-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 194, 138, 0.58), transparent);
}

body.home-editorial .hero {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
  padding: 54px 28px 68px;
}

body.home-editorial .hero-text {
  max-width: 540px;
}

body.home-editorial .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--home-paper-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

body.home-editorial .hero-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--home-gold);
  opacity: 0.6;
}

body.home-editorial .hero h1 {
  max-width: 560px;
  margin-bottom: 20px;
  color: var(--home-paper);
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.02em;
}

body.home-editorial .hero h1 em {
  display: block;
  color: var(--home-gold);
  font-style: italic;
  font-weight: 400;
}

body.home-editorial .hero-sub {
  max-width: 480px;
  color: var(--home-paper-muted);
  font-size: 15px;
  line-height: 1.65;
}

body.home-editorial .hero-payment-note,
body.home-editorial .hero-appointment-note {
  color: var(--home-paper-muted);
}

body.home-editorial .hero-trust-line {
  color: var(--home-paper);
}

body.home-editorial .hero-trust-line a:hover,
body.home-editorial .hero-link {
  color: var(--home-gold);
}

body.home-editorial .hero-trust-stars {
  color: var(--home-gold);
}

body.home-editorial .hero-link:hover {
  color: var(--home-paper);
}

body.home-editorial .hero-modalidades a {
  min-height: 42px;
  border-color: rgba(245, 239, 227, 0.18);
  border-radius: 5px;
  background: rgba(245, 239, 227, 0.06);
  color: rgba(245, 239, 227, 0.88);
}

body.home-editorial .hero-modalidades a:hover {
  border-color: var(--home-gold);
  background: rgba(245, 239, 227, 0.1);
  color: var(--home-gold);
}

body.home-editorial .hero-modalidades svg {
  stroke: var(--home-gold);
}

body.home-editorial .btn-primary {
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

body.home-editorial .hero-photo-wrap {
  width: min(100%, 500px);
}

body.home-editorial .hero-photo-bg {
  border-radius: 12px;
  background: var(--home-gold);
  opacity: 0.28;
}

body.home-editorial .hero-photo {
  border: 1px solid rgba(245, 239, 227, 0.24);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

body.home-editorial .hero-badge {
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

body.home-editorial .section-title {
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

body.home-editorial .section-title em {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400;
}

body.home-editorial .section-dark {
  background: var(--home-night);
}

body.home-editorial .section-dark .section-title em {
  color: var(--home-gold);
}

body.home-editorial .section-dark::before {
  background: linear-gradient(90deg, transparent, rgba(217, 194, 138, 0.45), transparent);
}

body.home-editorial .section-alt {
  background: var(--warm-mid);
}

body.home-editorial .home-intent {
  background: #FFFEFC;
}

body.home-editorial .home-intent-grid {
  position: static;
  top: auto;
  z-index: auto;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

body.home-editorial .home-intent-card,
body.home-editorial .cond-card,
body.home-editorial .atend-card {
  border-radius: 10px;
  background: #FFFEFC;
  box-shadow: none;
}

body.home-editorial .home-intent-card {
  border: 0;
  box-shadow: 0 12px 30px rgba(26, 23, 20, 0.10), 0 5px 18px rgba(184, 150, 46, 0.20), 0 2px 7px rgba(184, 150, 46, 0.10);
}

body.home-editorial .home-intent-card:hover {
  box-shadow: 0 20px 42px rgba(26, 23, 20, 0.15), 0 8px 24px rgba(184, 150, 46, 0.24), 0 4px 10px rgba(184, 150, 46, 0.14);
}

body.home-editorial .cond-card:hover {
  box-shadow: 0 16px 36px rgba(26, 23, 20, 0.08);
}

body.home-editorial .cond-grid article:nth-child(n) .cond-card {
  border-left: 2px solid var(--home-gold);
}

body.home-editorial .cond-grid article:nth-child(n) .cond-card:hover {
  border-left-color: var(--gold-deep);
}

body.home-editorial .home-blog-featured {
  border-radius: 14px;
}

body.home-editorial .home-blog-card {
  border-radius: 10px;
}

@media (max-width: 960px) {
  body.home-editorial .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 46px 24px 62px;
  }

  body.home-editorial .hero-text {
    max-width: 680px;
  }

  body.home-editorial .hero h1 {
    max-width: 640px;
    font-size: clamp(48px, 8vw, 62px);
  }

  body.home-editorial .hero-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  body.home-editorial .hero {
    gap: 30px;
    padding: 38px 20px 54px;
  }

  body.home-editorial .hero h1 {
    font-size: clamp(40px, 10.5vw, 48px);
  }

  body.home-editorial .hero-sub {
    font-size: 14.5px;
  }

  body.home-editorial .hero-modalidades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.home-editorial .hero-modalidades a {
    min-height: 48px;
    align-items: flex-start;
    padding: 9px 10px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  body.home-editorial .hero-photo-wrap {
    width: min(100%, 420px);
  }

  body.home-editorial .hero-badge {
    left: 8px;
    bottom: -14px;
    padding: 11px 14px;
  }

  body.home-editorial .section-title {
    font-size: clamp(32px, 8vw, 40px);
  }
}
