@charset "UTF-8";
/* ============================================================================
   BASE : variables, en-tete, menu, recherche, pied de page. Charge sur toutes les pages (functions.php).
   Largeur du contenu : 1010px ; 99% de 901 a 1045px ; marges de 16px sous 901px.
   Rupture mobile : 900px (la barre du haut disparait, le menu se deplie sous la barre "Menu").
   ========================================================================== */

/* ---------- Polices hebergees (Oswald, Source Serif 4) : fichiers de assets/fonts/, memes que ceux de Google Fonts
   (version sans axe de taille optique, 2,5 fois plus legere ; size-adjust: 97% compense sa chasse plus large pour garder la longueur des lignes). Latin et latin-ext : le navigateur ne charge latin-ext que si un texte en a besoin. ---------- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/oswald-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 700;
  font-display: swap;
  src: url("../fonts/oswald-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: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  size-adjust: 97%;
  src: url("../fonts/source-serif-4-italic-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: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  size-adjust: 97%;
  src: url("../fonts/source-serif-4-italic-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 97%;
  src: url("../fonts/source-serif-4-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 97%;
  src: url("../fonts/source-serif-4-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;
}

:root {
  --c-bleu: #0B4FA8;        --c-bleu-fonce: #042A57;
  --c-texte: #1A2530;       --c-texte-2: #4A5A6E;
  --c-filet: #D9DFE8;       --c-filet-2: #EDF0F5;
  --c-fond: #FFFFFF;        --c-fond-tech: #F7F9FB;  --c-fond-synopsis: #F2F6FB;
  --c-champ: #B5C0CE;       --c-surligne: #E2EAF5;
  --c-etoile: #0B4FA8;      --c-etoile-vide: #C9D2DE;

  --f-titre: 'Oswald', 'Arial Narrow', sans-serif;
  --f-texte: 'Source Serif 4', Georgia, serif;

  --fs-titre: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --fs-chapo: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  --fs-h2:    clamp(1.5rem, 1.35rem + .6vw, 1.875rem);
  --fs-h3:    clamp(1.25rem, 1.2rem + .25vw, 1.375rem);
  --fs-corps: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --fs-meta: 1rem; --fs-legende: 1rem;
  --lh-titre: 1.15; --lh-inter: 1.25; --lh-chapo: 1.55; --lh-corps: 1.7;

  --esp-1: 4px; --esp-2: 8px; --esp-3: 12px; --esp-4: 16px; --esp-5: 24px;
  --esp-6: 32px; --esp-7: 48px; --esp-8: 64px; --esp-9: 96px;

  --rayon: 4px;
  --bord: 1px solid var(--c-filet);
  --ombre: 0 1px 2px rgba(4,42,87,.12), 0 4px 12px rgba(4,42,87,.08);
  --focus: 2px solid var(--c-bleu);

  --col-lecture: 860px;
  --col-texte: 640px;
  --site: 1280px;
  --gouttiere: clamp(16px, 4vw, 30px);
  --cible: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--c-texte);
  font-family: var(--f-texte);
  font-size: 16px;
  line-height: 1.4;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-bleu); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--c-bleu); outline-offset: 2px; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  clip-path: none;
  background: #fff;
  color: var(--c-bleu-fonce);
}

.wrap { width: 100%; max-width: 1010px; margin: 0 auto; }
@media only screen and (max-width: 1045px) { .wrap { max-width: 99%; } }
@media only screen and (max-width: 900px) { .wrap { max-width: none; padding: 0 16px; } }

/* ---------- Cadre du contenu : un bloc de 1010px sous l'en-tete ---------- */
.site-body { width: 100%; max-width: 1010px; margin: 0 auto; padding: 32px 0 80px; }
@media only screen and (max-width: 1045px) { .site-body { max-width: 99%; } }
@media only screen and (max-width: 900px) { .site-body { max-width: none; padding: 24px 16px 56px; } }

