/* =========================================================
   WORKSHOP MEDIR PARA GERENCIAR - EDIÇÃO CONFINAMENTO
   Tema: Laranja e Preto
   ========================================================= */

/* IMPORT FONT */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap");

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #f26522;         /* Laranja principal do logo */
  --orange-dark: #d35400;    /* Laranja escuro para hover/destaques */
  --orange-light: #ff8c00;   /* Laranja claro para brilho */
  --black: #000000;          /* Fundo principal escuro */
  --white: #ffffff;
  
  --bg: #0a0a0a;             /* Cor de fundo base do site */
  --panel: #141414;          /* Fundo alternado para seções */
  --panel-2: #1e1e1e;        /* Fundo para cartões e caixas */
  --text-main: #e0e0e0;      /* Texto principal claro */
  --muted: #999999;          /* Texto secundário/discreto */
  --border: #333333;         /* Bordas escuras */

  --max: 960px;
  --radius: 10px;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
  overflow-wrap: break-word;
}

img,
iframe {
  max-width: 100%;
}

/* LINKS */
a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: var(--orange-light);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 3px;
}

/* =========================================================
   HEADER & NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background-color: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
}

.logo {
  width: 100px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav > a,
.dropdown .dropbtn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* CTA - ORANGE */
.registration-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background-color: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.registration-link:hover {
  background-color: var(--orange-dark) !important;
  color: var(--white) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* MENUS DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: var(--white);
  background-color: transparent;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.dropdown:hover .dropbtn {
  color: var(--orange);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--panel-2);
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.8);
  z-index: 100;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.dropdown-content a {
  color: var(--text-main);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: var(--panel);
  color: var(--orange);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/banner1.jpg");
  background-size: cover;
  background-position: center;
  background-color: var(--black);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48));
}

.hero-content {
  position: relative;
  max-width: 980px;
  padding: 36px 18px;
  text-align: center;
  color: var(--white);
}

.event-fullname {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--orange);
  max-width: 900px;
  margin: 0 auto 14px auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.event-date,
.event-location {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.event-location-link:hover .event-location {
  color: var(--orange-light);
}

/* Botões Hero */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.btn-sponsor-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f26522 0%, #b94c21 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(242, 101, 34, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-sponsor-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(242, 101, 34, 0.5);
  filter: brightness(1.06);
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  background-color: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-instagram:hover {
  background-color: rgba(242, 101, 34, 0.22);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 70px 20px;
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section:nth-of-type(even) {
  background-color: var(--panel);
}

.section h2 {
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 6px solid var(--orange-dark);
}

.section p {
  margin-bottom: 16px;
  color: var(--text-main);
  text-align: justify;
}

.section-title-centered {
  text-align: center !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin-bottom: 10px !important;
}

.section-subtitle-centered {
  text-align: center !important;
  color: var(--muted) !important;
  max-width: 720px;
  margin: 0 auto 38px auto !important;
  font-size: 1.02rem;
}

.section-cta-center {
  text-align: center;
  margin-top: 42px;
}

/* =========================================================
   CARTÕES GERAIS
   ========================================================= */
.speaker-card,
.org-card,
.sponsor-item,
.edition-card,
.date-card,
.compact-day-card,
.fee-row {
  background-color: var(--panel-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4) !important;
  color: var(--text-main);
}

/* =========================================================
   SPEAKERS
   ========================================================= */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.speaker-card {
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.speaker-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.55) !important;
}

.speaker-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--orange);
}

#speakers .speaker-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin: 16px 0 6px 0;
}

#speakers .speaker-card p {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--orange);
  text-align: center;
  margin: 4px auto 0 auto;
  font-style: italic;
}

/* =========================================================
   SPONSORS (PATROCINADORES & CAPTAÇÃO)
   ========================================================= */
.sponsors {
  background-color: var(--bg);
  text-align: center;
}

.sponsor-open-card {
  max-width: 760px;
  margin: 26px auto 0 auto;
  padding: 40px 28px;
  background: radial-gradient(ellipse at top, rgba(242, 101, 34, 0.14), transparent 72%), var(--panel-2);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.sponsor-open-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: rgba(242, 101, 34, 0.16);
  border: 1px solid rgba(242, 101, 34, 0.45);
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.sponsor-open-card h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.sponsor-open-card p {
  color: var(--text-main) !important;
  text-align: center !important;
  max-width: 600px;
  margin: 0 auto 28px auto !important;
  font-size: 1rem;
  line-height: 1.65;
}

.sponsor-group h3 {
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--orange-dark);
  display: inline-block;
  padding-bottom: 6px;
}

