/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #B92E35;
  --primary-dk: #8a1f25;
  --secondary: #5A5554;
  --tertiary: #C9B7A2;
  --neutral: #2F2B2B;
  --bg: #F5EFE8;
  --white: #FFFFFF;

  --font: 'Hanken Grotesk', sans-serif;
  --max-w: 1180px;
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--neutral);
  line-height: 1.6;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s, transform .15s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  width: 100%;
  justify-content: center;
}

.btn-white:hover {
  background: var(--bg);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: .9375rem;
}


/* ===== EYEBROW ===== */
.eyebrow {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .75rem;
}


/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--neutral);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s;
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 28px;
  opacity: .85;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  margin-left: .5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .2s, opacity .2s;
}


/* ===== HERO ===== */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid rgba(47, 43, 43, .08);
  background-image: url('assets/hero_meeting_2026.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 239, 232, 0.158);
}

.hero-inner {
  position: relative;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--neutral);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  line-height: 1.55;
}

.hero-support {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-microcopy {
  margin-top: .875rem;
  font-size: .8125rem;
  color: var(--secondary);
  line-height: 1.5;
}


/* ===== MOMENTO RARO ===== */
.momento-raro {
  background: var(--neutral);
  color: var(--white);
  padding: 5.5rem 0;
}

.momento-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.momento-title-col h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.momento-sub {
  color: rgba(255, 255, 255, .55);
  font-size: .9375rem;
  line-height: 1.7;
}

.momento-list {
  margin-bottom: 2rem;
}

.momento-list li {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .9375rem;
  color: rgba(255, 255, 255, .85);
}

.momento-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.momento-cta-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}


/* ===== PILARES ===== */
.pilares {
  padding: 5.5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pilar-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: #EDE7DF;
}

.pilar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .875rem;
}

.pilar-card p {
  font-size: .875rem;
  color: var(--secondary);
  line-height: 1.7;
}

.pilar-mercado {
  background: var(--primary);
  color: var(--white);
}

.pilar-mercado p {
  color: rgba(255, 255, 255, .82);
}


/* ===== MAIS DO QUE PALESTRAS ===== */
.palestras {
  background: var(--neutral);
  color: var(--white);
  padding: 5.5rem 0;
}

.palestras-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.palestras-foto {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.palestras-content h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.palestras-content>p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.palestras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.25rem;
}

.palestras-grid li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.palestras-grid li:nth-child(odd) {
  padding-right: 1.5rem;
}

.palestras-grid li:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.palestras-grid li strong {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}

.palestras-grid li span {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}


/* ===== EVENTO ===== */
.evento {
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(47, 43, 43, .08);
}

.evento-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.evento-info h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 2rem;
}

.evento-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.evento-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(47, 43, 43, .1);
}

.evento-label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--secondary);
}

.evento-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--neutral);
  line-height: 1.4;
}

.evento-value small {
  display: block;
  font-size: .875rem;
  font-weight: 400;
  color: var(--secondary);
  margin-top: 3px;
}

.evento-mapa-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.evento-mapa {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ===== PARA QUEM ===== */
.para-quem {
  padding: 5.5rem 0;
}

.para-quem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.para-quem-intro h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.para-quem-intro p {
  color: var(--secondary);
  margin-bottom: .875rem;
  line-height: 1.75;
}

.para-quem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  align-content: flex-start;
}

.tag {
  display: inline-block;
  padding: .5rem 1rem;
  background: rgba(47, 43, 43, .07);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--neutral);
  transition: background .2s, color .2s;
}

.tag:hover {
  background: rgba(185, 46, 53, .1);
  color: var(--primary);
}


/* ===== QUEM ORGANIZA ===== */
.organizador-section {
  padding: 0;
  border-top: 1px solid rgba(47, 43, 43, .08);
  border-bottom: 1px solid rgba(47, 43, 43, .08);
  overflow: hidden;
}

.organizador-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.organizador-img-wrap {
  position: relative;
  min-height: 480px;
}

.organizador-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.organizador-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.organizador-content .eyebrow {
  margin-bottom: 1rem;
}

.organizador-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--neutral);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.organizador-content p {
  color: var(--secondary);
  line-height: 1.75;
  margin-bottom: .875rem;
  font-size: .9375rem;
}

