/* ==========================================================================
   Deep Sound Sonorização — LP Consultoria de Áudio e Acústica para Igrejas
   --------------------------------------------------------------------------
   1. Tokens & base
   2. Botões
   3. Navbar
   4. Hero + formulário
   5. Seções (base, cabeçalhos)
   6. Diferenciais
   7. Dor do cliente
   8. Público
   9. Serviços
   10. Como funciona
   11. Comparativo
   12. Galeria
   13. FAQ
   14. CTA final
   15. Rodapé + WhatsApp flutuante
   16. Reveal
   ========================================================================== */

/* 1. Tokens & base ======================================================= */
:root {
  --ds-ink: #0b0b0c;
  --ds-ink-2: #131315;
  --ds-ink-3: #1c1c1f;
  --ds-paper: #f3f1ec;
  --ds-paper-2: #e8e5dd;
  --ds-white: #ffffff;
  --ds-red: #e3141b;
  --ds-red-600: #c20f15;
  --ds-red-soft: rgba(227, 20, 27, .12);
  --ds-text: #17171a;
  --ds-muted: #5d5b57;
  --ds-on-ink: #f5f4f1;
  --ds-on-ink-muted: rgba(245, 244, 241, .66);
  --ds-line: rgba(11, 11, 12, .12);
  --ds-line-ink: rgba(255, 255, 255, .1);
  --ds-radius: 6px;
  --ds-radius-lg: 10px;
  --ds-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ds-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ds-ease: cubic-bezier(.2, .7, .2, 1);
  --ds-nav-h: 76px;

  --custom-primary: var(--ds-red);
  --bs-body-font-family: var(--ds-font);
  --bs-body-color: var(--ds-text);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ds-nav-h) + 12px);
}

body {
  font-family: var(--ds-font);
  color: var(--ds-text);
  background: var(--ds-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--ds-red);
  color: #fff;
}

.ds-icon-church {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 2. Botões ============================================================== */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.6rem;
  border-radius: var(--ds-radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .25s var(--ds-ease), color .25s var(--ds-ease), border-color .25s var(--ds-ease), transform .25s var(--ds-ease);
}

.ds-btn i {
  font-size: 1.1em;
  transition: transform .25s var(--ds-ease);
}

.ds-btn:hover i.bi-arrow-right {
  transform: translateX(4px);
}

.ds-btn--primary {
  background: var(--ds-red);
  color: #fff;
}

.ds-btn--primary:hover {
  background: var(--ds-red-600);
  color: #fff;
}

.ds-btn--light {
  background: #fff;
  color: var(--ds-ink);
}

.ds-btn--light:hover {
  background: var(--ds-paper);
  color: var(--ds-ink);
}

.ds-btn--light i {
  color: #1fa855;
  font-size: 1.4rem;
}

.ds-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.ds-btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
  color: #fff;
}

.ds-btn--ghost i {
  font-size: 1.3rem;
}

.ds-btn--cta {
  padding: .85rem 1.35rem;
  font-size: .95rem;
  gap: .55rem;
}

.ds-btn--cta i,
.ds-btn--light.ds-btn--cta i {
  font-size: 1.15rem;
}

.ds-btn:focus-visible,
.ds-nav a:focus-visible,
.ds-faq summary:focus-visible {
  outline: 2px solid var(--ds-red);
  outline-offset: 3px;
}

/* 3. Navbar ============================================================== */
.ds-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  height: var(--ds-nav-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ds-ease), border-color .3s var(--ds-ease), height .3s var(--ds-ease);
  border-bottom: 1px solid transparent;
}

.ds-nav.is-scrolled {
  background: rgba(11, 11, 12, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--ds-line-ink);
  height: 66px;
}

.ds-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ds-nav__brand img {
  width: 168px;
  height: auto;
}

.ds-nav__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.ds-nav__menu ul {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .ds-nav__menu {
    gap: 1.5rem;
  }

  .ds-nav__menu ul {
    gap: 1.25rem;
  }
}

.ds-nav__menu ul a {
  color: var(--ds-on-ink-muted);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  position: relative;
  padding: .35rem 0;
  transition: color .2s;
}

.ds-nav__menu ul a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ds-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ds-ease);
}

.ds-nav__menu ul a:hover {
  color: #fff;
}

.ds-nav__menu ul a:hover::after {
  transform: scaleX(1);
}

