:root {
    color-scheme:light;
    font-family:Georgia,"Times New Roman",serif;
    color:#31342f;
    background:#f7f5f0;
}
* {
    box-sizing:border-box;
}
html {
    scroll-behavior:smooth;
}
body {
    margin:0;
    font-size:15.5px;
    line-height:1.75;
}
a {
    color:#8d6038;
    text-underline-offset:3px;
    overflow-wrap:anywhere;
}
a:focus-visible {
    outline:3px solid #b58653;
    outline-offset:3px;
}

/* En-tête et navigation */
.site-header {
    background:#fbfaf7;
    border-bottom:1px solid #e7e0d6;
}
.site-header::before {
    content:"";
    display:block;
    height:4px;
    background:linear-gradient(90deg,#233d3a 65%,#b58653 65%);
}
.site-header-inner {
    max-width:1360px;
    min-height:108px;
    margin:auto;
    padding:20px 48px;
    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:48px;
    height:48px;
    border-radius:50%;
    background:#24433d;
    color:#f9f3e8;
    font:800 16px Consolas,monospace;
}
.brand-text {
    color:#203b37;
    font-size:23px;
    font-weight:750;
    letter-spacing:-.8px;
    line-height:1.2;
}
.brand-text>span {
    color:#b1804d;
}
.brand-text small {
    display:block;
    margin-top:4px;
    color:#8c8d84;
    font:500 10px "Segoe UI",Arial,sans-serif;
    letter-spacing:1px;
    text-transform:uppercase;
}
.page-links {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px;
    font:12px "Segoe UI",Arial,sans-serif;
}
.page-links a {
    padding:10px 9px;
    color:#4f5c55;
    letter-spacing:.15px;
    text-decoration:none;
    white-space:nowrap;
}
.page-links a:hover {
    color:#a56d39;
    box-shadow:inset 0 -2px #b58653;
}
.page-links .bouton-devis {
    padding:0;
    line-height:0;
}
.bouton-devis img {
    display:block;
    width:115px;
    height:auto;
}
.bouton-devis:active img {
    content:url("../images/bouton-devis-off.png");
}
.page-links .bouton-devis:hover {
    box-shadow:none;
}
body::after {
    background: url("../images/bouton-devis-off.png") no-repeat; content: ""; position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }


/* Contenu */
main {
    max-width:1080px;
    margin:34px auto 42px;
    padding:0 56px 40px;
    background:#fff;
    border:1px solid #ece5d9;
    border-radius:2px;
    box-shadow:0 20px 60px rgba(50,49,35,.045);
}
.back {
    display:inline-block;
    margin-top:27px;
    font:650 13px "Segoe UI",Arial,sans-serif;
    text-decoration:none;
}
.hero {
    padding:30px 0;
    border-bottom:1px solid #e6ecf2;
}
.eyebrow {
    margin:0 0 13px;
    color:#ad8050;
    font:750 11px "Segoe UI",Arial,sans-serif;
    letter-spacing:2.3px;
    text-transform:uppercase;
}
h1 {
    max-width:760px;
    margin:0 0 15px;
    color:#233c36;
    font-size:clamp(30px,4.3vw,48px);
    font-weight:500;
    line-height:1.14;
    letter-spacing:-1.4px;
}
.updated {
    margin:0;
    color:#708195;
    font:13px "Segoe UI",Arial,sans-serif;
}

/* Pied de page */
.site-footer {
    position:relative;
    background:#233d37;
    color:#c5d1ca;
}
.site-footer::before {
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:5px;
    background:linear-gradient(90deg,#b58653,#ddbd8f,#b58653);
}
.footer-inner {
    max-width:1360px;
    margin:auto;
    padding:80px 48px 0;
}
.footer-top {
    display:grid;
    grid-template-columns:minmax(250px,.85fr) minmax(0,1.65fr);
    gap:90px;
    padding-bottom:56px;
}
.footer-brand {
    color:#fff;
    font-size:30px;
    font-weight:500;
    letter-spacing:-.9px;
    text-decoration:none;
}
.footer-brand span:first-child,.footer-dot {
    color:#e0bb8a;
}
.footer-brand:hover {
    color:#6956b1;
}
.footer-about p {
    max-width:310px;
    margin:14px 0 0;
    color:#c4d0c8;
    font:14px/1.8 "Segoe UI",Arial,sans-serif;
}
.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;
}
.footer-column h2 {
    margin:3px 0 12px;
    color:#dfbc8c;
    font:750 11px "Segoe UI",Arial,sans-serif;
    letter-spacing:2px;
    text-transform:uppercase;
}
.footer-column a {
    color:#d2dbd5;
    font:13px/1.5 "Segoe UI",Arial,sans-serif;
    text-decoration:none;
}
.footer-column a:hover,.footer-column a[aria-current="page"],.footer-bottom a:hover {
    color:#e5bc83;
}
.footer-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
    padding:23px 0 27px;
    border-top:1px solid rgba(255,255,255,.12);
    color:#a5b6ac;
    font:12px "Segoe UI",Arial,sans-serif;
}
.footer-bottom a {
    color:#f4e8d5;
    font-weight:650;
    text-decoration:none;
}

