/* ========================================
   euVou — tokens, type, componentes
   ======================================== */

/* --- Fonte custom (opcional: descomente quando tiver sua fonte licenciada) ---
@font-face {
  font-family: 'EuvouDisplay';
  src: url('../fonts/EuvouDisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
--- fim custom --- */

:root {
  --black: #000000;
  --white: #ffffff;
  --green: #00d769;
  --green-dark: #00b858;
  --off: #f4f4f0;
  --gray-900: #0a0a0a;
  --gray-500: #6b6b66;
  --gray-on-dark: #c8c8c0;
  --gray-200: #e5e5e0;
  --rule: #000000;

  /* Red Hat Display — geométrica, encorpada, open-source do Google Fonts */
  --font-display: 'Red Hat Display', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius: 0;
  --radius-sm: 999px; /* pill */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ---------- Tipografia ---------- */
.display-xxl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.display-m {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* Destaque de palavra em verde — usado no hero no estilo PicPay */
.text-green { color: var(--green); }
.body-l {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--gray-500);
}
.body-m {
  font-size: 1rem;
  line-height: 1.6;
}
.body-s {
  font-size: 0.875rem;
  line-height: 1.5;
}
.mono-s {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.section--tight {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bg-black { background: var(--black); color: var(--white); }
.bg-green { background: var(--green); color: var(--black); }
.bg-off { background: var(--off); color: var(--black); }
.bg-white { background: var(--white); color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav a {
  font-size: 0.9375rem;
  color: var(--gray-900);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms;
}
.nav a:hover { border-bottom-color: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius-sm);
  transition: transform 120ms, background 120ms, color 120ms;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, #00d769 0%, #50ea4b 100%);
  color: var(--black);
  font-weight: 700;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #00c25f 0%, #3fd93b 100%);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost-dark:hover { background: var(--white); color: var(--black); }
.btn--ghost-light {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--ghost-light:hover { background: var(--black); color: var(--white); }

/* ---------- Mobile nav ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--black);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* ---------- Hero (estilo PicPay — centralizado, headline gigante) ---------- */
.hero {
  background: var(--white);
  color: var(--black);
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  text-align: center;
  border-bottom: 1px solid var(--black);
}
.hero__title {
  color: var(--black);
  margin: 0 auto;
  max-width: 22ch;
}

/* ---------- Hero immersive (imagem de fundo) ---------- */
.hero.hero--immersive {
  position: relative;
  background: #000;
  color: var(--white);
  text-align: left;
  padding: 0;
  min-height: clamp(620px, 88vh, 880px);
  overflow: hidden;
  border-bottom: none;
  display: flex;
  align-items: center;
}
.hero--immersive .hero__media {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero/feira-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero--immersive .hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.3) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%);
  z-index: 1;
}
.hero--immersive .hero__arcs {
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: clamp(500px, 55vw, 900px);
  height: clamp(500px, 55vw, 900px);
  z-index: 1;
  pointer-events: none;
}
.hero--immersive .hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  width: 100%;
}
.hero--immersive .hero__title {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 0 2rem;
}
.hero--immersive .hero__title .text-green {
  color: var(--green);
}
.hero--immersive .hero__ctas {
  margin-top: 0;
  justify-content: flex-start;
}
.btn--ghost-on-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--ghost-on-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}
.hero__finish {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 3;
  pointer-events: none;
}
.hero__finish-wave {
  width: 100%;
  height: 100%;
  display: block;
}
.hero__finish-arrow {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: block;
  animation: hero-arrow-bob 1.6s ease-in-out infinite;
}
@keyframes hero-arrow-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__finish-arrow { animation: none; }
}
@media (max-width: 720px) {
  .hero.hero--immersive { min-height: clamp(720px, 92vh, 860px); }
  .hero--immersive .hero__overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.8) 100%);
  }
  .hero--immersive .hero__content {
    text-align: center;
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }
  .hero--immersive .hero__title {
    font-size: clamp(2.25rem, 7.5vw, 2.75rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero--immersive .hero__ctas {
    justify-content: center;
  }
  .hero--immersive .hero__arcs { right: -220px; bottom: -220px; width: 500px; height: 500px; }
  .hero__finish { height: 80px; }
  .hero__finish-arrow { bottom: 14px; }
}
.hero__sub {
  margin: 2rem auto 0;
  max-width: 46ch;
  color: var(--gray-500);
}
.hero__ctas {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stats {
  margin-top: clamp(4rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--black);
}
.hero__stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.025em;
}
.hero__stat .lbl {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.3;
}

/* ---------- Clientes ---------- */
.clients {
  background: var(--white);
  padding: 1.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid #ececec;
}
.clients .container {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.clients__label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--black);
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0;
  flex: 0 0 auto;
  max-width: 240px;
  letter-spacing: -0.005em;
}
.clients__marquee {
  flex: 1 1 auto;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.clients__track {
  display: flex;
  width: max-content;
  animation: clients-slide 40s linear infinite;
}
.clients__marquee:hover .clients__track {
  animation-play-state: paused;
}
.clients__item {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
}
.clients__item img {
  max-height: 200px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes clients-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
}
@media (max-width: 1100px) {
  .clients { padding: 2.5rem 0; }
  .clients .container { flex-wrap: wrap; }
  .clients__label {
    max-width: none;
    flex: 1 1 100%;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 640px) {
  .clients { padding: 2rem 0 2.5rem; }
  .clients__label { font-size: 1.125rem; margin-bottom: 1.25rem; padding: 0 1rem; }
  .clients__item { width: 150px; height: 150px; padding: 0 0.75rem; }
  .clients__item img { max-height: 150px; max-width: 150px; }
}

/* ---------- Carrossel de eventos (home) ---------- */
.events-carousel-wrap {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
}
.events-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem var(--gutter) 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--black) var(--gray-200);
}
.events-carousel::-webkit-scrollbar { height: 4px; }
.events-carousel::-webkit-scrollbar-track { background: var(--gray-200); }
.events-carousel::-webkit-scrollbar-thumb { background: var(--black); }

