/* Ajustes exclusivos da Home para telas mobile. */
@media (max-width: 760px) {
  body[data-screen-label="01 Home"] {
    --diex-section-title-size: clamp(30px, 8.7vw, 34px);
    --diex-section-subtitle-size: clamp(16px, 4.5vw, 18px);
    --diex-card-title-size: clamp(25px, 7.2vw, 29px);
    --diex-card-subtitle-size: clamp(16px, 4.4vw, 18px);
  }

  body[data-screen-label="01 Home"] .diex-figma-hero,
  body[data-screen-label="01 Home"] .diex-hero-inner {
    min-height: 0;
  }

  body[data-screen-label="01 Home"] .diex-figma-hero {
    padding: 116px 0 32px !important;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy {
    top: auto;
    width: 100%;
  }

  body[data-screen-label="01 Home"] .diex-hero-proof {
    min-height: 32px;
    padding: 6px 14px;
    font-size: 13px;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy h1 {
    max-width: 100%;
    margin-top: 20px;
    font-size: clamp(40px, 11vw, 44px);
    line-height: 1;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy p {
    width: min(100%, 34ch);
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.4;
  }

  body[data-screen-label="01 Home"] .diex-hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  body[data-screen-label="01 Home"] .diex-hero-button {
    min-height: 52px;
    font-size: 15px;
  }

  body[data-screen-label="01 Home"] .diex-hero-dashboard {
    top: auto !important;
    width: 100%;
    margin: 16px auto 0;
  }

  body[data-screen-label="01 Home"] .diex-hero-shape-main {
    top: auto;
    bottom: 0;
    left: 50%;
    width: 138vw;
    transform: translateX(-42%);
  }

  body[data-screen-label="01 Home"] .diex-contact-fold,
  body[data-screen-label="01 Home"] .diex-benefits-section,
  body[data-screen-label="01 Home"] .diex-services-section,
  body[data-screen-label="01 Home"] .diex-content-block,
  body[data-screen-label="01 Home"] .diex-final-cta {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  body[data-screen-label="01 Home"] .diex-contact-inner {
    gap: 28px;
  }

  body[data-screen-label="01 Home"] .diex-contact-copy h2 {
    max-width: 15ch;
    font-size: clamp(30px, 8.5vw, 34px);
    line-height: 1.04;
  }

  body[data-screen-label="01 Home"] .diex-contact-copy p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  body[data-screen-label="01 Home"] .diex-contact-steps {
    gap: 16px;
    margin-top: 24px;
  }

  body[data-screen-label="01 Home"] .diex-contact-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  body[data-screen-label="01 Home"] .diex-contact-step-icon {
    width: 36px;
    height: 36px;
  }

  body[data-screen-label="01 Home"] .diex-contact-step strong {
    font-size: 18px;
  }

  body[data-screen-label="01 Home"] .diex-contact-step small {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.35;
  }

  body[data-screen-label="01 Home"] .diex-contact-form {
    padding: 20px;
  }

  body[data-screen-label="01 Home"] .diex-benefits-section .diex-benefits-copy h2 {
    max-width: 14ch;
    font-size: clamp(30px, 8.7vw, 34px);
    line-height: 1.04;
  }

  body[data-screen-label="01 Home"] .diex-benefits-responsive,
  body[data-screen-label="01 Home"] .diex-content-row,
  body[data-screen-label="01 Home"] .diex-content-row.is-reverse {
    gap: 26px;
  }

  body[data-screen-label="01 Home"] .diex-benefits-section .diex-benefit-card {
    align-items: flex-start;
    justify-content: center;
    padding: 14px;
    font-size: clamp(16px, 4.7vw, 18px);
    line-height: 1.06;
    text-align: left;
  }

  body[data-screen-label="01 Home"] .diex-benefits-section .diex-benefit-card span,
  body[data-screen-label="01 Home"] .diex-benefits-section .diex-benefit-card strong {
    width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }

  body[data-screen-label="01 Home"] .diex-services-grid {
    gap: 36px;
  }

  body[data-screen-label="01 Home"] .diex-services-grid h3 {
    margin-top: 18px;
    font-size: var(--diex-card-title-size);
    line-height: 1.06;
  }

  body[data-screen-label="01 Home"] .diex-services-grid p,
  body[data-screen-label="01 Home"] .diex-content-block p,
  body[data-screen-label="01 Home"] .diex-final-cta p {
    font-size: var(--diex-section-subtitle-size);
    line-height: 1.45;
  }

  body[data-screen-label="01 Home"] .diex-content-block h2,
  body[data-screen-label="01 Home"] .diex-final-cta h2,
  body[data-screen-label="01 Home"] .diex-faq-lead h2 {
    font-size: var(--diex-section-title-size);
    line-height: 1.04;
  }

  body[data-screen-label="01 Home"] .diex-final-cta .diex-figma-inner {
    padding: 30px 24px 34px;
  }

  body[data-screen-label="01 Home"] .diex-faq-lead p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  body[data-screen-label="01 Home"] .diex-faq-card .faq-q {
    min-height: 68px;
    padding: 18px;
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  body[data-screen-label="01 Home"] .diex-figma-hero {
    padding-top: 110px !important;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy h1 {
    font-size: 39px;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy p {
    font-size: 16px;
  }
}

/* Acabamento dos componentes inferiores da Home no mobile. */
@media (max-width: 760px) {
  body[data-screen-label="01 Home"] .diex-services-grid {
    padding-bottom: 82px;
  }

  body[data-screen-label="01 Home"] .diex-services-portfolio-pill {
    min-height: 58px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 18px;
  }

  body[data-screen-label="01 Home"] .diex-services-portfolio-pill svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  body[data-screen-label="01 Home"] .diex-final-cta .diex-figma-inner {
    padding: 28px 24px 30px;
  }

  body[data-screen-label="01 Home"] .diex-final-cta h2 {
    max-width: 9ch;
  }

  body[data-screen-label="01 Home"] .diex-final-cta p {
    margin-top: 16px;
    margin-bottom: 22px;
  }

  body[data-screen-label="01 Home"] .diex-final-cta a {
    width: 100%;
    min-height: 52px;
    padding: 0 12px;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  body[data-screen-label="01 Home"] .diex-faq-card .faq-q {
    font-weight: 600;
  }

  body[data-screen-label="01 Home"] .diex-faq-card .faq-q .toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-weight: 500;
  }
}
