/* =========================================================
   PÁGINA: PROVA (Light Mode - Figma Identity)
   ========================================================= */
:root {
  --bg: #070A12;
  --panel: #0B1020;
  --card: #0E1630;
  --text: #EAF0FF;
  --muted: rgba(234, 240, 255, .78);
  --soft: rgba(234, 240, 255, .10);
  --soft2: rgba(234, 240, 255, .16);
  --line: rgba(234, 240, 255, .14);

  --accent: #6BE4FF;
  --accent2: #64FFB6;
  --accent3: #B58CFF;

  --radius: 18px;
  --radius2: 24px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .40);
  --shadow2: 0 10px 26px rgba(0, 0, 0, .34);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid var(--soft2);
  font-weight: 800;
  white-space: nowrap;
  background: rgba(234, 240, 255, .06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid var(--soft2);
  font-weight: 800;
  white-space: nowrap;
  background: rgba(234, 240, 255, .06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  color: #EAF0FF;
}

.page-prova {
  background-color: #FAFAFA;
  /* Fundo geral claro */
  width: 100%;
}

.container {
  margin: 0 10%;
}

.proof-section {
  padding: 40px 0;
}

/* Removemos a caixa branca do painel, funde com o fundo */
.proof-section .panel {
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  /* Sombra super discreta */
  overflow: hidden;
}

.proof-section .panel-inner {
  padding: 40px;
}

.proof-section .section-head .btn {
  color: #111827cc;
}

/* Cabeçalho da Secção */
.proof-section .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.proof-section .section-head h2 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ==========================================
   A GRELHA (1 Destaque + 3 Minis)
   ========================================== */
.proof-section .collection {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* CARTÕES (Aplica a ambos: Destaque e Mini) */
.proof-section .feature,
.proof-section .mini {
  border: 1px solid rgba(234, 240, 255, 0.12);
  border-radius: var(--radius2, 24px);
  background: rgba(234, 240, 255, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.proof-section .mini {
  border-radius: var(--radius, 18px);
}

.proof-section .feature:hover,
.proof-section .mini:hover {
  border-color: rgba(234, 240, 255, 0.24);
  background: rgba(234, 240, 255, 0.05);
}

/* Imagens */
.proof-section .feature-media {
  height: 320px;
}

.proof-section .mini-media {
  height: 140px;
}

.proof-section .feature-media,
.proof-section .mini-media {
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(234, 240, 255, 0.1);
}

.proof-section .feature-media {
  background-image: var(--demoImg);
}

.proof-section .mini-media {
  background-image: var(--demoImgMini);
}

/* Degradê Escuro por cima das imagens para os botões lerem bem */
.proof-section .overlay,
.proof-section .mini-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(0deg, rgba(11, 16, 32, 0.8) 0%, transparent 60%);
}

.proof-section .mini-overlay {
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.proof-section .mini:hover .mini-overlay {
  opacity: 1;
  /* O botão só aparece no hover no desktop */
}

/* Botão Glassmorphism "Ver detalhe" nas imagens */
.btn.primary-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn.primary-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Corpos dos Cartões (Onde vive o texto) */
.proof-section .feature-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proof-section .mini-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-section .feature-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.proof-section .mini-body h4 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.proof-section .feature-body p,
.proof-section .mini-body p {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
  margin: 0;
}

/* Oculta texto muito longo no mini card */
.proof-section .mini-body p {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pills / Tags Escuras */
.proof-section .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proof-section .pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  color: #4B5563;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Subgrid para empilhar os Minis */
.proof-section .subgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Responsividade */
@media (max-width: 980px) {
  .proof-section .collection {
    grid-template-columns: 1fr;
  }

  .proof-section .feature-media {
    height: 260px;
  }

  .proof-section .mini-overlay {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .proof-section .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   ESTRUTURA DOS TESTEMUNHOS (LAYOUT APENAS)
   ========================================================= */

#proof {
  padding: 80px 0;
}

#proof .proof-wrap {
  border-radius: var(--radius2, 24px);
  border: 1px solid;
  /* APLICAR COR DA BORDA AQUI */
  overflow: hidden;
  /* APLICAR BACKGROUND AQUI */
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  /* background: linear-gradient(180deg, rgba(11,16,32,.76), rgba(11,16,32,.58)); */
  box-shadow: var(--shadow2);
  overflow: hidden;
}

#proof .proof-inner {
  padding: 32px 40px;
  /* Margem interna da caixa gigante */
}

.proof-testimonials {
  background: linear-gradient(90deg, #42146F 0%, #182C71 100%);
}

/* 1. Título e Botão (Topo) */
.t-head-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.t-head-top h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
}

/* Linhas Divisórias */
.proof-divider {
  width: 100%;
  height: 1px;
  margin: 0;
  background-color: rgba(234, 240, 255, .14);
}

/* 2. Barra de Navegação (Meio) */
.t-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.t-nav-bar .sub-text {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 400;
}

.t-nav-bar .arrows {
  display: flex;
  gap: 12px;
}

.rwi-t-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* Conforme imagem, setas redondas */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(234, 240, 255, .16);
  background-color: rgba(234, 240, 255, .04);
}

.rwi-t-nav:hover,
.rwi-t-nav:focus {
  background: rgba(107, 228, 255, 0.2);
}

/* 3. Área do Carrossel (Baixo) */
.t-carousel-wrap {
  padding-top: 24px;
}

#tCarousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 16px);
  gap: 24px;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

/* Estrutura do Cartão */
.t-card-wrap {
  scroll-snap-align: start;
  border: 1px solid rgba(234, 240, 255, .16);
  border-radius: var(--radius);
  background: rgba(234, 240, 255, .04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  padding: 14px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.t-card-wrap .c-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-logo-initials {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(234, 240, 255, .18);
  background: radial-gradient(circle at 30% 20%, rgba(107, 228, 255, .55), rgba(181, 140, 255, .28) 55%, rgba(100, 255, 182, .16) 100%), rgba(234, 240, 255, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(234, 240, 255, .90);
  flex: 0 0 auto;
}

.t-card-wrap h4 {
  margin: 0;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: 700;
}

.t-card-wrap .c-text {
  font-size: 14px;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0;
}

/* Responsividade Básica */
@media (max-width: 980px) {
  #tCarousel {
    grid-auto-columns: calc(50% - 12px);
  }

  /* Mostra 2 no tablet */
  #proof .proof-inner {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  #tCarousel {
    grid-auto-columns: 100%;
  }

  /* Mostra 1 no telemóvel */
  .t-head-top,
  .t-nav-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}