.ds-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
  padding: .6rem 1rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--ds-radius);
  font-variant-numeric: tabular-nums;
  transition: border-color .2s, background-color .2s;
}

.ds-nav__cta:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .06);
}

.ds-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--ds-radius);
  background: transparent;
  position: relative;
}

.ds-nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s var(--ds-ease), top .3s var(--ds-ease);
}

.ds-nav__toggle span:first-child {
  top: 17px;
}

.ds-nav__toggle span:last-child {
  top: 25px;
}

.ds-nav.is-open .ds-nav__toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.ds-nav.is-open .ds-nav__toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
  .ds-nav__toggle {
    display: block;
  }

  .ds-nav__brand img {
    width: 140px;
  }

  .ds-nav__menu {
    position: fixed;
    top: var(--ds-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--ds-ink);
    border-bottom: 1px solid var(--ds-line-ink);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ds-ease), transform .25s var(--ds-ease), visibility .25s;
  }

  .ds-nav.is-scrolled .ds-nav__menu {
    top: 66px;
  }

  .ds-nav.is-open {
    background: var(--ds-ink);
  }

  .ds-nav.is-open .ds-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .ds-nav__menu ul {
    flex-direction: column;
    gap: 0;
  }

  .ds-nav__menu ul a {
    display: block;
    padding: .9rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--ds-line-ink);
  }

  .ds-nav__menu ul a::after {
    display: none;
  }

  .ds-nav__cta {
    justify-content: center;
    padding: .9rem 1rem;
  }
}

/* 4. Hero + formulário =================================================== */
.ds-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ds-on-ink);
  background: var(--ds-ink) url('../images/banner-deepsound-principal.jpg') center / cover no-repeat;
  padding: calc(var(--ds-nav-h) + 4.5rem) 0 6.5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.ds-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .55) 55%, rgba(11, 11, 12, .75) 100%),
    linear-gradient(0deg, var(--ds-ink) 0%, transparent 30%);
}

/* malha de analisador (graticule) */
.ds-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 85%);
  mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 85%);
}

.ds-hero__trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 22%;
  z-index: -1;
  pointer-events: none;
}

.ds-trace {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-trace--raw {
  stroke: var(--ds-red);
  stroke-width: 1.6;
  opacity: .7;
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  animation: ds-draw 3.2s .4s var(--ds-ease) forwards;
}

.ds-trace--target {
  stroke: rgba(255, 255, 255, .35);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

@keyframes ds-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.ds-hero__title {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -.028em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.ds-hero__title em {
  font-style: normal;
  color: var(--ds-red);
}

.ds-hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ds-on-ink-muted);
  max-width: 36rem;
  margin: 0 0 2.25rem;
}

.ds-seals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: .75rem 2rem;
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--ds-line-ink);
  max-width: 36rem;
}

.ds-seals li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .97rem;
  font-weight: 500;
  color: #fff;
}

.ds-seals i,
.ds-seals .ds-icon-church {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--ds-red-soft);
  color: var(--ds-red);
  font-size: 1rem;
}

.ds-seals .ds-icon-church {
  padding: .5rem;
}

/* Card do formulário */
.ds-form-card {
  position: relative;
  background: #fff;
  color: var(--ds-text);
  border-radius: var(--ds-radius-lg);
  padding: 2.1rem 2rem 1.6rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}

.ds-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 48px;
  height: 3px;
  background: var(--ds-red);
}

.ds-form-card__title {
  font-size: 1.45rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
}

.ds-form-card__sub {
  font-size: .93rem;
  line-height: 1.55;
  color: var(--ds-muted);
  margin: 0 0 1.4rem;
}

.ds-form-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--ds-muted);
  margin: 1rem 0 0;
  text-align: center;
}

.ds-form-card__note i {
  color: var(--ds-red);
}

/* Layout do form (markup herdado do core) */
.ds-form-card form {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .7rem !important;
}

.ds-form-card form > * {
  grid-column: 1 / -1;
}

