.ccm-shell,
.ccm-shell * {
    box-sizing: border-box;
}

.ccm-shell {
    --ccm-size: 560px;
    --ccm-bg: #06101f;
    --ccm-letter: #0b1730;
    --ccm-panel-bg: #fff;
    --ccm-panel-text: #0b1730;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: clamp(18px, 3vw, 44px);
    border-radius: 26px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    isolation: isolate;
}

.ccm-theme-transparent {
    padding-inline: 0;
    background: transparent;
}

.ccm-theme-dark {
    overflow: hidden;
    background: var(--ccm-bg);
    background:
        radial-gradient(circle at 50% 37%, rgba(18, 93, 182, 0.23), transparent 45%),
        linear-gradient(145deg, var(--ccm-bg), #020814);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.ccm-theme-light {
    overflow: hidden;
    color: #10213d;
    background:
        radial-gradient(circle at 50% 37%, rgba(25, 116, 210, 0.12), transparent 45%),
        linear-gradient(145deg, #fff, #eef4fb);
    box-shadow: 0 22px 60px rgba(20, 61, 105, 0.12);
}

.ccm-theme-dark::before,
.ccm-theme-light::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.23;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.ccm-editor-notice {
    width: min(960px, 100%);
    margin: 0 auto 18px;
    padding: 10px 14px;
    border-left: 4px solid #dba617;
    border-radius: 6px;
    background: #fff8dc;
    color: #4f3d00;
    font-size: 14px;
}

.ccm-desktop-nav,
.ccm-mobile-nav {
    width: 100%;
}

.ccm-mobile-nav {
    display: none;
}

.ccm-stacked-brand {
    display: flex;
    justify-content: center;
    margin: 0 auto clamp(18px, 3vw, 36px);
}

.ccm-brand-logo {
    display: block;
    width: min(760px, 88vw);
    height: auto;
}

.ccm-brand-text {
    color: var(--ccm-letter);
    font: 900 clamp(54px, 11vw, 140px) / 0.9 Arial, Helvetica, sans-serif;
    letter-spacing: -0.065em;
}

.ccm-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.ccm-mode-integrated .ccm-lockup {
    gap: clamp(6px, 1vw, 18px);
}

.ccm-wordmark {
    flex: 0 0 auto;
    color: var(--ccm-letter);
    font-family: Arial Black, Arial, Helvetica, sans-serif;
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.08em;
    text-shadow: 0 3px 2px rgba(255, 255, 255, 0.03), 0 14px 26px rgba(0, 0, 0, 0.16);
    user-select: none;
}

.ccm-wordmark-c {
    font-size: clamp(76px, 10.2vw, 166px);
}

.ccm-wordmark-rest {
    font-size: clamp(64px, 8.8vw, 145px);
}

.ccm-theme-dark .ccm-wordmark,
.ccm-theme-dark .ccm-brand-text {
    color: var(--ccm-letter);
}

.ccm-theme-light .ccm-wordmark,
.ccm-theme-light .ccm-brand-text {
    text-shadow: none;
}

.ccm-ring-wrap {
    position: relative;
    flex: 0 1 auto;
    width: min(var(--ccm-size), 58vw);
    min-width: 280px;
    aspect-ratio: 1;
}

.ccm-mode-stacked .ccm-ring-wrap,
.ccm-mode-wheel-only .ccm-ring-wrap {
    width: min(var(--ccm-size), 92vw);
}

.ccm-ring-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ccm-segment {
    outline: none;
    text-decoration: none !important;
    transform: none !important;
}

/* Certains thèmes appliquent un déplacement global aux liens survolés. Un lien
 * SVG ne doit jamais hériter de ce comportement. */
.ccm-segment:hover,
.ccm-segment:focus,
.ccm-segment:focus-visible,
.ccm-segment:active {
    text-decoration: none !important;
    transform: none !important;
}

.ccm-segment-path {
    cursor: pointer;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.ccm-segment:hover .ccm-segment-path,
.ccm-segment:focus .ccm-segment-path,
.ccm-segment.is-active .ccm-segment-path,
.ccm-segment.is-current .ccm-segment-path {
    transform: scale(1.045);
    filter: brightness(1.1) saturate(1.08) drop-shadow(0 0 12px rgba(255, 255, 255, 0.24));
}

.ccm-segment:focus-visible .ccm-segment-path {
    stroke: #fff;
    stroke-width: 6;
}

.ccm-segments:hover .ccm-segment:not(:hover):not(.is-active) .ccm-segment-path {
    opacity: 0.76;
}

.ccm-segment.is-placeholder .ccm-segment-path,
.ccm-external-link.is-placeholder {
    cursor: not-allowed;
    filter: grayscale(0.35);
    opacity: 0.68;
}

.ccm-labels {
    color: #fff;
    pointer-events: none;
}

.ccm-segment-label {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.62);
    transition: opacity 220ms ease;
}

/*
 * Depuis la version 3.1, les enfants du libellé possèdent leurs coordonnées
 * SVG absolues. Le groupe intérieur peut donc être animé sans dépendre d'une
 * translation sur le groupe extérieur et sans risque de retour au point 0,0.
 */
.ccm-segment-label-inner {
    transform-box: view-box;
    transform-origin: var(--ccm-label-origin-x, 300px) var(--ccm-label-origin-y, 300px);
    transform: scale(1);
    transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}

.ccm-segment-label.is-active .ccm-segment-label-inner {
    transform: scale(1.045);
    filter: brightness(1.08);
}

.ccm-label-icon {
    color: currentColor;
    overflow: visible;
}

.ccm-label-number {
    fill: currentColor;
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

.ccm-label-title {
    fill: currentColor;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.ccm-label-plus {
    fill: currentColor;
    font-size: 18px;
    font-weight: 800;
    opacity: 0.78;
}

.ccm-center {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.08), transparent 33%),
        rgba(2, 12, 28, 0.92);
    box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.46), 0 0 38px rgba(0, 0, 0, 0.34);
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.ccm-theme-light .ccm-center,
.ccm-theme-transparent .ccm-center {
    border-color: rgba(11, 23, 48, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: #10213d;
    box-shadow: inset 0 0 26px rgba(24, 80, 145, 0.07), 0 10px 30px rgba(23, 58, 94, 0.16);
}

.ccm-center-kicker {
    margin-bottom: 4px;
    font-size: clamp(8px, 1vw, 12px);
    font-weight: 700;
    letter-spacing: 0.25em;
    opacity: 0.56;
}

.ccm-center-title {
    display: block;
    max-width: 84%;
    overflow: hidden;
    font-size: clamp(14px, 2vw, 27px);
    line-height: 1.05;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ccm-center-help {
    display: block;
    max-width: 80%;
    margin-top: 7px;
    overflow: hidden;
    font-size: clamp(8px, 0.95vw, 12px);
    opacity: 0.62;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ccm-external-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.2vw, 28px);
    width: min(980px, 100%);
    margin: clamp(18px, 3vw, 38px) auto 0;
}

.ccm-external-link {
    --ccm-accent: #00aef0;
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    align-items: center;
    min-height: 96px;
    padding: 15px 20px;
    overflow: hidden;
    border: 1px solid rgba(110, 133, 173, 0.34);
    border-radius: 999px;
    background: rgba(4, 18, 40, 0.82);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    color: #fff;
    text-decoration: none !important;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.ccm-theme-light .ccm-external-link,
.ccm-theme-transparent .ccm-external-link {
    border-color: rgba(13, 45, 91, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(19, 57, 101, 0.12);
    color: #10213d;
}

.ccm-external-link::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--ccm-accent);
}

.ccm-external-link:hover,
.ccm-external-link:focus-visible,
.ccm-external-link.is-active,
.ccm-external-link.is-current {
    transform: translateY(-3px);
    border-color: var(--ccm-accent);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22), 0 0 0 2px var(--ccm-accent);
}

.ccm-external-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ccm-accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.ccm-external-icon svg {
    width: 25px;
    height: 25px;
}

.ccm-external-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ccm-external-number {
    font-size: 13px;
    opacity: 0.62;
}

.ccm-external-copy strong {
    overflow: hidden;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.15;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ccm-external-copy small {
    margin-top: 3px;
    font-size: 12px;
    opacity: 0.65;
}

.ccm-external-arrow {
    font-size: 38px;
    font-weight: 200;
    line-height: 1;
    opacity: 0.72;
}

.ccm-panels {
    width: min(980px, 100%);
    margin: clamp(16px, 2.5vw, 30px) auto 0;
    color: var(--ccm-panel-text);
}

.ccm-panels.is-empty {
    display: none;
}

.ccm-panel-content {
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid rgba(12, 46, 92, 0.12);
    border-radius: 22px;
    background: var(--ccm-panel-bg);
    box-shadow: 0 18px 44px rgba(14, 49, 91, 0.13);
    animation: ccmPanelIn 200ms ease both;
}

.ccm-panel-content[hidden] {
    display: none !important;
}

.ccm-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(12, 46, 92, 0.1);
}

.ccm-panel-kicker {
    display: block;
    margin-bottom: 4px;
    color: #5b6f8f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ccm-panel-heading h3 {
    margin: 0;
    color: inherit;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.05;
}

.ccm-panel-heading p {
    max-width: 650px;
    margin: 8px 0 0;
    color: inherit;
    line-height: 1.55;
    opacity: 0.76;
}

.ccm-panel-primary {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid rgba(12, 46, 92, 0.16);
    border-radius: 999px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.ccm-panel-primary:hover,
.ccm-panel-primary:focus-visible {
    border-color: currentColor;
}

.ccm-panel-list,
.ccm-panel-sublist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ccm-panel-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 18px;
}

.ccm-panel-item > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(12, 46, 92, 0.1);
    border-radius: 14px;
    background: rgba(238, 244, 251, 0.54);
    color: inherit;
    text-decoration: none !important;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ccm-panel-item > a:hover,
.ccm-panel-item > a:focus-visible,
.ccm-panel-item > a[aria-current="page"] {
    transform: translateY(-2px);
    border-color: rgba(12, 46, 92, 0.34);
    background: rgba(228, 239, 251, 0.88);
}

.ccm-panel-link-title {
    font-weight: 800;
}

.ccm-panel-link-description {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.68;
}

.ccm-panel-sublist {
    margin-top: 6px;
    padding-left: 14px;
    border-left: 2px solid rgba(12, 46, 92, 0.12);
}

.ccm-panel-sublist .ccm-panel-item > a {
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
}

.ccm-mobile-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 10px 14px;
    border: 1px solid rgba(12, 46, 92, 0.14);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(13, 48, 90, 0.12);
    color: #10213d;
    cursor: pointer;
}

.ccm-theme-dark .ccm-mobile-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(3, 16, 36, 0.94);
    color: #fff;
}

