@font-face {
    font-family: "DM Sans";
    src: url("polices/dm-sans-normal-latin-ext.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "DM Sans";
    src: url("polices/dm-sans-normal-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Newsreader;
    src: url("polices/newsreader-normal-latin-ext.woff2") format("woff2");
    font-weight: 400 600;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Newsreader;
    src: url("polices/newsreader-normal-latin.woff2") format("woff2");
    font-weight: 400 600;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Newsreader;
    src: url("polices/newsreader-italic-latin-ext.woff2") format("woff2");
    font-weight: 400 600;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Newsreader;
    src: url("polices/newsreader-italic-latin.woff2") format("woff2");
    font-weight: 400 600;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    --paper: #f8f6ef;
    --card: #fffdfa;
    --section-background: #e8eadf;
    --ink: #263c32;
    --text: #334138;
    --muted: #565e54;
    --rule: #d7d4c7;
    --pine: #20372d;
    --pine-deep: #182b23;
    --gold: #efcf95;
    --link: #315d46;
    --sans: "DM Sans", system-ui, sans-serif;
    --serif: Newsreader, Georgia, serif;
    --gutter: clamp(1.125rem, 4vw, 3.75rem);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font: 1rem/1.65 var(--sans);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p, h1, h2, h3, blockquote, figure {
    margin: 0;
}

h1, h2, h3, blockquote {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.05;
}

a {
    color: var(--link);
    text-underline-offset: .18em;
}

a:hover {
    text-decoration-thickness: .12em;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

[id] {
    scroll-margin-top: 1.25rem;
}

.shell {
    width: calc(100% - var(--gutter) * 2);
    max-width: 78rem;
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 4;
    top: .75rem;
    left: var(--gutter);
    padding: .5rem 1rem;
    transform: translateY(-180%);
    background: var(--card);
    color: var(--ink);
}

.skip-link:focus {
    transform: none;
}

.site-header {
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 5.125rem;
    gap: 1.25rem;
}

.wordmark {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .55rem;
    color: var(--ink);
    text-decoration: none;
    font: 600 2.125rem/.9 var(--serif);
    letter-spacing: -.055em;
    white-space: nowrap;
}

.wordmark-domain {
    margin-left: .1em;
    color: var(--muted);
    font: 500 .63em/1 var(--serif);
    letter-spacing: -.035em;
}

.wordmark-symbol {
    display: inline-block;
    position: relative;
    width: 1.85rem;
    height: 1.5rem;
    flex: none;
    color: #96632e;
}

.wordmark-symbol::before, .wordmark-symbol::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 1.4rem;
    height: 1.4rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    content: "";
}

.wordmark-symbol::after {
    left: .42rem;
}

.menu-links, .breadcrumb ol, .toc-links, .continue ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-links {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3.4vw, 3rem);
}

.menu-links a {
    display: block;
    padding-block: .625rem;
    color: var(--ink);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}

.menu-links a:hover, .menu-links [aria-current] {
    text-decoration: underline;
    text-decoration-color: #9c6837;
    text-underline-offset: .43em;
}

.mobile-nav, .mobile-toc {
    display: none;
}

.home {
    padding-block: clamp(1rem, 3.2vw, 2.75rem) clamp(3rem, 7vw, 6rem);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    min-height: clamp(16rem, 25vw, 22.25rem);
    background: var(--pine);
    color: var(--paper);
}

.hero-content {
    align-self: center;
    padding: clamp(1.2rem, 1.65vw, 1.6rem) clamp(1.75rem, 4.75vw, 4.25rem);
}

.hero h1 {
    margin-bottom: clamp(.85rem, 1.25vw, 1.125rem);
    color: var(--gold);
    font: 700 .8125rem/1.4 var(--sans);
    letter-spacing: .14em;
}

.hero blockquote {
    max-width: 16ch;
    color: var(--paper);
    font-size: clamp(2.15rem, 3.65vw, 3.4rem);
    line-height: .96;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero em {
    color: var(--gold);
    font-weight: 400;
}

.hero-link {
    display: inline-block;
    margin-top: clamp(1.05rem, 1.55vw, 1.4rem);
    padding: .65rem 1.05rem;
    border: 1px solid #e8cf9f90;
    color: var(--paper);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}

.hero-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--pine-deep);
}

.hero-image {
    width: 100%;
    /* Le texte détermine la hauteur de la ligne sur ordinateur. */
    height: 0;
    min-height: 100%;
    object-fit: cover;
    object-position: 52% center;
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 7.5vw, 7.5rem);
    width: min(100%, 66rem);
    margin-inline: auto;
    padding-block: clamp(3.2rem, 7vw, 6rem);
}

