/* --- ESTILO GERAL DA PÁGINA DEVOLUÇÃO --- */

body {
  background-color: #f9f9f9;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho */
header {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo1 {
  height: 50px;
  width: auto;
}

/* Botão Voltar (Navbar) */
.button {
  background-color: #F58220;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #e07010;
}

/* --- CONTEÚDO PRINCIPAL --- */
main.devolucao {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Títulos */
#devolucao-info h2, #processo-entrega h2 {
  color: #F58220;
  font-size: 23px;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
  font-weight: 800;
  padding-top: 30px;
}

#devolucao-info h2:first-of-type {
  margin-top: 0;
}

#devolucao-info p {
  font-size: 16px;
  color: #555;
  text-align: justify;
  margin-bottom: 20px;
}

/* --- BOTÃO DE SOLICITAÇÃO (CTA) --- */
.devolucao-button {
  display: inline-block;
  background-color: #F58220;
  color: white;
  padding: 15px 30px;
  border-radius: 50px; /* Borda bem redonda */
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(245, 130, 32, 0.3); /* Sombra laranja suave */
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.devolucao-button:hover {
  background-color: white;
  color: #F58220;
  border-color: #F58220;
  transform: translateY(-3px); /* Leve subida ao passar o mouse */
}

/* --- TIMELINE (LINHA DO TEMPO) - DESKTOP --- */

#processo-entrega {
  margin-top: 60px;
  padding-bottom: 20px;
}

.timeline-container-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  margin-top: 40px;
}

/* Passos */
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.timeline-step.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Ícone */
.icon-circle {
  width: 60px;
  height: 60px;
  background-color: white;
  border: 3px solid #F58220;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #F58220;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-step.animate .icon-circle {
  background-color: #F58220;
  color: white;
  transform: scale(1.1);
}

.timeline-step p {
  font-size: 14px;
  font-weight: bold;
  color: #555;
  margin: 0;
  line-height: 1.2;
}

/* Linhas */
.timeline-line {
  flex-grow: 1;
  height: 4px;
  background-color: #eee;
  margin: 0 -15px;
  margin-bottom: 25px;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-in-out;
}

.timeline-line.animate {
  transform: scaleX(1);
  background-color: #F58220;
}


/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
  
  /* Correção da Navbar no Mobile */
  .navbar {
    width: 100% !important;
    max-width: 100% !important;
  }

  main.devolucao {
    width: 95%;
    padding: 30px 20px;
    margin: 20px auto;
  }

  #devolucao-info p {
    text-align: left; /* Leitura mais fácil */
  }
  
  /* Botão ocupa a largura total no mobile para facilitar o toque */
  .devolucao-button {
    width: 100%;
    font-size: 16px;
    padding: 15px 10px;
  }

  /* TIMELINE VERTICAL */
  .timeline-container-horizontal {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
    margin-left: 80px;
  }

  .timeline-step {
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-bottom: 0;
    text-align: left;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 0;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .timeline-step p {
    font-size: 16px;
  }

  .timeline-line {
    width: 4px !important;
    height: 40px !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    margin-left: 23px !important; /* Centraliza com o ícone */
    transform: scaleY(0); 
    transform-origin: top;
  }

  .timeline-line.animate {
    transform: scaleY(1);
  }
  
  .logo1 {
    height: 40px;
  }
}

@media (min-width: 769px) {

    /* Destrava a largura da barra apenas no computador */
    .navbar {
        width: 100% !important;
        /* Ocupa toda a tela */
        max-width: 100% !important;
        /* Remove o limite de 1200px/800px */
    }
}