/* Layout */
.cve-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* Sommaire sticky */
.cve-toc {
  flex: 0 0 250px;
  position: sticky;
  top: 100px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.cve-toc .toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cve-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.cve-toc li a {
  display: block;
  padding: .5rem .75rem;
  font-size: .9rem;
  color: var(--text);
  opacity: .75;
  border-left: 3px solid var(--line);
  transition: all .25s ease;
  text-decoration: none;
}

.cve-toc li a:hover {
  opacity: 1;
  color: #fff;
  border-left-color: var(--brand);
}

/* État actif */
.cve-toc li a.active {
  opacity: 1;
  font-weight: 600;
  color: #fff;
  border-left-color: var(--brand);
  background: rgba(0,226,166,.08);
  border-radius: 0 6px 6px 0;
}

/* Contenu */
.cve-content {
  flex: 1;
  min-width: 0;
}

.cve-content section {
  margin-bottom: 4rem;
}

.cve-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.cve-list li {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  transition: all 0.25s ease;
}

.cve-list li:hover {
  background: rgba(0, 226, 166, 0.08);
  border-color: var(--brand);
  transform: translateX(4px);
}

.cve-list .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--brand);
  color: #05332a;
  font-weight: 700;
  font-size: 0.9rem;
}

cve-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cve-links a {
  color: var(--text);
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.cve-links a:hover {
  opacity: 1;
  border-bottom-color: var(--brand);
  color: #fff;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 23, 34, 0.7);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}

.doc-icon svg {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.doc-card:hover svg {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.8));
}

.doc-icon {
  font-size: 2rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.doc-info p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}




.last-update {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  opacity: 0.8;
}

.last-update i {
  font-size: 1rem;
  color: var(--brand);
}
.cve-hero {
  position: relative;
  width: 100%;
  height: 400px; /* hauteur de la bannière */
  background: linear-gradient(135deg, var(--bg) 0%, #0f1926 40%, var(--brand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cve-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* voile pour contraste */
}

.cve-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text);
  padding: 0 1rem;
}

.cve-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--brand), #2ee1b5);

  margin-bottom: 1rem;
}

.cve-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
}


.interest-box {
  text-align: center;
  margin-top: 2rem;
}

#interestBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 220px; /* pour éviter tout shift de largeur */
}

/* Texte */
#interestBtn .btn-text {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Loader hors flux par défaut */
#interestBtn .loader {
  position: absolute;
  right: 12px; /* petit décalage pour qu’il apparaisse à droite */
  width: 16px;
  height: 16px;
  border: 2px solid rgba(11, 11, 11, 0.611);
  border-top-color: black;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Désactivé */
#interestBtn:disabled {
  background: #444 !important;
  color: #aaa !important;
  cursor: not-allowed;
  box-shadow: none;
}



/* Section intérêt */
.section.interest {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,226,166,.05), rgba(0,226,166,.01));
}

