/* HUB-SSA — Hotsite Institucional
   Paleta: navy #0B2545, cinza-aço #5A6A7A, fundo claro #F4F6F8
   Tipografia: Inter
*/

:root {
  --navy: #0B2545;
  --navy-dark: #071A33;
  --navy-light: #1A3960;
  --steel: #5A6A7A;
  --steel-light: #8A95A0;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F8;
  --rule: #D6DCE2;
  --rule-light: #E8ECEF;
  --text: #1A1A1A;
  --text-muted: #5A6A7A;
  --shadow: 0 1px 0 rgba(11,37,69,0.06);
  --max-width: 1200px;
  --section-pad: 120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: 0.7; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--rule-light);
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--navy);
  color: #FFFFFF;
  border: 0;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 18px;
}

.eyebrow-light { color: #A8B5C0; }

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 32px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 780px;
}

.section-title-light { color: #FFFFFF; }

.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 720px;
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-link { display: block; flex-shrink: 0; }
.logo { height: 30px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.cta-nav {
  background: var(--navy);
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-nav:hover { opacity: 0.9; background: var(--navy-dark); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0B2545 0%, #143560 50%, #0B2545 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.65) contrast(0.95) brightness(0.7);
}

.hero-schema {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,37,69,0.92) 0%, rgba(11,37,69,0.6) 55%, rgba(11,37,69,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: #A8B5C0;
  margin: 0 0 24px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 28px;
  letter-spacing: -1.5px;
  max-width: 820px;
}

.lede {
  font-size: 21px;
  line-height: 1.55;
  font-weight: 400;
  color: #D5DCE5;
  margin: 0 0 44px;
  max-width: 640px;
}

.cta-primary {
  display: inline-block;
  padding: 16px 32px;
  background: #FFFFFF;
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}

.cta-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.section-dark .cta-primary {
  background: #FFFFFF;
  color: var(--navy) !important;
}

/* ============ LAYOUT GRID ============ */

.container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ============ LOCALIZAÇÃO MAP ============ */

.map-wrap { display: flex; flex-direction: column; gap: 8px; }

.schema-map {
  width: 100%;
  height: auto;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.map-caption {
  font-size: 12px;
  color: var(--steel-light);
  font-style: italic;
  margin: 0;
}

.location-data {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.location-data > div { display: flex; flex-direction: column; }
.location-data dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--steel);
  margin: 0 0 4px;
}
.location-data dd {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

/* ============ COMPONENTES ============ */

.components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.component-card {
  padding: 32px 30px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.component-card-highlight {
  border: 1.5px solid var(--navy);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.component-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: 3px;
  margin: 0 0 10px;
}

.component-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.component-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 12px;
}

.component-card p:last-child { margin-bottom: 0; }

.component-tag {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(11,37,69,0.06);
  border-left: 2px solid var(--navy);
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: var(--navy) !important;
  font-weight: 500;
}

/* ============ MAP LINK BUTTON ============ */

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 11px 18px;
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: background .15s, color .15s;
}

.map-link:hover {
  background: var(--navy);
  color: #FFFFFF !important;
  opacity: 1;
}

.map-link svg { flex-shrink: 0; }

/* ============ PILARES ============ */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 12px;
}

.pillar-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color .15s;
}

.pillar-card:hover { border-color: var(--navy); }

.pillar-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: 3px;
  margin: 0 0 12px;
}

.pillar-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

.pillar-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* ============ STAKEHOLDERS ============ */

.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 12px;
}

.stakeholder {
  padding: 36px 32px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
}

.stakeholder-role {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--steel);
  margin: 0 0 8px;
}

.stakeholder h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.stakeholder-detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ============ MÉTRICAS ============ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 16px 0 32px;
}

.metric {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.metric-value {
  font-size: 34px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  line-height: 1.1;
}

.metric-label {
  font-size: 13px;
  font-weight: 500;
  color: #A8B5C0;
  margin: 0;
  letter-spacing: 0.3px;
}

.ativo-note {
  font-size: 14px;
  color: #A8B5C0;
  font-style: italic;
  margin: 24px 0 0;
  max-width: 640px;
}

/* ============ FORMULÁRIO ============ */

.contact-intro h2 { margin-bottom: 24px; }

.contact-direct {
  margin: 32px 0 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 3px solid var(--navy);
  font-size: 14px;
  line-height: 1.6;
}

.contact-direct a { font-weight: 600; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  padding: 36px 36px 32px;
  border-radius: 4px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--steel);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #FFFFFF;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,37,69,0.08);
}

.contact-form textarea { resize: vertical; min-height: 88px; font-family: inherit; }

.lgpd {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin: 4px 0 8px;
}

.form-feedback {
  font-size: 14px;
  padding: 0;
  margin: 0;
  display: none;
}
.form-feedback.show { display: block; padding: 14px 16px; border-radius: 3px; }
.form-feedback.ok { background: #E8F0E2; color: #2D5016; }
.form-feedback.err { background: #F4E0E0; color: #6E1F1F; }

/* ============ FOOTER ============ */

.site-footer {
  background: var(--navy);
  color: #C8D0DB;
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo { height: 28px; width: auto; margin-bottom: 14px; }

.footer-tag {
  font-size: 14px;
  color: #C8D0DB;
  font-style: italic;
  margin: 0;
  max-width: 280px;
}

.footer-block h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.footer-block p {
  font-size: 14px;
  line-height: 1.7;
  color: #A8B5C0;
  margin: 0;
}

.footer-block a { color: #FFFFFF; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8A95A0;
}

.footer-bottom a { color: #A8B5C0; }

/* ============ MODAL ============ */

.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,37,69,0.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: #FFFFFF;
  max-width: 640px;
  width: 100%;
  padding: 48px 56px 44px;
  border-radius: 4px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--steel);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

.modal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
}

/* ============ RESPONSIVO ============ */

@media (max-width: 1024px) {
  :root { --section-pad: 96px; }
  .hero h1 { font-size: 52px; }
  .section-title { font-size: 32px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container, .header-inner, .footer-bottom, .hero-content { padding-left: 24px; padding-right: 24px; }
  .hero { min-height: 78vh; }
  .hero h1 { font-size: 38px; letter-spacing: -0.8px; }
  .lede { font-size: 18px; }
  .section-title { font-size: 26px; }
  .container-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid, .stakeholders-grid, .components-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .location-data { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
  .modal-content { padding: 36px 28px 32px; }
  .modal-content h3 { font-size: 22px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-110%);
    transition: transform .25s;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-light);
    width: 100%;
  }
  .site-nav a:last-child { border: 0; }
  .cta-nav { margin-top: 12px; padding: 12px 18px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .metric-value { font-size: 26px; }
  .metrics-grid { grid-template-columns: 1fr; }
}

/* ============ STATUS BANNER (after form submit) ============ */

.status-banner {
  background: #E8F0E2;
  color: #2D5016;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.status-banner.error { background: #F4E0E0; color: #6E1F1F; }
