:root {
    --g:#6abd45;
    --gd:#43892b;
    --deep:#173a25;
    --deep2:#102b1b;
    --ink:#1d2a21;
    --muted:#657168;
    --soft:#f3f7f1;
    --line:#dfe8dc;
    --white:#fff;
    --shadow:0 22px 60px rgba(25,60,38,.12)
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:"Nunito",sans-serif;
    color:var(--ink);
    background:#fff;
    line-height:1.65
}

.wrap {
    width:min(1180px,calc(100% - 44px));
    margin:auto
}

.alpha {
    background:#173a25;
    color:#dcebd8;
    text-align:center;
    padding:6px;
    font-size:12px;
    letter-spacing:.05em
}

.alpha strong {
    color:#fff
}

.header {
    height:88px;
    background:rgba(255,255,255,.95);
    border-bottom:1px solid #edf1eb;
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(14px)
}

.nav {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between
}

.brand img {
    width:185px;
    display:block
}

.nav nav {
    display:flex;
    align-items:center;
    gap:24px
}

.nav a {
    text-decoration:none;
    color:#2d382f;
    font-weight:800;
    font-size:14px
}

.nav a:hover,.nav a.active {
    color:var(--gd)
}

.nav .client {
    background:var(--deep);
    color:#fff;
    padding:11px 17px;
    border-radius:10px
}

.menu {
    display:none;
    border:0;
    background:none;
    font-size:24px
}

.hero {
    overflow:hidden;
    background:radial-gradient(circle at 85% 20%,rgba(106,189,69,.18),transparent 30%),linear-gradient(135deg,#f9fbf8,#edf5e9);
    padding:88px 0 82px
}

.hero.photo-hero {
    position:relative;
    background:linear-gradient(90deg,rgba(10,35,21,.94),rgba(10,35,21,.73) 52%,rgba(10,35,21,.28)),url('../img/photos/terrain.jpg') center/cover;
    color:#fff
}

.hero.photo-hero .lead {
    color:#e1ebe4
}

.hero-grid {
    display:grid;
    grid-template-columns:1.12fr .88fr;
    gap:75px;
    align-items:center
}

.eyebrow {
    display:block;
    color:var(--gd);
    text-transform:uppercase;
    font-weight:900;
    letter-spacing:.13em;
    font-size:12px;
    margin-bottom:16px
}

.photo-hero .eyebrow {
    color:#a8e68d
}

.hero h1,.page-hero h1 {
    font-size:clamp(46px,5.5vw,76px);
    line-height:1.02;
    letter-spacing:-.045em;
    margin:0 0 26px;
    max-width:800px
}

.hero h1 em {
    font-style:normal;
    color:var(--g)
}

.lead {
    font-size:19px;
    color:#526057;
    max-width:700px;
    line-height:1.75
}

.actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:32px
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 21px;
    border-radius:11px;
    text-decoration:none;
    font-weight:900;
    border:0
}

.primary {
    background:var(--g);
    color:#fff;
    box-shadow:0 12px 28px rgba(79,154,49,.2)
}

.primary:hover {
    background:var(--gd)
}

.ghost {
    background:#fff;
    color:var(--deep);
    border:1px solid var(--line)
}

.micro {
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    color:#667268;
    font-size:13px;
    font-weight:700;
    margin-top:26px
}

.photo-hero .micro {
    color:#dce8df
}

.hero-card {
    background:rgba(23,58,37,.94);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
    border-radius:26px;
    padding:34px;
    box-shadow:0 35px 70px rgba(0,0,0,.24);
    backdrop-filter:blur(8px)
}

.hc-top {
    border-bottom:1px solid rgba(255,255,255,.13);
    padding-bottom:22px;
    margin-bottom:10px
}

.hc-top span {
    display:block;
    color:#a9dd94;
    font-size:12px;
    font-weight:900;
    letter-spacing:.16em
}

.hc-top b {
    font-size:25px
}

.pulse {
    display:flex;
    gap:16px;
    padding:21px 0;
    border-bottom:1px solid rgba(255,255,255,.1)
}

.pulse i {
    width:12px;
    height:12px;
    border:3px solid #9de27d;
    border-radius:50%;
    margin-top:6px;
    box-shadow:0 0 0 6px rgba(106,189,69,.1)
}

.pulse strong,.pulse small {
    display:block
}

.pulse small {
    color:#b9c8bd;
    margin-top:4px
}

.hc-foot {
    padding-top:20px;
    color:#9db2a2;
    font-size:12px;
    font-weight:800
}

.trust {
    border-bottom:1px solid var(--line);
    background:#fff
}

.trust-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr)
}

.trust-grid>div {
    padding:28px 32px;
    border-right:1px solid var(--line)
}

.trust-grid>div:first-child {
    padding-left:0
}

.trust-grid>div:last-child {
    border:0
}

.trust strong,.trust span {
    display:block
}

.trust strong {
    font-size:15px
}

.trust span {
    font-size:13px;
    color:var(--muted);
    margin-top:4px
}

.section {
    padding:92px 0
}

.split {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:80px
}

.intro h2,.section-head h2,.approach h2,.analysis h2,.cta h2,.content h2 {
    font-size:clamp(34px,4vw,52px);
    line-height:1.1;
    letter-spacing:-.035em;
    margin:0
}

.intro p,.content p {
    font-size:17px;
    color:#59665d;
    margin:0 0 18px
}

.textlink,.cards a {
    color:var(--gd);
    font-weight:900;
    text-decoration:none
}

.services,.soft {
    background:var(--soft)
}

.section-head {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:60px;
    margin-bottom:48px
}

.section-head p {
    max-width:450px;
    color:var(--muted);
    font-size:17px
}

.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px
}

.cards article {
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--line);
    padding:30px;
    border-radius:18px;
    min-height:350px;
    transition:.25s
}

.cards article:hover {
    transform:translateY(-5px);
    box-shadow:0 18px 45px rgba(46,77,42,.09)
}

.num {
    color:#99a79c;
    font-weight:900;
    font-size:12px
}

.cards h3 {
    min-height:54px;
    font-size:21px;
    line-height:1.28;
    margin:30px 0 10px
}

.cards p {
    min-height:74px;
    color:var(--muted);
    font-size:14px
}

.cards .info-button {
    align-self:flex-start;
    margin-top:auto
}

.accent-card {
    background:var(--deep)!important;
    color:#fff
}

.accent-card p {
    color:#c1cec4
}

.accent-card a {
    color:#9fe47f
}

.approach {
    background:var(--deep);
    color:#fff
}

.approach .split {
    grid-template-columns:.8fr 1.2fr
}

.light {
    color:#a7e58b
}

.sticky p {
    color:#b9c9bd;
    font-size:17px;
    max-width:420px
}

.steps>div {
    display:grid;
    grid-template-columns:55px 180px 1fr;
    gap:20px;
    padding:28px 0;
    border-bottom:1px solid rgba(255,255,255,.12);
    align-items:start
}

.steps b {
    color:#9fe47f
}

.steps h3 {
    margin:0;
    font-size:21px
}

.steps p {
    margin:0;
    color:#b8c8bc
}

.analysis-box {
    background:linear-gradient(135deg,#edf8e8,#f8fbf6);
    border:1px solid #d9ead2;
    border-radius:25px;
    padding:54px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:60px;
    align-items:center
}

.analysis p {
    max-width:720px;
    color:var(--muted);
    font-size:17px
}

.analysis-box>div:last-child {
    text-align:center
}

.analysis small {
    display:block;
    margin-top:10px;
    color:var(--muted)
}

.team-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px
}

.team-grid article {
    border:1px solid var(--line);
    border-radius:17px;
    padding:24px;
    background:#fff
}

.team-grid .boss {
    grid-column:span 3;
    display:flex;
    align-items:center;
    gap:20px;
    background:var(--soft)
}

