/* Design modernisé, sans dépendance externe */
:root {
    color-scheme:light;
    font-family:"Segoe UI",Arial,sans-serif;
    color:#293a4b;
    background:#f1f5f9;
}
* {
    box-sizing:border-box;
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:28px;
}
body {
    margin:0;
    line-height:1.75;
    font-size:15.5px;
}
a {
    color:#16688e;
    text-underline-offset:3px;
    overflow-wrap:anywhere;
}
a:hover {
    color:#0b4765;
}
a:focus-visible {
    outline:3px solid #d5a14d;
    outline-offset:3px;
}
main {
    max-width:1100px;
    margin:32px auto 64px;
    padding:0 56px 40px;
    background:white;
    border:1px solid #e0e8f0;
    border-radius:18px;
    box-shadow:0 15px 50px rgba(30,52,76,.07);
}
.page-links {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:4px 7px;
    margin:0 -56px;
    padding:17px 48px;
    border-bottom:1px solid #e6edf3;
    font-size:13px;
}
.page-links a {
    padding:7px 10px;
    border-radius:7px;
    color:#536579;
    text-decoration:none;
    font-weight:600;
}
.page-links a:hover {
    background:#f0f6fa;
}
.page-links a[aria-current="page"] {
    background:#e6f2f8;
    color:#155d81;
}
.back {
    display:inline-block;
    margin-top:27px;
    font-size:13px;
    font-weight:650;
    text-decoration:none;
}
.hero {
    padding:30px 0;
    border-bottom:1px solid #e6ecf2;
}
.eyebrow {
    margin:0 0 13px;
    font-size:11px;
    font-weight:750;
    text-transform:uppercase;
    letter-spacing:2.3px;
    color:#237da4;
}
h1 {
    max-width:760px;
    margin:0 0 15px;
    font-size:clamp(30px,4.3vw,48px);
    line-height:1.14;
    letter-spacing:-1.4px;
    color:#182f48;
}
.updated {
    margin:0;
    font-size:13px;
    color:#708195;
}
.draft {
    margin:26px 0;
    padding:17px 21px;
    border:1px solid #eedbb5;
    border-left:4px solid #c18a36;
    border-radius:8px;
    background:#fffbf3;
    color:#70502c;
    font-size:13.5px;
}
.toc {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    padding:22px 0 25px;
    border-bottom:1px solid #e7edf3;
}
.toc-label {
    margin-right:10px;
    color:#607388;
    font-weight:750;
    font-size:12px;
}
.toc a {
    padding:7px 13px;
    border:1px solid #dfe9f1;
    border-radius:999px;
    background:#f8fbfd;
    color:#335a73;
    font-size:12.5px;
    font-weight:600;
    text-decoration:none;
}
.toc a:hover {
    background:#e8f3f8;
    border-color:#bfd7e6;
}
main > section {
    padding:28px 0;
    border-bottom:1px solid #e9eef3;
}
main > section:last-of-type {
    border-bottom:0;
}
h2 {
    margin:0 0 18px;
    color:#1a354e;
    font-size:22px;
    line-height:1.35;
    letter-spacing:-.3px;
}
h2::before {
    content:"";
    display:inline-block;
    width:4px;
    height:21px;
    background:#2783a7;
    border-radius:4px;
    vertical-align:-4px;
    margin-right:13px;
}
h3 {
    margin:27px 0 13px;
    color:#274660;
    font-size:17px;
}
p {
    margin:0 0 14px;
}
p:last-child {
    margin-bottom:0;
}
strong {
    color:#243d55;
}
dl {
    display:grid;
    grid-template-columns:minmax(165px,215px) minmax(0,1fr);
    margin:23px 0;
    border:1px solid #e5ebf1;
    border-radius:11px;
    overflow:hidden;
}
dt,dd {
    padding:12px 16px;
    border-bottom:1px solid #e8edf2;
}
dt {
    background:#f6f9fc;
    font-size:13px;
    font-weight:700;
    color:#52677b;
}
dd {
    margin:0;
    min-width:0;
    overflow-wrap:anywhere;
}
dt:last-of-type,dd:last-of-type {
    border-bottom:0;
}
.table-wrap {
    overflow-x:auto;
    margin:22px 0;
    border:1px solid #dfe7ef;
    border-radius:11px;
}
table {
    width:100%;
    min-width:640px;
    border-collapse:collapse;
    font-size:13.5px;
    line-height:1.65;
}
th,td {
    padding:15px 16px;
    text-align:left;
    vertical-align:top;
    border-bottom:1px solid #e5ebf1;
}
th {
    background:#24445f;
    color:white;
    font-size:12.5px;
    font-weight:700;
}
td+td,th+th {
    border-left:1px solid #e3eaf0;
}
tbody tr:nth-child(even) {
    background:#f7fafd;
}
tbody tr:last-child td {
    border-bottom:0;
}
td:first-child {
    font-weight:700;
    color:#304d65;
}
ul {
    margin:12px 0;
    padding-left:25px;
}
li {
    margin:8px 0;
    padding-left:4px;
}
li::marker {
    color:#2b86a7;
}
code {
    padding:2px 5px;
    background:#edf3f7;
    border-radius:4px;
}
footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
    margin-top:22px;
    padding-top:25px;
    border-top:1px solid #e7edf3;
    color:#718195;
    font-size:12px;
}
footer a {
    font-weight:650;
    text-decoration:none;
}
@media(max-width:750px) {
    body {
        font-size:15px;
    }
    main {
        margin:0;
        padding:0 22px 28px;
        border:0;
        border-radius:0;
        box-shadow:none;
    }
    .page-links {
        margin:0 -22px;
        padding:12px 16px;
        gap:2px;
    }
    .page-links a {
        font-size:12px;
        padding:6px 8px;
    }
    .hero {
        padding:24px 0;
    }
    h1 {
        letter-spacing:-.8px;
    }
    .toc-label {
        flex-basis:100%;
    }
    main>section {
        padding:24px 0;
    }
    h2 {
        font-size:20px;
    }
    dl {
        display:block;
    }
    dt {
        border-bottom:0;
        padding:10px 14px 2px;
    }
    dd {
        padding:0 14px 11px;
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
}
/* ===== Navigation et pied de page : nouvelle identité visuelle ===== */
body {
    background: #f4f7fa;
}
.site-header {
    position: relative;
    z-index: 2;
    background: #102338;
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 8px 24px rgba(8,24,40,.13);
}
.site-header-inner {
    max-width: 1300px;
    min-height: 90px;
    margin: auto;
    padding: 15px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(106,214,220,.55);
    border-radius: 12px;
    color: #74d6db;
    background: rgba(116,214,219,.10);
    font-family: Consolas, monospace;
    font-size: 17px;
    font-weight: 800;
}
.brand-text {
    display: block;
    color: #fff;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -.7px;
    line-height: 1.2;
}
.brand-text > span {
    color: #7bd8dd;
}
.brand-text small {
    display: block;
    margin-top: 4px;
    color: #a8b9c8;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .45px;
}
.site-header .page-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 3px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
}
.site-header .page-links a {
    color: #c9d6e1;
    border-radius: 8px;
    padding: 10px 11px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
}
.site-header .page-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.10);
}
.site-header .page-links .nav-cta {
    background: linear-gradient(115deg, #8268f0, #b296ff);
    color: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 6px 18px rgba(115, 83, 227, .24);
}
.site-header .page-links .nav-cta:hover {
    background: linear-gradient(115deg, #937cf6, #c1a9ff);
    color: #fff;
}
.site-header .nav-cta span {
    padding-left: 5px;
}
main {
    margin-top: 34px;
    margin-bottom: 42px;
}
.site-footer {
    background: #102338;
    color: #b7c6d3;
}
.footer-inner {
    max-width: 1300px;
    margin: auto;
    padding: 62px 34px 0;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(240px,1fr) minmax(0,1.65fr);
    gap: 60px;
    padding-bottom: 56px;
}
.footer-brand {
    color: #fff;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -.9px;
    text-decoration: none;
}
.footer-brand span:first-child {
    color: #7bd8dd;
}
.footer-dot {
    color: #7bd8dd;
}
.footer-about p {
    max-width: 310px;
    margin-top: 14px;
    color: #a7b7c7;
    font-size: 14px;
    line-height: 1.8;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}
.site-footer .footer-column h2 {
    color: #fff;
    font-size: 13px;
    margin: 3px 0 12px;
    letter-spacing: .5px;
}
.site-footer .footer-column h2::before {
    display: none;
}
.footer-column a {
    color: #adbfcd;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.5;
}
.footer-column a:hover, .footer-bottom a:hover {
    color: #8be4e6;
}
.footer-column a[aria-current="page"] {
    color: #8be4e6;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 23px 0 27px;
    color: #879dae;
    font-size: 12px;
}
.footer-bottom a {
    color: #d7e5ed;
    text-decoration: none;
    font-weight: 650;
}
@media (max-width: 1120px) {
    .site-header-inner {
        flex-wrap: wrap;
        gap: 14px;
        padding: 17px 26px;
    }
    .site-header .page-links {
        width: 100%;
        justify-content: flex-start;
    }
}
@media (max-width: 700px) {
    .site-header-inner {
        padding: 16px 20px 12px;
    }
    .site-header .page-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px 0 9px;
        scrollbar-width: thin;
    }
    .site-header .page-links a {
        flex-shrink: 0;
    }
    .site-header .page-links .nav-cta {
        margin-left: 4px;
    }
    .footer-inner {
        padding: 42px 22px 0;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 35px;
    }
    .footer-nav {
        grid-template-columns: repeat(2,minmax(0,1fr));
        row-gap: 30px;
    }
    .footer-bottom {
        justify-content: flex-start;
        gap: 12px 20px;
    }
    main {
        margin-top: 0;
        margin-bottom: 0;
    }
}
/* VERSION 2 : Atelier Ivoire, luxe éditorial et accents cuivre */
:root {
    background:#f7f5f0;
    color:#31342f;
    font-family:Georgia,"Times New Roman",serif;
}
body {
    background:#f7f5f0;
}
.site-header {
    background:#fbfaf7;
    border-bottom:1px solid #e7e0d6;
    box-shadow:none;
}
.site-header::before {
    content:"";
    display:block;
    height:4px;
    background:linear-gradient(90deg,#233d3a 0%,#233d3a 65%,#b58653 65%,#b58653 100%);
}
.site-header-inner {
    max-width:1360px;
    min-height:108px;
    padding:20px 48px;
}
.brand-mark {
    width:48px;
    height:48px;
    background:#24433d;
    color:#f9f3e8;
    border:0;
    border-radius:50%;
    font-size:16px;
}
.brand-text {
    color:#203b37;
    font-family:Georgia,serif;
    font-size:23px;
    letter-spacing:-.8px;
}
.brand-text>span {
    color:#b1804d;
}
.brand-text small {
    color:#8c8d84;
    font-family:"Segoe UI",Arial,sans-serif;
    font-size:10px;
    letter-spacing:1px;
    text-transform:uppercase;
}
.site-header .page-links {
    gap:7px;
}
.site-header .page-links a {
    color:#4f5c55;
    font-family:"Segoe UI",Arial,sans-serif;
    font-size:12px;
    letter-spacing:.15px;
    border-radius:0;
    padding:10px 9px;
}
.site-header .page-links a:hover {
    background:transparent;
    color:#a56d39;
    box-shadow:inset 0 -2px #b58653;
}
.site-header .page-links .nav-cta {
    background:#24433d;
    color:#fff;
    border-radius:3px;
    padding:13px 19px;
    letter-spacing:.25px;
}
.site-header .page-links .nav-cta:hover {
    background:#355b52;
    color:#fff;
    box-shadow:none;
}
main {
    border:1px solid #ece5d9;
    box-shadow:0 20px 60px rgba(50,49,35,.045);
    border-radius:2px;
    max-width:1080px;
}
h1 {
    font-family:Georgia,serif;
    font-weight:500;
    letter-spacing:-1.4px;
    color:#233c36;
}
h2 {
    color:#28483f;
    font-family:Georgia,serif;
    font-weight:500;
}
h2::before {
    background:#bc905c;
    width:3px;
}
h3 {
    color:#31544a;
}
.eyebrow {
    color:#ad8050;
}
.toc a {
    border-radius:3px;
    background:#fbf9f4;
    border-color:#e6ded1;
    color:#4a6259;
}
.toc a:hover {
    background:#f3eadd;
    border-color:#d5bda2;
}
.draft {
    background:#fffaf0;
    border-color:#e5d7bf;
    border-left-color:#b58653;
}
dt {
    background:#faf8f4;
}
th {
    background:#2c4c43;
}
tbody tr:nth-child(even) {
    background:#faf9f6;
}
a {
    color:#8d6038;
}
.site-footer {
    background:#233d37;
    color:#c5d1ca;
    position:relative;
}
.site-footer::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg,#b58653,#ddbd8f,#b58653);
}
.footer-inner {
    max-width:1360px;
    padding:80px 48px 0;
}
.footer-top {
    grid-template-columns:minmax(250px,.85fr) minmax(0,1.65fr);
    gap:90px;
}
.footer-brand {
    font-family:Georgia,serif;
    font-size:30px;
    font-weight:500;
}
.footer-brand span:first-child,.footer-dot {
    color:#e0bb8a;
}
a.footer-brand:hover {
    color: #6956b1 !important;
}

.footer-about p {
    color:#c4d0c8;
}
.site-footer .footer-column h2 {
    font-family:"Segoe UI",Arial,sans-serif;
    font-size:11px;
    font-weight:750;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#dfbc8c;
}
.footer-column a {
    color:#d2dbd5;
    font-family:"Segoe UI",Arial,sans-serif;
    font-size:13px;
}
.footer-column a:hover,.footer-bottom a:hover {
    color:#e5bc83;
}
.footer-column a[aria-current="page"] {
    color:#e5bc83;
}
.footer-bottom {
    color:#a5b6ac;
    font-family:"Segoe UI",Arial,sans-serif;
}
.footer-bottom a {
    color:#f4e8d5;
}
@media(max-width:700px) {
    .site-header-inner {
        padding:16px 20px;
    }
    .footer-inner {
        padding:52px 22px 0;
    }
    main {
        border:0;
    }
}

a.nav-cta,
a.nav-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 22px;
    background: linear-gradient(115deg, #8268f0, #b296ff) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(115, 83, 227, 0.24);
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.nav-cta:hover {
    background: linear-gradient(115deg, #937cf6, #c1a9ff) !important;
    color: #ffffff !important;
    box-shadow: 0 9px 24px rgba(115, 83, 227, 0.35);
    transform: translateY(-2px);
}

a.nav-cta span {
    font-size: 19px;
    line-height: 1;
}
a:has(> img):hover,
a:has(> img):focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
a:has(> img) img {
    display: block;
    border: none;
    text-decoration: none;
}

.bouton-devis {
    display: inline-block;
    line-height: 0;
}
.bouton-devis img {
    display: block;
    width: 115px;
    height: auto;
}
.bouton-devis:active img {
    content: url("../images/bouton-devis-off.png");
}
.cc-overlay { position: fixed; inset: 0; z-index: 999999; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-panel { box-sizing: border-box; background: #fff; color: #222; width: min(100%, 540px); max-height: 90vh; overflow: auto; padding: 24px; border-radius: 12px; box-shadow: 0 12px 45px rgba(0,0,0,.3); font: 15px/1.5 Glacial,Arial,sans-serif; }
.cc-panel h2 { font-size: 21px; margin: 0 0 10px; }
.cc-panel p { margin: 0 0 16px; }
.cc-prefs { display: grid; gap: 12px; margin: 15px 0; }
.cc-toggle { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.cc-toggle input { width: 18px; height: 18px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc-actions button { flex: 1 1 125px; border: 1px solid #777; background: #f7f7f7; color: #111; border-radius: 6px; padding: 10px; cursor: pointer; }
.cc-actions button:last-child { background: #184e83; color: #fff; border-color: #184e83; }

#sharethis-refused {
    position: fixed;
    top: 50%;
	left: 0;
	right: auto;
    transform: translateY(-50%);
    z-index: 9999;
    background: #f7f7f7;
    border: 1px solid #d1d1d1;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
}
#sharethis-refused a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    color: #d32f2f;
    text-decoration: none;
	font: 15px/1.5 Arial,sans-serif;
    font-weight: bold;
}
#sharethis-refused svg {
    width: 24px;
    height: 24px;
    fill: #d32f2f;
    stroke: #d32f2f;
    stroke-width: 2;
}
#sharethis-refused span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
#sharethis-refused a:hover {
    background: #eeeeee;
}
#sharethis-refused a:focus-visible {
    outline: 2px solid #d32f2f;
    outline-offset: -3px;
}

body::after {
    background: url("../images/bouton-devis-off.png") no-repeat; content: ""; position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