.ds-form-card form > .form-floating:has(#whatsapp),
.ds-form-card form > .form-floating:has(#email) {
  grid-column: span 3;
}

.ds-form-card form > .form-floating:has(#cidade) {
  grid-column: span 4;
}

.ds-form-card form > .form-floating:has(#estado) {
  grid-column: span 2;
}

.ds-form-card .form-floating > .form-control,
.ds-form-card .form-floating > .form-select {
  height: 3.35rem;
  min-height: 3.35rem;
  border: 1px solid #dcd9d2;
  border-radius: var(--ds-radius);
  background-color: #f8f7f4;
  font-size: .95rem;
  color: var(--ds-text);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.ds-form-card .form-floating > .form-control:focus,
.ds-form-card .form-floating > .form-select:focus {
  background-color: #fff;
  border-color: var(--ds-ink);
  box-shadow: 0 0 0 3px rgba(11, 11, 12, .08);
}

.ds-form-card .form-floating > label {
  font-size: .9rem;
  color: var(--ds-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ds-form-card .form-floating > .form-control:focus ~ label,
.ds-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label,
.ds-form-card .form-floating > .form-select ~ label {
  color: var(--ds-muted);
}

.ds-form-card .form-floating > .form-control:focus ~ label::after,
.ds-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.ds-form-card .form-floating > .form-select ~ label::after {
  background-color: transparent;
}

.ds-form-card .required {
  color: var(--ds-red);
}

.ds-form-card .form-select:has(option[value=""]:checked) {
  color: #8a8781;
}

.ds-form-card #submit-button-form {
  margin-top: .4rem;
  min-height: 3.5rem;
  border-radius: var(--ds-radius);
  background: var(--ds-red);
  border: 0;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.ds-form-card #submit-button-form:hover:not(:disabled) {
  background: var(--ds-red-600) !important;
  filter: none !important;
}

.ds-form-card #submit-button-form:disabled {
  opacity: .75;
}

@media (max-width: 991.98px) {
  .ds-hero {
    min-height: 0;
    padding: calc(var(--ds-nav-h) + 2.75rem) 0 4.5rem;
  }

  .ds-hero::before {
    background: linear-gradient(180deg, rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .7) 50%, var(--ds-ink) 100%);
  }

  .ds-hero__trace {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .ds-seals {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .ds-hero .ds-btn {
    width: 100%;
  }

  .ds-form-card {
    padding: 1.75rem 1.25rem 1.4rem;
  }

  .ds-form-card::before {
    left: 1.25rem;
  }

  .ds-form-card form > .form-floating:has(#whatsapp),
  .ds-form-card form > .form-floating:has(#email) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* 5. Seções ============================================================== */
.ds-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.ds-section--paper {
  background: var(--ds-paper);
}

.ds-section--white {
  background: #fff;
}

.ds-section--ink {
  background: var(--ds-ink);
  color: var(--ds-on-ink);
}

.ds-head {
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.ds-head--center {
  text-align: center;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.ds-head--split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem 4rem;
  align-items: end;
}

.ds-head--split .ds-lead {
  margin: 0;
}

.ds-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.ds-head--split .ds-title {
  margin: 0;
}

.ds-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--ds-muted);
  margin: 0;
  text-wrap: pretty;
}

.ds-section--ink .ds-lead {
  color: var(--ds-on-ink-muted);
}

.ds-center {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 991.98px) {
  .ds-head--split {
    grid-template-columns: 1fr;
  }
}

/* Faixa de autoridade (Instagram) ======================================== */
.ds-proof {
  background: #fff;
  border-bottom: 1px solid var(--ds-line);
  padding: 1.75rem 0;
}

.ds-proof__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
}

.ds-proof__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

.ds-proof__stats li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.ds-proof__stats li + li {
  padding-left: 2.5rem;
  border-left: 1px solid var(--ds-line);
}

.ds-proof__stats strong {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ds-text);
}

.ds-proof__stats span {
  font-size: .92rem;
  color: var(--ds-muted);
}

.ds-proof__handle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--ds-text);
  text-decoration: none;
  transition: color .25s var(--ds-ease);
}

.ds-proof__handle .bi-instagram {
  font-size: 1.3rem;
  color: var(--ds-red);
}

.ds-proof__handle:hover {
  color: var(--ds-red);
}

.ds-proof__verified {
  color: #0095f6;
  font-size: 1rem;
}

.ds-proof__handle:focus-visible {
  outline: 2px solid var(--ds-red);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .ds-proof__inner {
    flex-direction: column;
    text-align: center;
  }

  .ds-proof__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    width: 100%;
  }

  .ds-proof__stats li {
    align-items: center;
  }

  .ds-proof__stats li + li {
    padding-left: .75rem;
  }

  .ds-proof__stats span {
    font-size: .8rem;
    line-height: 1.3;
  }
}