.avatar {
    width:54px;
    height:54px;
    border-radius:15px;
    background:#e6f4df;
    color:var(--gd);
    display:grid;
    place-items:center;
    font-weight:900
}

.team h3 {
    margin:12px 0 2px
}

.boss h3 {
    margin:0
}

.team article p {
    margin:0;
    color:var(--muted);
    font-size:14px
}

.consultant {
    text-align:center;
    color:var(--muted);
    margin-top:28px
}

.cta {
    background:var(--g);
    color:#fff;
    padding:78px 0;
    text-align:center
}

.cta span {
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:12px
}

.cta h2 {
    max-width:900px;
    margin:15px auto
}

.cta .actions {
    justify-content:center
}

.white {
    background:#fff;
    color:var(--deep)
}

.outline {
    border:1px solid rgba(255,255,255,.55);
    color:#fff
}

.page-hero {
    padding:88px 0 72px;
    background:linear-gradient(135deg,#f7faf5,#eaf4e6);
    border-bottom:1px solid var(--line)
}

.page-hero.wallpaper {
    position:relative;
    background:linear-gradient(90deg,rgba(10,34,22,.88),rgba(10,34,22,.55)),url('../img/wallpaper.jpg') center 48%/cover;
    color:#fff
}

.page-hero.wallpaper .eyebrow {
    color:#a8e68d
}

.page-hero.wallpaper .lead {
    color:#e2eee5
}

.page-hero h1 {
    font-size:clamp(42px,5vw,66px);
    max-width:920px
}

.page-hero .lead {
    max-width:780px
}

.breadcrumbs {
    font-size:13px;
    font-weight:800;
    color:#738078;
    margin-bottom:18px
}

.wallpaper .breadcrumbs {
    color:#c7d9cc
}

.photo-band {
    min-height:420px;
    border-radius:24px;
    background-position:center;
    background-size:cover;
    box-shadow:var(--shadow)
}

.feature-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px
}

.feature {
    padding:28px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff
}

.feature h3 {
    margin:0 0 8px;
    font-size:21px
}

.feature p {
    margin:0;
    color:var(--muted)
}

.service-detail {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:70px;
    align-items:center
}

.service-detail .photo-band {
    min-height:500px
}

.bullets {
    padding:0;
    list-style:none;
    margin:26px 0
}

.bullets li {
    position:relative;
    padding:9px 0 9px 30px
}

.bullets li:before {
    content:'✓';
    position:absolute;
    left:0;
    color:var(--g);
    font-weight:900
}

.service-nav {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:30px
}

.service-nav a {
    padding:9px 12px;
    border-radius:9px;
    background:var(--soft);
    color:var(--deep);
    text-decoration:none;
    font-size:13px;
    font-weight:900
}

.form-shell {
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:60px
}

.form-card {
    border:1px solid var(--line);
    border-radius:20px;
    padding:34px;
    background:#fff;
    box-shadow:var(--shadow)
}

.form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px
}

.field {
    display:flex;
    flex-direction:column;
    gap:7px
}

.field.full {
    grid-column:1/-1
}

.field label {
    font-size:13px;
    font-weight:900
}

.field input,.field select,.field textarea {
    font:inherit;
    padding:13px 14px;
    border:1px solid #ccd8ce;
    border-radius:10px;
    background:#fbfcfb
}

.field textarea {
    min-height:140px;
    resize:vertical
}

.notice {
    padding:18px;
    border-radius:13px;
    background:#eef7ea;
    color:#496243;
    font-size:14px
}

.faq {
    max-width:900px;
    margin:auto
}

.faq details {
    border-bottom:1px solid var(--line);
    padding:18px 0
}

.faq summary {
    cursor:pointer;
    font-weight:900;
    font-size:18px
}

.faq p {
    color:var(--muted)
}

.contact-grid {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:60px
}

.contact-box {
    background:var(--deep);
    color:#fff;
    border-radius:22px;
    padding:36px
}

.contact-box p {
    color:#c3d1c7
}

.contact-box a {
    color:#a7e58b
}

.legal {
    max-width:900px
}

.legal h2 {
    font-size:30px;
    margin-top:42px
}

.legal h3 {
    font-size:21px;
    margin-top:28px
}

.portal-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}

.portal-grid a {
    display:block;
    padding:28px;
    border:1px solid var(--line);
    border-radius:18px;
    text-decoration:none;
    color:var(--ink);
    background:#fff
}

.portal-grid a:hover {
    box-shadow:var(--shadow);
    transform:translateY(-3px)
}

.portal-grid strong {
    display:block;
    font-size:20px
}

.portal-grid span {
    display:block;
    color:var(--muted);
    font-size:14px;
    margin-top:7px
}

.photo-strip {
    display:grid;
    grid-template-columns:1.2fr .8fr .8fr;
    gap:12px;
    height:300px
}

.photo-strip div {
    border-radius:18px;
    background-position:center;
    background-size:cover
}

.stats {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px
}

.stats div {
    padding:24px;
    border-radius:16px;
    background:#fff;
    border:1px solid var(--line)
}

.stats strong {
    display:block;
    font-size:25px;
    color:var(--gd)
}

.stats span {
    font-size:13px;
    color:var(--muted)
}

footer {
    background:#14271a;
    color:#d8e0da;
    padding:55px 0 25px
}

.foot {
    display:grid;
    grid-template-columns:200px 1fr auto;
    gap:40px;
    align-items:center
}

.foot img {
    width:175px;
    filter:brightness(0) invert(1)
}

.foot p {
    color:#91a096;
    margin:4px 0
}

.footlinks {
    display:flex;
    flex-direction:column;
    gap:5px
}

.footlinks a {
    color:#b8c3ba;
    text-decoration:none;
    font-size:13px
}

.copy {
    border-top:1px solid #2d4032;
    margin-top:38px;
    padding-top:22px;
    font-size:12px;
    color:#829087;
    display:flex;
    justify-content:space-between
}

@media(max-width:850px) {
    .header {
        height:74px
    }
    .brand img {
        width:155px
    }
    .menu {
        display:block
    }
    .nav nav {
        display:none;
        position:absolute;
        top:74px;
        left:0;
        right:0;
        background:#fff;
        padding:25px;
        flex-direction:column;
        border-bottom:1px solid var(--line)
    }
    .nav nav.open {
        display:flex
    }
    .hero {
        padding:60px 0
    }
    .hero-grid,.split,.analysis-box,.service-detail,.form-shell,.contact-grid {
        grid-template-columns:1fr;
        gap:42px
    }
    .trust-grid,.cards,.team-grid,.portal-grid,.stats {
        grid-template-columns:1fr
    }
    .trust-grid>div {
        border-right:0;
        border-bottom:1px solid var(--line);
        padding:22px 0
    }
    .section {
        padding:66px 0
    }
    .section-head {
        display:block
    }
    .cards article {
        min-height:0
    }
    .steps>div {
        grid-template-columns:42px 1fr
    }
    .steps p {
        grid-column:2
    }
    .team-grid .boss {
        grid-column:span 1
    }
    .foot {
        grid-template-columns:1fr
    }
    .copy {
        display:block
    }
    .copy span {
        display:block;
        margin-top:6px
    }
    .feature-grid {
        grid-template-columns:1fr
    }
    .photo-strip {
        grid-template-columns:1fr;
        height:auto
    }
    .photo-strip div {
        min-height:220px
    }
    .form-grid {
        grid-template-columns:1fr
    }
    .field.full {
        grid-column:auto
    }
}

@media(max-width:520px) {
    .wrap {
        width:min(100% - 28px,1180px)
    }
    .hero h1,.page-hero h1 {
        font-size:42px
    }
    .micro {
        display:block
    }
    .micro span {
        display:block;
        margin:5px 0
    }
    .hero-card,.analysis-box,.form-card {
        padding:25px
    }
    .section-head h2,.intro h2,.approach h2,.analysis h2,.cta h2,.content h2 {
        font-size:34px
    }
}

