* {
  box-sizing: border-box;
}

:root {
  --blue: #10224a;
  --mid-blue: #0c4f97;
  --sky: #0c9ed9;
  --pink: #e6388f;
  --soft: #f4f9ff;
  --text: #40577e;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--blue);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 28px;
}

.logo {
  height: 44px;
  width: auto;
}

.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
  color: #23406e;
}

.button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 14px 24px;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  min-height: 46px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-blue {
  background: var(--mid-blue);
  color: white;
  box-shadow: 0 12px 24px rgba(12,79,151,.18);
}

.button-pink {
  background: var(--pink);
  color: white;
  box-shadow: 0 18px 36px rgba(230,56,143,.27);
}

.button-white {
  background: white;
  color: var(--pink);
}

.button-outline {
  border: 2px solid rgba(12,79,151,.22);
  background: white;
  color: var(--mid-blue);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 10px 20px rgba(16,34,74,.08);
}

.button-large {
  font-size: 14px;
  min-height: 54px;
  padding: 17px 30px;
}

.hero {
  min-height: 94vh;
  overflow: hidden;
  padding-top: 80px;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,#fff 0%,#f9fbff 43%,#eaf4ff 100%);
}

.glow-pink,
.glow-sky {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .85;
}

.glow-pink {
  top: 90px;
  left: -260px;
  width: 660px;
  height: 660px;
  background: rgba(230,56,143,.12);
}

.glow-sky {
  right: -180px;
  bottom: 40px;
  width: 540px;
  height: 540px;
  background: rgba(12,158,217,.13);
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.02fr .98fr;
  margin: 0 auto;
  max-width: 1240px;
  min-height: calc(94vh - 80px);
  padding: 0 28px;
  position: relative;
}

.hero-copy {
  padding: 52px 0 92px;
}

