/*
 * 07-depoimentos-footer.css — Depoimentos (carrossel), CTA Final, Footer, WhatsApp Float
 */

/* ── Depoimentos — Carrossel infinito ───────────────────── */
.depoimentos {
  padding: 7rem 0;
  background: var(--white);
  overflow: hidden;
}

/* Track container — mask lateral para fade */
.depoimentos__track-wrap {
  position: relative;
  overflow: hidden;
  /* Fade nas bordas */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* O track interno que desliza */
.depoimentos__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 52s linear infinite;
}
/* Pausa ao hover em qualquer card */
.depoimentos__track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card — todos brancos, mesma aparência */
.dep-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  position: relative;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid), border-color var(--t-mid);
  cursor: default;
}
.dep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--sky);
}

/* Aspas decorativas */
.dep-card__quote {
  position: absolute;
  top: .75rem; right: 1.1rem;
  font-size: 4.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Estrelas */
.dep-card__stars { display: flex; gap: 2px; }
.dep-card__stars i { color: #f5a623; font-size: .8rem; }

/* Texto do depoimento */
.dep-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: .93rem;
  color: var(--ink-60);
  line-height: 1.72;
  flex: 1;
}

/* Autor */
.dep-card__author { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.dep-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sky-10);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  color: var(--sky-deep);
  flex-shrink: 0;
}
.dep-card__author strong {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.dep-card__author span {
  font-size: .73rem;
  color: var(--ink-30);
  font-weight: 400;
}

/* ── CTA Final ───────────────────────────────────────────── */
.cta-final { padding: 7rem 0; background: var(--surface); }
.cta-final__card {
  background: linear-gradient(145deg, var(--ink) 0%, #1e3a56 100%);
  border-radius: var(--r-xl);
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(152,197,254,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-blob--1 { width: 340px; height: 340px; background: rgba(152,197,254,.08); top: -110px; right: -70px; }
.cta-blob--2 { width: 280px; height: 280px; background: rgba(55,180,34,.07); bottom: -90px; left: -50px; }

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  margin: .5rem 0 .8rem;
  position: relative;
  line-height: 1.14;
}
.cta-final__sub {
  color: rgba(255,255,255,.52);
  font-size: .97rem;
  margin-bottom: 2.25rem;
  position: relative;
  font-weight: 300;
}
.cta-final__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--ink); }

/* Trust bar */
.footer__trust-bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 0;
}
.footer__trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}
.trust-item i { color: var(--sky); font-size: .82rem; }
.trust-sep { width: 1px; height: 14px; background: rgba(255,255,255,.12); }

/* Grid */
.footer__main { padding: 4.5rem 0 3rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo__name { color: var(--white); }
.footer-brand p {
  font-size: .84rem;
  color: rgba(255,255,255,.4);
  line-height: 1.78;
  margin-bottom: .55rem;
  max-width: 255px;
  font-weight: 300;
}
.footer-brand__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: .9rem;
  color: rgba(255,255,255,.25);
  margin-bottom: 1.5rem !important;
}

/* Social */
.footer__social { display: flex; gap: .45rem; }
.social-btn {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.social-btn:hover { background: var(--sky); color: var(--ink); transform: translateY(-2px); }
.social-btn--ig:hover { background: #C13584; color: var(--white); transform: translateY(-2px); }
.social-btn--wa:hover { background: #25D366; color: var(--white); }

/* Footer cols */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col a {
  font-size: .84rem;
  color: rgba(255,255,255,.38);
  transition: color var(--t-fast);
  font-weight: 300;
}
.footer-col a:hover { color: var(--sky); }

.footer-col--contact address ul li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .84rem;
  color: rgba(255,255,255,.38);
  margin-bottom: .65rem;
}
.footer-col--contact address li i { color: var(--sky); width: 14px; text-align: center; flex-shrink: 0; margin-top: 3px; }
.footer-col--contact address li a { color: rgba(255,255,255,.38); }
.footer-col--contact address li a:hover { color: var(--sky); }

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  padding: .58rem 1.15rem;
  border-radius: var(--r-full);
  margin-top: 1rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer-cta-btn:hover { background: var(--green-dark); transform: translateY(-1px); }

/* Bottom bar */
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1rem 0; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom-inner p { font-size: .76rem; color: rgba(255,255,255,.25); font-weight: 300; }
.footer__bottom-links { display: flex; align-items: center; gap: .6rem; font-size: .76rem; color: rgba(255,255,255,.25); font-weight: 300; }
.footer__bottom-links a { color: inherit; transition: color var(--t-fast); }
.footer__bottom-links a:hover { color: var(--sky); }
.footer__bottom-links span { color: inherit; }

/* ── WhatsApp Float + Embarque imediato ───────────────────── */
.wa-float-wrap {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.wa-float-wrap.show {
  opacity: 1;
  pointer-events: auto;
}
.wa-float-cta {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--sky-deep);
  border: 1px solid var(--sky-deep);
  border-radius: var(--r-full);
  padding: .5rem 1rem;
  box-shadow: var(--sh-md);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), filter var(--t-fast);
}
.wa-float-cta:hover {
  background: var(--sky-mid);
  border-color: var(--sky-mid);
  color: var(--white);
  filter: brightness(1.05);
}

.wa-float {
  position: static;
  bottom: auto;
  right: auto;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  border-radius: var(--r-full);
  padding: .65rem 1.15rem .65rem .85rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .84rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.38);
  transition: transform var(--t-mid);
}
.wa-float-wrap.show .wa-float {
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover {
  background: #1daf55;
  transform: translateY(-3px) scale(1.04);
  animation: none;
}
.wa-float i { font-size: 1.2rem; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.38); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,.6); }
}