/* v4.0.1 Alpha — darker visual balance */
:root {
    --canvas:#dfe7dd;
    --surface:#eaf0e8;
    --surface2:#d5e0d3;
    --card:#f6f8f5;
    --line2:#c3d0c0
}

body {
    background:var(--canvas)
}

.header {
    background:rgba(229,237,226,.96);
    border-bottom-color:#c7d3c4
}

.nav nav {
    background:transparent
}

.hero:not(.photo-hero) {
    background:radial-gradient(circle at 85% 20%,rgba(106,189,69,.22),transparent 30%),linear-gradient(135deg,#dfe9dc,#cbdac7)
}

.trust {
    background:#d3ded0;
    border-color:#bccbb8
}

.trust-grid>div {
    border-color:#bccbb8
}

.section {
    background:var(--canvas)
}

.section.soft,.services {
    background:#cfdacb
}

.section.content {
    background:#e3ebe1
}

.cards article,.feature,.team-grid article,.stats div,.form-card,.portal-grid a {
    background:var(--card);
    border-color:var(--line2)
}

.page-hero:not(.wallpaper) {
    background:linear-gradient(135deg,#d9e5d6,#c5d7c0);
    border-color:#b8c8b4
}

.analysis-box {
    background:linear-gradient(135deg,#d4e6ce,#e4ece1);
    border-color:#b8ceb1
}

.ghost {
    background:#eef3ec;
    border-color:#bdcbbc
}

.service-nav a {
    background:#cbd8c8
}

.field input,.field select,.field textarea {
    background:#f2f5f1
}

.team-profile-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px
}

.team-profile {
    display:grid;
    grid-template-columns:170px 1fr;
    gap:25px;
    padding:28px;
    border:1px solid var(--line2);
    border-radius:22px;
    background:var(--card)
}

.portrait-placeholder {
    min-height:220px;
    border-radius:17px;
    background:linear-gradient(145deg,#294d34,#173a25);
    display:grid;
    place-items:center;
    color:#a8e68d;
    font-size:42px;
    font-weight:900;
    letter-spacing:-.05em
}

.team-profile h3 {
    font-size:25px;
    margin:0 0 4px
}

.team-profile .role {
    color:var(--gd);
    font-weight:900;
    font-size:14px;
    margin-bottom:14px
}

.team-profile p {
    font-size:14px;
    color:#59665d
}

.team-profile.featured {
    grid-column:1/-1;
    grid-template-columns:220px 1fr
}

.values-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}

.value-card {
    padding:28px;
    border-radius:18px;
    background:var(--card);
    border:1px solid var(--line2)
}

.value-card h3 {
    margin:0 0 8px
}

.value-card p {
    margin:0;
    color:var(--muted)
}

.process-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:34px
}

.process-grid div {
    padding:25px;
    background:var(--card);
    border:1px solid var(--line2);
    border-radius:17px
}

.process-grid b {
    color:var(--gd);
    font-size:13px
}

.process-grid h3 {
    margin:8px 0
}

.service-long {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}

.service-long article {
    display:flex;
    flex-direction:column;
    padding:30px;
    border-radius:19px;
    background:var(--card);
    border:1px solid var(--line2)
}

.service-long h3 {
    min-height:58px;
    font-size:23px;
    line-height:1.26;
    margin:5px 0 12px
}

.service-long p {
    min-height:96px;
    color:var(--muted)
}

.service-long ul {
    flex:1;
    padding-left:20px;
    color:#4e5d52
}

.service-long .service-button {
    align-self:flex-start;
    margin-top:auto
}

.cnesst-callout {
    background:var(--deep);
    color:#fff;
    border-radius:24px;
    padding:38px
}

.cnesst-callout h2 {
    margin-top:0;
    font-size:34px
}

.cnesst-callout p {
    color:#c5d3c9
}

.cnesst-callout strong {
    color:#a8e68d
}

@media(max-width:850px) {
    .nav nav {
        background:#e5ede2
    }
    .team-profile-grid,.values-grid,.process-grid,.service-long {
        grid-template-columns:1fr
    }
    .team-profile,.team-profile.featured {
        grid-template-columns:1fr;
        grid-column:auto
    }
    .portrait-placeholder {
        min-height:180px
    }
}

/* v4.0.2 Alpha — lisibilité, navigation et confidentialité */
.nav nav {
    gap:14px
}

.nav a {
    font-size:13px
}

.nav .analysis-nav {
    background:var(--g);
    color:#fff;
    padding:10px 14px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(79,154,49,.18)
}

.nav .analysis-nav:hover,.nav .analysis-nav.active {
    background:var(--gd);
    color:#fff
}

.nav .client {
    padding:10px 14px
}

.eyebrow {
    font-size:15px;
    letter-spacing:.11em;
    margin-bottom:12px
}

.page-hero h1 {
    font-size:clamp(38px,4.5vw,58px)
}

.section-head h2,.intro h2,.approach h2,.analysis h2,.content h2 {
    font-size:clamp(32px,3.5vw,46px)
}

main p {
    text-align:justify
}

.section-head p {
    font-size:15px
}

.lead {
    font-size:17px
}

.intro p,.content p {
    font-size:16px
}

.cards p,.team-profile p,.service-long p,.feature p,.value-card p {
    font-size:14px
}

.approach .sticky h2,.approach .sticky p,.approach .steps h3,.approach .steps p {
    color:#fff
}

.approach .steps b {
    color:#b6ee9c
}

.approach .steps p {
    opacity:.88
}

.approach .sticky p {
    opacity:.9
}

.team-head {
    display:block
}

.team-head h2 {
    white-space:nowrap;
    font-size:clamp(28px,3.3vw,46px)
}

.team-photo {
    width:100%;
    height:240px;
    object-fit:cover;
    object-position:center top;
    border-radius:17px;
    background:#d4dfd1
}

.team-profile.featured .team-photo {
    height:290px
}

.consultant-profile {
    grid-column:1/-1;
    grid-template-columns:220px 1fr;
    background:linear-gradient(135deg,#eef4eb,#d9e5d5);
    border:1px solid #b9cbb5
}

.consultant-label {
    display:inline-block;
    background:var(--deep);
    color:#fff;
    padding:6px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:10px
}

.secondary-small {
    padding:9px 14px;
    background:#dbe8d7;
    color:var(--deep);
    font-size:13px;
    margin-top:8px
}

.secondary-small:hover {
    background:#c9ddc3
}

.service-button {
    margin-top:14px;
    background:var(--g);
    color:#fff!important;
    padding:11px 16px;
    border-radius:10px
}

.service-button:hover {
    background:var(--gd)
}

.accent-card .service-button {
    background:#fff;
    color:var(--deep)!important
}

.accent-card .service-button:hover {
    background:#eaf4e6
}

.values-grid {
    grid-template-columns:repeat(3,1fr)
}

/* Avis de confidentialité / témoins */
.privacy-overlay {
    position:fixed;
    inset:0;
    background:rgba(9,22,14,.62);
    z-index:1000;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:24px;
    backdrop-filter:blur(3px)
}

.privacy-overlay[hidden] {
    display:none
}

.privacy-box {
    width:min(760px,100%);
    background:#eef3ec;
    border:1px solid #b9c9b5;
    border-radius:24px;
    padding:30px;
    box-shadow:0 28px 80px rgba(0,0,0,.28)
}

.privacy-box .eyebrow {
    margin:0 0 6px
}

.privacy-box h2 {
    font-size:30px;
    line-height:1.15;
    margin:0 0 15px;
    color:var(--deep)
}

.privacy-box p {
    font-size:15px;
    color:#465449;
    margin:0 0 14px;
    text-align:justify
}

.privacy-box .privacy-note {
    font-size:13px;
    color:#68756b
}

.privacy-actions {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:20px
}

.privacy-actions .btn {
    cursor:pointer
}

.privacy-link {
    background:transparent;
    border:1px solid #9eb19a;
    color:var(--deep)
}

/* Variante d'accueil avec carrousel */
.hero-carousel {
    position:relative;
    min-height:650px;
    overflow:hidden;
    background:#102b1b;
    color:#fff
}

.carousel-slide {
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .7s ease;
    display:flex;
    align-items:center;
    background-position:center;
    background-size:cover
}

.carousel-slide::before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(8,29,17,.94) 0%,rgba(8,29,17,.78) 48%,rgba(8,29,17,.35) 75%,rgba(8,29,17,.22) 100%)
}

