/* ============================================================
   SEMANA CALDEIRA 2026 — LP
   Design tokens + estilos por seção. Fiel ao PDF aprovado
   + motion/polish. Responsivo. PT (i18n pronto p/ ES/EN).
   ============================================================ */

/* ---------- FONTES ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Bahnschrift";
  src: url("../assets/fonts/Bahnschrift.ttf") format("truetype");
  font-weight: 300 700; /* eixo real da fonte: wght 300-700 */
  font-stretch: 75% 100%; /* eixo real: wdth 75-100 */
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --green: #90f070;
  --green-deep: #7ad655;
  --cream: #f5f3e7;
  --cream-2: #f7f6ec;
  --ink: #141718;
  --ink-soft: #3a3d3c;
  --gray-footer: #e8e8e8;
  --white: #fff;

  --font-display: "Bahnschrift", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --content: 1260px; /* margem de conteudo ~370px cada lado em 1920, igual ao PDF */
  --pad: clamp(20px, 5vw, 40px);
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}
img,
video,
svg,
iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display); /* Bahnschrift regular */
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.72em 1.5em;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-green {
  background: var(--green);
  color: var(--ink);
}
.btn-green:hover {
  background: var(--green-deep);
  box-shadow: 0 8px 22px -8px rgba(122, 214, 85, 0.7);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid #cfcfc4;
}
.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-lg {
  font-size: 1.1rem;
  padding: 1.02em 2.1em;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 18px -8px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  color: var(--ink);
}
.brand-mark {
  width: 38px;
  height: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: flex;
  gap: 2px;
  margin-left: 6px;
}
.lang {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  color: #9a9a90;
  transition: color 0.2s, background 0.2s, box-shadow 0.15s, outline-color 0.15s;
}
.lang:hover {
  color: var(--ink);
}
.lang.is-active {
  color: var(--ink);
  background: var(--green);
}
.lang:focus {
  outline: none;
}
.lang:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(144, 240, 112, 0.25);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #1a1c1b;
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 9, 0.62) 0%,
    rgba(8, 10, 9, 0.5) 45%,
    rgba(8, 10, 9, 0.66) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: clamp(56px, 6.5vw, 92px);
  width: 100%;
}
.hero-top {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.hero-banrisul {
  height: clamp(31px, 2.45vw, 45px);
  width: auto;
  align-self: center;
}
.hero-apresenta {
  font-family: var(--font-display); /* Bahnschrift regular */
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1;
  align-self: center;
}
.hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 5.5vw, 84px);
}
.hero-bottom-text {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 22px);
}
.hero-edicao {
  display: block;
  font-family: var(--font-body); /* Inter Light */
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  letter-spacing: 0.16em;
}

.hero-title {
  font-family: var(--font-body); /* Inter Black, largura natural (sem condensar) */
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.2vw, 6.3rem);
}
.hero-title span {
  display: block;
}
.hero-year {
  color: var(--green);
  font-weight: 300; /* Inter Light */
}
.hero-date {
  text-align: right;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-bottom: 0;
}
.hero-date .hero-edicao {
  display: block;
  margin-bottom: auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  letter-spacing: 0.16em;
}
.hero-date-days,
.hero-date-month {
  display: block;
  font-weight: 500; /* Inter Medium */
  line-height: 1.02;
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: 0.02em;
}
.hero-date-city {
  display: block;
  margin-top: 0.7em;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-lead {
  max-width: 560px;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

/* ---------- COUNTDOWN ---------- */
.countdown-section {
  background: var(--cream);
  padding-block: clamp(48px, 8vw, 104px);
}
.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2.4vw, 40px);
  flex-wrap: wrap;
  text-align: left;
}
.cd-label {
  font-family: var(--font-body); /* Inter ExtraLight */
  font-size: clamp(1rem, 1.6vw, 1.75rem);
  color: var(--ink-soft);
  font-weight: 200;
}
.cd-label-r {
  max-width: 22ch;
  text-align: left;
}
.cd-timer {
  font-family: var(--font-body); /* Inter Black */
  font-weight: 900;
  color: var(--green);
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* ---------- SECTION TITLE (comum) ---------- */
.section-title {
  font-family: var(--font-body); /* Inter Medium */
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2.05rem);
  letter-spacing: 0.005em;
}
.section-title strong {
  font-weight: 900; /* "SPEAKERS" em destaque */
}

