@import './tokens.css';

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--roxo);
  color: var(--branco);
}

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

.btn--outline {
  background-color: transparent;
  border-color: var(--verde);
  color: var(--verde);
}

.btn--outline:hover {
  background-color: var(--verde);
  color: var(--escuro);
}

.btn--verde {
  background-color: var(--verde);
  color: var(--escuro);
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--branco);
  padding-top: calc(64px + var(--space-lg));
  padding-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

/* animações de flutuação — cada forma tem ritmo próprio */
@keyframes float-a {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  100% { transform: translate(30px, -80px) rotate(12deg); }
}
@keyframes float-b {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  100% { transform: translate(-25px, 70px) rotate(-14deg); }
}
@keyframes float-c {
  0%   { transform: translate(0px, 0px) rotate(18deg); }
  100% { transform: translate(20px, -65px) rotate(36deg); }
}
@keyframes float-d {
  0%   { transform: translate(0px, 0px) rotate(-10deg); }
  100% { transform: translate(-30px, 75px) rotate(4deg); }
}

/* formas geométricas flutuantes — roxo semitransparente */
.hero__shape {
  position: absolute;
  pointer-events: none;
}

/* ROXO — círculo grande, canto superior direito */
.hero__shape--1 {
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 2px solid rgba(143, 30, 174, 0.18);
  background: rgba(143, 30, 174, 0.07);
  top: -260px;
  right: -220px;
  animation: float-a 7s ease-in-out infinite alternate;
}

/* VERDE — círculo grande, canto inferior esquerdo */
.hero__shape--2 {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px solid rgba(155, 191, 39, 0.25);
  background: rgba(155, 191, 39, 0.08);
  bottom: -220px;
  left: -180px;
  animation: float-b 9s ease-in-out infinite alternate;
}

/* VERDE — quadrado arredondado grande, lateral esquerda meio */
.hero__shape--3 {
  width: 220px;
  height: 220px;
  border-radius: 40px;
  border: 2px solid rgba(155, 191, 39, 0.28);
  background: rgba(155, 191, 39, 0.09);
  top: 52%;
  left: 4%;
  animation: float-c 6s ease-in-out infinite alternate;
}

/* ROXO — quadrado médio, topo esquerdo */
.hero__shape--4 {
  width: 130px;
  height: 130px;
  border-radius: 22px;
  border: 2px solid rgba(143, 30, 174, 0.22);
  background: rgba(143, 30, 174, 0.09);
  top: 6%;
  left: 18%;
  animation: float-d 5s ease-in-out infinite alternate;
  transform: rotate(-10deg);
}

/* ROXO — círculo médio, direita centro-inferior */
.hero__shape--5 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(143, 30, 174, 0.16);
  background: rgba(143, 30, 174, 0.06);
  bottom: 6%;
  right: 4%;
  animation: float-b 8s ease-in-out infinite alternate;
}

/* VERDE — quadrado médio, inferior centro */
.hero__shape--6 {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  border: 2px solid rgba(155, 191, 39, 0.32);
  background: rgba(155, 191, 39, 0.11);
  bottom: 24%;
  right: 28%;
  animation: float-a 5.5s ease-in-out infinite alternate;
  transform: rotate(25deg);
}

/* VERDE — círculo médio, topo centro-direito */
.hero__shape--7 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(155, 191, 39, 0.25);
  background: rgba(155, 191, 39, 0.08);
  top: 6%;
  right: 24%;
  animation: float-c 10s ease-in-out infinite alternate;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  background: none;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--roxo);
  white-space: nowrap;
}

/* linhas decorativas simétricas ao lado do eyebrow */
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--roxo);
  opacity: 0.45;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
}

.hero__heading-line {
  display: block;
}

/* linha 1: preenchida, cinza escuro suave */
.hero__heading-line--1 {
  color: var(--verde);
  letter-spacing: -0.02em;
  text-shadow: 1px 1px 2px #00000085;
}

/* linha 2: roxo sólido preenchido */
.hero__heading-line--2 {
  color: var(--roxo);
  letter-spacing: -0.01em;
  text-shadow: 1px 1px 2px #00000085;
}

