/* =================================
   IDENTIDADE VISUAL
================================= */

@font-face {
  font-family: "Nunito";
  src: url("./fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./fonts/Nunito-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0c1568;
  --blue: #0a1ffe;
  --cyan: #00ffe6;
  --green: #a8ff00;

  --white: #ffffff;
  --light: #f6f8fa;
  --gray: #68717e;
  --border: #e4e8ed;

  --container: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
}

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

.container {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

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

.header {
  height: 82px;
  background: var(--white);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.brand-symbol {
  color: var(--blue);
  font-size: 24px;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--blue);
}

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

.hero {
  min-height: 590px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 50px;
  padding-top: 80px;
  padding-bottom: 110px;
  position: relative;
  z-index: 2;
}

.hero-links {
  display: flex;
  gap: 30px;
}

.eyebrow {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.13;
  font-weight: 800;
  max-width: 760px;
  margin-bottom: 26px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-text > p {
  font-size: 18px;
  color: #d5dbf5;
  max-width: 580px;
  margin-bottom: 35px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 800;
  font-size: 14px;
}

.hero-link span {
  font-size: 20px;
}

/* Elemento gráfico abstrato de conexões */

.hero-graphic {
  width: 310px;
  height: 310px;
  position: relative;
  justify-self: center;
}

.network {
  position: absolute;
  border: 1px solid rgba(0, 255, 230, 0.5);
  border-radius: 50%;
}

.network-one {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.network-two {
  width: 72%;
  height: 72%;
  top: 14%;
  left: 14%;
}

.network-three {
  width: 42%;
  height: 42%;
  top: 29%;
  left: 29%;
}

.network-center {
  position: absolute;
  width: 45px;
  height: 45px;
  background: var(--cyan);
  border-radius: 50%;
  top: calc(50% - 22px);
  left: calc(50% - 22px);
  box-shadow:
    0 -110px 0 -13px var(--cyan),
    110px 0 0 -13px var(--cyan),
    0 110px 0 -13px var(--cyan),
    -110px 0 0 -13px var(--cyan);
}

/* Textura de fundo */

.hero-pattern {
  position: absolute;
  right: -150px;
  top: -250px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(0, 255, 230, 0.08);
  border-radius: 50%;
}

.hero-pattern::before,
.hero-pattern::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 255, 230, 0.08);
  border-radius: 50%;
}

.hero-pattern::before {
  inset: 80px;
}

.hero-pattern::after {
  inset: 160px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* =================================
   TOPO DAS SEÇÕES
================================= */

.section-top {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 65px;
}

.section-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  white-space: nowrap;
  color: var(--navy);
}

.section-line {
  height: 1px;
  width: 100%;
  background: var(--border);
}

/* =================================
   SOBRE
================================= */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.about-title h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  max-width: 460px;
}

.about-title h2 span {
  color: var(--blue);
}

.about-text p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.9;
}

.manifesto-highlight {
  margin: 45px 0;
  padding: 25px 55px;
  background: var(--cyan);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  align-items: center;
}

.simbolo {
  --size: 340px;
  --r: 32px;
  --ink: var(--navy);
  --play: var(--cyan);

  zoom: 0.32; /* 0.32 ≈ 110px | 0.2 ≈ 70px | 0.4 ≈ 136px */
  position: relative;
  width: var(--size);
  height: var(--size);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.simbolo:hover {
  transform: rotate(90deg) scale(1.04);
}

/* wrapper com efeito "gooey" que funde as bolhas */
.bolhas {
  position: absolute;
  inset: 0;
  filter: url(#goo);
}

/* cada braço é girado 90° em volta do centro */
.braco {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}
.braco:nth-child(1) {
  transform: rotate(0deg);
}
.braco:nth-child(2) {
  transform: rotate(90deg);
}
.braco:nth-child(3) {
  transform: rotate(180deg);
}
.braco:nth-child(4) {
  transform: rotate(270deg);
}

.braco i {
  position: absolute;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.text-link {
  color: var(--blue);
}

.text-link:hover {
  text-decoration: underline;
}
/* posições (x, y) relativas ao centro */
.braco i:nth-child(1) {
  left: -70px;
  top: -96px;
}
.braco i:nth-child(2) {
  left: -14px;
  top: -60px;
}
.braco i:nth-child(3) {
  left: 48px;
  top: -112px;
}

.highlight-symbol {
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
  color: var(--cyan);
}

.highlight-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}
.manifesto-highlight p {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

.about-conclusion p {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.9;
}

/* =================================
   CARTA
================================= */

.letter {
  background: var(--light);
}

.letter-header {
  display: grid;
  grid-template-columns: 1fr 0.4fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 35px;
}

.letter-header h2 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
}

.letter-header h2 span {
  color: var(--blue);
}

.letter-description p {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 24px;
}

.letter-description {
  margin-left: auto;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  padding: 10px 24px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.download-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.download-btn__fmt {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.letter-list {
  border-top: 1px solid #dde2e8;
}

.letter-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid #dde2e8;
}

.letter-number {
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.letter-item h3 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.letter-item p {
  max-width: 850px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
}

/* =================================
   SIGNATÁRIOS
================================= */

.signatories {
  background: var(--white);
}

.signatories-header {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 55px;
}

.signatories-header h2 {
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.2;
  font-weight: 800;
}

.signatories-header h2 span {
  color: var(--blue);
}

.signatories-header p {
  font-size: 16px;
  color: var(--gray);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.logo-item {
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.logo-item:hover {
  background: var(--light);
}

.logo-item img {
  max-width: 80%;
  max-height: 70px;
  object-fit: contain;
}

.logo-item--pair {
  gap: 10px;
}

.logo-item--pair > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.logo-item--pair img {
  max-width: 100%;
}

/* =================================
   ADESÃO (bloco dentro de PARTICIPAÇÃO)
================================= */

.join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 55px;
}

.join-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.join-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 800px;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.join-btn svg {
  width: 18px;
  height: 18px;
}

.join-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

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

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 25px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 45px;
}

.footer-brand > span {
  font-size: 27px;
  font-weight: 800;
  color: var(--cyan);
}

.footer-brand p {
  font-size: 14px;
  color: #cbd1eb;
  margin-top: 8px;
}

.footer-top {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
  color: #aeb7d7;
  font-size: 12px;
}

.letter-text {
  border-top: 1px solid #dde2e8;
  text-align: justify;
  padding-top: 35px;
}

/* =================================
   RESPONSIVIDADE
================================= */

@media (max-width: 850px) {
  .section {
    padding: 80px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-graphic {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .letter-header,
  .signatories-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .manifesto-highlight {
    padding: 30px;
  }
}


@media (max-width: 600px) {
  .header {
    height: auto;
    padding: 18px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-inner {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-links{
    flex-direction: column;
    align-items: start;
  }

  .hero-bottom {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 9px;
  }

  .section-top {
    margin-bottom: 40px;
  }

  .manifesto-highlight {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .manifesto-highlight .simbolo {
    zoom: 0.22;
    justify-self: center;
  }

  .highlight-symbol {
    font-size: 60px;
  }

  .manifesto-highlight p {
    font-size: 18px;
  }

  .letter-item {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }

  .letter-number {
    font-size: 22px;
  }

  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-item {
    min-height: 115px;
    padding: 15px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
