:root {
  --ink: #f8fbff;
  --muted: #b7c8e4;
  --navy-950: #020814;
  --navy-900: #061326;
  --navy-850: #071a35;
  --blue-700: #1140a8;
  --blue-500: #2467ff;
  --blue-300: #68a5ff;
  --gold: #d39b45;
  --rust: #9c513d;
  --line: rgba(130, 172, 255, 0.26);
  --panel: rgba(5, 18, 38, 0.78);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 18%, rgba(36, 103, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #020814 0%, #061326 48%, #020814 100%);
  color: var(--ink);
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--navy-950);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 8, 20, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.evo-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 16px;
}

.evo-brand img {
  width: 64px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(36, 103, 255, 0.32));
}

.brand__mark {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.brand__text {
  color: var(--blue-300);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  padding: 10px 0;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.header-cta {
  min-width: 132px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--navy-950);
  box-shadow: 0 12px 34px rgba(36, 103, 255, 0.18);
}

.button {
  min-width: 196px;
  padding: 0 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button i,
.header-cta i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.button--primary {
  background: linear-gradient(135deg, #f8fbff, #b9d6ff);
  color: #061326;
  box-shadow: 0 18px 44px rgba(36, 103, 255, 0.3);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.button--secondary {
  min-width: 156px;
  background: var(--blue-500);
  color: white;
}

.button--wide {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  padding: 104px clamp(18px, 5vw, 74px) 46px;
  display: flex;
  align-items: center;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media {
  background-image: url("assets/farol-da-barra-hero.png");
  background-position: center right;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.94) 0%, rgba(4, 13, 29, 0.82) 38%, rgba(4, 13, 29, 0.2) 70%, rgba(2, 8, 20, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.16), rgba(2, 8, 20, 0.9));
}

.hero__content {
  width: min(860px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-300);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.8rem, 7.5vw, 7.7rem);
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__lead {
  width: min(600px, 100%);
  margin: 18px 0 0;
  color: #d7e6ff;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.52;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(760px, 100%);
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 18, 38, 0.62);
  backdrop-filter: blur(14px);
}

.hero__facts div {
  min-height: 78px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.hero__facts div:last-child {
  border-right: 0;
}

.hero__facts dt {
  margin: 0 0 7px;
  color: var(--blue-300);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 900;
}

.section {
  padding: clamp(68px, 9vw, 116px) clamp(18px, 5vw, 74px);
}

.section__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section--intro {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(17, 64, 168, 0.34), rgba(156, 81, 61, 0.16)),
    rgba(4, 13, 29, 0.74);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.section h2 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  text-transform: uppercase;
  text-wrap: balance;
}

.section p {
  color: #d8e6fb;
  font-size: 1.05rem;
  line-height: 1.72;
}

.intro-grid p:last-child {
  margin: 0;
  color: #edf5ff;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: clamp(32px, 5vw, 50px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 286px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 27, 59, 0.9), rgba(4, 13, 29, 0.9));
  box-shadow: var(--shadow);
}

.feature-card i,
.detail-item i {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.feature-card h3,
.detail-item h3 {
  margin: 26px 0 10px;
  font-size: 1.35rem;
}

.feature-card p,
.detail-item p {
  margin: 0;
  color: var(--muted);
}

.section--speaker {
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.95), rgba(7, 26, 53, 0.78)),
    radial-gradient(circle at 82% 12%, rgba(36, 103, 255, 0.22), transparent 34%);
}

.speaker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.speaker-copy {
  width: min(640px, 100%);
}

.speaker-role {
  margin: 16px 0 20px;
  color: var(--gold) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.speaker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.speaker-tags span {
  border: 1px solid rgba(211, 155, 69, 0.48);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffe0ad;
  font-size: 0.9rem;
  font-weight: 800;
}

.speaker-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(104, 165, 255, 0.36);
  border-radius: 8px;
  background: #071a35;
  box-shadow: var(--shadow);
}

.speaker-photo img {
  width: 100%;
  aspect-ratio: 5 / 5.6;
  object-fit: cover;
}

.section--details {
  background: #f6f9ff;
  color: #061326;
}

.section--details .section-kicker {
  color: var(--blue-700);
}

.section--details p,
.section--details .detail-item p {
  color: #41516a;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.details-layout .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  gap: 16px;
}

.detail-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  min-height: 138px;
  padding: 22px;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 50px rgba(17, 64, 168, 0.08);
}

