/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors from reference */
  --primary-color: #2D9475;    /* Green */
  --secondary-color: #496387;  /* Blue */
  --accent-color: #E84B34;     /* Red/Coral */
  --light-blue: #80BECD;       /* Light Blue */
  --button-green: #46A475;     /* CTA Button Green */
  
  --bg-main: #EFF8EB;          /* Light Greenish Background */
  --bg-white: #ffffff;
  --text-dark: #2F3E36;
  --text-light: #ffffff;
  
  /* Fonts */
  --font-family: 'Poppins', sans-serif;
  --font-title: 'Arima', serif;
  
  /* Layout */
  --max-width: 900px;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* ==========================================================================
   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-main);
  line-height: 1.6;
  font-size: 16px;
}

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

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;
}

/* ==========================================================================
   Header Area (Hero)
   ========================================================================== */
.header-area {
  background-color: var(--bg-main);
  background-image: url("https://s3-site.irbcontas.org.br/irbcontas/2025/07/xv-enc-gest-pessoas-bg1.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 350px auto;
  padding: 60px 0 40px 0;
  text-align: center;
}

.header-logo {
  max-width: 480px;
  width: 100%;
  margin: 0 auto 30px auto;
}

.header-tagline {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
}

/* ==========================================================================
   Section: Sobre o Evento
   ========================================================================== */
.sobre-section {
  padding: 20px 0 40px 0;
}

.sobre-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.sobre-img-box {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  max-width: 750px;
  width: 100%;
}

.sobre-img {
  width: 100%;
  height: auto;
}

.sobre-content {
  background-color: var(--secondary-color);
  background-image: linear-gradient(rgba(73, 99, 135, 0.85), rgba(73, 99, 135, 0.85)), url("https://s3-site.irbcontas.org.br/irbcontas/2025/07/xv-enc-gest-pessoas-bg2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-light);
  padding: 40px 35px;
  border-radius: 0 0 30px 0;
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  max-width: 750px;
  width: 100%;
}

.sobre-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.sobre-content p:last-child {
  margin-bottom: 0;
}

.sobre-content strong {
  color: #fff;
}

/* =style buttons */
.cta-box {
  margin: 40px 0;
}

.btn-inscreva {
  display: inline-block;
  background-color: var(--button-green);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 45px;
  border-radius: 22px 0 22px 0;
  box-shadow: 0 4px 15px rgba(70, 164, 117, 0.3);
  transition: var(--transition);
}

.btn-inscreva:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 164, 117, 0.4);
  background-color: #3b8e64;
}

/* ==========================================================================
   Section: Programação
   ========================================================================== */
.programacao-section {
  padding: 40px 0 80px 0;
}

.prog-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 40px;
  font-weight: 700;
}

.prog-container {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  padding: 50px 40px;
  background-image: url("https://s3-site.irbcontas.org.br/irbcontas/2025/07/xv-enc-gest-pessoas-rodape.webp");
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-bottom: 20px solid var(--accent-color);
  padding-bottom: 240px; /* Space for footer background illustration */
}

.day-block {
  margin-bottom: 50px;
  text-align: left;
}

.day-block:last-of-type {
  margin-bottom: 0;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.day-icon {
  max-height: 55px;
  width: auto;
}

.day-info {
  display: flex;
  flex-direction: column;
}

.day-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-blue);
}

.day-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.day-divider {
  height: 2px;
  background-color: var(--accent-color);
  margin-bottom: 20px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.5;
}

.timeline-item b {
  font-weight: 700;
}

.timeline-item i {
  display: block;
  font-size: 0.9rem;
  color: #6b7280;
  margin-left: 35px;
  margin-top: 2px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-area {
  background-color: var(--secondary-color);
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }
  
  .sobre-content {
    border-radius: var(--border-radius);
  }
  
  .prog-container {
    padding-bottom: 200px;
    background-size: 100% auto;
  }
}

@media (max-width: 600px) {
  .header-logo {
    max-width: 320px;
  }
  
  .header-tagline {
    font-size: 1.3rem;
  }
  
  .prog-title {
    font-size: 1.8rem;
  }
  
  .prog-container {
    padding: 30px 20px 180px 20px;
  }

  .day-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
