:root {
  --team42-violet: #4a05bd;
  /* fundo principal */
  --team42-violet-2: #3d01a6;
  /* degradê */
  --team42-ring: rgba(255, 255, 255, .24);
  --team42-cyan: #24e6de;
  /* ciano (título e pontos) */
  --team42-white: #ffffff;
  --team42-maxw: 1200px;
}

.about {
  color: #6000BC !important;
  background-image: url(../../assets/images/about_bg.png);
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-title {
  color: #6000BC;
}

.campus {
  color: #6000BC !important;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

:root {
  --roxo: #5a05bd;
  --roxo-escuro: #4a0ea8;
  --ciano: #22e4d6;
}

.world {
  background-color: #96A3EB;
  color: white;
  position: relative;
}

.world::after{
  content:"";
  position:absolute;
  left:0;
  top:-36px;
  width:49%;
  height:75px;
  background: #96A3EB;
  pointer-events:none;
}

.about .carousel-indicators {
  bottom: -45px;
}

.about .carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: gray;
}

.about .carousel-indicators button.active {
  width: 9px !important;
  height: 9px !important;
  background-color: #6000BC !important;
  transition: all ease 0.2s;
}

.campus {
  position: relative;
}

.campus .container {
  position: relative;
  z-index: 2;
}

.campus .carousel-indicators button.active {
  width: 9px !important;
  height: 9px !important;
  background-color: #6000BC;
  transition: all ease 0.2s;
}


.campus .carousel-indicators {
  bottom: -45px;
}

.campus .carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: gray;
}

.campus .carousel-indicators button.active {
  width: 9px !important;
  height: 9px !important;
  background-color: #6000BC !important;
  transition: all ease 0.2s;
}

.about-shape-1 {
  position: absolute;
  opacity: 0.27;
  background: #96A3EB;
  top: 0;
  left: 0;
  width: 80%;
  aspect-ratio: 1162 / 376;
  clip-path: polygon(100% 0%,
      /* (1162.7114, 0)          -> (100%, 0%)   */
      0% 89.74425%,
      /* (0, 337.3179)           -> 337.3179/375.8658 */
      0% 100%,
      /* (0, 375.8658)           -> (0%, 100%)   */
      100% 100%
      /* (1162.7114, 375.8658)   -> (100%, 100%) */
    );
  transform: rotate(180deg);
}

.about-shape-2 {
  position: absolute;
  opacity: 0.27;
  background: #96A3EB;
  bottom: -38px;
  right: 0;
  width: 60%;
  aspect-ratio: 1162 / 376;
  clip-path: polygon(100% 0%,
      /* (1162.7114, 0)          -> (100%, 0%)   */
      0% 89.74425%,
      /* (0, 337.3179)           -> 337.3179/375.8658 */
      0% 100%,
      /* (0, 375.8658)           -> (0%, 100%)   */
      100% 100%
      /* (1162.7114, 375.8658)   -> (100%, 100%) */
    );
}


/* ======= Equipa 42 Luanda — CSS completo da secção ======= */
:root{
  --team42-violet:#6000BC;          /* fundo principal */
  --team42-violet-2:#6000BC;        /* degradê */
  --team42-ring: rgba(255,255,255,.24);
  --team42-cyan:#24e6de;            /* ciano (título e pontos) */
  --team42-white:#ffffff;
  --team42-maxw: 1200px;
}

/* --- layout da secção --- */
.team42-section{
  background: linear-gradient(135deg, var(--team42-violet) 0%, var(--team42-violet-2) 60%, var(--team42-violet) 100%);
  padding: clamp(28px,5vw,64px) 0;
  position: relative;
}

.team42-section::after{
  content:"";
  position:absolute;
  left:0;
  top:-36px;
  width:49%;
  height:75px;
  background: #6000BC;
  pointer-events:none;
  z-index: 3;
}

.team42-wrap{
  max-width: var(--team42-maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* texto | órbita */
  gap: clamp(24px, 6vw, 60px);
}

/* --- bloco de texto (fica acima dos anéis que “vazam”) --- */
.team42-left{ position: relative; z-index: 2; }
.team42-underline{
  width: 64px; height: 6px; border-radius: 6px;
  background: var(--team42-cyan);
  margin: 0 0 16px;
}
.team42-title{
  margin: 0 0 16px;
  font-size: clamp(28px,5vw,56px);
  font-weight: 900;
  color: var(--team42-cyan);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.05;
}
.team42-text{
  max-width: 56ch;
  line-height: 1.6;
  color: #f6f3ff;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}

/* --- legenda dos planetas --- */
.team42-legend {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--team42-cyan);
  border-radius: 8px;
  padding: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9f9f9f;
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.4;
}

.legend-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--team42-cyan);
  border-radius: 50%;
  font-weight: bold;
  font-size: clamp(10px, 1.2vw, 12px);
  color: white;
  text-align: center;
  padding: 0 4px;
  flex-shrink: 0;
  height: 35px;
  width: 35px;
}