.btn-interest {
  position: relative;
  background: linear-gradient(180deg,var(--brand),#2ee1b5);
  color: #05332a;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 220px; /* évite les shifts de largeur */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  overflow: hidden;
}

/* Texte animé */
.btn-interest .btn-text {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Loader */
.btn-interest .loader {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Désactivé */
.btn-interest:disabled {
  background: #444 !important;
  color: #aaa !important;
  cursor: not-allowed;
  box-shadow: none;
}


.cloud-security {
  background: linear-gradient(135deg, #0a0f1f, #142a52);
  color: #e0e6ff;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 18px 28px;
  border-left: 4px solid #00bcd4;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.15);
  max-width: 750px;
  margin: 25px auto;
  text-align: left;
  transition: all 0.4s ease;
}

.cloud-security:hover {
  background: linear-gradient(135deg, #101a33, #1e3a6b);
  border-left-color: #2196f3;
  box-shadow: 0 0 25px rgba(33, 150, 243, 0.25);
  transform: scale(1.02);
}






/* Hero + titres */
.cve-hero {
  height: clamp(220px, 40vh, 360px);
}
.cve-title {
  font-size: clamp(1.4rem, 5.5vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.cve-subtitle {
  font-size: clamp(.95rem, 3.6vw, 1.1rem);
}

/* Layout : passe en 1 colonne */
@media (max-width: 992px){
  .cve-layout { display:block; }
  .cve-content { width:100%; }
  .cve-content section { margin-bottom: 2.5rem; }
}

/* TOC : sticky desktop / accordion mobile */
.cve-toc { 
  flex: 0 0 250px; 
}
@media (max-width: 992px){
  .cve-toc{
    position: relative;
    top: 0;
    margin-bottom: 1.25rem;
    padding: .8rem 1rem;
    border-radius: 12px;
  }
  .cve-toc nav ul { padding-block: .25rem; }
}

/* <details> Sommaire (mobile) */
.toc-collapsible{
  display:none;
}
@media (max-width: 992px){
  .toc-collapsible{
    display:block;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  .toc-collapsible > summary{
    list-style: none;
    cursor: pointer;
    padding: .9rem 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
    display:flex; align-items:center; justify-content:space-between;
  }
  .toc-collapsible > summary::after{
    content: "▾";
    opacity:.65;
    transition: transform .25s ease;
  }
  .toc-collapsible[open] > summary::after{
    transform: rotate(180deg);
  }
  .cve-toc .toc-title{ display:none; } /* on cache le H4 desktop */
  .cve-toc nav ul{
    margin: 0;
    padding: .25rem .5rem .8rem;
    gap: .2rem;
  }
  .cve-toc li a{
    padding: .6rem .7rem;
    border-left-width: 2px;
    font-size: .95rem;
  }
}

/* Tap targets + confort mobile */
@media (max-width: 768px){
  .cve-list{
    gap:.75rem;
    margin: 1.25rem 0;
  }
  .cve-list li{
    padding: .75rem .9rem;
    font-size: .95rem;
  }
  .doc-card{
    gap: .9rem;
    padding: .9rem 1rem;
  }
  .doc-info h3{ font-size: .98rem; }
  .doc-info p{ font-size: .82rem; }
  .docs-grid{ grid-template-columns: 1fr; }
  .btn-interest{ width:100%; min-width: 0; }
  .cloud-security{ margin: 20px 0; padding: 14px 16px; font-size: .95rem; }
  .last-update{ font-size:.82rem; }
}

/* Effets : on réduit les animations intrusives en mobile */
@media (hover:none){
  .cve-list li:hover{ transform:none; background: rgba(255,255,255,.03); border-color: var(--line);}
  .doc-card:hover{ transform:none; }
}

/* Liens utiles : corrige la classe manquante et wrap */
.cve-links{
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

/* Sommaire actif : lisible sur mobile */
.cve-toc li a.active{
  background: rgba(0,226,166,.10);
}

/* Intérêt section spacing */
.section.interest{ padding: 40px 0; }

/* Badges état */
.status-badge.subtle{ font-size: .82rem; }

/* Fix nav sticky state (si header recouvre) */
html{ scroll-padding-top: 80px; } /* ajuste à la hauteur de ton header */
@media (max-width: 576px){
  html{ scroll-padding-top: 70px; }
}

/* Boutons (CTA) full-width si souhaité sur tel */
@media (max-width: 576px){
  .btn.btn--lg{ width:100%; }
}


/* MOBILE QUICK FIX (CSS only) */
@media (max-width: 992px){
  .cve-layout{ display:block; }
  .cve-toc{
    position: relative; top:0; margin-bottom: 1rem;
    padding: .9rem 1rem; border-radius: 12px; background: rgba(255,255,255,.03);
  }
  .cve-toc .toc-title{
    margin:0 0 .6rem; font-size:.9rem; opacity:.8; letter-spacing:.06em;
  }
  .cve-toc ul{ display:grid; grid-template-columns: 1fr 1fr; gap:.25rem .5rem; }
  .cve-toc li a{ padding:.5rem .6rem; font-size:.9rem; border-left-width:2px; }
  .docs-grid{ grid-template-columns:1fr; }
  .btn-interest{ width:100%; min-width:0; }
  .cloud-security{ margin: 20px 0; padding: 14px 16px; font-size:.95rem; }
  html{ scroll-padding-top: 80px; }
}
@media (max-width:576px){
  .cve-toc ul{ grid-template-columns: 1fr; }
  .cve-hero{ height: clamp(220px, 42vh, 340px); }
  .cve-title{ font-size: clamp(1.4rem, 6vw, 2rem); }
  .cve-subtitle{ font-size: clamp(.95rem, 3.6vw, 1.05rem); }
  .btn.btn--lg{ width:100%; }
}

/* --- FIX Sommaire desktop --- */
.toc-collapsible{ display:block; }                  /* visible partout */
@media (min-width: 993px){
  .toc-collapsible > summary{ display:none; }       /* on cache le bouton sur desktop */
  .cve-toc nav ul{ display:flex; flex-direction:column; gap:.4rem; } /* colonne */
}

/* Titre section : aligne proprement le badge */
.section-title {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 40px; /* si tu veux garder ta marge */
}

/* Badge PACE — version sobre */
.pace-tag {
  margin-top: 10px;
  --pace-color: #7a5bff;
  color: var(--pace-color);
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .18rem .48rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: .8em;          /* plus discret que le h4 */
  font-weight: 600;
  line-height: 1;
  opacity: .9;              /* sobriété */
}

/* Icône : trait renforcé + léger halo pour la lisibilité */
.pace-tag .icon-pace {
  width: 1.2em; height: 1.2em;
  stroke: currentColor;           /* renforce visuellement */
  stroke-width: 2.25;             /* plus lisible que 2 */
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.2px color-mix(in oklab, var(--pace-color) 45%, white 10%));
  translate: 0 .5px;              /* align typographique */
}

/* Texte du badge */
.pace-tag .pace-text { letter-spacing: .02em; }

/* Hover subtil (optionnel) */
.pace-tag:hover { opacity: 1; }

/* Variante “ghost” ultra sobre (si tu veux encore plus fin) */
.pace-tag.is-ghost {
  border-color: color-mix(in oklab, currentColor 60%, #888 40%);
  opacity: .8;
}



/* Cohérence visuelle rapide — à fusionner avec ta CSS page CVE */
.cve-section { margin-top: 48px; }
.section-title { margin-bottom: 12px; letter-spacing: .2px; }
.section-intro, .section-outro { color: #cfd3da; line-height: 1.6; }


.pill-badge.ve-badge {
  display: inline-block; margin: 8px 0 14px; padding: 4px 10px;
  border-radius: 999px; font-size: 12px; letter-spacing: .3px;
  color: #0ff; background: rgba(0,255,255,.08); border: 1px solid rgba(0,255,255,.35);
}
.badge-pace {
  display: inline-block; padding: 2px 8px; font-size: 11px; border-radius: 999px;
  color: #b78cff; background: rgba(183,140,255,.12); border: 1px solid rgba(183,140,255,.3);
}

button {
  text-align: center !important;
}


/* === PACE BLOCK === */
.pace-block {
  margin-top: 60px;
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(87,40,204,0.12), rgba(30,30,40,0.6));
  border: 1px solid rgba(145,221,251,0.25);
  box-shadow: 0 0 40px rgba(87,40,204,0.15);
}

/* Header */
.pace-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

/* SVG */
.pace-icon {
  width: 120px;
  min-width: 120px;
  filter: drop-shadow(0 0 18px rgba(145,221,251,0.35));
}

#svg-global {
  width: 100%;
  height: auto;
  zoom: 1;
}

/* Titre */
.pace-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pace-title .section-title {
  margin: 0;
  font-size: 1.4rem;
}

.pace-title .idx {
  color: #aaa;
  margin-right: 6px;
}

/* Badge */
.pace-badge {
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  border-radius: 20px;
  background: rgba(145,221,251,0.15);
  color: #91ddfb;
  border: 1px solid rgba(145,221,251,0.4);
}

/* Contenu */
.pace-content p,
.pace-content ul {
  margin-bottom: 16px;
}

.pace-content strong {
  color: #cbbcff;
}

/* From Uiverse.io by Juanes200122 */ 
#svg-global {
  zoom: 1.2;
  overflow: visible;
}

@keyframes fade-particles {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-40px);
    opacity: 0;
  }
}

#particles {
  animation: fade-particles 5s infinite alternate;
}
.particle {
  animation: floatUp linear infinite;
}

.p1 {
  animation-duration: 2.2s;
  animation-delay: 0s;
}
.p2 {
  animation-duration: 2.5s;
  animation-delay: 0.3s;
}
.p3 {
  animation-duration: 2s;
  animation-delay: 0.6s;
}
.p4 {
  animation-duration: 2.8s;
  animation-delay: 0.2s;
}
.p5 {
  animation-duration: 2.3s;
  animation-delay: 0.4s;
}
.p6 {
  animation-duration: 3s;
  animation-delay: 0.1s;
}
.p7 {
  animation-duration: 2.1s;
  animation-delay: 0.5s;
}
.p8 {
  animation-duration: 2.6s;
  animation-delay: 0.2s;
}
.p9 {
  animation-duration: 2.4s;
  animation-delay: 0.3s;
}

@keyframes bounce-lines {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

#line-v1,
#line-v2,
#node-server,
#panel-rigth,
#reflectores,
#particles {
  animation: bounce-lines 3s ease-in-out infinite alternate;
}
#line-v2 {
  animation-delay: 0.2s;
}

#node-server,
#panel-rigth,
#reflectores,
#particles {
  animation-delay: 0.4s;
}


.pace-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.pace-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145,221,251,0.18);
}

