/* ==========================================================================
   NexFair — Expo & Business
   Folha de estilo única do site estático (substitui WordPress/Elementor)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Cores da marca (extraídas do site atual) */
  --red: #fd4a4a;          /* primária Elementor */
  --red-strong: #ee0606;   /* bloco de destaque do herói */
  --red-kicker: #ff0000;   /* "Propósito", "O que fazemos", "Data analytics" */
  --dark: #25252a;         /* secundária / rodapé */
  --ink: #343742;          /* corpo de texto escuro */
  --body: #444444;
  --muted: #636363;
  --title: #3d3d3d;
  --line: #dcdcdc;
  --surface: #ffffff;
  --surface-alt: #fafafa;
  --header-bg: #eeeeee;
  --hero-panel: #343434;

  /* Tipografia */
  --font-cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-base: "Roboto", Arial, Helvetica, sans-serif;
  --font-alt: "Sarabun", "Roboto Condensed", Arial, sans-serif;

  /* Medidas */
  --container: 1390px;
  --container-pad: 35px;
  --header-h: 99px;
  --radius: 0px;

  /* Movimento */
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --dur: 0.45s;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font-cond);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--red-strong); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: 96px; }
.section--tight { padding-block: 72px; }
.section--flush { padding-block: 0; }

/* Âncoras do menu não ficam escondidas sob o cabeçalho fixo */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--dark);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 4. Tipografia partilhada ------------------------------------- */
.kicker {
  font-family: var(--font-base);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--red-kicker);
  margin: 0 0 6px;
}

.section-title {
  font-family: var(--font-cond);
  font-size: clamp(23px, 2.1vw, 27px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 24ch;
}

.section-label {
  font-family: var(--font-cond);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 1.14px;
  text-transform: uppercase;
  color: #2e2e2e;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink);
}

.slash {
  width: 33px;
  height: auto;
  margin-bottom: 18px;
}

/* ---------- 5. Botões ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 28px;
  font-family: var(--font-cond);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-strong);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(238, 6, 6, 0.75);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn--plus {
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0;
  border: 1px solid var(--line);
  color: var(--dark);
}
.btn--plus:hover { border-color: var(--red); color: var(--red); }

/* ---------- 6. Cabeçalho ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, 0.55); }

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo { flex: 0 0 auto; }
.site-logo img { width: 164px; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }

.site-nav__link {
  display: block;
  position: relative;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--dark);
  text-transform: capitalize;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav__link:hover { color: var(--red); }
.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__link.is-active { color: var(--red); font-weight: 700; }

.header-cta {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 205px;
  padding: 20px 36px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease);
}
.header-cta:hover { background: var(--red-strong); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: background-color 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Herói ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(800px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: stretch;
  background: var(--dark);
  overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; }

.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero__slide.is-active .hero__media { transform: scale(1); }

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 20, 24, 0.92) 0%,
    rgba(20, 20, 24, 0.78) 38%,
    rgba(20, 20, 24, 0.45) 72%,
    rgba(20, 20, 24, 0.35) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 110px var(--container-pad) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero__copy { max-width: 640px; }

.hero__eyebrow {
  font-family: var(--font-alt);
  font-size: clamp(17px, 1.7vw, 25px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.hero__title {
  font-family: var(--font-cond);
  font-size: clamp(38px, 6.4vw, 96px);
  line-height: 1.08;
  font-weight: 300;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero__title span {
  display: block;
  font-weight: 100;
}

.hero__lead {
  max-width: 46ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 30px;
}

/* Animação de entrada de cada slide */
.hero__slide-copy > * {
  opacity: 0;
  transform: translateY(22px);
}
.hero__slide.is-active .hero__slide-copy > * {
  animation: heroIn 0.8s var(--ease) forwards;
}
.hero__slide.is-active .hero__slide-copy > *:nth-child(1) { animation-delay: 0.12s; }
.hero__slide.is-active .hero__slide-copy > *:nth-child(2) { animation-delay: 0.22s; }
.hero__slide.is-active .hero__slide-copy > *:nth-child(3) { animation-delay: 0.32s; }
.hero__slide.is-active .hero__slide-copy > *:nth-child(4) { animation-delay: 0.42s; }

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.hero__slide-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}
.hero__slide.is-active .hero__slide-copy { pointer-events: auto; }

/* Cartão de contato — ancorado ao canto inferior direito do container,
   sem sobrepor o texto (correção do posicionamento atual) */
.hero__support {
  position: relative;
  z-index: 3;
  display: flex;
  margin-bottom: 60px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
.hero__support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  background: var(--red-strong);
}
.hero__support-icon img { width: 52px; }
.hero__support-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 260px;
  padding: 22px 34px;
  background: var(--hero-panel);
}
.hero__support-text span {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}
.hero__support-text a {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
}
.hero__support-text a:hover { color: var(--red); }

/* Controles do slider */
.hero__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.3s var(--ease);
}
.hero__dot.is-active { background: var(--red); }