.event-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: block;
  color: var(--black);
}

.event-card__image {
  aspect-ratio: 1 / 1;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}
.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card__initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
}
.event-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.event-card__meta {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin: 0;
}
.event-card__meta + .event-card__meta {
  margin-top: 0.125rem;
}

/* Setinhas de navegação do carrossel */
.carousel-nav {
  position: absolute;
  top: 160px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}
.carousel-nav:hover { background: var(--green); color: var(--black); transform: scale(1.05); }
.carousel-nav--prev { left: 0.5rem; }
.carousel-nav--next { right: 0.5rem; }
.carousel-nav svg { display: block; }

@media (max-width: 768px) {
  .carousel-nav { display: none; }
  .event-card { flex-basis: 240px; }
  .event-card__initials { font-size: 3.5rem; }
}

/* ---------- Próximos eventos ---------- */
.events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.events-header h2 { max-width: 20ch; }
.events-header a {
  font-family: var(--font-display);
  font-weight: 500;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}
.events-header a:hover { color: var(--green-dark); border-color: var(--green-dark); }

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--black);
}
.event-row {
  display: grid;
  grid-template-columns: 112px 1fr 1fr 1fr auto;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--black);
  align-items: center;
  transition: background 120ms;
}
.event-row:hover { background: var(--off); }
.event-row__logo {
  width: 96px;
  height: 96px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--black);
  overflow: hidden;
}
.event-row__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Fallback: só quando o logo é texto (iniciais), mantém o fundo cinza suave */
.event-row__logo:not(:has(img)) {
  background: var(--off);
}
.event-row__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--black);
}
.event-row__meta {
  color: var(--gray-500);
  font-size: 0.9375rem;
}
.event-row__link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  font-size: 0.9375rem;
}