.pace-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(180deg, #91ddfb, #5728cc);
  box-shadow: 0 0 10px rgba(145,221,251,0.25);
}

.pace-point strong {
  color: #d7ccff;
}

.horizon-text {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.8);
}

.horizon-subtitle {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.horizon-subtitle .idx {
  color: #9a9a9a;
  margin-right: 6px;
}

.horizon-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.horizon-list li {
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.horizon-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,0.35);
}

.cve-horizon {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.horizon-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.horizon-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.horizon-content p,
.horizon-content ul {
  margin-bottom: 14px;
}

.horizon-content h4,
.horizon-content h5 {
  margin-top: 28px;
}

.horizon-warning {
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}


/* === ICE (Indice de Cohérence Électronique) – style sobre cohérent page CVE === */

.ice {
  margin-top: 40px;
}

.ice-subtitle {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Échelle ICE */
.ice-scale {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.ice-grade {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;

  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;

  background: transparent;
}

.ice-letter {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;

  border: 1px solid var(--line);
}

.ice-label {
  font-weight: 700;
  margin-bottom: 4px;
}

.ice-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Couleurs lettres (dans l’ADN TURBOPROG) */
.ice-a .ice-letter {
  color: #00ffb3;
  box-shadow: 0 0 0 3px rgba(0, 255, 179, 0.08);
  border-color: rgba(0, 255, 179, 0.35);
}

.ice-b .ice-letter {
  color: #3f9bff;
  box-shadow: 0 0 0 3px rgba(63, 155, 255, 0.08);
  border-color: rgba(63, 155, 255, 0.35);
}

.ice-c .ice-letter {
  color: #ffe066;
  box-shadow: 0 0 0 3px rgba(255, 224, 102, 0.08);
  border-color: rgba(255, 224, 102, 0.35);
}

.ice-d .ice-letter {
  color: #ff9f43;
  box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.08);
  border-color: rgba(255, 159, 67, 0.35);
}

.ice-e .ice-letter {
  color: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.10);
  border-color: rgba(255, 77, 77, 0.40);
}

/* Responsive */
@media (max-width: 520px) {
  .ice-grade {
    grid-template-columns: 46px 1fr;
    padding: 12px;
  }
  .ice-letter {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}
/* ===================================
   BADGES ET SECTIONS CAPA
   =================================== */

/* Badge dans la liste des services */
.capa-badge-list {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(0, 226, 166, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 226, 166, 0.2);
  margin-left: 0.4rem;
}

/* Badge dans le titre de section */
.capa-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(0, 226, 166, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 226, 166, 0.25);
  margin-left: 0.5rem;
}

/* Box d'introduction CAPA */
.capa-intro-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
  background: rgba(0, 226, 166, 0.05);
  border: 1px solid rgba(0, 226, 166, 0.2);
  border-radius: 12px;
  border-left: 4px solid var(--brand);
}