/* 6. Diferenciais ======================================================== */
.ds-why__col {
  display: flex;
  align-items: center;
}

.ds-why__media {
  width: 100%;
  margin: 0;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
}

/* a arte tem texto embutido: proporção natural, sem corte */
.ds-why__media img {
  width: 100%;
  height: auto;
}

/* vídeo vertical: capa + play, iframe só no clique */
.ds-why__video {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ds-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  background: var(--ds-ink);
  cursor: pointer;
}

.ds-video img,
.ds-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ds-video img {
  object-fit: cover;
  transition: transform .4s var(--ds-ease);
}

.ds-video:hover img {
  transform: scale(1.03);
}

.ds-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ds-red);
  color: #fff;
  font-size: 2.2rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: background-color .25s var(--ds-ease), transform .25s var(--ds-ease);
}

.ds-video__play i {
  margin-left: 4px;
}

.ds-video:hover .ds-video__play {
  background: var(--ds-red-600);
  transform: translate(-50%, -50%) scale(1.06);
}

.ds-video:focus-visible {
  outline: 2px solid var(--ds-red);
  outline-offset: 3px;
}

.ds-video.is-playing {
  cursor: default;
}

.ds-why__head {
  margin-bottom: 2rem;
}

.ds-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.ds-why__list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.3rem;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  transition: border-color .25s var(--ds-ease), transform .25s var(--ds-ease);
}

.ds-why__list li:hover {
  border-color: rgba(227, 20, 27, .35);
  transform: translateY(-2px);
}

/* 5º item ocupa a linha inteira */
.ds-why__list li:last-child {
  grid-column: 1 / -1;
}

.ds-why__list img {
  width: 48px;
  height: 48px;
}

.ds-why__list h3 {
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: 105%;
  margin: .1rem 0 .3rem;
  letter-spacing: -.01em;
}

.ds-why__list p {
  margin: 0;
  color: var(--ds-muted);
  font-size: .95rem;
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .ds-why__media {
    max-width: 480px;
    margin: 0 auto;
  }

  .ds-why__video {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .ds-why__list {
    grid-template-columns: 1fr;
  }
}

/* 7. Dor do cliente ====================================================== */
.ds-pain {
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

/* curva de resposta irregular, decorativa */
.ds-pain__trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(56px, 8vw, 110px);
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

.ds-pain__trace path {
  fill: none;
  stroke: var(--ds-red);
  stroke-width: 1.4;
  opacity: .28;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.ds-pain__title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin: 0;
}

.ds-pain__symptoms {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 500;
  font-stretch: 104%;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ds-line-ink);
}

.ds-pain__text {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--ds-on-ink-muted);
  margin: 0 0 2rem;
}

.ds-pain__highlight {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--ds-ink-2);
  border: 1px solid var(--ds-line-ink);
  border-left: 3px solid var(--ds-red);
  border-radius: var(--ds-radius);
}

.ds-pain__highlight i {
  flex: none;
  color: var(--ds-red);
  font-size: 1.25rem;
  line-height: 1.3;
}

/* 8. Público ============================================================= */
.ds-profile {
  height: 100%;
  background: var(--ds-paper);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ds-profile__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ds-paper-2);
}

.ds-profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ds-ease);
}

.ds-profile:hover .ds-profile__media img {
  transform: scale(1.03);
}

.ds-slot {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1.5px dashed rgba(11, 11, 12, .22);
  border-radius: var(--ds-radius-lg) var(--ds-radius-lg) 0 0;
  color: var(--ds-muted);
  text-align: center;
  padding: 1rem;
}

.ds-slot i {
  font-size: 2rem;
  opacity: .5;
}

.ds-slot span {
  font-family: var(--ds-mono);
  font-size: .8rem;
  word-break: break-all;
}

.ds-slot small {
  font-family: var(--ds-mono);
  font-size: .72rem;
  opacity: .7;
}

.ds-profile__body {
  position: relative;
  padding: 2.4rem 2rem 2rem;
}

.ds-profile__icon {
  position: absolute;
  top: -1.6rem;
  left: 2rem;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ds-red);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 0 0 5px var(--ds-paper);
}

.ds-profile__icon .ds-icon-church {
  width: 1.4rem;
  height: 1.4rem;
}

