@charset "UTF-8";
:root
{
    --bs-sable : #EFE6D2;
    --bs-sable-clair : #FCF9F4;
    --bs-rouge-brique : #952929;
    --bs-rouge : #B43030;
    --bs-rouge-vif : #D90000;
    --bs-bleu :#005CA9;
    --bs-jean-sombre :  #557A99;
    --bs-jean : #88A5BE;
    --bs-azure-clair : #DDEFFF;
    --bs-argile :#F2B08D;
    --bs-argile-clair:#FCDDC9;
    --bs-sable-rgb: 239, 230, 210;
    --bs-sable-clair-rgb: 252, 249, 244;
    --bs-rouge-brique-rgb: 149, 41, 41;
    --bs-rouge-rgb: 180, 48, 48;
    --bs-rouge-vif-rgb: 217, 0, 0;
    --bs-bleu-rgb: 0, 92, 169;
    --bs-jean-sombre-rgb: 85, 122, 153;
    --bs-jean-rgb: 136, 165, 190;
    --bs-azure-clair-rgb: 221, 239, 255;
    --bs-argile-rgb: 242, 176, 141;
    --bs-argile-clair-rgb: 252, 221, 201;
}
/* ── Sticky footer — body flex column ── */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

.nav-btn.active {
    background-color: var(--bs-jean) !important; 
    color: var(--bs-sable-clair) !important;
    border-radius: 5px;
    padding: 10px 25px !important;
    font-weight: bold;
    transition: all 0.3s ease;
}
.navbar, h1, h2, h3, .navbar-brand 
{
    font-family: 'Newsreader', serif !important;
}

/* Dropdown — base visuelle commune */
.custom-dropdown {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(var(--bs-jean-sombre-rgb), 0.15) !important;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Le conteneur du menu déroulant s'il est actif */
.navbar .navbar-nav .nav-item .dropdown-toggle.active + .dropdown-menu.custom-dropdown {
    background-color: var(--bs-jean) !important;       /* Fond bleu-jean */
    border: none !important;                           /* On enlève la bordure claire */
    overflow: hidden !important;                       /* Coupe les angles proprement */
    padding-top: 0 !important;                         /* Colle au bouton du haut */
    padding-bottom: 0 !important;                      /* Pas d'espace vide en bas */
}

/* 2. Les liens à l'intérieur du menu déroulant actif (par défaut) */
.navbar .navbar-nav .nav-item .dropdown-toggle.active + .dropdown-menu.custom-dropdown .dropdown-item {
    color: var(--bs-sable-clair) !important;          /* Texte en sable clair */
    background-color: transparent !important;          /* Fond transparent */
}

/* 3. L'élément de la page exacte (ex: 'Admin' au sein du menu Admin) */
.navbar .navbar-nav .nav-item .dropdown-toggle.active + .dropdown-menu.custom-dropdown .dropdown-item.active {
    background-color: var(--bs-jean-sombre) !important; /* Bleu plus foncé pour la page exacte */
    color: var(--bs-sable-clair) !important;
    font-weight: bold !important;
}

/* Effet au survol sur les éléments du menu déroulant actif */
.navbar .navbar-nav .nav-item .dropdown-toggle.active + .dropdown-menu.custom-dropdown .dropdown-item:hover {
    background-color: var(--bs-sable-clair) !important; 
    color: var(--bs-jean-sombre) !important;
}

/*Lignes de séparation bleues dans le menu actif */
.navbar .navbar-nav .nav-item .dropdown-toggle.active + .dropdown-menu.custom-dropdown li:not(:last-child) {
    border-bottom: 1px solid #557A99 !important;       /* Séparateur bleu-jean-sombre */
}
.navbar .navbar-nav .nav-item .dropdown-toggle+ .dropdown-menu.custom-dropdown li:not(:last-child) {
    border-bottom: 1px solid #FCDDC9 !important;       /* Séparateur bleu-jean-sombre */
}


/* ============================================================
   NAVBAR — Rework visuel liens + hover + actif
   ============================================================ */

/* État par défaut */
.nav-link-custom,
.nav-btn-accueil {
    color: var(--bs-bleu) !important;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px !important;
    display: inline-block !important;
    border-radius: 5px;
    background-color: transparent !important;
    transition: color 0.2s ease;
    position: relative;
}

/* Soulignement animé (hors dropdown-toggle pour ne pas interférer avec la flèche Bootstrap) */
.nav-link-custom:not(.dropdown-toggle)::after,
.nav-btn-accueil:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: var(--bs-jean);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

/* Hover : trait glisse de gauche à droite */
.nav-link-custom:not(.dropdown-toggle):hover::after,
.nav-btn-accueil:not(.dropdown-toggle):hover::after {
    transform: scaleX(1);
}

.nav-link-custom:hover,
.nav-btn-accueil:hover {
    color: var(--bs-jean-sombre) !important;
    transform: none;
    filter: none;
}

/* État actif : trait fixe + couleur jean sombre */
.nav-link-custom.active:not(.dropdown-toggle),
.nav-btn-accueil.active:not(.dropdown-toggle) {
    color: var(--bs-jean-sombre) !important;
    font-weight: 700;
}

.nav-link-custom.active:not(.dropdown-toggle)::after,
.nav-btn-accueil.active:not(.dropdown-toggle)::after {
    transform: scaleX(1);
    background-color: var(--bs-jean-sombre);
}

/* Dropdown-toggle actif : juste la couleur, sans trait */
.nav-link-custom.dropdown-toggle.active {
    color: var(--bs-jean-sombre) !important;
    font-weight: 700;
}

/* FORCE LE DESIGN RECTANGLE BLEU-JEAN SUR L'ONGLET ACTIF */
.navbar .navbar-nav .nav-item .nav-link.nav-btn-general.active {
    background-color: var(--bs-jean) !important;       /* Ton fond bleu jean */
    color: var(--bs-white) !important;                 /* Ton texte blanc cassé */
    border-radius: 5px !important;                     /* Coins arrondis */
    padding: 10px 25px !important;                     /* Crée la boîte rectangulaire */
    font-weight: bold !important;
    transform: scale(1) !important;                    /* Désactive le zoom du hover sur l'élément actif */
}

/* Gestion de la flèche du menu déroulant (dropdown-toggle) quand l'élément est actif */
.navbar .navbar-nav .nav-item .dropdown-toggle.nav-btn-general.active::after {
    color: var(--bs-white) !important; /* La flèche passe aussi en blanc cassé */
}
/* --- SABLE --- */
.bg-sable {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-sable-rgb), var(--bs-bg-opacity)) !important;
}
.bg-sable-clair {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-sable-clair-rgb), var(--bs-bg-opacity)) !important;
}

