/* Toumaï Maps -- information pages (accueil, commander, à propos, contact,
   mentions légales). Same colours as the map editor (index.html). */
:root {
  --brand: #1f5fa8;   /* blue: headings, links, buttons */
  --accent: #2e8b57;  /* green: main calls to action */
  --ink: #111111;
  --muted: #4a4a4a;
  --paper: #ffffff;
  --line: #cfdbe8;
  --soft: #f3f7fb;    /* light blue band */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header and menu ---------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.logo {
  font-size: 21px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 6px; font-size: 15px; }
.site-nav a:hover, .site-nav a.active { color: var(--brand); background: var(--soft); }
.site-nav a.cta { background: var(--accent); color: #fff; font-weight: 600; }
.site-nav a.cta:hover { filter: brightness(1.08); background: var(--accent); color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: 15px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
  .site-nav.open { display: flex; }
}

/* Sections ------------------------------------------------------------- */
section { padding: 48px 0; }
section.band { background: var(--soft); }
h1, h2, h3 { color: var(--brand); line-height: 1.25; }
h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 12px; }
h2 { font-size: 26px; margin: 0 0 18px; }
h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--accent); margin-top: 8px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.page-title { padding: 36px 0 8px; }

.hero { padding: 56px 0; background: var(--soft); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12); background: #fff; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-main { background: var(--accent); color: #fff; }
.btn-main:hover { filter: brightness(1.08); }
.btn-blue { background: var(--brand); color: #fff; }
.btn-line { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 8px;
}
.price { font-size: 20px; font-weight: 700; color: var(--accent); }
.price s { color: var(--muted); font-weight: 400; font-size: 15px; margin-right: 6px; }
.promo-banner { background: #fff4d6; color: #7a4b00; border-radius: 6px; padding: 8px 12px; font-weight: 600; display: inline-block; margin-bottom: 16px; }
.note { color: var(--muted); font-size: 14px; }

.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 20px; }
.examples figure { margin: 0; }
.examples figure:first-child { grid-column: 1 / -1; }
.examples a { display: block; }
.examples img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10); transition: box-shadow 0.2s, transform 0.2s; }
.examples a:hover img { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18); transform: translateY(-2px); }
.examples figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; text-align: center; }
@media (max-width: 760px) { .examples { grid-template-columns: 1fr; } }

details { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; background: #fff; }
summary { font-weight: 600; cursor: pointer; color: var(--ink); }
details p { margin: 10px 0 0; }

/* Forms ------------------------------------------------------------------ */
form.panel { max-width: 620px; }
form.panel label { display: block; font-size: 14px; font-weight: 600; margin-top: 14px; }
form.panel input, form.panel select, form.panel textarea {
  width: 100%; padding: 10px; margin-top: 4px; font-size: 15px; font-family: inherit;
  border: 1px solid #b9c7d6; border-radius: 6px;
}
form.panel .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.form-status { margin-top: 12px; font-size: 15px; min-height: 20px; }
.form-status.error { color: #c81e1e; }
.form-status.ok { color: var(--accent); font-weight: 600; }

/* Information still to be supplied by the owner (site-info.js). */
.todo { background: #fff1c2; color: #7a5b00; padding: 0 4px; border-radius: 3px; font-style: italic; }

/* Contact ----------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: inline-block; min-width: 120px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: #0f2f55; color: #d7e2ee; padding: 32px 0 20px; margin-top: 24px; font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.site-footer h4 { color: #fff; margin: 0 0 8px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 20px; padding-top: 12px; color: #a9bbcf; }

[hidden] { display: none !important; }

/* floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.wa-float:hover { background: #1EBE5A; }
@media (max-width: 760px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }
@media print { .wa-float { display: none; } }

/* province pages */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--brand); text-decoration: none; }
.province-map { margin: 0; }
.province-map img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(0,0,0,0.10); background: #fff; }
.province-map figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.prov-card { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow 0.2s, transform 0.2s; }
.prov-card img { display: block; width: 100%; height: auto; }
.prov-card span { display: block; padding: 10px 14px; font-weight: 600; }
.prov-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