/* ---------- En-tete : barre du haut ---------- */
.site-header { position: relative; background: #fff; }
.topbar { height: 34px; background: #F4F6F9; border-bottom: 1px solid #E3E8EF; }
.topbar .wrap { display: flex; align-items: center; height: 33px; }
.today-date {
  margin: 0 24px 0 0;
  padding: 0 24px 0 0;
  border-right: 1px solid #C5CFDB;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5B6B80;
}
.top-menu { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.top-menu a { font-size: 14px; line-height: 1.3; color: #2B3A4C; text-decoration: none; }
.top-menu a:hover { color: var(--c-bleu); }
.social { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.social a { display: block; line-height: 0; color: #5B6B80; }
.social a:hover { color: var(--c-bleu); }

/* ---------- Logo : il porte la signature "CRITIQUES - SALLES - ..." : dimensionne en largeur ; la marge
   negative annule la marge transparente a gauche de l'image pour aligner l'horloge sur le menu ---------- */
.brand { padding: 22px 0; }
.logo { display: block; line-height: 0; }
.logo img { display: block; width: 480px; max-width: 100%; height: auto; margin-left: -12px; }
@media only screen and (min-width: 1024px) { .logo img { width: 620px; margin-left: -16px; } }

/* ---------- Barre de menu ---------- */
.nav-toggle { display: none; }
.site-nav { background: var(--c-bleu-fonce); }
.site-nav .wrap { position: relative; }
.main-nav .menu { display: flex; flex-wrap: nowrap; gap: 34px; margin: 0; padding: 0; list-style: none; }
.main-nav .menu > li { position: relative; white-space: nowrap; }
.main-nav .menu > li > a {
  display: flex;
  align-items: center;
  padding: 15px 0 13px;
  border-bottom: 2px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #fff;
  text-decoration: none;
  transition: color .15s;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li:hover > a { color: #A9CBFF; }
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-parent > a,
.main-nav .menu > li.current-menu-ancestor > a,
.main-nav .menu > li.current_page_parent > a,
.main-nav .menu > li.current-page-ancestor > a { color: #fff; border-bottom-color: #6FA8FF; }

/* chevron fin : ferme = bas gris, survole = haut blanc */
.main-nav .menu > li.menu-item-has-children > a::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 0 0 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 10 10' fill='none' stroke='%238FA6C4' stroke-width='1.5'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E") center / 9px 9px no-repeat;
}
.main-nav .menu > li.menu-item-has-children:hover > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 10 10' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M2 6.5l3-3 3 3'/%3E%3C/svg%3E");
}

.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 300;
  width: 280px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #D3DBE5;
  border-top: 0;
  box-shadow: 0 12px 28px rgba(4, 42, 87, .14);
}
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-texte);
  text-decoration: none;
}
.main-nav .sub-menu a:hover { background: #EEF3FA; color: var(--c-bleu); }
.sub-toggle { display: none; }

/* ---------- Recherche : dans la barre de menu, alignee a droite ---------- */
form.search {
  position: absolute;
  right: 0;
  bottom: 12.5px;                 /* barre de 50px, champ de 25px : centre */
  z-index: 260;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 170px;
  margin: 0;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.search-button { display: block; padding: 0; border: 0; background: none; line-height: 0; color: #A9BCD6; cursor: pointer; }
.search-field {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--f-texte);
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  -webkit-appearance: none;
          appearance: none;
}
.search-field::placeholder { color: #8FA6C4; opacity: 1; }
.search-field:focus-visible { outline: 0; }
.search-field::-webkit-search-cancel-button { display: none; }

/* Resultats instantanes (assets/js/site.js) : sous le champ, bord droit aligne sur le menu */
form.search .search-results {
  position: absolute;
  top: calc(100% + 12.5px);
  right: 0;
  z-index: 400;
  width: 380px;
  background: #fff;
  border: 1px solid #D9DFE8;
  border-top: 2px solid var(--c-bleu);
  box-shadow: 0 12px 28px rgba(4, 42, 87, .16);
}
form.search .search-results[hidden] { display: none; }
form.search .search-results ul { margin: 0; padding: 0; list-style: none; }
form.search .search-results li { border-bottom: 1px solid #EDF0F5; }
form.search .search-results .sr-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 4px 14px;
  align-items: start;
  padding: 12px 16px;
  color: var(--c-bleu-fonce);
  text-decoration: none;
}
form.search .search-results .sr-item:hover,
form.search .search-results .is-selected { background: #F2F6FB; }
form.search .search-results .sr-img { grid-row: 1 / 3; width: 72px; height: 72px; background: #EDF0F5; }
form.search .search-results .sr-img img { display: block; width: 72px; max-width: none; height: 72px; object-fit: cover; }
form.search .search-results .sr-text { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--c-bleu-fonce); }
form.search .search-results .sr-date { font-size: 14px; line-height: 1.3; color: #5B6B80; }
form.search .search-results .sr-more {
  display: block;
  padding: 14px 16px;
  background: #F7F9FB;
  font-family: var(--f-titre);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-bleu);
  text-decoration: none;
}
form.search .search-results .sr-more::after { content: " \2192"; }
form.search .search-results .sr-more:hover,
form.search .search-results .sr-more.is-selected { color: var(--c-bleu-fonce); }
form.search .search-results .sr-empty { margin: 0; padding: 14px 16px; font-size: 15px; color: #5B6B80; }

/* ---------- Mobile (moins de 901px) : barre "Menu" bleu marine, liste depliee dessous ---------- */
@media only screen and (max-width: 900px) {
  .topbar { display: none; }
  .brand { padding: 14px 16px; max-width: none; }

  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: var(--c-bleu-fonce);
    font-family: var(--f-texte);
    font-size: 15px;
    font-weight: 500;
    line-height: 46px;
    color: #fff;
    cursor: pointer;
  }
  .nav-toggle .nav-loupe { margin: 0 6px 0 auto; }
  .nav-toggle .nav-ico--close, .nav-toggle .nav-label--close { display: none; }
  .site-header.is-open .nav-toggle .nav-ico--open, .site-header.is-open .nav-toggle .nav-label--open, .site-header.is-open .nav-toggle .nav-loupe { display: none; }
  .site-header.is-open .nav-toggle .nav-ico--close, .site-header.is-open .nav-toggle .nav-label--close { display: block; }

  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; background: #fff; color: var(--c-texte); }
  .site-header.is-open .site-nav { display: block; box-shadow: 0 12px 28px rgba(4, 42, 87, .14); }
  .site-nav .wrap { display: flex; flex-direction: column; padding: 0; max-width: none; }

  form.search {
    position: relative;
    order: -1;
    right: auto;
    bottom: auto;
    width: auto;
    height: 44px;
    margin: 16px;
    padding: 0 12px;
    gap: 10px;
    border: 1px solid #D3DBE5;
    background: #fff;
  }
  .search-button { font-size: 15px; color: #5B6B80; }
  .search-field { height: 42px; font-size: 16px; color: var(--c-texte); }
  .search-field::placeholder { color: #8A9AAE; }
  form.search .search-results { top: 100%; left: -1px; right: -1px; width: auto; }

  .main-nav .menu { display: block; }
  .main-nav .menu > li { position: relative; border-top: 1px solid #E3E8EF; white-space: normal; }
  .main-nav .menu > li > a,
  .main-nav .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 52px 0 16px;
    border: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-texte);
  }
  .main-nav .menu > li > a:hover,
  .main-nav .menu > li:hover > a { color: var(--c-bleu); }
  .main-nav .menu > li.menu-item-has-children > a::after { display: none; }
  .main-nav .menu > li.current-menu-item > a,
  .main-nav .menu > li.current-menu-parent > a,
  .main-nav .menu > li.current-menu-ancestor > a { color: var(--c-bleu); border: 0; }

  .sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    background: none;
    color: #8A9AAE;
    cursor: pointer;
  }
  .sub-toggle svg { transition: transform .15s; }
  li.is-expanded > .sub-toggle { color: var(--c-bleu); }
  li.is-expanded > .sub-toggle svg { transform: rotate(180deg); }
  li.is-expanded > a { color: var(--c-bleu); }

  .main-nav .sub-menu {
    position: static;
    width: auto;
    margin: 0 16px 12px;
    padding: 0;
    background: #F4F6F9;
    border: 0;
    border-left: 2px solid var(--c-bleu);
    box-shadow: none;
  }
  .main-nav .menu > li:hover > .sub-menu { display: none; }
  .main-nav .menu > li.is-expanded > .sub-menu { display: block; }
  .main-nav .sub-menu a { min-height: 44px; padding: 0 14px; font-size: 16px; font-weight: 400; }
}
/* Telephone (moins de 768px) : logo de 48px de haut (la signature est dans l'image : 34px minimum pour
   qu'elle reste lisible) */
@media only screen and (max-width: 767px) {
  .logo img { width: auto; height: 48px; margin-left: -5px; }
}

/* ---------- Pied de page ---------- */
.wpd-footer {
  background: var(--c-bleu-fonce);
  color: #fff;
  font-family: var(--f-texte);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wpd-footer a { color: #fff; text-decoration: none; }
.wpd-footer a:hover { color: #A9CBFF; }
.wpd-footer a:focus-visible { outline: 2px solid #A9CBFF; outline-offset: 2px; }

.wpd-footer-in { width: 1010px; max-width: 99%; margin: 0 auto; }
@media only screen and (max-width: 900px) {
  .wpd-footer-in { width: 100%; max-width: none; padding: 0 16px; }
}
.wpd-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 36px;
  padding: 48px 0 32px;
}
.wpd-footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wpd-footer-logo { display: block; align-self: flex-start; padding: 10px 14px; background: #fff; line-height: 0; }
.wpd-footer-logo img { display: block; width: 220px; max-width: 100%; height: auto; }
.wpd-footer-tag { margin: 2px 0 0; font-size: 15px; line-height: 1.6; color: #C9DAF0; }
.wpd-footer-title {
  margin: 0;
  font-family: var(--f-titre);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .04em;
  color: #fff;
}
.wpd-footer-links { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wpd-footer-bottom { padding: 16px 0 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; line-height: 1.5; color: #A9BCD6; }

/* ---------- Retour en haut de page : carre de 44px bleu marine, fleche fine blanche ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);   /* le carre bleu marine se confond avec le pied de page */
  border-radius: 0;
  background: var(--c-bleu-fonce);
  box-shadow: 0 4px 12px rgba(4, 42, 87, .2);
  cursor: pointer;
}
.to-top[hidden] { display: none; }
.to-top::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M3 11.5l6-6 6 6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M3 11.5l6-6 6 6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

/* ---------- Contenu des articles et des pages (classes ajoutees par l'editeur WordPress) ---------- */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.clear, .fix { clear: both; }