/* --- ROUGE --- */
.bg-rouge-brique {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-rouge-brique-rgb), var(--bs-bg-opacity)) !important;
}
.bg-rouge {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-rouge-rgb), var(--bs-bg-opacity)) !important;
}
.bg-rouge-vif {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-rouge-vif-rgb), var(--bs-bg-opacity)) !important;
}

/* --- BLEU / JEAN --- */
.bg-bleu {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-bleu-rgb), var(--bs-bg-opacity)) !important;
}
.bg-jean-sombre {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-jean-sombre-rgb), var(--bs-bg-opacity)) !important;
}
.bg-jean {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-jean-rgb), var(--bs-bg-opacity)) !important;
}
.bg-azure-clair {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-azure-clair-rgb), var(--bs-bg-opacity)) !important;
}

/* --- ARGILE --- */
.bg-argile {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-argile-rgb), var(--bs-bg-opacity)) !important;
}
.bg-argile-clair {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-argile-clair-rgb), var(--bs-bg-opacity)) !important;
}

/* --- COULEUR DU TEXTE --- */
.text-sable { --bs-text-opacity: 1; color: rgba(var(--bs-sable-rgb), var(--bs-text-opacity)) !important; }
.text-sable-clair { --bs-text-opacity: 1; color: rgba(var(--bs-sable-clair-rgb), var(--bs-text-opacity)) !important; }
.text-rouge-brique { --bs-text-opacity: 1; color: rgba(var(--bs-rouge-brique-rgb), var(--bs-text-opacity)) !important; }
.text-rouge { --bs-text-opacity: 1; color: rgba(var(--bs-rouge-rgb), var(--bs-text-opacity)) !important; }
.text-rouge-vif { --bs-text-opacity: 1; color: rgba(var(--bs-rouge-vif-rgb), var(--bs-text-opacity)) !important; }
.text-bleu { --bs-text-opacity: 1; color: rgba(var(--bs-bleu-rgb), var(--bs-text-opacity)) !important; }
.text-jean-sombre { --bs-text-opacity: 1; color: rgba(var(--bs-jean-sombre-rgb), var(--bs-text-opacity)) !important; }
.text-jean { --bs-text-opacity: 1; color: rgba(var(--bs-jean-rgb), var(--bs-text-opacity)) !important; }
.text-azure-clair { --bs-text-opacity: 1; color: rgba(var(--bs-azure-clair-rgb), var(--bs-text-opacity)) !important; }
.text-argile { --bs-text-opacity: 1; color: rgba(var(--bs-argile-rgb), var(--bs-text-opacity)) !important; }
.text-argile-clair { --bs-text-opacity: 1; color: rgba(var(--bs-argile-clair-rgb), var(--bs-text-opacity)) !important; }

