/* ============================================================
   VENKTUR DESIGN SYSTEM — 2025
   Inspired by Apple's visual language
   Brand: #FE0089 (primary pink) · #4C414C (brand dark)
   ============================================================ */


/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Brand colors */
  --color-primary:        #FE0089;
  --color-primary-soft:   rgba(254, 0, 137, 0.10);
  --color-primary-medium: rgba(254, 0, 137, 0.20);
  --color-primary-hover:  #d9006e;

  /* Surfaces */
  --color-surface:          #ffffff;
  --color-surface-2:        #f5f5f7;
  --color-surface-3:        #fafafa;
  --color-brand-dark:       #4C414C;
  --color-brand-dark-deep:  #2d2630;

  /* Text */
  --color-text-primary:            #1d1d1f;
  --color-text-secondary:          #6e6e73;
  --color-text-tertiary:           #86868b;
  --color-text-on-dark:            #f5f5f7;
  --color-text-on-dark-secondary:  rgba(245, 245, 247, 0.65);

  /* Spacing scale */
  --sp-4:   4px;
  --sp-8:   8px;
  --sp-12:  12px;
  --sp-16:  16px;
  --sp-24:  24px;
  --sp-32:  32px;
  --sp-48:  48px;
  --sp-64:  64px;
  --sp-80:  80px;
  --sp-120: 120px;

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;

  /* Border radius */
  --r-8:    8px;
  --r-12:   12px;
  --r-16:   16px;
  --r-20:   20px;
  --r-28:   28px;
  --r-full: 9999px;

  /* Shadows — multi-layer, soft */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10), 0 3px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.13), 0 8px 32px rgba(0,0,0,0.07);

  /* Transitions */
  --t-fast:   200ms ease;
  --t-base:   300ms ease;
  --t-slow:   420ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --container: 1120px;
  --nav-h:     72px;
}


/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Compensa a navbar fixa para links âncora não ficarem escondidos */
  scroll-padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-primary);
  margin: 0;
  padding: 0;
  background: var(--color-surface);
  overflow-x: hidden;
}


/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0 0 var(--sp-16);
}

/* Section-level heading with brand accent underline */
.vk-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-8);
}
.vk-title::after {
  content: '';
  display: block;
  /* Full-width gradient: ancora na largura do título e dissolve */
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    rgba(254, 0, 137, 0.25) 55%,
    transparent 100%
  );
  border-radius: var(--r-full);
  margin-top: 14px;
}

/* Small overline label above titles */
.vk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-8);
}
/* Leading accent line: ── NOSSA MISSÃO */
.vk-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

p {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--sp-16);
}

/* Thin horizontal brand rule — divisor interno de blocos de conteúdo */
.vk-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(254, 0, 137, 0.30) 0%,
    transparent 100%
  );
  border-radius: var(--r-full);
  margin: var(--sp-24) 0;
  border: none;
}


/* ── CONTAINER ───────────────────────────────────────────────── */
.vk-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}


/* ── NAVBAR ──────────────────────────────────────────────────── */

/* Glassmorphism fixed bar */
.vk-navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--sp-24);
  gap: var(--sp-24);

  /* Glass effect */
  background: rgba(44, 38, 48, 0.70);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.vk-navbar.vk-navbar--scrolled {
  background: rgba(44, 38, 48, 0.93);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--shadow-sm);
}

/* Logo */
.vk-navbar__logo { flex-shrink: 0; transition: opacity var(--t-fast); }
.vk-navbar__logo:hover { opacity: 0.75; }
.vk-navbar__logo img { height: 42px; width: auto; display: block; }

/* Desktop link strip */
.vk-navbar__strip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.vk-navbar__strip > * { pointer-events: auto; }

.vk-nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Individual nav link */
.vk-nav-link {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: var(--sp-8) var(--sp-12);
  border-radius: var(--r-8);
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.vk-nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.vk-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.vk-nav-link:hover::after { transform: scaleX(1); }

/* Active link — scrollspy */
.vk-nav-link--active {
  color: #fff;
}
.vk-nav-link--active::after { transform: scaleX(1); }


/* ── CTA PILL BUTTON (navbar + mobile menu) ──────────────────── */
.vk-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--r-full);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 2px 14px rgba(254, 0, 137, 0.38);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.vk-nav-btn:hover {
  background: #d40073;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(254, 0, 137, 0.52);
  color: #fff;
}
.vk-nav-btn:active { transform: translateY(0); }


/* Hamburger button — visible on mobile */
.vk-navbar__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: var(--r-full);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.vk-navbar__burger:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