/* ---------- Problemas / resolve ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
.problem {
  padding: 2rem;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
  transition: background 120ms;
}
.problem:hover { background: var(--black); color: var(--white); }
.problem h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  max-width: 18ch;
}
.problem p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  min-height: 3em;
}
.problem__resolve {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--black);
  display: block;
  border-top: 1px solid var(--black);
  padding-top: 1rem;
}
.problem__product {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.25rem;
  color: var(--black);
}
.problem:hover h3,
.problem:hover p,
.problem:hover .problem__resolve,
.problem:hover .problem__product { color: var(--white); }
.problem:hover .problem__resolve { border-top-color: rgba(255,255,255,0.3); }
.problem__link {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-top: auto;
}
.problem:hover .problem__link .problem__product {
  color: var(--green);
}

/* ---------- Produtos ---------- */
.products-intro {
  max-width: 48rem;
  margin-bottom: 4rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.product {
  background: var(--black);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.product__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.product__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.product__desc {
  color: var(--gray-on-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.product__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}
.product__features span {
  font-size: 0.75rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.5rem;
}
.product__link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  align-self: flex-start;
  font-size: 0.875rem;
}

/* ---------- Tech House ---------- */
.techhouse {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.techhouse__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.techhouse__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(5rem, 15vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--black);
}
.techhouse__num small {
  display: block;
  font-size: 0.2em;
  color: var(--black);
  margin-top: 1rem;
  letter-spacing: 0;
  font-weight: 500;
}
.techhouse__text p + p { margin-top: 1.5rem; }
.techhouse__text .body-l { color: var(--black); }

/* ---------- Formulário / CTA final ---------- */
.cta-final {
  background: var(--black);
  color: var(--white);
}
.cta-final__title { color: var(--white); max-width: 20ch; margin-bottom: 1.5rem; }
.cta-final__sub { color: var(--gray-on-dark); max-width: 50ch; margin-bottom: 3rem; }

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 42rem;
}
.form__field { display: flex; flex-direction: column; }
.form__field--full { grid-column: 1 / -1; }
.form__field label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.form__field input,
.form__field select,
.form__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 0;
  font: inherit;
  color: var(--white);
  outline: none;
  transition: border-color 120ms;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus { border-bottom-color: var(--green); }
.form__field select option { background: var(--black); color: var(--white); }
.form__field textarea { min-height: 100px; resize: vertical; }
.form__submit { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer__brand .logo img {
  height: 44px;
  /* Placeholder: deixa o logo todo branco no fundo preto do footer.
     Troque pela versão oficial em branco quando disponível (ex: logo-euvou-branco.png) */
  filter: brightness(0) invert(1);
}
.footer__brand p {
  color: var(--gray-on-dark);
  margin-top: 1.5rem;
  max-width: 28ch;
  font-size: 0.9375rem;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.footer__col ul li { margin-bottom: 0.75rem; }
.footer__col ul a {
  font-size: 0.9375rem;
  color: var(--white);
  border-bottom: 1px solid transparent;
}
.footer__col ul a:hover { border-bottom-color: var(--green); color: var(--green); }
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-on-dark);
  font-size: 0.8125rem;
}

/* ---------- Página de eventos ---------- */
.page-head {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  background: var(--black);
  color: var(--white);
}
.page-head h1 {
  color: var(--white);
  max-width: 24ch;
  margin-bottom: 1.5rem;
}
.page-head p { color: var(--gray-on-dark); max-width: 50ch; }

.filters {
  padding: 2rem 0;
  background: var(--off);
  border-bottom: 1px solid var(--black);
  position: sticky;
  top: 96px;
  z-index: 40;
}
.filters__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: end;
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.filter label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.filter input,
.filter select {
  background: var(--white);
  border: 1px solid var(--black);
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--black);
  border-radius: 0;
  outline: none;
}
.filter input:focus,
.filter select:focus { outline: 2px solid var(--green); outline-offset: -1px; }

.events-list { padding: 3rem 0 6rem; }
.events-list__group {
  margin-bottom: 3rem;
}
.events-list__month {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--black);
  margin-bottom: 0;
  text-transform: capitalize;
}
.empty-state {
  padding: 4rem 0;
  text-align: center;
  color: var(--gray-500);
}
.loading {
  padding: 4rem 0;
  text-align: center;
  color: var(--gray-500);
  font-family: var(--font-display);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .techhouse__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .event-row {
    grid-template-columns: 96px 1fr 1fr;
    grid-template-areas:
      "logo name name"
      "logo date local"
      "logo org link";
    gap: 0.5rem 1rem;
  }
  .event-row__logo { grid-area: logo; align-self: start; }
  .event-row__name { grid-area: name; }
  .filters__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header__ctas { display: none; }
  .hero__ctas .btn { width: 100%; }
  .problems-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .filters__row { grid-template-columns: 1fr; }
  .filters { position: static; }
  .events-header { flex-direction: column; align-items: flex-start; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .event-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "name"
      "date"
      "local"
      "org"
      "link";
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .event-row__logo {
    width: 120px;
    height: 120px;
    background: transparent;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    grid-area: logo;
    justify-content: flex-start;
  }
  .event-row__logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .event-row__name {
    grid-area: name;
    font-size: 1.0625rem;
  }
  .event-row__meta {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ========================================
   PÁGINAS INTERNAS — solução & tipo de evento
   ======================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 1.25rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
  color: var(--gray-500);
}
.breadcrumb a {
  color: var(--gray-500);
  border-bottom: 1px solid transparent;
  transition: border-color 120ms, color 120ms;
}
.breadcrumb a:hover { color: var(--black); border-bottom-color: var(--black); }
.breadcrumb__sep {
  display: inline-block;
  margin: 0 0.5rem;
  opacity: 0.5;
}
.breadcrumb__current { color: var(--black); font-weight: 500; }

/* ---------- Hero de página interna ---------- */
.page-hero {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--black);
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.page-hero--split .container {
  grid-template-columns: 1.1fr 1fr;
}
.page-hero__content {
  display: flex;
  flex-direction: column;
}
.page-hero__kicker {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--black);
  background: var(--green);
  padding: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-hero--split .page-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
}
.page-hero__title {
  color: var(--black);
  max-width: 18ch;
  margin-bottom: 1rem;
}
.page-hero__sub {
  max-width: 46ch;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}
.page-hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.page-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.page-hero__media img {
  width: 100%;
  height: auto;
  max-width: 460px;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .page-hero--split .container { grid-template-columns: 1fr; }
  .page-hero__media { order: 2; }
  .page-hero__media img { max-width: 360px; max-height: 50vh; margin: 0 auto; }
}

/* ---------- Seção de bullets/features ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
.feature-list__item {
  padding: 2rem;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
}
.feature-list__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.feature-list__item p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ---------- Lead paragraph ---------- */
.lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 48rem;
  color: var(--black);
}

