:root {
  --bg: #d8e6f2;
  --ink: #111111;
  --muted: #243542;
  --blueprint: #35566f;
  --grid: rgba(32, 82, 122, 0.1);
  --line: rgba(0, 0, 0, 0.14);
  --section-padding: 1px 10%;
  --nav-height: 130px;
  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(80, 150, 220, 0.28), transparent 40%),
    radial-gradient(circle at bottom right, rgba(50, 120, 200, 0.16), transparent 45%);
  z-index: -3;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -2;
  pointer-events: none;
}

img,
video { max-width: 100%; }

a { color: inherit; }

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 36px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(216, 230, 242, 0.44);
  z-index: 999;
}

.nav-logo {
  display: block;
  text-decoration: none;
}

.nav-logo img {
  width: clamp(220px, 20vw, 380px);
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: clamp(13px, 0.9vw, 16px);
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.nav-links a:hover { opacity: 0.4; }

/* GLOBAL */

.section-block {
  position: relative;
  padding: var(--section-padding);
}

.section-block::before {
  content: "";
  position: absolute;
  top: 180px;
  left: 10%;
  width: 72px;
  height: 1px;
  background: var(--ink);
  opacity: 0.45;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

.section-label,
.eyebrow {
  font-size: clamp(10px, 0.72vw, 14px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blueprint);
  opacity: 0.9;
}

.section-title,
.about h2,
.impact h2,
.support h2 {
  font-size: clamp(52px, 6vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.25vw;
  font-weight: 500;
  max-width: 1200px;
}
.process-title {
  margin: 0;
}
.process-visual {
  width: 100%;
  margin-top: 82px;
}

.process-visual img {
  width: 100%;
  max-width: none;
  display: block;
}
/* HERO */

.hero .eyebrow {
  margin-top: -20px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 10% 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 68%;
  left: 52%;
  transform: translate(-50%, -50%) scale(1.08);
  width: clamp(1050px, 72vw, 1600px);
  opacity: 1;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.technical-line {
  width: 1px;
  height: 1px;
  background: var(--ink);
  margin: 26px 0 42px;
}

.hero h1 {
  font-size: clamp(64px, 8vw, 142px);
  line-height: 0.88;
  letter-spacing: -0.32vw;
  margin-bottom: 40px;
  font-weight: 500;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero-text {
  max-width: 560px;
  font-size: clamp(19px, 1.25vw, 25px);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 48px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: 0.3s ease;
  font-size: clamp(13px, 0.9vw, 16px);
}

.btn:hover {
  background: var(--ink);
  color: #ffffff;
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
}

.btn-dark:hover {
  background: transparent;
  color: var(--ink);
}

/* VIDEO */

.video-section {
  padding: 0 10% 220px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.video-wrapper::before {
  content: "00:00:00 / MANIFESTO";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.76);
  pointer-events: none;
}

.lab-video {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ABOUT */

.about-grid {
  display: flex;
  flex-direction: column;
}

.about-title h2 {
  margin-bottom: 72px;
  max-width: max-content;
  white-space: nowrap;
}

.about-subtitle {
  max-width: 560px;
  margin-top: 32px;
}

.about-subtitle p {
  font-size: clamp(19px, 1.25vw, 25px);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-subtitle p:last-child {
  margin-bottom: 0;
}

.text-panel {
  position: relative;
  padding: 48px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(216, 230, 242, 0.24);
}

.text-panel::before {
  content: "LABORATÓRIO DE HISTÓRIAS ANIMADAS";
  position: absolute;
  top: -28px;
  left: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blueprint);
}

.about-frame-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.about-visual {
  transform: translateY(-260px);
}

.about-visual img {
  width: 100%;
  display: block;
}

.about-description {
  max-width: 600px;
}

.about-description p {
  font-size: clamp(24px, 1.8vw, 36px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.text-panel p,
.support p,
.origin-card p {
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
}

.text-panel p:last-child,
.origin-card p:last-child {
  margin-bottom: 0;
}

/* PROJECT PROCESS */

.project-process {
  margin-top: 40px;
}

.project-process-header {
  margin-bottom: 20px;
}

.process-frame-group {
  padding: 22px;
}

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

.process-card {
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(216, 230, 242, 0.28);
  padding: 22px;
  min-height: 520px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-card span {
  font-size: 13px;
  color: var(--blueprint);
}

.process-card strong {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.process-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.process-card p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 92%;
}

.process-card-final {
  grid-column: span 3;
  min-height: 360px;
}

.process-title {
  font-size: clamp(22px, 1.5vw, 32px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* IMPACT */

#impact .section-header {
  margin-top: 120px;
  margin-bottom: 80px;
  gap: 40px;
}

.impact-visual {
  width: 100%;
  margin-top: 80px;
}

.impact-visual img {
  width: 100%;
  display: block;
}

/* HISTORINHAS DA NINA */

.origin-card {
  margin-top: 72px;
  max-width: 1200px;
}

.origin-card span {
  display: block;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--blueprint);
}

.origin-title {
  font-size: clamp(52px, 6vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.25vw;
  font-weight: 500;
  max-width: max-content;
  white-space: nowrap;
  margin-bottom: 40px;
}

.origin-card p {
  max-width: 760px;
}

.nina-card {
  margin-top: -100px;
}

.nina-label {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--blueprint);
  margin-bottom: 28px;
}

.nina-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nina-video-item video {
  width: 100%;
  height: auto;
  display: block;
}

/* SUPPORT */

.support {
  padding-top: 180px;
  padding-bottom: 180px;
}

.support-content {
  max-width: 1280px;
}

.support h2 {
  font-size: clamp(64px, 8vw, 142px);
  line-height: 0.88;
  letter-spacing: -0.32vw;
  font-weight: 500;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  margin-bottom: 72px;
}

.support-copy {
  max-width: 820px;
  margin-bottom: 88px;
}

.support-copy h3 {
  font-size: clamp(42px, 3.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin-bottom: 32px;

  width: fit-content;
  white-space: nowrap;
}

.support-copy p {
  font-size: clamp(19px, 1.25vw, 25px);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 56px;
}

.support-copy p:last-child {
  margin-bottom: 0;
}
.support-visual {
  width: 100%;
  margin: -450px 0 90px;
  position: relative;
  left: 290px;
}

.support-visual img {
  width: 100%;
  display: block;
}
.support-intro-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
  margin: 70px 0 90px;
}

.support-intro-text h3 {
  font-size: clamp(36px, 3.5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin-bottom: 36px;
}

.support-intro-text p {
  max-width: 560px;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 32px;
}

.support-character img {
  width: 100%;
  display: block;
}


@media (max-width: 768px) {
  .support-intro-block {
    grid-template-columns: 1fr;
  }
}
  
/* ACCORDION */

.accordion {
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.accordion-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  padding-bottom: -60px;
  transition: padding 0.3s ease;
}

.accordion-trigger {
  width: 100%;
  padding: 34px 0 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-main);
  text-align: left;
  transition: opacity 0.3s ease;
}

.accordion-trigger:hover {
  opacity: 0.65;
}

.accordion-trigger span:first-child {
  font-size: clamp(28px, 3vw, 64px);
  line-height: 1;
  letter-spacing: -0.08vw;
  font-weight: 400;
}

.accordion-icon {
  font-size: clamp(28px, 3vw, 52px);
  line-height: 1;
  font-weight: 300;
  color: var(--blueprint);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-description {
  max-width: 720px;
  margin: 0 0 0px;
  font-size: clamp(18px, 1.2vw, 24px);
  line-height: 1.55;
  color: var(--muted);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s ease;
}

.accordion-content ul {
  list-style: none;
  max-width: 720px;
  padding-top: 28px;
}

.accordion-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.45;
  color: var(--muted);
}

.accordion-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 1px;
  background: var(--blueprint);
}

/* SUPPORT BUTTONS */

.support-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 72px;
}

/* ===== LAB O QUE É ===== */

.about-intro-image {
  width: 85%;
  transform: translate(100px, -200px);
}

.about-intro-image img {
  width: 100%;
  display: block;
}

/* ===== LAB APOIO ===== */
.support-character {
  transform: translate(-120px, -30px);
}

.support-character img {
  width: 200%; /* aumente ou diminua aqui */
  max-width: none;
  display: block;
}

/* MOBILE SUPPORT */

@media (max-width: 768px) {
  .support {
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .support h2 {
    font-size: 15vw;
    letter-spacing: -3px;
    margin-bottom: 56px;
  }

  .support-copy {
    margin-bottom: 64px;
  }

  .support-copy h3 {
    font-size: 30px;
  }

  .support-copy p {
    font-size: 18px;
    margin-bottom: 44px;
  }

  .accordion-trigger {
    padding: 28px 0 18px;
  }

  .accordion-trigger span:first-child {
    font-size: 9vw;
    letter-spacing: -1px;
  }

  .accordion-description {
    font-size: 18px;
  }

  .support-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CONTACT */

.support-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* MOBILE SUPPORT */

@media (max-width: 768px) {
  .support {
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .support-intro,
  .support-forms,
  .support-contact {
    margin-bottom: 120px;
  }

  .support-contact {
    margin-bottom: 0;
  }

  .accordion {
    margin-top: 48px;
  }

  .accordion-trigger {
    padding: 26px 0;
  }

  .accordion-trigger span:first-child {
    font-size: 9vw;
    letter-spacing: -1px;
  }

  .accordion-content p {
    font-size: 18px;
  }

  .support-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* FOOTER */

.footer {
  padding: 0 10% 80px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 48px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-label {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

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

.footer-contact a {
  text-decoration: none;
  color: var(--blueprint);
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.5;
}

@media (max-width: 768px) {

  .footer {
    padding: 0 24px 64px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-contact {
    align-items: flex-start;
  }

}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ANCHORS */

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

#about {
  scroll-margin-top: 150px;
}

#impact {
  scroll-margin-top: 150px;
}

#support {
  scroll-margin-top: 180px;
}

#about {
  margin-top: -80px;
}

.project-process {
  margin-top: -180px;
}
#impact::before,
#support::before {
  display: none;
}

/* MOBILE */

@media (max-width: 768px) {
  :root {
    --section-padding: 160px 24px;
    --nav-height: 96px;
  }
   
  .origin-title {
  font-size: 13vw;
  letter-spacing: -2px;
  white-space: normal;
}

  .navbar {
    padding: 24px;
  }

  .nav-logo img {
    width: 180px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 180px 24px 120px;
  }

  .hero-bg {
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    width: 920px;
    opacity: 0.18;
  }

  .hero h1 {
    font-size: 15vw;
    letter-spacing: -3px;
    white-space: normal;
  }

  .hero-text,
  .support p {
    font-size: 18px;
  }

  .video-section {
    padding: 0 24px 160px;
  }

.nina-videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-block::before {
    top: 120px;
    left: 24px;
  }

  .about-title h2 {
    white-space: normal;
  }

  .about-frame-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .about-visual {
    flex: none;
    width: 100%;
    min-height: 320px;
  }

  .about-description {
    max-width: 100%;
  }

  .text-panel {
    padding: 24px;
  }

  .section-title,
  .about h2,
  .impact h2,
  .support h2 {
    font-size: 13vw;
    letter-spacing: -2px;
  }

  .project-process {
    margin-top: 56px;
  }

  .project-process-header {
    margin-bottom: 28px;
  }

  .process-frame-group {
    padding: 24px;
  }

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

  .process-card-final {
    grid-column: span 1;
  }

  .origin-card {
    padding: 24px;
  }

  .footer {
    padding: 0 24px 64px;
  }

  .footer-content {
    flex-direction: column;
  }
}