.detail-item h3 {
  margin: 0 0 8px;
  color: #071a35;
}

.map-panel {
  position: relative;
  min-height: 456px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 19, 38, 0.96), rgba(17, 64, 168, 0.84)),
    #061326;
  box-shadow: 0 24px 70px rgba(7, 26, 53, 0.22);
  color: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-panel__grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotate(-8deg) scale(1.25);
}

.map-panel__pin {
  position: relative;
  display: grid;
  gap: 8px;
  width: min(310px, 100%);
}

.map-panel__pin i {
  width: 44px;
  height: 44px;
  color: var(--gold);
}

.map-panel__pin strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.map-panel__pin span {
  color: var(--muted);
  font-weight: 800;
}

.map-panel .button {
  position: relative;
  align-self: flex-start;
}

.section--ticket {
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.4), rgba(2, 8, 20, 0.92)),
    radial-gradient(circle at 15% 30%, rgba(36, 103, 255, 0.2), transparent 36%);
}

.ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.ticket-layout h2 {
  max-width: 760px;
}

.ticket-layout p {
  width: min(650px, 100%);
}

.ticket-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 18, 38, 0.86);
  box-shadow: var(--shadow);
}

.ticket-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.ticket-box__top span {
  color: var(--muted);
  font-weight: 800;
}

.ticket-box__top strong {
  color: var(--gold);
  font-size: 1.32rem;
}

.ticket-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.ticket-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8e6fb;
  font-weight: 750;
}

.ticket-list i {
  width: 19px;
  height: 19px;
  color: var(--gold);
  flex: 0 0 19px;
}

.ticket-link {
  display: block;
  margin-top: 16px;
  color: var(--blue-300);
  font-weight: 900;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 74px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: #020814;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(360px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 8, 20, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 16px 18px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .evo-brand {
    justify-self: start;
  }

  .hero {
    min-height: 80svh;
  }

  .hero__media {
    background-position: center right 34%;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(4, 13, 29, 0.84) 58%, rgba(4, 13, 29, 0.5) 100%),
      linear-gradient(180deg, rgba(2, 8, 20, 0.42), rgba(2, 8, 20, 0.98));
  }

  .intro-grid,
  .speaker-layout,
  .details-layout,
  .ticket-layout {
    grid-template-columns: 1fr;
  }

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

  .speaker-photo {
    width: min(460px, 100%);
  }

  .details-layout .section-heading {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 12px 14px;
    gap: 12px;
  }

  .brand__text {
    display: none;
  }

  .evo-brand {
    width: 58px;
    height: 34px;
    padding-left: 10px;
  }

  .evo-brand img {
    width: 48px;
    height: auto;
  }

  .header-cta {
    min-width: 112px;
    min-height: 44px;
    padding: 0 14px;
  }

  .hero {
    min-height: 78svh;
    padding: 92px 18px 34px;
  }

  .hero__media {
    background-position: center right 45%;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.72rem);
  }

  .hero__lead {
    font-size: 1.04rem;
  }

  .hero__actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__facts div {
    min-height: 72px;
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .hero__facts div:last-child {
    border-right: 0;
  }

  .hero__facts dt {
    font-size: 0.66rem;
  }

  .hero__facts dd {
    font-size: 0.9rem;
  }

  .section {
    padding-inline: 18px;
  }

  .section h2 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .feature-card {
    min-height: auto;
  }

  .detail-item {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 380px;
  }

  .ticket-box__top {
    align-items: flex-start;
    flex-direction: column;
  }
}