/* Full-screen mobile menu */
.vk-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(18, 13, 22, 0.98);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  /* Spring-scale from top: fechado */
  opacity: 0;
  transform: translateY(-18px) scale(0.96);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity  0.38s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.vk-mobile-menu.vk-mobile-menu--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Stagger de entrada dos links */
.vk-mobile-menu .vk-nav-links li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.vk-mobile-menu.vk-mobile-menu--open .vk-nav-links li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.10s; }
.vk-mobile-menu.vk-mobile-menu--open .vk-nav-links li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.17s; }
.vk-mobile-menu.vk-mobile-menu--open .vk-nav-links li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.vk-mobile-menu.vk-mobile-menu--open .vk-nav-links li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.31s; }

/* CTA no menu mobile */
.vk-mobile-cta {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  margin-top: var(--sp-24);
  font-size: 16px;
  padding: 14px 40px;
}
.vk-mobile-menu.vk-mobile-menu--open .vk-mobile-cta {
  opacity: 1;
  transform: none;
  transition-delay: 0.38s;
}
.vk-mobile-menu .vk-nav-links {
  flex-direction: column;
  gap: var(--sp-4);
}
.vk-mobile-menu .vk-nav-link {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: var(--sp-12) var(--sp-32);
  border-radius: var(--r-12);
}
.vk-mobile-menu .vk-nav-link::after { display: none; }
.vk-mobile-menu .vk-nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* Close × button inside mobile menu */
.vk-mobile-menu__close {
  position: absolute;
  top: var(--sp-24);
  right: var(--sp-24);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: var(--r-full);
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.vk-mobile-menu__close:hover { background: rgba(255, 255, 255, 0.18); }

/* Responsive: show burger, hide strip */
@media (max-width: 767px) {
  .vk-navbar__strip { display: none; }
  .vk-navbar__burger { display: flex; }
}


/* ── HERO (VIDEO) ────────────────────────────────────────────── */
.vk-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--sp-80);
  overflow: hidden;
  /* Diagonal: esquerda sobe 80px, direita fica no fim */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 80px));
  z-index: 3;
}

/* Linha de brilho brand na aresta diagonal Hero → S1.
   O clip-path recorta este ::after diagonalmente,
   renderizando o brilho exatamente sobre a aresta de corte. */
.vk-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent           0%,
    rgba(254, 0, 137, 0.4) 15%,
    #FE0089               45%,
    #ff7dd4               55%,
    rgba(254, 0, 137, 0.4) 85%,
    transparent           100%
  );
  box-shadow:
    0 0 10px  rgba(254, 0, 137, 0.80),
    0 0 28px  rgba(254, 0, 137, 0.45),
    0 0 60px  rgba(254, 0, 137, 0.20);
  z-index: 5;
  pointer-events: none;
}

.vk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient overlay — dark at bottom so text reads */
.vk-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 17, 26, 0.18) 0%,
    rgba(22, 17, 26, 0.05) 45%,
    rgba(22, 17, 26, 0.68) 100%
  );
  z-index: 1;
}

.vk-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding-inline: var(--sp-24);
}

.vk-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--sp-12);
}
.vk-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 9999px;
  flex-shrink: 0;
}

.vk-hero__title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--sp-32);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.vk-hero__title em {
  font-style: normal;
  /* Gradient brand no texto em itálico do hero */
  background: linear-gradient(120deg, #FE0089 0%, #ff7dd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pill CTA with glass effect */
.vk-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  padding: var(--sp-12) var(--sp-24);
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  animation: heroFloat 2.8s ease-in-out infinite;
}
.vk-hero__cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
  transform: translateY(-3px);
  animation: none;
}

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

.vk-hero__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ── SECTIONS ────────────────────────────────────────────────── */
.vk-section {
  padding-block: 88px;
  padding-inline: var(--sp-24);
}

/* Background variants */
.vk-section--white { background: var(--color-surface); }
.vk-section--gray  { background: var(--color-surface-2); }

/* Contact section — dark overlay over image (image set inline in template) */
.vk-section--contact {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-block: var(--sp-120);
  padding-inline: var(--sp-24);
}
.vk-section--contact::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Direcional: imagem viva à esquerda (sem formulário), escuro à direita (atrás do card) */
  background: linear-gradient(
    100deg,
    rgba(18, 13, 22, 0.28) 0%,
    rgba(18, 13, 22, 0.52) 38%,
    rgba(18, 13, 22, 0.88) 100%
  );
}
.vk-section--contact > * { position: relative; z-index: 1; }

