/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors */
  --primary-color: #002060;
  --secondary-color: #001540;
  --accent-color: #22DECC;
  --accent-hover: #1bbcae;
  
  --bg-light: #ffffff;
  --bg-gray: #f9f9f9;
  --bg-dark: #002060;
  
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #666666;
  
  /* Fonts */
  --font-family: 'Fira Sans', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  
  /* Layout */
  --max-width: 900px;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

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

/* ==========================================================================
   Reusable Utilities
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

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

.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(34, 222, 204, 0.3);
}

/* Section Title & Divider */
.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.section-title.light {
  color: var(--text-light);
}

.divider-line {
  width: 50px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

/* ==========================================================================
   Hero / Header
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--primary-color);
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 40px 20px;
}

/* Background image overlayed on Navy bg */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  animation: zoomIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Accent pattern divider row */
.pattern-row {
  height: 30px;
  background-color: var(--accent-color);
  position: relative;
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: url('../img/bg-hotsite.gif');
}

/* ==========================================================================
   Action Bar (Title & Quick Nav Links)
   ========================================================================== */
.action-bar {
  background-color: var(--bg-light);
  padding: 60px 0 40px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.event-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.quick-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.quick-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 4px;
}

.quick-nav a:hover {
  background-color: var(--bg-gray);
  color: var(--accent-color);
}

.quick-nav a i {
  font-size: 1.25rem;
}

/* ==========================================================================
   Intro Text
   ========================================================================== */
.intro-section p {
  font-size: 1.05rem;
  text-align: justify;
  margin-bottom: 20px;
}

/* ==========================================================================
   Section: Programação
   ========================================================================== */
.program-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.program-day-col h4 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-light);
  border-top: 8px solid var(--text-light);
  padding-top: 15px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.program-session-title {
  display: inline-block;
  background-color: var(--text-light);
  color: var(--primary-color);
  font-family: var(--font-roboto);
  font-weight: 900;
  padding: 6px 15px;
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-block {
  font-size: 1.02rem;
  margin-bottom: 30px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 15px;
}

.program-block p {
  margin-bottom: 15px;
}

.program-block strong {
  color: var(--accent-color);
}

/* ==========================================================================
   Section: Palestrantes
   ========================================================================== */
.speakers-section {
  background-color: var(--bg-gray);
}

.speakers-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.speaker-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px 30px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.speaker-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--border-color);
}

.speaker-header {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--bg-gray);
  padding-bottom: 6px;
}

.speaker-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
}

/* ==========================================================================
   Section: Call for Papers (Chamada de Artigos)
   ========================================================================== */
.call-section {
  background-color: var(--bg-light);
}

.call-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-gray);
  border-radius: var(--border-radius);
  border: 2px dashed var(--primary-color);
  padding: 40px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.call-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--box-shadow-hover);
}

.call-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.call-card p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

/* ==========================================================================
   Footer & Logos
   ========================================================================== */
.footer-logos {
  background-color: var(--bg-light);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 60px 0;
}

.logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.logos-group {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.logos-group-title {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.logos-group a img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logos-group a img:hover {
  transform: scale(1.05);
}

/* Specific logos adjustments */
.logos-group a[href*="tcm.sp"] img {
  height: 65px;
}

.logos-group a[href*="irbcontas"] img {
  height: 52px;
}

.logos-group a[href*="worldbank"] img {
  height: 60px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .logos-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  
  .logos-group {
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .event-main-title {
    font-size: 1.6rem;
  }
  
  .quick-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .call-card {
    padding: 25px;
  }
}