/* ---------- SPEAKERS ---------- */
.speakers-section {
  background: var(--cream);
  padding-block: clamp(36px, 4.6vw, 64px) clamp(48px, 7vw, 96px);
}
.speakers-section .section-title {
  margin-bottom: clamp(28px, 4vw, 56px);
}
.speakers-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  cursor: grab;
}
.speakers-marquee.is-dragging {
  cursor: grabbing;
}
.speakers-marquee.is-dragging img {
  pointer-events: none;
}
.speakers-marquee::-webkit-scrollbar {
  display: none;
}
.speakers-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.speaker {
  flex: 0 0 auto;
  width: clamp(115px, 11vw, 160px);
}
.speaker-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ddd;
}
.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: grayscale(6%);
}
.speaker:hover .speaker-photo img {
  transform: scale(1.05);
  filter: grayscale(0);
}
/* Ano que o speaker participou, no canto inferior direito da foto */
.speaker-year {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-family: var(--font-body);
  font-weight: 900; /* Inter Black */
  font-size: clamp(0.75rem, 1.05vw, 1rem);
  line-height: 1;
  color: var(--green);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.speaker figcaption {
  padding-top: 16px;
}
.sp-name {
  display: block;
  font-weight: 700;
  font-size: 0.795rem;
  margin-bottom: 4px;
}
.sp-role {
  display: block;
  white-space: pre-line;
  color: var(--ink-soft);
  font-size: 0.7125rem;
  line-height: 1.35;
}

/* ---------- SPEAKERS CONFIRMADOS 2026 ---------- */
.confirmed-speakers-section {
  background: var(--green);
  color: var(--ink);
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 104px);
  overflow: hidden;
}
.confirmed-speakers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
  min-width: 0;
}
.confirmed-speakers-intro {
  max-width: none;
  min-width: 0;
  flex: 1 1 100%;
}

.confirmed-title {
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 900;
}
.confirmed-title strong {
  color: var(--ink);
  font-weight: 900;
}
.confirmed-sub {
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: rgba(20, 23, 24, 0.78);
  max-width: none;
  white-space: nowrap;
  margin-top: clamp(28px, 4vw, 48px);
}
.confirmed-sub strong {
  font-weight: 900;
  color: rgba(20, 23, 24, 0.92);
}
@media (max-width: 720px) {
  .confirmed-sub { white-space: normal; }
}
.confirmed-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  cursor: grab;
}
.confirmed-marquee::-webkit-scrollbar {
  display: none;
}
.confirmed-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: var(--pad);
}
.confirmed-speaker {
  flex: 0 0 auto;
  width: clamp(240px, 22vw, 330px);
}
.confirmed-speaker .speaker-photo {
  background: #2a2c2b;
  border-radius: 4px;
}
.confirmed-speaker .speaker-photo img {
  filter: none;
}
.confirmed-speaker:hover .speaker-photo img {
  transform: scale(1.06);
  filter: none;
}
.confirmed-speaker .sp-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.88) 100%
  );
  color: var(--white);
  pointer-events: none;
  z-index: 2;
}
.confirmed-speaker .sp-name {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.912rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.confirmed-speaker .sp-role,
.confirmed-speaker .sp-company {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.2;
}
.confirmed-speaker .sp-company {
  color: var(--green);
  font-weight: 600;
}
.confirmed-speaker .sp-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--white);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.confirmed-speaker .sp-flag-country {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.62rem;
}
@media (max-width: 520px) {
  .confirmed-speaker .sp-flag-country {
    display: none;
  }
}
.confirmed-speaker.is-placeholder .speaker-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 23, 24, 0.25) 0%,
    rgba(20, 23, 24, 0.72) 100%
  );
  pointer-events: none;
}
.confirmed-placeholder-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 0.55em 0.9em;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
.confirmed-teaser {
  width: clamp(240px, 22vw, 330px);
}
.confirmed-teaser-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #1e2120 0%, #2f3331 100%);
  border: 1.5px dashed rgba(144, 240, 112, 0.35);
  text-align: center;
  padding: 24px;
}
.confirmed-teaser-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: 0.06em;
  color: var(--green);
  line-height: 1.1;
}
.confirmed-teaser-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
  max-width: 22ch;
}