/* ---------- 8. Propósito ------------------------------------------------- */
.purpose__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.purpose__media { position: relative; }
.purpose__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.purpose__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 22px;
  font-family: var(--font-cond);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark);
}
.purpose__tags li::after {
  content: ".";
  color: var(--red);
  margin-right: 8px;
}

.purpose__body p { margin-bottom: 18px; }
.purpose__body .btn { margin-top: 10px; }

/* ---------- 9. O que fazemos --------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.service {
  padding-top: 4px;
  border-top: 2px solid transparent;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.service:hover { border-top-color: var(--red); transform: translateY(-6px); }

.service__mark { width: 78px; margin-bottom: 22px; }

.service__title {
  font-family: var(--font-cond);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 10px;
}
.service__text {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--muted);
  margin: 0;
}

/* ---------- 10. Análise de mercado --------------------------------------- */
.analytics {
  position: relative;
  background: var(--surface-alt);
}

.analytics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 80px;
  align-items: center;
}

.analytics__display {
  font-family: var(--font-cond);
  font-size: clamp(40px, 5.4vw, 77px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -2.4px;
  color: var(--dark);
  margin: 0 0 18px;
}

.analytics__intro {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 34px;
  max-width: 46ch;
}

.analytics__list { display: grid; gap: 26px; }
.analytics__item-title {
  font-family: var(--font-cond);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.9px;
  color: var(--dark);
  margin: 0 0 6px;
}
.analytics__item-title::before {
  content: ".";
  color: var(--red);
  margin-right: 6px;
}
.analytics__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--muted);
  max-width: 46ch;
}

.analytics__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
}
.analytics__media img {
  position: absolute;
  object-fit: cover;
}
.analytics__media .analytics__shape {
  right: 0;
  top: 0;
  width: 80%;
  opacity: 0.9;
}
.analytics__media .analytics__photo {
  left: 8%;
  bottom: 0;
  width: 62%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.6);
}

/* ---------- 11. Projetos ------------------------------------------------- */
.projects__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.projects__mark { width: 120px; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.project {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--dark);
}
.project img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 37, 42, 0);
  transition: background-color 0.4s var(--ease);
}
.project:hover img { transform: scale(1.07); opacity: 0.82; }
.project:hover::after { background: rgba(37, 37, 42, 0.18); }

/* ---------- 12. Redes sociais -------------------------------------------- */
.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-block: 56px;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social a:hover { background: var(--dark); color: #fff; transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- 13. Newsroom ------------------------------------------------- */
.newsroom__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

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

.news-card { display: flex; flex-direction: column; }
.news-card__media { overflow: hidden; margin-bottom: 20px; }
.news-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.06); }

.news-card__meta {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.news-card__title {
  font-family: var(--font-cond);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--title);
  margin: 0 0 12px;
}
.news-card__title a { color: inherit; }
.news-card__title a:hover { color: var(--red); }
.news-card__excerpt {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--muted);
  margin: 0;
}

.newsroom__more { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- 14. Parceiros / Hub ------------------------------------------ */
.hub {
  position: relative;
  background: #f4f6f8;
  overflow: hidden;
}
.hub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/rays.png") center / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
}
.hub > .container { position: relative; z-index: 2; }

.hub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.hub__mark { width: 120px; }

.hub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.hub__title {
  font-family: var(--font-cond);
  font-size: clamp(28px, 3.2vw, 39px);
  line-height: 1.15;
  font-weight: 400;
  color: #000;
  margin: 0 0 14px;
}
.hub__text {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  max-width: 72ch;
}

.hub__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 26px 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d9534f;
  white-space: nowrap;
}

/* ---------- 15. NEX(T) LEVEL --------------------------------------------- */
.next {
  position: relative;
  background: #f7f5fa;
  overflow: hidden;
}
.next::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/rays.png") center / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
}
.next > .container { position: relative; z-index: 2; }

.next__intro { max-width: 760px; margin-bottom: 64px; }
.next__title {
  font-family: var(--font-cond);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 400;
  color: #000;
  margin: 0 0 14px;
}
.next__text {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink);
  margin: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.pillar { text-align: center; }
.pillar img {
  width: 132px;
  margin: 0 auto 22px;
  transition: transform 0.45s var(--ease);
}
.pillar:hover img { transform: translateY(-6px); }
.pillar__title {
  font-family: var(--font-cond);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 12px;
}
.pillar p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
  max-width: 34ch;
  margin-inline: auto;
}

/* ---------- 16. Rodapé --------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--line);
  padding-block: 80px 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 60px;
}

.footer-heading {
  font-family: var(--font-cond);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--line);
  text-transform: capitalize;
  margin: 0 0 20px;
}

/* O logotipo é preto sobre transparente; no rodapé escuro ele é invertido
   para branco em vez de precisar de um segundo arquivo de imagem. */