.carousel-slide.active {
    opacity:1;
    z-index:1
}

.carousel-content {
    position:relative;
    z-index:2;
    width:min(760px,72%);
    padding:82px 0
}

.carousel-content .eyebrow {
    color:#b4ee9a
}

.carousel-content h1 {
    font-size:clamp(44px,5vw,70px);
    line-height:1.03;
    letter-spacing:-.04em;
    margin:0 0 22px
}

.carousel-content p {
    font-size:18px;
    line-height:1.7;
    color:#e1ebe4;
    max-width:680px
}

.carousel-controls {
    position:absolute;
    z-index:5;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    display:flex;
    gap:9px
}

.carousel-dot {
    width:12px;
    height:12px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.8);
    background:transparent;
    cursor:pointer;
    padding:0
}

.carousel-dot.active {
    background:#fff
}

.carousel-arrow {
    position:absolute;
    z-index:5;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.55);
    background:rgba(9,30,18,.45);
    color:#fff;
    font-size:24px;
    cursor:pointer
}

.carousel-prev {
    left:24px
}

.carousel-next {
    right:24px
}

@media(max-width:1050px) {
    .nav a {
        font-size:12px
    }
    .nav nav {
        gap:9px
    }
    .nav .analysis-nav,.nav .client {
        padding:9px 10px
    }
}

@media(max-width:850px) {
    .nav nav {
        gap:14px
    }
    .nav a {
        font-size:14px
    }
    .team-head h2 {
        white-space:normal
    }
    .consultant-profile {
        grid-template-columns:1fr;
        grid-column:auto
    }
    .team-photo,.team-profile.featured .team-photo {
        height:auto;
        max-height:420px;
        object-fit:cover
    }
    .values-grid {
        grid-template-columns:1fr
    }
    .hero-carousel {
        min-height:610px
    }
    .carousel-content {
        width:86%;
        padding:70px 0
    }
    .carousel-arrow {
        display:none
    }
}

/* v4.0.3 Alpha — hiérarchie, contraste, navigation, bannière privée et équipe */
/* La règle .section plus récente avait écrasé le fond foncé de .approach. */
.section.approach {
    background:var(--deep);
    color:#fff
}

.section.approach .eyebrow {
    color:#b6ee9c
}

.section.approach h2,.section.approach h3,.section.approach p,.section.approach .sticky h2,.section.approach .sticky p,.section.approach .steps h3,.section.approach .steps p {
    color:#fff
}

.section.approach .steps p,.section.approach .sticky p {
    opacity:.92
}

/* Hiérarchie : le sujet vert doit être le premier élément perçu, le sous-titre noir ensuite. */
.section .eyebrow {
    font-size:25px;
    line-height:1.18;
    letter-spacing:.045em;
    text-transform:none;
    margin-bottom:10px;
    color:var(--gd)
}

.section.approach .eyebrow,.section .eyebrow.light {
    color:#b6ee9c
}

.section .section-head h2,.section.intro h2,.section.approach h2,.section.analysis h2,.section.content h2 {
    font-size:clamp(21px,2.05vw,29px);
    line-height:1.22;
    letter-spacing:-.02em
}

.section .section-head p {
    font-size:15px
}

.page-hero .eyebrow {
    font-size:17px;
    letter-spacing:.085em;
    text-transform:uppercase
}

.cta span {
    font-size:15px
}

.cta h2 {
    font-size:clamp(28px,3vw,40px)
}

/* Navigation plus généreuse et ordre : analyse à l'extrême droite après Espace membre. */
.header {
    height:96px
}

.brand img {
    width:190px
}

.nav nav {
    gap:16px;
    flex:1;
    justify-content:flex-end;
    margin-left:28px
}

.nav a {
    font-size:15px;
    white-space:nowrap
}

.nav .client,.nav .analysis-nav {
    padding:11px 15px
}

.nav .analysis-nav {
    order:99
}

/* Tout le texte explicatif reste justifié, sans forcer les éléments d'interface. */
main p,.team-profile p,.privacy-copy p {
    text-align:justify
}

/* Bannière de confidentialité : rectangle bas de page, aucun voile et navigation toujours possible. */
.privacy-overlay,.privacy-box {
    display:none!important
}

.privacy-banner {
    position:fixed;
    left:50%;
    bottom:16px;
    transform:translateX(-50%);
    z-index:1000;
    width:min(1160px,calc(100% - 32px));
    background:#edf3ea;
    border:1px solid #aebfa9;
    border-radius:16px;
    box-shadow:0 18px 60px rgba(12,34,20,.24)
}

.privacy-banner-inner {
    display:grid;
    grid-template-columns:1fr auto;
    gap:28px;
    align-items:center;
    padding:22px 24px
}

.privacy-copy .eyebrow {
    font-size:18px;
    line-height:1.2;
    letter-spacing:.035em;
    text-transform:none;
    margin:0 0 5px;
    color:var(--gd)
}

.privacy-copy h2 {
    font-size:20px;
    line-height:1.2;
    margin:0 0 9px;
    color:var(--deep)
}

.privacy-copy p {
    font-size:14px;
    line-height:1.48;
    color:#465449;
    margin:0 0 6px
}

.privacy-copy .privacy-note {
    font-size:14px;
    font-weight:700;
    color:#4f5f52;
    margin-bottom:0
}

.privacy-actions {
    display:flex;
    flex-direction:column;
    gap:9px;
    min-width:205px
}

.privacy-actions .btn {
    cursor:pointer;
    padding:11px 14px
}

.privacy-link {
    background:transparent;
    border:1px solid #91a98b;
    color:var(--deep)
}

/* Équipe : chaque personne dans une carte rectangulaire pleine largeur, avec rythme visuel. */
.team-profile-grid {
    display:flex;
    flex-direction:column;
    gap:24px;
    position:relative
}

