/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  min-height: 100%;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul {
  list-style: none;
}

/* ---------- Design tokens ---------- */
:root {
  --color-primary: #00599e;
  --color-primary-alt: #00589f;
  --color-navy: #045aa0;
  --color-yellow: #ebe71e;
  --color-gray-light: #f2f2f2;
  --color-gray-border: #e1e1e1;
  --color-gray-text: #999;
  --color-black: #000;
  --color-white: #fff;

  --font-body: "Manrope", sans-serif;
  --font-logo: "Open Sans", sans-serif;
  --font-accent: "Geist", sans-serif;

  --radius-pill: 100px;
  --radius-btn: 24px;
  --radius-card: 28px;
  --radius-img: 16px;

  --container-max: 1280px;
  --container-wide: 1600px;
  --container-pad: clamp(24px, 6vw, 120px);
  --header-height: 80px;

  --glass-bg: rgba(0, 51, 92, 0.42);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-blur: 18px;
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---------- ScrollSmoother wrapper ---------- */
#smooth-wrapper {
  overflow: hidden;
  position: relative;
}
#smooth-content {
  width: 100%;
  overflow: visible;
}

/* ---------- Reusable Link / CTA component ---------- */
.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 48px;
  padding: 0 4px 0 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-black);
  background: var(--color-white);
  white-space: nowrap;
}

.link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--color-primary);
}

.link__icon img {
  width: 24px;
  height: 24px;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.link:hover .link__icon img {
  transform: rotate(0deg);
}

.link--outline {
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-border);
}

.link--accent {
  height: auto;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  color: var(--color-primary-alt);
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 15px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

.header.is-scrolled {
  background: var(--glass-bg);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
}

.header__inner {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo img {
  width: 34px;
  height: 34px;
}

.logo span {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-white);
}

.header__divider {
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-size: 16px;
  color: var(--color-white);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/* ---------- Mobile nav toggle + panel ---------- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease;
}

.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);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    visibility 0s linear 0.4s;
}

.mobile-nav.is-open {
  border-radius: 0 0 8px 8px;
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: 8px clamp(24px, 4vw, 80px) 24px;
}

.mobile-nav__link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav__list li:last-child .mobile-nav__link {
  border-bottom: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar,
  .mobile-nav,
  .mobile-nav.is-open {
    transition: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 90% 80% at 50% 20%,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 544px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.hero__rule {
  width: 48px;
  height: 1px;
  background: var(--color-white);
  margin-bottom: 16px;
}

.hero__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(32px, 16px + 5.185vw, 72px);
  line-height: 1.2;
  letter-spacing: -3.6px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.hero__heading .split-char {
  display: inline-block;
  will-change: transform, filter, opacity;
}

.hero__paragraph {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
  max-width: 544px;
}

/* ---------- SplitSection ---------- */
.split-section {
  padding: 120px 0 100px;
  background: var(--color-white);
}

.split-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.split-section__heading {
  flex: 612 0 0;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.96px;
}

.split-section__image {
  flex-shrink: 0;
  width: 408px;
  height: 244.8px;
  border-radius: var(--radius-img);
  object-fit: cover;
}

/* ---------- EventsSection ---------- */
.events-section {
  padding-top: 100px;
  padding-bottom: 40px;
  background: var(--color-white);
}

.events-section .container {
  max-width: 100%;
}

.events-section__heading-wrap {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 24px;
  background: var(--color-white);
}

.events-section__heading {
  font-weight: 500;
  font-size: clamp(36px, 26.52px + 2.963vw, 52px);
  letter-spacing: -1.56px;
  line-height: 1.3;
}

.events-section__cards {
  display: flex;
  flex-direction: column;
}

.event-card {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 20px 56px;
  margin-block: 15vh;
  perspective: 500px;
}

.event-card::before {
  /* do not insert backgroundcolor here */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--viewport-width, 100vw);
  margin-left: calc(var(--viewport-width, 100vw) * -0.5);
  z-index: -1;
}

.event-card__inner {
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: stretch;
  gap: clamp(24px, 4vw, 64px);
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.event-card__image {
  flex-grow: 0;
  flex-shrink: 1;
  width: 40%;
  min-width: 0;
  max-width: 460.8px;
  height: auto;
  align-self: stretch;
  border-radius: var(--radius-img);
  object-fit: cover;
}

.event-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.event-card__title {
  font-weight: 500;
  font-size: 28.8px;
  letter-spacing: -0.864px;
  line-height: 1.3;
}

.event-card__excerpt {
  font-size: 14.4px;
  line-height: 21.6px;
}

.event-card__text {
  display: flex;
  flex-direction: column;
  gap: 14.4px;
}

/* ---------- AboutSection ---------- */
.about {
  background: var(--color-navy);
}

.about__wrapper {
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.about__text-col {
  display: flex;
  flex-direction: column;
}

.about__block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 91px;
}

.about__block-inner {
  max-width: clamp(544px, 34vw, 880px);
}

.about__block p {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.96px;
  color: var(--color-white);
}

.about__block .split-char {
  opacity: 0.1;
}

.about__stage-col {
  position: relative;
}

.about__stage {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 140px) 40px;
}

.about__stage-inner {
  position: relative;
  width: 100%;
  max-width: clamp(320.2px, 22vw, 700px);
  aspect-ratio: 320.2 / 480;
  border-radius: var(--radius-img);
  overflow: hidden;
}

.img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile "About" uses the reusable scroll-reveal component (scroll-reveal.css/js)
   instead of the desktop pin+clip-path layout — hidden here by default,
   shown only under the mobile breakpoint below. */
.about .pin-wrap {
  display: none;
}

.img-layer:not(:first-child) {
  clip-path: inset(100% 0 0 0);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 10px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 1120px 500px at 50% 50%,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0)
  );
}

.cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.cta__heading {
  font-weight: 500;
  font-size: clamp(32px, 20.15px + 3.704vw, 52px);
  line-height: 1.3;
  letter-spacing: -1.56px;
  color: var(--color-white);
}

.cta__paragraph {
  max-width: 544px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-navy);
  padding: 80px 40px;
}

.footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  max-width: 320px;
}

.footer__badge {
  width: 70px;
}

.footer__desc {
  font-size: 1rem;
  line-height: 21px;
  color: var(--color-white);
}

.footer__social img {
  width: 70px;
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__nav-title {
  font-size: 1.1rem;
  color: var(--color-white);
}

.footer__nav-link {
  font-size: 1rem;
  color: var(--color-gray-text);
}
.footer__nav-link:hover {
  color: var(--color-white);
}

/* ---------- Eventos listing page ---------- */
.eventos-hero {
  background: #000;
  padding: 180px 0 100px;
}

.eventos-hero h1 {
  font-weight: 400;
  font-size: clamp(48px, 19.56px + 8.89vw, 96px);
  line-height: 1.333;
  color: var(--color-white);
}

.event-list {
  background: var(--color-white);
  padding-block: 100px;
}

.event-list__items {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.event-row {
  max-width: 1008px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.05);
}

.event-row__image {
  flex-shrink: 0;
  width: 460.8px;
  height: 333.9px;
  border-radius: var(--radius-img);
  object-fit: cover;
}

.event-row__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.event-row__text {
  display: flex;
  flex-direction: column;
  gap: 14.4px;
}

.event-row__title {
  font-weight: 500;
  font-size: 28.8px;
  letter-spacing: -0.864px;
  line-height: 1.3;
}

.event-row__excerpt {
  font-size: 14.4px;
  line-height: 21.6px;
}

/* ---------- Evento (blog post) page ---------- */
.evento-hero {
  position: relative;
  min-height: 604px;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 60px;
  overflow: hidden;
}

.evento-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.evento-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.evento-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 596px;
  font-family: "Clash Display", var(--font-body);
  font-weight: 500;
  font-size: clamp(32px, 22.52px + 2.963vw, 48px);
  line-height: 1;
  color: #fafafa;
}

.evento-post {
  padding-block: 60px;
}

.evento-post__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 40px;
  border-bottom: 1px solid var(--color-gray-border);
  margin-bottom: 60px;
}

