 body {
     font-family: 'Segoe UI', sans-serif;
     margin: 0;
     padding: 0; 
     /* Paleta focada em Aconchego e Tradição */
     background: linear-gradient(to bottom,
             #F4F1DE 10%,
             /* Creme Quente */
             #E27D60 35%,
             /* Terracota Suave */
             #8D5B4C 65%,
             /* Marrom Amadeirado */
             #8E8D62 90%
             /* Verde Oliva */
         );
     background-size: 100% 300%;
     animation: gradientFlow 15s ease infinite;
     color: #2d3436;
 }

 @keyframes gradientFlow {

     0%,
     100% {
         background-position: top;
     }

     50% {
         background-position: center;
     }
 }

 .container {
     max-width: 960px;
     margin: auto;
     padding: 2rem;
     background: rgba(255, 255, 255, 0.95);
     border-radius: 12px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 }

 h1 {
     text-align: center;
     color:  #F4F1DE 10%;
     margin-bottom: 2rem;
 }

 .accordion {
     margin-bottom: 1rem;
     border-radius: 6px;
     overflow: hidden;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
 }

 .accordion-header {
     background: #E27D60 35%;
     color: white;
     padding: 1rem;
     cursor: pointer;
     font-weight: bold;
     transition: background 0.3s ease;
     justify-self: center;
 }

 .accordion-header:hover {
     background: #8D5B4C 65%;
 }

 .accordion-content {
     max-height: 0;
     overflow: hidden;
     background: #f7f9fc;
     transition: max-height 0.4s ease-out;
     /* Alterado para ease-out para melhor efeito */
     padding: 0 1rem;
 }

 .accordion.active .accordion-content {
     max-height: 90%;
     padding: 1rem;
 }

 .card {
     background: #ffffff;
     margin-bottom: 1rem;
     padding: 1rem;
     border-left: 4px solid  #8D5B4C;
     border-radius: 6px;
 }

 .card h3 {
     margin-top: 0;
     color: #636e72;
 }

 .card ul {
     padding-left: 1rem;
 }

 input[type="checkbox"] {
     margin-right: 6px;
     accent-color: #E27D60;
 }

 .dashboard {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 1rem;
     margin-top: 1rem;
 }

 .dashboard .card {
     background: #ffeaa7;
     border-left-color: #d35400;
 }

 .imagem {
     text-align: center;
     margin-top: 20px;
 }

 .imagem>.logica {
     max-width: 100%;
     height: auto;
 }

 /* === NOVOS ESTILOS PARA O MODAL (ADAPTADOS AO SEU DESIGN) === */

 .open-modal-btn {
     background: #ecf0f1;
     color: #E27D60;
     border: 1px solid #E27D60;
     border-radius: 20px;
     padding: 5px 12px;
     cursor: pointer;
     font-weight: bold;
     margin-top: 10px;
     display: inline-block;
     transition: background-color 0.3s ease, color 0.3s ease;
 }

 .open-modal-btn:hover {
     background-color: #E27D60;
     color: white;
 }

 .modal {
     display: none;
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(45, 52, 54, 0.7);
     /* Cor do seu texto principal com transparência */
 }

 .modal-content {
     background: rgba(255, 255, 255, 0.98);
     margin: 15% auto;
     padding: 25px;
     border-top: 5px solid #E27D60;
     /* Destaque com sua cor primária */
     width: 80%;
     max-width: 500px;
     border-radius: 12px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
     position: relative;
     animation: fadeIn 0.3s;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(-20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .close-btn {
     color: #636e72;
     position: absolute;
     top: 10px;
     right: 20px;
     font-size: 28px;
     font-weight: bold;
 }

 .close-btn:hover,
 .close-btn:focus {
     color: #e74c3c;
     text-decoration: none;
     cursor: pointer;
 }

 .modal-header h3 {
     color: #E27D60;
     margin-top: 0;
 }

 .modal-body p {
     font-size: 1.1em;
     line-height: 1.6;
 }

 .open-modal-btn {
     background: #ecf0f1;
     color: #E27D60;
     border: 1px solid #74b9ff;
     border-radius: 20px;
     padding: 5px 12px;
     cursor: pointer;
     font-weight: bold;
     margin-top: 10px;
     display: inline-block;
     transition: background-color 0.3s ease, color 0.3s ease;
 }

 .open-modal-btn:hover {
     background-color: #E27D60;
     color: white;
 }

 .modal {
     display: none;
     /* Fica oculto por padrão */
     position: fixed;
     /* Fixo na tela */
     z-index: 1000;
     /* Fica na frente de tudo */
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(45, 52, 54, 0.7);
     /* Fundo escuro */
 }

 .modal-content {
     background: rgba(255, 255, 255, 0.98);
     margin: 15% auto;
     padding: 25px;
     border-top: 5px solid #E27D60;
     /* Destaque com sua cor primária */
     width: 80%;
     max-width: 500px;
     border-radius: 12px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
     position: relative;
     animation: fadeIn 0.3s;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(-20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .close-btn {
     color: #636e72;
     position: absolute;
     top: 10px;
     right: 20px;
     font-size: 28px;
     font-weight: bold;
     cursor: pointer;
 }

 .close-btn:hover,
 .close-btn:focus {
     color: #e74c3c;
     text-decoration: none;
 }

 .modal-header h3 {
     color: #E27D60;
     margin-top: 0;
 }

 .modal-body p {
     font-size: 1.1em;
     line-height: 1.6;
 }

 .navegacao {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-bottom: 20px;
 }

 button {
     padding: 10px 20px;
     font-size: 16px;
     cursor: pointer;
     background: #4a90e2;
     color: white;
     border: none;
     border-radius: 5px;
 }

 iframe {
     width: 100%;
     height: 1200px;
     border: none;
     border-radius: 8px;
 }

 #conteudo {
     transition: opacity 0.3s ease-in-out;
 }

 .fade-out {
     opacity: 0;
 }

 .fade-in {
     opacity: 1;
 }

 .carrossel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.carrossel-imagens {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrossel-imagens img {
  width: 100%;
  flex-shrink: 0;
}

.carrossel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 1;
  font-size: 18px;
  border-radius: 50%;
}

.carrossel .prev {
  left: 10px;
}

.carrossel .next {
  right: 10px;
}

.carrossel-wrapper.hidden {
  display: none;
}

.carrossel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.carrossel-imagens {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrossel-imagens img {
  width: 100%;
  flex-shrink: 0;
}

.carrossel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  font-size: 18px;
  border-radius: 50%;
}

.carrossel .prev {
  left: 10px;
}

.carrossel .next {
  right: 10px;
}