.team-profile-grid:before {
    content:"";
    position:absolute;
    left:102px;
    top:20px;
    bottom:20px;
    width:2px;
    background:linear-gradient(to bottom,transparent,var(--g) 8%,#9dbc90 50%,var(--g) 92%,transparent);
    opacity:.65;
    z-index:0
}

.team-profile,.team-profile.featured,.consultant-profile {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:205px 1fr;
    gap:30px;
    align-items:center;
    width:100%;
    min-height:250px;
    padding:24px 30px 24px 24px;
    border:1px solid var(--line2);
    border-radius:16px;
    background:var(--card);
    box-shadow:0 10px 28px rgba(31,62,38,.07)
}

.team-profile-alt {
    background:linear-gradient(100deg,#e5eee2,#f6f8f5 42%)
}

.team-profile-main {
    background:linear-gradient(100deg,#f6f8f5,#e7efe4 100%)
}

.team-profile:after {
    content:"";
    position:absolute;
    left:-1px;
    top:28px;
    bottom:28px;
    width:5px;
    border-radius:0 5px 5px 0;
    background:var(--g)
}

.team-profile .team-photo,.team-profile.featured .team-photo {
    width:100%;
    height:220px;
    object-fit:cover;
    object-position:center top;
    border-radius:12px;
    box-shadow:0 8px 22px rgba(17,48,27,.13)
}

.team-profile .portrait-placeholder {
    width:100%;
    height:220px;
    min-height:0;
    border-radius:12px
}

.team-profile h3 {
    font-size:28px;
    margin:0 0 3px
}

.team-profile .role {
    font-size:15px;
    margin-bottom:12px
}

.team-profile p {
    font-size:15px;
    line-height:1.65;
    margin:0 0 12px
}

.consultant-profile {
    grid-column:auto;
    background:linear-gradient(100deg,#edf3e9,#f6f8f5 50%)
}

.consultant-label {
    margin-bottom:8px
}

@media(max-width:1180px) {
    .nav a {
        font-size:13px
    }
    .nav nav {
        gap:10px;
        margin-left:18px
    }
    .nav .client,.nav .analysis-nav {
        padding:9px 10px
    }
    .brand img {
        width:165px
    }
}

@media(max-width:850px) {
    .header {
        height:74px
    }
    .nav nav {
        margin-left:0;
        justify-content:flex-start
    }
    .nav a {
        font-size:15px
    }
    .team-profile-grid:before {
        display:none
    }
    .team-profile,.team-profile.featured,.consultant-profile {
        grid-template-columns:145px 1fr;
        gap:20px;
        padding:20px
    }
    .team-profile .team-photo,.team-profile.featured .team-photo,.team-profile .portrait-placeholder {
        height:180px
    }
    .privacy-banner {
        bottom:10px;
        width:calc(100% - 20px)
    }
    .privacy-banner-inner {
        grid-template-columns:1fr;
        padding:18px;
        gap:14px
    }
    .privacy-actions {
        flex-direction:row;
        min-width:0
    }
    .privacy-copy p {
        font-size:13.5px
    }
    .privacy-copy .privacy-note {
        font-size:13.5px
    }
}

@media(max-width:600px) {
    .team-profile,.team-profile.featured,.consultant-profile {
        grid-template-columns:1fr
    }
    .team-profile .team-photo,.team-profile.featured .team-photo,.team-profile .portrait-placeholder {
        height:auto;
        min-height:190px;
        max-height:340px
    }
    .privacy-actions {
        flex-direction:column
    }
    .section .eyebrow {
        font-size:21px
    }
    .section .section-head h2,.section.intro h2,.section.approach h2,.section.analysis h2,.section.content h2 {
        font-size:20px
    }
}

/* ==========================================================================
   v4.1.0-Beta
   Ajustements globaux, avis de confidentialité et pages intégrées.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Avis de confidentialité
   -------------------------------------------------------------------------- */

/*
 * La bannière occupe toute la largeur visible du site.
 * Son contenu intérieur demeure aligné avec la largeur standard (.wrap).
 * Elle n'ajoute aucun voile et ne bloque jamais la navigation.
 */
.privacy-overlay,
.privacy-box {
    display: none !important;
}

.privacy-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    max-width: none;
    transform: none;
    background: rgba(237, 243, 234, 0.99);
    border-top: 1px solid #aebfa9;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 -14px 48px rgba(12, 34, 20, 0.18);
}

.privacy-banner-inner {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
    padding: 20px 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
}

.privacy-copy .eyebrow {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--gd);
}

.privacy-copy h2 {
    margin: 0 0 9px;
    font-size: 22px;
    line-height: 1.25;
    color: var(--deep);
}

.privacy-copy p,
.privacy-copy .privacy-note {
    margin: 0 0 7px;
    font-size: 15px;
    line-height: 1.55;
    color: #465449;
}

.privacy-copy .privacy-note {
    margin-bottom: 0;
    font-weight: 800;
    color: #405345;
}

.privacy-actions {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-self: center;
}

.privacy-actions .btn {
    cursor: pointer;
    justify-content: center;
}

.privacy-link {
    background: transparent;
    border: 1px solid #91a98b;
    color: var(--deep);
}

/* --------------------------------------------------------------------------
   Boutons d'information
   -------------------------------------------------------------------------- */

.info-button {
    margin-top: 16px;
    padding: 11px 17px;
    background: var(--g);
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(79, 154, 49, 0.16);
}

.info-button:hover {
    background: var(--gd);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Carte Mutuelle / Analyse CNESST dans Nos services
   -------------------------------------------------------------------------- */

.service-long .mutuelle-card {
    background: var(--g) !important;
    border-color: var(--g) !important;
    color: #ffffff !important;
}

.service-long .mutuelle-card .num,
.service-long .mutuelle-card h3 {
    color: #ffffff !important;
}

.service-long .mutuelle-card p,
.service-long .mutuelle-card li {
    color: #f2faee !important;
}

.service-long .mutuelle-card .service-button {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: var(--deep) !important;
}

.service-long .mutuelle-card .service-button:hover {
    background: #f2f7f0 !important;
    color: var(--deep) !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 850px) {
    .privacy-banner-inner {
        width: calc(100% - 28px);
        padding: 16px 0 18px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .privacy-actions {
        min-width: 0;
        flex-direction: row;
    }
}

@media (max-width: 600px) {
    .privacy-copy .eyebrow {
        font-size: 18px;
    }

    .privacy-copy h2 {
        font-size: 19px;
    }

    .privacy-copy p,
    .privacy-copy .privacy-note {
        font-size: 14px;
    }

    .privacy-actions {
        flex-direction: column;
    }

    .privacy-actions .btn {
        width: 100%;
    }
}



/* ========================================================================== 
   v4.1.0-Beta — Avis de confidentialité pleine largeur
   ========================================================================== */

/*
 * La barre ET son contenu utilisent toute la largeur de la fenêtre.
 * Les boutons demeurent regroupés à droite sur ordinateur.
 */
.privacy-banner {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
}

.privacy-banner-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px 30px 15px !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 30px !important;
    align-items: center !important;
}

.privacy-copy {
    min-width: 0;
}

.privacy-copy .eyebrow {
    margin-bottom: 2px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

.privacy-copy h2 {
    margin-bottom: 5px !important;
    font-size: 19px !important;
    line-height: 1.22 !important;
}

.privacy-copy p,
.privacy-copy .privacy-note {
    margin-bottom: 4px !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
}

.privacy-actions {
    min-width: 225px !important;
    width: 225px !important;
    flex: 0 0 225px !important;
    align-self: center !important;
}

.privacy-actions .btn {
    width: 100% !important;
    min-height: 38px !important;
    padding: 8px 13px !important;
}

@media (max-width: 850px) {
    .privacy-banner-inner {
        padding: 14px 18px 16px !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .privacy-actions {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        flex-direction: row !important;
    }
}

@media (max-width: 600px) {
    .privacy-actions {
        flex-direction: column !important;
    }
}


/* ========================================================================== 
   v4.1.0-Beta — Ajustements des actions de l'avis de confidentialité
   ========================================================================== */

.privacy-actions {
    min-width: 250px !important;
    width: 250px !important;
    flex-basis: 250px !important;
}

.privacy-actions .privacy-ack {
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.privacy-actions .privacy-link {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

@media (max-width: 850px) {
    .privacy-actions {
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
    }

    .privacy-actions .privacy-link {
        white-space: normal !important;
    }
}

/* ============================================================
   v4.1.2-Beta — Espace membre
   ============================================================ */
.client-hero .lead {
    max-width:820px;
}

.client-hero-pills {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:28px;
}

.client-hero-pills span {
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 13px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-size:13px;
    font-weight:800;
    backdrop-filter:blur(6px);
}

.client-intro {
    padding-top:64px;
    padding-bottom:64px;
}

.client-intro-grid {
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:80px;
    align-items:start;
}

.client-intro-grid h2 {
    margin:0;
    max-width:430px;
    font-size:clamp(30px,3.2vw,46px);
    line-height:1.08;
    letter-spacing:-.035em;
}

.client-intro-copy {
    padding-left:34px;
    border-left:3px solid var(--g);
}

.client-intro-copy p {
    margin:0 0 14px;
    color:var(--muted);
}

.client-intro-copy p:last-child {
    margin-bottom:0;
}

.client-services-section,
.client-resources-section {
    position:relative;
    overflow:hidden;
}

.client-services-section::before {
    content:"";
    position:absolute;
    width:460px;
    height:460px;
    right:-240px;
    top:-220px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(106,189,69,.18),rgba(106,189,69,0) 68%);
    pointer-events:none;
}

.client-section-head {
    display:grid;
    grid-template-columns:1fr .8fr;
    gap:60px;
    align-items:end;
    margin-bottom:34px;
}

.client-section-head h2 {
    margin:0;
}

.client-section-head > p {
    margin:0;
    color:var(--muted);
}

.client-primary-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.client-service-card {
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:365px;
    padding:30px;
    overflow:hidden;
    border:1px solid #dbe6d8;
    border-radius:24px;
    background:linear-gradient(160deg,#fff 0%,#f7faf5 100%);
    color:var(--ink);
    text-decoration:none;
    box-shadow:0 16px 44px rgba(26,62,38,.08);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.client-service-card::after {
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    right:-75px;
    bottom:-85px;
    border-radius:50%;
    background:rgba(106,189,69,.08);
    transition:transform .25s ease;
}

.client-service-card:hover {
    transform:translateY(-6px);
    border-color:#b8d8ad;
    box-shadow:0 24px 60px rgba(26,62,38,.16);
}

.client-service-card:hover::after {
    transform:scale(1.16);
}

.client-service-card--cloud {
    background:linear-gradient(160deg,#173a25 0%,#102b1b 100%);
    color:#fff;
    border-color:#244a32;
}

.client-service-card--cloud p,
.client-service-card--cloud .client-service-kicker {
    color:#c8d7cc;
}

.client-service-card--cloud .client-service-icon {
    background:var(--g);
    color:#fff;
    border-color:rgba(255,255,255,.08);
}

.client-service-card--cloud .client-card-action {
    color:#b8ef9f;
}

.client-service-icon {
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    margin-bottom:30px;
    border:1px solid #dce9d8;
    border-radius:17px;
    background:#eef6ea;
    color:var(--gd);
    font-size:27px;
    font-weight:900;
}

.client-service-content {
    display:flex;
    flex-direction:column;
    flex:1;
    position:relative;
    z-index:1;
}

.client-service-kicker {
    color:var(--gd);
    font-size:12px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.client-service-card h3 {
    margin:5px 0 12px;
    font-size:30px;
    line-height:1.1;
}

.client-service-card p {
    margin:0 0 28px;
    color:var(--muted);
    font-size:15px;
}

.client-card-action {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:auto;
    padding-top:18px;
    border-top:1px solid rgba(94,124,101,.18);
    color:var(--deep);
    font-size:14px;
    font-weight:900;
}

.client-card-action b {
    font-size:19px;
    transition:transform .2s ease;
}

.client-service-card:hover .client-card-action b {
    transform:translateX(4px);
}

.client-resource-grid {
    display:grid;
    gap:12px;
}

.client-resource-card {
    display:grid;
    grid-template-columns:70px 1fr 50px;
    gap:22px;
    align-items:center;
    min-height:118px;
    padding:22px 26px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    color:var(--ink);
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.client-resource-card:hover {
    transform:translateX(5px);
    border-color:#bdd8b5;
    box-shadow:0 16px 38px rgba(25,60,38,.10);
}

.client-resource-number {
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    border-radius:15px;
    background:#edf5e9;
    color:var(--gd);
    font-weight:900;
}

.client-resource-card h3 {
    margin:0 0 4px;
    font-size:21px;
}

.client-resource-card p {
    margin:0;
    color:var(--muted);
    font-size:14px;
}

.client-resource-arrow {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    justify-self:end;
    border-radius:50%;
    background:var(--deep);
    color:#fff;
    font-size:19px;
}

.client-security-section {
    padding-top:30px;
}

.client-security-panel {
    display:grid;
    grid-template-columns:72px 1fr auto;
    gap:28px;
    align-items:center;
    padding:34px 38px;
    border-radius:24px;
    background:linear-gradient(135deg,#173a25,#102b1b);
    color:#fff;
    box-shadow:0 22px 54px rgba(16,43,27,.18);
}

.client-security-mark {
    display:grid;
    place-items:center;
    width:64px;
    height:64px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:19px;
    background:rgba(106,189,69,.16);
    color:#b8ef9f;
    font-size:29px;
    font-weight:900;
}

.client-security-panel .eyebrow {
    margin-bottom:6px;
    font-size:16px;
}

.client-security-panel h2 {
    margin:0 0 8px;
    color:#fff;
    font-size:27px;
}

.client-security-panel p {
    margin:0;
    max-width:720px;
    color:#c8d7cc;
    font-size:14px;
}

.client-security-button {
    background:var(--g);
    color:#fff;
    white-space:nowrap;
}

.client-security-button:hover {
    background:#78ca55;
}

@media(max-width:900px) {
    .client-intro-grid,
    .client-section-head {
        grid-template-columns:1fr;
        gap:24px;
    }

    .client-intro-copy {
        padding-left:22px;
    }

    .client-primary-grid {
        grid-template-columns:1fr;
    }

    .client-service-card {
        min-height:auto;
    }

    .client-security-panel {
        grid-template-columns:64px 1fr;
    }

    .client-security-button {
        grid-column:1 / -1;
        justify-self:start;
    }
}

@media(max-width:600px) {
    .client-resource-card {
        grid-template-columns:48px 1fr 38px;
        gap:14px;
        padding:18px;
    }

    .client-resource-number {
        width:44px;
        height:44px;
        border-radius:13px;
    }

    .client-resource-arrow {
        width:36px;
        height:36px;
    }

    .client-security-panel {
        grid-template-columns:1fr;
        padding:28px 24px;
    }

    .client-security-button {
        width:100%;
    }
}


/* ========================================================================== 
   v4.1.4-Beta — Assistance, Base de connaissances et Confidentialité
   ========================================================================== */

.support-hero .actions .ghost{background:rgba(255,255,255,.94)}
.support-intro-grid,.privacy-policy-intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start}
.support-intro-grid h2,.privacy-policy-intro h2{margin:0;font-size:clamp(30px,3.2vw,46px);line-height:1.08;letter-spacing:-.035em}
.support-intro-copy,.privacy-policy-intro>div:last-child{padding-left:32px;border-left:3px solid var(--g)}
.support-intro-copy p,.privacy-policy-intro p{margin:0 0 14px;color:var(--muted);text-align:justify}.support-intro-copy p:last-child,.privacy-policy-intro p:last-child{margin-bottom:0}
.support-section-head{margin-bottom:32px}.support-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.support-service-card{display:flex;flex-direction:column;min-height:380px;padding:30px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(160deg,#fff,#f6faf4);box-shadow:0 16px 44px rgba(26,62,38,.08)}
.support-service-card--dark{background:linear-gradient(160deg,#173a25,#102b1b);color:#fff;border-color:#274d34}.support-service-card--dark p{color:#c9d6cd}.support-service-card--dark .support-kicker,.support-service-card--dark .support-text-link{color:#b9eea0}
.support-icon{display:grid;place-items:center;width:60px;height:60px;margin-bottom:28px;border-radius:17px;background:#edf5e9;color:var(--gd);font-size:28px;font-weight:900}.support-service-card--dark .support-icon{background:var(--g);color:#fff}
.support-kicker{color:var(--gd);font-size:12px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.support-service-card h3{margin:5px 0 12px;font-size:30px}.support-service-card p{margin:0 0 28px;color:var(--muted);font-size:15px;text-align:justify}.support-card-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:auto}.support-card-actions .btn{padding:11px 16px}.support-text-link{font-weight:900;color:var(--deep);text-decoration:none}
.support-resource-grid{display:grid;gap:12px}.support-resource-card{display:grid;grid-template-columns:70px 1fr 50px;gap:22px;align-items:center;padding:22px 26px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;transition:.18s}.support-resource-card:hover{transform:translateX(5px);box-shadow:0 16px 38px rgba(25,60,38,.10)}.support-resource-number{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#edf5e9;color:var(--gd);font-weight:900}.support-resource-card h3{margin:0 0 4px;font-size:21px}.support-resource-card p{margin:0;color:var(--muted);font-size:14px}.support-resource-arrow{display:grid;place-items:center;width:42px;height:42px;justify-self:end;border-radius:50%;background:var(--deep);color:#fff}
.support-contact-panel,.kb-help-panel{display:grid;grid-template-columns:72px 1fr auto;gap:28px;align-items:center;padding:36px 40px;border-radius:24px;background:linear-gradient(135deg,#173a25,#102b1b);color:#fff;box-shadow:0 22px 54px rgba(16,43,27,.18)}.support-contact-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:19px;background:rgba(106,189,69,.18);color:#b8ef9f;font-size:32px;font-weight:900}.support-contact-panel h2,.kb-help-panel h2{margin:0 0 8px;color:#fff;font-size:28px}.support-contact-panel p,.kb-help-panel p{margin:0;color:#c9d6cd;text-align:justify}.support-contact-button{background:var(--g);color:#fff;white-space:nowrap}

.kb-search-card{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:center;padding:30px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow)}.kb-search-card h2{margin:0;font-size:32px}.kb-search-box{display:flex;align-items:center;gap:12px;padding:13px 16px;border:2px solid #d9e7d5;border-radius:14px;background:#f9fbf8}.kb-search-box:focus-within{border-color:var(--g);box-shadow:0 0 0 4px rgba(106,189,69,.10)}.kb-search-box span{font-size:24px;color:var(--gd)}.kb-search-box input{width:100%;border:0;outline:0;background:transparent;font:inherit;color:var(--ink);font-size:16px}.kb-search-hint{grid-column:2;margin:0;color:var(--muted);font-size:13px}.kb-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.kb-category-card{display:flex;flex-direction:column;min-height:180px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);text-decoration:none}.kb-category-card b{color:var(--g);font-size:13px}.kb-category-card strong{margin:12px 0 6px;font-size:19px}.kb-category-card span{color:var(--muted);font-size:13px}.kb-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:48px;align-items:start}.kb-side-nav,.privacy-policy-nav{position:sticky;top:112px;display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:18px;background:#f8faf7}.kb-side-nav strong,.privacy-policy-nav strong{margin-bottom:10px}.kb-side-nav a,.privacy-policy-nav a{padding:8px 0;color:#536159;text-decoration:none;font-size:13px;font-weight:800;border-bottom:1px solid #e5ebe3}.kb-side-nav a:last-child,.privacy-policy-nav a:last-child{border-bottom:0}.kb-topic{scroll-margin-top:115px;margin-bottom:56px;padding-bottom:26px;border-bottom:1px solid var(--line)}.kb-topic h2{margin:0 0 14px;font-size:32px}.kb-topic details{padding:18px 0;border-bottom:1px solid var(--line)}.kb-topic details:last-child{border-bottom:0}.kb-topic summary{cursor:pointer;font-size:18px;font-weight:900}.kb-topic details p{color:var(--muted);text-align:justify}.kb-topic.kb-hidden{display:none}.kb-no-results{padding:30px;border-radius:18px;background:#f4f7f2;text-align:center}.kb-no-results strong{font-size:22px}.kb-help-panel{grid-template-columns:1fr auto}.kb-help-panel .eyebrow{color:#b7ed9d}

.faq-pro-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:60px;align-items:start}.faq-pro-intro{position:sticky;top:120px}.faq-pro-intro h2{font-size:38px;line-height:1.08;margin:0 0 18px}.faq-pro-intro p{color:var(--muted);text-align:justify}.faq-pro-list{max-width:none;margin:0}.faq-pro-list details{padding:22px 0}.faq-pro-list summary{font-size:19px}

.privacy-policy-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:50px;align-items:start}.privacy-policy-content{min-width:0}.privacy-policy-block{position:relative;scroll-margin-top:115px;padding:0 0 42px 62px;margin-bottom:42px;border-bottom:1px solid var(--line)}.privacy-policy-number{position:absolute;left:0;top:3px;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eaf4e6;color:var(--gd);font-weight:900}.privacy-policy-block h2{margin:0 0 16px;font-size:31px;line-height:1.15}.privacy-policy-block p,.privacy-policy-block li{color:#56655b;text-align:justify}.privacy-policy-block ul{padding-left:22px}.privacy-policy-block li{margin:8px 0}.privacy-compliance-note{margin-top:22px;padding:18px 20px;border-left:4px solid var(--g);border-radius:12px;background:#eef6ea}.privacy-compliance-note strong{color:var(--deep)}.privacy-compliance-note p{margin:5px 0 0}.privacy-policy-sources a{color:var(--gd);font-weight:800}

@media(max-width:1000px){.support-service-grid{grid-template-columns:1fr}.kb-category-grid{grid-template-columns:repeat(2,1fr)}.kb-layout,.privacy-policy-layout{grid-template-columns:1fr}.kb-side-nav,.privacy-policy-nav{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px}.faq-pro-layout{grid-template-columns:1fr}.faq-pro-intro{position:static}.support-contact-panel{grid-template-columns:64px 1fr}.support-contact-button{grid-column:1/-1;justify-self:start}}
@media(max-width:700px){.support-intro-grid,.privacy-policy-intro,.kb-search-card{grid-template-columns:1fr;gap:22px}.support-intro-copy,.privacy-policy-intro>div:last-child{padding-left:20px}.kb-search-hint{grid-column:1}.kb-category-grid{grid-template-columns:1fr}.kb-side-nav,.privacy-policy-nav{grid-template-columns:1fr}.support-resource-card{grid-template-columns:48px 1fr 38px;gap:14px;padding:18px}.support-contact-panel,.kb-help-panel{grid-template-columns:1fr;padding:28px 24px}.support-contact-button,.kb-help-panel .btn{width:100%}.privacy-policy-block{padding-left:0;padding-top:58px}.privacy-policy-number{top:0}}


/* ==========================================================================
   v4.1.6-Beta — Incident de confidentialité
   ========================================================================== */

.privacy-incident-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 58px;
    align-items: start;
}

.privacy-incident-grid p + p {
    margin-top: 16px;
}

.privacy-incident-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.privacy-incident-cards article {
    padding: 28px;
    border: 1px solid rgba(31, 63, 43, .12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(25, 57, 36, .06);
}

.privacy-incident-cards article > span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--green-dark, #43892b);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.privacy-incident-cards h3 {
    margin: 0 0 10px;
}

.privacy-incident-process-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.privacy-incident-process-grid article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 24px 26px;
    border: 1px solid rgba(31, 63, 43, .11);
    border-radius: 16px;
    background: rgba(255, 255, 255, .76);
}

.privacy-incident-process-grid article > strong {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #6abd45;
    color: #ffffff;
    font-size: 20px;
}

.privacy-incident-process-grid h3 {
    margin: 0 0 6px;
}

.privacy-incident-process-grid p {
    margin: 0;
}

.privacy-incident-contact .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.privacy-incident-contact h2,
.privacy-incident-contact p {
    color: #ffffff;
}

.privacy-incident-contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 900px) {
    .privacy-incident-grid,
    .privacy-incident-cards {
        grid-template-columns: 1fr;
    }

    .privacy-incident-contact .wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .privacy-incident-contact-actions {
        justify-content: flex-start;
    }
}


/* ==========================================================================
   v4.1.8-Beta — Alignements et finition visuelle
   ========================================================================== */

.cards .num {
    min-height: 18px;
}

.analysis-choice-section .analysis-choice-action {
    margin: 30px 0 0;
    text-align: center;
}

.analysis-choice-section .analysis-choice-action .btn {
    min-width: min(100%, 330px);
}

.privacy-incident-contact {
    background: linear-gradient(135deg, #102b1b 0%, #173a25 100%);
}

.privacy-incident-contact .wrap {
    display: block;
}

.privacy-officer-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 42px;
    align-items: center;
    padding: 38px 42px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .20);
}

.privacy-officer-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--gd);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
}

.privacy-incident-contact .privacy-officer-identity h2 {
    margin: 0 0 6px;
    color: var(--deep) !important;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
}

.privacy-incident-contact .privacy-officer-role {
    margin: 0 0 18px;
    color: #33483a !important;
    font-size: 17px;
    font-weight: 800;
    text-align: left;
}

.privacy-incident-contact .privacy-officer-note {
    max-width: 720px;
    margin: 0;
    color: #5a685e !important;
    font-size: 14px;
    line-height: 1.7;
}

.privacy-officer-actions {
    display: grid;
    gap: 11px;
}

.privacy-officer-action {
    display: flex;
    min-height: 76px;
    padding: 16px 18px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #d7e4d3;
    border-radius: 14px;
    background: #f5f9f3;
    color: var(--deep);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.privacy-officer-action:hover {
    transform: translateY(-2px);
    border-color: var(--g);
    box-shadow: 0 12px 28px rgba(31, 72, 42, .10);
}

.privacy-officer-action.primary-action {
    border-color: var(--g);
    background: var(--g);
    color: #ffffff;
}

.privacy-officer-action span {
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .78;
}

.privacy-officer-action strong {
    font-size: 20px;
}

.privacy-officer-policy {
    display: inline-flex;
    justify-content: center;
    padding: 10px 4px 0;
    color: var(--gd);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.privacy-officer-policy:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .privacy-officer-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 700px) {
    .cards article { min-height: 0; }
    .cards h3,
    .cards p,
    .service-long h3,
    .service-long p { min-height: 0; }
    .privacy-officer-card { padding: 24px 20px; }
}


/* ==========================================================================
   v4.1.9-Beta — Alignements, lisibilité et Espace membre
   ========================================================================== */

/* Accueils : le bouton « En savoir plus » est centré dans chaque carte. */
.cards .info-button {
    align-self: center;
}

/* --------------------------------------------------------------------------
   Nos services — corps de texte, listes et boutons
   -------------------------------------------------------------------------- */
.services-page .service-long p,
.services-page .service-long li {
    font-size: 16px;
    line-height: 1.68;
}

.services-page .service-long p {
    min-height: 108px;
    margin: 0 0 18px;
}

.services-page .service-long ul {
    flex: 1;
    margin: 0 0 26px;
    padding-left: 22px;
    color: #4e5d52;
    font-size: 16px;
    line-height: 1.68;
}

.services-page .service-long li + li {
    margin-top: 4px;
}

.services-page .service-long .service-button {
    align-self: center;
    margin-top: auto;
}

.services-page .service-detail p,
.services-page .service-detail li {
    font-size: 16px;
    line-height: 1.7;
}

/* Bloc final CNESST : appel à l'action plus visible et structuré. */
.services-cnesst-section {
    padding-top: 58px;
    padding-bottom: 72px;
}

.services-cnesst-callout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    gap: 40px;
    align-items: stretch;
    padding: 38px 40px;
    border: 1px solid #bfd5b7;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(24, 58, 36, .12);
}

.services-cnesst-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-cnesst-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.08;
}

.services-cnesst-copy p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    text-align: justify;
}

.services-cnesst-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #173a25, #102b1b);
    color: #ffffff;
}

.services-cnesst-action > span {
    margin-bottom: 7px;
    color: #b7ed9d;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.services-cnesst-action strong {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.15;
}

.services-cnesst-action p {
    margin: 0 0 22px;
    color: #c9d6cd;
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
}

.services-cnesst-action .btn {
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Espace membre — lisibilité
   -------------------------------------------------------------------------- */
.client-section-head > p {
    font-size: 17px;
    line-height: 1.7;
}

.client-service-card p {
    font-size: 16px;
    line-height: 1.68;
}

.client-card-action {
    font-size: 16px;
}

.client-resource-card p {
    font-size: 16px;
    line-height: 1.55;
}

.client-intro-copy p {
    font-size: 16px;
    line-height: 1.7;
}

.client-security-panel p {
    font-size: 15.5px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Analyse CNESST — cartes et boutons parfaitement alignés
   -------------------------------------------------------------------------- */
.analysis-choice-section .feature {
    display: flex;
    flex-direction: column;
}

.analysis-choice-section .feature > p:not(.analysis-choice-action) {
    margin-bottom: 0;
}

.analysis-choice-section .analysis-choice-action {
    margin-top: auto;
    padding-top: 30px;
}

.analysis-choice-section .analysis-choice-action .btn {
    width: min(100%, 370px);
    min-height: 76px;
    padding: 14px 22px;
    line-height: 1.35;
    text-align: center;
}

.analysis-choice-section .section-head > p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .services-cnesst-callout {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .services-page .service-long p {
        min-height: 0;
    }

    .services-cnesst-callout {
        padding: 24px 20px;
    }

    .services-cnesst-action {
        padding: 24px 20px;
    }

    .services-cnesst-action .btn {
        width: 100%;
    }
}


/* ==========================================================================
   MPPME v4.4.2-Beta — alignement des actions du menu
   ========================================================================== */
.nav-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.nav-actions > a.client,
.nav-actions > a.analysis-nav,
.nav-actions > a.support-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 176px;
    min-height: 52px;
    padding: 10px 16px;
    text-align: center;
    border-radius: 12px;
}

.nav-actions > a.client {
    background: #fff;
    border: 1px solid rgba(22, 58, 37, .16);
    color: var(--deep);
}

.nav-actions > a.analysis-nav {
    background: var(--g);
    color: #173a25;
}

.nav-actions > a.support-nav {
    background: #c93239;
    color: #fff;
}

.nav-action-label,
.nav-action-main,
.nav-actions > a.support-nav {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nav-action-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    gap: 2px;
}

.nav-action-stack small {
    font-size: 11px;
    letter-spacing: .06em;
}

@media (max-width: 980px) {
    .nav-actions > a.client,
    .nav-actions > a.analysis-nav,
    .nav-actions > a.support-nav {
        min-width: 0;
        max-width: none;
    }
}


/* ==========================================================================
   MPPME v4.4.3-Beta — Base de connaissances
   ========================================================================== */

.kb-search-section {
    padding-bottom: 34px;
}

.kb-articles-section {
    padding-top: 34px;
    padding-bottom: 68px;
}

.kb-articles-section .kb-layout {
    margin-top: 0;
}

.kb-topic:last-of-type {
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.kb-help-panel--attached {
    width: min(930px, calc(100% - 298px));
    margin: 14px 0 0 auto;
    padding: 28px 30px;
    border-radius: 22px;
}

.kb-help-panel--attached h2 {
    font-size: 27px;
}

.kb-help-panel--attached p {
    max-width: 690px;
}

@media (max-width: 1000px) {
    .kb-help-panel--attached {
        width: 100%;
        margin-top: 20px;
    }
}