.sponsor-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.sponsor-item {
  padding: 18px;
  height: 120px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.sponsor-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-item:hover {
  transform: translateY(-5px);
  border-color: var(--orange) !important;
}

.sponsor-item:hover img {
  transform: scale(1.05);
}

.premium-platinum .sponsor-item,
.tier-diamond .sponsor-item {
  border: 3px solid #ffaa00 !important;
  box-shadow: 0 10px 25px rgba(242, 101, 34, 0.2) !important;
  background: linear-gradient(145deg, #1e1e1e, #111) !important;
}

.premium-gold .sponsor-item,
.tier-gold .sponsor-item {
  border: 2px solid #ffd700 !important;
}

.premium-silver .sponsor-item,
.tier-silver .sponsor-item {
  border: 1px solid #a0a0a0 !important;
}

/* =========================================================
   ORGANIZATION
   ========================================================= */
.organization {
  background-color: var(--panel);
  text-align: center;
}

.org-logos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 30px auto 0 auto;
}

.org-logos-row .org-card {
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.org-logos-row .org-card img {
  width: 100%;
  max-width: 220px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}

.org-logos-row .org-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange) !important;
}

.org-card p {
  color: var(--white) !important;
  text-align: center !important;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* =========================================================
   FEES (INVESTIMENTO - DARK THEME)
   ========================================================= */
.registration-fees {
  background-color: var(--panel) !important;
}

.fees-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.fees-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-left: 5px solid var(--orange) !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fee-row:hover {
  transform: translateX(6px);
  border-left-color: var(--orange-light) !important;
}

.fee-info {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.fee-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.fee-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.fee-badge-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background-color: rgba(242, 101, 34, 0.2);
  border: 1px solid var(--orange);
  color: var(--orange-light);
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.fee-price {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.25rem;
  white-space: nowrap;
}

/* =========================================================
   AGENDA COMPACTA (2 COLUNAS NA HOME)
   ========================================================= */
.compact-agenda-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

.compact-day-card {
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.compact-day-title {
  background-color: var(--orange);
  color: var(--white);
  margin: 0;
  padding: 14px 20px;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
}

.compact-list {
  display: flex;
  flex-direction: column;
}

.compact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.compact-row:last-child {
  border-bottom: none;
}

.compact-row:hover {
  background-color: rgba(242, 101, 34, 0.08);
}

.compact-time {
  flex: 0 0 54px;
  font-weight: 800;
  color: var(--orange);
  font-size: 0.95rem;
  padding-top: 2px;
}

.compact-info {
  flex: 1;
  min-width: 0;
}

.compact-info h4 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.compact-info span {
  display: block;
  font-size: 0.85rem;
  color: var(--orange-light);
  font-style: italic;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
}

.compact-break {
  background-color: var(--panel);
}

.compact-break .compact-time {
  color: var(--muted);
}

.compact-break .compact-info h4 {
  color: var(--text-main);
  font-weight: 600;
}

/* =========================================================
   CONTATO & FOOTER
   ========================================================= */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-list li {
  color: var(--text-main);
  font-size: 1rem;
}

.footer {
  background-color: #050505;
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 24px 16px;
  font-size: 0.9rem;
}

/* =========================================================
   PROGRAMAÇÃO DIVIDIDA POR BLOCOS (program.html)
   ========================================================= */
.blocks-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px;
}

.program-top-header {
  text-align: center;
  margin-bottom: 40px;
}

.program-top-header h2 {
  border-left: none !important;
  padding-left: 0 !important;
  margin-bottom: 8px;
}

.program-subtitle {
  color: var(--muted) !important;
  text-align: center !important;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 22px !important;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background-color: var(--panel-2);
  color: var(--white) !important;
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-calendar:hover {
  background-color: var(--orange);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 101, 34, 0.35);
}

.period-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 22px 0;
}

.period-divider span {
  background-color: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--orange-light);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.block-card {
  background-color: var(--panel-2);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.block-header {
  background: linear-gradient(135deg, #1f1f1f 0%, #161616 100%);
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.block-tag {
  display: inline-block;
  background-color: rgba(242, 101, 34, 0.16);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.block-header h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.block-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.block-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.block-item:last-child {
  border-bottom: none;
}

.block-item:hover {
  background-color: rgba(242, 101, 34, 0.06);
}

.block-time {
  flex: 0 0 96px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-light);
  background-color: rgba(242, 101, 34, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}

.block-info {
  flex: 1;
  min-width: 0;
}

.block-info h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.block-info p {
  margin: 4px 0 0 0 !important;
  font-size: 0.88rem;
  color: var(--orange) !important;
  font-weight: 600;
  font-style: italic;
  text-align: left !important;
  line-height: 1.35;
}

.block-break {
  background-color: var(--panel);
}

.block-break .block-time {
  color: var(--muted);
  background-color: rgba(255, 255, 255, 0.06);
}

.block-break .block-info h4 {
  color: var(--text-main);
  font-weight: 600;
}

.block-roundtable {
  background-color: rgba(242, 101, 34, 0.05);
  margin-top: auto;
}

.block-roundtable .block-info p {
  color: var(--muted) !important;
}

.lunch-banner {
  margin: 28px 0;
  padding: 16px 24px;
  background-color: var(--panel);
  border: 1px dashed var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lunch-time {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--orange-light);
  background-color: rgba(242, 101, 34, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
}

.lunch-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.program-cta-box {
  margin-top: 56px;
  padding: 40px 28px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(242, 101, 34, 0.16), transparent 70%), var(--panel-2);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.program-cta-box h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.program-cta-box p {
  color: var(--text-main) !important;
  text-align: center !important;
  max-width: 600px;
  margin: 0 auto 26px auto !important;
  font-size: 1rem;
}

.btn-register-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f26522 0%, #d35400 100%);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 28px rgba(242, 101, 34, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-register-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(242, 101, 34, 0.45);
  filter: brightness(1.06);
}

/* =========================================================
   EDIÇÕES ANTERIORES (past-editions.html)
   ========================================================= */
.past-editions-section {
  min-height: 75vh;
}

.past-editions-heading {
  margin-bottom: 42px;
  text-align: center;
}

.past-editions-accent {
  display: block;
  width: 48px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background-color: var(--orange);
}

.past-editions-heading h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.past-editions-heading p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-align: center;
}

.section .past-editions-grid {
  display: grid;
  width: 100%;
  max-width: 1100px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
  justify-content: center;
  gap: 28px;
}

.past-edition-card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.past-edition-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.6) !important;
}

.past-edition-banner {
  position: relative;
  overflow: hidden;
  padding: 26px 20px;
  background: linear-gradient(135deg, var(--orange), #b33b00);
  color: var(--white);
  text-align: center;
}

.past-edition-year {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.past-edition-banner h2 {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--white) !important;
  font-size: 1.75rem;
  font-weight: 800;
}

.past-edition-banner p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  text-align: center;
}

.past-edition-content {
  padding: 22px;
}

.past-edition-gallery {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--bg);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.past-edition-gallery--soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* =========================================================
   LOCAL DO EVENTO (venue.html)
   ========================================================= */
.venue-page {
  padding: 64px 20px 80px;
}

.venue-section {
  display: grid;
  width: min(100%, 1040px);
  margin: 0 auto;
  gap: 64px;
}

.venue-intro {
  text-align: center;
}

.venue-accent {
  display: block;
  width: 48px;
  height: 6px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background-color: var(--orange);
}

.venue-intro h1 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.venue-description {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--text-main);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.8;
}

.venue-description strong,
.venue-address strong {
  color: var(--white);
}

.venue-address {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  margin: 24px auto;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--panel-2);
  color: var(--text-main);
  text-align: left;
}

