.cdg-page-builder-page {
    --cdg-page-primary: var(--cdg-bleu-principal, #002c73);
    --cdg-page-secondary: var(--cdg-bleu-secondaire, #0094aa);
    --cdg-page-accent: var(--cdg-turquoise, #00adbd);
    --cdg-page-text: var(--cdg-gris-texte, #2c343e);
    --cdg-page-soft: var(--cdg-fond-clair, #f7fcfd);
    --cdg-page-card-radius: var(--cdg-ui-card-radius, 26px);
    --cdg-page-gap: var(--cdg-ui-gap, 18px);
    --cdg-page-shadow-opacity: var(--cdg-ui-shadow-opacity, .10);
}

.cdg-page-hero,
.cdg-page-card,
.cdg-page-cta,
.cdg-page-button-wrap,
.cdg-page-button-group,
.cdg-page-video,
.cdg-page-module,
.cdg-page-shortcode,
.cdg-page-code {
    box-sizing: border-box;
}

.cdg-page-hero {
    width: 100%;
    padding: clamp(34px, 6vw, 72px);
    border: 1px solid rgba(0, 148, 170, 0.18);
    border-radius: clamp(22px, 3vw, 34px);
    background:
        radial-gradient(circle at top left, rgba(0, 173, 189, 0.14), transparent 38%),
        linear-gradient(135deg, #f7fcfd 0%, #ffffff 54%, #eef8fa 100%);
    box-shadow: 0 22px 55px rgba(1, 16, 49, 0.10);
}

.cdg-page-hero--center { text-align: center; }
.cdg-page-hero--right { text-align: right; }
.cdg-page-hero__kicker {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 7px 15px;
    border: 1px solid rgba(0, 173, 189, 0.22);
    border-radius: 999px;
    color: #0094aa;
    background: #eef8fa;
    font-size: 13px;
    font-weight: 800;
}
.cdg-page-hero h1,
.cdg-page-hero h2 {
    max-width: 980px;
    margin: 0;
    color: #002c73;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.cdg-page-hero--center h1,
.cdg-page-hero--center h2,
.cdg-page-hero--center .cdg-page-hero__text { margin-right: auto; margin-left: auto; }
.cdg-page-hero--right h1,
.cdg-page-hero--right h2,
.cdg-page-hero--right .cdg-page-hero__text { margin-left: auto; }
.cdg-page-hero__text {
    max-width: 850px;
    margin-top: 20px;
    color: #2c343e;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}
.cdg-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.cdg-page-actions--center { justify-content: center; }
.cdg-page-actions--right { justify-content: flex-end; }
.cdg-page-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease;
}
.cdg-page-action:hover { transform: translateY(-2px); }
.cdg-page-action--primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cdg-page-primary, #002c73), var(--cdg-page-secondary, #0094aa));
    box-shadow: 0 14px 30px rgba(0, 44, 115, .22);
}
.cdg-page-action--secondary {
    border: 1px solid color-mix(in srgb, var(--cdg-page-primary, #002c73) 22%, transparent);
    color: var(--cdg-page-primary, #002c73) !important;
    background: #fff;
}
.cdg-page-action--link {
    color: var(--cdg-page-primary, #002c73) !important;
    background: transparent;
}

.cdg-page-card {
    height: 100%;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(0, 148, 170, 0.16);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(1, 16, 49, 0.08);
}
.cdg-page-card--soft { background: #f7fcfd; }
.cdg-page-card--accent { color: #fff; background: linear-gradient(135deg, var(--cdg-page-primary, #002c73), var(--cdg-page-secondary, #0094aa)); }
.cdg-page-card__icon { display: block; margin-bottom: 14px; font-size: 30px; line-height: 1; }
.cdg-page-card__eyebrow { margin: 0 0 8px; color: #0094aa; font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.cdg-page-card h2,
.cdg-page-card h3 { margin: 0 0 12px; color: #002c73; font-size: clamp(22px, 3vw, 29px); line-height: 1.2; }
.cdg-page-card--accent h2,
.cdg-page-card--accent h3,
.cdg-page-card--accent .cdg-page-card__eyebrow { color: #fff; }
.cdg-page-card__content { line-height: 1.65; }
.cdg-page-card__link { display: inline-flex; margin-top: 18px; color: inherit; font-weight: 850; }

.cdg-page-cta {
    padding: clamp(28px, 5vw, 52px);
    border-radius: 30px;
    text-align: center;
}
.cdg-page-cta--soft { border: 1px solid rgba(0, 148, 170, .18); background: #eef8fa; }
.cdg-page-cta--navy { color: #fff; background: linear-gradient(135deg, #002c73, #006f91); }
.cdg-page-cta--white { border: 1px solid rgba(0, 148, 170, .16); background: #fff; box-shadow: 0 18px 44px rgba(1, 16, 49, .08); }
.cdg-page-cta h2 { margin: 0; color: #002c73; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.cdg-page-cta--navy h2 { color: #fff; }
.cdg-page-cta__content { max-width: 820px; margin: 16px auto 0; line-height: 1.7; }

.cdg-page-button-wrap { display: flex; margin: 20px 0; }
.cdg-page-button-wrap--center { justify-content: center; }
.cdg-page-button-wrap--right { justify-content: flex-end; }
.cdg-page-button-group { display: flex; flex-wrap: wrap; gap: var(--cdg-page-gap, 12px); }
.cdg-page-button-group--center { justify-content: center; }
.cdg-page-button-group--right { justify-content: flex-end; }

.cdg-page-video { width: 100%; }
.cdg-page-video__frame { position: relative; width: 100%; overflow: hidden; border-radius: 22px; background: #001126; box-shadow: 0 16px 38px rgba(1, 16, 49, .12); aspect-ratio: 16 / 9; }
.cdg-page-video__frame iframe,
.cdg-page-video__frame video { width: 100%; height: 100%; border: 0; object-fit: cover; }
.cdg-page-video figcaption { margin-top: 10px; color: #536273; text-align: center; font-size: 13px; }

.cdg-page-module,
.cdg-page-shortcode,
.cdg-page-code { width: 100%; }

@media (max-width: 640px) {
    .cdg-page-actions,
    .cdg-page-button-group { flex-direction: column; }
    .cdg-page-action { width: 100%; }
}
