:root{
    --hv2-navy:#0A2A5E;
    --hv2-logo-dark:#003670;
    --hv2-logo-light:#0095DB;
    --hv2-orange:#FF6A1A;
    --hv2-orange-hover:#E85D10;
    --hv2-ink:#0E1726;
    --hv2-muted:#5B6472;
    --hv2-border:#E5E7EB;
    --hv2-soft:#F7F9FB;
}
.hv2-header,.hv2-header *{box-sizing:border-box}
.hv2-header{position:fixed;top:0;left:0;right:0;z-index:99990;padding:14px 18px 0;font-family:Inter,Arial,sans-serif;color:var(--hv2-ink)}
.hv2-shell{max-width:1240px;margin:0 auto}
.hv2-nav{position:relative;height:68px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border:1px solid rgba(229,231,235,.9);border-radius:16px;box-shadow:0 10px 40px -12px rgba(10,42,94,.18)}
.hv2-logo{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.hv2-logo img{height:36px;width:auto;max-width:220px;display:block}
.hv2-menu{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
.hv2-menu>li{margin:0;padding:0}
.hv2-link,.hv2-trigger{appearance:none;border:0;background:none;font:inherit;color:var(--hv2-ink);font-size:14px;font-weight:600;text-decoration:none;padding:11px 13px;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;transition:color .2s ease,background .2s ease}
.hv2-link:hover,.hv2-link:focus,.hv2-trigger:hover,.hv2-trigger:focus{color:var(--hv2-logo-dark);background:linear-gradient(110deg,rgba(0,54,112,.05),rgba(0,149,219,.10));outline:none}
.hv2-item-mega{position:static}
.hv2-mega{position:absolute;left:0;right:0;top:calc(100% - 4px);padding-top:14px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(9px) scale(.995);transform-origin:50% 0;transition:opacity .22s ease,transform .26s cubic-bezier(.16,1,.3,1),visibility .22s ease}
.hv2-mega::before{content:"";position:absolute;left:0;right:0;top:0;height:18px}
.hv2-item-mega.is-open>.hv2-mega,.hv2-item-mega:focus-within>.hv2-mega{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.hv2-item-mega.is-open>.hv2-trigger{color:var(--hv2-logo-dark);background:linear-gradient(110deg,rgba(0,54,112,.05),rgba(0,149,219,.10))}
.hv2-mega-box{background:#fff;border:1px solid rgba(229,231,235,.95);border-radius:16px;box-shadow:0 24px 60px -20px rgba(10,42,94,.24);padding:28px;display:grid;grid-template-columns:minmax(0,9fr) minmax(230px,3fr);gap:28px}
.hv2-mega-title{font-size:12px;letter-spacing:.18em;font-weight:800;color:var(--hv2-logo-dark);margin:0 0 20px}
.hv2-candidate-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px}
.hv2-col-title{font-size:11px;letter-spacing:.14em;font-weight:800;color:#8A93A0;border-bottom:1px solid #EEF0F2;padding-bottom:9px;margin:0 0 12px}
.hv2-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.hv2-list a{font-size:13.5px;line-height:1.35;color:var(--hv2-muted);text-decoration:none;transition:color .2s ease}
.hv2-list a:hover,.hv2-list a:focus{color:var(--hv2-logo-dark);outline:none}
.hv2-cta-card{border-radius:13px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;min-height:180px;background:linear-gradient(125deg,rgba(0,54,112,.055),rgba(0,149,219,.13));border:1px solid rgba(0,149,219,.14)}
.hv2-eyebrow{font-size:11px;letter-spacing:.17em;font-weight:800;color:var(--hv2-orange);margin:0 0 9px}
.hv2-cta-card p{font-size:13.5px;line-height:1.55;color:var(--hv2-muted);margin:0}
.hv2-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:18px;padding:11px 16px;border-radius:10px;background:var(--hv2-orange);color:#fff!important;text-decoration:none;font-size:13px;font-weight:800;transition:background .2s ease,transform .2s ease}
.hv2-btn:hover,.hv2-btn:focus{background:var(--hv2-orange-hover);transform:translateY(-1px);outline:none}
.hv2-enterprise-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.hv2-enterprise-card{display:block;border:1px solid var(--hv2-border);border-radius:13px;padding:20px;text-decoration:none;background:#fff;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.hv2-enterprise-card:hover,.hv2-enterprise-card:focus{border-color:rgba(0,149,219,.35);background:linear-gradient(120deg,rgba(0,54,112,.025),rgba(0,149,219,.07));transform:translateY(-2px);outline:none}
.hv2-card-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:7px}
.hv2-card-title{font-size:16px;font-weight:800;color:var(--hv2-navy)}
.hv2-badge{font-size:10px;font-weight:800;color:var(--hv2-orange);background:rgba(255,106,26,.10);padding:4px 8px;border-radius:999px}
.hv2-enterprise-card p{font-size:13px;line-height:1.5;color:var(--hv2-muted);margin:0}
.hv2-about-grid{display:grid;grid-template-columns:1fr 1fr 1.08fr;gap:25px}
.hv2-certs{background:#F7F7F5;border:1px solid var(--hv2-border);border-radius:13px;padding:20px}
.hv2-cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:center}
.hv2-cert{min-height:58px;background:#fff;border:1px solid var(--hv2-border);border-radius:9px;padding:8px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:var(--hv2-navy);font-size:10px;font-weight:800}
.hv2-cert img{max-width:100%;max-height:38px;width:auto;height:auto;object-fit:contain}
.hv2-main-cta{display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;border-radius:11px;background:var(--hv2-orange);color:#fff!important;text-decoration:none;font-size:13.5px;font-weight:800;white-space:nowrap;transition:background .2s ease,transform .2s ease}
.hv2-main-cta:hover,.hv2-main-cta:focus{background:var(--hv2-orange-hover);transform:translateY(-1px);outline:none}
.hv2-burger{display:none;width:42px;height:42px;border:1px solid var(--hv2-border);border-radius:11px;background:#fff;padding:10px;cursor:pointer}
.hv2-burger span{display:block;height:2px;background:var(--hv2-navy);margin:4px 0;border-radius:2px}
.hv2-mobile{display:none;position:fixed;inset:0;z-index:99999;background:#fff;padding:20px;overflow:auto}
.hv2-mobile.is-open{display:block}
.hv2-mobile-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--hv2-border)}
.hv2-mobile-logo{height:34px;width:auto}
.hv2-close{width:42px;height:42px;border:1px solid var(--hv2-border);border-radius:11px;background:#fff;font-size:25px;line-height:1;color:var(--hv2-navy);cursor:pointer}
.hv2-mobile-nav{padding:18px 0;display:grid;gap:2px}
.hv2-mobile-nav>a,.hv2-mobile summary{display:block;padding:14px 3px;border-bottom:1px solid #F0F1F3;color:var(--hv2-ink);font-size:17px;font-weight:700;text-decoration:none;cursor:pointer;list-style:none}
.hv2-mobile summary::-webkit-details-marker{display:none}
.hv2-mobile summary:after{content:'+';float:right;color:var(--hv2-logo-dark);font-size:20px;font-weight:500}
.hv2-mobile details[open] summary:after{content:'−'}
.hv2-mobile-sub{padding:11px 0 16px 12px;display:grid;gap:8px}
.hv2-mobile-sub strong{font-size:11px;letter-spacing:.12em;color:#8A93A0;margin-top:7px}
.hv2-mobile-sub a{font-size:14px;color:var(--hv2-muted);text-decoration:none;padding:3px 0}
.hv2-mobile .hv2-main-cta{margin-top:18px;width:100%;padding:14px 18px}
@media(max-width:1050px){
    .hv2-menu{display:none}.hv2-main-cta.hv2-desktop-cta{display:none}.hv2-burger{display:block}
    .hv2-nav{height:64px;padding:0 15px}.hv2-header{padding:10px 10px 0}.hv2-logo img{height:32px}
}
@media(max-width:520px){.hv2-header{padding:8px 8px 0}.hv2-nav{border-radius:13px}.hv2-logo img{max-width:180px}}

/* Variantes de layout — remplace les anciens styles inline */
.hv2-mega-box--about{grid-template-columns:1fr}
.hv2-cert-title{margin-bottom:14px;color:var(--hv2-navy)}
.hv2-actions{display:flex;align-items:center;gap:8px}
.hv2-mobile-cta-emphasis{color:var(--hv2-orange);letter-spacing:0}

/* Page de prévisualisation : masque uniquement le header Divi de CETTE page */
body.hv2-preview-page #top-header,
body.hv2-preview-page #main-header,
body.hv2-preview-page .et-l--header{display:none!important}
body.hv2-preview-page #page-container{padding-top:0!important;margin-top:0!important}
body.hv2-preview-page #main-content{padding-top:90px}


/* ==========================================================
   CANDIDAT V5 — compact, CTA conservé, hover discret
   ========================================================== */
.hv2-mega-box--candidate{
    grid-template-columns:1fr;
    padding:18px 20px 20px;
}
.hv2-candidate-wrap{min-width:0}
.hv2-candidate-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:12px;
}
.hv2-candidate-head .hv2-mega-title{margin:0}

/* CTA : on garde exactement l'esprit actuel */
.hv2-inline-cta{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:5px 1px 7px;
    color:var(--hv2-navy)!important;
    text-decoration:none!important;
    font-size:13.5px;
    line-height:1;
    font-weight:800;
    white-space:nowrap;
}
.hv2-inline-cta::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:2px;
    border-radius:999px;
    background:var(--hv2-orange);
    transform-origin:left;
    transition:transform .28s cubic-bezier(.16,1,.3,1);
}
.hv2-inline-cta span{
    color:var(--hv2-navy);
    font-size:16px;
    transform:translateX(0);
    transition:transform .28s cubic-bezier(.16,1,.3,1);
}
.hv2-inline-cta:hover,.hv2-inline-cta:focus{color:var(--hv2-navy)!important;outline:none}
.hv2-inline-cta:hover::after,.hv2-inline-cta:focus::after{transform:scaleX(.72)}
.hv2-inline-cta:hover span,.hv2-inline-cta:focus span{transform:translateX(4px)}

.hv2-candidate-categories{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}
.hv2-category-link{
    position:relative;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 13px 10px 14px;
    overflow:hidden;
    border:1px solid #E7EAF0;
    border-radius:10px;
    background:#fff;
    color:var(--hv2-navy)!important;
    text-decoration:none!important;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    box-shadow:0 1px 0 rgba(10,42,94,.02);
    transition:transform .24s cubic-bezier(.16,1,.3,1),border-color .2s ease,box-shadow .24s ease,background .2s ease;
}
/* aucune ligne décorative au hover */
.hv2-category-link::before,
.hv2-category-link::after{display:none!important}

.hv2-category-link>span:first-child{
    transform:translateX(0);
    transition:transform .24s cubic-bezier(.16,1,.3,1);
}
.hv2-category-arrow{
    flex:0 0 auto;
    display:grid;
    place-items:center;
    width:25px;
    height:25px;
    border-radius:999px;
    color:var(--hv2-logo-dark);
    background:rgba(0,149,219,.075);
    font-size:13px;
    line-height:1;
    font-weight:700;
    transform:translate(0,0);
    transition:transform .24s cubic-bezier(.16,1,.3,1),background .2s ease,color .2s ease;
}
.hv2-category-link:hover,.hv2-category-link:focus{
    transform:translateY(-2px);
    border-color:rgba(0,149,219,.28);
    background:linear-gradient(120deg,rgba(0,54,112,.018),rgba(0,149,219,.055));
    box-shadow:0 10px 22px -20px rgba(10,42,94,.65);
    outline:none;
}
.hv2-category-link:hover>span:first-child,.hv2-category-link:focus>span:first-child{transform:translateX(2px)}
.hv2-category-link:hover .hv2-category-arrow,.hv2-category-link:focus .hv2-category-arrow{
    transform:translate(2px,-2px);
    color:#fff;
    background:var(--hv2-logo-light);
}

@media(max-width:900px){.hv2-candidate-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
    .hv2-candidate-head{align-items:flex-start;flex-direction:column;gap:10px}
    .hv2-candidate-categories{grid-template-columns:1fr}
}