.venue-address .fa-location-dot {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.25rem;
}

.venue-website {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  padding: 13px 22px;
  border-radius: 10px;
  background-color: var(--orange);
  box-shadow: 0 8px 22px rgba(242, 101, 34, 0.2);
  color: var(--white);
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.venue-website:hover {
  transform: translateY(-2px);
  background-color: var(--orange-dark);
  color: var(--white);
  text-decoration: none;
}

.venue-external-icon {
  font-size: 0.75rem;
  opacity: 0.8;
}

.venue-subheading {
  margin-bottom: 22px;
  text-align: center;
}

.venue-subheading h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
}

.venue-subheading p {
  margin-top: 6px;
  color: var(--muted);
}

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

.venue-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background-color: var(--panel-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.venue-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.venue-photo:hover img {
  transform: scale(1.05);
}

.venue-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.venue-map-frame {
  height: 450px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background-color: var(--panel-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.venue-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  filter: grayscale(0.2) contrast(1.1);
}

/* =========================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* =========================================================
   MENU HAMBÚRGUER & RESPONSIVIDADE
   ========================================================= */
.menu-toggle {
  display: none;
}

@media (max-width: 860px) {
  .blocks-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 24px;
  }

  .hero {
    min-height: 62vh;
  }

  .event-date,
  .event-location {
    font-size: clamp(1rem, 2.8vw, 1.3rem);
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px;
  }

  .site-header .logo {
    width: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header .nav {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    flex-wrap: nowrap !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .site-header.nav-open .nav {
    display: flex !important;
  }

  .site-header .nav > a,
  .site-header .nav > .dropdown,
  .site-header .dropdown .dropbtn {
    flex: 0 0 auto !important;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 6px;
    border: none !important;
    background-color: transparent !important;
    border-radius: 0;
    font-size: 1rem;
  }

  .site-header .nav > .registration-link {
    justify-content: center;
    margin-top: 8px;
    border-radius: 10px;
    background-color: var(--orange) !important;
    color: #fff !important;
  }

  .site-header .dropdown .dropbtn {
    display: none;
  }

  .site-header .dropdown-content {
    display: flex !important;
    flex-direction: column;
    position: static;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .site-header .dropdown-content a {
    padding: 10px 6px;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .compact-agenda-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .venue-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-map-frame {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 44px 18px;
  }

  .section p {
    text-align: left;
  }

  .hero {
    min-height: 58svh;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-sponsor-hero,
  .btn-instagram {
    width: 100%;
    max-width: 340px;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .speaker-card {
    padding: 16px 10px;
  }

  .org-logos-row {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .org-logos-row .org-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    padding: 18px 12px;
  }

  .org-logos-row .org-card img {
    height: 120px;
  }

  .fee-row {
    align-items: flex-start;
    padding: 16px;
  }

  .fee-price {
    text-align: right;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .venue-address {
    width: 100%;
    align-items: flex-start;
    padding: 12px;
  }

  .venue-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .venue-map-frame {
    height: clamp(260px, 80vw, 340px);
    padding: 5px;
  }
}

@media (max-width: 480px) {
  .block-item {
    flex-direction: column;
    gap: 8px;
  }

  .block-time {
    flex: none;
  }
}

@media (max-width: 380px) {
  .speakers-grid,
  .venue-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fee-row {
    flex-direction: column;
    gap: 6px;
  }

  .fee-price {
    text-align: left;
  }
}
/* =========================================================
   HAPPY HOUR (INCLUSO NA INSCRIÇÃO)
   ========================================================= */
.happy-hour-box {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.18), rgba(242, 101, 34, 0.06)), var(--panel-2);
  border: 2px solid var(--orange);
}
.happy-hour-icon { font-size: 2.4rem; line-height: 1; flex: 0 0 auto; }
.happy-hour-text { display: flex; flex-direction: column; gap: 4px; }
.happy-hour-text strong { color: var(--orange); font-size: 1.2rem; }
.happy-hour-text span { color: var(--text-main); font-size: 1rem; line-height: 1.5; }

.hero-happy-hour {
  display: inline-block;
  margin: 6px 0 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: rgba(242, 101, 34, 0.9);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-happy-hour:hover { background-color: var(--orange-dark); }

.happy-hour-banner { border-style: solid; border-width: 2px; }
.happy-hour-tag {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  background-color: var(--orange);
  padding: 4px 12px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .happy-hour-box { flex-direction: column; text-align: center; gap: 10px; padding: 18px; }
  .hero-happy-hour { font-size: 0.9rem; }
}
