/* UNYK — Páginas Institucionais 12/10 (/sobre/, /nosso-jeito/, /contato/)
   Estética inspirada em referências arquiteturais modernas (InfinityPay / Apple Keynote):
   Hero Luxury Titanium Dark + grades bento arquiteturais limpas + alto contraste e mobile impecável. */

.inst-page {
  background: #F6F7FA;
  color: #0F172A;
}

.inst-page .topo {
  background: rgba(251, 252, 251, 0.9);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.inst-page .topo__marca {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  background: transparent !important;
}

.inst-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(128px, 16vh, 178px) 0 clamp(68px, 9vh, 112px);
  background:
    radial-gradient(58% 72% at 82% 16%, rgba(200, 185, 159, 0.22) 0%, rgba(14, 17, 23, 0) 70%),
    linear-gradient(165deg, #090C12 0%, #0E1117 58%, #141923 100%);
  color: #F8FAFC;
}

.inst-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 185, 159, 0.45), transparent);
}

.inst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(200, 185, 159, 0.12);
  border: 1px solid rgba(200, 185, 159, 0.4);
  color: #DFD2BC;
  font: 600 12px/1 var(--f-texto);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.inst-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C8B99F;
}

.inst-hero h1 {
  font: 600 clamp(40px, 6.2vw, 84px)/0.98 var(--f-titulo);
  letter-spacing: -0.045em;
  max-width: 15ch;
  color: #FFFFFF;
  text-wrap: balance;
}

.inst-hero h1 span {
  background: linear-gradient(115deg, #FFFFFF 0%, #E2E8F0 46%, #C8B99F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.inst-hero__lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: #CBD5E1;
}

.inst-hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.inst-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 15px/1 var(--f-texto);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.inst-btn svg { width: 17px; height: 17px; flex: none; }
.inst-btn:hover { transform: translateY(-2px); }

.inst-btn--champagne {
  background: linear-gradient(180deg, #EFE5D3 0%, #C8B99F 100%);
  color: #0E1117;
  border-color: rgba(248, 250, 252, 0.28);
}

.inst-btn--ghost {
  background: rgba(248, 250, 252, 0.08);
  color: #F8FAFC;
  border-color: rgba(248, 250, 252, 0.22);
}

.inst-btn--ghost:hover {
  background: rgba(248, 250, 252, 0.16);
  border-color: #C8B99F;
}

.inst-btn--dark {
  background: #0E1117;
  color: #F8FAFC;
}

.inst-btn--dark:hover {
  background: #1E293B;
}

/* Métricas arquiteturais */
.inst-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.inst-stat {
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 232, 240, 0.13);
}

.inst-stat strong {
  display: block;
  font: 700 clamp(30px, 3.2vw, 44px)/1 var(--f-titulo);
  letter-spacing: -0.04em;
  color: #DFD2BC;
  font-variant-numeric: tabular-nums;
}

.inst-stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #CBD5E1;
}

/* Seções claras arquiteturais */
.inst-sec {
  padding: clamp(64px, 9vw, 112px) 0;
}

.inst-sec--dark {
  background: #0E1117;
  color: #F8FAFC;
}

.inst-sec__head {
  max-width: 780px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.inst-sec__tag {
  font: 600 12px/1 var(--f-texto);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 12px;
}

.inst-sec--dark .inst-sec__tag { color: #C8B99F; }

.inst-sec__head h2 {
  font: 600 clamp(30px, 4.2vw, 56px)/1.03 var(--f-titulo);
  letter-spacing: -0.04em;
  color: inherit;
  text-wrap: balance;
}

.inst-sec__head p {
  margin-top: 14px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #475569;
}

.inst-sec--dark .inst-sec__head p { color: #CBD5E1; }

/* Grade Bento */
.inst-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.inst-bento--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inst-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inst-card--destaque {
  background: linear-gradient(160deg, #0E1117 0%, #161E2B 100%);
  border-color: rgba(200, 185, 159, 0.36);
  color: #F8FAFC;
}

.inst-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #F1F5F9;
  color: #0F172A;
  font: 700 13px/1 var(--f-titulo);
  letter-spacing: 0.04em;
}

.inst-card--destaque .inst-card__num {
  background: rgba(200, 185, 159, 0.16);
  border: 1px solid rgba(200, 185, 159, 0.42);
  color: #DFD2BC;
}

.inst-card h3 {
  font: 600 clamp(20px, 1.8vw, 25px)/1.2 var(--f-titulo);
  letter-spacing: -0.025em;
}

.inst-card p {
  font-size: 15.5px;
  line-height: 1.58;
  color: #475569;
}

.inst-card--destaque p { color: #CBD5E1; }

.inst-card--span2 {
  grid-column: span 2;
}

/* Dados institucionais transparentes (CNPJ + Sede) */
.inst-transparencia {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.inst-transparencia__item small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

.inst-transparencia__item strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: #0F172A;
}

/* Contato: Formulário Fale Conosco + Canais Regionais + 5 Redes Sociais */
.inst-contato-grade {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 24px;
  align-items: start;
}

.inst-form {
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 26px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 52px -34px rgba(15, 23, 42, 0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inst-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inst-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.inst-field label,
.inst-field legend {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
}

.inst-field input[type="text"],
.inst-field input[type="email"],
.inst-field select,
.inst-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
  font: 400 15px/1.4 var(--f-texto);
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.inst-field textarea { min-height: 120px; resize: vertical; }

.inst-field input:focus,
.inst-field select:focus,
.inst-field textarea:focus {
  border-color: #0F172A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.inst-radio-group {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inst-radios {
  display: flex;
  gap: 10px;
}

.inst-radio-pill {
  flex: 1;
  position: relative;
}

.inst-radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.inst-radio-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 13px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.inst-radio-pill input:checked + span {
  background: #0E1117;
  border-color: #0E1117;
  color: #FFFFFF;
}

.inst-form__aviso {
  padding: 14px 16px;
  border-radius: 14px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
}

.inst-form__status {
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
}

.inst-form__status--ok {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}

.inst-form__status--erro {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.inst-canais-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inst-canal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: #0F172A;
  transition: border-color 0.2s, transform 0.2s;
}

.inst-canal-item:hover {
  border-color: #0F172A;
  transform: translateY(-1px);
}

.inst-canal-item strong { display: block; font-size: 14.5px; }
.inst-canal-item span { display: block; font-size: 12.5px; color: #64748B; }
.inst-canal-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0E1117;
  color: #DFD2BC;
  font-size: 11.5px;
  font-weight: 600;
}

.inst-redes-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inst-rede-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.inst-rede-row strong { display: block; font-size: 14px; color: #0F172A; }
.inst-rede-row span { display: block; font-size: 12px; color: #64748B; }

.inst-seguir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0E1117;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.inst-seguir-btn:hover {
  background: #334155;
  transform: translateY(-1px);
}

.inst-breve-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #64748B;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .inst-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inst-bento, .inst-bento--2, .inst-contato-grade { grid-template-columns: 1fr; }
  .inst-card--span2 { grid-column: auto; }
}

@media (max-width: 600px) {
  .inst-stats { grid-template-columns: 1fr; }
  .inst-form__row { grid-template-columns: 1fr; }
  .inst-hero__acoes .inst-btn { width: 100%; }
}