/* S1 — image section (image set inline in template) */
.vk-section--imgbg {
  position: relative;
  background-size: cover;
  background-position: bottom center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: var(--sp-120);
  padding-inline: var(--sp-24);
  /* Garante padding-top extra para não colidir com navbar fixa */
  padding-top: calc(var(--nav-h) + var(--sp-48));
  /* Corte diagonal S1 → S2: esquerda fica, direita sobe 80px */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
  /* Sobe para preencher o triângulo recortado do hero */
  margin-top: -80px;
  z-index: 2;
}
.vk-section--imgbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(22, 17, 26, 0.20) 0%,
    rgba(22, 17, 26, 0.05) 100%
  );
}
.vk-section--imgbg > * { position: relative; z-index: 1; }

/* Linha de brilho brand na aresta diagonal S1 → S2
   Mais suave que a do hero — hierarquia visual preservada */
.vk-section--imgbg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent            0%,
    rgba(254, 0, 137, 0.25) 10%,
    rgba(254, 0, 137, 0.70) 40%,
    #ff7dd4                55%,
    rgba(254, 0, 137, 0.70) 70%,
    rgba(254, 0, 137, 0.25) 90%,
    transparent            100%
  );
  box-shadow:
    0 0 8px  rgba(254, 0, 137, 0.60),
    0 0 20px rgba(254, 0, 137, 0.28);
  z-index: 5;
  pointer-events: none;
}

/* S2 sobe para preencher o recorte diagonal de S1 */
.vk-section--imgbg + .vk-section {
  margin-top: -80px;
  padding-top: calc(88px + 80px);
  position: relative;
  z-index: 1;
}


/* ── 2-COLUMN GRID ───────────────────────────────────────────── */
.vk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}
/* Reverse: image right, text left */
.vk-grid-2--rev { direction: rtl; }
.vk-grid-2--rev > * { direction: ltr; }

@media (max-width: 767px) {
  .vk-section { padding-block: 60px; }
  .vk-grid-2,
  .vk-grid-2--rev { grid-template-columns: 1fr; gap: var(--sp-32); direction: ltr; }

  /* S1: altura menor no mobile + diagonal reduzida + sobe para preencher hero */
  .vk-hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px)); }
  .vk-section--imgbg { min-height: 75vh; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); margin-top: -36px; }
  .vk-section--imgbg + .vk-section { margin-top: -36px; padding-top: calc(60px + 36px); }
  .vk-section--imgbg > div { justify-content: center !important; }
  .vk-section--imgbg .vk-hero-card { max-width: 100% !important; }

  /* S4: overlay uniforme (card é centralizado, cobre a imagem) */
  .vk-section--contact::before { background: rgba(18, 13, 22, 0.76); }
  .vk-section--contact > .vk-container > div { justify-content: center !important; }
  .vk-section--contact .vk-contact-card { max-width: 100% !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .vk-grid-2 { gap: 40px; }
  .vk-section { padding-block: 72px; }

  /* Tablet: diagonal intermediária com hero espelhado */
  .vk-hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 56px)); }
  .vk-section--imgbg { margin-top: -56px; }
  .vk-section--imgbg + .vk-section { margin-top: -56px; padding-top: calc(72px + 56px); }

  /* Tablet: S1 card centralizado com largura adequada */
  .vk-s1-wrap { justify-content: center; }
  .vk-s1-wrap .vk-hero-card { max-width: 520px; }

  /* Tablet: S4 overlay mais equilibrado + card centralizado */
  .vk-section--contact::before {
    background: linear-gradient(
      100deg,
      rgba(18, 13, 22, 0.45) 0%,
      rgba(18, 13, 22, 0.82) 100%
    );
  }
  .vk-section--contact > .vk-container > div { justify-content: center !important; }
  .vk-section--contact .vk-contact-card { max-width: 520px; }
}
/* Telas muito pequenas (< 480px): menos padding lateral para respirar mais */
@media (max-width: 479px) {
  .vk-section,
  .vk-section--contact,
  .vk-section--imgbg { padding-inline: var(--sp-16); }
  .vk-container { padding-inline: var(--sp-16); }
}


/* ── CARDS ───────────────────────────────────────────────────── */
.vk-card {
  background: var(--color-surface);
  border-radius: var(--r-20);
  padding: var(--sp-48);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.vk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* White frosted card for S1 hero */
.vk-hero-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-20);
  /* Fio de cor brand no topo do card */
  border-top: 2.5px solid var(--color-primary);
  padding: var(--sp-48);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Dark glass card for contact form */
