/* =====================================================================
   VARIÁVEIS GLOBAIS
   Cores base
   Texto
===================================================================== */
:root {
  --bg-main: #050816;
  --bg-elevated: #0b1121;
  --accent: #39c6ff;
  --accent-2: #9b5cff;
  --text-main: #ffffff;
  --text-muted: #E2E8F0;
}

/* =====================================================================
   BASE GLOBAL
   Reset de box-sizing
   Scroll suave
   Body e container padrão
===================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* =====================================================================
   HEADER / NAVBAR
   Barra fixa com blur
   Logo
   Botão hambúrguer
   Menu mobile (overlay)
   Ordem: idioma, links, CTA
   Layout desktop (menu em linha)
===================================================================== */

/* ---------- Barra fixa ---------- */

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 999;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.9),
    rgba(5, 8, 22, 0.2)
  );
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled {
  background: rgba(5, 8, 22, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Logo ---------- */

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 32px;
  display: block;
}

/* ---------- Botão hambúrguer (mobile) ---------- */

.nav__toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(163, 178, 209, 0.3);
  background: rgba(5, 8, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav__toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Ícone hambúrguer vira X quando o menu está aberto */
.nav-open .nav__toggle-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .nav__toggle-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mantém o botão fixo no topo quando o overlay está aberto */
body.nav-open .nav__toggle {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 1100;
}

/* ---------- Menu mobile (overlay tela cheia) ---------- */

.nav__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050816;
  background-image: radial-gradient(
    circle at top,
    #111827 0,
    #050816 45%,
    #020617 100%
  );
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(64px + 1.5rem) 1.5rem 2.25rem;
  z-index: 998;
}

/* Estado aberto do overlay mobile */
.nav-open .nav__menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Ordem interna (mobile-first): idioma, links, CTA ---------- */

.nav__lang {
  order: 0;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.nav__list {
  order: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav__cta {
  order: 2;
  margin-top: 2.5rem;
  width: 100%;
}

/* Links de navegação */

.nav__link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
}

.nav__link:active {
  color: var(--accent);
}

/* ---------- Seletor de idioma (PT / EN) ---------- */

.nav__lang-btn {
  flex: 0 0 auto;
  min-width: 3.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(163, 178, 209, 0.4);
  background: rgba(5, 8, 22, 0.8);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  line-height: 1; /* ajuda a centralizar verticalmente */

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* para o gradiente do ativo não “vazar” */
  position: relative;
  overflow: hidden;
  z-index: 0;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.nav__lang-btn:hover:not(.nav__lang-btn--active) {
  border-color: var(--accent);
  color: var(--text-main);
}

/* estado ativo do idioma */
.nav__lang-btn--active {
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: transparent; /* gradiente vai pro ::before */
}

/* gradiente do pill ativo fica “dentro” do botão */
.nav__lang-btn--active::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(90deg, var(--accent-2), var(--accent));
  z-index: -1;
}

/* =====================================================================
   BOTÕES GENÉRICOS
   Base .btn
   Variação .btn--gradient
===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
}

/* gradiente só para botões .btn--gradient */
.btn--gradient {
  background-image: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* =====================================================================
   NAVBAR – LAYOUT DESKTOP (≥ 900px)
   Menu em linha
   Ordem: links, idioma, CTA
   Hover com sublinhado em gradiente
===================================================================== */

@media (min-width: 900px) {
  .nav {
    height: 72px;
  }

  .nav__logo {
    margin-right: 2.5rem;
  }

  /* esconde o hambúrguer no desktop */
  .nav__toggle {
    display: none;
  }

  /* menu vira linha ao lado da logo */
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    background-image: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1.75rem;
  }

  .nav__list {
    order: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
  }

  .nav__lang {
    order: 1;
    margin: 0 1.5rem 0 0;
  }

  .nav__cta {
    order: 2;
    margin-top: 0;
    width: auto;
    padding: 0.7rem 1.9rem;
    white-space: nowrap;
  }

  /* Hover dos links no desktop (sublinhado em gradiente) */
  .nav__link {
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
    padding-block: 0.25rem;
    transition: color 0.2s ease;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background-image: linear-gradient(90deg, #00D9FF, #9BFF3A);
    opacity: 0;
    transition:
      width 0.25s ease,
      opacity 0.25s ease;
  }

  .nav__link:hover {
    color: #9BFF3A;
  }

  .nav__link:hover::after {
    width: 100%;
    opacity: 1;
  }
}

/* =====================================================================
   LAYOUT GERAL
   Compensa altura da navbar fixa
===================================================================== */

main {
  padding-top: 64px;
}

@media (min-width: 900px) {
  main {
    padding-top: 72px; /* casa com a altura da navbar desktop */
  }
}

/* =====================================================================
   HERO
   Background com imagem desbotada
   Grid: texto + mockup
   Animação de flutuar do notebook
===================================================================== */

.hero {
  position: relative;
  padding-block: 5.5rem 4.5rem;
  overflow: hidden;
}

/* Fundo com imagem em baixa opacidade */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fundo-hero-compressed.jpeg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 900px) {
  .hero {
    padding-block: 5rem 3.5rem;
  }

  .hero::before {
    background-size: 1300px auto;
    background-position: center;
  }
}

/* Layout do conteúdo */

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}

.hero__content {
  max-width: 32rem;
}

/* eyebrow reutilizado em seções */

.hero__eyebrow,
.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__eyebrow {
  margin-bottom: 0.75rem;
}

.section__eyebrow {
  margin: 0 0 0.6rem;
}

.hero__title {
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero__subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}

/* Mockup do notebook */

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

.hero__notebook {
  width: 320px;
  max-width: 100%;
  border-radius: 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(148, 163, 184, 0.25);
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .hero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero__media {
    width: auto;
    justify-content: flex-end;
  }
}

/* =====================================================================
   SEÇÃO: SOBRE
   Cards (cultura + galeria)
   Pills de cultura
   Carrossel de imagens
===================================================================== */

.section--sobre {
  position: relative;
  padding-block: 4.5rem 4rem;
  overflow: hidden;
}

.section--sobre > .container {
  position: relative;
  z-index: 1;
}

.sobre__grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Card base */

.sobre-card {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.12), transparent 60%),
    #020617;
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.sobre-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.sobre-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sobre-card__text--small {
  margin-top: 1.25rem;
  font-size: 0.85rem;
}

