/* Règles du thème qui visent des classes ou des éléments communs avec le paquet de design : chargées seulement hors des pages du paquet (functions.php).
   Fichier produit par outils/isoler-theme-du-paquet.mjs : ne pas éditer à la main pour déplacer une règle, relancer l'outil. */
p { margin: 0 0 1rem; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
h1, h2, h3 { margin: 0 0 1.25rem; text-wrap: balance; }
em { font-family: var(--italique); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--or-vif); font-size: 1.1em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.band { padding-block: var(--bande); }
.band.charbon { background: var(--charbon); }
.lead { font-size: var(--wp--preset--font-size--lead); color: var(--gris); max-width: 56ch; line-height: 1.55; }
.band.sable, .band.blanc { color: var(--encre); }
.band.sable { background: var(--sable); }
.band.blanc { background: #fff; }
.band:is(.sable, .blanc) :is(h1, h2, h3, h4) { color: var(--encre); }
.band:is(.sable, .blanc) :is(.lead, .muted, .etape-outils) { color: var(--wp--preset--color--gris); }
.band:is(.sable, .blanc) a { color: var(--or-texte); }
.band:is(.sable, .blanc) em { color: var(--or-texte); }
.band:is(.sable, .blanc) :focus-visible { outline-color: var(--encre); }
.btn { display: inline-block; background: var(--or); color: var(--noir); font-family: var(--titre); font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 1rem 1.75rem; border: 1.5px solid var(--or); }
.btn:hover { background: var(--or-vif); border-color: var(--or-vif); color: var(--noir); }
.band.or { background: var(--or); color: var(--noir); }
.band.or :is(h2, h3, .lead, p, em) { color: var(--noir); }
.hero { position: relative; overflow: hidden; min-height: min(94vh, 920px); display: flex; align-items: center; border-bottom: 4px solid var(--or); }
.hero > .wrap { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 6rem; }
.hero h1 { font-size: var(--wp--preset--font-size--hero); overflow-wrap: break-word; max-width: 12em; line-height: .95; margin-bottom: 1.6rem; }
.hero h1 em { font-size: 1.08em; }
.hero .lead { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; max-width: 30ch; }
.band.enonce { padding-block: var(--wp--preset--spacing--enonce); }
.carte { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-right: 1px solid var(--or-sombre); }
.carte:last-child { border-right: 0; }
.carte::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .95) 100%); }
.carte .n { font-family: var(--titre); font-weight: 700; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--or); margin: 0 0 1rem; }
.carte h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.05; margin-bottom: 1rem; }
.carte p { color: var(--ivoire); margin-bottom: 1.5rem; }
.methode-band > .wrap, .cta-final > .wrap { position: relative; z-index: 2; }
.pagehead + .band { padding-top: clamp(2.5rem, 5vw, 4rem); }
.pagehead .lead { max-width: 52ch; }
.liens { list-style: none; columns: 2; column-gap: 3rem; margin: 1.5rem 0 0; padding: 0; }
.liens li { break-inside: avoid; padding: .6rem 0; border-top: 1px solid var(--trait); }
.liens a { text-decoration: none; font-weight: 600; }
.cas { display: grid; grid-template-columns: 4fr 8fr; gap: 2rem; padding: 2.2rem 0; border-top: 2px solid var(--or-sombre); }
.cas dl { margin: 0; display: grid; grid-template-columns: 9rem 1fr; gap: .5rem 1.5rem; }
.cas dt { color: var(--or); font-weight: 700; }
.cas dd { margin: 0; }
.band.article .contenu-article { max-width: none; font-size: 1.0625rem; line-height: 1.75; color: var(--encre); }
.band.article .article-image { max-width: none; }
.band.article .article-image img { display: block; width: 100%; height: auto; border-radius: 0; }
.band.article .contenu-article > :is(p, ul, ol) { max-width: none; }
.band.article .contenu-article > h2 { margin-bottom: 1rem; padding-top: 1.2rem; border-top: 1px solid #e2ddd3; font-family: var(--titre); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.band.article .contenu-article > h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.band.article .contenu-article > h2 + h2 { margin-top: -.6rem; padding-top: 0; border-top: 0; }
.band.article .contenu-article > h3 { font-family: var(--titre); font-weight: 600; line-height: 1.25; }
.band.article .contenu-article a { color: #80602f; text-decoration: underline; text-underline-offset: 3px; }
.band.article .contenu-article a:hover { color: var(--encre); }
.band.article .contenu-article strong { color: var(--encre); font-weight: 700; }
.band.article .contenu-article li::marker { color: var(--or); }
.band.article .contenu-article figure { margin-block: 2rem; }
.band.article .contenu-article blockquote p { color: var(--encre); }
@media (max-width: 980px) {
.hero > .wrap { padding-top: 4rem; padding-bottom: 4rem; }
.carte { min-height: 520px; border-right: 0; border-bottom: 1px solid var(--or-sombre); }
.carte:last-child { border-bottom: 0; }
.cas { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
.liens { grid-template-columns: 1fr; columns: 1; }
.btn { padding: .95rem 1.3rem; } }
.band.blanc .articles li { border-top-color: #e2ddd3; }
.band.blanc .articles li:last-child { border-bottom: 1px solid #e2ddd3; }
.band.blanc .pagination a, .band.blanc .pagination .page-numbers { color: #80602f; }
.band.blanc .pagination .current { color: var(--encre); }
.band.blanc .texte-legal a { text-decoration: underline; text-underline-offset: 3px; }