.eyebrow {
  border: 1px solid rgba(230,56,143,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--pink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .24em;
  margin: 0 0 22px;
  padding: 10px 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(52px, 8vw, 118px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .82;
  margin-bottom: 22px;
}

.number-row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.number {
  color: var(--pink);
  font-size: clamp(82px, 13vw, 168px);
  font-weight: 950;
  line-height: .84;
}

.party {
  background: var(--blue);
  border-radius: 999px;
  color: white;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .16em;
  margin-bottom: 14px;
  padding: 9px 20px;
}

.lead {
  color: #23406e;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 750;
  line-height: 1.45;
  max-width: 720px;
  margin: 30px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-portrait {
  min-height: 720px;
  position: relative;
  align-self: stretch;
}

.portrait-blue {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82%;
  height: 92%;
  border-radius: 999px 999px 0 0;
  background: var(--mid-blue);
}

.portrait-ring {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 72%;
  height: 86%;
  border: 18px solid rgba(230,56,143,.85);
  border-radius: 999px 999px 0 0;
}

.portrait-main {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 96%;
  width: auto;
  filter: drop-shadow(0 28px 38px rgba(16,34,74,.24));
}

.section {
  padding: 96px 28px;
}

.dark {
  background: var(--blue);
  color: white;
}

.wrap {
  margin: 0 auto;
  max-width: 1240px;
}

.story-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: .86fr 1.14fr;
}

.label {
  color: var(--pink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.dark .label {
  color: #55c7ef;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 950;
  line-height: 1;
  margin: 15px 0 0;
}

.story-text {
  color: #edf6ff;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  font-size: 18px;
  line-height: 1.7;
}

.story-text .wide {
  grid-column: 1 / -1;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 48px;
}

.novo-logo {
  height: 48px;
  width: auto;
}

.pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #f7fbff;
  border-top: 4px solid var(--sky);
  padding: 28px;
}

.card span {
  color: var(--pink);
  font-size: 14px;
  font-weight: 950;
}

.card h3 {
  font-size: 25px;
  font-weight: 950;
  line-height: 1.1;
  margin: 22px 0 14px;
}

.card p,
.commit p {
  color: var(--text);
  line-height: 1.7;
}

.whatsapp-band {
  background: var(--pink);
  color: white;
  padding: 58px 28px;
}

.band-flex {
  align-items: center;
  display: flex;
  gap: 36px;
  justify-content: space-between;
}

.commit {
  background: var(--soft);
}

.commit-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: .9fr 1.1fr;
}

.photo-panel {
  background: var(--pink);
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.photo-panel img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  transform: translateX(-50%);
}

.commit-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

.commit-item {
  align-items: center;
  background: white;
  display: flex;
  gap: 12px;
  font-weight: 850;
  padding: 16px;
}

.dot {
  background: var(--pink);
  border-radius: 999px;
  display: inline-block;
  height: 12px;
  width: 12px;
  flex: 0 0 12px;
}

footer {
  background: var(--blue);
  color: white;
  padding: 42px 28px;
}

.footer-flex {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}

.legal {
  color: #d9edff;
  font-size: 14px;
  line-height: 1.65;
  max-width: 820px;
}

.footer-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-actions a:last-child {
  color: #d9edff;
  font-size: 14px;
  font-weight: 800;
}

.developer-credit {
  align-items: center;
  border-top: 1px solid rgba(217,237,255,.18);
  color: #d9edff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 24px;
  text-align: center;
}

.developer-credit span {
  font-size: 13px;
  font-weight: 800;
}

.developer-credit img {
  height: 30px;
  max-width: 180px;
  object-fit: contain;
  width: auto;
}

.developer-credit a {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 950;
  padding: 9px 14px;
}

.admin-main {
  min-height: 100vh;
  background: var(--soft);
}

.admin-hero {
  background: white;
  border-bottom: 1px solid #d8e8f7;
  padding: 34px 28px;
}

.admin-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.admin-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr .9fr;
  padding: 34px 28px;
}

form,
.admin-box,
.records {
  background: white;
  box-shadow: 0 1px 0 rgba(16,34,74,.05);
  padding: 30px;
}

.fields {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

label {
  color: #23406e;
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  border: 1px solid #c8dcef;
  color: var(--blue);
  font: 700 16px Inter, Arial, sans-serif;
  letter-spacing: 0;
  min-height: 48px;
  outline: 0;
  padding: 12px 14px;
  text-transform: none;
  width: 100%;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink);
}

.full {
  margin-top: 22px;
}

.hint {
  color: #6b7d9e;
  font-size: 14px;
  line-height: 1.55;
  margin: 16px 0 0;
}

.admin-alert {
  border-left: 4px solid var(--mid-blue);
  font-weight: 850;
  line-height: 1.5;
  margin: 18px 0 0;
  padding: 12px 14px;
}

.admin-alert.success {
  background: #edf9f0;
  border-color: #23a55a;
  color: #17683a;
}

.admin-alert.error {
  background: #fff0f6;
  border-color: var(--pink);
  color: #a20f55;
}

.admin-box.dark-box {
  background: var(--blue);
  color: white;
}

.admin-box.dark-box p {
  color: #d9edff;
}

.metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.metric {
  border: 1px solid #d8e8f7;
  font-weight: 950;
  padding: 14px;
}

.records {
  grid-column: 1 / -1;
}

.records-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.record-actions {
  display: flex;
  gap: 10px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  background: #f4f9ff;
  border: 1px solid #d8e8f7;
}

.admin-tabs a {
  border: 2px solid transparent;
  background: white;
  color: var(--mid-blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  padding: 15px 20px;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(16,34,74,.05);
}

.admin-tabs a.active {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  box-shadow: 0 14px 26px rgba(230,56,143,.22);
}

.record-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.empty,
.record {
  border: 1px solid #d8e8f7;
  padding: 18px;
}

.record {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
}

.record dl {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  min-width: 260px;
  margin: 0;
}

.record dt {
  color: var(--pink);
  font-weight: 950;
}

.record dd {
  margin: 0;
}

@media (max-width: 920px) {
  .navlinks {
    display: none;
  }

  .hero-grid,
  .story-grid,
  .commit-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-portrait {
    min-height: 540px;
  }

  .story-text,
  .pillars,
  .commit-list,
  .fields {
    grid-template-columns: 1fr;
  }

  .section-head,
  .band-flex,
  .footer-flex,
  .admin-head,
  .records-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    align-items: stretch;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 0 18px;
  }

  .logo {
    height: 36px;
  }

  .topbar .button {
    padding: 11px 14px;
    font-size: 11px;
  }

  .hero-grid,
  .section,
  .whatsapp-band,
  footer,
  .admin-hero,
  .admin-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-portrait {
    min-height: 430px;
  }

  .portrait-ring {
    border-width: 12px;
  }

  .record {
    grid-template-columns: 1fr;
  }
}