/* ---------- Section headers (internas) ---------- */
.sec-header {
  margin-bottom: 3rem;
  max-width: 48rem;
}
.sec-header h2 {
  margin-bottom: 1rem;
}
.sec-header p {
  color: var(--gray-500);
}

/* ---------- Prose (texto corrido editorial) ---------- */
.prose {
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-900);
}
.prose p { margin-bottom: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 500; color: var(--black); }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

/* ---------- Checklist (dicas numeradas) ---------- */
.checklist {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.checklist li {
  counter-increment: step;
  padding: 1.75rem 0 1.75rem 4rem;
  border-top: 1px solid var(--gray-200);
  position: relative;
}
.checklist li:last-child { border-bottom: 1px solid var(--gray-200); }
.checklist li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  letter-spacing: -0.01em;
}
.checklist li h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.checklist li p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Grid de soluções recomendadas (card compacto) ---------- */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black);
  border: 1px solid var(--black);
}
.rec-card {
  background: var(--white);
  padding: 1.75rem;
  color: var(--black);
  transition: background 120ms;
  display: block;
}
.rec-card:hover { background: var(--green); }
.rec-card__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.rec-card:hover .rec-card__kicker { color: var(--black); }
.rec-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.rec-card__desc {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  min-height: 3em;
}
.rec-card:hover .rec-card__desc { color: var(--black); }
.rec-card__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- FAQ (accordion simples) ---------- */
.faq {
  max-width: 48rem;
}
.faq__item {
  border-top: 1px solid var(--gray-200);
}
.faq__item:last-child { border-bottom: 1px solid var(--gray-200); }
.faq__item summary {
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1;
  transition: transform 180ms;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  padding: 0 0 1.5rem;
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
}

/* ---------- CTA inline interno ---------- */
.cta-strip {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: var(--green);
  color: var(--black);
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-strip h2 {
  color: var(--black);
  max-width: 20ch;
}
.cta-strip p {
  margin-top: 0.75rem;
  color: var(--black);
}

@media (max-width: 1024px) {
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .rec-grid, .feature-list { grid-template-columns: 1fr; }
  .cta-strip__inner { grid-template-columns: 1fr; }
}

/* ---------- Prose em fundo escuro (contraste melhor) ---------- */
.prose--on-dark {
  color: var(--gray-on-dark);
}
.prose--on-dark p { color: var(--gray-on-dark); }
.prose--on-dark strong { color: var(--white); font-weight: 500; }

/* ---------- Evento já realizado (página /eventos) ---------- */
.event-row--past {
  opacity: 0.6;
}
.event-row--past .event-row__logo {
  background: var(--gray-200);
}
.event-row__badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gray-200);
  color: var(--gray-500);
  border-radius: 2px;
  vertical-align: middle;
}

/* ---------- Mensagem de feedback do formulário ---------- */
.form__message {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.4;
  border-radius: var(--radius-sm);
}
.form__message--success {
  background: var(--green);
  color: var(--black);
}
.form__message--error {
  background: #ffe0e0;
  color: #a00000;
  border: 1px solid #a00000;
}

