:root{
    /* Fonts (tu peux garder celles de Consulo) */
    --font-body--family: "Inter", sans-serif;
    --font-heading--family: "Poppins", sans-serif;

    /* Palette Help Courtage */
    --hc-primary: #7a5aa6;          /* violet principal (à affiner) */
    --hc-primary-dark: #5c3f87;
    --hc-text: #1c2539;
    --hc-muted: #5d666f;
    --hc-bg: #ffffff;

    /* Mapping Consulo -> Help Courtage */
    --color-background: rgba(255,255,255,1);
    --color-foreground: rgba(28,37,57,1);
    --color-foreground-heading: rgba(28,37,57,1);
    --color-foreground-subheading: rgba(93,102,111,1);

    --color-primary: var(--hc-primary);
    --color-primary-background: var(--hc-primary);
    --color-primary-hover: var(--hc-primary-dark);
    --color-primary-background-hover: var(--hc-primary-dark);

    /* Bouton principal */
    --color-primary-button-text: rgba(255,255,255,1);
    --color-primary-button-background: var(--hc-primary);
    --color-primary-button-border: var(--hc-primary);

    --color-primary-button-hover-text: rgba(255,255,255,1);
    --color-primary-button-hover-background: var(--hc-primary-dark);
    --color-primary-button-hover-border: var(--hc-primary-dark);

    /* Liens / bordures (optionnel) */
    --color-border-hover: rgba(122,90,166,0.35);
}
/* Compatibility Bootstrap-like buttons (si besoin) */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    height: var(--style-button-height);
    padding: 0 22px;
    border-radius: var(--style-border-radius-buttons-primary);
    border: var(--style-border-width-buttons-primary) solid var(--color-primary-button-border);
    font-family: var(--font-button--family);
    font-weight: var(--font-button--weight);
    text-decoration:none;
}
.btn-primary{
    color: var(--color-primary-button-text);
    background: var(--color-primary-button-background);
}
.btn-primary:hover{
    color: var(--color-primary-button-hover-text);
    background: var(--color-primary-button-hover-background);
    border-color: var(--color-primary-button-hover-border);
}
.btn-outline-primary{
    color: var(--color-secondary-button-text);
    background: var(--color-secondary-button-background);
    border-color: var(--color-secondary-button-border);
}
.btn-outline-primary:hover{
    color: var(--color-secondary-button-hover-text);
    background: var(--color-secondary-button-hover-background);
    border-color: var(--color-secondary-button-hover-border);
}
/* Sticky header: évite le "jump" et garde une hauteur stable */
sticky-header{
    display:block;
}

/* Ajuste si tu vois un saut au scroll */
.header-2.header-floating{
    will-change: transform;
}

/* CTA header */
.header-cta{
    white-space: nowrap;
}

/* Sur petites largeurs, évite que le CTA casse la grille */
@media (max-width: 991.98px){
    .header-cta{ display:none; }
}

/* ===== Header menu (fix affichage en liste à puces) ===== */
.header-2 .header-nav__list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 26px;
}

/* Liens du menu */
.header-2 .header-nav__list > li > a{
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    line-height: 1;
}

/* Hover / actif (optionnel) */
.header-2 .header-nav__list > li > a:hover{
    color: var(--color-primary);
}

/* Mobile: le menu horizontal ne doit pas s’afficher dans le drawer (on le gère séparément) */
@media (max-width: 991.98px){
    .header-2 .header-nav__list{
        display: none;
    }
}
/* Hero overlay lisibilité */
.hero-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
            90deg,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.55) 35%,
            rgba(0,0,0,0.25) 65%,
            rgba(0,0,0,0.05) 100%
    );
    z-index:1;
}

.hero-banner .container,
.hero-banner .row{
    position:relative;
    z-index:2;
}
.hero-banner .banner-badge svg{
    animation: hcSlowRotate 32s cubic-bezier(0.4, 0.0, 0.2, 1) infinite !important;
}