/* Pills cultura */

.sobre-pill-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.sobre-pill {
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sobre-pill strong {
  font-size: 0.86rem;
}

.sobre-pill span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Galeria (carrossel) */

.sobre-gallery {
  margin-top: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 0.75rem 0.75rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sobre-gallery__viewport {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
}

.sobre-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.sobre-gallery__image.is-active {
  opacity: 1;
}

.sobre-gallery__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.sobre-gallery__control--prev {
  left: 1px;
}

.sobre-gallery__control--next {
  right: 1px;
}

.sobre-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.sobre-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.4);
  padding: 8px;
  cursor: pointer;
}

.sobre-gallery__dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

/* Layout desktop da seção SOBRE */

@media (min-width: 900px) {
  .section--sobre {
    padding-block: 5rem 4.5rem;
  }

  .sobre__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
  }

  /* garante que os dois cards tenham a mesma altura */
  .sobre-card {
    height: 100%;
  }

  /* deixa a galeria um pouquinho maior no desktop */
  .sobre-gallery__viewport {
    height: 260px;
  }
}

/* =====================================================================
   SEÇÃO: RECURSOS
   Cards com efeito de entrar (reveal)
   Grid responsivo
===================================================================== */

.section--recursos {
  padding-block: 4.5rem 4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  position: relative;
  overflow: hidden;
}

.section--recursos > .container {
  position: relative;
  z-index: 1;
}

.recursos-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recurso-card {
  background: radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(147, 51, 234, 0.12),
      transparent 60%
    ),
    #020617;
  border-radius: 24px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);

  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.recurso-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.recurso-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* layout em colunas no desktop */