.ccm-mobile-brand {
    display: flex;
    min-width: 0;
}

.ccm-mobile-brand img {
    display: block;
    width: min(190px, 48vw);
    height: auto;
}

.ccm-mobile-brand strong {
    font-size: 28px;
    letter-spacing: -0.05em;
}

.ccm-mobile-toggle-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.ccm-mobile-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ccm-mobile-burger i {
    display: block;
    width: 27px;
    height: 3px;
    border-radius: 4px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.ccm-mobile-toggle[aria-expanded="true"] .ccm-mobile-burger i:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.ccm-mobile-toggle[aria-expanded="true"] .ccm-mobile-burger i:nth-child(2) {
    opacity: 0;
}

.ccm-mobile-toggle[aria-expanded="true"] .ccm-mobile-burger i:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.ccm-mobile-panel {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(12, 46, 92, 0.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 48, 90, 0.13);
    color: #10213d;
}

.ccm-theme-dark .ccm-mobile-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: #07152a;
    color: #fff;
}

.ccm-mobile-panel[hidden] {
    display: none !important;
}

.ccm-mobile-list,
.ccm-mobile-submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ccm-mobile-item + .ccm-mobile-item {
    border-top: 1px solid rgba(12, 46, 92, 0.09);
}

.ccm-theme-dark .ccm-mobile-item + .ccm-mobile-item {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.ccm-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
}