.intro-lead {
    border-left: 2px solid #ad7943;
    padding: .15rem 0 0 clamp(1.125rem, 2.5vw, 2rem);
    align-self: start;
    color: var(--ink);
    font: 500 clamp(1.65rem, 2.5vw, 2.3rem)/1.14 var(--serif);
    letter-spacing: -.025em;
}

.intro-copy, .card-copy {
    font-size: 1.0625rem;
}

.intro p + p, .card-copy p + p, .author-note p + p {
    margin-top: .9em;
}

.themes > h2, .author-note h2, .continue h2 {
    font-size: clamp(2.3rem, 4.2vw, 4rem);
    letter-spacing: -.04em;
}

.themes > h2 {
    margin-bottom: 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--rule);
}

.themes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 2.3vw, 2rem);
}

.theme-card {
    --card-inset: clamp(1.25rem, 3.35vw, 2.75rem);
    border: 1px solid var(--rule);
    background: var(--card);
}

.tint-judaisme,
.tint-bouddhisme,
.tint-christianisme,
.tint-islam,
.tint-autres-spiritualites-et-athees {
    --tint: var(--section-background);
}

.tint-simple { --tint: #ebe8da; }

.card-heading, .author-note {
    background: var(--section-background);
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(.75rem, 2.5vw, 2rem);
    min-height: clamp(6.5rem, 10vw, 8.75rem);
    padding: clamp(1.05rem, 2vw, 1.65rem) var(--card-inset);
}

.card-heading h3 {
    min-width: 0;
    font-size: clamp(1.95rem, 3vw, 2.8rem);
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.card-heading img, .reading-emblem {
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-heading img {
    flex: none;
    width: clamp(3.75rem, 8vw, 7rem);
    height: clamp(3.6rem, 7vw, 6.25rem);
}

.card-ornament {
    display: none;
    align-items: center;
    flex: 1 1 8rem;
    max-width: 32rem;
    margin-inline: auto;
    gap: .6rem;
    color: #806737;
}

.card-ornament::before, .card-ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: .43;
}

.card-ornament .wordmark-symbol {
    width: 1.65rem;
    height: .95rem;
    color: inherit;
    opacity: .75;
}

.card-ornament .wordmark-symbol::before,
.card-ornament .wordmark-symbol::after {
    width: .95rem;
    height: .95rem;
    border-width: 1px;
}

.card-ornament .wordmark-symbol::after {
    left: .7rem;
}

.card-content {
    padding: var(--card-inset);
}

.card-copy {
    max-width: 82ch;
    margin-bottom: 1.35rem;
}

.card-link {
    display: inline-block;
    padding-bottom: .2rem;
    border-bottom: 1px solid #89978a;
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover {
    border-color: currentColor;
}

.theme-card:last-child h3::first-letter,
.continue a::first-letter {
    text-transform: uppercase;
}

.author-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 1.5rem 3rem;
    margin-top: clamp(2.5rem, 7vw, 5.5rem);
    padding: clamp(1.4rem, 4.2vw, 3.1rem);
}

.author-note > div:first-child {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.author-note img {
    width: 4.65rem;
    aspect-ratio: 1;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 27%;
}

.author-note h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.site-footer {
    padding: 2.75rem 0 1.5rem;
    background: var(--pine-deep);
    color: #dce1d7;
}

.footer-main, .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.footer-main {
    align-items: start;
    padding-bottom: 2.25rem;
}

.footer-main .wordmark, .footer-main .wordmark-domain {
    color: var(--paper);
}

.footer-main .wordmark-symbol {
    color: var(--gold);
}

.footer-main > div {
    max-width: 29rem;
    font-size: .9375rem;
}

.footer-heading {
    margin-bottom: .2rem;
    color: var(--gold);
    font-weight: 700;
}

.footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid #ffffff36;
    font-size: .875rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
}

.footer-bottom a {
    color: inherit;
}

.reading-page {
    padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.breadcrumb {
    padding: 1.125rem 0;
    font-size: .875rem;
    color: var(--muted);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .65rem;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: .65rem;
    color: #6a6b60;
}

.reading-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 3rem;
    min-height: 13rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--tint);
}

.reading-head h1 {
    max-width: 21ch;
    font-size: clamp(2.35rem, 5.9vw, 5.45rem);
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
}

.reading-head p {
    margin-top: .25rem;
    font-weight: 600;
}

.reading-emblem, .reading-portrait {
    width: clamp(6.5rem, 14vw, 11rem);
    height: auto;
    flex: none;
}

.reading-portrait {
    max-width: 8rem;
    object-fit: cover;
}

.policy-page .reading-head {
    min-height: 10rem;
}

.policy-page .reading-head h1 {
    max-width: none;
    font-size: clamp(2rem, 4.9vw, 4.4rem);
}

.contact-content {
    max-width: 42rem;
    margin: clamp(1.75rem, 5vw, 3.5rem) auto 0;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid var(--rule);
    background: var(--card);
}

.contact-form label {
    display: block;
    margin-bottom: .35rem;
}

.contact-form > div > label, .contact-captcha legend {
    font-weight: 700;
}

.contact-form input, .contact-form textarea, .contact-form button {
    font: inherit;
}

.contact-form input:not([type="hidden"]), .contact-form textarea {
    width: 100%;
    padding: .5rem .65rem;
    border: 1px solid var(--muted);
    border-radius: 0;
    background: var(--card);
    color: var(--ink);
}

.contact-form textarea {
    display: block;
    resize: vertical;
}

.contact-captcha {
    min-width: 0;
    margin: 0;
    padding: .75rem;
    border: 1px solid var(--rule);
}

.contact-captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin: .65rem 0;
}

