h2, h3 {
  margin-top: 1.2rem
}
b, body, em, i, p, strong {
  font-family: Luciole, sans-serif
}
.logo, .skip-link {
  position: absolute
}
.logo img, .menu > a, .nav > a, .nav > a img {
  width: 50px;
  height: 50px
}
.logo, .menu > a, .nav > a {
  display: flex;
  text-decoration: none
}
.copy, .hero, .menu > a, .nav > a {
  text-align: center
}
.rule-card, .sr-only, .table-flex {
  overflow: hidden
}
.nobreak, .sr-only {
  white-space: nowrap
}
.btn, .burger {
  cursor: pointer
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}
img {
  max-width: 100%;
  height: auto
}
h1 {
  margin-bottom: 1rem
}
h2 {
  font-size: 1.8rem
}
h3 {
  font-size: 1.3rem
}
h4 {
  margin-top: 1rem;
  font-size: 1rem
}
ol, ul {
  list-style-position: inside;
  padding-left: 0
}
article ul {
  list-style-position: outside;
  padding-left: 1.25rem
}
.skip-link {
  top: -999px;
  left: 0
}
.skip-link:focus {
  top: 0;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  z-index: 1000
}
@font-face {
  font-family: Luciole;
  src: url("../fonts/Luciole-Regular.woff2") format("woff2"), url("../fonts/Luciole-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400
}
@font-face {
  font-family: Luciole;
  src: url("../fonts/Luciole-Bold.woff2") format("woff2"), url("../fonts/Luciole-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700
}
@font-face {
  font-family: Luciole;
  src: url("../fonts/Luciole-Italic.woff2") format("woff2"), url("../fonts/Luciole-Italic.woff") format("woff");
  font-style: italic;
  font-weight: 400
}
@font-face {
  font-family: Luciole;
  src: url("../fonts/Luciole-BoldItalic.woff2") format("woff2"), url("../fonts/Luciole-BoldItalic.woff") format("woff");
  font-style: italic;
  font-weight: 700
}
body {
  line-height: 1.5;
  background-color: #f8f9fa;
  color: #333;
  text-rendering: optimizeLegibility;
  font-weight: 400
}
.burger, .logo, header {
  color: #fff
}
.legal-list dt, .logo, .menu > a, .nav > a, b, strong {
  font-weight: 700
}
em, i {
  font-style: italic
}
.logo {
  left: 1rem;
  align-items: center;
  font-size: 1.1rem
}
.nav, header {
  position: relative
}
header {
  background: #343a40;
  padding: 1rem;
  z-index: 1000
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem
}
.menu {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap
}
.menu > a, .nav > a {
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform .2s, filter .2s;
  color: #333;
  font-size: 1rem
}
.menu > a[aria-label^=Fiche] {
  border-radius: 0;
  border: 2px solid rgba(0, 0, 0, .15);
  font-size: 1.1rem
}
.menu > a:hover, .nav > a:hover {
  transform: scale(1.05);
  filter: brightness(.9)
}
.menu > a:first-child, .rules-container .rule-card:first-child::before {
  background-color: #f8b4b4
}
.menu > a:nth-child(2), .rules-container .rule-card:nth-child(2)::before {
  background-color: #ffd6a5
}
.menu > a:nth-child(3), .rules-container .rule-card:nth-child(3)::before {
  background-color: #fff6a5
}
.menu > a:nth-child(4), .rules-container .rule-card:nth-child(4)::before {
  background-color: #b9fbc0
}
.menu > a:nth-child(5), .rules-container .rule-card:nth-child(5)::before {
  background-color: #a0e7e5
}
.menu > a:nth-child(6), .rules-container .rule-card:nth-child(6)::before {
  background-color: #b5d5ff
}
.menu > a:nth-child(7), .rules-container .rule-card:nth-child(7)::before {
  background-color: #cbb2fe
}
.menu > a:nth-child(8), .rules-container .rule-card:nth-child(8)::before {
  background-color: #fdc5f5
}
.menu > a:nth-child(9), .rules-container .rule-card:nth-child(9)::before {
  background-color: #eff5f3
}
.menu > a:nth-child(10), .rules-container .rule-card:nth-child(10)::before {
  background-color: #ffe4e1
}
.menu > a:nth-child(11), .rules-container .rule-card:nth-child(11)::before {
  background-color: #a7f0ff
}
.menu > a:nth-child(12) {
  background-color: #94dcf2
}
.menu > a:nth-child(13), .rules-container .rule-card:nth-child(12)::before {
  background-color: #b5b9ff
}
.menu > a:nth-child(14), .rules-container .rule-card:nth-child(13)::before {
  background-color: #c7f9cc
}
.menu > a:nth-child(15), .rules-container .rule-card:nth-child(14)::before {
  background-color: #ffe5b4
}
.menu-separator {
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, .4);
  align-self: center;
  flex: 0 0 auto;
  margin: 0 1.25rem
}
.burger {
  display: none;
  background: 0 0;
  border: none;
  font-size: 1.8rem;
  margin-left: auto
}
.rule-card, .rule-image, .table-flex {
  border: .425rem solid #333
}
.btn, .site-footer a:focus, .site-footer a:hover {
  text-decoration: none
}
.hero {
  padding: 0 1rem 2rem;
  background: #e3ebf2
}
.hero h1 {
  margin: 0;
  font-size: 2rem
}
.hero p {
  font-size: 1.3rem;
  color: #333
}
.album {
  background-color: #f8f9fa;
  padding: 2rem 1rem
}
.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto
}
.card-body, .rule-card {
  display: flex;
  background: #fff;
  position: relative
}
.card-titre, footer h3 {
  margin-bottom: .5rem
}
@media (min-width:1200px) {
  .rules-container {
    grid-template-columns: repeat(4, 1fr)
  }
}
.rule-card {
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  transition: transform .15s, box-shadow .15s
}
.rule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12)
}
.rule-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
  position: relative
}
.card-body {
  padding: 1rem;
  flex: 1;
  flex-direction: column
}
.content, .layout {
  padding: 2rem 1rem
}
.card-titre {
  font-size: 1.5rem
}
.card-text {
  font-size: .95rem;
  margin-bottom: 1rem
}
.layout, .site-footer .footer-top {
  gap: 2rem;
  margin: 0 auto;
  display: flex;
  max-width: 1200px
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center
}
.card-footer small {
  color: #6c757d;
  font-size: .8rem
}
.rule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 230px;
  z-index: 0
}
.content {
  display: flex;
  justify-content: center;
  background-color: #f8f9fa;
}
.layout article {
  flex: 1
}
.layout aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}
.table-flex {
  display: flex;
  flex-direction: column
}
.table-flex .row {
  display: flex
}
.table-flex .cell {
  flex: 1;
  padding: .75rem 1rem;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc
}
.table-flex .cell:last-child {
  border-right: none
}
.table-flex .row:last-child .cell {
  border-bottom: none
}
.table-flex .header {
  background: #343a40;
  color: #fff;
  font-weight: 700;
  background-color: var(--theme);
  color: var(--theme-text)
}
.rule-image {
  margin-bottom: 1em
}
.section-encadre h2 {
  margin: 0 0 15px
}
.section-encadre p {
  margin: 10px 0;
  font-size: 16px
}
.section-encadre ul {
  list-style: none;
  padding: 0
}
.section-encadre li {
  margin-bottom: 15px
}
.section-encadre blockquote {
  margin: 8px 0 0 10px;
  padding: 10px 15px;
  background: #e6f0ff;
  border-left: 5px solid #4a90e2;
  border-radius: 8px;
  color: #333
}
.hero, .section-encadre {
  color: #333
}
footer p {
  color: #ccc
}
.copy {
  padding: 1rem;
  font-size: .9rem;
  color: #888;
  border-top: 1px solid #444
}
.site-footer {
  margin-top: 3rem;
  background: #0f172a;
  color: #e5e7eb;
  font-size: .95rem;
  padding: 2rem 1rem
}
.site-footer a {
  color: #e5e7eb;
  text-decoration: underline
}
.site-footer .footer-top {
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem 1rem
}
.footer-brand, .footer-legal, .footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 0;
  min-width: 240px
}
.footer-logo img {
  display: block;
  height: auto;
  max-width: 250px
}
.footer-address {
  font-style: normal;
  line-height: 1.5
}
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0
}
.footer-contacts li {
  margin: .2rem 0
}
.legal-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem
}
.legal-list > div {
  background: rgba(255, 255, 255, .04);
  padding: .75rem;
  border-radius: 8px
}
.legal-list dd {
  margin: .25rem 0 0
}
.footer-links ul {
  columns: 2;
  column-gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0
}
.footer-links li {
  break-inside: avoid;
  margin: .25rem 0
}
.footer-cc span {
  font-size: .85rem
}
.ecoindex, .rgaa-note {
  font-size: .85rem
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: .75rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .9rem
}
.footer-bottom p {
  margin: .25rem 0
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  border: 0
}
#accessconfig {
  display: flex;
  justify-content: flex-end;
}
#a42-ac-button {
  color: #0b1b34;
  font-size: 1rem;
  padding: 1rem;
  border: .325rem solid #333;
  background-color: #e3ebf2;
  margin: 1rem 1rem 0 0;
}
@media (max-width:900px) {
  .menu {
    display: none;
    flex-direction: column;
    gap: .5rem;
    position: absolute;
    top: 56px;
    right: 1rem;
    background: #343a40;
    padding: 1rem;
    border-radius: .5rem
  }
  .menu.active {
    display: flex
  }
  .burger {
    display: block
  }
  .menu > a {
    width: auto;
    height: auto;
    border-radius: 0;
    background: 0 0 !important;
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
    justify-content: flex-start;
    padding: .25rem 0
  }
  .menu > a[aria-label^=Fiche] {
    border: none;
    font-size: 1.1rem
  }
  .menu > a:hover {
    transform: none;
    filter: none;
    text-decoration: underline;
    color: gold
  }
  .layout, .site-footer .footer-top {
    flex-direction: column
  }
  .footer-container {
    flex-direction: column;
    text-align: center
  }
  .footer-links ul {
    columns: 1
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start
  }
  .menu-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    margin: .5rem 0
  }
  #accessconfig {
    padding: 2rem
  }
}
a:focus-visible, button:focus-visible {
  outline: #FFD700 solid 3px;
  outline-offset: 2px
}
@media(max-width:600px) {
  .rules-container {
    gap: 1rem;
  }
}
:root {
  --theme: #e3ebf2;
  --theme-text: #333;
}
.a11y {
  background-color: #e3ebf2;
}
.section-encadre {
  background-color: var(--theme);
  color: var(--theme-text);
  padding: 1.2rem;
}
#ecoindex-badge-letter {
  background-color: #4A8354 !important;
}
.rule-image, .section-encadre, .table-flex {
  border-color: var(--theme)
}
body.regle1 {
  --theme: #F8B4B4;
}
body.regle2 {
  --theme: #FFD6A5
}
body.regle3 {
  --theme: #FFF6A5
}
body.regle4 {
  --theme: #B9FBC0
}
body.regle5 {
  --theme: #A0E7E5
}
body.regle6 {
  --theme: #B5D5FF
}
body.regle7 {
  --theme: #CBB2FE
}
body.regle8 {
  --theme: #FDC5F5
}
body.regle9 {
  --theme: #EFF5F3
}
body.regle10 {
  --theme: #FFE4E1
}
body.regle11 {
  --theme: #A7F0FF
}
body.regle12 {
  --theme: #B5B9FF
}
body.regle13 {
  --theme: #C7F9CC
}
body.regle14 {
  --theme: #FFE5B4
}
body.regle15 {
  --theme: #D7E3FC
}
body.regle16 {
  --theme: #E9D5FF
}
body.regle17 {
  --theme: #FFD1DC
}
.btn {
  display: inline-block;
  padding: .6em 1.2em;
  background: #000;
  color: #fff;
  border-radius: 4px;
  border: none;
  font-size: 1rem
}
.btn:focus, .btn:hover {
  background: #343a40;
  text-decoration: underline
}
@media print {

  @page {
    size: A4 portrait;
    margin: 1.5cm;
  }
    /* Masquer tout le module accessconfig */
  #accessconfig,
  [id^="a42-ac"],
  [class^="a42-ac"],
  [class*=" a42-ac"] {
    display: none !important;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
    font: 11pt/1.4 Georgia, "Times New Roman", serif;
  }
    
  
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
  }

  /* Éléments inutiles à l'impression */
  .skip-link,
  .burger,
  .menu,
  .a11y,
  .footer-links,
  .footer-cc,
  .ecoindex-badge-link,
  .ecoindex,
  .rgaa-note,
  script {
    display: none !important;
  }
   
  img,
  svg {
    display: none !important;
  }


  header,
  footer,
  main,
  section,
  div,
  nav {
    display: block;
  }

  body {
    margin: 0;
    padding: 0;
  }

  header {
    margin: 0 0 1cm 0;
    padding: 0;
    border: 0;
  }

  .logo img,
  .footer-logo img,
  .rule-card img {
    display: none !important;
  }

  .hero {
    margin: 0 0 1cm 0;
    padding: 0;
    text-align: left;
  }

  .hero h1 {
    margin: 0 0 0.3cm 0;
    font-size: 22pt;
    line-height: 1.1;
  }

  .hero p {
    margin: 0.2cm 0;
    font-size: 11pt;
  }

  .album {
    margin: 0;
    padding: 0;
  }

  .rules-container {
    display: block !important;
  }

  .rule-card {
    display: block;
    margin: 0 0 0.7cm 0;
    padding: 0 0 0.5cm 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .card-body,
  .card-footer {
    display: block;
    padding: 0;
    margin: 0;
  }

  .card-titre {
    margin: 0 0 0.2cm 0;
    font-size: 13pt;
    line-height: 1.25;
  }

  .card-text {
    margin: 0 0 0.2cm 0;
    font-size: 11pt;
  }

  .btn {
    display: inline;
    padding: 0;
    margin: 0;
    color: #000 !important;
    background: none !important;
    border: 0 !important;
    text-decoration: none;
    font-weight: 700;
  }

  .btn::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    font-size: 9pt;
    word-break: break-all;
  }

  .sr-only {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }

  small {
    display: block;
    margin-top: 0.15cm;
    font-size: 9pt;
    color: #444 !important;
  }

  .footer-top,
  .footer-bottom,
  .footer-brand,
  .footer-legal {
    margin-top: 1cm;
    padding-top: 0.4cm;
    border-top: 1px solid #ccc;
  }

  a,
  a:visited {
    color: #000 !important;
    text-decoration: none;
  }

  p,
  li,
  dd,
  dt,
  address {
    orphans: 3;
    widows: 3;
  }
}