/* Exames Pages Layout & Styling */

.exames-hero {
  background: linear-gradient(180deg, #01203F 0%, #01345C 100%);
  padding: 130px 40px 60px;
  text-align: center;
  position: relative;
}

.exames-hero .hero-badge {
  display: inline-block;
  background-color: rgba(1, 153, 164, 0.25);
  color: #00d2df;
  border: 1px solid rgba(1, 153, 164, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.exames-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.25;
}

.exames-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Page Layout */
.exames-section {
  background: #f8f9fa;
  padding: 50px 40px 90px;
}

.exames-layout {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 30px;
  align-items: start;
}

/* Sidebars (Left & Right) */
.exames-sidebar-left,
.exames-sidebar-right {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 38, 77, 0.08);
}

.sidebar-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #00264d;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0199A4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card h3 svg {
  fill: #0199A4;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topics-list li a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.25s ease;
  background-color: #f8fafc;
  border-left: 3px solid transparent;
}

.topics-list li a:hover,
.topics-list li a.active {
  background-color: #e6f7f8;
  color: #0199A4;
  border-left-color: #0199A4;
  font-weight: 600;
  padding-left: 18px;
}

/* Sidebar Exam Options List */
.sidebar-exam-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-exam-list::-webkit-scrollbar {
  width: 5px;
}

.sidebar-exam-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.sidebar-exam-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #00264d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1.35;
}

.sidebar-exam-item:hover {
  background-color: #e6f7f8;
  border-color: #0199A4;
  color: #0199A4;
  transform: translateX(4px);
}

.sidebar-exam-item svg {
  width: 14px;
  height: 14px;
  fill: #0199A4;
  flex-shrink: 0;
  margin-left: 6px;
}

/* Sidebar CTA Box */
.sidebar-cta {
  background: linear-gradient(135deg, #00264d 0%, #01345C 100%);
  color: #ffffff;
  border: none;
  text-align: center;
}

.sidebar-cta h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sidebar-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sidebar-cta .btn-cta-whatsapp {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.sidebar-cta .btn-cta-whatsapp:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Main Content Area */
.exames-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  scroll-margin-top: 110px;
  transition: transform 0.3s ease;
}

.content-block:hover {
  box-shadow: 0 12px 35px rgba(1, 153, 164, 0.08);
}

.content-block h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #00264d;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-block h2 .title-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #e6f7f8;
  color: #0199A4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-block h2 .title-icon svg {
  width: 20px;
  height: 20px;
  fill: #0199A4;
}

.content-block p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 16px;
}

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

/* Custom Highlight Box */
.info-box {
  background-color: #f0fdfa;
  border-left: 4px solid #0199A4;
  padding: 20px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
}

.info-box.warning-box {
  background-color: #fffbeb;
  border-left-color: #f59e0b;
}

.info-box.alert-box {
  background-color: #fef2f2;
  border-left-color: #ef4444;
}

.info-box p {
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 0;
}

/* Sub-items Grid / List */
.techniques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.technique-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.technique-card:hover {
  border-color: #0199A4;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(1, 153, 164, 0.1);
}

.technique-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0199A4;
  margin-bottom: 8px;
}

.technique-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.checklist-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
}

.checklist-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0199A4;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom CTA Banner */
.exames-cta-banner {
  background: linear-gradient(135deg, #0199A4 0%, #00264d 100%);
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  text-align: center;
  margin-top: 10px;
}

.exames-cta-banner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.exames-cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.exames-cta-banner .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Exam Types Grid & Cards */
.exam-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.exam-type-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.exam-type-card:hover {
  border-color: #0199A4;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 153, 164, 0.12);
  background: #f0fdfa;
}

.exam-type-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exam-type-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #e6f7f8;
  color: #0199A4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exam-type-icon svg {
  width: 20px;
  height: 20px;
  fill: #0199A4;
}

.exam-type-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #00264d;
  line-height: 1.3;
}

.exam-type-btn {
  color: #0199A4;
  background-color: #e6f7f8;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.exam-type-card:hover .exam-type-btn {
  background-color: #0199A4;
  color: #ffffff;
  transform: scale(1.1);
}

.exam-type-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive Media Queries */
@media (max-width: 1150px) {
  .exames-layout {
    grid-template-columns: 220px 1fr;
  }

  .exames-sidebar-right {
    grid-column: 1 / -1;
    position: relative;
    top: 0;
  }

  .sidebar-exam-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    max-height: none;
  }
}

@media (max-width: 992px) {
  .exames-layout {
    grid-template-columns: 1fr;
  }

  .exames-sidebar-left,
  .exames-sidebar-right {
    position: relative;
    top: 0;
  }

  .topics-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .exames-hero h1 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .exames-hero {
    padding: 110px 20px 40px;
  }

  .exames-hero h1 {
    font-size: 24px;
  }

  .exames-section {
    padding: 30px 15px 60px;
  }

  .topics-list {
    grid-template-columns: 1fr;
  }

  .content-block {
    padding: 22px;
  }

  .content-block h2 {
    font-size: 20px;
  }

  .techniques-grid {
    grid-template-columns: 1fr;
  }
}
