/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #1e1e1e;
  line-height: 1.6;
}

/* Cores baseadas na capa do livro */
:root {
  --primary-dark: #0A2342;      /* Azul escuro profundo */
  --primary-medium: #1E3A8A;    /* Azul real */
  --accent-orange: #F57C00;     /* Laranja vibrante */
  --accent-yellow: #FFB300;     /* Amarelo dourado */
  --light-blue: #E3F2FD;        /* Azul claro de fundo */
  --light-orange: #FFF3E0;      /* Laranja claro */
  --success-green: #2E7D32;
  --danger-red: #D32F2F;
  --gray-light: #f5f5f5;
  --gray-dark: #666;
  --white: #FFFFFF;
  --black: #1a1a1a;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
}

header h1 {
  font-size: 2.8em;
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header h2 {
  font-size: 1.8em;
  margin: 15px 0 0;
  color: var(--accent-yellow);
  font-weight: 600;
}

header .subtitle {
  font-size: 1.4em;
  margin: 15px 0;
  color: var(--accent-yellow);
  font-weight: 700;
}

header p {
  font-size: 1.2em;
  margin: 20px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* Botões */
.btn-cta {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
  color: var(--primary-dark);
  padding: 18px 35px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 25px;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
  background: linear-gradient(135deg, #FF9800, #FFB300);
}

/* Seções */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  font-size: 2.5em;
  color: var(--primary-dark);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  font-weight: 700;
}

.section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Pilares */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pillar {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(10, 35, 66, 0.08);
  transition: all 0.3s ease;
  border-top: 5px solid var(--accent-orange);
}

.pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(10, 35, 66, 0.15);
}

.pillar h3 {
  margin-top: 0;
  color: var(--primary-dark);
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 700;
}

.pillar p {
  color: var(--gray-dark);
  line-height: 1.7;
}

/* Banner do Timer */
.timer-banner {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-medium));
  padding: 25px;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.timer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
}

.timer-banner span {
  margin: 0 5px;
  font-family: 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
}

/* Agenda */
.agenda-box {
  background: var(--primary-dark);
  padding: 40px;
  color: white;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(10, 35, 66, 0.2);
}

/* Palestrantes */
.palestrantes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.palestrante-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(10, 35, 66, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 5px solid var(--accent-orange);
}

.palestrante-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 35, 66, 0.15);
}

.palestrante-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 5px solid var(--light-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.palestrante-card h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.3em;
  font-weight: 700;
}

.palestrante-card .cargo {
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.palestrante-card p {
  color: var(--gray-dark);
  font-size: 0.95em;
  line-height: 1.6;
}

/* Talks */
.talks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.talk-card {
  background: var(--light-orange);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(245, 124, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  border-left: 5px solid var(--accent-orange);
}

.talk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(245, 124, 0, 0.15);
}

.talk-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 5px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Restaurantes */
.restaurantes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.restaurante-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(10, 35, 66, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid var(--accent-yellow);
}

.restaurante-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 35, 66, 0.15);
}

.restaurante-card h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 700;
}

.tempo-carro {
  display: inline-block;
  background: var(--accent-orange);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  margin: 10px 0;
}

/* Localização */
.local-box {
  background: var(--light-blue);
  padding: 35px;
  border-radius: 15px;
  margin: 40px 0;
  border-left: 5px solid var(--primary-medium);
  box-shadow: 0 8px 25px rgba(10, 35, 66, 0.08);
}

/* Formulário */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(10, 35, 66, 0.1);
  border-top: 5px solid var(--accent-orange);
}

.form-container label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.form-container input {
  width: 100%;
  padding: 14px;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  transition: all 0.3s ease;
}

.form-container input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--primary-dark);
  color: white;
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
}

footer a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 992px) {
  .section {
    padding: 60px 20px;
  }
  
  header h1 {
    font-size: 2.3em;
  }
  
  header h2 {
    font-size: 1.5em;
  }
  
  .section h2 {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  header {
    padding: 40px 15px;
  }
  
  header h1 {
    font-size: 1.8em;
  }
  
  .section {
    padding: 50px 15px;
  }
  
  .section h2 {
    font-size: 1.8em;
  }
  
  .pillars, .palestrantes-container, .talks-container, .restaurantes-container {
    grid-template-columns: 1fr;
  }
  
  .timer-banner {
    font-size: 1.2em;
    padding: 20px;
  }
  
  .agenda-box {
    padding: 25px;
  }
  
  .form-container {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.6em;
  }
  
  .btn-cta {
    padding: 15px 25px;
    font-size: 0.9em;
  }
  
  .section h2 {
    font-size: 1.6em;
  }
  
  .palestrante-img, .talk-img {
    width: 120px;
    height: 120px;
  }
}