/* =====================================================
   KRIPTASITE — KERNEL VISUAL v1.0
   KriptaCorp • Estilo Institucional Canônico
   ===================================================== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #020813;
  color: #e6f3ff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #48e2c8;
  text-decoration: none;
}

/* CONTAINER GERAL */
.page-wrapper {
  width: 100%;
  padding: 24px 1.5cm 36px;
}

/* =====================================================
   HEADER
   ===================================================== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  margin-bottom: 26px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: radial-gradient(
    circle at 30% 20%,
    #ffefc3 0%,
    #c3a051 40%,
    #4a3920 100%
  );
  border: 1px solid rgba(255, 232, 160, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff8dc;
  box-shadow:
    0 0 14px rgba(255, 227, 156, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffeab2;
}

.brand-subtitle {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #d4c195;
}

/* NAV */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-main {
  display: flex;
  gap: 18px;
}

.nav-link {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d9d1bf;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffdf9a, #ffeabf);
  transition: width 0.18s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.badge-et {
  padding: 6px 12px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 230, 150, 0.12);
  color: #ffeec9;
  border: 1px solid rgba(255, 220, 150, 0.45);
}

/* =====================================================
   PRESENCE BAR
   ===================================================== */

.presence-bar {
  border-top: 1px solid rgba(255, 220, 150, 0.15);
  border-bottom: 1px solid rgba(32, 60, 93, 0.6);
  background: linear-gradient(
    to bottom,
    rgba(4, 12, 24, 0.85),
    rgba(2, 8, 19, 0.85)
  );
}

.presence-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 1.5cm;
}

.presence-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7bc1ff;
}

/* =====================================================
   MAIN LAYOUT
   ===================================================== */

.shell-two-cols {
  display: flex;
  gap: 32px;
  padding-top: 12px;
}

.col-left {
  flex: 1 1 68%;
}

.col-right {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* TYPOGRAFIA */

.page-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7bc1ff;
  margin-bottom: 10px;
}

.page-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.page-highlight {
  font-size: 18px;
  color: #c8e5ff;
  margin-bottom: 18px;
}

.page-body {
  font-size: 16px;
  color: #9fb2cc;
  margin-bottom: 16px;
}

.section-title {
  font-size: 24px;
  margin: 24px 0 10px;
}

/* IMAGENS */

.image-main {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.75),
    0 0 35px rgba(255,200,90,0.35);
}

.image-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* FOOTER */

.site-footer {
  margin-top: 26px;
  padding: 26px 0 8px;
  text-align: center;
  font-size: 13px;
  color: #7d92aa;
  border-top: 1px solid rgba(32, 60, 93, 0.7);
}

/* RESPONSIVO */

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .shell-two-cols {
    flex-direction: column;
  }

  .col-left,
  .col-right {
    flex: 1 1 100%;
  }
}

/* === HOME: coluna direita com stack de imagens === */
.col-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: start;
  max-height: 100%;
}

.col-right .image-main {
  aspect-ratio: auto;
}

.col-right .image-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* REFINO v1.1 — Título principal com ênfase */
.page-title {
  font-weight: 800;
  text-shadow:
    0 0 12px rgba(120, 180, 255, 0.35),
    0 0 24px rgba(120, 180, 255, 0.15);
}

/* REFINO v1.2 — Page-title com peso máximo + glow evidente */
.col-left .page-title,
h1.page-title {
  font-weight: 900;
  letter-spacing: -0.02em;

  text-shadow:
    0 0 14px rgba(140, 200, 255, 0.85),
    0 0 32px rgba(140, 200, 255, 0.55),
    0 0 64px rgba(140, 200, 255, 0.25);
}

/* REFINO v1.4 — Page-title com Sora ExtraBold + glow dominante */
.col-left .page-title,
h1.page-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;

  text-shadow:
    0 0 16px rgba(140, 200, 255, 0.9),
    0 0 36px rgba(140, 200, 255, 0.6),
    0 0 72px rgba(140, 200, 255, 0.3);
}

/* REFINO v1.6 — h2 com mesma cor do page-title, sem glow */
.col-left h2 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;

  color: inherit;          /* herda a cor do contexto */
  text-shadow: none;       /* remove qualquer glow */
}

.col-left h2 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;

  color: #eaf2ff;   /* use o MESMO valor do page-title */
  text-shadow: none;
}

/* REFINO v1.7 — h2 com mesma família, mais brilho perceptivo, sem glow */
.col-left h2 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;

  color: #f2f7ff;      /* ligeiramente mais claro que o corpo */
  text-shadow: none;   /* garante zero glow */
}

.col-left h2 {
  color: #f4f8ff;
  filter: brightness(1.08);
}

/* BASE CANÔNICA — branco institucional */
:root {
  --kripta-white: #ffffff;
}

