/* Recrutement — mêmes couleurs, polices et composants que latoy.fr */
:root {
  --ink: #14100D; --ink-soft: #5A4F43; --paper: #FBF7F0; --paper-deep: #F3ECDD; --card: #F1E8D9;
  --oak: #B08D57; --oak-deep: #7A5C2E; --gold: #C9A24B; --teal: #1F6F6A; --teal-deep: #123F3C;
  --line: rgba(23, 19, 16, .12); --radius: 18px;
  --ok: #1F6F6A; --bad: #A6382C; --warn: #8A5A12;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.6; font-size: 16px; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; margin: 0; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
body.espace h1 { font-size: clamp(28px, 4vw, 40px); }
h1 em { font-style: italic; font-weight: 500; color: var(--oak-deep); }
h2 { font-size: 24px; margin: 30px 0 10px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
small { color: var(--ink-soft); font-weight: 400; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow, .hotel { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-deep); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--oak); display: inline-block; }

/* ---------- En-tête (identique à latoy.fr) ---------- */
header { position: sticky; top: 0; z-index: 100; background: rgba(251, 247, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; max-width: 1180px; margin: 0 auto; }
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 30px; width: auto; transition: transform 1s cubic-bezier(.65, 0, .35, 1); transform-origin: center; }
.logo-wrap:hover .logo-mark { transform: rotate(180deg); }
.logo-sep { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-left: 1px solid var(--line); padding-left: 12px; }
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a { font-size: 14px; font-weight: 600; text-decoration: none; }
nav.links a:hover, nav.links a.actif { color: var(--oak-deep); }
.cta-btn { background: var(--ink); color: var(--paper) !important; padding: 11px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.cta-btn:hover { background: var(--oak-deep); }
.mobile-only { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; border-radius: 0; cursor: pointer; padding: 8px; }
.menu-toggle:hover { background: none; border: none; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
.pastille { background: var(--oak-deep); color: var(--paper); border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 700; margin-left: 4px; }
.perimetre { padding-top: 14px; font-size: 13px; color: var(--ink-soft); }

/* ---------- Pied de page (identique à latoy.fr) ---------- */
footer { background: var(--ink); color: rgba(251, 247, 240, .75); padding: 56px 0 28px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(251, 247, 240, .12); }
.footer-logo { height: 40px; width: auto; transition: transform 1s cubic-bezier(.65, 0, .35, 1); filter: brightness(0) invert(1); }
.footer-logo:hover { transform: rotate(180deg); }
.footer-slogan { font-size: 12.5px; color: rgba(251, 247, 240, .5); margin-top: 6px; letter-spacing: .03em; }
.footer-col h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 247, 240, .45); margin: 0 0 14px; font-weight: 700; font-family: 'Inter', sans-serif; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(251, 247, 240, .8); text-decoration: none; }
.footer-col a:hover { color: var(--paper); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(251, 247, 240, .2); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; stroke: currentColor; }
.footer-bottom { padding-top: 22px; font-size: 12.5px; color: rgba(251, 247, 240, .45); }

/* ---------- Boutons ---------- */
.bouton, button { display: inline-block; font: inherit; font-weight: 700; font-size: 15px; color: var(--paper); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 13px 26px; cursor: pointer; text-decoration: none; text-align: center; line-height: 1.2; }
.bouton:hover, button:hover { background: var(--oak-deep); border-color: var(--oak-deep); }
.bouton.secondaire, button.secondaire { background: transparent; color: var(--ink); border-color: var(--ink); }
.bouton.secondaire:hover, button.secondaire:hover { background: var(--card); }
button.lien { background: none; border: none; color: var(--oak-deep); padding: 0; font-weight: 600; font-size: 14px; text-decoration: underline; border-radius: 0; }
button.lien:hover { background: none; color: var(--ink); }
button.lien.rouge { color: var(--bad); }

/* ---------- Pages publiques ---------- */
main.wrap { padding-top: 56px; }
.hero { max-width: 780px; padding-bottom: 8px; }
.hero p { color: var(--ink-soft); font-size: 18px; margin: 0; }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 28px; }
.filtres a { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; background: #fff0; }
.filtres a:hover { border-color: var(--oak); color: var(--ink); }
.filtres a.actif { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.carte { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.carte:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 16, 13, .1); }
.carte h2 { margin: 0; font-size: 26px; }
.carte .voir { color: var(--oak-deep); font-size: 14px; font-weight: 700; margin-top: auto; padding-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: var(--paper); border-radius: 999px; padding: 3px 11px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.offre .tags span { background: var(--card); }
.vide { text-align: center; padding: 48px 16px; color: var(--ink-soft); background: var(--paper-deep); border-radius: var(--radius); }
.vide h1 { color: var(--ink); }
.spontanee { margin-top: 56px; padding: 48px 32px; background: var(--teal-deep); color: var(--paper); border-radius: var(--radius); text-align: center; }
.spontanee h2 { margin-top: 0; font-size: 32px; }
.spontanee p { color: rgba(251, 247, 240, .78); max-width: 620px; margin: 0 auto 24px; }
.spontanee .bouton { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.spontanee .bouton:hover { background: var(--gold); border-color: var(--gold); }

.retour { display: table; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.retour:hover { color: var(--oak-deep); }
.offre .hotel { margin-bottom: 10px; }
.offre .tags { margin: 6px 0 12px; }
.offre.etroit { max-width: 760px; margin: 0 auto; }
.offre .intro { color: var(--ink-soft); font-size: 17px; }
.colonnes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 12px; }
.texte p, .texte li { color: var(--ink-soft); }
.texte ul { padding-left: 20px; } .texte li { margin-bottom: 4px; }
.texte li::marker { color: var(--oak); }
.postuler { position: sticky; top: 90px; background: var(--card); border-radius: var(--radius); padding: 28px; }
.postuler h2 { margin-top: 0; }
.partage { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.partage a { color: var(--oak-deep); font-weight: 600; }
.partage button { padding: 6px 14px; font-size: 13px; background: transparent; color: var(--ink); border-color: var(--line); }
.partage button:hover { background: var(--card); }
a.vers-form { display: none; }

/* ---------- Formulaires ---------- */
form label { display: block; margin: 16px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 3px rgba(176, 141, 87, .18); }
input::placeholder, textarea::placeholder { color: #9b8f80; }
input[type=checkbox] { display: inline-block; width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--ink); }
input[type=file] { padding: 9px; background: var(--paper); }
textarea { resize: vertical; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
fieldset { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px 16px; margin: 16px 0 0; }
legend { font-weight: 600; font-size: 15px; padding: 0 6px; }
.choix { display: grid; gap: 2px; }
label.case { display: block; font-weight: 500; font-size: 15px; margin: 8px 0 0; cursor: pointer; }
label.case.tous { font-weight: 700; }
label.consent { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
label.consent a { color: var(--oak-deep); }
form.candidature button[type=submit] { width: 100%; margin-top: 22px; }
.err { display: block; color: var(--bad); font-size: 13px; font-weight: 500; margin: 4px 0; }
.alerte { background: #F6E7C8; border-radius: 12px; padding: 13px 16px; margin: 14px 0; color: var(--ink); }
.ok { background: #DCEBE6; color: var(--teal-deep); border-radius: 12px; padding: 13px 16px; margin: 0 0 18px; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.merci h1 { font-size: 52px; }

/* ---------- Espace directeurs ---------- */
body.espace main.wrap { padding-top: 24px; }
.boite { max-width: 480px; margin: 20px auto; background: var(--card); border-radius: var(--radius); padding: 32px; }
.boite.large { max-width: 1060px; }
.boite > form > button, form.annonce > button { margin-top: 22px; }
.titre-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.titre-ligne h1 { margin: 0; }
.table { overflow-x: auto; margin-top: 16px; background: var(--paper); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-soft); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: none; }
td a { color: var(--ink); font-weight: 600; }
tr.nouv td:first-child a { color: var(--oak-deep); }
td.actions { white-space: nowrap; } td.actions form { display: inline; }
td.actions .gr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 220px; }
td.actions .bouton { padding: 6px 14px; font-size: 13px; color: var(--paper); }
td.actions .gr > a:not(.bouton) { color: var(--oak-deep); font-size: 14px; }
.statut { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: var(--paper-deep); color: var(--ink-soft); }
.statut.nouvelle { background: #F6E7C8; color: var(--warn); }
.statut.retenue { background: #DCEBE6; color: var(--teal-deep); }
.statut.entretien { background: #E8DDF0; color: #4E3A66; }
.statut.refusee { background: var(--paper-deep); color: var(--ink-soft); }
.modeles { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: var(--paper); border-radius: 12px; padding: 12px 14px; margin: 10px 0 4px; font-weight: 600; font-size: 14px; }
.modeles select { width: auto; margin: 0; }
.hotel-fixe { color: var(--oak-deep); font-weight: 700; margin: 8px 0 0; }
.lien { display: flex; gap: 8px; align-items: center; } .lien input { flex: 1; } .lien button { margin-top: 6px; white-space: nowrap; padding: 11px 20px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.reseaux .bouton { padding: 10px 18px; font-size: 14px; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-top: 8px; }
.qr { background: #fff; padding: 12px; border-radius: 14px; width: 220px; max-width: 100%; }
.qr svg { display: block; width: 100%; height: auto; }
.apercu { border-radius: 14px; box-shadow: 0 10px 30px rgba(20, 16, 13, .12); }
.aide { color: var(--ink-soft); font-size: 14px; }
.sous { color: var(--ink-soft); margin-top: -4px; }
.fiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px 24px; margin: 18px 0; background: var(--paper); border-radius: 14px; padding: 14px 18px; }
.fiche p { margin: 6px 0; } .fiche strong { display: block; color: var(--ink-soft); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fiche a { color: var(--oak-deep); font-weight: 600; }
.message { background: var(--paper); border-radius: 14px; padding: 16px; color: var(--ink-soft); }
.notes { list-style: none; padding: 0; } .notes li { border-left: 2px solid var(--oak); padding: 4px 14px; margin-bottom: 12px; }
.notes small { display: block; }
form.danger { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.filtres-espace { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filtres-espace select { width: auto; }
details summary { cursor: pointer; color: var(--oak-deep); font-weight: 600; }
code { background: var(--paper); padding: 2px 6px; border-radius: 4px; }

/* ---------- Affiche A4 ---------- */
body.affiche { background: #E9E2D4; }
.a4 { width: 210mm; min-height: 297mm; margin: 16px auto; background: var(--paper); padding: 24mm 20mm; text-align: center; display: flex; flex-direction: column; align-items: center; }
.a4 .a4-logo { height: 16mm; width: auto; margin-bottom: 14mm; }
.a4 .sur { color: var(--oak-deep); letter-spacing: .25em; text-transform: uppercase; font-size: 18px; font-weight: 700; margin: 0 0 8mm; }
.a4 h1 { font-size: 60px; margin: 0 0 6mm; }
.a4 .tags { color: var(--ink-soft); font-size: 20px; justify-content: center; }
.a4 .qr { width: 78mm; margin: 14mm 0 6mm; border: 1.5px solid var(--line); }
.a4 .scan { font-size: 20px; font-weight: 600; margin: 0; }
.a4 .url { color: var(--ink-soft); font-size: 14px; word-break: break-all; }
.a4 .hotel { margin-top: auto; font-size: 16px; }
.a4 .imprimer { margin-top: 10mm; }
@media print {
  @page { size: A4; margin: 0; }
  body.affiche { background: none; } .a4 { margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .a4 .imprimer { display: none; }
}

/* ---------- Téléphone / tablette (même menu que latoy.fr) ---------- */
@media (max-width: 900px) {
  nav.links { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 62px); height: calc(100dvh - 62px); overflow-y: auto; background: var(--paper); border-top: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 40px 24px; gap: 26px; transform: translateX(100%); transition: transform .35s; z-index: 99; }
  nav.links.open { transform: translateX(0); }
  nav.links a { font-size: 20px; }
  .menu-toggle { display: flex; }
  .cta-btn.desktop-only { display: none; }
  .mobile-only { display: inline-block; }
  .colonnes, .deux-col { grid-template-columns: 1fr; }
  .postuler { position: static; scroll-margin-top: 80px; }
  a.vers-form { display: block; position: sticky; bottom: 14px; z-index: 5; margin: 18px 0 0; box-shadow: 0 8px 24px rgba(20, 16, 13, .25); }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  main.wrap { padding-top: 36px; }
  .logo-sep { display: none; }
}
@media (max-width: 520px) {
  .deux { grid-template-columns: 1fr; }
  .boite { padding: 22px 18px; }
  .wrap { padding: 0 18px; }
}