.vk-contact-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--r-20);
  padding: var(--sp-32);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
  .vk-hero-card  { padding: var(--sp-32) var(--sp-24); }
  .vk-contact-card { padding: var(--sp-24); }
}


/* ── IMAGE ───────────────────────────────────────────────────── */
.vk-img {
  width: 100%;
  border-radius: var(--r-20);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.60s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── IMAGE WRAPPER com reveal e badge ─────────────────────── */
.vk-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-20);
  box-shadow: var(--shadow-lg);
  /* Reveal assimétrico: fechado antes de entrar no viewport */
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition:
    clip-path 0.80s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--t-fast),
    outline-color var(--t-fast);
  outline: 2px solid transparent;
  outline-offset: 3px;
}
/* Reveal da direita: S2 (imagem à direita) */
.vk-img-wrap--from-right {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
/* Estado visivel — acionado pelo IntersectionObserver via .vk-anim--in no pai */
.vk-anim.vk-anim--in .vk-img-wrap,
.vk-anim.vk-anim--in .vk-img-wrap--from-right {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.vk-img-wrap:hover {
  box-shadow: var(--shadow-xl);
  outline-color: rgba(254, 0, 137, 0.32);
}
.vk-img-wrap:hover .vk-img { transform: scale(1.05); }
.vk-img-wrap .vk-img { border-radius: 0; box-shadow: none; }

/* Badge flutuante sobre a imagem */
.vk-img-badge {
  position: absolute;
  bottom: var(--sp-16);
  left: var(--sp-16);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(18, 13, 22, 0.70);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  /* Entra após a imagem revelar */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.40s ease 0.60s, transform 0.40s ease 0.60s;
}
.vk-img-badge::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: var(--r-full);
  background: var(--color-primary);
  box-shadow: 0 0 6px rgba(254, 0, 137, 0.80);
}
.vk-anim.vk-anim--in .vk-img-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom suave no hover — fallback para imagens sem wrapper */
.vk-grid-2 > div:has(> .vk-img) {
  overflow: hidden;
  border-radius: var(--r-20);
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--t-fast);
}
.vk-grid-2 > div:has(> .vk-img):hover { box-shadow: var(--shadow-xl); }
.vk-grid-2 > div:has(> .vk-img) .vk-img { border-radius: 0; box-shadow: none; }
.vk-grid-2 > div:has(> .vk-img):hover .vk-img { transform: scale(1.05); }


/* ── SERVICE LIST ────────────────────────────────────────────── */
.vk-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-16) 0;
  display: flex;
  flex-direction: column;
}
.vk-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  font-size: 15px;
  color: var(--color-text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.vk-list li:last-child { border-bottom: none; }
.vk-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: var(--color-primary);
  border-radius: var(--r-full);
}


/* ── SERVICE ICON CARDS ─────────────────────────────────────── */
.vk-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: var(--sp-24);
}

.vk-service-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-surface);
  border-radius: var(--r-12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.vk-service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.vk-service-icon {
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
}

.vk-service-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin: 0 0 2px;
  line-height: 1.3;
}

.vk-service-desc {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 479px) {
  .vk-service-grid { grid-template-columns: 1fr; }
}


/* ── BUTTONS ─────────────────────────────────────────────────── */
.vk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  height: 48px;
  padding: 0 var(--sp-24);
  border-radius: var(--r-12);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.vk-btn:hover  { transform: scale(1.025); }
.vk-btn:active { transform: scale(0.975); }

/* Filled primary */
.vk-btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(254, 0, 137, 0.32);
}
.vk-btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  box-shadow: 0 8px 22px rgba(254, 0, 137, 0.38);
}

/* Ghost for dark backgrounds */
.vk-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.vk-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}


/* ── FORMS ───────────────────────────────────────────────────── */
.vk-form-group { margin-bottom: var(--sp-16); }

.vk-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.vk-label span { opacity: 0.5; font-weight: 400; }

/* Input & textarea share the same base style */
.vk-input,
.vk-textarea {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-12);
  padding: 0 var(--sp-16);
  height: 48px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
}
.vk-textarea {
  height: auto;
  padding: var(--sp-12) var(--sp-16);
  min-height: 120px;
  resize: vertical;
}
.vk-input:focus,
.vk-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(254, 0, 137, 0.18);
  background: #fff;
}
.vk-input::placeholder,
.vk-textarea::placeholder { color: rgba(0,0,0,0.30); }

/* Bootstrap validation hooks */
.was-validated .vk-input:invalid,
.was-validated .vk-textarea:invalid {
  border-color: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}
.was-validated .vk-input:valid,
.was-validated .vk-textarea:valid {
  border-color: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.13);
}