/* linha 3: "QUE GERAM" e "RESULTADOS." alinhados pelo baseline */
.hero__heading-line--3 {
  margin-top: 0.1em;
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--verde);
  text-shadow: 1px 1px 2px #00000085;
}

.hero__destaque {
  display: inline-flex;
  align-items: center;
  background: var(--roxo);
  color: var(--verde);
  padding: 0.08em 0.22em;
  border-radius: 6px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: italic;
  box-shadow: 0 6px 24px rgba(155, 191, 39, 0.2);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--cinza);
  max-width: 520px;
  line-height: 1.65;
}

.hero__subtitle strong {
  color: var(--roxo);
  font-weight: 700;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-xs);
}

.hero__btn--primary {
  background: var(--roxo);
  color: var(--branco);
  font-weight: 600;
}

.hero__btn--primary:hover {
  opacity: 0.88;
}

.hero__btn--ghost {
  background: transparent;
  border: 2px solid var(--verde);
  color: var(--escuro);
}

.hero__btn--ghost:hover {
  background: var(--verde);
  color: var(--escuro);
}

@media (max-width: 768px) {
  /* no mobile: reduz tamanho das formas e reposiciona */
  .hero__shape--1 {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -80px;
  }

  .hero__shape--2 {
    width: 180px;
    height: 180px;
    bottom: -80px;
    left: -70px;
  }

  .hero__shape--3 {
    width: 90px;
    height: 90px;
    top: 38%;
    left: 2%;
  }

  .hero__shape--4 {
    width: 65px;
    height: 65px;
    top: 58%;
    right: 5%;
  }

  .hero__shape--5 {
    width: 110px;
    height: 110px;
    bottom: 4%;
    right: 2%;
  }

  .hero__shape--6 {
    width: 55px;
    height: 55px;
    bottom: 22%;
    left: 4%;
  }

  .hero__shape--7 {
    width: 90px;
    height: 90px;
    top: 3%;
    right: 20%;
  }

  .hero {
    padding-inline: 1.5rem;
  }

  .hero__inner {
    width: 100%;
    align-items: center;
  }

  .hero__heading {
    width: 100%;
    align-items: center;
  }

  .hero__subtitle {
    font-size: var(--text-base);
    text-align: center;
    width: 100%;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .tabalhos-head{
    text-align: center !important;
  }

}

/* ===== SECTION HEADER ===== */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header .section-heading {
  padding-bottom: 10px;
  position: relative;
}

.section-header .section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 2.5px;
  background: rgba(123, 47, 190, 0.507);
}

.section-header__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--space-sm);
}

.section-header__desc {
  color: #6b6b6b;
  line-height: 1.6;
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 14px;
}

.section-header__desc .highlight {
  color: var(--verde);
  font-weight: 700;
}

/* ===== CARDS DE SERVIÇO ===== */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--branco);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.servico-card__icon {
  color: var(--roxo);
  margin-bottom: var(--space-sm);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  transform: translateX(-0.2rem);
  background: #f4f2fb00;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -5px 2px 12px rgba(163, 130, 210, 0.25), -4px -4px 10px rgba(255, 255, 255, 0.9);
}

.servico-card__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--escuro);
  margin-bottom: var(--space-xs);
}

.servico-card__desc {
  color: var(--cinza);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.servico-card__why {
  font-size: var(--text-sm);
  color: var(--roxo);
  line-height: 1.6;
  border-top: 1px solid var(--cinza-claro);
  padding-top: var(--space-sm);
}

.servico-card__why strong {
  font-weight: 500;
}

@media (max-width: 768px) {
  /* .section-header__inner {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  } */

  .servicos__grid {
    grid-template-columns: 1fr;
  }
  
}

/* ===== QUEM SOMOS ===== */
.quem-somos__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.quem-somos__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quem-somos__text {
  color: var(--cinza);
  line-height: 1.8;
}

/* Tags de nicho */
.nichos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-xs);
}

.nicho-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: var(--border-radius-pill);
}

