/* =====================================================================
   Páginas institucionais: Quem somos (in-) e Seja associado (sa-)
   (usa também abc-inox.css)
   ===================================================================== */

/* ---------- Topo ---------- */
.in-hero { padding: 48px 0 110px; }
.in-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.in-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin-bottom: 16px; }
.in-hero .in-hero-lead { font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.in-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.in-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.in-btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.in-collage { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 180px 180px; gap: 12px; }
.in-collage a { display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); background: rgba(255, 255, 255, .06); }
.in-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.in-collage a:hover img { transform: scale(1.05); }
.in-col-0 { grid-row: 1 / 3; }
.in-collage.few { grid-template-columns: 1fr; grid-template-rows: 320px; }
.in-collage.few .in-col-1 { display: none; }
.in-collage-badge { position: absolute; left: -14px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy-900); font-weight: 800; font-family: var(--font-head); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.in-collage-badge .ico { color: var(--accent-600); }

/* ---------- Números ---------- */
.in-stats-wrap { position: relative; z-index: 2; margin-top: -64px; }
.in-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.in-stats > div { padding: 24px 26px; border-left: 1px solid var(--line); }
.in-stats > div:first-child { border-left: 0; }
.in-stats strong { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, var(--navy-900), var(--accent-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.in-stats span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }

/* ---------- Missão ---------- */
.in-mission-sec { padding: 72px 0; }
.in-mission { display: flex; gap: 28px; align-items: flex-start; max-width: 960px; margin: 0 auto; }
.in-mission-ico { flex: 0 0 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-navy); color: #fff; box-shadow: var(--shadow); }
.in-mission blockquote { margin: 6px 0 0; font-family: var(--font-head); font-size: clamp(1.35rem, 2.6vw, 1.95rem); font-weight: 700; line-height: 1.35; color: var(--navy-900); }

/* ---------- Pilares ---------- */
.in-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.in-pillar { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.in-pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--blue-600)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.in-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.in-pillar:hover::before { transform: scaleX(1); }
.in-pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.in-pillar-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-navy); color: #fff; }
.in-pillar-n { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--line); }
.in-pillar h3 { font-size: 1.12rem; margin: 0 0 8px; }
.in-pillar p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.6; }

/* ---------- Linha do tempo ---------- */
.in-timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 980px; }
.in-timeline::before { content: ""; position: absolute; left: 59px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(26, 163, 232, .15)); }
.in-timeline > li { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding-bottom: 28px; }
.in-timeline > li:last-child { padding-bottom: 0; }
.in-tl-year { position: relative; z-index: 1; align-self: start; justify-self: center; background: var(--accent); color: var(--navy-950); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; padding: 8px 16px; border-radius: 999px; box-shadow: 0 0 0 6px rgba(26, 163, 232, .18); }
.in-tl-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 22px 24px; }
.in-tl-card h3 { margin: 0 0 8px; }
.in-tl-card p { margin: 0 0 10px; color: rgba(255, 255, 255, .85); line-height: 1.65; }
.in-tl-card p:last-child { margin-bottom: 0; }
.in-tl-date { display: inline-flex; align-items: center; gap: 6px; color: #7fd3ff; font-weight: 700; font-size: .82rem; margin-bottom: 6px; }
.in-tl-label { margin-top: 16px !important; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fd3ff !important; }
.in-founders { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.in-founders li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 600; }

/* ---------- Galeria ---------- */
.in-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.in-gallery a { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--bg-soft); }
.in-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.in-gallery a.g-wide { grid-column: span 2; }
.in-gallery a.g-full { grid-column: 1 / -1; }
.in-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.in-gallery a span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(6, 26, 48, .45); opacity: 0; transition: opacity .25s; }
.in-gallery a:hover img { transform: scale(1.06); }
.in-gallery a:hover span { opacity: 1; }

/* ---------- Diretoria ---------- */
.in-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.in-head-row .abc-head { margin-bottom: 0; }
.in-group { font-size: .8rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); margin: 26px 0 14px; }
.in-group:first-of-type { margin-top: 0; }
.in-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.in-person { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
.in-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--grad-navy); color: #fff; font-family: var(--font-head); font-weight: 800; }
.in-avatar img { width: 100%; height: 100%; object-fit: cover; }
.in-person strong { display: block; color: var(--navy-900); font-size: .95rem; line-height: 1.3; }
.in-role { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 700; color: var(--blue-600); background: var(--accent-50); border-radius: 999px; padding: 2px 9px; }
.in-person small { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; }