/* TÍTULO PRINCIPAL */
.col-left .page-title {
  color: var(--kripta-white);
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;

  text-shadow:
    0 0 16px rgba(140, 200, 255, 0.9),
    0 0 36px rgba(140, 200, 255, 0.6),
    0 0 72px rgba(140, 200, 255, 0.3);
}

/* SUBTÍTULO DE SEÇÃO */
.col-left h2 {
  color: var(--kripta-white);
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: none;
}

/* REFINO v1.8 — Glow dos placeholders (azul institucional, discreto) */
.image-main {
  box-shadow:
    0 0 0 1px rgba(120, 170, 210, 0.15),
    0 0 18px rgba(120, 170, 210, 0.25);
}

.social-presence {
  display: flex;
  gap: 16px;
}

.social-icon {
  font-size: 18px;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* cores oficiais */
.social-icon.linkedin { color: #0A66C2; }
.social-icon.youtube { color: #FF0000; }
.social-icon.github { color: #EDEDED; }
.social-icon.instagram { color: #E4405F; }
.social-icon.tiktok { color: #000000; }
.social-icon.facebook { color: #1877F2; }
.social-icon.whatsapp { color: #25D366; }

.social-icon.tiktok {
  color: #ffffff;
}

.product-presence { margin: 16px 0 24px; }
.pill-nav { display:flex; flex-wrap:wrap; gap:10px; }
.pill {
  padding:8px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  font-size:12px; letter-spacing:.06em;
  text-decoration:none; opacity:.9;
}
.pill:hover { opacity:1; }
.pill-highlight {
  border-color:#fff; background:rgba(255,255,255,.12);
  font-weight:600;
}

/* =========================================
   DESATIVAÇÃO TEMPORÁRIA — COLUNA DIREITA
   Motivo: grid 6×3 é a vitrine principal
   ========================================= */

/* =========================================
   PRODUCTS — coluna direita desativada
   ========================================= */
.products-page .col-right {
  display: none;
}

/* =========================================
   PLACEHOLDERS VISUAIS — APENAS PRODUCTS
   ========================================= */

.products-page .product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 24px 0 28px;
}

.products-page .product-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(120, 170, 210, 0.25),
    rgba(40, 70, 110, 0.35)
  );
  box-shadow:
    0 0 0 1px rgba(120, 170, 210, 0.25),
    0 0 18px rgba(120, 170, 210, 0.35);
}

.products-page .product-grid a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================================
   PRESENCE — GRID 2×6 (isolado)
   ========================================= */

.presence-page .presence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.presence-page .presence-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: rgba(18, 28, 42, 0.65);
  border: 1px solid rgba(120, 170, 210, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(120, 170, 210, 0.15),
    0 6px 18px rgba(0, 0, 0, 0.35);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.presence-page .presence-grid a:hover {
  border-color: rgba(120, 170, 210, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(120, 170, 210, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.45);
}

/* =========================================
   PRESENCE — BOTÕES (PÍLULAS) ISOLADOS
   ========================================= */

.presence-page .presence-links {
  padding: 18px 0 6px;
}

.presence-page .pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.presence-page .pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18, 28, 42, 0.6);
  border: 1px solid rgba(120, 170, 210, 0.35);
  color: #cfe6ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.presence-page .pill:hover {
  border-color: rgba(120, 170, 210, 0.65);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ===============================
   Canal Público de Diálogo
================================ */
.contact-dialogue {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #1f2630;
}

.contact-dialogue h2 {
  margin-bottom: 12px;
}

.contact-dialogue p {
  max-width: 720px;
  line-height: 1.6;
  color: #b9c0cc;
}

.dialogue-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #3fa9f5;
  color: #00111f;
  font-weight: 600;
  text-decoration: none;
}

.dialogue-button:hover {
  opacity: 0.9;
}


/* ===============================
   Canal Público de Diálogo — Topo
================================ */
.contact-dialogue-top {
  margin-top: 24px;
  margin-bottom: 40px;
}

.contact-dialogue-top p {
  max-width: 760px;
  line-height: 1.6;
  color: #b9c0cc;
}

header a,
header span,
header div {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #eaeaea;
}

header a:first-child,
header .logo,
header .brand,
header .site-title {
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.02)
  );
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.15),
    0 6px 20px rgba(0,0,0,0.45);
}

header {
  display: flex;
  justify-content: center;
}

header {
  text-align: center;
}

/* =====================================================
   KRIPTACORP — REFINAMENTO VISUAL FINAL
   Patch Cirúrgico • Pós-congelamento
   Colar no FINAL do styles.css
   ===================================================== */

/* -------------------------------
   1. Ritmo vertical institucional
-------------------------------- */

.page-label {
  margin-top: 28px;
  margin-bottom: 14px;
  opacity: 0.9;
}

.page-title {
  margin-bottom: 22px;
}

.page-highlight {
  margin-bottom: 22px;
  max-width: 880px;
}

.page-body {
  margin-bottom: 18px;
  max-width: 920px;
}

/* Garante cadência previsível entre blocos longos */
.page-body + .page-label {
  margin-top: 36px;
}

/* -------------------------------
   2. Leitura longa (documento)
-------------------------------- */

.page-body {
  line-height: 1.75;
  color: #b3c4da; /* ligeiramente mais claro para leitura contínua */
}

/* Destaques mais silenciosos */
.page-highlight {
  color: #d6e6ff;
  font-weight: 500;
}

/* -------------------------------
   3. Hierarquia tipográfica fina
-------------------------------- */

.page-label {
  font-size: 12px;
  letter-spacing: 0.26em;
}

.col-left h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

/* Evita “aglomerado” de títulos */
h2 + .page-body {
  margin-top: 6px;
}

/* -------------------------------
   4. Coluna direita — imagens
-------------------------------- */

.col-right {
  gap: 20px;
}

.image-main {
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(120, 170, 210, 0.18),
    0 14px 38px rgba(0, 0, 0, 0.55),
    0 0 26px rgba(120, 170, 210, 0.28);
}

/* Reduz agressividade do brilho */
.image-main img {
  filter: brightness(0.98) contrast(1.02);
}

/* -------------------------------
   5. Header — presença silenciosa
-------------------------------- */

.site-header {
  margin-bottom: 34px;
}

.nav-link {
  opacity: 0.85;
}

.nav-link:hover {
  opacity: 1;
}

.badge-et {
  opacity: 0.85;
}

/* -------------------------------
   6. Footer institucional
-------------------------------- */

.site-footer {
  margin-top: 48px;
  padding-top: 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #6f8298;
}

/* -------------------------------
   7. Silêncio estrutural
-------------------------------- */

/* Remove excesso de competição visual */
.page-label,
.page-body,
.page-highlight {
  text-shadow: none;
}

/* =========================================
   PRESENCE — IMAGEM INTERNA (CORRETO)
   ========================================= */

.presence-page .presence-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.presence-page .presence-item img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

/* =========================================
   PRESENCE — GRID 2xN NA COLUNA DIREITA
   ========================================= */

.presence-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.presence-right a {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presence-right a img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

/* =====================================================
   PRESENCE — COLUNA DIREITA 2xN (IMAGENS MAIORES)
   ===================================================== */

.presence-page .col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px; /* mais respiro entre os cards */
}

/* Cada placeholder */
.presence-page .col-right a {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo interno — MAIOR */
.presence-page .col-right a img {
  width: 80%;   /* <<< AQUI está o ganho visual */
  height: auto;
  object-fit: contain;
}

/* =====================================================
   PRESENCE — ACERTO FINO DE EQUILÍBRIO (2xN)
   ===================================================== */

/* Grid */
.presence-page .col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;              /* v / h */
  align-content: start;        /* evita esticar verticalmente */
}

/* Cartão */
.presence-page .col-right a {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6%;                 /* respiro interno uniforme */
}

/* Logo + texto na imagem */
.presence-page .col-right a img {
  width: 76%;                  /* ponto doce: grande sem pesar */
  height: auto;
  object-fit: contain;
}

/* Ajuste fino por viewport (opcional, seguro) */
@media (min-width: 1200px) {
  .presence-page .col-right a img { width: 78%; }
}
@media (max-width: 900px) {
  .presence-page .col-right a img { width: 72%; }
}

/* =====================================================
   PRESENCE — AJUSTE FINAL (DESLOCAMENTO + DENSIDADE)
   ===================================================== */

/* Coluna direita */
.presence-page .col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 12px;              /* itens mais juntos */
  margin-top: 38px;       /* ~1 cm abaixo */
  
  align-content: start;
}

/* Cartões */
.presence-page .col-right a {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 4%;            /* menos respiro interno */
}

/* Imagem */
.presence-page .col-right a img {
  width: 78%;             /* mantém presença forte */
  height: auto;
  object-fit: contain;
}

/* =====================================================
   PRESENCE — CORREÇÃO REAL DE POSIÇÃO E DENSIDADE
   ===================================================== */

/* empurra a coluna direita para baixo de forma perceptível */
.presence-page .col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 8px;                 /* agora FICA mais junto */
  transform: translateY(60px); /* deslocamento REAL (~1,6cm) */

  align-content: start;
}

/* reduz o "ar" interno de cada item */
.presence-page .col-right a {
  aspect-ratio: 1 / 1;
  padding: 2%;              /* bem mais compacto */
}

/* mantém logo grande */
.presence-page .col-right a img {
  width: 80%;
}