@media (min-width: 768px) {
  .recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

/* =====================================================================
   SEÇÃO: COMO FUNCIONA
   Cards de passos
===================================================================== */

.section--steps {
  position: relative;
  padding-block: 4.5rem 4rem;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.section--steps > .container {
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  border-radius: 24px;
  padding: 1.6rem 1.4rem;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.22), transparent 60%),
    linear-gradient(135deg, #020617, #020617);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Variações de cor por passo */

.step-card--1 {
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.4), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.3), transparent 60%),
    #020617;
}

.step-card--2 {
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.35), transparent 60%),
    #020617;
}

.step-card--3 {
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.4), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.4), transparent 60%),
    #020617;
}

.step-card__tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 0.6rem;
  opacity: 0.95;
}

.step-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.step-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  opacity: 0.9;
}

/* Layout em colunas no desktop */

@media (min-width: 900px) {
  .steps-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .step-card {
    flex: 1;
  }

  /* desníveis sutis pra dar dinamismo */
  .step-card--1 {
    transform: translateY(10px);
  }

  .step-card--2 {
    transform: translateY(-10px);
  }

  .step-card--3 {
    transform: translateY(30px);
  }
}

/* =====================================================================
   SEÇÃO: COMO FUNCIONA
   Bloco com mockup do app (steps-app)
===================================================================== */

.steps-app {
  margin-top: 3rem;
  border-radius: 24px;
  padding: 1.8rem 1.6rem;
  background: radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(147, 51, 234, 0.2),
      transparent 60%
    ),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps-app__content {
  max-width: 26rem;
}

.steps-app__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.steps-app__title {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.steps-app__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.steps-app__media {
  display: flex;
  justify-content: center;
}

.steps-app__image {
  max-width: 260px;
  width: 100%;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.85));
}

@media (min-width: 900px) {
  .steps-app {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.2rem 2rem;
  }

  .steps-app__media {
    justify-content: flex-end;
  }

  .steps-app__image {
    max-width: 280px;
  }
}

/* =====================================================================
   ANIMAÇÕES: REVEAL AO ROLAR
   data-reveal genérico
   ajustes para step-card
   hover especial dos cards de recursos já visíveis
===================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* passo a passo entra um pouco mais de baixo */
.step-card[data-reveal] {
  transform: translateY(32px);
}

/* quando o JS adiciona .is-visible */
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* hover dos cards de recursos só depois que eles aparecerem */
.recurso-card[data-reveal].is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.35);
}

/* =====================================================================
   AJUSTES DESKTOP SEÇÃO RECURSOS
   Espaçamento e altura mínima dos cards
===================================================================== */

@media (min-width: 900px) {
  .section--recursos {
    padding-block: 5rem 4.5rem;
  }

  /* título + texto um pouco mais compactos */
  .section--recursos .section__header {
    max-width: 36rem;
    margin-bottom: 2.2rem;
  }

  /* afasta os cards do título */
  .recursos-grid {
    margin-top: 0.5rem;
  }

  /* dá uma altura mínima pros cards ficarem mais parecidos */
  .recurso-card {
    min-height: 190px;
  }
}

/* =====================================================================
   SEÇÃO: DEPOIMENTOS
   Carrossel com setas laterais e dots
===================================================================== */

.section--testimonials {
  position: relative;
  padding-block: 4.5rem 4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.section--testimonials > .container {
  position: relative;
  z-index: 1;
}

.testimonials {
  margin-top: 2.2rem;
}

.testimonials__viewport {
  position: relative;
  border-radius: 22px;
  background: #020617;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: visible;
}

.testimonial-card {
  display: none;
  padding: 1.2rem 1.1rem 1.3rem;
  flex-direction: column;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-card.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.9), rgba(15, 23, 42, 1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-card__role {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-card__text {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

.testimonial-card__tagline {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* setas do carrossel */

.testimonials__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  backdrop-filter: blur(6px);
  z-index: 3;
}

.testimonials__control--prev {
  left: -22px;
}

.testimonials__control--next {
  right: -22px;
}

/* dots do carrossel */

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.85rem;
}

.testimonials__dot {
  width: 7px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.45);
  padding: 14;
  cursor: pointer;
}

.testimonials__dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

@media (max-width: 600px) {
  .testimonials__viewport {
    padding: 1.5rem 1.4rem 1.9rem;
  }
}

/* =====================================================================
   SEÇÃO: EQUIPE
   Cards com integrantes e tags de atuação
===================================================================== */

.section--team {
  position: relative;
  padding-block: 4.5rem 4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.section--team > .container {
  position: relative;
  z-index: 1;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2rem;
}

.team-card {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.14), transparent 60%),
    #020617;
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.35);
}