/* Élément cookie choice */
.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; }

/* Survol du lien d'information */
.cc-panel a:hover {
    text-decoration: underline;
    color: #184e83;
}
/* Survol des boutons */
.cc-actions button:hover {
    filter: brightness(0.92);
}
/* Navigation au clavier sur les boutons */
.cc-actions button:focus-visible {
    outline: 3px solid #8268f0;
    outline-offset: 3px;
}
/* Navigation au clavier sur les cases à cocher */
.cc-toggle input:focus-visible {
    outline: 3px solid #8268f0;
    outline-offset: 3px;
}


/* Élément de partage */
#sharethis-refused {
    position:fixed;
    top:50%;
    left:0;
    z-index:9999;
    transform:translateY(-50%);
    background:#f7f7f7;
    border:1px solid #d1d1d1;
    border-left:0;
}
#sharethis-refused a {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    padding:12px 10px;
    color:#d32f2f;
    text-decoration:none;
    font:bold 15px/1.5 Arial,sans-serif;
}
#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:#eee;
}
#sharethis-refused a:focus-visible {
    outline:2px solid #d32f2f;
    outline-offset:-3px;
}


/* Éléments en vrac */
p { margin:0 0 14px; }
p:last-child { margin-bottom:0; }
strong { color:#243d55; }
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 {
    margin:0 0 18px;
    font-size:22px;
    line-height:1.35;
    letter-spacing:-.3px;
    color:#28483f;
    font-family:Georgia,serif;
    font-weight:500;
}
h2::before {
    content:"";
    display:inline-block;
    height:21px;
    border-radius:4px;
    vertical-align:-4px;
    margin-right:13px;
    background:#bc905c;
    width:3px;
}
h3 {
    margin:27px 0 13px;
    font-size:17px;
    color:#31544a;
}
.site-footer .footer-column h2::before {
    display: none;
}







/* Adaptation aux écrans étroits */
@media(max-width:1120px) {
    .site-header-inner {
        flex-wrap:wrap;
        gap:14px;
        padding:17px 26px;
    }
    .page-links {
        width:100%;
        justify-content:flex-start;
    }
}
@media(max-width:750px) {
    main {
        margin:0;
        padding:0 22px 28px;
        border:0;
        border-radius:0;
        box-shadow:none;
    }
    .hero {
        padding:24px 0;
    }
    h1 {
        letter-spacing:-.8px;
    }
}
@media(max-width:700px) {
    .site-header-inner {
        padding:16px 20px 12px;
    }
    .page-links {
        flex-wrap:nowrap;
        overflow-x:auto;
        padding:4px 0 9px;
        scrollbar-width:thin;
    }
    .page-links a {
        flex-shrink:0;
    }
    .footer-inner {
        padding:52px 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;
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
}