/* --- órbita (anéis que excedem a div) --- */
.team42-orbit{
  position: relative;
  justify-self: end;
  width: min(56vw, 640px);
  aspect-ratio: 1/1;          /* mantém círculo */
  border-radius: 50%;
  overflow: visible;           /* permite “vazar” para fora */
  isolation: isolate;          /* contexto para z-index */
  z-index: 1;
  /* controlos finos dos anéis */
  --ring-thick: 2px;

  /* 1º anel bem afastado */
  --r1: 25%;

  /* salto maior do 1º para o 2º e saltos menores depois */
  --gap1: 7%;
  --gap:  7%;

  /* raios seguintes calculados */
  --r2: calc(var(--r1) + var(--gap1));
  --r3: calc(var(--r2) + var(--gap));
  --r4: calc(var(--r3) + var(--gap));
  --r5: calc(var(--r4) + var(--gap));
  --r6: calc(var(--r5) + var(--gap));
  --r7: calc(var(--r6) + var(--gap));
  --r8: calc(var(--r7) + var(--gap));
  --r9: calc(var(--r8) + var(--gap));
}

/* anéis maiores que a caixa da órbita (excedem lateralmente) */
.team42-orbit::before{
  content:"";
  position:absolute;
  width: 160%;                 /* 140–200% para vazar mais/menos */
  height: 160%;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;

  /* anéis com espaçamentos variáveis */
  background:
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r1),
      var(--team42-ring) var(--r1) calc(var(--r1) + var(--ring-thick)),
      transparent calc(var(--r1) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r2),
      var(--team42-ring) var(--r2) calc(var(--r2) + var(--ring-thick)),
      transparent calc(var(--r2) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r3),
      var(--team42-ring) var(--r3) calc(var(--r3) + var(--ring-thick)),
      transparent calc(var(--r3) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r4),
      var(--team42-ring) var(--r4) calc(var(--r4) + var(--ring-thick)),
      transparent calc(var(--r4) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r5),
      var(--team42-ring) var(--r5) calc(var(--r5) + var(--ring-thick)),
      transparent calc(var(--r5) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r6),
      var(--team42-ring) var(--r6) calc(var(--r6) + var(--ring-thick)),
      transparent calc(var(--r6) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r7),
      var(--team42-ring) var(--r7) calc(var(--r7) + var(--ring-thick)),
      transparent calc(var(--r7) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r8),
      var(--team42-ring) var(--r8) calc(var(--r8) + var(--ring-thick)),
      transparent calc(var(--r8) + var(--ring-thick))),
    radial-gradient(circle at 50% 50%,
      transparent 0 var(--r9),
      var(--team42-ring) var(--r9) calc(var(--r9) + var(--ring-thick)),
      transparent calc(var(--r9) + var(--ring-thick)));
  opacity: .9;
}

/* logótipo/texto central (substitua por SVG se quiser) */
.team42-center{
  position:absolute; inset:0;
  display:grid; place-items:center; text-align:center;
  z-index: 2; pointer-events:none;
}
.team42-center .num{
  font-weight: 900;
  font-size: clamp(64px, 11vw, 120px);
  letter-spacing: 2px;
  color: var(--team42-white);
  line-height: .9;
}
.team42-center .sub{
  margin-top: 6px;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: .22em;
  color: var(--team42-white);
}

/* pontos turquesa (também podem "vazar" por overflow:visible) */
.team42-dot{
  --d: clamp(28px, 5vw, 58px);
  position:absolute;
  width: var(--d); height: var(--d);
  background: var(--team42-cyan);
  border-radius: 50%;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 18px);
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.team42-dot:hover {
  transform: scale(1.1);
  background: #1ad4cc;
}

.team42-p6::before {
  display: none;
}
/* Estilo para tooltips personalizados */
.team42-dot[title] {
  /* position: relative; removido para não interferir com posicionamento absoluto */
}

.team42-dot[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: normal;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  opacity: 1;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.team42-dot[title]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  pointer-events: none;
  opacity: 1;
  margin-bottom: 2px;
}

/* posições de exemplo – ajuste como preferir */
.team42-p1{ top: 9%; left: 20%; }
.team42-p2{ top: 18%; left: 45%; }
.team42-p3{ bottom: 15%; left: 26%; }
.team42-p4{ bottom: 30%; right: 3%; }   /* negativo para passar da borda */
.team42-p5{ top: 10%; right: -3%; }     /* negativo para vazar à direita */
.team42-p6{ top: 45%; left: -6%; } 

/* etiqueta opcional */
.team42-tag{
  position:absolute;
  top: 18%;
  left: 64%;
  transform: translate(-50%,-140%);
  font-size: clamp(11px,1.8vw,14px);
  line-height:1.1;
  z-index: 2;
}

/* --- responsivo --- */
@media (max-width: 960px){
  .team42-wrap{ grid-template-columns: 1fr; }
  .team42-orbit{ justify-self:center; width: min(86vw, 520px); }
  .team42-text{ max-width: none; }
}


.about-symbol-white {
    position: absolute;
    top: 84px;
    left: -21px;
    z-index: 1;
}

.about-symbol-cyan {
  position: absolute;
  bottom: 0;
  left: -50px;
  z-index: 1;;
}

.icons {
  position: relative;
  z-index: 1;
}

.about-symbol-purple {
  position: absolute;
  top: -200px;
  right: 0;
}

.about-symbol-white2 {
    position: absolute;
    top: -184px;
    right: 13px;
}

p {
  text-align: justify;
}

.leaflet-container img {
  max-width: none !important;
}

.leaflet-tile-pane {
  image-rendering: auto;
}
