/* Chronos v2 — revisão visual, mobile e performance — ago/2026 */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.page { width: min(100%, 1280px); max-width: 1280px; }

/* HEADER / LOGO / CTA */
nav { background: rgba(249,251,255,.88); border-bottom-color: rgba(13,45,107,.08); }
.nav-logo img { height: 50px !important; width: auto !important; object-fit: contain; filter: none !important; }
.nav-cta-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366 !important; color: #fff !important; padding: 10px 18px !important;
  border-radius: 5px; line-height: 1; box-shadow: 0 6px 18px rgba(37,211,102,.18);
}
.nav-cta-whatsapp:hover { background: #1fb85a !important; }
.nav-wa-icon { width: 17px; height: 17px; flex: 0 0 auto; }

/* FAIXA DE PARCEIROS — mais compacta */
.home-partners-page {
  max-width: none !important;
  padding: 26px max(40px, calc((100vw - 1200px)/2)) 30px !important;
  background: #f4f7fb;
}
.home-partners-page .section-sep { height: 6px; }
.home-partners-page .logos-marquee { padding: 2px 0 4px; }
.logos-track { gap: 34px; }
.logos-track img { width: 136px; height: 42px; }
.logos-track img[src*="astrazeneca"], .logos-track img[src*="jnj"] {
  width: 160px; height: 58px; transform: scale(1.12);
}

/* SOMOS CHRONOS */
.sobre-photo .photo-image { background-position: center 42% !important; }
.mvv-grid { grid-template-columns: 1fr !important; gap: 0 !important; margin-top: 28px; }
.mvv-card-wide {
  width: 100%; min-height: 168px; display: flex; align-items: center;
  padding: 38px 46px; border-radius: 7px;
}
.mvv-text-wide { font-size: 16px; line-height: 1.8; max-width: 1120px; color: rgba(255,255,255,.94); }

/* DIVERSIDADE */
.diversity-section {
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr);
  gap: 56px; align-items: center; padding: 34px 0 44px; margin-bottom: 18px;
}
.diversity-network { position: relative; height: 370px; min-width: 0; }
.diversity-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diversity-lines line { stroke: rgba(26,127,232,.28); stroke-width: 2; }
.div-node {
  position: absolute; border-radius: 50%; overflow: hidden; background: #dfe9f5;
  border: 4px solid #fff; box-shadow: 0 12px 34px rgba(13,45,107,.15);
  will-change: transform;
}
.div-node img { width: 100%; height: 100%; object-fit: cover; display: block; }
.div-node.n1 { width: 122px; height: 122px; left: 2%; top: 11%; animation: divFloatA 7.6s ease-in-out infinite; }
.div-node.n2 { width: 96px; height: 96px; left: 28%; top: 0; animation: divFloatB 8.4s ease-in-out -1.6s infinite; }
.div-node.n3 { width: 154px; height: 154px; left: 42%; top: 26%; animation: divFloatA 9.2s ease-in-out -2.2s infinite; }
.div-node.n4 { width: 142px; height: 142px; left: 13%; top: 57%; animation: divFloatB 8.7s ease-in-out -3.1s infinite; }
.div-node.n5 { width: 118px; height: 118px; left: 60%; top: 65%; animation: divFloatA 7.8s ease-in-out -1.1s infinite; }
.div-node.n6 { width: 104px; height: 104px; left: 75%; top: 7%; animation: divFloatB 9.4s ease-in-out -4s infinite; }
.div-node.n7 { width: 92px; height: 92px; left: 82%; top: 47%; animation: divFloatA 8.9s ease-in-out -2.8s infinite; }
.div-node.n1 img, .div-node.n2 img, .div-node.n3 img, .div-node.n4 img,
.div-node.n5 img, .div-node.n6 img, .div-node.n7 img { object-position: center 32%; }
.diversity-message { max-width: 480px; }
.diversity-title {
  font-family: 'Fraunces', serif; font-size: clamp(34px, 3.5vw, 48px); line-height: 1.08;
  color: var(--navy); font-weight: 700; letter-spacing: -.02em;
}
@keyframes divFloatA { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(4px,-9px,0)} }
@keyframes divFloatB { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(-5px,8px,0)} }

/* EQUIPE DIRETORIA */
.equipe-foto { height: 300px !important; background-size: cover !important; }
.equipe-foto.eq-anna { background-position: center 28% !important; }
.equipe-foto.eq-rafael { background-position: center 27% !important; }
.equipe-foto.eq-suzara { background-position: center 26% !important; }
.equipe-card { overflow: hidden; border-radius: 6px; }

/* VOLUNTÁRIO NA HOME — faixa mais baixa e vídeo equilibrado */
.voluntario-banner {
  grid-template-columns: minmax(0,1fr) 310px !important; gap: 44px !important;
  min-height: 440px !important; margin-bottom: 42px;
}
.voluntario-text { padding: 42px 0 !important; }
.voluntario-text p { margin-bottom: 24px; max-width: 470px; }
.voluntario-photo { padding: 24px 0 !important; align-items: center; }
.voluntario-photo .voluntario-video {
  width: auto !important; height: min(390px, 100%) !important; max-height: 390px !important;
  max-width: 100%; object-fit: contain;
}
.icape-manual { margin-top: 24px; }