/* --- BORDURES --- */
.border-sable { --bs-border-opacity: 1; border-color: rgba(var(--bs-sable-rgb), var(--bs-border-opacity)) !important; }
.border-sable-clair { --bs-border-opacity: 1; border-color: rgba(var(--bs-sable-clair-rgb), var(--bs-border-opacity)) !important; }
.border-rouge-brique { --bs-border-opacity: 1; border-color: rgba(var(--bs-rouge-brique-rgb), var(--bs-border-opacity)) !important; }
.border-rouge { --bs-border-opacity: 1; border-color: rgba(var(--bs-rouge-rgb), var(--bs-border-opacity)) !important; }
.border-rouge-vif { --bs-border-opacity: 1; border-color: rgba(var(--bs-rouge-vif-rgb), var(--bs-border-opacity)) !important; }
.border-bleu { --bs-border-opacity: 1; border-color: rgba(var(--bs-bleu-rgb), var(--bs-border-opacity)) !important; }
.border-jean-sombre { --bs-border-opacity: 1; border-color: rgba(var(--bs-jean-sombre-rgb), var(--bs-border-opacity)) !important; }
.border-jean { --bs-border-opacity: 1; border-color: rgba(var(--bs-jean-rgb), var(--bs-border-opacity)) !important; }
.border-azure-clair { --bs-border-opacity: 1; border-color: rgba(var(--bs-azure-clair-rgb), var(--bs-border-opacity)) !important; }
.border-argile { --bs-border-opacity: 1; border-color: rgba(var(--bs-argile-rgb), var(--bs-border-opacity)) !important; }
.border-argile-clair { --bs-border-opacity: 1; border-color: rgba(var(--bs-argile-clair-rgb), var(--bs-border-opacity)) !important; }

