/* ============================================================
   LABPENSO — Stylesheet
   Paleta: navy #0A1F44 | laranja #E8541A | teal #0CB8C4 | ouro #F5A623
   Tipografia: Sora (display) + Inter (corpo)
   ============================================================ */

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

:root {
  --navy:   #0A1F44;
  --navy2:  #0D2557;
  --orange: #E8541A;
  --teal:   #0CB8C4;
  --gold:   #F5A623;
  --white:  #FFFFFF;
  --gray50: #F7F9FC;
  --gray100:#EEF1F7;
  --gray400:#94A3B8;
  --gray700:#334155;
  --gray900:#0F172A;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,31,68,0.10);
  --shadowLg: 0 12px 48px rgba(10,31,68,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray700);
  background: var(--white);
}

h1,h2,h3,h4,h5 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(10,31,68,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  background: white;
  padding: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.btn-nav {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
}
.btn-nav:hover { background: #D14010 !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--teal);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 0.08em;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── BOTÕES ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #D14010; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--teal); background: rgba(12,184,196,0.08); }
.btn-ghost.sm { padding: 9px 20px; font-size: 13px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* ── NUMBERS BAR ───────────────────────────────────────────── */
.numbers-bar {
  background: var(--navy);
  padding: 40px 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.number-item { color: white; }
.num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.num-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

/* ── SEÇÕES GENÉRICAS ─────────────────────────────────────── */
.section { padding: 96px 0; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--gray400);
  max-width: 560px;
  margin: 0 auto;
}

/* ── SOBRE HOME ────────────────────────────────────────────── */
.about-home { background: var(--gray50); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.col-text h2 { font-size: 2rem; margin-bottom: 20px; }
.col-text p { font-size: 15.5px; color: var(--gray700); margin-bottom: 14px; }
.col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mini-card {
  padding: 22px 18px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.mini-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.mini-card.orange::before { background: var(--orange); }
.mini-card.blue::before   { background: #1A56C4; }
.mini-card.teal::before   { background: var(--teal); }
.mini-card.navy::before   { background: var(--navy); }
.mini-card.orange { background: #FFF3EE; }
.mini-card.blue   { background: #EEF3FF; }
.mini-card.teal   { background: #E8FAFA; }
.mini-card.navy   { background: #EEF1F7; }
.mc-icon { font-size: 24px; margin-bottom: 10px; }
.mini-card h4 { font-size: 14px; margin-bottom: 8px; font-weight: 600; }
.mini-card p  { font-size: 13px; color: var(--gray700); line-height: 1.55; }

/* ── PESQUISA DESTAQUE ─────────────────────────────────────── */
.featured-research { background: var(--navy); }
.featured-research .eyebrow { color: var(--teal); }
.featured-research h2 { color: var(--white); }
.featured-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px;
}
.fc-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 20px;
}
.fc-content p:not(.fc-lead) {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}
.fc-visual svg { width: 100%; border-radius: 16px; }

/* ── ATUAÇÃO SOCIAL ────────────────────────────────────────── */
.social-section { background: var(--white); }
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.social-card {
  padding: 32px 24px;
  border: 1px solid var(--gray100);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}
.social-card:hover { box-shadow: var(--shadowLg); transform: translateY(-3px); }
.sc-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  line-height: 1;
}
.social-card h4 { font-size: 15px; margin-bottom: 10px; }
.social-card p  { font-size: 13.5px; color: var(--gray400); line-height: 1.6; }

/* ── PARCEIROS ─────────────────────────────────────────────── */
.partners { background: var(--gray50); padding: 48px 0; }
.partners .eyebrow { display: block; text-align: center; margin-bottom: 28px; }
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.partner-badge {
  padding: 10px 24px;
  border: 1.5px solid var(--gray100);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  letter-spacing: 0.04em;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--gray900);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding: 64px 24px;
}
.footer-brand .footer-logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 6px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 6px; }
.footer-uni { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-nav h5,
.footer-contact h5 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--teal); }
.footer-contact p { font-size: 13.5px; margin-bottom: 6px; }
.footer-contact .btn-ghost { margin-top: 16px; font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
}

/* ── PÁGINAS INTERNAS ─────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-top: 12px; }
.page-hero p  { color: rgba(255,255,255,0.65); font-size: 17px; margin-top: 16px; max-width: 600px; }

.content-section { padding: 80px 0; }
.content-section:nth-child(even) { background: var(--gray50); }

.subsection { margin-bottom: 64px; }
.subsection h3 { font-size: 1.5rem; margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--teal); display: inline-block; }
.subsection p { font-size: 15.5px; margin-bottom: 14px; }

/* Lista de financiamentos */
.funding-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.funding-list li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 14.5px; padding: 12px 16px;
  background: var(--gray50); border-radius: 8px;
  border-left: 3px solid var(--orange);
}
.funding-list li::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* Linhas de pesquisa cards */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.line-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray100);
  background: white;
  box-shadow: var(--shadow);
}
.line-card .line-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.line-card h4 { font-size: 1rem; margin-bottom: 12px; }
.line-card p  { font-size: 14px; color: var(--gray700); line-height: 1.65; }

/* Pessoas grid */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.person-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--gray100);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.person-card:hover { box-shadow: var(--shadow); }
.person-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gray100);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: var(--navy);
}
.person-card h5 { font-size: 14px; margin-bottom: 6px; }
.person-card p  { font-size: 12.5px; color: var(--gray400); }