.evento-post__meta-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.evento-post__meta-label {
  font-family: "Inter", var(--font-body);
  font-size: 12px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.evento-post__meta-value {
  font-family: "Inter", var(--font-body);
  font-size: 16px;
  color: var(--color-black);
}

.evento-post__body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.evento-post__image {
  width: 100%;
  height: 671px;
  object-fit: cover;
}

.evento-post h2 {
  font-family: "Clash Display", var(--font-body);
  font-weight: 500;
  font-size: clamp(32px, 22.52px + 2.963vw, 48px);
  color: #1a1a1a;
}

.evento-post__local {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.evento-post__local p {
  max-width: 576px;
  font-family: "Inter", var(--font-body);
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-black);
}

/* ---------- Contato page ---------- */
.contato-hero {
  background: var(--color-navy);
  padding: 220px 0 100px;
}

.contato-hero .container {
  max-width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}
.container-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.dados-inner {
  flex: 1 1 0;
  min-width: 0;
}

.contato-intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contato-intro h1 {
  font-weight: 500;
  font-size: clamp(44px, 27.41px + 5.185vw, 72px);
  line-height: 1.2;
  letter-spacing: -3.6px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.contato-intro__lead {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
}

.contato-intro__divider {
  width: 100%;
  height: 1px;
  background: var(--color-white);
}

.contato-intro__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-intro__contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--color-white);
}

.contato-form {
  width: 100%;
  padding: 48px 32px;
  border-radius: var(--radius-img);
  background: linear-gradient(
    180deg,
    rgba(0, 169, 229, 0.35),
    rgba(0, 169, 229, 0.5)
  );
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contato-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
}

.contato-form__field {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contato-form__field label {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
}

.contato-form__field input,
.contato-form__field textarea {
  height: 48px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-white);
}

.contato-form__field textarea {
  height: 100px;
  resize: vertical;
}

.contato-form__field input::placeholder,
.contato-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.contato-form__field input.is-invalid {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
}

.contato-form__submit {
  width: 100%;
  justify-content: center;
  position: relative;
  padding: 0 24px;
}

.contato-form__submit .link__icon {
  position: absolute;
  right: 4px;
  top: 4px;
  background: var(--color-black);
}

/* ---------- Mobile breakpoint (~860px) ---------- */
@media (max-width: 860px) {
  .nav__list {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero__heading {
    letter-spacing: -2px;
  }
  .hero__content {
    max-width: 100%;
  }

  .split-section .container {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .split-section__image {
    width: 100%;
    height: auto;
    aspect-ratio: 408 / 244.8;
  }

  .events-section__heading-wrap {
    display: flex;
    justify-content: space-between;
  }
  .event-card {
    padding: 12px 0;
    margin-block: 32px;
  }
  .event-card__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .event-card__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 460.8 / 333.9;
  }
  .event-card .link {
    position: relative;
    width: 100%;
    padding: 0 24px;
  }
  .event-card .link > span:first-child {
    flex: 1;
    text-align: center;
  }
  .event-card .link__icon {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
  }

  .about__wrapper {
    display: none;
  }
  .about .pin-wrap {
    display: block;
  }

  .footer {
    padding: 60px 24px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer__nav {
    gap: 40px;
  }

  .eventos-hero {
    padding: 140px 24px 60px;
  }
  .event-list {
    padding-block: 60px;
  }
  .event-row {
    flex-direction: column;
    align-items: stretch;
    margin-inline: 24px;
  }
  .event-row__image {
    width: 100%;
    height: auto;
    aspect-ratio: 460.8 / 333.9;
  }

  .evento-hero {
    padding: 140px 24px 40px;
    min-height: 400px;
  }
  .evento-post__meta {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .evento-post__image {
    height: auto;
    aspect-ratio: 1120 / 671;
  }
  .evento-post__local {
    flex-direction: column;
    gap: 16px;
  }

  .contato-hero {
    padding: 140px 24px 60px;
  }
  .contato-hero .container {
    flex-direction: column;
  }
  .contato-intro h1 {
    letter-spacing: -2px;
  }
  .contato-form {
    padding: 32px 24px;
  }
}
