/* Home — depoimentos (carrossel + gradientes alinhados à home: --home-gradient-solid) */

.home-depo {
  position: relative;
  padding: clamp(3.75rem, 7vw, 5.5rem) 0;
  overflow: hidden;
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tema escuro: mesmo palco da secção Experiência Short Code (home-edge-dark) */
.home-depo-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(45, 212, 191, 0.2), transparent 52%),
    radial-gradient(ellipse 55% 45% at 100% 55%, rgba(84, 160, 255, 0.14), transparent 48%),
    radial-gradient(ellipse 70% 50% at 0% 92%, rgba(34, 211, 238, 0.08), transparent 48%),
    linear-gradient(165deg, #020617 0%, #0c1829 38%, #060d16 100%);
  opacity: 1;
}

.home-depo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 1;
}

.home-depo .container {
  position: relative;
  z-index: 1;
}

.home-depo-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.home-depo-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ccfbf1;
  background: rgba(6, 78, 59, 0.55);
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.home-depo-title {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.home-depo-title span {
  background: var(--home-gradient-solid);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-depo-intro {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

/* Carrossel */
.home-depo-carousel {
  max-width: min(100%, 680px);
  margin: 0 auto;
}

.home-depo-carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 1.25rem;
}

.home-depo-carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.home-depo-carousel-track.is-no-motion {
  transition: none;
}

.home-depo-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.home-depo-card {
  margin: 0;
  padding: 1.1rem 1.05rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(0, 0, 0, 0.48) 100%
  );
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.home-depo-card::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.75rem;
  line-height: 1;
  color: rgba(29, 209, 161, 0.14);
  pointer-events: none;
}

.home-depo-card--accent {
  border-color: rgba(29, 209, 161, 0.35);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(29, 209, 161, 0.1);
}

.home-depo-stars {
  position: relative;
  z-index: 1;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: #0d9488;
}

.home-depo-quote {
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

.home-depo-quote p {
  margin: 0;
  font-size: clamp(0.9rem, 1.65vw, 1rem);
  line-height: 1.56;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.94);
}

.home-depo-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-depo-photo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(29, 209, 161, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.home-depo-name {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.home-depo-role {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.35;
}

.home-depo-foot {
  margin: 2rem 0 0;
  text-align: center;
}

.home-depo-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  border: none;
  color: #fff;
  background: var(--home-gradient-solid);
  box-shadow: 0 4px 20px rgba(29, 209, 161, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.home-depo-form-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: #000;
  box-shadow: 0 8px 30px rgba(29, 209, 161, 0.4);
}

.home-depo-form-link:focus-visible {
  outline: 2px solid var(--home-green, #1dd1a1);
  outline-offset: 2px;
}

.home-depo-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.home-depo-carousel-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.home-depo-carousel-btn:hover {
  background: rgba(29, 209, 161, 0.12);
  border-color: rgba(29, 209, 161, 0.35);
}

.home-depo-carousel-btn:focus-visible {
  outline: 2px solid var(--home-green, #1dd1a1);
  outline-offset: 2px;
}

.home-depo-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.home-depo-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.home-depo-dot.is-active {
  background: var(--home-gradient-solid);
  transform: scale(1.25);
}

.home-depo-dot:focus-visible {
  outline: 2px solid var(--home-green, #1dd1a1);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .home-depo-carousel-track {
    transition: none;
  }
}

html:not([data-theme="dark"]) .home-depo {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #ffffff 100%);
  border-top-color: rgba(12, 74, 110, 0.08);
}

html:not([data-theme="dark"]) .home-depo-bg {
  background:
    radial-gradient(circle at 10% 18%, rgba(29, 209, 161, 0.08) 0%, transparent 56%),
    radial-gradient(circle at 88% 78%, rgba(84, 160, 255, 0.1) 0%, transparent 52%);
}

html:not([data-theme="dark"]) .home-depo-bg::after {
  opacity: 0.35;
}

html:not([data-theme="dark"]) .home-depo-title {
  color: #0b1736;
}

html:not([data-theme="dark"]) .home-depo-intro {
  color: #4b5d7f;
}

html:not([data-theme="dark"]) .home-depo-eyebrow {
  color: #0f3d3a;
  background: #ecfdf5;
  border-color: rgba(13, 148, 136, 0.35);
}

html:not([data-theme="dark"]) .home-depo-card {
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 247, 255, 0.98) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .home-depo-card--accent {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow:
    0 24px 46px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(45, 212, 191, 0.2);
}

html:not([data-theme="dark"]) .home-depo-form-link {
  color: #fff;
  background: var(--home-gradient-solid);
  box-shadow: 0 4px 20px rgba(29, 209, 161, 0.3);
}

html:not([data-theme="dark"]) .home-depo-card::before {
  color: rgba(45, 212, 191, 0.22);
}

html:not([data-theme="dark"]) .home-depo-stars {
  color: #0f766e;
}

html:not([data-theme="dark"]) .home-depo-quote p {
  color: #1e2b4a;
}

html:not([data-theme="dark"]) .home-depo-author {
  border-top-color: rgba(148, 163, 184, 0.32);
}

html:not([data-theme="dark"]) .home-depo-name {
  color: #0b1736;
}

html:not([data-theme="dark"]) .home-depo-role {
  color: #5f6f8f;
}

html:not([data-theme="dark"]) .home-depo-photo {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .home-depo-dot {
  background: rgba(71, 85, 105, 0.26);
}

@media (max-width: 480px) {
  .home-depo-carousel-slide {
    flex-basis: 100%;
  }

  .home-depo-card {
    padding: 1.35rem 1.15rem 1.2rem;
  }

  .home-depo-card::before {
    font-size: 3rem;
    left: 14px;
  }

  .home-depo-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .home-depo-photo {
    width: 52px;
    height: 52px;
  }
}

