@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  max-width: 1303px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

/* HEADER */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.highlight {
  color: #B55E5B;
}

/* Sections */
.header-section, .graph-section, .carousel-section, .rcm-section, .references-section {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
}

/* Footer Styles */
.footer-section {
  margin-top: 20px;
  padding: 10px 0;
  background-color: #F9F9FA;
}

.footer-container {
  display: flex;
  align-items: center;
  padding: 0 10px;
  position: relative;
}

.footer-logo {
  flex: 0 0 110px;
}

.almirall-logo {
  width: 100%;
  max-width: 110px;
  height: auto;
  padding-left: 20px;
}

.footer-text {
  flex: 1;
  padding-left: 50px;
}

.footer-code {
  position: absolute;
  right: 10px;
  bottom: 5px;
}

.footer-code p {
  font-size: 6px;
  color: #032852;
  margin: 0;
}

.disclaimer {
  font-size: 6px;
  color: #032852;
  margin-bottom: 5px;
}

.contact-info {
  font-size: 6px;
  color: #032852;
  line-height: 1.3;
}

/* Media query para garantir que o rodapé mantenha a aparência de desktop em dispositivos móveis */
@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    min-height: 100px;
  }
  .footer-logo {
    flex: 0 0 auto;
    margin-bottom: 10px;
  }
  .almirall-logo {
    max-width: 80px;
    padding-left: 0;
  }
  .footer-text {
    padding-left: 0;
    margin-bottom: 20px;
  }
  .footer-code {
    position: absolute;
    right: 10px;
    bottom: 10px;
  }
}
.rcm-text-block {
  margin-bottom: 20px;
  padding: 20px;
  font-size: 12px;
  color: #707070;
}

/* Remove space between graph1 and graph2 */
.graph-section + .carousel-section {
  margin-top: -20px;
}

/* Set space between graph3 and quiz section to 5px */
.graph-section + .quiz-section {
  margin-top: -15px; /* 20px default - 15px = 5px space */
}

/* Remove space between graph4 and rcm section */
.graph-section + .rcm-section {
  margin-top: -20px; /* 20px default - 20px = 0px space */
}

.text-block {
  margin-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 25px;
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
  .text-block {
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* RCM Button Styles */
.rcm-button-container {
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
}

.rcm-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.rcm-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.rcm-image {
  max-width: 120px;
  height: auto;
  display: block;
}

.header-image, .graph-image, .carousel-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  width: 100%;
}

.carousel-container {
  margin-bottom: 15px;
  width: 100%;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.carousel-btn {
  padding: 8px 15px;
  background-color: transparent;
  color: #3C6636;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 30px;
}

.carousel-btn:disabled {
  background-color: transparent;
  color: #999;
  cursor: not-allowed;
  font-size: 30px;
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
  .carousel-btn {
    font-size: 18px;
    padding: 5px 10px;
  }
  .carousel-btn:disabled {
    font-size: 18px;
  }
  .carousel-controls {
    gap: 20px;
  }
}
.logo {
  height: 50px;
}

.logo-right {
  height: 40px;
}

.menu-toggle span {
  background-color: #333;
  display: block;
  height: 3px;
  margin: 4px 0;
  width: 25px;
}

/* SLIDE CONTAINER */
#slides {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

.slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.slide.active {
  display: flex;
}

.slide h1, .slide h2, .slide h3 {
  color: #142c4e;
  margin-bottom: 20px;
}

.slide p {
  max-width: 700px;
  margin-bottom: 20px;
}

.slide img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}

/* NAVIGATION BUTTONS */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
}

.nav-buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 12px;
  background-color: #3C6636;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.nav-buttons button:hover {
  background-color: #4d7f45;
}

/* QUIZ */
.quiz-slide form {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.quiz-slide label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.quiz-slide input[type=radio] {
  margin-right: 10px;
}

/* Quiz Styles */
.quiz-section {
  padding: 1.2rem 0;
  background: #e8f5e9; /* Light green background */
  border-radius: 0;
  margin: 0 auto 0px;
  width: 100%;
  text-align: center;
}

.quiz-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 70px;
  position: relative;
}

.quiz-question {
  display: none;
  margin-bottom: 1.2rem;
  position: relative;
  font-family: Arial, sans-serif;
  color: #161615;
  font-size: 25px;
}

.quiz-question.active {
  display: block;
  color: #161615;
  font-size: 25px;
}

.quiz-question h3 {
  margin-bottom: 0.6rem;
  color: #333;
  text-align: center;
  font-size: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: lighter;
}

.quiz-options {
  margin-bottom: 8px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}

.quiz-options label {
  display: block;
  margin-bottom: 0.5rem;
  background: white;
  padding: 5px 10px;
  border-radius: 0;
  font-size: 20px;
}

.quiz-options input[type=radio] {
  margin-right: 0.3rem;
}

.answer-feedback {
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  z-index: 10;
  font-size: 8px;
  color: #666;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.quiz-btn {
  padding: 6px 15px;
  background-color: #3C6636; /* Dark green button */
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

.quiz-citation {
  font-size: 12px;
  padding: 10px 30px 0px 30px;
}

.quiz-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.answer-feedback .correct-answer {
  margin-bottom: 0.3rem;
  color: #666;
  font-weight: normal;
  font-size: 12px;
}

.answer-feedback .justification {
  color: #666;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.quiz-controls {
  margin-top: 2rem;
  text-align: center;
}

.quiz-controls button {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background: #3C6636;
  color: white;
  border: none;
  border-radius: 66px;
  cursor: pointer;
}

.quiz-controls button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* FINAL THANK YOU SLIDE */
.slide:last-child {
  background-color: #f9f9f9;
  border-top: 2px solid #ccc;
}