@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/oswald-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/oswald-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/lato-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/lato-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(polices/lato-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(polices/lato-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,*::before,*::after { box-sizing: border-box; }
:root {
  --bleu: #102795;
  --bleu-clair: #1d35b4;
  --encre-bouton: #323335;
  --large: 1024px;
}
html { background: #fff; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bleu); color: #fff;
  font-family: Lato, system-ui, sans-serif; font-size: 16px; line-height: 1.6;
}
h1,h2,h3 { font-family: Oswald, Impact, sans-serif; font-weight: 500; color: #fff;
  text-transform: none; margin: 0 0 .6em; line-height: 1.15; }
h1 { font-size: 36px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0 0 1.2em; }
a { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }
.dedans { max-width: var(--large); margin: 0 auto; padding: 0 20px; }
.saut { position: absolute; left: -9999px; }
.saut:focus { left: 10px; top: 10px; background: #fff; color: var(--bleu);
  padding: 10px 14px; border-radius: 5px; z-index: 20; }

.bouton {
  display: inline-block; background: #fff; color: var(--encre-bouton);
  font-family: Lato, sans-serif; font-size: 16px; text-decoration: none;
  padding: 11px 22px; border-radius: 5px; transition: opacity .2s;
}
.bouton:hover { opacity: .82; }
.ligne-bouton { margin: 1.6em 0; }

/* l'entete */
.entete { background: var(--bleu); padding: 18px 0; position: sticky; top: 0;
  z-index: 10; border-bottom: 1px solid rgba(255,255,255,.14); }
.entete .dedans { display: flex; align-items: center; gap: 20px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: Oswald, sans-serif; font-size: 19px; }
.marque img { width: 56px; height: auto; }
.entete nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.menu a, .menu span { text-decoration: none; font-size: 15px; display: block;
  padding: 4px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu .actif { border-bottom-color: #fff; }
.menu .avec-sous { position: relative; }
.menu .avec-sous > ul {
  position: absolute; left: -14px; top: 100%; display: none; min-width: 230px;
  background: #fff; list-style: none; margin: 0; padding: 8px 0;
  border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.menu .avec-sous:hover > ul, .menu .avec-sous:focus-within > ul { display: block; }
.menu .avec-sous > ul a { color: var(--encre-bouton); padding: 8px 18px;
  border: 0; }
.menu .avec-sous > ul a:hover { background: #f1f1f4; }
.sociaux { display: flex; gap: 10px; }
.social { color: #fff; display: block; }
.burger { display: none; margin-left: auto; background: none; border: 0;
  padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; }

/* le contenu */
main { padding: 46px 0 70px; }
.titre-page { max-width: var(--large); margin: 0 auto 18px; padding: 0 20px; }
.titre-page h1 { margin: 0; }
main .dedans > *:first-child { margin-top: 0; }

.hero { text-align: center; padding: 10px 0 26px; }
.hero .logo-hero { width: 180px; margin: 0 auto 26px; }
.hero h1 { font-size: 40px; margin-bottom: .5em; }
.chapeau { font-size: 19px; max-width: 640px; margin: 0 auto; }

.horaires { text-align: center; margin: 48px 0; }
.horaires table { margin: 0 auto 1.2em; border-collapse: collapse; }
.horaires th, .horaires td { padding: 5px 14px; text-align: left;
  font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.18); }
.horaires th { font-family: Oswald, sans-serif; }
.horaires .adresse { margin-bottom: 1.4em; }

.bandeau { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 46px 0; }
.bandeau img { width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 5px; }

.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 34px;
  margin: 52px 0; }
.vignette, .carte { text-align: center; }
.picto { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 16px; }
.vignette h2, .carte h2 { font-size: 21px; }
.vignette p { margin-bottom: 1.4em; }
.carte .lieu { margin-bottom: .6em; }
.carte .quand { opacity: .85; }

.avant { display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  align-items: center; margin: 56px 0; }
.avant-image img { border-radius: 5px; }

figure.pleine { margin: 0 0 32px; }
figure.pleine img { border-radius: 5px; width: 100%; }

/* Les publications republiees (bloc `posts`). Le filet et la discretion de la
   date reprennent des valeurs deja en place sur le site, pour que la section
   ne se lise pas comme un module rapporte. */
.actu { border-top: 1px solid rgba(255,255,255,.16); padding: 28px 0 4px; }
.actu:first-of-type { border-top: 0; padding-top: 4px; }
.actu h3 { margin-bottom: .25em; }
.actu-date { color: rgba(255,255,255,.62); font-size: 14px;
  letter-spacing: .02em; margin: 0 0 1em; }

.produits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px;
  margin: 42px 0; }
.produit { background: rgba(255,255,255,.07); border-radius: 5px;
  padding: 24px 26px; }
.produit h2 { font-size: 19px; }
.produit .format { font-size: 14px; opacity: .8; margin-bottom: .9em; }
.produit p:last-child { margin-bottom: 0; }

.cartes-liens { display: grid; gap: 42px; margin: 42px 0; }
.carte-lien { display: grid; grid-template-columns: 260px 1fr; gap: 30px;
  align-items: start; }
.carte-lien img { border-radius: 5px; }
.carte-texte p:last-child { margin-bottom: 0; }

.coordonnees { margin: 40px 0; }

/* le pied */
.pied { background: #0b1c6e; padding: 54px 0 0; font-size: 15px; }
.pied .dedans { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 34px; }
.pied h2 { font-size: 17px; }
.pied .plan { list-style: none; margin: 0 0 1.2em; padding: 0; }
.pied .plan li { margin-bottom: .4em; }
.pied .bas { max-width: var(--large); margin: 40px auto 0; padding: 20px;
  border-top: 1px solid rgba(255,255,255,.16); display: flex;
  flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 14px; opacity: .85; }
.pied .bas p { margin: 0; }

@media (max-width: 900px) {
  .avant, .produits, .pied .dedans { grid-template-columns: 1fr; }
  .grille { grid-template-columns: repeat(2, 1fr); }
  .bandeau { grid-template-columns: repeat(2, 1fr); }
  .carte-lien { grid-template-columns: 1fr; }
  .carte-lien .carte-image { max-width: 320px; }
}
@media (max-width: 720px) {
  h1 { font-size: 29px; }
  .hero h1 { font-size: 31px; }
  .hero .logo-hero { width: 132px; }
  .chapeau { font-size: 17px; }
  .grille { grid-template-columns: 1fr; gap: 38px; }
  main { padding: 32px 0 56px; }
  .burger { display: block; }
  .entete nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bleu); flex-direction: column; align-items: flex-start;
    gap: 14px; padding: 18px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  body.menu-ouvert .entete nav { display: flex; }
  .menu { flex-direction: column; gap: 6px; width: 100%; }
  .menu .avec-sous > ul { position: static; display: block; background: none;
    box-shadow: none; padding: 4px 0 4px 16px; min-width: 0; }
  .menu .avec-sous > ul a { color: #fff; padding: 5px 0; }
  .menu .avec-sous > ul a:hover { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