.ds-profile h3 {
  font-size: 1.35rem;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
}

.ds-profile p {
  margin: 0;
  color: var(--ds-muted);
  line-height: 1.6;
  font-size: 1.02rem;
}

/* 9. Serviços ========================================================== */
.ds-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ds-svc {
  position: relative;
  border-radius: var(--ds-radius-lg);
  background: var(--ds-ink-2);
  border: 1px solid var(--ds-line-ink);
  transition: border-color .3s var(--ds-ease), background-color .3s var(--ds-ease);
}

.ds-svc::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 2rem;
  width: 40px;
  height: 2px;
  background: var(--ds-red);
  transition: width .4s var(--ds-ease);
}

.ds-svc:hover {
  border-color: rgba(227, 20, 27, .45);
  background: var(--ds-ink-3);
}

.ds-svc:hover::before {
  width: 96px;
}

.ds-svc__body {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1.4rem;
  padding: 2.25rem 2rem;
}

.ds-svc__icon {
  grid-row: 1 / span 2;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--ds-radius);
  background: var(--ds-red);
  color: #fff;
  font-size: 1.45rem;
}

.ds-svc h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -.015em;
  margin: .1rem 0 .55rem;
  color: #fff;
}

.ds-svc p {
  margin: 0;
  color: var(--ds-on-ink-muted);
  line-height: 1.65;
}

@media (max-width: 767.98px) {
  .ds-bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .ds-svc__body {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.5rem;
  }

  .ds-svc__icon {
    grid-row: auto;
    margin-bottom: 1.1rem;
  }

  #servicos .ds-btn {
    width: 100%;
  }
}

/* 10. Como funciona ====================================================== */
.ds-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  counter-reset: none;
}

.ds-steps::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(11, 11, 12, .3) 0 6px, transparent 6px 12px);
}

.ds-step {
  position: relative;
}

.ds-step__marker {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ds-ink);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--ds-paper);
  margin-bottom: 1.6rem;
  transition: background-color .3s var(--ds-ease);
}

.ds-step:hover .ds-step__marker {
  background: var(--ds-red);
}

.ds-step__num {
  display: block;
  font-family: var(--ds-mono);
  font-size: .82rem;
  color: var(--ds-red);
  margin-bottom: .45rem;
}

.ds-step h3 {
  font-size: 1.18rem;
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: -.01em;
  margin: 0 0 .45rem;
}

.ds-step p {
  margin: 0;
  color: var(--ds-muted);
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .ds-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 34rem;
    margin: 0 auto;
  }

  .ds-steps::before {
    display: none;
  }

  .ds-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.75rem;
    top: 3.5rem;
    bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(11, 11, 12, .3) 0 6px, transparent 6px 12px);
  }

  .ds-step {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    column-gap: 1.4rem;
    padding-bottom: 2.2rem;
  }

  .ds-step:last-child {
    padding-bottom: 0;
  }

  .ds-step__marker {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .ds-step__num {
    margin-top: .2rem;
  }
}

/* 11. Comparativo ======================================================== */
.ds-compare {
  height: 100%;
  border-radius: var(--ds-radius-lg);
  padding: 2.2rem 2rem;
}

.ds-compare h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -.015em;
  margin: 0 0 1.4rem;
  padding-bottom: 1.2rem;
}

.ds-compare ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

.ds-compare li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: .75rem;
  line-height: 1.5;
}

.ds-compare li i {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .8rem;
  margin-top: -.05rem;
}

.ds-compare--alone {
  background: var(--ds-paper);
  color: var(--ds-muted);
}

.ds-compare--alone h3 {
  color: var(--ds-text);
  border-bottom: 1px solid var(--ds-line);
}

.ds-compare--alone li i {
  background: rgba(11, 11, 12, .07);
  color: #8a8781;
}

.ds-compare--ds {
  background: var(--ds-ink);
  color: var(--ds-on-ink);
  box-shadow: 0 30px 60px -30px rgba(227, 20, 27, .45);
  position: relative;
}

.ds-compare--ds::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--ds-red);
}

.ds-compare--ds h3 {
  color: #fff;
  border-bottom: 1px solid var(--ds-line-ink);
}

.ds-compare--ds li i {
  background: var(--ds-red);
  color: #fff;
}

/* 12. Galeria ============================================================= */
.ds-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.ds-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--ds-radius);
  background: var(--ds-ink-2);
}