/* ÁREAS TERAPÊUTICAS */
.areas-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; }
.area-card { border-radius: 6px; overflow: hidden; }
.area-pi-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.area-pi-avatar.pi-generic, .area-pi-portrait.pi-generic {
  background: linear-gradient(145deg,#e8f2fe,#d8e9fb); color: var(--navy); font-weight: 700;
  display: flex; align-items: center; justify-content: center; letter-spacing: .02em;
}
.area-pi-rqe { font-size: 10px; font-weight: 600; color: var(--text-light); margin-top: 2px; letter-spacing: .04em; }
.area-pi-bio { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; margin: 2px 0 20px; }
.area-drawer { width: min(520px, 100vw); }
.area-drawer-scroll { padding-bottom: 34px; }
.area-pi-block { margin-bottom: 22px; }
.pi-studies { margin: 0 0 24px; }
.pi-studies-title { font-family:'Fraunces',serif; font-weight:700; font-size:18px; color:var(--navy); margin-bottom:12px; }
.pi-study-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center;
  padding: 12px; border: 1px solid #dbe3ee; background: #fff; border-radius: 6px;
}
.pi-study-photo {
  height: 76px; border-radius: 5px; background: linear-gradient(145deg,#e8eef6,#dbe6f3);
  color: #8a9abe; display:flex; align-items:center; justify-content:center; font-size:11px; text-transform:uppercase; letter-spacing:.08em;
}
.pi-study-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pi-study-desc { font-size: 12px; color: var(--text-mid); line-height: 1.55; }
.area-lattes[href="#"] { opacity: .62; pointer-events: none; }

/* COMO PARTICIPAR */
.participar-top { padding-top: 40px !important; padding-bottom: 36px !important; }
.edit-photo { background-position: center 34% !important; }
.anvisa-premium-v2::before { background-image: url('assets/custom/participante-equipe.webp') !important; background-position: center 40% !important; opacity: .23 !important; }
.anvisa-premium { min-height: 250px; }

/* GALERIA */
.gal-photo-grid-team { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
.gal-photo-grid-team .gal-photo { background-position: center 24% !important; }
.gal-photo-grid-team .gal-photo.wide { background-position: center 48% !important; }

/* TRABALHE CONOSCO — HERO */
.tc-hero-v2 { min-height: 410px !important; }
.tc-hero-bg-v2 {
  transform: scaleX(-1); background-position: 45% center !important; background-size: cover !important;
}
.tc-hero-overlay-v2 {
  background: linear-gradient(90deg, rgba(8,18,40,.91) 0%, rgba(8,18,40,.77) 42%, rgba(8,18,40,.42) 72%, rgba(8,18,40,.2) 100%) !important;
}

/* ÁREAS DE INTERESSE — cards azuis */
.tc-area-item {
  background: linear-gradient(145deg,#1779df,#0f65c7) !important; border: 0 !important;
  box-shadow: 0 8px 20px rgba(13,45,107,.10); min-height: 92px;
}
.tc-area-item:hover { box-shadow: 0 12px 28px rgba(13,45,107,.2) !important; }
.tc-area-mark { background: rgba(255,255,255,.13) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.18); }
.tc-area-name { color: #fff !important; }
.tc-area-sub { color: rgba(255,255,255,.76) !important; }

/* Banco de talentos: uma composição em 2 colunas mais coesa */
.tc-form-grid {
  grid-template-columns: minmax(0,1.5fr) minmax(320px,.9fr) !important;
  gap: 14px !important; align-items: stretch;
}
.tc-form-card, .tc-form-side { border-radius: 7px !important; box-shadow: 0 12px 30px rgba(13,45,107,.07); }
.tc-form-side { min-height: 100%; }
.tc-side-photo { height: 118px !important; flex: 0 0 118px; background-position: center 35% !important; }
.tc-side-photo::after { background: linear-gradient(transparent 20%,rgba(13,45,107,.92)) !important; }
.tc-side-body { padding: 28px 30px 32px !important; }
.tc-side-body h3 { margin-bottom: 11px !important; }
.tc-side-body p { margin-bottom: 20px !important; }

/* linhas do tempo: acabamento da animação já existente */
.timeline .tl-dot { transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.timeline.animate .tl-step.lit .tl-dot { transform: scale(1.04); }

/* MOBILE */
@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: repeat(3,1fr) !important; }
  .diversity-section { gap: 30px; grid-template-columns: 1.2fr .8fr; }
  .diversity-network { transform: scale(.9); transform-origin: left center; }
}

@media (max-width: 860px) {
  nav { padding: 0 18px !important; height: 70px; }
  .nav-logo img { height: 43px !important; }
  .nav-cta { display: inline-flex !important; }
  .nav-right { gap: 9px !important; }
  .lang-toggle button { padding: 6px 8px; }

  .home-partners-page { padding: 22px 22px 26px !important; }
  .logos-track { gap: 24px; }
  .logos-track img { width: 116px; height: 38px; }
  .logos-track img[src*="astrazeneca"], .logos-track img[src*="jnj"] { width: 138px; height: 50px; }

  .diversity-section { grid-template-columns: 1fr; gap: 10px; padding: 30px 0 34px; }
  .diversity-message { order: -1; max-width: 620px; }
  .diversity-network { width: 100%; max-width: 620px; transform: none; height: 330px; }
  .diversity-title { font-size: 38px; max-width: 620px; }

  .areas-grid { grid-template-columns: repeat(2,1fr) !important; }
  .voluntario-banner { grid-template-columns: 1fr !important; min-height: 0 !important; gap: 0 !important; }
  .voluntario-text { padding: 42px 0 18px !important; }
  .voluntario-photo { padding: 6px 0 34px !important; }
  .voluntario-photo .voluntario-video { height: 360px !important; max-height: 360px !important; }

  .tc-form-grid { grid-template-columns: 1fr !important; }
  .tc-side-photo { height: 150px !important; flex-basis: 150px; }
}

@media (max-width: 600px) {
  .page { padding: 30px 20px 58px !important; }
  .section-title { font-size: 29px; margin-bottom: 26px; }
  nav { height: 66px; padding: 0 14px !important; }
  .nav-logo img { height: 40px !important; }
  .nav-cta-whatsapp { min-width: 38px; width: 38px; height: 38px; padding: 0 !important; border-radius: 5px; }
  .nav-cta-whatsapp span { display: none; }
  .nav-wa-icon { width: 19px; height: 19px; }
  .lang-toggle button { font-size: 10px; padding: 6px 7px; }
  .nav-burger { padding: 4px !important; }

  .mvv-card-wide { min-height: 0; padding: 28px 24px; }
  .mvv-text-wide { font-size: 14px; line-height: 1.75; }

  .diversity-title { font-size: 33px; }
  .diversity-network { height: 285px; }
  .div-node { border-width: 3px; }
  .div-node.n1 { width: 88px; height: 88px; }
  .div-node.n2 { width: 70px; height: 70px; }
  .div-node.n3 { width: 112px; height: 112px; left: 40%; }
  .div-node.n4 { width: 102px; height: 102px; }
  .div-node.n5 { width: 86px; height: 86px; }
  .div-node.n6 { width: 74px; height: 74px; }
  .div-node.n7 { width: 68px; height: 68px; }

  .equipe-grid { grid-template-columns: 1fr !important; }
  .equipe-foto { height: 320px !important; }

  .areas-preview-grid { grid-template-columns: 1fr !important; }
  .areas-preview-grid .area-preview-card { min-width: 0 !important; }
  .areas-grid { grid-template-columns: 1fr !important; }

  .area-drawer-head { padding: 28px 22px 20px !important; }
  .area-drawer-scroll { padding: 22px 22px 30px !important; }
  .area-drawer-action .btn-primary, .area-drawer-action .btn-ghost { font-size: 13px; padding-left: 18px; padding-right: 18px; }
  .pi-study-card { grid-template-columns: 78px 1fr; }
  .pi-study-photo { height: 68px; }

  .edit-inner { grid-template-columns: 1fr !important; }
  .edit-photo { min-height: 340px; background-position: center 30% !important; }
  .anvisa-premium { padding: 30px 22px !important; }

  .gal-photo-grid-team { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 170px; }
  .gal-photo-grid-team .gal-photo.wide { grid-column: span 2; }
  .gal-photo-grid-team .gal-photo.tall { grid-row: span 1; }

  .tc-hero-v2 { min-height: 430px !important; }
  .tc-hero-bg-v2 { background-position: 42% center !important; }
  .tc-hero-overlay-v2 { background: linear-gradient(90deg,rgba(8,18,40,.92),rgba(8,18,40,.7) 68%,rgba(8,18,40,.48)) !important; }
  .tc-areas-grid { grid-template-columns: 1fr !important; }
  .tc-area-item { min-height: 82px; }
  .tc-form-card { padding: 28px 22px !important; }
  .tc-side-body { padding: 26px 22px 30px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .div-node { animation: none !important; }
}

/* Heróis e margens em telas pequenas */
@media (max-width: 600px) {
  .page-hero { min-height: 340px !important; }
  .page-hero-content { padding: 48px 20px !important; }
  #sobre > div[style*="max-width:1280px"] { padding-left: 20px !important; padding-right: 20px !important; }
  .sobre-photo .photo-image { min-height: 340px !important; }
  .tc-process-inner { padding-left: 20px !important; padding-right: 20px !important; }
}