.ccm-mobile-row > a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 9px 10px;
    color: inherit;
    text-decoration: none !important;
}

.ccm-mobile-row > a:hover,
.ccm-mobile-row > a:focus-visible,
.ccm-mobile-row > a[aria-current="page"] {
    background: rgba(232, 241, 251, 0.75);
}

.ccm-theme-dark .ccm-mobile-row > a:hover,
.ccm-theme-dark .ccm-mobile-row > a:focus-visible,
.ccm-theme-dark .ccm-mobile-row > a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
}

.ccm-mobile-index {
    --ccm-mobile-accent: #00b8f0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ccm-mobile-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.ccm-mobile-index svg {
    width: 21px;
    height: 21px;
}

.ccm-mobile-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ccm-mobile-copy strong {
    font-size: 15px;
}

.ccm-mobile-copy small {
    margin-top: 2px;
    overflow: hidden;
    font-size: 11px;
    opacity: 0.64;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ccm-mobile-subtoggle {
    display: grid;
    place-items: center;
    min-width: 46px;
    border: 0;
    border-left: 1px solid rgba(12, 46, 92, 0.09);
    background: transparent;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
}

.ccm-theme-dark .ccm-mobile-subtoggle {
    border-left-color: rgba(255, 255, 255, 0.08);
}

.ccm-mobile-subtoggle:hover,
.ccm-mobile-subtoggle:focus-visible {
    background: rgba(232, 241, 251, 0.75);
}

.ccm-theme-dark .ccm-mobile-subtoggle:hover,
.ccm-theme-dark .ccm-mobile-subtoggle:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

.ccm-mobile-submenu {
    margin: 0 8px 8px 44px;
    padding-left: 10px;
    border-left: 2px solid rgba(12, 46, 92, 0.12);
}

.ccm-theme-dark .ccm-mobile-submenu {
    border-left-color: rgba(255, 255, 255, 0.12);
}

.ccm-mobile-submenu[hidden] {
    display: none !important;
}

.ccm-mobile-submenu .ccm-mobile-row > a {
    grid-template-columns: 1fr;
    min-height: 44px;
    padding-block: 7px;
    font-size: 13px;
}

.ccm-no-animation *,
.ccm-no-animation *::before,
.ccm-no-animation *::after {
    animation: none !important;
    transition: none !important;
}

@keyframes ccmPanelIn {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ccm-shell.is-mobile {
    padding: 8px 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ccm-shell.is-mobile::before {
    display: none;
}

.ccm-shell.is-mobile .ccm-desktop-nav {
    display: none;
}

.ccm-shell.is-mobile .ccm-mobile-nav {
    display: block;
}

@media (max-width: 1100px) {
    .ccm-mode-integrated .ccm-wordmark-c {
        font-size: clamp(70px, 9vw, 120px);
    }

    .ccm-mode-integrated .ccm-wordmark-rest {
        font-size: clamp(58px, 7.8vw, 106px);
    }

    .ccm-mode-integrated .ccm-ring-wrap {
        width: min(var(--ccm-size), 54vw);
    }
}

@media (max-width: 820px) {
    .ccm-shell:not([data-ccm-ready]) .ccm-desktop-nav {
        display: none;
    }

    .ccm-shell:not([data-ccm-ready]) .ccm-mobile-nav {
        display: block;
    }
}

@media (max-width: 760px) {
    .ccm-panel-list {
        grid-template-columns: 1fr 1fr;
    }

    .ccm-panel-heading {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .ccm-panel-list,
    .ccm-external-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ccm-shell *,
    .ccm-shell *::before,
    .ccm-shell *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
