/* =============================================================================
   Data Driven Marketing — Página dedicada
   Reconstruída a partir do design Figma (Desktop - Data driven marketing)
   Fontes / cores herdadas do style.css principal
   ============================================================================= */

/* ── Reveals leves ao rolar a página (mesmo padrão da Experiences) ───────────── */
@media (prefers-reduced-motion: reduce) {
  .ddm-page [data-ddm-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.ddm-page [data-ddm-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--ddm-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.ddm-page [data-ddm-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ddm-page .ddm-hero [data-ddm-reveal] {
  transform: translate3d(0, 24px, 0);
}

.ddm-page .ddm-hero [data-ddm-reveal].is-visible {
  transform: translate3d(0, 0, 0);
}

/* ── Layout base ─────────────────────────────────────────────────────────────── */
.ddm-page {
  font-family: var(--font-primary, "Montserrat", sans-serif);
  color: #0d0d0d;
  background: #fff;
}

/* Evita respiro entre o CTA final (verde) e o rodapé do site */
.ddm-page ~ .site-footer {
  margin-top: 0;
}

/* ── Label com chevrons (‹ Texto ›) ─────────────────────────────────────────── */
.ddm-label {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  color: #969696;
}

.ddm-label span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #969696;
}

.ddm-label__chevron {
  display: block;
  width: 17px;
  height: 5px;
  flex-shrink: 0;
  object-fit: contain;
}

.ddm-label__chevron--left {
  transform: rotate(90deg);
}

.ddm-label__chevron--right {
  transform: rotate(-90deg);
}

/* ── Botões ──────────────────────────────────────────────────────────────────── */
.ddm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ddm-btn:hover {
  opacity: 0.88;
}

.ddm-btn--primary {
  background: #75f23b;
  color: #000000;
}

.ddm-btn--dark {
  background: #000000;
  color: #ffffff;
}

.ddm-btn--dark img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.ddm-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.ddm-btn--outline-dark {
  background: transparent;
  border: 1px solid rgba(13, 13, 13, 0.5);
  color: #0d0d0d;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.ddm-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #040804;
}

.ddm-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ddm-hero__video,
.ddm-hero__fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ddm-hero__video {
  position: absolute;
  inset: 0;
}

.ddm-hero__fallback-image {
  display: none;
}

.ddm-hero__topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.ddm-hero__content {
  position: relative;
  z-index: 2;
  /* padding-block (e não o shorthand) para preservar o padding-inline do .container */
  padding-block: 170px 80px;
}

.ddm-hero__breadcrumb {
  margin: 0 0 48px;
  font-size: 9px;
  letter-spacing: 1.64px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.ddm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 40px;
  align-items: end;
}

.ddm-hero__title {
  margin: 0;
  max-width: 900px;
  font-family: var(--font-mixed);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ddm-hero__title em {
  font-weight: 700;
  font-style: italic;
}

.ddm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.ddm-hero__description {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Big Numbers - Strip ─────────────────────────────────────────────────────── */
.ddm-bignumbers {
  background: #040804;
  padding: 56px 0;
}

.ddm-bignumbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.ddm-bignum__value {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 800;
  color: #51e02e;
  line-height: 1.1;
}

.ddm-bignum__chevron {
  width: 22px;
  height: 7px;
  object-fit: contain;
  flex-shrink: 0;
}

.ddm-bignumbers img.ddm-bignum__chevron:first-child {
  transform: rotate(90deg);
}

.ddm-bignumbers img.ddm-bignum__chevron:last-child {
  transform: rotate(-90deg);
}

.ddm-bignum__label {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
}

/* ── Block 2 — Dashboard ─────────────────────────────────────────────────────── */
.ddm-dashboard-block {
  background: #ffffff;
  padding: clamp(60px, 8vw, 96px) 0;
}

.ddm-dashboard-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.ddm-dashboard-block__text h2 {
  margin: 0 0 24px;
  font-family: var(--font-mixed);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 300;
  line-height: 1.2;
  color: #0d0d0d;
}

.ddm-dashboard-block__text h2 em {
  font-weight: 600;
  font-style: italic;
}

.ddm-dashboard-block__text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(13, 13, 13, 0.65);
  margin: 0 0 16px;
}

.ddm-dashboard-block__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ddm-dashboard-block__visual img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Block 3 — Personalização, segurança e resultados ─────────────────────────── */
.ddm-trust-block {
  background: #040804;
  color: #ffffff;
  padding: clamp(60px, 8vw, 96px) 0;
}

.ddm-trust-block__intro {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.ddm-trust-block__copy h2 {
  margin: 0 0 20px;
  font-family: var(--font-mixed);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  color: #ffffff;
}

.ddm-trust-block__copy h2 em {
  font-weight: 600;
  font-style: italic;
}

.ddm-trust-block__copy p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 16px;
}

.ddm-trust-block__copy .ddm-btn {
  margin-top: 16px;
}

.ddm-trust-block__map {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mapa em SVG (traço escuro), sem o filtro de clareamento usado no mapa claro da home */
.ddm-trust-block__map .ddm-map .integrated-map__base {
  opacity: 1;
  filter: none;
}

.ddm-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ddm-trust-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 28px 28px 24px;
}

.ddm-trust-item__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #51e02e;
  margin-bottom: 16px;
}

.ddm-trust-item__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.ddm-trust-item__title {
  font-size: 19px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.ddm-trust-item__text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ── Block 4 — Data base ───────────────────────────────────────────────────────── */
.ddm-database-block {
  position: relative;
  background-color: #06170b;
  background-image: radial-gradient(circle at 78% 45%, #123a1d 0%, #06170b 55%, #040c06 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: clamp(60px, 8vw, 96px) 0;
  min-height: 588px;
  display: flex;
  align-items: center;
}

.ddm-database-block__text {
  max-width: 560px;
}

.ddm-database-block__text h2 {
  margin: 0 0 20px;
  font-family: var(--font-mixed);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 300;
  line-height: 1.25;
  color: #ffffff;
}

.ddm-database-block__text h2 em {
  font-weight: 600;
  font-style: italic;
}

.ddm-database-block__text p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 16px;
}

.ddm-database-block__text .ddm-btn {
  margin-top: 16px;
}

/* ── Block 5 — Final CTA ───────────────────────────────────────────────────────── */
.ddm-final-cta {
  padding: 90px 0 0;
  background: #75f23b;
  color: #000000;
}

.ddm-final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 440px);
  gap: 40px;
  justify-content: space-between;
  align-items: start;
}

.ddm-final-cta__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.98px;
  text-transform: uppercase;
}

.ddm-final-cta__title {
  margin: 16px 0 0;
  font-family: var(--font-mixed);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.ddm-final-cta__title em {
  font-family: var(--font-mixed);
  font-weight: 500;
  font-style: italic;
}

.ddm-final-cta__side p {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.74);
}

.ddm-final-cta__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 40px;
  justify-content: space-between;
  margin-top: 72px;
  /* padding-block (e não o shorthand) para preservar o padding-inline do .container */
  padding-block: 24px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.ddm-final-cta__meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.ddm-final-cta__footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.ddm-final-cta__footer a {
  color: #000000;
  text-decoration: none;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .ddm-hero__grid,
  .ddm-dashboard-block__grid,
  .ddm-trust-block__intro,
  .ddm-final-cta__grid,
  .ddm-final-cta__footer {
    grid-template-columns: 1fr;
  }

  .ddm-bignumbers__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ddm-trust__grid {
    grid-template-columns: 1fr;
  }

  .ddm-dashboard-block__visual {
    order: -1;
  }

  .ddm-database-block__text {
    max-width: 100%;
  }

  /* No tablet/mobile o texto passa por cima da parte cheia da arte de fundo.
     Filtro preto semitransparente para garantir contraste de leitura. */
  .ddm-database-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    pointer-events: none;
  }

  .ddm-database-block > .container {
    position: relative;
    z-index: 1;
  }

  .ddm-database-block__text p {
    color: rgba(255, 255, 255, 0.8);
  }

  .ddm-hero {
    min-height: auto;
  }

  .ddm-hero__content {
    padding-bottom: 48px;
  }

  .ddm-hero__description {
    max-width: 640px;
  }

  .ddm-final-cta__footer {
    margin-top: 48px;
  }
}