.nicho-tag--roxo {
  background-color: var(--roxo);
  color: var(--branco);
}

.nicho-tag--verde {
  background-color: var(--verde);
  color: var(--escuro);
}

.nicho-tag--neutro {
  background-color: var(--cinza-claro);
  color: var(--cinza);
}

/* ===== STATS CARD — Quem Somos ===== */
.stats-card {
  background: #fff;
  border-radius: 14px;
  border: none;
  box-shadow: 0px 5px 11px rgba(163, 130, 210, 0.3), -6px -6px 16px rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

/* Cabeçalho */
.stats-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid rgba(163, 130, 210, 0.2);
  background-color: #8f1eae14;
}

.stats-card__header-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eee9f7;
  box-shadow:
    4px 4px 10px rgba(163, 130, 210, 0.35),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--roxo);
  flex-shrink: 0;
}

.stats-card__header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}

.stats-card__header-sub {
  font-size: 0.8rem;
  color: #9580b8;
}

.stats-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.stats-card__item {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(163, 130, 210, 0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.stats-card__item:nth-child(odd) {
  border-right: 1px solid rgba(163, 130, 210, 0.18);
}

.stats-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eee9f7;
  box-shadow:
    4px 4px 10px rgba(123, 47, 190, 0.3),
    -3px -3px 8px rgba(255, 255, 255, 0.85),
    inset 0 0 0 1.5px rgba(123, 47, 190, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--roxo);
  flex-shrink: 0;
  margin-top: 2px;
}

.stats-card__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stats-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #2a1a4e;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats-card__label {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--roxo);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-card__label--big {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--roxo);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-card__sub {
  font-size: 0.78rem;
  color: #9580b8;
  line-height: 1.4;
}

/* Card de nichos — lista de tags */
.stats-card__nichos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.stats-card__nichos span {
  font-size: 0.72rem;
  font-weight: 600;
  background: #eee9f7;
  color: var(--roxo);
  border-radius: 50px;
  padding: 0.25rem 0.65rem;
  box-shadow:
    2px 2px 6px rgba(163, 130, 210, 0.3),
    -2px -2px 5px rgba(255, 255, 255, 0.85);
}

/* Citação no rodapé */
.stats-card__quote {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.3rem 1.75rem;
  background: rgba(163, 130, 210, 0.1);
  border-top: 1px solid rgba(163, 130, 210, 0.2);
}

.stats-card__quote-icon {
  color: var(--roxo);
  opacity: 0.3;
  flex-shrink: 0;
  margin-top: 2px;
}

.stats-card__quote p {
  font-size: 0.88rem;
  color: #7a6096;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 600px) {
  .stats-card__grid {
    grid-template-columns: 1fr;
  }
  .stats-card__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .stats-card__item:nth-child(odd) {
    border-right: none;
  }
}

/* Foto da equipe estilo card editorial */
.team-photo-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--verde);
  box-shadow: var(--shadow-neu);
}

.team-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .quem-somos__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .quem-somos__image {
    order: -1;
  }
}

/* ===== EQUIPE — estilo CriativaMente ===== */
.equipe {
  background-color: var(--roxo);
  padding-block: var(--space-2xl);
}

.equipe__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* ---- Cluster de fotos ---- */
.equipe__cluster {
  position: relative;
  height: 420px;
  width: 520px;
}

/* ---- Card de foto base ---- */
.foto-card {
  position: absolute;
  width: 210px;
  height: 310px;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease,
              z-index 0s;
}

/* box-shadow como borda — segue o border-radius sem criar gaps */
.foto-card--verde {
  box-shadow: 0 0 0 5px var(--verde), 0 8px 32px rgba(0, 0, 0, 0.4);
}
.foto-card--branco {
  box-shadow: 0 0 0 5px #fff, 0 8px 32px rgba(0, 0, 0, 0.4);
}

.foto-card--verde:hover {
  box-shadow: 0 0 0 5px var(--verde), 0 24px 60px rgba(0, 0, 0, 0.65);
  z-index: 10 !important;
}
.foto-card--branco:hover {
  box-shadow: 0 0 0 5px #fff, 0 24px 60px rgba(0, 0, 0, 0.65);
  z-index: 10 !important;
}

