@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif !important;
}

body {
  line-height: 1.6;
  color: #1e1e1e;
  background-color: #ffffff;
}

.popup-cv {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: none;
}

.popup-cv.open {
  display: block;
}

.popup-cv .popup-cv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #05062Bdd;
}

.popup-cv .popup-cv-content {
  background: #ffffff;
  border-radius: 4px;
  border: solid 1px #ccc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 480px;
}

.popup-cv .popup-cv-content .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: solid 1px #eee;
  gap: 15px;
}

.popup-cv .popup-cv-content .header .title {
  font-size: 18px;
  flex: 1;
  font-weight: 800;
  color: #3a6676;
  font-family: "Sora";
}

.popup-cv .popup-cv-content .header .close {
  height: 20px;
  width: 20px;
  background-color: #05062B;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: .3s;
}

.popup-cv .popup-cv-content .header .close:hover {
  opacity: .7;
}

.popup-cv .popup-cv-content .header .close span {
  height: 2px;
  width: 12px;
  background: #fff;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-cv .popup-cv-content .header .close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup-cv .popup-cv-content .content-cv {
  padding: 15px;
  max-height: 60svh;
  overflow: auto;
}

.popup-cv .popup-cv-content .content-cv p {
  font-family: "Sora" !important;
  font-size: 14px;
  color: #393939;
  margin-bottom: 10px;
}

.popup-cv .popup-cv-content .content-cv p:last-child {
  margin-bottom: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  height: 564px;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background: linear-gradient(90deg, rgba(98, 0, 234, 0.7), rgba(153, 0, 255, 0.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  max-width: 180px;
  margin-bottom: 2rem;
}

.overlay h1 {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: 300;
}

.overlay h1 strong {
  font-weight: 700;
}

.intro {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.intro p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.intro strong {
  font-weight: bold;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #c678dd, #6a0dad);
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.why-section {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: flex-end;
  background: linear-gradient(264.86deg, #4F067F 10.17%, #9F4EDD 72.61%);
  margin: 120px 0;
  position: relative;
}

.why-section__image {
  position: absolute;
  left: 40px;
  top: -10%;
  height: 120%;
  max-width: 600px;
}

.why-section__image img {
  width: auto;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 88px;
}

.why-section__content {
  padding: 60px 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
}

.why-section__content h2 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #D4B6F0;
}

.why-section__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-section__content li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.why-section__content li img {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.why-section__content li .img-wrapper {
  width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 99px;
  padding: 8px;
  aspect-ratio: 1 / 1;
  margin-right: 12px;
}

.why-section__content li span {
  font-size: 16px;
  line-height: 1.4;
}

.why-section__content li strong {
  font-weight: bold;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}

.area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.area-item img {
  width: 64px;
}

.area-item p {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #7d3ce0;
}

.section-title strong {
  font-weight: 700;
  color: #9d4edd;
}

.genomica {
  background-image: url('bg-genomica.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
  margin-top: 64px;
}

.genomica h2 {
  font-weight: 600;
  font-size: 30px;
  text-align: center;
  color: #05062B;
}

.genomica p {
  font-size: 24px;
  text-align: center;
  color: #05062B;
}

.time-medico {
  margin: 40px 0
}

.time-medico h2 {
  color: #9F4EDD;
  text-align: center;
  font-weight: 300;
  font-size: 36px;
}

.time-medico h2 b {
  font-weight: 900;
}

.time-medico p {
  text-align: center;
  font-size: 24px;
  margin: 32px 0;
}

.corpo-clinico-card {
  padding: 24px 32px 16px 32px;
  min-width: 180px;
  max-width: 220px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.cv-see {
  font-weight: bold;
  color: #9F4EDD;
}

.icon-bg {
  background: #e6eaf3;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-bg img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.corpo-clinico-card .name {
  font-weight: 700;
  font-size: 1.08rem;
  color: #9F4EDD;
  margin-bottom: 4px;
  text-align: center;
}

.corpo-clinico-card .role {
  font-size: 0.98rem;
  color: #222;
  text-align: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}

.carousel-controls .slick-prev,
.carousel-controls .slick-next,
.carousel-controls .slick-dots {
  position: relative;
  transform: none;
  width: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

.carousel-controls .slick-prev:before,
.carousel-controls .slick-next::before {
  color: #05062b;
}

.carousel-controls .slick-dots {
  order: 2;
}

.carousel-controls .slick-next {
  order: 3;
}

.parceiro-section {
  background: #fff;
  padding: 56px 0 0;
  text-align: center;
}

.parceiro-section h4 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #3C0A6C;
}

.parceiro-section .bold {
  font-weight: 900;
}

.parceiro-section .form-wrapper {
  position: relative;
  background: linear-gradient(121.02deg, #D1B0EF 26.42%, #9F4EDD 93.11%);
  padding: 56px 0;
}

.parceiro-section .form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('icone-seja-nosso-parceiro.png');
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  z-index: 1;
}

.parceiro-form {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 99;
}

.parceiro-form .input-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.parceiro-form input,
.parceiro-form select,
.parceiro-form textarea {
  flex-basis: 78%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 1.01rem;
  font-family: inherit;
  background: #f6f7fa;
}

.parceiro-form label {
  text-align: left;
  flex-basis: 15%;
  color: #3C0A6C;
}

.parceiro-form .textarea-wrapper {
  display: flex;
  flex-direction: column;
}

.parceiro-form textarea {
  flex-basis: 100%;
  margin-top: 12px;
}

.parceiro-form textarea {
  min-height: 90px;
  resize: vertical;
}

.parceiro-form button {
  width: 100%;
  background: #0e1830;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 1.13rem;
  cursor: pointer;
  transition: background 0.2s;
}

.parceiro-form button:hover {
  background: #9d4edd;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .hero {
    height: auto;
  }

  .why-section {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .why-section .why-section__image {
    position: relative;
    left: auto;
    top: auto;
  }

  .why-section .why-section__content {
    width: 100%;
    padding: 0 0 60px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}