.contact-captcha-row img[hidden] {
    display: none;
}

.contact-form #contact-code {
    max-width: 10rem;
}

.contact-form button {
    justify-self: start;
    padding: .5rem .85rem;
    border: 1px solid var(--pine);
    background: var(--pine);
    color: var(--paper);
    cursor: pointer;
}

.contact-form button:hover:not(:disabled) {
    background: var(--pine-deep);
}

.contact-form .contact-refresh {
    border-color: var(--muted);
    background: transparent;
    color: var(--ink);
}

.contact-form .contact-refresh:hover:not(:disabled) {
    background: var(--section-background);
}

.contact-form button:focus-visible {
    outline-color: var(--ink);
}

.contact-form button:disabled {
    opacity: .6;
    cursor: default;
}

.contact-status:not(:empty) {
    margin-top: .75rem;
}

.reading-layout {
    display: grid;
    grid-template-columns: minmax(11.5rem, 15.5rem) minmax(0, 45rem);
    justify-content: center;
    gap: clamp(2rem, 6vw, 6rem);
    margin-top: clamp(2.5rem, 5vw, 4.625rem);
}

.desktop-toc {
    position: sticky;
    top: 1.25rem;
    max-height: calc(100vh - 2.5rem);
    align-self: start;
    overflow-y: auto;
    padding: .15rem .65rem .25rem .88rem;
    border-left: 1px solid var(--rule);
}

.toc-title {
    margin-bottom: .55rem;
    color: var(--ink);
    font-weight: 700;
}

.toc-links a {
    display: block;
    padding-block: .4rem;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none;
}

.toc-links a:hover {
    color: var(--link);
    text-decoration: underline;
}

.prose {
    color: #2e3931;
    font: 400 clamp(1.2rem, 1.65vw, 1.4rem)/1.52 var(--serif);
    overflow-wrap: break-word;
}

.prose p, .prose ul, .prose ol {
    margin: .75em 0;
}