/* ---- Elemento interno que gira ---- */
.foto-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: inherit;
}

.foto-card.is-flipped {
  transform: none !important;
  z-index: 10 !important;
}

.foto-card.is-flipped .foto-card__inner {
  transform: rotateY(180deg);
}

/* ---- Frente e verso ---- */
.foto-card__front,
.foto-card__back {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Frente */
.foto-card__front { z-index: 1; }

.foto-card__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Verso — design system do site: neumorfismo claro */
.foto-card__back {
  transform: rotateY(180deg);
  background: #eeecf3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 0.9rem;
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.12),
              inset -3px -3px 7px #ffffff;
}

.foto-card__back-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  width: 100%;
}

/* Linha decorativa verde topo */
.foto-card__back-content::before {
  content: '';
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--verde);
  flex-shrink: 0;
}

.foto-card__back-nome {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--escuro);
  line-height: 1;
}

/* Cargo — texto roxo simples */
.foto-card__back-cargo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--roxo);
  background: none;
  padding: 0;
}

/* Skills — cards neumórficos brancos com acento verde */
.foto-card__skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}

.foto-card__skills li {
  font-size: 0.71rem;
  color: var(--escuro);
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  text-align: left;
  background: #fff;
  border-left: 3px solid var(--verde);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1),
              -1px -1px 3px #ffffff;
  line-height: 1.3;
}

.foto-card__back-hint {
  font-size: 0.56rem;
  color: rgba(0, 0, 0, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Posições — lado a lado com sobreposição */
.foto-card--pos1 {
  top: 40px;
  left: 0;
  transform: rotate(-6deg);
  z-index: 3;
}
.foto-card--pos1:hover { transform: rotate(0deg) translateY(-22px) scale(1.04); }

.foto-card--pos2 {
  top: 10px;
  left: 155px;
  transform: rotate(2deg);
  z-index: 2;
}
.foto-card--pos2:hover { transform: rotate(0deg) translateY(-22px) scale(1.04); }

.foto-card--pos3 {
  top: 50px;
  left: 308px;
  transform: rotate(7deg);
  z-index: 1;
}
.foto-card--pos3:hover { transform: rotate(0deg) translateY(-22px) scale(1.04); }

.foto-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Tag de nome na base do card — estilo etiqueta branca */
.foto-card__tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: var(--roxo);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  line-height: 1.2;
  text-align: center;
  z-index: 2;
}

/* ---- Texto lateral ---- */
.equipe__texto {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.equipe__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--branco);
  text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.equipe__heading-destaque {
  color: var(--verde);
  font-style: italic;
}

.equipe__desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  font-size: var(--text-base);
}

.equipe__quote {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--verde);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: var(--space-sm) var(--space-md);
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .equipe__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    display: flex;
    flex-direction: column-reverse;
  }

  .equipe__cluster {
    height: 380px;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .foto-card { width: 185px; height: 285px; }
  .foto-card--pos1 { top: 35px; left: 0; }
  .foto-card--pos2 { top: 10px; left: 140px; }
  .foto-card--pos3 { top: 45px; left: 278px; }
}

@media (max-width: 520px) {
  .equipe__cluster {
    height: 290px;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  /* cards maiores com sobreposição — ocupa toda a largura */
  .foto-card { width: 44%; height: 250px; }
  .foto-card--pos1 { top: 28px; left: 0; z-index: 3; }
  .foto-card--pos2 { top: 8px; left: 28%; z-index: 2; }
  .foto-card--pos3 { top: 36px; left: 56%; z-index: 1; }

  .foto-card__back { padding: 0.9rem 0.7rem; }
  .foto-card__skills li { font-size: 0.65rem; padding: 0.28rem 0.5rem; }
  .foto-card__back-cargo { font-size: 0.58rem; }
}

/* ===== TRABALHOS / REELS ===== */

/* Layout 2 colunas */
.trabalhos__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.trabalhos__phone {
  display: flex;
  justify-content: center;
}

.trabalhos__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* align-items: center; */
  text-align: center;
}

