/* Pair Dirigeant : charte reprise du site d'origine (Spectral, Hanken Grotesk, ivoire, encre, terre cuite). */
@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap; src: url("polices/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: italic; font-display: swap; src: url("polices/spectral-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 500; font-style: normal; font-display: swap; src: url("polices/spectral-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 500; font-style: italic; font-display: swap; src: url("polices/spectral-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("polices/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("polices/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("polices/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

:root {
  --ivoire: #f5f2ee;
  --pierre: #e3e0dc;
  --encre: #1c1a18;
  --gris: #5e5852;
  --terre: #9c4a2b;
  --terre-fonce: #7e3a21;
  --filet: rgba(28, 26, 24, .14);
  --serif: "Spectral", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --largeur: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terre); }
a:hover { color: var(--terre-fonce); }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4, h5 { font-size: 1.2rem; }
p { margin: 0; }
.enveloppe { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.pile { display: grid; gap: 1rem; align-content: start; }
.pile-l { display: grid; gap: 1.6rem; align-content: start; }
.etiquette { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terre); }
.chapeau { font-size: 1.15rem; color: var(--gris); max-width: 46em; }
.aller-contenu { position: absolute; left: -999px; }
.aller-contenu:focus { left: 16px; top: 16px; background: var(--encre); color: var(--ivoire); padding: .5rem 1rem; z-index: 10; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 5; background: rgba(245, 242, 238, .96); border-bottom: 1px solid var(--filet); backdrop-filter: blur(6px); }
.entete .enveloppe { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; min-height: 72px; }
.marque { display: inline-flex; align-items: center; text-decoration: none; color: var(--encre); }
.marque img { height: 36px; width: auto; }
.marque-texte { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.entete nav { margin-left: auto; }
.menu { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.menu a { font-size: .9rem; color: var(--encre); text-decoration: none; padding: .3rem 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--terre); color: var(--terre); }
.menu-bascule { display: none; background: none; border: 1px solid var(--filet); border-radius: 4px; padding: .45rem .8rem; font: inherit; font-size: .9rem; color: var(--encre); cursor: pointer; }

/* Sections */
.bloc { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bloc + .bloc { border-top: 1px solid var(--filet); }
.pierre { background: var(--pierre); }
.sombre { background: var(--encre); color: var(--ivoire); }
.sombre .chapeau { color: rgba(245, 242, 238, .78); }
.sombre a { color: #e7a283; }
.ouverture { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.ouverture .chapeau { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.carte { background: #fff; border: 1px solid var(--filet); padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.sombre .carte { background: rgba(245, 242, 238, .06); border-color: rgba(245, 242, 238, .16); }
.carte h3, .carte h4, .carte h5 { font-size: 1.3rem; }
.carte p { color: var(--gris); font-size: 1rem; }
.sombre .carte p { color: rgba(245, 242, 238, .8); }
.chiffre { font-family: var(--serif); font-size: 1.25rem; color: var(--terre); }
.citation { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--encre); }
.illustration { margin: 0; }
.illustration img { width: 100%; object-fit: cover; }
.illustration figcaption { font-size: .78rem; color: var(--gris); margin-top: .4rem; }
.liste { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.liste li { padding-left: 1.4rem; position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 1px; background: var(--terre); }

/* Boutons */
.bouton { display: inline-block; background: var(--terre); color: #fff; text-decoration: none; padding: .85rem 1.5rem; font-size: .98rem; font-weight: 500; border: 0; cursor: pointer; font-family: var(--sans); }
.bouton:hover { background: var(--terre-fonce); color: #fff; }
.sombre .bouton:not(.bouton-ligne), .sombre .bouton:not(.bouton-ligne):hover { color: #fff; }
.bouton-ligne { background: transparent; color: var(--encre); border: 1px solid var(--encre); }
.bouton-ligne:hover { background: var(--encre); color: var(--ivoire); }
.sombre .bouton-ligne { color: var(--ivoire); border-color: var(--ivoire); }

/* Formulaire */
.formulaire { display: grid; gap: 1.1rem; }
.formulaire label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 500; }
.formulaire input, .formulaire textarea { font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid rgba(28, 26, 24, .3); background: #fff; color: var(--encre); width: 100%; }
.formulaire textarea { min-height: 9rem; resize: vertical; }
.formulaire .piege { position: absolute; left: -999px; }
.message-formulaire { padding: 1rem 1.2rem; border-left: 3px solid var(--terre); background: #fff; }

/* Points de vue */
.points-de-vue { display: grid; gap: 1.6rem; }
.point-de-vue { border-top: 1px solid var(--filet); padding-top: 1.4rem; display: grid; gap: .5rem; }
.point-de-vue .date { font-size: .85rem; color: var(--gris); }
.point-de-vue h3 a { color: var(--encre); text-decoration: none; }
.point-de-vue h3 a:hover { color: var(--terre); }
.signature { font-size: .9rem; color: var(--gris); }

/* Pied de page */
.pied { background: var(--encre); color: rgba(245, 242, 238, .82); padding: 3.5rem 0 2rem; font-size: .95rem; }
.pied a { color: var(--ivoire); }
.pied .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.pied h2 { font-size: 1.4rem; color: var(--ivoire); margin-bottom: .6rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pied .bas { border-top: 1px solid rgba(245, 242, 238, .16); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; }

@media (max-width: 1380px) {
  .menu-bascule { display: inline-block; margin-left: auto; }
  .entete nav { margin-left: 0; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivoire); border-bottom: 1px solid var(--filet); padding: 1rem 24px 1.4rem; flex-direction: column; }
  .menu.ouvert { display: flex; }
}
@media (max-width: 960px) {
  .deux, .trois, .pied .colonnes { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .enveloppe { padding: 0 16px; }
  .entete .enveloppe { padding: 0 16px; }
  .menu { padding: 1rem 16px 1.4rem; }
}