.team-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.team-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.95), rgba(15, 23, 42, 1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.team-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.team-card__role {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.team-card__bio {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

.team-card__tags {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.team-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =====================================================================
   SEÇÃO: INSTAGRAM
   Grid de posts
   Card lateral com CTA do perfil
===================================================================== */

.section--instagram {
  position: relative;
  padding-block: 4.5rem 4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.section--instagram > .container {
  position: relative;
  z-index: 1;
}

.instagram-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* grid de posts */

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.instagram-post {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  aspect-ratio: 1 / 1;
}

.instagram-post__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.instagram-post__overlay {
  position: absolute;
  inset: 0;
  padding: 0.75rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.72) 35%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.instagram-post__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.instagram-post__text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-main);
}

/* hover só em dispositivos com mouse */

@media (hover: hover) and (pointer: fine) {
  .instagram-post:hover .instagram-post__image {
    transform: scale(1.05);
  }

  .instagram-post:hover .instagram-post__overlay {
    opacity: 1;
  }
}

/* em toque (mobile) */

@media (hover: none) and (pointer: coarse) {
  .instagram-post__overlay {
    opacity: 1;
  }
}

/* card lateral com CTA do perfil */

.instagram-cta {
  border-radius: 24px;
  padding: 1.7rem 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.18), transparent 60%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.instagram-cta__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.instagram-cta__title {
  margin: 0;
  font-size: 1.2rem;
}

.instagram-cta__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.instagram-cta__handle {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.instagram-cta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.instagram-cta__user {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.instagram-cta__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.instagram-cta__button {
  margin-top: 0.9rem;
  align-self: flex-start;
}

@media (min-width: 900px) {
  .instagram-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .instagram-feed {
    flex: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .instagram-cta {
    flex: 1;
    align-self: center;
  }
}

/* =====================================================================
   RODAPÉ / CONTATO
   Cartão principal do footer
   Colunas de contato e navegação
===================================================================== */

.section--footer {
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.18), transparent 60%),
    #020617;
}

.footer-card {
  border-radius: 24px;
  padding: 2rem 1.6rem 1.6rem;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}

.footer-brand__logo {
  height: 28px;
  margin-bottom: 0.9rem;
}

.footer-brand__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-title {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-link {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--text-main);
}

/* linha final do footer */

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-bottom__text {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.9);
}

.footer-bottom__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-jujuba-logo {
  height: 20px;
}

@media (min-width: 900px) {
  .section--footer {
    padding-block: 4rem 3rem;
  }

  .footer-card {
    padding: 2.2rem 2rem 1.8rem;
  }

  .footer-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-brand {
    flex: 1.2;
  }

  .footer-contact,
  .footer-links {
    flex: 1;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* =====================================================================
   BOTÃO VOLTAR AO TOPO
===================================================================== */

.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 900;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .scroll-top {
    display: flex;
  }
}

/* =====================================================================
   HOVERS BOTÕES PRINCIPAIS (DESKTOP)
   CTA do nav
   Botão principal da hero
   Botão da seção Instagram
===================================================================== */

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  /* Navbar "Baixar app" */
  .nav__cta:hover {
    background-image: linear-gradient(90deg, #00D9FF, #9BFF3A);
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  }

  /* Hero "Acessar plataforma" */
  .hero .btn--gradient:hover {
    background-image: linear-gradient(90deg, #00D9FF, #9BFF3A);
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  }

  /* CTA da seção Instagram */
  .instagram-cta__button:hover {
    background-image: linear-gradient(90deg, #FF00D4, #00D9FF);
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  }
}