/* ============================================
   instago — institutional.css
   Páginas institucionais (PP, TU, Contato, Quem Somos)
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ig-gradient: linear-gradient(135deg,
    #405de6 0%, #5851db 15%, #833ab4 30%,
    #c13584 50%, #e1306c 70%, #fd1d1d 85%, #f77737 100%
  );
  --accent:     #c13584;
  --bg:         #ffffff;
  --bg-subtle:  #f7f8fc;
  --border:     #e5e7eb;
  --text-main:  #111827;
  --text-body:  #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  --radius-sm: 8px;
  --radius-md: 14px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 800px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.header-back {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}

.header-back:hover { color: var(--accent); }

/* ── Page Hero (strip) ── */
.page-hero {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px 36px;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(193,53,132,.08);
  border: 1px solid rgba(193,53,132,.2);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

.page-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Main content ── */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* Typography */
.page-content h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 8px;
}

.page-content p {
  font-size: 0.97rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.page-content ul,
.page-content ol {
  margin: 0 0 16px 20px;
}

.page-content li {
  font-size: 0.97rem;
  color: var(--text-body);
  margin-bottom: 6px;
  line-height: 1.65;
}

.page-content strong { color: var(--text-main); }

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Info box */
.info-box {
  background: rgba(193,53,132,.05);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.info-box p { margin: 0; font-size: 0.93rem; }

.warning-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.warning-box p { margin: 0; font-size: 0.93rem; color: #92400e; }

/* ── Footer ── */
.site-footer {
  background: var(--text-main);
  color: rgba(255,255,255,.7);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.83rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}

.footer-nav a:hover { color: #fff; }
.footer-nav span { opacity: .3; font-size: 0.8rem; }

.footer-copy { font-size: 0.78rem; }
.footer-disclaimer { font-size: 0.72rem; color: rgba(255,255,255,.38); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .page-content { padding: 36px 16px 60px; }
  .page-hero { padding: 28px 16px; }
}
