/* ===== Base ===== */
:root {
  --bg: #0e0f12;
  --bg-alt: #16181d;
  --line: #22252c;
  --line-strong: #3a3f4a;
  --text: #f2f3f5;
  --text-muted: #abb0ba;
  --text-dim: #7d838f;
  --text-faint: #5f6672;
  --accent: #8d95a0;
  --brand: #ff773f;
  --btn: var(--brand);
  --btn-hover: #ff8f5f;
  --btn-border: var(--brand);
  --line-accent: #4f5762;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: #b8c0c9; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: #fff; }
::selection { background: #4b525b; color: #fff; }
em { font-style: italic; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.text { font-size: 18px; line-height: 1.68; color: var(--text-muted); }
.text + .text { margin-top: 20px; }
.num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent); letter-spacing: .14em; }

/* ===== Botões ===== */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 17px 32px;
  border-radius: 2px;
  border: 1px solid var(--btn-border);
  background: var(--btn);
  color: #fff;
}
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn--sm { font-size: 14px; padding: 12px 22px; }
.btn--lg { font-family: 'DM Sans', sans-serif; font-size: 17px; padding: 19px 36px; white-space: nowrap; }
.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { background: transparent; border-color: var(--accent); }

/* ===== Barra de anúncio ===== */
.topbar {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14px; line-height: 1.4; text-align: center;
}
.topbar:hover { background: var(--btn-hover); color: #fff; }
.topbar__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 2px;
}
.topbar__texto strong { font-family: 'DM Sans', sans-serif; font-weight: 700; }
.topbar__curta { display: none; }
.topbar__cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 18, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.header__logo { display: block; }
.logo { height: 26px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav__link { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.nav__link:hover { color: var(--brand); }

/* Botão hambúrguer (visível só no mobile) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0; border: 1px solid var(--line-strong); border-radius: 2px;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar {
  display: block; width: 20px; height: 2px; background: var(--text);
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Âncoras não ficam escondidas atrás do header fixo */
section[id] { scroll-margin-top: 72px; }

/* ===== Hero ===== */
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 64px; align-items: center;
  padding-top: 88px; padding-bottom: 80px;
}
.hero .eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.07;
  letter-spacing: -.025em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero__lead { font-size: 19px; line-height: 1.62; color: var(--text-muted); max-width: 540px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media::before,
.hero__media::after {
  content: ""; position: absolute; width: 110px; height: 110px;
}
.hero__media::before { top: -16px; left: -16px; border-top: 2px solid var(--line-accent); border-left: 2px solid var(--line-accent); }
.hero__media::after { bottom: -16px; right: -16px; border-bottom: 2px solid var(--line-accent); border-right: 2px solid var(--line-accent); }
.hero__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

/* ===== Sobre ===== */
.sobre__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 72px; align-items: center;
  padding-top: 96px; padding-bottom: 96px;
}
.sobre__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); }
.sobre .title { margin-bottom: 26px; }
.credenciais {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: 34px;
}
.credencial { background: var(--bg-alt); padding: 22px 20px; }
.credencial__titulo { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.credencial__desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ===== Consultoria ===== */
.consultoria__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 64px;
  padding-top: 96px; padding-bottom: 96px;
}
.passos { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.passo { background: var(--bg); padding: 30px 28px; display: flex; gap: 22px; align-items: flex-start; }
.passo .num { padding-top: 4px; }
.passo__titulo { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.passo__desc { font-size: 15.5px; line-height: 1.62; color: var(--text-muted); }

/* ===== Palestras ===== */
.palestras {
  background:
    linear-gradient(rgba(10, 11, 14, .62), rgba(10, 11, 14, .72)),
    url("../img/palestras-bg.jpg") center / cover no-repeat;
}
.palestras .container { padding-top: 96px; padding-bottom: 96px; }
.palestras__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px; align-items: center;
  margin-bottom: 52px;
}
.palestras__head .title { max-width: 640px; }
.palestras__intro { font-size: 17px; color: #fff; max-width: 520px; line-height: 1.65; }
.palestras__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.destaque {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  background: rgba(14, 15, 18, .92);
  border: 1px solid var(--line-accent);
  padding: 32px;
  margin-bottom: 64px;
  color: var(--text);
  transition: border-color .2s;
}
.destaque:hover { border-color: var(--accent); color: var(--text); }
.destaque:hover .destaque__btn { background: var(--btn-hover); }
.destaque__data {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 108px; padding: 18px 16px;
  border: 1px solid var(--line-strong);
}
.destaque__dia { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 44px; line-height: 1; }
.destaque__mes { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }
.destaque__info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.destaque__titulo { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.destaque__desc { font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 560px; }
.destaque__btn { white-space: nowrap; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
.card {
  background: var(--bg); border: 1px solid var(--line);
  padding: 36px 32px; min-height: 200px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .2s;
}
.card:hover { border-color: var(--line-strong); }
.card__titulo { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }

/* ===== No palco (galeria) ===== */
.palco .container { padding-top: 96px; padding-bottom: 96px; }
.palco .title { margin-bottom: 40px; max-width: 620px; }
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.galeria__item {
  padding: 0; border: none; background: none;
  cursor: zoom-in; display: block; overflow: hidden;
  transition: opacity .2s;
}
.galeria__item:hover { opacity: .85; }
.galeria__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.palco__link { display: inline-block; margin-top: 28px; font-size: 15px; font-weight: 600; color: #e4e6ea; }

/* ===== CTA ===== */
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
  padding-top: 88px; padding-bottom: 88px;
}
.cta .title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; max-width: 640px; }
.cta .text { max-width: 560px; line-height: 1.6; }

/* ===== Footer ===== */
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
  padding-top: 44px; padding-bottom: 44px;
}
.footer .logo { height: 22px; opacity: .75; }
.footer__links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__links a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--text-muted);
}
.footer__links a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.footer__copy { font-size: 13px; color: var(--text-faint); }
.footer__credit { border-top: 1px solid var(--line); padding: 18px 24px; text-align: center; font-size: 13px; color: var(--text-faint); }
.footer__credit a { color: var(--accent); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 9, 11, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); cursor: default; }
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid var(--line-accent);
  background: rgba(14, 15, 18, .8);
  color: var(--text);
  font-size: 20px; cursor: pointer; border-radius: 2px;
  transition: background .2s;
}
.lightbox__btn:hover { background: var(--btn); }
.lightbox__btn--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 18px; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.whatsapp-float:hover { background: #1fb855; }

/* ===== Responsivo ===== */

/* Tablet e abaixo: menu hambúrguer */
@media (max-width: 900px) {
  .header__inner { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .logo { height: 22px; }
  .nav-toggle { display: flex; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__link {
    padding: 16px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn { margin-top: 20px; text-align: center; font-size: 15px; padding: 15px 22px; }

  .hero__grid { padding-top: 56px; padding-bottom: 64px; gap: 56px; }
  .sobre__grid, .consultoria__grid { padding-top: 72px; padding-bottom: 72px; gap: 48px; }
  .palestras .container, .palco .container { padding-top: 72px; padding-bottom: 72px; }
  .cta__inner { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
}

/* Celular */
@media (max-width: 600px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .topbar { gap: 4px 10px; padding: 9px 16px; font-size: 13px; }
  .topbar__tag { display: none; }
  .topbar__extra { display: none; }
  .topbar__curta { display: inline; }
  .nav { padding-left: 20px; padding-right: 20px; }

  .hero__grid { padding-top: 40px; padding-bottom: 56px; gap: 44px; }
  .hero .eyebrow { margin-bottom: 18px; line-height: 1.7; }
  .hero__title { font-size: clamp(32px, 9vw, 40px); }
  .hero__lead { font-size: 17px; margin-bottom: 30px; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .hero__media { margin: 0 10px; }
  .hero__media::before, .hero__media::after { width: 70px; height: 70px; }
  .hero__media::before { top: -10px; left: -10px; }
  .hero__media::after { bottom: -10px; right: -10px; }

  .sobre__grid, .consultoria__grid { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  .palestras .container, .palco .container { padding-top: 56px; padding-bottom: 56px; }
  .text { font-size: 16.5px; }
  .title { font-size: clamp(27px, 7.5vw, 32px); }

  .passo { padding: 24px 20px; gap: 16px; }

  .destaque { padding: 22px 20px; gap: 20px; margin-bottom: 48px; }
  .destaque__data { flex-direction: row; gap: 10px; min-width: 0; padding: 10px 14px; }
  .destaque__dia { font-size: 30px; }
  .destaque__mes { margin-top: 0; }
  .destaque__info { flex-basis: 100%; }
  .destaque__btn { flex: 1 1 100%; text-align: center; }

  .palestras__head { gap: 32px; margin-bottom: 36px; }
  .palestras__intro { font-size: 16px; }
  .cards { gap: 16px; }
  .card { min-height: 0; padding: 28px 24px; }
  .card__titulo { font-size: 20px; }

  .palco .title { margin-bottom: 28px; }
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .cta .btn { flex: 1 1 100%; text-align: center; }

  .footer__inner { flex-direction: column; text-align: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
  .footer__links { justify-content: center; }
  .footer__credit { padding-bottom: 96px; }

  .lightbox { padding: 16px 12px 88px; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 24px; transform: none; }
  .lightbox__btn--prev { left: calc(50% - 60px); }
  .lightbox__btn--next { right: calc(50% - 60px); }
  .lightbox__btn--close { top: 12px; right: 12px; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