.trabalhos__info .case-list {
  text-align: left;
  width: 100%;
}

.trabalhos__desc {
  color: var(--cinza);
  line-height: 1.7;
  max-width: 100%;
}

/* Lista de cases */
.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--cinza-claro);
}

.case-item:first-child {
  border-top: 1px solid var(--cinza-claro);
}

.case-item__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--roxo);
  opacity: 0.2;
  line-height: 1;
  min-width: 2rem;
  letter-spacing: -0.02em;
}

.case-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case-item__nome {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--escuro);
}

.case-item__nicho {
  align-self: flex-start;
}

.case-item__resultado {
  font-size: var(--text-sm);
  color: var(--cinza);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .trabalhos__inner {
    grid-template-columns: 1fr;
  }

  .trabalhos__phone {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .reels-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .trabalhos__info {
    width: 100%;
  }
}

.reels-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

/* ---- Frame do iPhone ---- */
.reels-phone-frame {
  width: 290px;
  background: #1a1a1c;
  border-radius: 54px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #3a3a3c,
    0 0 0 5px #1c1c1e,
    0 0 0 7px #48484a,
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Botões de volume (esquerda) */
.reels-phone-frame::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 100px;
  width: 4px;
  height: 30px;
  background: #3a3a3c;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 46px 0 #3a3a3c, 0 84px 0 #3a3a3c;
  z-index: 20;
}

/* Botão power (direita) */
.reels-phone-frame::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 130px;
  width: 4px;
  height: 64px;
  background: #3a3a3c;
  border-radius: 0 2px 2px 0;
  z-index: 20;
}

/* Tela ocupa o frame inteiro */
.reels-phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #000;
  display: block;
  overflow: hidden;
  position: relative;
}

/* Dynamic Island — overlay sobre o conteúdo */
.reels-phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 15;
}

/* Status bar — overlay transparente sobre o conteúdo */
.reels-phone-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 0;
  height: 50px;
  z-index: 14;
  pointer-events: none;
}

.reels-phone-status__time {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.reels-phone-status__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Home indicator — overlay na base */
.reels-phone-home {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  z-index: 15;
  pointer-events: none;
}

/* ---- Feed de Reels ---- */
.reels-feed {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reels-feed::-webkit-scrollbar {
  display: none;
}

/* ---- Cada Reel ---- */
.reel {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
  background: #111;
  overflow: hidden;
}

.reel__media {
  width: 100%;
  height: 100%;
  position: relative;
}

.reel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* placeholder enquanto não tem thumb real */
.reel__placeholder-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a2a1a 100%);
}

.reel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  width: 100%;
}

.reel__play:hover {
  background: rgba(143, 30, 174, 0.5);
}

.reel__play svg {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* Overlay com info do cliente */
.reel__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
}