/* ---------- Associados ---------- */
.in-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.in-cat { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); border-radius: 16px; padding: 16px 20px; }
.in-cat strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--blue-600); line-height: 1; }
.in-cat span { color: var(--ink-2); font-weight: 600; }
.in-logos { margin: 0; }
.in-logos .logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.in-logos .member-logo { width: auto; height: 110px; padding: 18px; }
.in-logos .member-logo img { filter: none; opacity: 1; }
.in-logos-label { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* ---------- Chamada final ---------- */
.in-cta-sec { padding: 0 0 84px; }
.in-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--grad-navy); color: #fff; border-radius: 26px; padding: 44px 48px; position: relative; overflow: hidden; }
.in-cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 163, 232, .35), transparent 70%); }
.in-cta > * { position: relative; z-index: 1; }
.in-cta h2 { color: #fff; margin: 0 0 8px; max-width: 620px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.in-cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.in-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================================================================
   Seja associado
   ===================================================================== */
.sa-hero { padding-bottom: 64px; }
.sa-hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 24px; padding: 26px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sa-hero-label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7fd3ff; }
.sa-hero-num { display: block; font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; line-height: 1.05; margin: 6px 0 14px; color: #fff; }
.sa-hero-num small { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.sa-hero-cats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.sa-hero-cats li { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.sa-hero-cats b { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.sa-hero-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.sa-hero-logos span { background: #fff; border-radius: 10px; height: 52px; display: grid; place-items: center; padding: 6px; }
.sa-hero-logos img { max-width: 100%; max-height: 40px; object-fit: contain; }
.sa-hero-link { display: inline-flex; align-items: center; gap: 6px; color: #7fd3ff; font-weight: 700; font-size: .92rem; }
.sa-hero-link:hover { color: #fff; }

.sa-about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.sa-about-head { position: sticky; top: calc(var(--header-h) + 30px); margin-bottom: 0; }
.sa-about-head h2 { margin-bottom: 14px; }
.sa-about-head .btn { margin-top: 22px; }
.sa-goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sa-goals li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.sa-goals .abc-chip-ico { width: 42px; height: 42px; margin-bottom: 12px; }
.sa-goals p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.6; }

.sa-dark-p { color: rgba(255, 255, 255, .75) !important; }
.sa-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sa-benefit { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 22px; transition: background .2s, transform .2s, border-color .2s; }
.sa-benefit:hover { background: rgba(255, 255, 255, .1); border-color: rgba(127, 211, 255, .45); transform: translateY(-3px); }
.sa-benefit-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sa-benefit-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--navy-950); }
.sa-benefit-n { font-family: var(--font-head); font-weight: 800; color: rgba(255, 255, 255, .25); font-size: 1.3rem; }
.sa-benefit h3 { font-size: 1.05rem; margin: 0 0 8px; }
.sa-benefit p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .9rem; line-height: 1.6; }

.sa-portal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sa-portal-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); }
.sa-portal-item .abc-factor-ico { flex: 0 0 46px; }
.sa-portal-item strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.sa-portal-item small { display: block; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

.sa-join-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.sa-steps-col { position: sticky; top: calc(var(--header-h) + 30px); }
.sa-steps-col h2 { margin-bottom: 26px; }
.sa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sa-steps li { position: relative; display: flex; gap: 16px; padding-bottom: 24px; }
.sa-steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.sa-step-n { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.sa-steps strong { display: block; color: var(--navy-900); font-size: 1.05rem; margin: 10px 0 4px; }
.sa-steps p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.sa-help { display: flex; gap: 12px; align-items: center; background: var(--accent-50); border-radius: 14px; padding: 14px 16px; margin-top: 6px; color: var(--blue-600); }
.sa-help p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.sa-help a { font-weight: 700; }

.sa-form { border-radius: 22px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); padding: 30px; }
.sa-form-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.sa-form-head .abc-factor-ico { flex: 0 0 46px; }
.sa-form-head h2 { font-size: 1.35rem; margin: 2px 0 4px; }
.sa-form-head p { margin: 0; color: var(--muted); font-size: .94rem; }
.sa-form-sec { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-600); }
.sa-submit { width: 100%; justify-content: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .in-pillars, .sa-benefits { grid-template-columns: repeat(2, 1fr); }
  .in-people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .in-hero-grid, .sa-about, .sa-join-grid { grid-template-columns: 1fr; gap: 36px; }
  .in-hero { padding-bottom: 96px; }
  .sa-hero { padding-bottom: 54px; }
  .in-stats { grid-template-columns: repeat(2, 1fr); }
  .in-stats > div:nth-child(3) { border-left: 0; }
  .in-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .in-people { grid-template-columns: repeat(2, 1fr); }
  .sa-portal { grid-template-columns: 1fr 1fr; }
  .sa-about-head, .sa-steps-col { position: static; }
  .in-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .in-hero { padding: 36px 0 84px; }
  .in-collage { grid-template-rows: 130px 130px; gap: 8px; }
  .in-collage-badge { left: 10px; bottom: 10px; font-size: .85rem; padding: 8px 12px; }
  .in-stats > div { padding: 18px 16px; }
  .in-stats strong { font-size: 1.7rem; }
  .in-stats span { font-size: .84rem; }
  .in-mission { flex-direction: column; gap: 16px; }
  .in-mission-ico { flex-basis: auto; width: 60px; height: 60px; }
  .in-pillars, .sa-benefits, .sa-goals, .sa-portal, .in-people, .in-cats { grid-template-columns: 1fr; }
  .in-timeline::before { left: 18px; }
  .in-timeline > li { grid-template-columns: 1fr; gap: 10px; padding-left: 44px; }
  .in-tl-year { justify-self: start; margin-left: -44px; font-size: 1rem; padding: 6px 12px; }
  .in-tl-card { padding: 18px; }
  .in-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }
  .in-logos .logo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .in-logos .member-logo { height: 84px; padding: 12px; }
  .in-cta { padding: 30px 22px; }
  .in-cta-btns, .in-cta-btns .btn, .in-hero-btns .btn { width: 100%; justify-content: center; }
  .sa-hero-num { font-size: 2.8rem; }
  .sa-form { padding: 22px 18px; }
}