/* Mesmo padrão da página Experiences: garante o recuo lateral mesmo quando
   uma regra da própria página redefine o padding do .container. */
@media (max-width: 767px) {
  .ddm-page .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .ddm-hero__content {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .ddm-hero__topbar {
    padding-top: 24px;
  }

  .ddm-hero__breadcrumb {
    margin-bottom: 32px;
  }

  .ddm-hero__title {
    font-size: 35px;
  }

  .ddm-hero__actions {
    margin-top: 32px;
  }

  .ddm-bignumbers {
    padding: 40px 0;
  }

  .ddm-trust-item {
    padding: 24px 20px 20px;
  }

  .ddm-trust-item__num {
    top: 20px;
    right: 20px;
  }

  .ddm-database-block {
    min-height: 0;
  }

  .ddm-final-cta {
    padding-top: 56px;
  }

  .ddm-final-cta__footer {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .ddm-hero__title {
    font-size: 30px;
  }

  .ddm-btn {
    width: 100%;
  }
}

/* ── Power BI iframe ─────────────────────────────────────────────────────────── */
.ddm-powerbi {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  background: #0d0d0d;
}

.ddm-powerbi iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Modal ───────────────────────────────────────────────────────────────────── */
.ddm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ddm-modal[hidden] {
  display: none;
}

.ddm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.ddm-modal__dialog {
  position: relative;
  z-index: 1;
  background: #0d0d0d;
  border-radius: 12px;
  padding: 30px 50px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.wpcf7-spinner {
  position: absolute;
}
.ddm-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.ddm-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ddm-modal__dialog h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.25;
}

.ddm-modal__dialog h2 strong {
  color: #51e02e;
}

.ddm-modal__desc {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  line-height: 1.6;
  margin: 0 0 12px;
}

.ddm-modal__cta-text {
  font-size: 14px;
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
}

.ddm-modal__cta-text strong {
  color: #51e02e;
}

/* CF7 dentro do modal */
.ddm-modal .wpcf7 {
  width: 100%;
}

.ddm-modal .wpcf7-form p {
  margin: 0 0 16px;
}

.ddm-modal .wpcf7-form input[type="text"],
.ddm-modal .wpcf7-form input[type="email"],
.ddm-modal .wpcf7-form input[type="tel"] {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-primary, "Montserrat", sans-serif);
}

.ddm-modal .wpcf7-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.ddm-modal .wpcf7-form input:focus {
  border-bottom-color: #51e02e;
}

.ddm-modal .wpcf7-form input[type="submit"] {
  width: 100%;
  background: #51e02e;
  color: #0d0d0d;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  font-family: var(--font-primary, "Montserrat", sans-serif);
}

.ddm-modal .wpcf7-form input[type="submit"]:hover {
  background: #3ec41e;
}

/* Modal — Painel PowerBI (ocupa quase toda a tela) */
.ddm-modal--dashboard .ddm-modal__dialog--dashboard {
  width: 99vw;
  height: 99vh;
  max-width: 99vw;
  max-height: 99vh;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  background: #0d1a1d;
}

.ddm-modal__close--dashboard {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(13, 13, 13, 0.85);
  color: #fff;
}

.ddm-modal__close--dashboard:hover {
  background: rgba(13, 13, 13, 1);
}

/* Mantém o iframe na proporção do relatório (16:9) para que a área
   sobrando mostre o fundo escuro do modal em vez do letterbox branco
   do próprio Power BI. */
.ddm-powerbi--modal {
  width: 100%;
  height: auto;
  max-width: calc(99vh * 16 / 9);
  max-height: 99vh;
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: auto;
  background: #0d1a1d;
  border-radius: 0;
  overflow: hidden;
}

/* O Power BI "publish to web" injeta uma action bar branca fixa no rodapé
   (logo Microsoft Power BI / Páginas / zoom) que não pode ser removida por
   parâmetro nem estilizada de fora. Estendemos o iframe além do container e
   recortamos o excesso com overflow:hidden para escondê-la. */
.ddm-powerbi--modal iframe {
  display: block;
  width: 100%;
  height: calc(100% + var(--ddm-powerbi-chrome, 60px));
  border: 0;
  border-radius: 0;
  background: #0d1a1d;
}

@media (max-width: 600px) {
  .ddm-modal__dialog {
    margin: 16px;
    padding: 28px 20px;
  }

  .ddm-powerbi {
    aspect-ratio: unset;
    height: 480px;
  }

  .ddm-modal--dashboard .ddm-modal__dialog--dashboard {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
}
