/* ============================================================
   HEROI EDITORIAL (primeira dobra)
   Texto a esquerda, foto grande a direita. A foto entra COM o
   fundo original dela e se dissolve no marfim da pagina por meio
   de mascaras suaves: sem recorte duro e sem estourar o branco
   do blazer, preservando textura e sombra da roupa.
   ============================================================ */

:root { --dt-font-editorial: "Newsreader", Georgia, serif; }

.dt-hero--editorial {
  position: relative;
  padding-block: clamp(24px, 3.5vw, 56px) 0;
  overflow: hidden;
}

.dt-hero--editorial .dt-hero__grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(20px, 3.5vw, 56px);
  align-items: end;
  min-height: min(74vh, 620px);
}

.dt-hero--editorial .dt-hero__text {
  padding-block: clamp(20px, 3.5vw, 64px) clamp(28px, 4.5vw, 72px);
}

.dt-hero--editorial .dt-hero__title {
  font-family: var(--dt-font-editorial);
  font-weight: 400;
  font-size: clamp(2.45rem, 4.5vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
  max-width: none;
  margin: 0 0 var(--dt-md);
  color: var(--dt-ink);
}

.dt-hero--editorial .dt-hero__title em {
  font-style: normal;
  color: var(--dt-accent-dark);
}

.dt-hero--editorial .dt-hero__lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.62;
  color: var(--dt-muted);
  max-width: 44ch;
  margin: 0 0 clamp(26px, 3.5vw, 44px);
}

.dt-hero--editorial .dt-hero__actions {
  gap: 14px;
  margin-bottom: clamp(26px, 3.5vw, 48px);
}

.dt-hero__id {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: var(--dt-md);
  border-top: 1px solid var(--dt-line);
  max-width: 48ch;
}

.dt-hero__id p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--dt-muted);
}

.dt-hero__selo {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dt-line);
  border-radius: 50%;
  color: var(--dt-accent);
  background: var(--dt-surface);
}

.dt-hero__selo svg { width: 22px; height: 22px; }

/* ---------- a foto ---------- */

.dt-hero__foto {
  position: relative;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 620px;
  margin-right: calc(-1 * clamp(16px, 4vw, 90px));
  margin-bottom: 0;
  line-height: 0;
}

.dt-hero__foto img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 720px);
  object-fit: cover;
  object-position: center 12%;
  border-radius: 0;
  mix-blend-mode: normal;
  /* dissolve as bordas para a foto virar parte do fundo bege */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 100%),
    linear-gradient(to bottom, #000 68%, transparent 98%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 100%),
    linear-gradient(to bottom, #000 68%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* desenho de folha, discreto, atras da foto */
.dt-folha {
  position: absolute;
  right: 8%;
  top: 6%;
  width: clamp(150px, 20vw, 260px);
  height: auto;
  color: var(--dt-accent);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

.dt-hero__foto img { z-index: 1; }

/* ---------- pilares abaixo da dobra ---------- */

.dt-pilares {
  background: var(--dt-accent-soft);
  padding-block: clamp(36px, 4.5vw, 64px);
}

.dt-pilares__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.dt-pilar {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.dt-pilar__icone {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dt-accent-mid);
  border-radius: 50%;
  color: var(--dt-accent-dark);
  background: transparent;
}

.dt-pilar__icone svg { width: 26px; height: 26px; }

.dt-pilar h2 {
  font-family: var(--dt-font-editorial);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}

.dt-pilar p {
  margin: 0;
  color: var(--dt-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 32ch;
}

/* ---------- titulos editoriais no resto do site ---------- */

body.dt-page .dt-section__title,
body.dt-page .dt-head h1,
body.dt-page .dt-feature h3 {
  font-family: var(--dt-font-editorial);
  font-weight: 500;
  letter-spacing: -0.012em;
}

body.dt-page .dt-content h2 {
  font-family: var(--dt-font-editorial);
  font-weight: 500;
}

/* ---------- botao de agendamento no menu ---------- */

body.dt-page .site-header .menu .dt-menu-cta > a {
  background: var(--dt-accent-dark);
  color: var(--dt-bg);
  padding: 11px 22px;
  border-radius: var(--dt-r-pill);
  font-weight: 700;
}

body.dt-page .site-header .menu .dt-menu-cta > a:hover {
  background: #2F5222;
  color: var(--dt-bg);
}

/* ---------- celular ---------- */

@media (max-width: 900px) {
  .dt-hero--editorial .dt-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }
  .dt-hero--editorial .dt-hero__text {
    order: 1;
    padding-block: 8px 24px;
  }
  .dt-hero__foto {
    order: 2;
    justify-self: center;
    max-width: 460px;
    margin-right: 0;
  }
  .dt-hero__foto img {
    max-height: 56vh;
    object-position: center 8%;
    -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 74%, transparent 99%);
  }
  .dt-folha { right: 2%; top: 2%; width: 130px; opacity: 0.18; }
  .dt-hero__id { max-width: none; }
  .dt-pilares__grid { grid-template-columns: 1fr; gap: var(--dt-md); }
  .dt-pilar { justify-items: start; text-align: left; }
  .dt-pilar p { max-width: none; }
}