.organizador-content p:last-child {
  margin-bottom: 0;
}

.organizador-content strong {
  color: var(--neutral);
}


/* ===== CADASTRO ===== */
.cadastro {
  background: var(--primary);
  color: var(--white);
  padding: 5.5rem 0;
}

.cadastro-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cadastro-copy h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.cadastro-copy>p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 2rem;
  line-height: 1.75;
}

blockquote {
  border-left: 3px solid rgba(255, 255, 255, .35);
  padding-left: 1.25rem;
  font-style: italic;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
}

.cadastro-cta-wrap {
  flex-shrink: 0;
}

.cadastro-cta-wrap .btn-white {
  width: auto;
  white-space: nowrap;
}


/* ===== FAQ ===== */
.faq {
  padding: 5.5rem 0;
}

.faq .section-title {
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(47, 43, 43, .12);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--neutral);
  transition: color .2s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-body {
  padding: 0 0 1.5rem 0;
}

.faq-body p {
  color: var(--secondary);
  line-height: 1.75;
  font-size: .9375rem;
}


/* ===== FOOTER ===== */
.footer {
  background: var(--neutral);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.footer-nav a {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: .5rem;
}


/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 43, 43, .75);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* hide the [hidden] attribute visually but keep overlay in DOM for animation */
.modal-overlay[aria-hidden="true"] {
  display: none;
}

.modal-overlay.is-open[aria-hidden="false"] {
  display: flex;
}

.modal-box {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  transform: translateY(12px);
  transition: transform .25s ease;
}

.modal-overlay.is-open .modal-box {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  padding: .25rem .5rem;
  transition: color .2s;
}

.modal-close:hover {
  color: var(--white);
}

.modal-progress {
  height: 3px;
  background: rgba(255, 255, 255, .2);
  border-radius: 2px;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.modal-progress-bar {
  height: 100%;
  background: var(--white);
  border-radius: 2px;
  width: 50%;
  transition: width .35s ease;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}

/* Form steps */
.form-step {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-step[hidden] {
  display: none;
}

.step-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: -.25rem;
}

.btn-back {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color .2s;
  margin-bottom: -.25rem;
}

.btn-back:hover {
  color: var(--white);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.form-group label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .7);
}

.required {
  color: rgba(255, 255, 255, .5);
}

.form-group input {
  padding: .75rem 1rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s, background .2s;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.form-group input:focus {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .16);
}

.form-group input.error {
  border-color: rgba(255, 255, 255, .9);
}

.form-step .btn-white {
  margin-top: .25rem;
}

.form-success[hidden] {
  display: none;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0 .5rem;
  color: var(--white);
  line-height: 1.7;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  display: block;
}

.form-success p {
  margin-bottom: .4rem;
  font-size: 1rem;
}

.form-success strong {
  font-size: 1.05rem;
}


/* ===== FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  .momento-inner,
  .palestras-inner,
  .evento-inner,
  .para-quem-inner,
  .cadastro-inner,
  .organizador-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
  }

  .palestras-grid {
    grid-template-columns: 1fr;
  }

  .palestras-grid li:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .cadastro-inner {
    grid-template-columns: 1fr;
  }

  .cadastro-cta-wrap .btn-white {
    width: 100%;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--neutral);
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    z-index: 99;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    margin-left: 0;
  }

  .organizador-inner {
    grid-template-columns: 1fr;
  }

  .organizador-img-wrap {
    min-height: 300px;
    position: relative;
  }

  .organizador-content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0 3.5rem;
  }

  .para-quem,
  .pilares,
  .palestras,
  .evento,
  .momento-raro,
  .cadastro,
  .faq,
  .organizador-section {
    padding: 4rem 0;
  }

  .modal-box {
    padding: 1.75rem 1.25rem 1.5rem;
  }
}


/* ===== APOIO INSTITUCIONAL ===== */
.apoio {
  background-color: #EAE2D8;
  padding: 3.5rem 0;
}

.apoio-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.apoio-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(47,43,43,0.45);
}

.apoio-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 1;
}

@media (max-width: 480px) {
  .apoio-logo {
    height: 40px;
  }
}
}