/* Portail municipal Courtry — HTML/CSS sans dépendance ni compilation. */
:root {
  color-scheme: light;
  --paper: #fafaf6;
  --ink: #172641;
  --blue: #253d78;
  --blue-dark: #172b5d;
  --muted: #506073;
  --line: #d6dcd9;
  --gold: #dfbe4a;
  --pale: #f0f1e7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
p, h1, h2, figure { margin: 0; }
.wrap { width: calc(100% - 96px); max-width: 1248px; margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 20px; top: 12px; padding: 12px 18px; background: var(--blue); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); outline-color: var(--gold); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 124px; border-bottom: 1px solid var(--line); }
.municipal-logo { width: 218px; }
.header-note { font-size: 12px; line-height: 1.6; text-align: right; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.header-note span { color: var(--muted); }
.welcome { padding-top: 54px; padding-bottom: 64px; }
.intro { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 58px; margin-bottom: 38px; }
h1 { font-weight: 600; }
.eyebrow, .section-kicker { display: block; color: var(--blue); font-size: 12px; line-height: 1.5; text-transform: uppercase; letter-spacing: .13em; font-weight: 600; }
.eyebrow { margin-bottom: 17px; }
.display-title { display: block; font-size: 76px; line-height: .98; letter-spacing: -.055em; color: var(--blue); }
.motto { position: relative; padding: 26px 0 3px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.35; letter-spacing: -.02em; color: var(--blue); }
.motto::before { content: ""; position: absolute; top: 0; left: 0; width: 45px; height: 3px; background: var(--gold); }
.hero-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 58px; align-items: center; }
.hero-visual img { width: 100%; }
.hero-visual figcaption { padding-top: 14px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.welcome-copy { padding-bottom: 28px; }
.welcome-copy .section-kicker { margin-bottom: 17px; }
.lead { font-size: 21px; font-weight: 500; line-height: 1.45; letter-spacing: -.015em; margin-bottom: 18px; }
.description { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 410px; }
.primary-link { display: flex; width: fit-content; max-width: 100%; gap: 22px; align-items: center; justify-content: space-between; min-height: 59px; margin-top: 28px; padding: 15px 20px; background: var(--blue); color: white; border: 1px solid var(--blue); border-radius: 2px; text-decoration: none; font-size: 12px; line-height: 1.45; font-weight: 600; letter-spacing: .045em; transition: background-color .18s ease, border-color .18s ease; }
.button-arrow { font-family: Arial, sans-serif; font-size: 24px; line-height: 1; transition: transform .18s ease; }
.primary-link:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.primary-link:hover .button-arrow { transform: translate(2px, -2px); }
.how-it-works { background: var(--pale); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 42px 46px; }
.steps-layout { display: grid; grid-template-columns: 255px 1fr; gap: 52px; }
.steps-heading .section-kicker { font-size: 11px; margin-bottom: 15px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.3; font-weight: 400; color: var(--blue); letter-spacing: -.02em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid #bdc7bb; padding-top: 13px; }
.step-number { display: block; font-family: Georgia, "Times New Roman", serif; color: var(--blue); font-size: 29px; line-height: 1.3; margin-bottom: 10px; }
.steps p { font-size: 14px; line-height: 1.6; }
.site-footer { padding-block: 27px; font-size: 14px; color: var(--ink); }
.site-footer a { color: var(--blue); font-weight: 600; text-decoration-thickness: 1px; }
.site-footer a:hover { text-decoration-thickness: 2px; }
.footer-dash { margin-inline: 5px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .intro, .hero-layout { grid-template-columns: 1.4fr 1fr; gap: 34px; }
  .display-title { font-size: 65px; }
  .motto { font-size: 25px; }
  .lead { font-size: 19px; }
  .steps-layout { grid-template-columns: 205px 1fr; gap: 34px; }
  .steps { gap: 18px; }
  .primary-link { gap: 12px; padding-inline: 16px; font-size: 11px; }
}
@media (max-width: 859px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 104px; }
  .municipal-logo { width: 190px; }
  .header-note { font-size: 10px; letter-spacing: .06em; }
  .welcome { padding-top: 38px; padding-bottom: 40px; }
  .intro { grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
  .display-title { font-size: 62px; }
  .motto { font-size: 24px; }
  .desktop-break { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .welcome-copy { padding-bottom: 0; display: block; }
  .welcome-copy .section-kicker { margin-bottom: 12px; }
  .lead { margin-bottom: 15px; font-size: 21px; max-width: 640px; }
  .description { max-width: 640px; }
  .primary-link { font-size: 12px; padding-inline: 20px; gap: 24px; margin-top: 25px; }
  .steps-layout { grid-template-columns: 1fr; gap: 28px; }
  .steps-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
  .steps-heading .section-kicker { margin-top: 6px; }
  h2 { font-size: 26px; }
  .how-it-works { padding-block: 30px 34px; }
}
@media (max-width: 540px) {
  .site-header { min-height: 90px; gap: 16px; }
  .municipal-logo { width: 166px; }
  .header-note { max-width: 108px; font-size: 9px; }
  .welcome { padding-top: 30px; padding-bottom: 34px; }
  .intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 25px; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .display-title { font-size: 59px; }
  .motto { font-size: 24px; line-height: 1.35; padding-top: 17px; max-width: 370px; }
  .motto::before { width: 32px; height: 2px; }
  .hero-visual figcaption { font-size: 9px; padding-top: 11px; letter-spacing: .075em; }
  .hero-layout { gap: 25px; }
  .welcome-copy { display: flex; flex-direction: column; align-items: stretch; }
  .welcome-copy .section-kicker { margin-bottom: 12px; }
  .lead { font-size: 20px; margin-bottom: 15px; }
  .description { font-size: 15px; }
  .primary-link { order: -1; width: 100%; margin-top: 0; margin-bottom: 25px; min-height: 60px; font-size: 12px; gap: 12px; }
  .steps-heading { display: block; }
  .steps-heading .section-kicker { margin-top: 0; margin-bottom: 12px; }
  .steps-layout { gap: 23px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 20px; }
  .steps p { font-size: 14px; }
  .step-number { margin-bottom: 7px; }
  .site-footer { padding-block: 24px; line-height: 1.9; }
  .footer-dash { margin-left: 3px; }
  .footer-credit { display: block; }
}
@media (max-width: 359px) {
  .municipal-logo { width: 148px; }
  .display-title { font-size: 53px; }
  .header-note { font-size: 8px; max-width: 95px; }
  .primary-link { font-size: 11px; padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .primary-link:hover .button-arrow { transform: none; }
}