/* ---------- PATROCINADORES ---------- */
.sponsors-section {
  background: var(--cream);
  padding-block: clamp(30px, 5vw, 70px) clamp(50px, 8vw, 110px);
}
.sponsors-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.sponsors-inner > .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: clamp(12px, 2vw, 24px);
}
.sponsors-heading {
  grid-column: 1 / -1;
  justify-self: start;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ink);
  margin-bottom: clamp(8px, 2vw, 16px);
}
.sponsor-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(18px, 2.4vw, 32px);
}
/* Larguras alinhadas às proporções do SVG de referência (SC26_LOGOS_21.07-02).
   Fator único --sponsor-scale controla a escala global. */
.sponsors-inner {
  --sponsor-scale: 0.796875;
}
.sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(20px, 2.6vw, 44px);
  width: 100%;
}
.sponsor-logos img {
  height: calc(var(--h) * var(--sponsor-scale));
  width: auto;
  object-fit: contain;
  max-width: 100%;
  align-self: center;
  margin-block: auto;
}

/* Alturas-base para alinhar os logos pela altura (mesma altura visual por tier).
   O fator --sponsor-scale escala o conjunto globalmente. */
.l-banrisul    { --h: clamp(40px, 5.0vw, 64px); }
.l-sebrae      { --h: clamp(30px, 4.0vw, 50px); }
.l-sulgas      { --h: clamp(30px, 4.0vw, 50px); }
.l-vale        { --h: clamp(30px, 4.0vw, 50px); }
.l-dell        { --h: clamp(22px, 2.9vw, 38px); }
.l-alurafiap { --h: clamp(38px, 4.6vw, 58px); }
.l-unimed      { --h: clamp(24px, 3.0vw, 38px); }
.l-gerdau,
.l-lojasrenner { --h: clamp(28.5px, 3.45vw, 43.5px); }
.l-poapref     { --h: clamp(28px, 3.4vw, 44px); }
.l-fruki       { --h: clamp(18.7px, 2.21vw, 28.9px); }
.l-miolo,
.l-dobralabs,
.l-ensel       { --h: clamp(22px, 2.6vw, 34px); }

/* Diagramação de referência: cada tier ocupa uma faixa completa */
.sponsor-block {
  grid-column: 1 / -1;
}

.sponsor-apresenta .sponsor-logos,
.sponsor-master .sponsor-logos,
.sponsor-apoio .sponsor-logos,
.sponsor-partners .sponsor-logos {
  flex-wrap: nowrap;
  gap: clamp(14px, 2.6vw, 44px);
  justify-content: flex-start;
}

/* Rótulos: APRESENTA/MASTER maiores (SVG 28.2px), APOIO/PARTNERS menores (SVG 24px). */
.sponsor-label {
  --label-tracking: 0.06em;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: var(--label-tracking);
  text-indent: 0;
  color: var(--ink);
  text-align: left;
}
.sponsor-apresenta .sponsor-label,
.sponsor-master .sponsor-label {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}
.sponsor-apoio .sponsor-label,
.sponsor-partners .sponsor-label {
  font-size: clamp(0.85rem, 1.25vw, 1.15rem);
}


/* ---------- O QUE ESPERAR (verde) ---------- */
.expect-section {
  background: var(--green);
  padding-block: clamp(48px, 7vw, 100px);
}
.expect-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.expect-sup {
  font-family: var(--font-display); /* Bahnschrift regular */
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.01em;
  color: #1c2a15;
  margin-bottom: 6px;
}
.expect-title {
  font-family: var(--font-body); /* Inter Black */
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: clamp(28px, 4vw, 48px);
  white-space: pre-line;
}
.stats-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(10px, 1.2vw, 16px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 0;
}
/* Centraliza quando cabe; sem cortar o primeiro/último card quando há scroll */
.stats-grid > .stat:first-child {
  margin-inline-start: auto;
}
.stats-grid > .stat:last-child {
  margin-inline-end: auto;
}
.stats-grid::-webkit-scrollbar {
  display: none;
}

