/* Design repris de touramakhan-veille-ouest (offres.touramakhan.com) */
:root {
  --bg: #f6f5f1; --surface: #ffffff; --surface-2: #f0efe9; --text: #1d2321; --muted: #5d6662;
  --border: #dedbd2; --accent: #0f5c4d; --accent-2: #e5f0ec; --accent-text: #ffffff;
  --warn: #9a5b00; --warn-bg: #fff3dc; --ok: #22663a; --ok-bg: #e3f3e7;
  --radius: 10px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131615; --surface: #1b1f1e; --surface-2: #232826; --text: #e7ebe9; --muted: #9aa5a0; --border: #333a37;
    --accent: #4fb39b; --accent-2: #1d3530; --accent-text: #0b1512; --warn: #f0b45a; --warn-bg: #3a2c12;
    --ok: #79cf94; --ok-bg: #19301f; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--accent); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 17px; }
.logo { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); display: inline-block;
  background-image: linear-gradient(var(--accent-text),var(--accent-text)),linear-gradient(var(--accent-text),var(--accent-text)),linear-gradient(var(--accent-text),var(--accent-text));
  background-size: 14px 3px, 14px 3px, 9px 3px; background-position: 7px 8px, 7px 13px, 7px 18px; background-repeat: no-repeat; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); padding: 7px 11px; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--surface-2); color: var(--text); }

main { padding-top: 20px; padding-bottom: 32px; }
h1 { font-size: 32px; margin: 0 0 10px; line-height: 1.2; }
h2 { font-size: 20px; margin: 0 0 4px; }
section { margin-top: 36px; }
.section-head { margin-bottom: 14px; }
.section-head p { margin: 0; }

.btn { font: inherit; font-weight: 500; cursor: pointer; border-radius: 8px; padding: 9px 14px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn-sm { padding: 5px 10px; font-size: 13px; }

.hero { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px 28px; margin-top: 8px; }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 46rem; margin: 0 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-2); color: var(--accent); display: grid; place-items: center; flex: none; }
.icon svg { width: 20px; height: 20px; }
.card h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card .url { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.status.ok { background: var(--ok-bg); color: var(--ok); }
.status.soon { background: var(--warn-bg); color: var(--warn); }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.panel p { margin: 0 0 10px; }
.panel p:last-child { margin: 0; }

.footer { color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); padding-top: 14px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer p { margin: 0; }

@media (max-width: 560px) {
  h1 { font-size: 24px; }
  .hero { padding: 24px 18px; }
  .hero .lead { font-size: 15px; }
}

.domains { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.domains li { font-size: 13px; background: var(--accent-2); color: var(--accent); padding: 4px 10px; border-radius: 999px; }

.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.region { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; }
.region-head { display: flex; align-items: center; gap: 10px; }
.region-head h3 { margin: 0; font-size: 17px; }
.region-head p { margin: 0; font-size: 13px; }
.region .card h4 { margin: 0; font-size: 16px; line-height: 1.35; }
.region .address { margin: 0; font-size: 13px; }
@media (max-width: 760px) { .regions { grid-template-columns: 1fr; } }
.region .domains { margin-top: 2px; }
.address a { overflow-wrap: anywhere; }

/* Mentions légales */
.back { display: inline-block; margin-bottom: 8px; text-decoration: none; font-size: 14px; }
.legal h1 { font-size: 26px; }
.legal section { margin-top: 28px; }
.legal h2 { margin-bottom: 10px; }
.legal h4 { margin: 0 0 10px; font-size: 15px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 14px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.kv { display: grid; grid-template-columns: 190px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.legal .region .panel { box-shadow: none; }
.legal .region .panel + .panel { margin-top: 0; }
@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .legal h1 { font-size: 22px; }
}
