/* Observatoire des Métiers d'Accueil : feuille de style du site public */
:root {
    --ink: #13222c;
    --text: #26333b;
    --muted: #596770;
    --paper: #fbfaf7;
    --panel: #f1eee8;
    --tint: #e8edf6;
    --line: #dcd7cd;
    --brand: #0d2b5e;
    --brand-dark: #08204a;
    --accent: #b36500;
    --resto: #a9432a;
    --hotel: #1f6a74;
    --spectacle: #6b3e7c;
    --c: var(--brand);
    --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    --wrap: 1160px;
}
.t-resto { --c: var(--resto); }
.t-hotel { --c: var(--hotel); }
.t-spectacle { --c: var(--spectacle); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.65 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #e0a64f; outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.22; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.05em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.saut:focus { top: 8px; }

/* En-tête : tout sur une seule ligne */
.entete { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.entete .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo svg.marque { width: 40px; height: 40px; flex: none; color: var(--brand); }
.logo img { height: 46px; width: auto; }
.logo .mots { display: flex; flex-direction: column; line-height: 1.1; }
.logo .haut { font: 600 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brand); }
.logo .bas { font: 700 1.12rem/1.15 var(--serif); color: var(--ink); margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current] { border-bottom-color: var(--c, var(--brand)); color: var(--ink); }
.menu a.contact { background: var(--brand); color: #fff; padding: 9px 20px; border-radius: 3px; border-bottom: 0; }
.menu a.contact:hover { background: var(--brand-dark); color: #fff; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 3px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.burger svg { width: 24px; height: 24px; }
@media (max-width: 1140px) {
    .burger { display: inline-flex; }
    .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; box-shadow: 0 14px 24px rgba(19, 34, 44, .08); }
    .menu.ouvert { display: flex; }
    .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .menu a.contact { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; border: 1.5px solid var(--brand); border-radius: 3px; padding: 12px 24px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.clair { background: transparent; color: var(--brand); }
.btn.clair:hover { background: var(--tint); color: var(--brand-dark); }
.btn.couleur { background: var(--c); border-color: var(--c); }
.fleche::after { content: '\2192'; margin-left: 6px; }
a.fleche { font-weight: 600; text-decoration: none; color: var(--c, var(--brand)); }
a.fleche:hover { color: var(--ink); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Accueil : premier écran */
.hero { padding: 72px 0 64px; }
.hero .grille { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
.sur-titre { font: 600 .82rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero .chapo { font-size: 1.28rem; line-height: 1.55; color: var(--ink); }
.hero .visuel { color: var(--brand); }
.hero .visuel svg { width: 100%; height: auto; max-width: 400px; margin-left: auto; }

/* Trois rubriques */
.rubriques { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.rubriques .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.rubrique { display: block; padding: 34px 36px 38px; text-decoration: none; color: var(--text); border-right: 1px solid var(--line); }
.rubrique:last-child { border-right: 0; }
.rubrique:hover { background: var(--panel); color: var(--text); }
.rubrique .num { font: 700 .8rem/1 var(--sans); letter-spacing: .2em; color: var(--c); }
.rubrique h3 { font-size: 1.5rem; margin: 12px 0 8px; color: var(--c); }
.rubrique p { font-size: 1rem; color: var(--muted); margin-bottom: 14px; }
.rubrique .plus { font-weight: 600; color: var(--c); }

/* Sections */
.section { padding: 84px 0; }
.section.fond { background: var(--panel); }
.section.teinte { background: var(--tint); }
.entete-section { max-width: 760px; margin-bottom: 40px; }
.mission .grille { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.piliers { display: grid; gap: 22px; }
.pilier { background: var(--paper); border-top: 4px solid var(--c); padding: 26px 30px 24px; }
.pilier .etiquette { font: 700 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--c); margin: 0 0 10px; }
.pilier h3 { margin-bottom: 8px; }
.pilier p { margin: 0; font-size: 1.02rem; }

.domaine { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; padding: 44px 0; border-top: 1px solid var(--line); }
.domaine:last-child { border-bottom: 1px solid var(--line); }
.domaine .gros { font: 700 4.4rem/1 var(--serif); color: var(--line); margin-bottom: 8px; }
.domaine dl { margin: 22px 0 0; display: grid; gap: 16px; }
.domaine dt { font-weight: 700; color: var(--ink); }
.domaine dd { margin: 2px 0 0; color: var(--text); }
.domaine .liens { margin-top: 24px; }

/* Publications */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte-pub { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 26px 26px 22px; text-decoration: none; color: var(--text); }
.carte-pub:hover { border-color: var(--brand); color: var(--text); }
.carte-pub .rub { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.carte-pub h3 { font-size: 1.15rem; margin-bottom: 10px; }
.carte-pub p { font-size: 1rem; color: var(--muted); flex: 1; }
.carte-pub .date { font-size: .88rem; color: var(--muted); }

.rejoindre .grille { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.rejoindre .boutons { justify-content: flex-start; }

/* Pages intérieures */
.page-tete { padding: 64px 0 44px; border-bottom: 1px solid var(--line); background: #fff; }
.page-tete .fil { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.page-tete .fil a { color: var(--muted); text-decoration: none; }
.page-tete .fil a:hover { color: var(--ink); }
.page-tete .rub { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--c); border-top: 3px solid var(--c); padding-top: 10px; margin-bottom: 16px; }
.page-tete .chapo { font-size: 1.24rem; max-width: 780px; color: var(--ink); margin: 0; }
.contenu-page { padding: 56px 0 84px; }
.deux { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; align-items: start; }
.bloc-theme { padding: 26px 0; border-top: 1px solid var(--line); }
.bloc-theme:first-child { border-top: 0; padding-top: 0; }
.bloc-theme h3 { color: var(--c); }
.encart { background: var(--panel); border-top: 4px solid var(--c); padding: 26px 28px; }
.encart h2, .encart h3 { font-size: 1.25rem; }
.encart .boutons { flex-direction: column; align-items: stretch; }
.encart .btn { width: 100%; }
.encart.pleine { margin-bottom: 40px; }
.encart.pleine .grille { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.liste-pub { list-style: none; margin: 0; padding: 0; }
.liste-pub li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.liste-pub li:last-child { border-bottom: 1px solid var(--line); }
.liste-pub .date { font-size: .92rem; color: var(--muted); padding-top: 4px; }
.liste-pub h2, .liste-pub h3 { font-size: 1.3rem; margin-bottom: 8px; }
.liste-pub h2 a, .liste-pub h3 a { color: var(--ink); text-decoration: none; }
.liste-pub h2 a:hover, .liste-pub h3 a:hover { color: var(--accent); }
.liste-pub p { margin: 0 0 6px; color: var(--text); }
.vide-page { background: #fff; border: 1px dashed var(--line); padding: 36px; }
.themes-a-venir { margin: 20px 0 0; padding-left: 1.1em; }
.themes-a-venir li { margin-bottom: 8px; }

.texte-long { max-width: 720px; margin: 0 auto; }
.texte-long h2 { margin-top: 1.6em; }
.texte-long ul, .texte-long ol { padding-left: 1.2em; }
.texte-long li { margin-bottom: .4em; }
.texte-long img { height: auto; }
.texte-long .btn { text-decoration: none; margin: 4px 0 12px; }
.publi-tete { max-width: 720px; margin: 0 auto; }
.meta { font-size: .95rem; color: var(--muted); }

/* Formulaires */
.formulaire { max-width: 720px; }
.champ { margin-bottom: 22px; }
.champ label, .champ .intitule { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.champ small { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
input[type=text], input[type=email], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9b3a8; border-radius: 3px; padding: 12px 14px; }
textarea { min-height: 170px; resize: vertical; }
.coche-ligne { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.coche-ligne input { margin-top: 6px; width: 18px; height: 18px; flex: none; }
.erreur { color: #a3281a; font-size: .95rem; margin-top: 6px; }
.alerte-ok { background: #e7f1ea; border: 1px solid #a9cdb4; color: #17462a; padding: 18px 22px; margin-bottom: 28px; }
.alerte-ko { background: #fbe9e5; border: 1px solid #e3b3a9; color: #7a2216; padding: 14px 20px; margin-bottom: 24px; }
.question { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 24px 0 8px; }
.question legend { font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.question legend + * { clear: both; }
.question .num { color: var(--c, var(--accent)); margin-right: 6px; }
.option { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; font-weight: 400; }
.option:hover { border-color: var(--brand); }
.option input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--brand); }
.option:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.intro-enquete { max-width: 720px; }
.intro-enquete ul { padding-left: 1.2em; }
.intro-enquete li { margin-bottom: .6em; }

/* Pied de page */
.pied { background: var(--brand-dark); color: #d6e0e4; padding: 64px 0 0; margin-top: 0; }
.pied a { color: #eaf0f2; text-decoration: none; }
.pied a:hover { color: #fff; opacity: .8; }
.pied .grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.pied h2 { font: 700 .78rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 9px; }
.pied p { font-size: 1rem; }
.pied .logo .haut { color: #a9c7d1; }
.pied .logo .bas { color: #fff; }
.pied .logo svg.marque { color: #a9c7d1; }
.pied .bas-pied { border-top: 1px solid rgba(255, 255, 255, .16); padding: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .92rem; color: #b6c6cc; }

@media (max-width: 960px) {
    .hero { padding: 44px 0 44px; }
    .hero .grille, .mission .grille, .rejoindre .grille, .deux, .domaine, .encart.pleine .grille { grid-template-columns: 1fr; gap: 32px; }
    .hero .visuel { order: -1; }
    .hero .visuel svg { max-width: 240px; margin: 0; }
    .rubriques .wrap { grid-template-columns: 1fr; }
    .rubrique { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 24px; }
    .rubrique:last-child { border-bottom: 0; }
    .cartes { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .domaine { padding: 32px 0; gap: 8px; }
    .domaine .gros { font-size: 3rem; }
    .pied .grille { grid-template-columns: 1fr 1fr; gap: 36px; }
    .liste-pub li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 600px) {
    body { font-size: 17px; }
    .wrap { padding: 0 16px; }
    .entete .bar { min-height: 68px; }
    .logo .bas { font-size: 1rem; }
    .logo svg.marque { width: 34px; height: 34px; }
    .menu { padding: 8px 16px 20px; }
    .pied .grille { grid-template-columns: 1fr; }
    .boutons .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.bandeau-enquete { background: var(--brand); color: #fff; }
.bandeau-enquete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.bandeau-enquete p { margin: 0; }
.bandeau-enquete .btn { background: #fff; color: var(--brand-dark); border-color: #fff; white-space: nowrap; }
.bandeau-enquete .btn:hover { background: var(--tint); }
@media (max-width: 700px) { .bandeau-enquete .wrap { flex-direction: column; align-items: stretch; text-align: left; } }

.logo img.marque { width: 44px; height: auto; flex: none; }
.hero .visuel img { width: 100%; max-width: 420px; height: auto; margin-left: auto; }
.pied .logo img.marque { background: #fff; border-radius: 6px; padding: 4px; width: 48px; }
.pied .logo .haut { color: #c9d6ee; }
@media (max-width: 960px) { .hero .visuel img { max-width: 260px; margin: 0; } }
@media (max-width: 600px) { .logo img.marque { width: 38px; } }