/* Show invalid-feedback for our inputs */
.was-validated .vk-input:invalid ~ .invalid-feedback,
.was-validated .vk-textarea:invalid ~ .invalid-feedback {
  display: block;
}
/* Checkbox: use :has() for modern browsers */
.vk-form-group:has(input[type="checkbox"]:invalid) .invalid-feedback {
  display: block;
}

.invalid-feedback {
  display: none;
  font-size: 12px;
  color: #ff6b6b;
  margin-top: var(--sp-4);
}

/* Checkbox */
.vk-check-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  line-height: 1.6;
}
.vk-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.vk-check-label a {
  color: var(--color-primary);
  text-decoration: none;
}
.vk-check-label a:hover { text-decoration: underline; }

/* Button row */
.vk-form-actions {
  display: flex;
  gap: var(--sp-12);
  margin-top: var(--sp-24);
}
.vk-form-actions .vk-btn { flex: 1; }


/* S1 card wrapper: alinha à direita no desktop, centralizado no mobile */
.vk-s1-wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
}
.vk-s1-wrap .vk-hero-card {
  max-width: 540px;
  width: 100%;
}
@media (max-width: 767px) {
  .vk-s1-wrap { justify-content: center; }
  .vk-s1-wrap .vk-hero-card { max-width: 100%; }
}


/* ── WHATSAPP FLOATING BUTTON ────────────────────────────────── */
.vk-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  /* Pulso sutil para chamar atenção */
  animation: waPulse 3s ease-in-out infinite;
}
.vk-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.18);
  animation: none;
  color: #fff;
}
.vk-whatsapp svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
/* Tooltip ao lado do botão */
.vk-whatsapp::before {
  content: 'Fale no WhatsApp';
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  padding: 6px 12px;
  border-radius: var(--r-8);
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.vk-whatsapp:hover::before {
  opacity: 1;
  transform: translateX(0);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40), 0 2px 8px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.70), 0 2px 8px rgba(0,0,0,0.15); }
}
@media (max-width: 767px) {
  .vk-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .vk-whatsapp::before { display: none; }
}


/* ── ALERTS (Django messages) ────────────────────────────────── */
.alert {
  border-radius: var(--r-12);
  padding: var(--sp-12) var(--sp-16);
  font-size: 14px;
  font-family: var(--font);
  border-width: 1px;
  margin-bottom: var(--sp-16);
}
.alert-success { background: rgba(52, 199,  89, 0.12); color: #1b6b30; border-color: rgba(52, 199, 89, 0.28); }
.alert-danger  { background: rgba(255, 59,  48, 0.10); color: #c0392b; border-color: rgba(255, 59, 48, 0.22); }
.alert-warning { background: rgba(255, 149,  0, 0.10); color: #b06010; border-color: rgba(255,149, 0, 0.22); }
.alert-info,
.alert-primary { background: rgba(0,  122, 255, 0.08); color: #0055c8; border-color: rgba(0,122,255, 0.18); }


/* ── FOOTER ──────────────────────────────────────────────────── */
.vk-footer {
  background: var(--color-brand-dark);
  padding: var(--sp-48) var(--sp-24);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.vk-footer__grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-32);
  align-items: center;
}
.vk-footer__logo img {
  height: 48px;
  width: auto;
  opacity: 0.88;
  display: block;
}
.vk-footer__info {
  text-align: center;
}
.vk-footer__info p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-on-dark-secondary);
  line-height: 1.9;
}
.vk-footer__phone {
  color: var(--color-text-on-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast);
}
.vk-footer__phone:hover { color: var(--color-primary); }

.vk-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
}
.vk-footer__social a:hover {
  background: var(--color-primary);
  transform: scale(1.10);
  color: #fff;
}

@media (max-width: 767px) {
  .vk-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-24);
  }
  .vk-footer__logo,
  .vk-footer__social { display: flex; justify-content: center; }
}


/* ── ANIMATION SYSTEM ────────────────────────────────────────── */

/* Viewport fade-in + slide-up — applied via IntersectionObserver */
.vk-anim {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  var(--t-slow),
    transform var(--t-slow);
}
.vk-anim.vk-anim--in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay variants */
.vk-anim--d1 { transition-delay: 80ms;  }
.vk-anim--d2 { transition-delay: 160ms; }
.vk-anim--d3 { transition-delay: 240ms; }
.vk-anim--d4 { transition-delay: 320ms; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .vk-anim { opacity: 1; transform: none; transition: none; }
  .vk-whatsapp { animation: none; }
}
