/* =========================================================
   Conahp 2026 - LP provisória
   Paleta provisória do novo KV 2026 (sera substituida quando
   o KV definitivo for aprovado). Todas as cores em variaveis.
   ========================================================= */

/* ----------------- Fonte Clother ----------------- */
/* Pesos disponiveis: Light (300), Regular (400), Black (mapeado para 800). */
@font-face {
  font-family: 'Clother';
  src: url('assets/fonts/Clother-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clother';
  src: url('assets/fonts/Clother-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clother';
  src: url('assets/fonts/Clother-Black.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  /* Paleta oficial provisória do novo KV 2026 (HEX confirmados) */
  --navy:   #024059;  /* base institucional, fundos escuros, footer, hero */
  --teal:   #3995B2;  /* cor de acao secundaria, detalhes */
  --lime:   #C2E812;  /* cor de energia, CTAs primarios sobre navy */
  --coral:  #F2766B;  /* acentos, tags, destaques de programacao */
  --lilac:  #A882DD;  /* superficies suaves, cards */
  --plum:   #290628;  /* profundidade, gradientes com navy */
  --white:  #FFFFFF;
  --off:    #F6F7FB;  /* fundo de secoes claras */
  --ink:    #14161F;  /* texto sobre claro */

  /* Tons derivados (mais claros / mais escuros) para a programacao */
  --navy-700: #023246;
  --navy-300: #2f6a82;
  --teal-tint:   #e3f0f5;  /* teal bem claro, fundo de card */
  --lilac-tint:  #efe8fa;  /* lilac bem claro */
  --coral-tint:  #fde7e4;  /* coral bem claro */
  --lime-tint:   #f2fbcf;  /* lime bem claro */
  --teal-dark:   #1f6d88;  /* teal mais escuro */

  /* Tokens de UI */
  --radius:   14px;
  --radius-sm: 12px;
  --radius-lg: 16px;
  --maxw: 1120px;
  --gut: 24px;
  --shadow-soft: 0 10px 30px rgba(2, 64, 89, 0.08);
  --shadow-card: 0 4px 18px rgba(2, 64, 89, 0.06);

  --ff: 'Clother', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ----------------- Reset / base ----------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 800; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--lime); color: var(--navy); padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 800; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

/* ----------------- Botões ----------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 800; font-size: 16px; line-height: 1;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { box-shadow: 0 8px 22px rgba(194, 232, 18, 0.45); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { box-shadow: 0 8px 22px rgba(2, 64, 89, 0.28); }

.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { box-shadow: 0 8px 22px rgba(242, 118, 107, 0.4); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--ghost-dark { color: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: var(--white); }

/* ----------------- Logo chip (regra de marca: logo sobre navy em chip branco) ----------------- */
.logo-chip {
  display: inline-flex; align-items: center;
  background: var(--white); padding: 8px 14px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.logo-chip img { height: 34px; width: auto; }
.logo-chip--lg img { height: 40px; }

/* ----------------- Header / Nav ----------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 22px 0;
}
.site-header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 6px 24px rgba(2, 64, 89, 0.25);
  padding: 15px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .nav__logo { height: 40px; } }

.nav__links { display: flex; gap: 28px; margin-left: auto; margin-right: 8px; }
.nav__links a {
  color: var(--white); text-decoration: none; font-weight: 400; font-size: 16px;
  padding: 6px 2px; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--lime); transition: width .2s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; font-size: 15px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer;
}
.nav__toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 4px;
  background: var(--navy-700); padding: 12px var(--gut) 20px;
}
.nav__mobile a { color: var(--white); text-decoration: none; font-weight: 400; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__mobile .btn { margin-top: 12px; }

/* ----------------- Hero ----------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 64px;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/img/conahp-auditorio.jpeg') center 35% / cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,64,89,0.96) 0%, rgba(2,64,89,0.84) 40%, rgba(2,64,89,0.40) 76%, rgba(41,6,40,0.45) 100%),
    linear-gradient(0deg, rgba(2,64,89,0.88) 0%, rgba(2,64,89,0.10) 48%);
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: clamp(14px, 2.2vw, 19px); font-weight: 800; color: var(--white);
  background: rgba(255,255,255,.07); border: 1px solid rgba(57,149,178,.5);
  padding: 11px 18px; border-radius: 999px;
}
.hero__chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }

.hero__title { font-size: clamp(34px, 6vw, 64px); margin-bottom: 32px; max-width: 14ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----------------- Sections base ----------------- */
.section { padding: 88px 0; }
.section--light { background: var(--white); }
.section--off { background: var(--off); }

.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  margin-bottom: 12px;
}
.eyebrow--teal { color: var(--teal); }
.eyebrow--coral { color: var(--coral); }
.eyebrow--lilac { color: var(--lilac); }

.section__title { font-size: clamp(28px, 4.4vw, 44px); max-width: 18ch; }
.section__title--invert { color: var(--white); }
.lead { font-size: clamp(17px, 2vw, 20px); max-width: 60ch; color: #2c3340; }
.lead--center { margin-inline: auto; text-align: center; }

/* ----------------- Sobre ----------------- */
.about {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.about__copy .section__title { margin-bottom: 18px; }
.about__copy .btn { margin-top: 14px; }
.about__media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); aspect-ratio: 3 / 2;
}

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px;
}
.stat {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  border: 1px solid #eceef4; box-shadow: var(--shadow-card);
  border-top: 5px solid var(--teal);
}
.stat--lime  { border-top-color: var(--lime); }
.stat--coral { border-top-color: var(--coral); }
.stat--teal  { border-top-color: var(--teal); }
.stat__num { display: block; font-size: clamp(40px, 7vw, 58px); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.stat__label { display: block; margin-top: 10px; font-weight: 400; color: #4a5160; font-size: 18px; }

/* ----------------- Programação ----------------- */
.prog__banner {
  margin: 34px 0 8px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.prog__banner img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 72%;
  aspect-ratio: 3 / 1; display: block;
}
@media (max-width: 480px) { .prog__banner img { aspect-ratio: 16 / 10; object-position: center 72%; } }

.prog__notice {
  text-align: center; font-size: 14px; color: #6a7180; font-weight: 400;
  margin: 26px 0 18px;
}
.tabs {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap;
}
.tab {
  font-family: inherit; font-weight: 800; font-size: 17px; color: var(--navy-300);
  background: var(--white); border: 2px solid #dfe3ec; border-radius: 999px;
  padding: 12px 26px; cursor: pointer; transition: .18s; display: inline-flex; gap: 8px; align-items: baseline;
}
.tab__date { font-weight: 400; font-size: 14px; opacity: .85; }
.tab:hover { border-color: var(--teal); color: var(--navy); }
.tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab.is-active .tab__date { color: var(--lime); opacity: 1; }

.tabpanel { display: grid; gap: 14px; }
.tabpanel[hidden] { display: none; }

/* Card horizontal de horario */
.slot {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px;
  background: var(--white); border: 1px solid #e7eaf2; border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-card); align-items: start;
}
.slot__time {
  font-weight: 800; color: var(--coral); font-size: 17px; line-height: 1.3;
  padding-top: 2px;
}
.slot__body { min-width: 0; }
.slot__single { margin: 0; font-weight: 400; color: var(--navy); }
.slot__sim-label {
  margin: 0 0 12px; font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: #8b91a0;
}
.slot__sim-label--invert { color: rgba(255,255,255,.75); }

/* Intervalos / almoço: tom neutro mais claro */
.slot--break { background: var(--off); border-style: dashed; box-shadow: none; }
.slot--break .slot__single { color: #6a7180; font-weight: 400; }
.slot--break .slot__time { color: var(--navy-300); }

/* Destaque: Palestra magna e Case PIX -> navy invertido com borda lime */
.slot--feature {
  background: var(--navy);
  border: 2px solid var(--lime);
  box-shadow: 0 12px 34px rgba(2, 64, 89, 0.28);
}
.slot--feature .slot__time { color: var(--lime); }
.slot--feature .slot__single--feature { color: var(--white); font-weight: 400; }

/* Sub-cards de sessoes simultaneas */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.track {
  background: var(--teal-tint); border-radius: var(--radius-sm);
  padding: 16px 16px 18px; border-left: 4px solid var(--teal);
}
.track p { margin: 8px 0 0; font-weight: 400; color: var(--navy); font-size: 15.5px; }

/* Cada formato recebe um tom da paleta (mais claro/escuro) */
.track--debate        { background: var(--teal-tint);  border-left-color: var(--teal); }
.track--palestra      { background: var(--lilac-tint); border-left-color: var(--lilac); }
.track--palestradebate{ background: var(--coral-tint); border-left-color: var(--coral); }
.track--apresentacao  { background: var(--lime-tint);  border-left-color: #8aa70d; }
.track--case          { background: var(--lime-tint);  border-left-color: #8aa70d; }
.track--case-feature  { background: var(--navy); border-left: 4px solid var(--lime); }
.track--case-feature p { color: var(--white); }

/* Chips de formato */
.chip {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .3px;
  padding: 5px 12px; border-radius: 999px; margin-right: 6px; margin-bottom: 4px;
}
.chip--debate         { background: var(--teal);  color: var(--white); }
.chip--palestra       { background: var(--lilac); color: var(--white); }
.chip--palestradebate { background: var(--coral); color: var(--white); }
.chip--apresentacao   { background: #8aa70d; color: var(--white); }
.chip--case           { background: var(--navy); color: var(--lime); }
.chip--magna          { background: var(--lime); color: var(--navy); }

.slot--feature .chip--magna { box-shadow: 0 0 0 3px rgba(194,232,18,.25); }

.prog__cta { text-align: center; margin-top: 40px; }

/* ----------------- Captura ----------------- */
.section--capture {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--plum) 130%);
  color: var(--white);
}
.capture__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/img/conahp-instalacao.jpeg") center/cover no-repeat;
  opacity: .16; mix-blend-mode: luminosity;
}
.capture {
  position: relative; z-index: 1;
  max-width: 720px; margin-inline: auto; text-align: center;
}
.capture .section__title { margin-inline: auto; max-width: 22ch; }
.capture__sub { font-size: 19px; color: rgba(255,255,255,.88); max-width: 52ch; margin-inline: auto; }
.capture__when {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800;
  background: rgba(255,255,255,.08); padding: 10px 18px; border-radius: 999px; font-size: 15px;
}
.capture__when .dot--lime { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.capture__cta { margin-top: 30px; }

/* ----------------- Parceiros ----------------- */
/* Título centralizado (Parceiros Anahp) */
.section__title--center { text-align: center; margin-inline: auto; }

/* Tiers de parceiros e patrocinadores */
.tier { margin-top: 44px; }
.tier:first-of-type { margin-top: 40px; }
.tier__label {
  text-align: center; font-size: 14px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--lilac); margin: 0 0 20px;
}
.tier__grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* Slot base: proporção fixa 200x115; a largura (--tier-w) define o tamanho por tier */
.logo-slot {
  width: var(--tier-w, 200px); aspect-ratio: 200 / 115;
  object-fit: contain; background: var(--white);
  border-radius: var(--radius-sm); border: 1px solid #e7eaf2;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier--diamond        { --tier-w: 200px; }    /* 100%   = 200 x 115 */
.tier--gold           { --tier-w: 190px; }    /* 95%    = 190 x 109 */
.tier--platinum       { --tier-w: 180.5px; }  /* 90,25% = 180,5 x 103,8 */
.tier--patrocinadores { --tier-w: 190px; }    /* 95%    = 190 x 109 */
.logo-slot:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.b2b {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--lilac-tint); border-radius: var(--radius-lg); padding: 28px 32px;
  margin-top: 64px;
}
.b2b__txt { margin: 0; font-weight: 800; font-size: clamp(18px, 2.4vw, 22px); color: var(--navy); max-width: 40ch; }

/* ----------------- Footer ----------------- */
.footer { background: var(--navy); color: var(--white); padding: 64px 0 0; }

.footer__top {
  display: grid; grid-template-columns: 1.15fr 1fr 1.05fr; gap: 36px 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 6px; }
.footer__q { margin: 0; font-size: 19px; font-weight: 800; max-width: 22ch; line-height: 1.25; }
.footer__label { margin: 0; font-weight: 800; color: rgba(255,255,255,.78); font-size: 15px; }
.footer__label--lg { color: var(--white); font-size: 18px; }
.footer__label--sep { margin-top: 16px; }
.footer__addr { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; max-width: 34ch; line-height: 1.55; }

.f-line { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 800; color: var(--white); }
.f-line svg { color: var(--lime); flex: none; }

.f-contact {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--off); color: var(--navy); text-decoration: none;
  padding: 11px 16px; border-radius: 12px; font-weight: 800; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.f-contact svg { color: var(--coral); flex: none; }
.f-contact:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

.f-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--navy); text-decoration: none;
  padding: 11px 20px; border-radius: 12px; font-weight: 800; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.f-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(194,232,18,.35); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 24px;
}
.footer__realiza { display: inline-flex; align-items: center; gap: 14px; }
.footer__realiza-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.6); font-weight: 800; }
.footer__realiza img { height: 52px; width: auto; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); transition: .18s;
}
.footer__social a:hover { background: var(--lime); color: var(--navy); transform: translateY(-2px); }

.footer__copy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12);
}
.footer__copy p { margin: 0; font-size: 14px; color: rgba(255,255,255,.6); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 800; font-size: 14px; }
.footer__legal a:hover { color: var(--lime); }

/* ----------------- Animação count-up ----------------- */
.stat__num { transition: opacity .3s; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .about { gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .site-header { background: var(--navy); }
  .nav__mobile.is-open { display: flex; }

  .hero { padding-top: 104px; min-height: auto; }

  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .stats { grid-template-columns: 1fr; gap: 14px; }

  .tracks { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 1fr; gap: 10px; }
  .slot__time { padding-top: 0; }

  .capture { grid-template-columns: 1fr; gap: 30px; }
  .b2b { flex-direction: column; align-items: flex-start; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer__col { gap: 14px; }
  .footer__col:first-child { grid-column: auto; }

  /* Bloco de realização + redes sociais empilhado, com respiro */
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 28px; }
  .footer__realiza img { height: 46px; }
  .footer__copy { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .btn--lg { padding: 15px 24px; }
}