.prose > :first-child, .prose section > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin-top: 1.65em;
    font-size: clamp(1.8rem, 3.1vw, 2.65rem);
    letter-spacing: -.025em;
}

.prose h3 {
    margin-top: 1.3em;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.prose li + li {
    margin-top: .35em;
}

.prose ul, .prose ol {
    padding-left: 1.35em;
}

.prose strong {
    font-weight: 600;
}

.prose .callout {
    margin-block: 1.3em;
    padding: .7em 1em;
    border-left: 2px solid #ac7843;
    background: #eeeadd;
}

.essay-part {
    display: flow-root;
}

.essay-part + .essay-part {
    margin-top: 2.25rem;
}

.inline-image {
    float: right;
    width: clamp(5.5rem, 25%, 9rem);
    margin: .2rem 0 .45rem 1.15rem;
}

.inline-image img {
    width: 100%;
    mix-blend-mode: multiply;
}

.reference-entry {
    padding: .55em 0;
    border-bottom: 1px solid var(--rule);
    font-size: .96em;
}

.citation {
    font: 600 .72em/1 var(--sans);
    vertical-align: .13em;
}

.prose :target {
    background: #efe7d2;
}

.continue {
    margin-top: clamp(2.75rem, 6vw, 5rem);
    padding: 1.65rem 0 0;
    border-top: 1px solid var(--rule);
}

.continue h2 {
    margin-bottom: 1.35rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.continue ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.continue a {
    display: block;
    height: 100%;
    padding: .9rem;
    border: 1px solid var(--rule);
    background: var(--card);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.continue a:hover {
    border-color: var(--link);
    text-decoration: underline;
}

@media (min-width: 721px) {
    .card-ornament {
        display: flex;
    }
}

@media (max-width: 820px) {
    .reading-layout {
        grid-template-columns: minmax(0, 43rem);
        gap: 1.75rem;
        margin-top: 1.5rem;
    }

    .desktop-toc {
        display: none;
    }

    .mobile-toc {
        display: block;
        padding: .55rem 1rem;
        border: 1px solid var(--rule);
        background: var(--card);
    }

    .mobile-toc summary, .mobile-nav summary {
        width: fit-content;
        padding: .35rem 0;
        color: var(--ink);
        cursor: pointer;
        font-weight: 700;
    }

    .mobile-toc[open] .toc-links {
        padding: .35rem 0;
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 4.3rem;
    }

    .wordmark {
        font-size: 1.9rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav > nav {
        position: absolute;
        z-index: 2;
        top: calc(100% + .35rem);
        right: 0;
        min-width: 12rem;
        padding: .35rem 1rem;
        border: 1px solid var(--rule);
        background: var(--card);
        box-shadow: 0 .5rem 1.5rem #182b231a;
    }

    .menu-links {
        display: block;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .hero-content {
        padding: 2.3rem clamp(1.25rem, 6vw, 2.5rem) 2rem;
    }

    .hero h1 {
        margin-bottom: clamp(1.2rem, 2.7vw, 2.1rem);
    }

    .hero blockquote {
        font-size: clamp(2.55rem, 9.2vw, 4.35rem);
        max-width: 15ch;
        text-wrap: wrap;
    }

    .hero-link {
        margin-top: 1.65rem;
    }

    .hero-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 2.5;
    }

    .intro, .author-note {
        grid-template-columns: minmax(0, 1fr);
    }

    .intro {
        gap: 1.6rem;
    }

    .reading-head {
        min-height: auto;
        padding: 1.6rem 1.15rem;
        gap: .9rem;
    }

    .reading-emblem, .reading-portrait {
        width: clamp(3.75rem, 19.5vw, 7rem);
    }

    .policy-page .reading-head {
        min-height: auto;
    }

    .continue ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main, .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 350px) {
    .reading-head {
        flex-wrap: wrap-reverse;
    }

    .continue ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media print {
    .site-header, .skip-link, .breadcrumb, .desktop-toc, .mobile-toc,
    .continue, .site-footer, .hero-link {
        display: none;
    }

    .shell {
        width: 100%;
    }

    .reading-layout, .reading-head {
        display: block;
    }
}