@keyframes hcSlowRotate{
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* Rotation plus lente + premium (override final) */
.hero-banner .banner-badge .infinite-rotate,
.choose-rotating-logo .infinite-rotate{
    animation: hcSlowRotate 28s linear infinite !important;
    transform-origin: 50% 50%;
    will-change: transform;
}

@keyframes hcSlowRotate{
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.hero-banner .banner-badge{
    animation: hcFloat 6.5s ease-in-out infinite;
}

@keyframes hcFloat{
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
}

/* Hero: forcer le texte en blanc */
.hero-banner .section-headings .subheading,
.hero-banner .section-headings .heading,
.hero-banner .section-headings .text{
    color: #fff !important;
}

/* Si tu as un span décoré qui repasse sombre */
.hero-banner .section-headings .decorated-text,
.hero-banner .section-headings .decorated-text span{
    color: #fff !important;
}
.hero-banner{
    position: relative;
}

.hero-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
            90deg,
            rgba(0,0,0,0.62) 0%,
            rgba(0,0,0,0.52) 38%,
            rgba(0,0,0,0.18) 70%,
            rgba(0,0,0,0.00) 100%
    );
    z-index:1;
    pointer-events:none;
}

/* Remet le contenu au-dessus de l’overlay */
.hero-banner .container,
.hero-banner .row{
    position: relative;
    z-index: 2;
}
.w-100{ width:100%; }
:root{
    --hc-primary: #7f5da8;      /* violet Help Courtage */
    --hc-primary-2: #6b4c9c;    /* optionnel */
}

.hc-subheading{
    color: var(--hc-primary);
}

.image-text .hc-lead{
    opacity: .95;
}

/* Icônes des 2 items : on passe en violet, plus premium */
.image-text .hc-icon{
    color: var(--hc-primary);
}

/* Bouton outline (si le template ne l’a pas déjà) */
.button--outline{
    background: transparent;
    border: 1px solid var(--hc-primary);
    color: var(--hc-primary);
}
.button--outline:hover{
    background: var(--hc-primary);
    color: #fff;
    border-color: var(--hc-primary);
}
.choose-rotating-logo{
    position: relative;
    width: 140px;
    height: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1C2539; /* couleur du texte circulaire */
}

.choose-rotating-logo .infinite-rotate{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 12s linear infinite;
    transform-origin: 50% 50%;
}

.choose-rotating-logo .exp-center{
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #20282D; /* disque central */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    z-index: 2;
}

.choose-rotating-logo .exp-number{
    font-size: 48px;
    font-weight: 800;
    display: block;
}

.choose-rotating-logo .exp-label{
    font-size: 10px;
    font-weight: 600;
    opacity: .95;
    display: block;
    margin-top: 4px;
}