/* ---------- Section de depoimento ---------- */
.testimonial {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--off);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.testimonial__inner {
  max-width: 56rem;
  margin: 0 auto;
}
.testimonial__quote {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--black);
  padding-left: 3rem;
}
.testimonial__quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 6rem;
  line-height: 1;
  color: var(--green);
}
.testimonial__quote p + p { margin-top: 1rem; }
.testimonial__attr {
  margin-top: 2rem;
  padding-left: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--black);
  font-family: var(--font-display);
  font-weight: 500;
}
.testimonial__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
}
.testimonial__company {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.125rem;
}

@media (max-width: 720px) {
  .testimonial__quote {
    padding-left: 2rem;
    font-size: 1.125rem;
  }
  .testimonial__quote::before {
    font-size: 4rem;
    top: -1rem;
  }
  .testimonial__attr {
    padding-left: 2rem;
  }
}

/* ---------- Slider de depoimentos (home) ---------- */
.testimonial-slider {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--white);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  position: relative;
  overflow: hidden;
}
.testimonial-slider__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--black);
  background: var(--green);
  padding: 0.375rem 0.75rem;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.testimonial-slider__track {
  position: relative;
  min-height: 280px;
}
.testimonial-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}
.testimonial-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.testimonial-slider__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  gap: 1.5rem;
}
.testimonial-slider__dots {
  display: flex;
  gap: 0.75rem;
}
.testimonial-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 180ms;
}
.testimonial-slider__dot.is-active {
  background: var(--green);
}
.testimonial-slider__dot:hover {
  background: var(--black);
}
.testimonial-slider__arrows {
  display: flex;
  gap: 0.75rem;
}
.testimonial-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  transition: background 120ms;
}
.testimonial-slider__arrow:hover {
  background: var(--green);
  color: var(--black);
}
.testimonial-slider__arrow svg {
  display: block;
}

@media (max-width: 720px) {
  .testimonial-slider__track {
    min-height: 360px;
  }
  .testimonial-slider__nav {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* ---------- Nav dropdown (Soluções) ---------- */
.nav__item {
  position: relative;
}
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--gray-900);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  font-family: var(--font-body);
  font-weight: 400;
  transition: border-color 120ms;
}
.nav__trigger:hover,
.nav__trigger[aria-expanded="true"] { border-bottom-color: var(--black); }
.nav__trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 200ms;
}
.nav__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.75rem;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--black);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 160ms, transform 160ms, visibility 0s linear 160ms;
  z-index: 60;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 160ms, transform 160ms, visibility 0s;
}
.nav__dropdown a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-900);
  border-bottom: 0;
  transition: background 120ms, color 120ms;
}
.nav__dropdown a:hover {
  background: var(--off);
  color: var(--black);
}
.nav__dropdown a + a { border-top: 1px solid var(--gray-200); }
.nav__dropdown__footer {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 2px solid var(--black);
  background: var(--off);
}
.nav__dropdown__footer a {
  padding: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--black);
  background: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__dropdown__footer a:hover { color: var(--green-dark); background: none; }

@media (max-width: 720px) {
  /* No mobile o menu já abre vertical; dropdown vira lista inline */
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    display: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
    background: transparent;
  }
  .nav__item.is-open .nav__dropdown { display: block; }
  .nav__dropdown a { padding: 0.5rem 0; font-size: 0.875rem; }
  .nav__dropdown a + a { border-top: 0; }
  .nav__dropdown__footer { padding: 0.5rem 0; background: transparent; margin-top: 0.5rem; }
}

/* ---------- Dropdown: abrir no hover (desktop) ---------- */
@media (min-width: 721px) {
  .nav__item:hover .nav__dropdown,
  .nav__item:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 160ms, transform 160ms, visibility 0s;
  }
  .nav__item:hover .nav__trigger,
  .nav__item:focus-within .nav__trigger {
    border-bottom-color: var(--black);
  }
  .nav__item:hover .nav__trigger svg,
  .nav__item:focus-within .nav__trigger svg {
    transform: rotate(180deg);
  }
}

/* ---------- Documento legal (prose) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-body);
  color: var(--black);
  line-height: 1.7;
  font-size: 1rem;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 3rem 0 1rem;
  color: var(--black);
  letter-spacing: -0.01em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  color: var(--black);
}
.legal p {
  margin: 0 0 1rem;
}
.legal ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.legal ul li {
  margin-bottom: 0.375rem;
}
.legal a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover {
  color: var(--green);
}
.legal strong { font-weight: 600; }

/* Rodapé: linha com link legal */
.footer__bottom .footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
}
.footer__bottom .footer__legal a:hover { opacity: 1; }

/* Links legais do rodapé: espaçamento entre vários */
.footer__bottom .footer__legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