.confirmed-stats {
  margin-top: clamp(28px, 4vw, 48px);
}
.stats-strip {
  /* 5 boxes de 220px + gaps cabem no container de 1260px */
}
.stat {
  width: 220px;
  flex: 0 0 220px;
  background: var(--cream);
  border-radius: 8px;
  padding: clamp(16px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-body); /* Inter Black */
  font-weight: 900;
  font-size: clamp(1.425rem, 2.55vw, 2.325rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: inline-block;
  white-space: nowrap;
}
.stat-label {
  white-space: pre-line;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.25;
  color: var(--ink-soft);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.expect-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 720 / 800; /* proporção original do VIDEO_FOTOS (vertical, como no PDF) */
}
.expect-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.expect-photo:hover::after {
  opacity: 1;
}
.expect-photo img,
.expect-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.expect-photo:hover img,
.expect-photo:hover video {
  transform: scale(1.05);
}

/* ---------- LOCAL ---------- */
.local-section {
  background: var(--green);
  padding-block: clamp(56px, 9vw, 120px);
}
.local-card {
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.local-text {
  padding: clamp(28px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
}
.local-sup {
  font-family: var(--font-body); /* Inter ExtraLight */
  font-weight: 200;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.local-title {
  font-family: var(--font-body); /* Inter Medium */
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.local-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 40ch;
}
.local-address {
  font-style: normal;
  margin-top: auto;
  padding-top: 28px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.local-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.local-map {
  min-height: 320px;
  display: block;
  overflow: hidden;
}
.local-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--cream-2);
  padding-block: clamp(56px, 9vw, 120px);
}
.faq-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.faq-title {
  font-family: var(--font-body); /* Inter Black */
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.02;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.faq-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.faq-contact p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 24ch;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid #dcdbcd;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-body); /* Inter Black */
  font-weight: 900;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  white-space: pre-line;
}
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 3px;
}
.faq-icon::after {
  top: 0;
  left: 9px;
  width: 3px;
  height: 20px;
}
.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-a p {
  padding: 0 44px 26px 0;
  color: var(--ink-soft);
  font-family: var(--font-body); /* Inter Light */
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--gray-footer);
  padding-block: clamp(48px, 7vw, 90px);
  display: flex;
  justify-content: center;
}
.footer-mark {
  width: 56px;
  height: auto;
}

/* ---------- MOTION / REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
  .hero-video {
    display: none;
  }
  .speakers-track {
    animation: none;
  }
  .speakers-marquee {
    overflow-x: auto;
  }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .expect-inner {
    grid-template-columns: 1fr;
  }
  .expect-photo {
    order: -1;
    /* mantém a mesma proporção do desktop (720/800) no mobile */
  }
  .local-card {
    grid-template-columns: 1fr;
  }
  .local-map {
    min-height: 300px;
    order: -1;
  }
  .faq-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 62px;
  }
  .header-nav {
    gap: 8px;
  }
  .header-nav .btn {
    font-size: 0.82rem;
    padding: 0.6em 0.9em;
  }
  .btn-outline {
    display: none; /* Área do Participante some no header mobile, fica no fluxo */
  }
  .hero-main {
    align-items: flex-start;
  }
  .hero-date {
    text-align: left;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .countdown-inner {
    flex-direction: column;
    gap: 8px;
  }
  .cd-label-r {
    text-align: center;
    max-width: none;
  }
  .stat {
    width: 220px;
    flex: 0 0 220px;
  }
  /* Manter o seletor de idioma acessível no mobile */
  .lang-switch {
    display: flex;
    margin-left: 4px;
    gap: 0;
  }
  .lang {
    font-size: 0.78rem;
    padding: 5px 6px;
  }
  /* Mobile: uma coluna, blocos empilhados e centralizados */
  .sponsors-inner {
    grid-template-columns: 1fr;
    --sponsor-scale: 0.918;
    row-gap: clamp(32px, 8vw, 56px);
  }
  .sponsor-apresenta .sponsor-label,
  .sponsor-master .sponsor-label,
  .sponsor-apoio .sponsor-label,
  .sponsor-partners .sponsor-label {
    font-size: 0.78rem;
    --label-tracking: 0.1em;
    text-align: left;
    align-self: flex-start;
  }
  .sponsor-block {
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  .sponsor-logos {
    display: grid;
    align-items: center;
    justify-items: start;
    gap: clamp(20px, 5vw, 32px) clamp(16px, 4vw, 28px);
    width: 100%;
  }
  .sponsor-apresenta .sponsor-logos {
    grid-template-columns: 1fr;
  }
  .sponsor-master .sponsor-logos,
  .sponsor-partners .sponsor-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsor-apoio .sponsor-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .sponsor-logos img {
    max-width: 100%;
  }

  .stats-grid {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding-inline: 0;
  }
  .stat {
    scroll-snap-align: start;
  }


}



@media (max-width: 460px) {
  .speaker {
    width: 74vw;
  }
  .stat {
    width: min(220px, 72vw);
    flex: 0 0 min(220px, 72vw);
  }
}



/* ---------- CTA "ver todos os speakers" ---------- */
.confirmed-cta {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: flex;
  justify-content: center;
}

/* ---------- PÁGINA /speakers ---------- */
.speakers-page-main {
  padding-top: clamp(96px, 12vw, 140px);
  background: var(--green);
  color: var(--ink);
}
.speakers-page-hero {
  padding-bottom: clamp(24px, 3vw, 40px);
}
.speakers-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 2.2vw, 24px);
  padding: 10px 18px;
  border-color: rgba(20, 23, 24, 0.45);
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.speakers-back::before {
  content: "←";
  font-size: 1.1em;
  line-height: 1;
}
.speakers-back:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.speakers-page-title {
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 10px;
}
.speakers-page-count {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(20, 23, 24, 0.78);
}
.speakers-page-count strong {
  font-weight: 900;
  color: var(--ink);
}
.speakers-controls {
  margin-top: clamp(20px, 2.5vw, 32px);
}
.speakers-search {
  max-width: 460px;
}
.speakers-search-field {
  position: relative;
}
.speakers-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  color: rgba(20, 23, 24, 0.55);
  pointer-events: none;
}
.speakers-search-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1.5px solid rgba(20, 23, 24, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}
.speakers-search-input::placeholder {
  color: rgba(20, 23, 24, 0.55);
}
.speakers-search-input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  background: #fff;
}
.speakers-search-field .speakers-search-input {
  padding-left: 40px;
}
.speakers-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.speakers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(14px, 1.8vw, 20px);
}
.speakers-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(20, 23, 24, 0.28);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.speakers-filter:hover {
  border-color: var(--ink);
  background: #fff;
}
.speakers-filter:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.speakers-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--green);
}
.speakers-filter-count {
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.65;
}
.speakers-filter-global {
  border-color: rgba(20, 23, 24, 0.5);
  flex: 0 0 auto;
}
.speakers-filter-global:not(.is-active) {
  background: rgba(255, 255, 255, 0.86);
}
@media (min-width: 641px) {
  .speakers-filter-row {
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .speakers-controls {
    display: block;
  }
  .speakers-search {
    width: 100%;
    max-width: none;
  }
  .speakers-filter-row {
    display: block;
  }
  .speakers-filter-row .speakers-filters {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-rows: repeat(2, auto);
    min-width: 0;
    margin: 8px -16px 0;
    padding: 0 16px 3px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .speakers-filter-row .speakers-filters::-webkit-scrollbar {
    display: none;
  }
  .speakers-filter {
    font-size: 0.76rem;
    padding: 7px 12px;
  }
}
.speakers-page-listing {
  padding-bottom: clamp(56px, 7vw, 104px);
}
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(234px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.speakers-grid-item {
  width: auto;
  margin: 0;
}
.speakers-grid-item .speaker-photo {
  aspect-ratio: 9 / 10;
}
.speakers-grid-item .speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.speakers-empty {
  padding-block: 40px;
  font-size: 1.05rem;
  color: rgba(20, 23, 24, 0.75);
}
@media (max-width: 520px) {
  .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .speakers-grid-item .speaker-photo {
    aspect-ratio: 2 / 3;
    border-radius: 4px;
  }
  .speakers-grid-item .speaker-photo::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 24px;
    height: 3px;
    background: var(--green);
    pointer-events: none;
  }
  .speakers-grid-item .sp-overlay {
    min-height: 50%;
    justify-content: flex-end;
    padding: 16px 13px 13px;
    gap: 5px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.48) 34%,
      rgba(0, 0, 0, 0.94) 100%
    );
  }
  .speakers-grid-item .sp-name {
    font-size: 0.86rem;
    line-height: 1.12;
    letter-spacing: 0.01em;
    margin-bottom: 1px;
  }
  .speakers-grid-item .sp-role,
  .speakers-grid-item .sp-company {
    font-size: 0.76rem;
    line-height: 1.22;
  }
  .speakers-grid-item .sp-role {
    color: var(--white);
  }
  .speakers-grid-item .sp-company {
    color: var(--green);
  }
}