/* Pesquisa cards */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.research-card {
  border: 1px solid var(--gray100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  background: white;
}
.research-card:hover { box-shadow: var(--shadowLg); transform: translateY(-3px); }
.rc-header {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.rc-header.orange { background: linear-gradient(135deg, #E8541A22, #F5A62322); }
.rc-header.teal   { background: linear-gradient(135deg, #0CB8C422, #0A1F4422); }
.rc-header.blue   { background: linear-gradient(135deg, #1A56C422, #0A1F4422); }
.rc-body { padding: 24px; }
.rc-body h4 { font-size: 15px; margin-bottom: 10px; }
.rc-body p  { font-size: 13.5px; color: var(--gray400); line-height: 1.6; }
.rc-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.rc-tag.em-andamento { background: #E8FAFA; color: var(--teal); }
.rc-tag.concluida    { background: var(--gray100); color: var(--gray700); }

/* Extensão */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ext-card {
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--gray100);
}
.ext-card .ext-icon { font-size: 28px; margin-bottom: 16px; }
.ext-card h4 { font-size: 15px; margin-bottom: 10px; }
.ext-card p  { font-size: 13.5px; color: var(--gray400); }

/* Produções */
.prod-list { list-style: none; margin-top: 24px; }
.prod-list li {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray100);
  font-size: 14.5px;
  display: flex; gap: 16px; align-items: baseline;
}
.prod-list li::before { content: '↓'; color: var(--teal); flex-shrink: 0; font-weight: 700; }
.prod-list li a { color: var(--navy); }
.prod-list li a:hover { color: var(--orange); }

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-info p { font-size: 15px; margin-bottom: 12px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray100);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--gray700);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form button {
  align-self: flex-start;
  background: var(--orange);
  color: white;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: #D14010; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .two-col        { grid-template-columns: 1fr; }
  .featured-card  { grid-template-columns: 1fr; }
  .fc-visual      { display: none; }
  .social-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .numbers-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
  .burger { display: flex; position: relative; z-index: 100; }
  .social-grid  { grid-template-columns: 1fr; }
  .lines-grid   { grid-template-columns: 1fr; }
  .col-cards    { grid-template-columns: 1fr; }
  .ext-grid     { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section      { padding: 64px 0; }
  .hero-title   { font-size: 2.4rem; }
  .hero-sub     { font-size: 16px; }
  .featured-card { padding: 28px; }
  .numbers-grid { grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
