/* ============================================================
   KIP — Página "Nossos Resultados" (Cases). Escopo .kip-resultados.
   Fiel a /cases do React (hero + 3 depoimentos + preparation + highlights).
   ============================================================ */
.kip-resultados {
  --brown: #85733B; --yellow: #D6CD46; --cian: #020202; --body: #3A3A3A; --black: #020202;
  --font-heading: 'Montserrat', sans-serif; --font-body: 'Nunito', sans-serif;
  font-family: var(--font-body); color: var(--body); line-height: 1.65;
}
.kip-resultados *, .kip-resultados *::before, .kip-resultados *::after { box-sizing: border-box; }
.kip-resultados h1, .kip-resultados h2, .kip-resultados h3 { font-family: var(--font-heading); line-height: 1.1; margin: 0; }
.kip-resultados p { font-family: var(--font-body); margin: 0; }
.kip-resultados img { max-width: 100%; height: auto; display: block; }
.kip-resultados .kip-resultados__inner { max-width: 1300px; margin: 0 auto; padding: 0 30px; width: 100%; }

/* Botões (gradiente marrom -> amarelo padrão; variante cian) */
.kip-resultados__btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  color: #FFFFFF; text-decoration: none; cursor: pointer; border: none;
  padding: 12px 28px; border-radius: 8px;
  background: linear-gradient(90deg, #85733B 0%, #D6CD46 100%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kip-resultados__btn:hover { transform: scale(1.03); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.kip-resultados__btn--cian { background: linear-gradient(90deg, #85733B 0%, #D6CD46 100%); }

/* ===== HERO ===== */
.kip-resultados__hero { position: relative; color: #FFFFFF; overflow: hidden; scroll-margin-top: 200px; }
.kip-resultados__hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.kip-resultados__hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 1; }
.kip-resultados__hero-inner { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 160px; display: flex; flex-wrap: wrap; align-items: center; }
.kip-resultados__hero-content { width: 100%; max-width: 700px; text-align: left; }
.kip-resultados__hero-title { font-weight: 600; font-size: 30px; line-height: 30px; margin-bottom: 8px; }
.kip-resultados__hero-text { color: #FFFFFF; font-size: 18px; margin-bottom: 24px; }

/* ===== DEPOIMENTOS (vídeo) ===== */
.kip-resultados__anchor { scroll-margin-top: 150px; }
.kip-resultados__video { background: #FFFFFF; color: var(--cian); padding: 30px 0; }
.kip-resultados__row { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: space-between; }
.kip-resultados__media {
  position: relative; width: 100%; max-width: 500px; min-height: 400px;
  border-radius: 8px; overflow: hidden; cursor: pointer; background: #ddd;
  display: flex; align-items: center; justify-content: center;
}
.kip-videouse__cover { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center; }
.kip-videouse__play {
  position: relative; z-index: 3; width: 60px; height: 60px; border: none; background: transparent; cursor: pointer;
  color: #FFFFFF; font-size: 60px; line-height: 1; padding: 0; animation: kipResPulse 1.6s ease-in-out infinite;
}
.kip-videouse__play i { display: block; }
@keyframes kipResPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.92); } }
.kip-videouse__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 5; border: 0; }
.kip-resultados__media.is-playing .kip-videouse__play,
.kip-resultados__media.is-playing .kip-videouse__cover { display: none; }

.kip-resultados__content { width: 100%; text-align: center; }
.kip-resultados__eyebrow { font-family: var(--font-heading); font-weight: 600; font-size: 14px; text-transform: uppercase; color: #000000; margin-bottom: 6px; }
.kip-resultados__title { font-weight: 700; font-size: 30px; line-height: 30px; max-width: 500px; margin: 0 auto 10px; }
.kip-resultados__lead { margin-bottom: 12px; }
.kip-resultados__quote { display: flex; align-items: center; gap: 16px; text-align: left; margin: 0 auto 24px; }
.kip-resultados__bar { flex: none; width: 1px; align-self: stretch; min-height: 50px; background: var(--cian); }
.kip-resultados__quote p { margin: 0; }

/* ===== PREPARATION ===== */
.kip-resultados__preparation { padding: 40px 0; background: #F3F3F6; color: var(--cian); }
.kip-resultados__preparation-img { position: relative; width: 100%; max-width: 800px; margin: 0 auto; height: 30vh; overflow: hidden; border-radius: 16px; }
.kip-resultados__preparation-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 16px; }

/* ===== HIGHLIGHTS (pré-footer) ===== */
.kip-resultados__highlights { color: #FFFFFF; }
.kip-resultados__hl-grid { display: flex; flex-direction: column; width: 100%; }
.kip-resultados__hl-main {
  position: relative; min-height: 400px; padding: 0 30px;
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
}
.kip-resultados__hl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.kip-resultados__hl-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); z-index: 1; }
.kip-resultados__hl-headline {
  position: relative; z-index: 2; font-family: var(--font-body); font-weight: 800;
  font-size: 28px; line-height: 1.3; max-width: 600px; margin: 0 auto; color: #FFFFFF;
}
.kip-resultados__hl-cards { display: flex; flex-wrap: wrap; }
.kip-resultados__hl-card {
  position: relative; width: 100%; min-height: 400px; padding: 0 30px;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center; overflow: hidden;
}
.kip-resultados__hl-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.kip-resultados__hl-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.7)); z-index: 1; }
.kip-resultados__hl-card-content { position: relative; z-index: 2; padding-bottom: 40px; }
.kip-resultados__hl-card-title { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: #FFFFFF; }
.kip-resultados__hl-card-desc { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: #FFFFFF; text-align: center; margin: 5px auto 15px; }

/* ===== RESPONSIVO (>= 1024px) ===== */
@media (min-width: 768px) {
  .kip-resultados__hero-title { font-size: 40px; line-height: 40px; }
  .kip-resultados__hero-text { font-size: 20px; }
  .kip-resultados__title { font-size: 40px; line-height: 40px; }
  .kip-resultados__preparation { padding: 60px 0; }
  .kip-resultados__preparation-img { min-height: 60vh; height: auto; }
  .kip-resultados__hl-card { width: 50%; }
  .kip-resultados__hl-headline { font-size: 36px; }
}
@media (min-width: 1024px) {
  .kip-resultados__hero-inner { min-height: 70vh; padding-top: 240px; padding-bottom: 240px; }
  .kip-resultados__hero-title { font-size: 50px; line-height: 50px; }
  .kip-resultados__video { padding: 60px 0; }
  .kip-resultados__row { flex-direction: row; }
  /* No React, depoimento 1 e 2 têm a coluna de texto em cima no mobile e à
     direita no desktop; o 3º (acompanhamento) tem o texto à esquerda. */
  .kip-resultados__row--reverse { flex-direction: row-reverse; }
  .kip-resultados__media { width: 45%; min-height: 0; height: 70vh; max-height: 800px; }
  .kip-resultados__content { width: 45%; text-align: left; }
  .kip-resultados__title { font-size: 50px; line-height: 50px; margin-left: 0; }
  .kip-resultados__hl-grid { flex-direction: row; }
  .kip-resultados__hl-main { width: 40%; }
  .kip-resultados__hl-cards { width: 60%; }
  .kip-resultados__hl-headline { font-size: 46px; }
}