.capa-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 226, 166, 0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

.capa-intro-icon i {
  font-size: 1.5rem;
  color: var(--brand);
}

.capa-intro-text {
  flex: 1;
}

.capa-intro-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.capa-intro-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .capa-intro-box {
    flex-direction: column;
    text-align: center;
  }
  
  .capa-intro-icon {
    margin: 0 auto;
  }
}

/* ===================================
   BOXES ADDITIONNELLES CAPA
   =================================== */

/* Box de mise en avant (highlight) */
.capa-highlight-box {
  padding: 1.25rem;
  margin: 1.5rem 0;
  background: rgba(94, 167, 255, 0.05);
  border: 1px solid rgba(94, 167, 255, 0.2);
  border-radius: 12px;
  border-left: 4px solid #5ea7ff;
}

.capa-highlight-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.capa-highlight-header i {
  font-size: 1rem;
  color: #5ea7ff;
}

.capa-highlight-box p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

/* Sous-titre CAPA */
.capa-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 1rem 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--brand);
}

/* Liste cohérence avec style personnalisé */
.capa-coherence-list li .icon {
  color: black;
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Box de conclusion CAPA */
.capa-conclusion-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(0, 226, 166, 0.08) 0%, rgba(0, 226, 166, 0.03) 100%);
  border: 1px solid rgba(0, 226, 166, 0.25);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 226, 166, 0.1);
}

.capa-conclusion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(0, 226, 166, 0.15);
  border-radius: 12px;
  flex-shrink: 0;
}

.capa-conclusion-icon i {
  font-size: 1.75rem;
  color: var(--brand);
}

.capa-conclusion-text {
  flex: 1;
}

.capa-conclusion-text p {
  margin: 0 0 1rem 0;
  color: var(--text);
  line-height: 1.6;
}

.capa-final-note {
  padding: 1rem;
  background: rgba(0, 226, 166, 0.08);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.cve-list .capa-coherence-list .icon {
  color: black !important;
}

/* Responsive pour les nouvelles boxes */
@media (max-width: 768px) {
  .capa-conclusion-box {
    flex-direction: column;
  }
  
  .capa-conclusion-icon {
    margin: 0 auto;
  }
  
  .capa-conclusion-text {
    text-align: center;
  }
  
  .capa-final-note {
    text-align: left;
  }
}