@keyframes spin{
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* CTA Join */
.hc-cta-join{
    padding: 80px 0;
    background: #ffffff;
}

.hc-cta-join__content{
    max-width: 720px;
}

.hc-pill{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid #fff;
    border-radius: 999px;
    color: #1C2539;
    font-size: 30px;
    font-weight: 600;
    background: rgba(127,93,168,.06);
}

.hc-pill__dot{
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #7f5da8;
}

.hc-title{
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: #1C2539;
    font-weight: 800;
}

.hc-text{
    color: rgba(28,37,57,.78);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 18px 0;
}

.hc-list{
    margin: 0;
    padding-left: 18px;
    color: rgba(28,37,57,.85);
}

.hc-list li{
    margin: 8px 0;
}

.hc-btn-primary{
    background: #7f5da8;
    border-color: #7f5da8;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.hc-btn-primary:hover{
    background: #6f4f96;
    border-color: #6f4f96;
}

.hc-btn-outline{
    border-color: rgba(127,93,168,.35);
    color: #7f5da8;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.hc-btn-outline:hover{
    background: rgba(127,93,168,.08);
    border-color: rgba(127,93,168,.45);
    color: #7f5da8;
}

.hc-btn-icon{
    margin-left: 10px;
    display: inline-block;
    transform: translateY(-1px);
}

.hc-cta-join__note{
    font-size: 14px;
    color: rgba(28,37,57,.65);
}

.hc-cta-join__note a{
    color: #7f5da8;
    font-weight: 700;
    text-decoration: none;
}

.hc-cta-join__note a:hover{
    text-decoration: underline;
}

.hc-cta-join__visual{
    border-radius: 18px;
    overflow: hidden;
    background: rgba(127,93,168,.06);
    border: 1px solid rgba(127,93,168,.18);
    padding: 18px;
    box-shadow: 0 18px 50px rgba(20, 26, 40, .08);
}
/* Video player */
.hc-video{
    position: relative;
    padding: 0;
}

.hc-video__cover{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    padding: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.hc-video__cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hc-video__play{
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(127,93,168,.92);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 18px 50px rgba(20,26,40,.18);
    transform: translateY(0);
    transition: transform .15s ease, filter .15s ease;
}

.hc-video__cover:hover .hc-video__play{
    transform: translateY(-2px);
    filter: brightness(1.02);
}

.hc-video iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 18px;
    display: block;
}
.hc-about-network {
    background: #f4f5f7;
}

.hc-about-network__media {
    overflow: hidden;
}

.hc-about-network__media img {
    border-radius: 18px;
}

.hc-about-network__content .hc-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.hc-about-network__content .hc-text {
    color: #5a6474;
    margin-bottom: 20px;
}

.hc-about-network__content .hc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.hc-about-network__content .hc-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.hc-about-network__content .hc-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #7f5da8;
    font-weight: bold;
}
.card-project::before{
    background: linear-gradient(180deg, rgba(127,93,168,0.00) 0%, rgba(127,93,168,0.35) 55%, rgba(0,0,0,0.55) 100%);
}
.hc-stats {
    background: #f5f6f9;
}

.hc-stat-card {
    padding: 30px 15px;
}

.hc-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #7f5da8; /* violet Assuriva */
    line-height: 1;
}

.hc-stat-label {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

/* Sécurité : footer toujours au-dessus et jamais “coupé” */
.hc-footer {
    position: relative;
    z-index: 5;
}

/* Si un bloc avant a un overflow hidden, ça évite les effets de coupe visuelle */
.hc-footer .footer-main {
    position: relative;
    z-index: 1;
}

/* Au cas où un container parent aurait une hauteur fixe (rare mais fatal) */
body, html {
    height: auto;
}

/* Optionnel : si ton background image ne charge pas, tu gardes un rendu propre */
.hc-footer .footer-main {
    background-color: #121826; /* bleu nuit proche des thèmes assuriva */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
a.hero-phone-call {
    color: #ffffff !important;
}
.hc-final-cta {
    background: linear-gradient(135deg, #7f5da8 0%, #5e3b87 100%);
    position: relative;
    overflow: hidden;
}

.hc-final-cta__inner {
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
}

.hc-final-cta__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hc-final-cta__text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hc-btn-light {
    background: #ffffff;
    color: #7f5da8;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
}

.hc-btn-light:hover {
    background: #f2f2f2;
}

.hc-btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
}

.hc-btn-outline-light:hover {
    background: #ffffff;
    color: #7f5da8;
}
.swal-scroll {
    max-height: 60vh;
    overflow-y: auto;
    text-align: left;
}

.swal-scroll h3 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #7f5da8;
}

.swal-scroll p,
.swal-scroll li {
    font-size: 14px;
    line-height: 1.6;
}
.footer-gap{
    height: 30px;
    background: #fff !important;
    display: block;
    width: 100%;
}

.footer-area,
footer{
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}
/* 1) L’overlay décoratif ne doit pas bloquer les clics */
.overlay::before,
.overlay::after {
    pointer-events: none !important;
}

/* 2) Assure que le contenu est au-dessus si l’overlay a un z-index */
.cta-box {
    position: relative;
}

.cta-box > * {
    position: relative;
    z-index: 2;
}

/* 3) Le bouton doit toujours être cliquable */
.cta-box a.button {
    pointer-events: auto !important;
    cursor: pointer;
}
.contact-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}