/* === STYLES AUTODIAGNOSTIC === */

.ra-container {
  margin: 24px auto;
  padding: 0 18px;
  color: #234;
}

.ra-top {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.ra-top-left {
  flex: 1 1 620px;
}

.ra-top-right {
  width: 500px;
  text-align: center;
  align-self: flex-start;
}

.ra-h1 {
  color: #0b6b6a;
  border-left: 4px solid #0b6b6a;
  padding-left: 12px;
  margin-bottom: 12px;
  font-size: 20px;
}

.ra-note {
  font-size: 28px;
  color: #0b6b6a;
  font-weight: 700;
  margin: 50px 0 20px 0;
}

.ra-profile-title {
  font-weight: 700;
  color: #0a5f5e;
  margin-bottom: 8px;
}

.ra-profile-text {
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
  white-space: pre-line;
  font-size: 15px;
}


/* Radar responsive */
.ra-top-right {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.ra-radar-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.ra-radar-wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Ressources */
.ra-ressources {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* espace horizontal & vertical */
    margin-top: 30px;
  }

.ra-ressources .bloc-ressource {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: #222;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}






.ra-ressources .bloc-ressource img {
  display: block;
  margin: 0 auto 15px auto;
  max-width: 100%;
  height: auto;
}

.ra-ressources .bloc-ressource h3,
.ra-ressources .bloc-ressource h4 {
  color: #0b6b6a;
  font-size: 18px;
  margin: 10px 0;
  font-weight: 700;
}

.ra-ressources .bloc-ressource strong {
  text-transform: uppercase;
  font-size: 12px;
  color: #666;
  display: block;
  margin-bottom: 4px;
}

.ra-ressources .bloc-ressource p {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.ra-ressources .bloc-ressource em {
  color: #000;
  font-style: italic;
}

.ra-ressources .bloc-ressource a {
  color: #1b7b92;
  text-decoration: underline;
  font-weight: 600;
}

.ra-ressources .bloc-ressource a:hover {
  color: #004a80;
  text-decoration: none;
}

/* Colonnes WPBakery */
.ra-ressources .vc_col-sm-4 {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}


.ra-ressources .vc_row,
.ra-ressources .wpb_wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive */
@media (max-width: 1000px) {
  .ra-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ra-cards {
    grid-template-columns: 1fr;
  }
  .ra-note {
    font-size: 22px;
  }
  .ra-h1 {
    font-size: 18px;
  }
  .ra-ressources {
    grid-template-columns: 1fr;
  }
}