.site-footer__logo {
  width: 190px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.site-footer__about {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(220, 220, 220, 0.75);
  max-width: 40ch;
  margin: 0;
}

.footer-nav li + li { margin-top: 10px; }
.footer-nav a {
  font-size: 16px;
  font-weight: 300;
  color: rgba(220, 220, 220, 0.8);
}
.footer-nav a:hover { color: var(--red); }

.footer-contact__label {
  font-family: var(--font-cond);
  font-size: 23px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--line);
  margin: 0 0 6px;
}
.footer-contact__lines { margin: 22px 0 0; display: grid; gap: 6px; }
.footer-contact__lines li,
.footer-contact__lines a {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--line);
}
.footer-contact__lines a:hover { color: var(--red); }

.site-footer__bar {
  border-top: 1px solid rgba(220, 220, 220, 0.14);
  padding-block: 24px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(220, 220, 220, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 17. Página interna / cabeçalho de página --------------------- */
.page-hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding-block: 96px 84px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-1.webp") center / cover no-repeat;
  opacity: 0.28;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero__eyebrow {
  font-family: var(--font-alt);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}
.page-hero__title {
  font-family: var(--font-cond);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 300;
  color: #fff;
  margin: 0;
  max-width: 22ch;
}
.page-hero__meta {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 18. Formulário de contato ------------------------------------ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: start;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-cond);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(253, 74, 74, 0.14);
}
.form-note {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 14px;
}

.form-status {
  margin: 0 0 22px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 400;
  border-left: 3px solid var(--red);
  background: var(--surface-alt);
  color: var(--ink);
}
.form-status--ok { border-left-color: #2f9e5f; }
.form-status--erro { border-left-color: var(--red-strong); }

.contact-cards { display: grid; gap: 2px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 28px;
  background: var(--surface-alt);
}
.contact-card__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
}
.contact-card__icon svg { width: 19px; height: 19px; fill: currentColor; }
.contact-card__label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.contact-card__value {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin: 0;
}
.contact-card__value a { color: inherit; }
.contact-card__value a:hover { color: var(--red); }

/* ---------- 18b. Página de agradecimento --------------------------------- */
.thanks { max-width: 620px; }
.thanks__lines {
  display: grid;
  gap: 8px;
  margin: 22px 0 34px;
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
}
.thanks__lines a { color: var(--dark); }
.thanks__lines a:hover { color: var(--red); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 19. Artigo --------------------------------------------------- */
.article { padding-block: 80px; }
.article__body {
  max-width: 760px;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--ink);
}
.article__body h2 {
  font-family: var(--font-cond);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  font-weight: 600;
  color: var(--dark);
  margin: 48px 0 16px;
}
.article__body h3 {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin: 34px 0 12px;
}
.article__body ul {
  list-style: none;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.article__body ul li { position: relative; padding-left: 22px; }
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--red);
}
.article__body strong { font-weight: 600; color: var(--dark); }

.article__back { margin-top: 56px; text-align: center; }

/* ---------- 20. Revelação no scroll -------------------------------------- */
/* Sem JS o conteúdo permanece visível — a classe só é aplicada pelo script. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }
.js .reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ---------- 21. Lightbox ------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 15, 18, 0.94);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 88vh;
  width: auto;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 30px;
  color: #fff;
  opacity: 0.75;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- 22. Responsivo ----------------------------------------------- */
@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
  .services__intro { grid-column: 1 / -1; }
  .projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --container-pad: 24px; --header-h: 76px; }

  .site-header__inner { min-height: var(--header-h); }
  .site-logo img { width: 138px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--header-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.6);
    display: none;
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .site-nav__link { padding: 14px var(--container-pad); font-size: 17px; }
  .site-nav__link::after { display: none; }

  .header-cta {
    min-width: 0;
    padding: 18px 22px;
    font-size: 12px;
  }

  .hero { min-height: 640px; }
  .hero__inner { padding-top: 90px; }
  .hero__support { margin-bottom: 44px; }

  .purpose__grid,
  .analytics__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .analytics__media { aspect-ratio: 4 / 3; max-width: 620px; }

  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .hub__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pillars { gap: 40px 32px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
}

@media (max-width: 768px) {
  .section { padding-block: 64px; }
  .section--tight { padding-block: 52px; }

  .hero { min-height: 580px; }
  .hero__support {
    justify-self: stretch;
    margin-bottom: 34px;
  }
  .hero__support-text { min-width: 0; padding: 18px 22px; }
  .hero__support-icon { width: 82px; }
  .hero__support-icon img { width: 40px; }
  .hero__slide-copy { justify-content: flex-start; padding-top: 96px; }

  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .news__grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .newsroom__head,
  .hub__head { flex-wrap: wrap; }
  .article__body { font-size: 17px; }
}

@media (max-width: 520px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__support { flex-direction: row; }
  .header-cta { display: none; }
}

/* ---------- 23. Acessibilidade / impressão ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__slide-copy > * { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__dots, .social, .lightbox { display: none !important; }
  body { color: #000; }
}