.ds-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .8s var(--ds-ease);
}

.ds-gallery figure:hover img {
  transform: scale(1.04);
}

/* tablet/desktop: grade uniforme 3 × 2 */
@media (min-width: 768px) {
  .ds-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* Depoimentos ============================================================ */
/* desktop: grade de 5; abaixo disso, carrossel com rolagem lateral */
.ds-testis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 0;
}

/* subgrid: frase, nome e local alinhados entre os cards */
.ds-testi {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-width: 0;
}

.ds-testi__body {
  display: contents;
}

.ds-testi__quote {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ds-text);
  margin: 1rem 0 .85rem;
  text-wrap: pretty;
}

.ds-testi__foot {
  padding-top: .85rem;
  border-top: 1px solid var(--ds-line);
}

.ds-testi__name {
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: -.01em;
  margin: 0 0 .2rem;
}

.ds-testi__meta {
  font-size: .85rem;
  line-height: 1.4;
  color: var(--ds-muted);
  margin: 0;
}

.ds-testi .ds-video__play {
  width: 58px;
  height: 58px;
  font-size: 1.8rem;
}

@media (max-width: 1199.98px) {
  .ds-testis {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    padding: 0 12px 1rem;
    margin: 0 -12px;
    scrollbar-width: thin;
  }

  .ds-testi {
    flex: 0 0 min(260px, 72vw);
    grid-template-rows: auto 1fr auto;
    scroll-snap-align: start;
  }
}

/* 13. FAQ ================================================================ */
@media (min-width: 992px) {
  .ds-faq__head {
    position: sticky;
    top: calc(var(--ds-nav-h) + 2rem);
  }
}

.ds-faq {
  border-top: 1px solid var(--ds-line);
}

.ds-faq details {
  border-bottom: 1px solid var(--ds-line);
}

.ds-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  font-stretch: 104%;
  letter-spacing: -.01em;
  color: var(--ds-text);
  transition: color .2s;
}

.ds-faq summary::-webkit-details-marker {
  display: none;
}

.ds-faq summary::after {
  content: '';
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--ds-line);
  background:
    linear-gradient(var(--ds-text), var(--ds-text)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ds-text), var(--ds-text)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ds-ease), background-color .3s, border-color .3s;
}

.ds-faq summary:hover {
  color: var(--ds-red);
}

.ds-faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: #fff;
  border-color: transparent;
}

.ds-faq details p {
  margin: 0;
  padding: 0 3.5rem 1.6rem 0;
  color: var(--ds-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

/* 14. CTA final ========================================================== */
.ds-cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--ds-ink) url('../images/banner-deepsound-cta.jpg') center bottom / cover no-repeat;
  padding: clamp(5rem, 11vw, 9rem) 0;
  overflow: hidden;
}

.ds-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .1) 60%);
}

.ds-cta__inner {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.ds-cta__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -.028em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.ds-cta__text {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.ds-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 575.98px) {
  .ds-cta__actions .ds-btn {
    width: 100%;
  }
}

/* 15. Rodapé + WhatsApp flutuante ======================================== */
.ds-footer {
  background: var(--ds-ink);
  color: var(--ds-on-ink-muted);
  padding: 3.5rem 0 1.75rem;
  border-top: 1px solid var(--ds-line-ink);
}

.ds-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--ds-line-ink);
}

.ds-footer__brand img {
  width: 170px;
}

.ds-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-footer__social {
  display: flex;
  gap: .6rem;
}

.ds-footer__social a {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ds-line-ink);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}

.ds-footer__social a:hover {
  background: var(--ds-red);
  border-color: var(--ds-red);
}

.ds-footer__bottom {
  padding-top: 1.5rem;
  font-size: .85rem;
}

.ds-footer__bottom p {
  margin: 0;
}

.ds-float-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ds-ease), opacity .25s var(--ds-ease);
}

.ds-float-wa.is-hidden {
  opacity: 0;
  transform: scale(.8);
  pointer-events: none;
}

.ds-float-wa:hover {
  color: #fff;
  transform: scale(1.06);
}

@media (max-width: 767.98px) {
  .ds-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 16. Reveal (só quando o JS está ativo) ================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ds-ease), transform .8s var(--ds-ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ds-trace--raw {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media (max-width: 575.98px) {
  .ds-faq details p {
    padding-right: 0;
  }
}