/* --- COMBOS FOND + TEXTE CONTRASTÉ --- */
/* Gère automatiquement la couleur du texte (clair ou sombre) selon la couleur du fond */
.text-bg-sable { color: #212529 !important; background-color: RGBA(var(--bs-sable-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-sable-clair { color: #212529 !important; background-color: RGBA(var(--bs-sable-clair-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-rouge-brique { color: #fff !important; background-color: RGBA(var(--bs-rouge-brique-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-rouge { color: #fff !important; background-color: RGBA(var(--bs-rouge-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-rouge-vif { color: #fff !important; background-color: RGBA(var(--bs-rouge-vif-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-bleu { color: #fff !important; background-color: RGBA(var(--bs-bleu-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-jean-sombre { color: #fff !important; background-color: RGBA(var(--bs-jean-sombre-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-jean { color: #fff !important; background-color: RGBA(var(--bs-jean-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-azure-clair { color: #212529 !important; background-color: RGBA(var(--bs-azure-clair-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-argile { color: #212529 !important; background-color: RGBA(var(--bs-argile-rgb), var(--bs-bg-opacity, 1)) !important; }
.text-bg-argile-clair { color: #212529 !important; background-color: RGBA(var(--bs-argile-clair-rgb), var(--bs-bg-opacity, 1)) !important; }

/* --- LIENS COLORÉS     --- */
/* Inclus la couleur de base + un effet de survol (hover) légèrement assombri */
.link-sable { color: var(--bs-sable) !important; }
.link-sable:hover, .link-sable:focus { color: #d6cbaf !important; }

.link-sable-clair { color: var(--bs-sable-clair) !important; }
.link-sable-clair:hover, .link-sable-clair:focus { color: #e5e2dd !important; }

.link-rouge-brique { color: var(--bs-rouge-brique) !important; }
.link-rouge-brique:hover, .link-rouge-brique:focus { color: #701f1f !important; }

.link-rouge { color: var(--bs-rouge) !important; }
.link-rouge:hover, .link-rouge:focus { color: #8a2525 !important; }

.link-rouge-vif { color: var(--bs-rouge-vif) !important; }
.link-rouge-vif:hover, .link-rouge-vif:focus { color: #a60000 !important; }

.link-bleu { color: var(--bs-bleu) !important; }
.link-bleu:hover, .link-bleu:focus { color: #004580 !important; }

.link-jean-sombre { color: var(--bs-jean-sombre) !important; }
.link-jean-sombre:hover, .link-jean-sombre:focus { color: #3d5b75 !important; }

.link-jean { color: var(--bs-jean) !important; }
.link-jean:hover, .link-jean:focus { color: #6183a0 !important; }

.link-azure-clair { color: var(--bs-azure-clair) !important; }
.link-azure-clair:hover, .link-azure-clair:focus { color: #b0dcff !important; }

.link-argile { color: var(--bs-argile) !important; }
.link-argile:hover, .link-argile:focus { color: #df9066 !important; }

.link-argile-clair { color: var(--bs-argile-clair) !important; }
.link-argile-clair:hover, .link-argile-clair:focus { color: #fcae92 !important; }

/* --- Aliases pour compatibilité avec style_couleur.css --- */
:root {
    --bs-blue: var(--bs-bleu);
    --bs-white: var(--bs-sable-clair);
    --bs-jean-foncé: var(--bs-jean-sombre);
}



/* ================================================================
   RECRUTEMENT — styles communs (admin + visiteur)
   ================================================================ */

/* ── Page générale ── */
.recrutement-page {
    background-color: var(--bs-sable-clair);
    font-family: 'Newsreader', serif;
    min-height: 80vh;
}

/* ── Toast notifications ── */
#toast-recr {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: 8px;
    font-family: 'Newsreader', serif;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}
#toast-recr.visible { opacity: 1; transform: translateY(0); }
#toast-recr.succes  { background: var(--bs-jean-sombre); color: var(--bs-sable-clair); }
#toast-recr.erreur  { background: var(--bs-rouge-brique); color: white; }

/* ── Badges type de compte ── */
.badge-type {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-type.adherent {
    background: rgba(0,92,169,0.1);
    color: var(--bs-bleu);
    border: 1px solid rgba(0,92,169,0.2);
}
.badge-type.invite {
    background: rgba(85,122,153,0.1);
    color: var(--bs-jean-sombre);
    border: 1px solid rgba(85,122,153,0.2);
}

/* ── Bouton fichier (CV / LM) ── */
.btn-fichier {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: white;
    border: 1.5px solid var(--bs-jean);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    color: var(--bs-jean-sombre);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
    margin: 1px;
}
.btn-fichier:hover { background: var(--bs-bleu); color: white; border-color: var(--bs-bleu); }

/* ── Animations ── */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeInRow {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}


/* ================================================================
   ADMIN RECRUTEMENT
   ================================================================ */

.admin-wrapper {
    max-width: 1140px;
    margin: 2rem auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ── Blocs ── */
.bloc {
    border: 1.5px solid var(--bs-jean);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bs-sable-clair);
    box-shadow: 0 2px 10px rgba(0,92,169,0.08);
    transition: box-shadow 0.2s ease;
    position: relative;
}
.bloc:hover { box-shadow: 0 4px 18px rgba(0,92,169,0.13); }

.bloc-header {
    background: linear-gradient(90deg, var(--bs-jean-sombre) 0%, var(--bs-jean) 100%);
    color: var(--bs-sable-clair);
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.bloc-header .titre-header { display: flex; align-items: center; gap: 0.55rem; }

/* ── Tableau offres admin ── */
.offres-grid { display: grid; grid-template-columns: 1fr 140px 160px; }
.offres-head { display: contents; }
.offres-head > div {
    background: var(--bs-jean);
    color: var(--bs-sable-clair);
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.offres-head > div:first-child { text-align: left; border-left: none; }
.offres-head > div:last-child  { border-right: none; }

.offre-row { display: contents; }
.offre-row > div {
    display: flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--bs-azure-clair);
    border-right: 1px solid var(--bs-azure-clair);
    transition: background 0.12s;
}
.offre-row > div:last-child  { border-right: none; justify-content: center; }
.offre-row:last-child > div  { border-bottom: none; }
.offres-body > .offre-row:nth-child(odd)  > div { background: var(--bs-sable-clair); }
.offres-body > .offre-row:nth-child(even) > div { background: var(--bs-sable); }
.offres-body > .offre-row:hover > div { background: var(--bs-azure-clair) !important; }

.poste-nom    { font-size: 0.92rem; color: var(--bs-bleu); font-weight: 500; }
.poste-contrat {
    font-size: 0.75rem; color: var(--bs-jean-sombre);
    background: rgba(85,122,153,0.1); border: 1px solid rgba(85,122,153,0.2);
    border-radius: 12px; padding: 0.1rem 0.5rem; margin-left: 0.6rem;
}

/* ── Input nb postes ── */
.nb-postes-input {
    width: 64px; text-align: center;
    border: 1.5px solid var(--bs-jean); border-radius: 6px;
    font-size: 0.95rem; padding: 4px 6px;
    background: white; color: var(--bs-bleu); font-weight: 700;
    font-family: 'Newsreader', serif; transition: border-color 0.2s;
    margin: 0 auto;
}
.nb-postes-input:focus {
    outline: none; border-color: var(--bs-bleu);
    box-shadow: 0 0 0 2px rgba(0,92,169,0.15);
}
.nb-postes-input.dirty { border-color: var(--bs-rouge) !important; }

/* ── Badge demandes ── */
.badge-demandes {
    background: var(--bs-bleu); color: white;
    border-radius: 6px; padding: 0.22rem 0.7rem;
    font-size: 0.85rem; font-weight: 700;
    min-width: 32px; text-align: center; display: inline-block;
}
.badge-demandes.zero { background: var(--bs-jean); opacity: 0.6; }

/* ── Bouton enregistrer ── */
.btn-enregistrer {
    background: white; border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 7px; padding: 0.3rem 1rem;
    font-size: 0.88rem; cursor: pointer; color: var(--bs-jean-sombre);
    font-family: 'Newsreader', serif; font-weight: 600; transition: all 0.2s;
}
.btn-enregistrer:hover { background: var(--bs-sable); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.btn-enregistrer:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Table candidats ── */
.table-candidats { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table-candidats thead tr {
    background: linear-gradient(90deg, var(--bs-jean-sombre) 0%, var(--bs-jean) 100%);
    color: var(--bs-sable-clair);
}
.table-candidats thead th {
    padding: 0.55rem 0.8rem; font-weight: 600; text-align: center;
    font-size: 0.82rem; letter-spacing: 0.03em; white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.table-candidats thead th:last-child { border-right: none; }
.table-candidats tbody tr:nth-child(odd)  { background: var(--bs-sable-clair); }
.table-candidats tbody tr:nth-child(even) { background: var(--bs-sable); }
.table-candidats tbody tr.data-row { transition: background 0.12s; animation: fadeInRow 0.25s ease forwards; }
.table-candidats tbody tr.data-row:hover { background: var(--bs-azure-clair) !important; }
.table-candidats td {
    padding: 0.5rem 0.8rem; text-align: center;
    color: var(--bs-jean-sombre); border-right: 1px solid var(--bs-azure-clair);
    vertical-align: middle;
}
.table-candidats td:last-child { border-right: none; }
.table-candidats td.vide { height: 36px; }

/* ── Boutons action table ── */
.btn-action {
    border: none; border-radius: 20px; padding: 0.28rem 0.85rem;
    font-size: 0.78rem; font-weight: 600; cursor: pointer;
    font-family: 'Newsreader', serif; transition: all 0.15s;
    text-decoration: none; display: inline-block;
}
.btn-mail  { background: var(--bs-bleu); color: white; margin-right: 4px; }
.btn-mail:hover  { background: var(--bs-jean-sombre); color: white; transform: translateY(-1px); }
.btn-lue   { background: var(--bs-rouge); color: white; }
.btn-lue:hover   { background: var(--bs-rouge-brique); transform: translateY(-1px); }
.btn-suppr { background: var(--bs-rouge-brique); color: white; }
.btn-suppr:hover { background: var(--bs-rouge-vif); transform: translateY(-1px); }
.btn-action:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Bouton toggle collapse ── */
.btn-toggle {
    background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
    color: white; font-size: 0.95rem; cursor: pointer;
    border-radius: 5px; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.btn-toggle:hover { background: rgba(255,255,255,0.35); }

/* ── Spinner overlay ── */
.spinner-overlay {
    display: none; position: absolute; inset: 0;
    background: rgba(252,249,244,0.75); border-radius: 10px;
    align-items: center; justify-content: center; z-index: 10;
}
.spinner-overlay.actif { display: flex; }
.spinner-ring {
    width: 34px; height: 34px;
    border: 3px solid var(--bs-jean); border-top-color: var(--bs-bleu);
    border-radius: 50%; animation: spin 0.7s linear infinite;
}

/* ── Responsive admin ── */
@media (max-width: 768px) {
    .offres-grid { grid-template-columns: 1fr 80px 110px; }
    .table-candidats { font-size: 0.78rem; }
    .btn-action { padding: 0.22rem 0.6rem; font-size: 0.72rem; }
}


/* ================================================================
   VISITEUR RECRUTEMENT
   ================================================================ */

.recrutement-page.visiteur { padding: 2.5rem 0 4rem; }

.recrutement-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.section-titre {
    font-size: 2rem; font-weight: 700;
    color: var(--bs-bleu); text-align: center;
    margin-bottom: 1.5rem; letter-spacing: -0.01em;
}

/* ── Formulaire ── */
.form-card {
    background: var(--bs-azure-clair);
    border-radius: 14px;
    padding: 2rem 1.75rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0,92,169,0.1);
}
.form-groupe { margin-bottom: 1.1rem; }
.form-label {
    display: inline-block;
    background: var(--bs-sable-clair); border: 1.5px solid var(--bs-jean);
    border-radius: 6px; padding: 0.18rem 0.75rem;
    font-size: 0.88rem; font-weight: 600; color: var(--bs-jean-sombre);
    margin-bottom: 0.4rem;
}
.form-champ {
    width: 100%; background: rgba(255,255,255,0.85);
    border: 1.5px solid var(--bs-jean); border-radius: 8px;
    padding: 0.6rem 0.85rem; font-size: 0.92rem;
    font-family: 'Newsreader', serif; color: #333;
    transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.form-champ:focus {
    outline: none; border-color: var(--bs-bleu);
    box-shadow: 0 0 0 3px rgba(0,92,169,0.12); background: white;
}
.form-champ::placeholder { color: #aab; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.champ-icone { position: relative; }
.champ-icone i {
    position: absolute; left: 0.75rem; top: 50%;
    transform: translateY(-50%); color: var(--bs-jean-sombre);
    font-size: 1rem; pointer-events: none;
}
.champ-icone .form-champ { padding-left: 2.4rem; }

/* Civilité */
.civilite-groupe {
    background: rgba(255,255,255,0.85); border: 1.5px solid var(--bs-jean);
    border-radius: 8px; padding: 0.55rem 1rem;
    display: flex; gap: 1.5rem; align-items: center;
}
.civilite-option { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; font-size: 0.92rem; color: var(--bs-jean-sombre); }
.civilite-option input[type=radio] { accent-color: var(--bs-bleu); width: 16px; height: 16px; cursor: pointer; }

/* Upload */
.upload-zone {
    background: rgba(255,255,255,0.85); border: 1.5px dashed var(--bs-jean);
    border-radius: 8px; padding: 0.75rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; transition: border-color 0.2s, background 0.2s;
    position: relative; overflow: hidden;
}
.upload-zone:hover { border-color: var(--bs-bleu); background: white; }
.upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-nom { font-size: 0.85rem; color: var(--bs-jean-sombre); font-style: italic; }
.upload-nom.choisi { color: var(--bs-bleu); font-style: normal; font-weight: 600; }
.upload-icone { color: var(--bs-jean-sombre); font-size: 1.2rem; }

/* Select */
select.form-champ {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23557A99' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.85rem center;
    padding-right: 2.5rem; cursor: pointer;
}
textarea.form-champ { resize: vertical; min-height: 90px; }

/* Bouton envoyer */
.btn-envoyer {
    width: 100%; background: var(--bs-jean-sombre); color: var(--bs-sable-clair);
    border: none; border-radius: 8px; padding: 0.85rem;
    font-size: 1rem; font-weight: 700; font-family: 'Newsreader', serif;
    cursor: pointer; transition: all 0.2s; letter-spacing: 0.04em; margin-top: 0.5rem;
}
.btn-envoyer:hover { background: var(--bs-bleu); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,92,169,0.25); }
.btn-envoyer:active { transform: translateY(0); }

/* Alertes formulaire */
.alerte {
    border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1.2rem;
    font-size: 0.88rem; display: flex; align-items: flex-start; gap: 0.5rem;
}
.alerte.erreur { background: rgba(180,48,48,0.08); border: 1.5px solid var(--bs-rouge); color: var(--bs-rouge-brique); }
.alerte.succes { background: rgba(85,122,153,0.1); border: 1.5px solid var(--bs-jean); color: var(--bs-jean-sombre); }
.alerte ul { margin: 0.25rem 0 0 1rem; padding: 0; }
.alerte ul li { margin-bottom: 0.2rem; }

/* ── Offres disponibles (colonne droite visiteur) ── */
.offres-card {
    background: var(--bs-jean-sombre); border-radius: 14px;
    overflow: hidden; box-shadow: 0 4px 20px rgba(0,92,169,0.15);
    position: sticky; top: 90px;
}
.offres-sous-titre {
    text-align: center; color: rgba(255,255,255,0.7);
    font-size: 0.88rem; padding: 0.75rem 1.5rem 0.5rem; font-style: italic;
}
.offres-liste { padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.offre-item {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 9px; padding: 0.75rem 1rem;
    display: flex; align-items: center; gap: 0.75rem; transition: background 0.15s;
}
.offre-item:hover { background: rgba(255,255,255,0.15); }
.offre-nb {
    background: var(--bs-sable-clair); color: var(--bs-bleu);
    font-weight: 800; font-size: 1rem; border-radius: 6px;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.offre-info { flex: 1; }
.offre-nom  { color: var(--bs-sable-clair); font-weight: 600; font-size: 0.95rem; display: block; }
.offre-contrat { color: rgba(255,255,255,0.6); font-size: 0.78rem; margin-top: 0.1rem; display: block; }
.btn-savoir-plus {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px; color: var(--bs-sable-clair); font-size: 0.78rem;
    padding: 0.25rem 0.75rem; text-decoration: none; font-family: 'Newsreader', serif;
    transition: all 0.15s; white-space: nowrap; cursor: pointer;
}
.btn-savoir-plus:hover { background: var(--bs-sable-clair); color: var(--bs-jean-sombre); border-color: var(--bs-sable-clair); }
.aucun-poste { text-align: center; padding: 2rem 1rem; color: rgba(255,255,255,0.5); font-style: italic; font-size: 0.9rem; }

/* ── Modal "en savoir plus" ── */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); z-index: 2000;
    align-items: center; justify-content: center;
}
.modal-overlay.ouvert { display: flex; }
.modal-box {
    background: var(--bs-sable-clair); border-radius: 12px;
    max-width: 480px; width: 90%; padding: 2rem; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: popIn 0.2s ease;
}
.modal-titre { font-size: 1.3rem; font-weight: 700; color: var(--bs-bleu); margin-bottom: 0.75rem; }
.modal-fermer {
    position: absolute; top: 0.75rem; right: 1rem;
    background: none; border: none; font-size: 1.4rem; cursor: pointer;
    color: var(--bs-jean-sombre); line-height: 1;
}
.modal-fermer:hover { color: var(--bs-rouge); }
.modal-info { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.88rem; color: var(--bs-jean-sombre); }
.modal-info i { color: var(--bs-bleu); margin-top: 2px; }
.modal-desc  { font-size: 0.88rem; color: #555; line-height: 1.6; margin-top: 0.75rem; }
.btn-postuler-modal {
    display: block; width: 100%; margin-top: 1.25rem;
    background: var(--bs-bleu); color: white; border: none; border-radius: 8px;
    padding: 0.75rem; font-size: 0.95rem; font-weight: 700;
    font-family: 'Newsreader', serif; cursor: pointer; transition: background 0.15s;
}
.btn-postuler-modal:hover { background: var(--bs-jean-sombre); }

/* ── Overlay succès ── */
.succes-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 3000;
    align-items: center; justify-content: center;
}
.succes-overlay.ouvert { display: flex; }
.succes-box {
    background: var(--bs-sable-clair); border-radius: 14px;
    max-width: 420px; width: 90%; padding: 2.5rem 2rem;
    text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: popIn 0.25s ease;
}
.succes-icone  { font-size: 3rem; color: var(--bs-jean); margin-bottom: 1rem; }
.succes-titre  { font-size: 1.4rem; font-weight: 700; color: var(--bs-bleu); margin-bottom: 0.5rem; }
.succes-texte  { font-size: 0.9rem; color: var(--bs-jean-sombre); line-height: 1.6; }
.btn-succes-fermer {
    margin-top: 1.5rem; background: var(--bs-jean-sombre); color: white;
    border: none; border-radius: 8px; padding: 0.65rem 2rem;
    font-size: 0.95rem; font-family: 'Newsreader', serif; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
}
.btn-succes-fermer:hover { background: var(--bs-bleu); }

/* ── Responsive visiteur ── */
@media (max-width: 768px) {
    .recrutement-layout { grid-template-columns: 1fr; }
    .offres-card { position: static; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Composant Triple Sélecteur de Recrutement (Style Pro & Centré)
   ============================================================ */
.triple-switch {
    display: table;
    table-layout: fixed;
    width: 100%;
    background-color: #f1f3f5;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 24px;
}

.triple-switch-option {
    display: table-cell;
    position: relative;
    vertical-align: middle;
    text-align: center;
}

.triple-switch-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-label {
    display: block;
    padding: 12px 16px;
    line-height: 1.2;
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
    text-align: center;
}

/* État survolé (Hover) */
.triple-switch-option input[type="radio"]:not(:checked) + .switch-label:hover {
    background-color: #e9ecef;
    color: #212529;
}

/* État sélectionné (Checked) - Utilise la variable couleur jean sombre */
.triple-switch-option input[type="radio"]:checked + .switch-label {
    background-color: var(--bs-jean-sombre);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Utilitaire d'affichage conditionnel */
.d-none {
    display: none !important;
}



/* ================================================================
   CONTACT PAGE — styles spécifiques
   ================================================================ */

.contact-section {
    background-color: var(--bs-sable-clair);
    min-height: calc(100vh - 80px);
}

/* --- Card conteneur commun aux deux colonnes --- */
.contact-card {
    background-color: var(--bs-azure-clair);
    border-radius: 18px;
    padding: 28px 28px 32px;
    box-shadow: 0 4px 18px rgba(var(--bs-jean-sombre-rgb), 0.10);
}

/* --- Titre de section --- */
.contact-title {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--bs-bleu);
    letter-spacing: 0.03em;
    margin-bottom: 24px;
}

/* --- Wrapper formulaire avec fond bleu jean sombre --- */
.form-wrapper {
    background-color: var(--bs-jean-sombre);
    border-radius: 14px;
    padding: 22px 20px;
}

/* --- Labels de section du formulaire --- */
.form-section-label {
    display: inline-block;
    background-color: var(--bs-sable);
    color: var(--bs-bleu);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 3px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

/* --- Rangée avec icône + champ --- */
.field-row {
    display: flex;
    align-items: center;
    background-color: var(--bs-jean);
    border-radius: 10px;
    padding: 6px 10px;
    gap: 10px;
}

.field-icon {
    width: 36px;
    height: 36px;
    background-color: var(--bs-jean-sombre);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bs-sable-clair);
    font-size: 1rem;
}

/* --- Inputs --- */
.contact-input {
    background-color: var(--bs-sable-clair) !important;
    border: none !important;
    border-radius: 8px !important;
    color: var(--bs-bleu) !important;
    font-size: 0.9rem;
    padding: 8px 12px;
    box-shadow: none !important;
}

.contact-input:focus {
    outline: 2px solid var(--bs-argile) !important;
    box-shadow: none !important;
}

.field-row .contact-input {
    flex: 1;
}

.contact-textarea {
    resize: vertical;
    min-height: 130px;
    width: 100%;
}

/* --- Checkbox entreprise --- */
.entreprise-check {
    color: var(--bs-sable-clair);
}

.contact-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    accent-color: var(--bs-argile);
    cursor: pointer;
    flex-shrink: 0;
}

/* --- Bouton envoyer --- */
.btn-send {
    background-color: var(--bs-argile);
    color: var(--bs-sable-clair);
    border: none;
    border-radius: 50px;
    padding: 10px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: background-color 0.2s, transform 0.15s;
    cursor: pointer;
}

.btn-send:hover {
    background-color: var(--bs-rouge-brique);
    transform: translateY(-1px);
}

/* --- Carte Google Maps --- */
.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--bs-jean-sombre);
}

/* --- Liste d'infos pratiques --- */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bs-sable-clair);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--bs-bleu);
    font-size: 0.92rem;
    font-weight: 500;
}

.info-icon {
    width: 42px;
    height: 42px;
    background-color: var(--bs-jean-sombre);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-sable-clair);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- Bandeau météo superposé sur la carte --- */
.weather-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(252, 249, 244, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 7px 12px 7px 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    min-width: 130px;
    z-index: 10;
}

.weather-icon-wrap {
    width: 32px;
    height: 32px;
    background-color: var(--bs-azure-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--bs-jean-sombre);
    flex-shrink: 0;
}

.weather-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.weather-city {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bs-bleu);
}

.weather-desc {
    font-size: 0.75rem;
    color: var(--bs-jean-sombre);
    white-space: nowrap;
}

/* --- Responsive contact --- */
@media (max-width: 575.98px) {
    .contact-card  { padding: 20px 16px 24px; }
    .form-wrapper  { padding: 16px 14px; }
}

/* ================================================================
   GAZETTE — Timeline page visiteur
   À COLLER À LA FIN DE color.css
   ================================================================ */

/* ── Section wrapper ── */
.gazette-section {
    background-color: var(--bs-sable-clair);
    min-height: calc(100vh - 85px);
    padding-top: 100px !important; /* compense le navbar fixed */
    position: relative;
}

.gazette-main-title {
    font-family: 'Newsreader', serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--bs-bleu);
    letter-spacing: 0.02em;
}

.gazette-subtitle {
    color: var(--bs-jean-sombre);
    font-size: 1rem;
    font-weight: 500;
}

/* ── Timeline conteneur ── */
.gazette-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

/* ── Ligne verticale centrale ── */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: rgba(var(--bs-jean-rgb), 0.25);
    border-radius: 3px;
    z-index: 0;
}

/* Remplissage animé au scroll */
.timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;           /* animé par JS */
    background: linear-gradient(
        to bottom,
        var(--bs-bleu),
        var(--bs-jean)
    );
    border-radius: 3px;
    transition: height 0.15s linear;
}

/* ── Item timeline ── */
.timeline-item {
    position: relative;
    width: 46%;
    margin-bottom: 60px;
    z-index: 1;
}

.timeline-gauche {
    left: 0;
    text-align: right;
    padding-right: 40px;
}

.timeline-droite {
    left: 54%;
    text-align: left;
    padding-left: 40px;
}

/* ── Point central ── */
.timeline-dot {
    position: absolute;
    top: 40px;
    width: 16px;
    height: 16px;
    background-color: var(--bs-bleu);
    border: 3px solid var(--bs-sable-clair);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bs-jean);
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-gauche .timeline-dot {
    right: -48px;
}

.timeline-droite .timeline-dot {
    left: -48px;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
}

/* ── Carte gazette ── */
.gazette-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(var(--bs-jean-sombre-rgb), 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gazette-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(var(--bs-bleu-rgb), 0.14);
}

/* ── Image couverture ── */
.gazette-img-link {
    display: block;
    text-decoration: none;
}

.gazette-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.gazette-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gazette-card:hover .gazette-img {
    transform: scale(1.04);
}

/* Overlay au survol */
.gazette-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--bs-bleu-rgb), 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gazette-img-overlay i { font-size: 1.8rem; }

.gazette-card:hover .gazette-img-overlay {
    opacity: 1;
}

/* ── Corps carte ── */
.gazette-card-body {
    padding: 14px 16px 18px;
}

.gazette-titre {
    font-family: 'Newsreader', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-bleu);
    margin-bottom: 4px;
}

.gazette-date {
    font-size: 0.8rem;
    color: var(--bs-jean-sombre);
    margin-bottom: 10px;
}

/* ── Bouton télécharger ── */
.btn-gazette-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bs-argile-clair);
    color: var(--bs-rouge-brique);
    border: 1.5px solid var(--bs-argile);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.btn-gazette-dl:hover {
    background-color: var(--bs-rouge-brique);
    color: #fff;
    border-color: var(--bs-rouge-brique);
}

/* ── Animation d'entrée au scroll ── */
.gazette-reveal {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.timeline-gauche.gazette-reveal {
    transform: translateX(-40px);
}

.timeline-droite.gazette-reveal {
    transform: translateX(40px);
}

.gazette-reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Responsive mobile ── */
@media (max-width: 767.98px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item,
    .timeline-gauche,
    .timeline-droite {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 52px !important;
        padding-right: 0 !important;
    }

    .timeline-gauche .timeline-dot,
    .timeline-droite .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .gazette-img-wrap {
        aspect-ratio: 4 / 3;
    }
}
/* ── Sticky footer ── */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
footer {
    margin-top: auto;
}

/* ============================================================
   Gazette — Overlay accès restreint
   ============================================================ */

/* Flou sur le contenu quand non connecté */
.gazette-locked .container {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

/* Overlay positionné par-dessus toute la section */
.gazette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 249, 244, 0.60);
    backdrop-filter: blur(2px);
}

/* Boîte centrale */
.gazette-overlay-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(var(--bs-bleu-rgb), .18);
    padding: 48px 52px;
    text-align: center;
    max-width: 380px;
    width: 90%;
}

.gazette-overlay-icon {
    font-size: 3rem;
    color: var(--bs-jean-sombre);
    display: block;
    margin-bottom: 16px;
}

.gazette-overlay-title {
    font-family: 'Newsreader', serif;
    color: var(--bs-bleu);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gazette-overlay-text {
    color: var(--bs-jean-sombre);
    font-size: .92rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-gazette-connect {
    display: inline-block;
    background-color: var(--bs-jean-sombre);
    color: #fff;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    transition: background .2s, transform .15s;
}

.btn-gazette-connect:hover {
    background-color: var(--bs-bleu);
    color: #fff;
    transform: translateY(-1px);
}