:root{
  --bg:            #111111;
  --bg-panel:      #2B2B2B;
  --bg-purple:     #2F2951;
  --accent:        #CEFF00;
  --white:         #FFFFFF;
  --border-subtle: #1E1E1E;
  --border-mid:    #888888;
  --sky:           #A4DDED;
  --sky-2:         #AADDDD;
  --muted:         #A2A2A2;

  --font-display: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --weight-thin: 300;

  --container-max: 1440px;
  --pad-x: 20px;
  --header-h: 65px;

  --ease: cubic-bezier(.4,0,.2,1);
}

@media (min-width: 1024px){
  :root{ --pad-x: 80px; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input{ font-family: inherit; }

.svg-sprite{ position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--accent); color: var(--bg); padding: 12px 20px; font-weight: 700;
}
.skip-link:focus{ left: 12px; top: 12px; }

.container{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
@media (min-width: 1024px){
  .container.narrow > *{ max-width: 1104px; }
}

.section{ position: relative; padding: 50px 0 40px; }
.section > .container{ position: relative; z-index: 1; }
.section--purple{ background: var(--bg-purple); border-bottom: 1px solid var(--border-subtle); }
#programa, #oradores, #esperar{ background: var(--bg); }

.hero{ padding: 32px 0 0; }
#sobre{ padding: 50px 0 40px; }
#programa{ padding: 50px 0 32px; }
#oradores{ padding: 50px 0 12px; }
#esperar{ padding: 32px 0; }
#inscricao{ padding: 32px 0; }

@media (min-width: 1024px){
  .hero{ padding: 60px 0 60px; }
  #sobre, #programa, #esperar, #inscricao{ padding: 80px 0; }
  #oradores{ padding: 80px 0 60px; }
}

.eyebrow{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 12px;
  letter-spacing: 0.9px;
  color: var(--accent);
  margin: 0 0 10px;
}
.hero .eyebrow{ line-height: 16px; }
.section__title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 22px;
  letter-spacing: -1.2px;
  color: var(--white);
  margin: 0;
}
.section__body{ display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.section__body p{
  font-weight: var(--weight-thin);
  font-size: 18px;
  line-height: 24px;
  color: var(--white);
}

@media (min-width: 1024px){
  .eyebrow, .hero .eyebrow{ font-size: 18px; line-height: 16px; letter-spacing: 1.2px; margin-bottom: 20px; }
  .section__title{ font-size: 48px; letter-spacing: -1.44px; line-height: 45.6px; }
  .section__body{ gap: 24px; margin-top: 32px; }
  .section__body p{ font-size: 20px; line-height: 24px; max-width: 768px; }
}

.hero__title-accent{ color: var(--sky); }
.slash{ color: var(--accent); }
.event-name{ font-weight: 700; font-style: italic; }

.rule{ width: 48px; height: 3px; background: var(--accent); margin: 20px 0 0; }
@media (min-width: 1024px){ .rule{ margin: 32px 0 0; } }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  border-radius: 999px;
  padding: 16px 28px;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn--primary{
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--primary:hover, .btn--primary:focus-visible{
  background: var(--bg-purple);
  color: var(--accent);
  border-color: var(--accent);
}
.btn:active{ transform: scale(.97); }
.btn--sm{ padding: 8px 20px; }
.btn--lg{ border-color: #000000; }
.btn--lg:hover, .btn--lg:focus-visible{ border-color: var(--accent); }

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}
.site-header__bar{
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled .site-header__bar{ box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.site-header__row{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{ display: inline-flex; align-items: center; gap: 20px; }
.brand__logo{ height: 24px; width: auto; }
.brand__sep{ color: rgba(170,221,221,.93); font-size: 16px; line-height: 24px; font-weight: 400; }
.brand__badge{ height: 20px; width: auto; }

.nav-desktop{ display: none; align-items: center; gap: 40px; }
.nav-desktop a:not(.btn){
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .1px;
  color: rgba(255,255,255,.8);
  transition: color .2s var(--ease);
}
.nav-desktop a:not(.btn):hover{ color: var(--white); }

.nav-toggle{
  background: none; border: none; padding: 8px 4px;
  display: flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 30px; height: 32px;
}
.nav-toggle span{ display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--white); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px){
  .nav-desktop{ display: flex; }
  .nav-toggle{ display: none; }
  .site-header .brand__sep{ color: #828282; }
}

.drawer-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  z-index: 150;
}
.drawer-overlay.is-open{ opacity: 1; pointer-events: auto; }

.mobile-drawer{
  position: fixed;
  top: 16px; right: 16px; left: 16px;
  max-width: 340px;
  margin-left: auto;
  background: var(--bg-purple);
  border-radius: 20px;
  padding: 28px 24px 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-16px) scale(.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 200;
}
.mobile-drawer.is-open{ opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.mobile-drawer__row{ display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer__title{ font-family: var(--font-ui); font-weight: 600; font-size: 16px; }
.mobile-drawer__close{ background: none; border: none; color: var(--accent); font-family: var(--font-ui); font-weight: 600; font-size: 22px; line-height: 1; padding: 0; }
.mobile-drawer__link{ font-family: var(--font-ui); font-weight: 600; font-size: 20px; color: var(--white); }
.mobile-drawer__cta{ margin-top: 4px; }

@media (min-width: 1024px){
  .mobile-drawer, .drawer-overlay{ display: none; }
}

.tex{
  position: absolute;
  pointer-events: none;
  z-index: 0;
  object-fit: fill;
}
.tex--sobre{ top: 0; left: 0; width: 307px; height: 29px; }
.tex--oradores{ top: 0; right: -250px; width: 270px; height: 35px; }
.tex--footer{ bottom: 0; left: -22px; width: 342px; height: 11px; }
.tex--programa-br, .tex--esperar, .tex--cta{ display: none; }

@media (min-width: 1024px){
  .tex--sobre{ top: 0; right: 0; left: auto; width: 467px; height: 65px; }
  .tex--programa-br{ display: block; bottom: 0; right: -100px; width: 340px; height: 68px; }
  .tex--oradores{ top: 0; left: -16px; right: auto; width: 392px; height: 51px; }
  .tex--esperar{ display: block; top: 0; right: -40px; width: 320px; height: 55px; }
  .tex--cta{ display: block; top: -42px; right: -46px; width: 746px; height: 83px; }
  .tex--footer{ bottom: 0; left: 269px; width: 654px; height: 32px; }
}

.hero{
  background-color: var(--bg-panel);
  background-image: url('../assets/img/noise-texture.png');
  background-repeat: repeat;
  background-size: 512px 512px;
  background-blend-mode: multiply;
}
.hero__grid{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__title{
  font-weight: 700;
  font-size: 28px;
  line-height: 31px;
  letter-spacing: -1.1px;
  margin: 18px 0 0;
}
.hero__meta{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
}
.hero__meta li{ display: flex; align-items: center; gap: 12px; }
.hero__meta span{ font-size: 18px; line-height: 19.29px; font-weight: 400; letter-spacing: .1px; color: rgba(255,255,255,.9); }
.icon{ width: 25px; height: 25px; color: rgba(255,255,255,.9); flex-shrink: 0; }
.hero__cta{ margin-top: 20px; }
.hero__image{ margin-right: calc(-1 * var(--pad-x)); }
.hero__image img{ border-radius: 16px; width: 100%; height: auto; aspect-ratio: 667 / 750; object-fit: cover; }

@media (min-width: 1024px){
  .hero__grid{
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
  }
  .hero__content{ max-width: 693px; flex: 1 1 693px; }
  .hero__title{ font-size: 68px; line-height: 70px; letter-spacing: -2.64px; margin-top: 40px; width: 796px; max-width: none; }
  .hero__meta{ margin-top: 32px; }
  .hero__meta span{ font-size: 28px; line-height: 30px; }
  .icon{ width: 27px; height: 27px; }
  .hero__cta{ margin-top: 32px; }
  .hero__image{ order: 0; flex: 0 0 667px; align-self: stretch; min-height: 600px; position: relative; margin-right: 0; }
  .hero__image img{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border-radius: 20px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
  }
}

.speaker-grid{
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.speaker-card{ margin: 0; }
.speaker-card__photo{
  position: relative;
  border-radius: 4px;
  aspect-ratio: 630 / 381;
  background: var(--bg-panel);
}
/* o recorte de cantos fica na própria imagem (não no contentor) para a
   bio poder crescer para além da foto no hover, sem ser cortada */
.speaker-card__photo img{ width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.speaker-card__bio{
  position: absolute; inset: 0;
  background: rgba(47,41,81,.88);
  padding: 24px 24px 72px;
  display: flex;
  align-items: flex-start;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.speaker-card__bio p{ font-family: var(--font-ui); font-size: 15px; line-height: 1.5; color: var(--white); }
.speaker-card:hover .speaker-card__bio{ opacity: 1; pointer-events: auto; }
.speaker-card:has(:focus-visible) .speaker-card__bio{ opacity: 1; pointer-events: auto; }

.speaker-card__linkedin{
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: transform .2s var(--ease);
}
.speaker-card__linkedin svg{ width: 100%; height: 100%; display: block; }
.speaker-card__linkedin::after{ content: ''; position: absolute; inset: -6px; }
.speaker-card__linkedin:hover{ transform: scale(1.1); }
.speaker-card__linkedin:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

/* em ecrãs sem hover não há gesto para revelar a bio, por isso fica sempre
   visível (o ícone vive dentro dela, por isso segue-a) */
@media (hover: none){
  .speaker-card__bio{ opacity: 1; pointer-events: auto; }
}
.speaker-card figcaption{ display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 16px 0; }
.speaker-card__name{ font-weight: 700; font-size: 22px; line-height: 1; }
.speaker-card__role{ font-weight: 400; font-size: 18px; line-height: 20px; color: rgba(170,221,221,.93); }

@media (min-width: 1024px){
  .speaker-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
  .speaker-card__photo{ border-radius: 6px; }
  .speaker-card figcaption{ padding: 16px 0; }
  .speaker-card__name{ font-size: 32px; }
  .speaker-card__role{ font-size: 18px; color: var(--accent); }
}

.pill-row{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0;
}
.pill{
  border-top: 1px solid var(--accent);
  padding: 6px 0;
  display: flex;
  align-items: center;
}
.pill span{ font-size: 18px; line-height: 19.29px; font-weight: 400; letter-spacing: .1px; }
.icon--sm{ display: none; }

@media (min-width: 1024px){
  .pill-row{
    display: grid;
    grid-template-columns: repeat(3, minmax(181.33px, max-content));
    column-gap: 24px;
    row-gap: 16px;
    justify-content: start;
    margin: 40px 0 0;
  }
  .pill{ padding: 16px 0; }
  .pill span{ font-size: 28px; line-height: 30px; letter-spacing: .1px; }
}

.schedule{ margin-top: 20px; display: flex; flex-direction: column; }
.schedule__item{
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(136,136,136,.7);
}
.schedule__item:last-child{ border-bottom: 1px solid rgba(136,136,136,.7); }
.schedule__time{ flex: 0 0 57px; min-width: 0; font-weight: 700; font-size: 20px; line-height: 20px; color: var(--accent); padding-top: 2px; }
.schedule__title{ font-weight: 700; font-size: 20px; line-height: 25px; margin: 0; }
.schedule__desc{ font-weight: var(--weight-thin); font-size: 18px; line-height: 22.75px; margin-top: 6px; color: var(--white); }

@media (min-width: 1024px){
  .schedule{ margin-top: 32px; }
  .schedule__item{ gap: 32px; padding: 28px 0; border-top-color: var(--border-mid); }
  .schedule__item:last-child{ border-bottom-color: var(--border-mid); }
  .schedule__title{ font-size: 26px; line-height: 22px; }
}

.highlights{ margin-top: 20px; display: flex; flex-direction: column; }
.highlights__item{
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(136,136,136,.7);
}
.highlights__item:last-child{ border-bottom: 1px solid rgba(136,136,136,.7); }
.highlights__num{ flex: 0 0 14px; min-width: 0; font-weight: 700; font-size: 22px; line-height: 16px; color: var(--accent); }
.highlights__item h3{ font-weight: 700; font-size: 20px; line-height: 20px; letter-spacing: -.3px; margin: 0; }
.highlights__item p{ font-weight: var(--weight-thin); font-size: 18px; line-height: 22.75px; margin-top: 8px; color: var(--white); }

@media (min-width: 1024px){
  .highlights{ margin-top: 32px; }
  .highlights__item{ gap: 32px; padding: 32px 0; border-top-color: var(--border-subtle); }
  .highlights__num{ flex-basis: 16px; }
  .highlights__item:last-child{ border-bottom-color: var(--border-subtle); }
  .highlights__item h3{ font-size: 28px; line-height: 28px; letter-spacing: -.4px; }
}

.cta__grid{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cta__desc{
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  margin-top: 20px;
}
.appm{
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-top: 1px solid rgba(255,255,255,.25);
  padding: 16px 0 0;
}
.appm img{ width: 104px; height: 104px; flex-shrink: 0; border-radius: 50%; }
.appm__title{ font-size: 14px; line-height: 16px; font-weight: 400; color: var(--sky); margin: 0 0 4px; }
.appm__text{ font-size: 18px; font-weight: var(--weight-thin); line-height: 19px; color: var(--white); margin: 0; }

@media (min-width: 1024px){
  .cta__grid{ flex-direction: row; justify-content: space-between; gap: 140px; }
  .cta__intro{ flex: 0 0 569px; }
  .cta__desc{ font-weight: var(--weight-thin); font-size: 26px; line-height: 24px; margin-top: 32px; }
  .appm{ margin-top: 40px; padding: 40px 0 0; gap: 16px; border-top-color: rgba(255,255,255,.08); }
  .appm__title{ font-size: 18px; line-height: 20px; }
  .appm__text{ font-weight: 400; line-height: 20px; }
}

.form{ display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px){ .form{ flex: 0 0 569px; } }

.field{ display: flex; flex-direction: column; gap: 0; }
.field label{ font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .5px; }
.field input{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 12px 2px 2px;
  margin-bottom: 6px;
  transition: border-color .2s var(--ease);
}
.field input::placeholder{ color: var(--muted); font-weight: 700; }
.field input:focus{ outline: none; border-color: var(--accent); }

.form__legal{ font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .5px; color: rgba(255,255,255,.85); margin: 4px 0 0; }
.form__legal a{ color: var(--accent); text-decoration: underline; }
/* !important porque o script da Google define style inline no próprio
   elemento (display/position/etc.), que vence uma regra normal do stylesheet.
   O aviso legal junto ao formulário cumpre o requisito da Google de mostrar
   o texto substituto quando o selo é escondido. */
.grecaptcha-badge{ display: none !important; }
.form .btn{ margin-top: 8px; align-self: flex-start; }

.site-footer{ position: relative; padding: 24px 0; background: var(--bg); }
.site-footer > .container{ position: relative; z-index: 1; }
.site-footer__row{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.site-footer__copy{ font-size: 18px; line-height: 20px; font-weight: 400; color: rgba(255,255,255,.9); margin: 0; }

@media (min-width: 1024px){
  .site-footer{ padding: 40px 0; }
  .site-footer__row{ flex-direction: row; justify-content: space-between; text-align: left; }
}

.modal-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 300;
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.modal{
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--bg-purple);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  transform: scale(.94) translateY(8px);
  transition: transform .3s var(--ease);
}
.modal-overlay.is-open .modal{ transform: scale(1) translateY(0); }
.modal__close{
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: none; color: var(--white);
  font-family: var(--font-ui); font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.modal__check{
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--bg-purple);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 28px;
}
.modal h3{ font-family: var(--font-ui); font-weight: 700; font-size: 20px; }
.modal p{ font-family: var(--font-ui); font-weight: 400; font-size: 14px; line-height: 1.45; color: #D9D9E0; }

.js .reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .js .reveal{ opacity: 1; transform: none; transition: none; }
  .btn, .speaker-card__photo img, .speaker-card__bio{ transition: none; }
}
