@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --papier: #faf9f5;
  --encre: #261e20;
  --vin: #422630;
  --accent: #91462f;
  --ligne: #dad3c7;
  --marge: max(5vw, calc((100vw - 1360px) / 2));
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 16px/1.65 Montserrat, Arial, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #2e7380; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 1; padding: .6rem; background: white; }
.skip:focus { top: 1rem; }
.vote-header, footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-inline: var(--marge); }
.vote-header { min-height: 84px; border-bottom: 1px solid var(--ligne); }
.vote-header img { display: block; width: auto; height: 54px; }
.retour { font-size: 14px; }
main { max-width: 1100px; margin: auto; padding: 0 clamp(20px,5vw,60px); }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3, time { font-family: Georgia, serif; font-weight: 400; }
h1, h2 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(48px,6vw,80px); margin-bottom: 18px; }
h1 em { color: var(--accent); }
h2 { font-size: clamp(29px,3.5vw,46px); margin-bottom: 20px; }
h3 { font-size: 23px; margin-bottom: 7px; }
.vote-intro { padding: clamp(36px,5vw,72px) 0 28px; }
.vote-intro > p, .modalites > p { max-width: 67ch; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; gap: 14px; padding: 13px 21px; margin-top: 5px; background: var(--vin); color: white; border-radius: 3px; font-weight: 700; text-decoration: none; }
.button:hover { background: #663c46; }
.status { color: #61534f; margin: 10px 0 0; font-size: 14px; }
.dates { padding: clamp(22px,3vw,42px); background: #f0ece3; }
.dates h2 { font-size: clamp(25px,2.5vw,38px); }
.dates-grid, .cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(15px,3vw,40px); }
.dates-grid > div, .cards article { border-left: 2px solid #be9982; padding-left: clamp(12px,1.5vw,22px); }
.dates-grid p { margin: 0; color: var(--accent); font-size: 13px; font-weight: 700; }
time { display: block; margin-block: 5px; font-size: clamp(22px,2.6vw,36px); line-height: 1.12; }
.dates-grid small { font-size: 14px; }
.modalites { padding: clamp(35px,5vw,68px) 0; }
.cards { margin: 26px 0 40px; }
.cards p { margin: 0; }
footer { padding-block: 24px; background: var(--vin); color: white; font-size: 13px; }
@media(max-width:700px) {
  .vote-header { min-height: 62px; }
  .vote-header img { height: 38px; }
  .retour { font-size: 12px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .eyebrow { font-size: 10px; }
}
