/* Exemple « Maison de soin » — personnalisation locale Jia Xing, 5 décembre 2026. */
:root {
    --br-fond: #f6f2ea;
    --br-papier: #fffdf8;
    --br-encre: #16352e;
    --br-celadon: #cddbd1;
    --br-celadon-clair: #e8eee8;
    --br-corail: #a94e38;
    --br-corail-fonce: #823725;
    --br-brume: #87aaa2;
    --br-discret: #53675f;
    --br-ligne: #cbd5cd;
    --br-largeur: 82rem;
}

body { background: var(--br-fond); }
h1, h2, h3, h4 { text-wrap: balance; }
.jx-page-tete h1, .jx-soin-hero h1 {
    font-family: var(--br-serif);
    font-weight: 400;
    letter-spacing: -.045em;
}
.jx-entete {
    border-bottom-color: rgba(22, 53, 46, .16);
    background: rgba(246, 242, 234, .97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.jx-entete-ligne { min-height: 6rem; }
.jx-marque { gap: .8rem; }
.jx-marque strong {
    font-family: var(--br-serif);
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
}
.jx-marque small { margin-top: .15rem; font-size: .6rem; letter-spacing: .17em; }
.jx-trace { width: 2.65rem; height: 2.65rem; }
.jx-trace rect { fill: var(--br-encre); }
.jx-trace path { stroke: var(--br-celadon); }
.jx-navigation .mod-menu a { font-size: .73rem; letter-spacing: .11em; }
.jx-navigation .mod-menu a::after { bottom: .15rem; height: 2px; }
.jx-entete-appel, .jx-bouton, .jx-bouton-secondaire, a.jx-bouton, a.jx-bouton-secondaire, button.jx-bouton {
    border-radius: 2px;
}
.jx-entete-appel { min-height: 3.4rem; padding-inline: 1.25rem; }
.jx-bouton, .jx-bouton-secondaire, a.jx-bouton, a.jx-bouton-secondaire, button.jx-bouton {
    min-height: 3.65rem;
    padding-inline: 1.45rem;
    letter-spacing: .075em;
}
.jx-bouton:hover, a.jx-bouton:hover { box-shadow: 0 .35rem 1rem rgba(22, 53, 46, .12); }
.jx-menu-bouton { border-radius: 2px; }

.br-hero {
    position: relative;
    padding-block: clamp(3rem, 6vw, 6rem) clamp(4.5rem, 8vw, 7.5rem);
    background: var(--br-encre);
    color: var(--br-fond);
}
.br-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, .035), transparent 48%);
}
.br-hero h1 { color: var(--br-papier); font-family: var(--br-serif); font-weight: 400; letter-spacing: -.055em; }
.br-hero h1 span:nth-child(2) { margin-left: clamp(.75rem, 3vw, 2.75rem); }
.br-hero h1 em { margin-left: 0; color: #efb39d; font-style: italic; }
.br-hero-repere { color: #d5e0da; letter-spacing: .18em; }
.br-hero-photo { margin: 0; }
.br-hero-photo img { filter: saturate(.82) contrast(1.02); }
.br-hero-photo figcaption { background: var(--br-papier); color: var(--br-encre); }
.br-hero-preuve strong { font-family: var(--br-serif); font-weight: 400; }
.br-hero :focus-visible, .br-avis :focus-visible, .jx-pied :focus-visible { outline-color: #efb39d; }

.br-manifeste { background: var(--br-papier); }
.br-manifeste-grille { grid-template-columns: .95fr 1.05fr; }
.br-manifeste h2, .br-section-tete h2, .br-avis h2, .br-contact h2, .br-faq h2 {
    font-family: var(--br-serif);
    font-weight: 400;
    letter-spacing: -.05em;
}
.br-manifeste h2 span:nth-child(2) { color: var(--br-corail); }
.br-manifeste h2 span:nth-child(3) { font-style: italic; }
.br-manifeste-intro > p { font-size: clamp(1.12rem, 1rem + .35vw, 1.35rem); line-height: 1.65; }
.br-fait { grid-template-columns: 3rem 1fr; padding-block: 1.4rem; }
.br-fait > span { font-family: var(--br-serif); font-size: 1rem; font-weight: 400; }
.br-fait h3 { font-weight: 650; }

.br-soins { background: var(--br-celadon-clair); }
.br-section-tete { margin-bottom: clamp(2rem, 5vw, 4rem); }
.br-section-tete > div:last-child { padding-left: 1.5rem; border-left: 2px solid var(--br-corail); }
.br-soins-liste { border-top-color: var(--br-encre); }
.br-soin-ligne { min-height: 10.5rem; padding-inline: .75rem; transition: background-color .18s ease; }
.br-soin-ligne:hover { background: rgba(255, 253, 248, .72); }
.br-soin-numero { font-family: var(--br-serif); font-size: .95rem; font-weight: 400; }
.br-soin-vignette { width: 9.5rem; height: 7.25rem; border-radius: 2px; filter: saturate(.82); }
.br-soin-ligne h3 { font-family: var(--br-serif); font-weight: 400; }
.br-soin-prix strong { font-family: var(--br-serif); font-size: 1.4rem; font-weight: 400; }
.br-lien { text-decoration-thickness: 1px; }
.br-lien:hover { color: var(--br-corail); }

.br-avis { background: #1c4137; }
.br-avis-grille { grid-template-columns: .85fr 1.15fr; }
.br-avis-note { padding-block: 1rem; border-block: 1px solid rgba(246, 242, 234, .22); }
.br-avis-note strong { color: #efb39d; font-family: var(--br-serif); }
.br-avis-note span { color: var(--br-celadon); }
.br-avis-liste figure { padding-block: 2rem; }
.br-avis-liste blockquote { font-size: clamp(1.25rem, 1.05rem + .65vw, 1.65rem); }
.br-avis-liste figcaption { color: #d5e0da; }
.br-avis-source { color: #d5e0da; }

.br-contact { background: var(--br-celadon-clair); }
.br-contact-titre { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: end; }
.br-contact-titre .jx-sur-titre { grid-column: 1 / -1; }
.br-contact-titre h2 { margin-bottom: 0; }
.br-contact-titre > p:last-child { justify-self: end; max-width: 28rem; }
.br-adresse { font-family: var(--br-serif); font-weight: 400; }
.br-contact-liens a { display: inline-flex; align-items: center; min-height: 3rem; }
.br-horaires-bloc {
    align-self: start;
    padding: 1.6rem;
    border-top: 3px solid var(--br-corail);
    background: var(--br-papier);
    box-shadow: 0 1rem 2.5rem rgba(22, 53, 46, .06);
}
.br-horaires-bloc h3 { padding-top: 0; }

.br-faq { background: var(--br-fond); }
.br-faq details { padding-inline: .5rem; }
.br-faq summary { min-height: 3.75rem; }
.br-faq details[open] summary { color: var(--br-corail); }
.jx-pied { background: #0d241f; }
.jx-pied-grille { gap: clamp(2rem, 6vw, 5rem); }
.jx-pied h2 { font-family: var(--br-serif); font-weight: 400; letter-spacing: .03em; text-transform: none; }
.jx-actions-mobile { box-shadow: 0 -.5rem 1.5rem rgba(22, 53, 46, .08); }

@media (min-width: 56.01rem) {
    .br-hero .jx-conteneur {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr);
        grid-template-areas: "repere repere" "titre photo" "panneau photo";
        column-gap: clamp(2.5rem, 6vw, 6rem);
        align-items: start;
    }
    .br-hero-repere { grid-area: repere; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
    .br-hero h1 {
        grid-area: titre;
        align-self: end;
        margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
        font-size: clamp(3.5rem, 1.7rem + 4.8vw, 6.6rem);
        line-height: .98;
    }
    .br-hero-scene { display: contents; }
    .br-hero-photo {
        grid-area: photo;
        align-self: stretch;
        box-shadow: 1.25rem 1.25rem 0 var(--br-celadon);
    }
    .br-hero-photo img { width: 100%; height: 100%; min-height: 38rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% center; }
    .br-hero-panneau {
        grid-area: panneau;
        min-height: 0;
        padding: 0;
        background: transparent;
        color: var(--br-fond);
    }
    .br-hero-panneau > p { max-width: 38rem; margin-bottom: 1.5rem; color: #e2e9e4; font-size: 1.05rem; }
    .br-hero-panneau .jx-actions { flex-direction: row; align-items: stretch; }
    .br-hero .jx-bouton-secondaire { border-color: #d5e0da; color: var(--br-papier); }
    .br-hero .jx-bouton-secondaire:hover { border-color: var(--br-papier); background: var(--br-papier); color: var(--br-encre); }
    .br-hero-preuve { margin-top: 1.5rem; padding-top: 1.25rem; border-top-color: rgba(246, 242, 234, .25); }
}

@media (max-width: 56rem) {
    .br-hero { padding-block: 2.75rem 4rem; }
    .br-manifeste-grille, .br-avis-grille { grid-template-columns: 1fr; }
    .br-hero h1 { margin-bottom: 2.25rem; font-size: clamp(3rem, 1.8rem + 8vw, 5rem); }
    .br-hero h1 span:nth-child(2), .br-hero h1 em { margin-left: 0; }
    .br-hero-repere { margin-bottom: 2rem; }
    .br-hero-panneau { color: var(--br-encre); }
    .br-hero-photo { box-shadow: .65rem .65rem 0 rgba(205, 219, 209, .5); }
    .br-hero-photo img { margin-bottom: .65rem; }
    .br-contact-titre { display: block; }
    .br-contact-titre h2 { margin-bottom: 1rem; }
    .br-contact-titre > p:last-child { max-width: 38rem; }
    .br-section-tete > div:last-child { padding-left: 1.25rem; }
    .br-soin-ligne { min-height: 0; }
    .br-horaires-bloc { margin-top: 1rem; }
}

@media (max-width: 36rem) {
    .jx-marque strong { font-size: 1.3rem; }
    .jx-entete-ligne { gap: .65rem; }
    .jx-marque { gap: .6rem; }
    .jx-menu-bouton { padding-inline: .65rem; }
    .jx-marque small { font-size: .55rem; }
    .br-hero { padding-top: 2.25rem; }
    .br-hero h1 { font-size: clamp(2.85rem, 1.7rem + 10vw, 4.25rem); }
    .br-hero-panneau { padding: 1.5rem; }
    .br-soin-ligne { padding-inline: .35rem; }
    .br-contact-grille { gap: 2rem; }
    .br-horaires-bloc { padding: 1.25rem; }
}

@media (max-width: 22rem) {
    .jx-marque small { display: none; }
}

@media (pointer: coarse) {
    .jx-navigation a, .br-lien, .br-contact-liens a, .jx-pied a { min-height: 2.75rem; }
    .jx-pied a { display: inline-flex; align-items: center; }
    .jx-actions-mobile a { min-height: 4.6rem; }
}
