/* ============================================================
   Styles des blocs ajoutés (espace admin, recrutement, galerie)
   ============================================================ */

.section--serre { padding-top: 0; }
.section--sombre { background: #14171d; color: #e6e6e6; }
.section--sombre h2, .section--sombre h3 { color: #fff; }
.section--bouton { padding: 40px 0; }

/* Photo à gauche dans un bloc « Texte + photo » */
.duo--image-gauche > img { order: -1; }

/* Bannière simple (nouvelles pages) */
.banniere--simple {
  min-height: 52vh;
  background:
    linear-gradient(rgba(25, 30, 40, .6), rgba(25, 30, 40, .6)),
    var(--banniere, none) center / cover no-repeat,
    radial-gradient(ellipse at 30% 20%, #4a5568 0%, #2a3140 55%, #1b2029 100%);
}
.banniere--simple h1 { color: #fff; }
.banniere__texte { max-width: 900px; margin: 0 auto 1em; font-size: 1.15rem; }

/* Textes */
.bloc-texte ul { list-style: none; padding: 0; margin: 0 0 1em; }
.bloc-texte li { margin: 0 0 .9em; }
.bloc-texte li::before { content: "- "; }
.bloc-texte--gras p, .bloc-texte--gras li { font-weight: 700; }
.bloc-texte--doux p, .bloc-texte--doux li { color: var(--texte-doux); }
.bloc-texte--grand p {
  font-family: "Merriweather", Georgia, serif; color: var(--ardoise);
  font-size: 1.15rem; line-height: 1.5;
}
.bloc-texte__bouton { margin-top: 1.4em; }
.cartes-intro { margin-bottom: 50px; }
.trio { margin-top: 40px; }
.logo-texte p {
  font-family: "Merriweather", Georgia, serif; font-weight: 700; color: var(--ardoise);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5;
}
.porte__paragraphes p { margin: 0 auto .9em; }

/* Actualités */
.actualite { margin-bottom: 40px; }
.actualite__titre { margin-bottom: 70px; }
.actualite__titre span { font-size: .7em; }
h2.actualite__titre { font-size: clamp(2rem, 4.2vw, 3.4rem); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 30px; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform .4s ease, box-shadow .4s ease; }
.galerie img:hover { transform: scale(1.02); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.galerie figcaption { text-align: center; color: var(--texte-doux); font-style: italic; margin-top: 8px; font-size: .95rem; }

/* Offres d'emploi */
.offres { display: grid; gap: 22px; margin-top: 30px; }
.offre {
  background: #fff; border: 1px solid #e3e5e9; border-left: 4px solid #c9a24a;
  padding: 28px 30px; box-shadow: 0 6px 20px rgba(20, 23, 29, .06);
  transition: box-shadow .3s ease, transform .3s ease;
}
.offre:hover { box-shadow: 0 14px 34px rgba(20, 23, 29, .12); transform: translateY(-2px); }
.offre h3 { margin-bottom: .3em; }
.offre__infos { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--texte-doux); font-size: .98rem; margin-bottom: .8em; }
.offre__resume { margin-bottom: 1em; }
.offre__detail { margin: 0 0 1.2em; }
.offre__detail summary { cursor: pointer; font-weight: 700; color: var(--ardoise); }
.offre__detail .bloc-texte { margin-top: 1em; }
.offres__aucune { padding: 26px 30px; background: var(--fond-gris); border-left: 4px solid #c9a24a; }

/* Candidature */
.candidature { max-width: 860px; }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.formulaire input[type="file"] { padding: 10px; background: #fafafa; cursor: pointer; }
.formulaire .aide { font-weight: 400; color: var(--texte-doux); font-size: .92rem; }
.formulaire .case { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 6px 0 24px; cursor: pointer; }
.formulaire .case input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.erreur-fichier { margin: -10px 0 20px; padding: 10px 14px; background: #fdecec; color: #9b1c1c; border-left: 4px solid #d64545; font-weight: 700; }

/* Pied de page : accès administrateur discret */
.pied__admin { display: inline-flex; vertical-align: middle; margin-left: 14px; color: #8d8d8d !important; opacity: .7; transition: opacity .2s, color .2s; }
.pied__admin:hover, .pied__admin:focus-visible { opacity: 1; color: #e9c46a !important; }

@media (max-width: 900px) {
  .formulaire__ligne { grid-template-columns: 1fr; }
  .duo--image-gauche > img { order: -1; }
  .offre { padding: 22px 20px; }
}

/* Bouton « Choisir mon CV » (remplace le bouton du navigateur) */
.fichier { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding: 10px; border: 1px dashed #b9bdc4; background: #fafafa; }
.fichier__champ { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0 !important; }
.fichier__bouton { margin: 0 !important; display: inline-block; padding: 10px 18px; background: var(--ardoise); color: #fff; font-weight: 700; border-radius: 2px; pointer-events: none; }
.fichier__nom { color: var(--texte-doux); word-break: break-all; }
.fichier:focus-within { outline: 2px solid var(--ardoise); outline-offset: 2px; }
.fichier.choisi .fichier__nom { color: var(--texte); font-weight: 700; }

/* Menu : reste sur une ligne même avec plus d'onglets */
@media (min-width: 901px) {
  .menu ul { gap: 4px 4px; }
  .menu a { padding: 8px 14px; font-size: 1rem; }
}
@media (min-width: 1100px) {
  .entete.reduit .menu a { padding: 7px 10px; font-size: .9rem; }
  .entete.reduit .logo img { height: 46px; }
}