.reel__cliente {
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.reel__nicho {
  color: var(--verde);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reel__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.reel__scroll-hint span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: bounce-hint 1.8s ease-in-out infinite;
}

/* Estado: vídeo tocando */
.reel.is-playing .reel__play {
  display: none;
}

.reel.is-playing video {
  display: block;
}

.reel video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ---- Dica de scroll — overlay dentro do celular ---- */
.reels-hint {
  position: absolute;
  bottom: 22%;
  left: 0;
  right: 0;
  transform: none;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 13;
  pointer-events: none;
  animation: bounce-hint 2s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---- Mobile: mantém frame do celular, reduz tamanho ---- */
@media (max-width: 768px) {
  .reels-phone-frame {
    width: min(360px, 96vw);
    margin-inline: auto;
  }

  .reels-phone-screen {
    aspect-ratio: unset;
    height: calc(100vh - 100px);
    max-height: none;
    border-radius: 0;
    width: 100%;
  }

  .reels-hint { display: none; }
  .reels-phone-home { display: none; }
}

/* ===== MODAL REELS (mobile) ===== */
.reels-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #000;
  flex-direction: column;
}

.reels-modal.is-open {
  display: flex;
}

.reels-modal__back {
  position: absolute;
  top: 52px;
  left: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.reels-modal__feed {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reels-modal__feed::-webkit-scrollbar { display: none; }

.reels-modal__slide {
  width: 100%;
  height: 100dvh;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: #000;
}

.reels-modal__slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reels-modal__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.1rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.reels-modal__cliente {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.reels-modal__nicho {
  display: block;
  color: var(--verde);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.reels-modal__tap-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* Só ativo no mobile */
@media (min-width: 769px) {
  .reels-modal { display: none !important; }
}

/* ===== CTA FINAL ===== */
.cta-final {
  background-color: var(--roxo);
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.cta-final__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-final__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

/* formas geométricas flutuantes — sobre fundo roxo */
.cta-shape {
  position: absolute;
  pointer-events: none;
}

/* branco — círculo grande, canto superior direito */
.cta-shape--1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  top: -200px;
  right: -160px;
  animation: float-a 8s ease-in-out infinite alternate;
}

/* verde — círculo grande, canto inferior esquerdo */
.cta-shape--2 {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px solid rgba(168, 224, 99, 0.2);
  background: rgba(168, 224, 99, 0.05);
  bottom: -180px;
  left: -140px;
  animation: float-b 10s ease-in-out infinite alternate;
}

/* branco — quadrado arredondado, lateral direita centro */
.cta-shape--3 {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  top: 50%;
  right: 6%;
  animation: float-c 6s ease-in-out infinite alternate;
}

/* verde — quadrado pequeno, topo esquerdo */
.cta-shape--4 {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  border: 2px solid rgba(168, 224, 99, 0.28);
  background: rgba(168, 224, 99, 0.08);
  top: 12%;
  left: 10%;
  animation: float-d 5s ease-in-out infinite alternate;
}

/* branco — círculo médio, esquerda centro */
.cta-shape--5 {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  bottom: 10%;
  left: 8%;
  animation: float-a 7s ease-in-out infinite alternate;
}

/* verde — círculo pequeno, topo direito */
.cta-shape--6 {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(168, 224, 99, 0.22);
  background: rgba(168, 224, 99, 0.07);
  top: 8%;
  right: 22%;
  animation: float-b 9s ease-in-out infinite alternate;
}

.cta-final__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--branco);
  text-shadow: 0px 4px 24px rgba(0, 0, 0, 0.35);
}

.cta-final__sub {
  color: rgba(255, 255, 255, 0.8);
  max-width: 460px;
  line-height: 1.7;
  font-size: 1rem;
}

.cta-final__sub strong {
  color: #fff;
  font-weight: 600;
}

.cta-form__msg-wrap {
  position: relative;
}

.cta-form__char-count {
  position: absolute;
  bottom: 0.4rem;
  right: 0.7rem;
  font-size: 0.65rem;
  color: #b0a8c8;
  pointer-events: none;
}

.cta-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.cta-form__privacy svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ===== FORMULÁRIO CTA ===== */
.cta-form {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}

.cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cta-form__field {
  position: relative;
}

.cta-form__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #b0a8c8;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.cta-form__input {
  background: #f7f5fb;
  border: 1.5px solid #e8e3f2;
  border-radius: 12px;
  padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  font-size: 0.88rem;
  color: #3a2a5c;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.cta-form__input::placeholder {
  color: #b0a8c8;
}

.cta-form__input:focus {
  border-color: var(--roxo);
  box-shadow: 0 0 0 3px rgba(123, 47, 190, 0.12);
  background: #fff;
}

.cta-form__select {
  appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}

.cta-form__select-wrap {
  position: relative;
}

.cta-form__select-wrap::after {
  content: '';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b0a8c8;
  pointer-events: none;
}

.cta-form__btn {
  background: var(--verde);
  color: var(--branco);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.397);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  width: 100%;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.cta-form__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-form__btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .cta-form {
    padding: 1.5rem 1.25rem;
  }
  .cta-form__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ===== FOOTER LINKS ===== */
.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
  .footer-base .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
