/* Toumaï Maps -- home page (accueil.html), copied from the mockup the owner
   validated on 12/10/2026. Header, footer and colours: chrome.css. */
:root {
  /* one colour per map theme */
  --t-loc: #e63946;
  --t-rel: #a0522d;
  --t-occ: #2a9d3f;
  --t-hyd: #1e88e5;
  --t-equ: #8e2a7a;
  --t-ris: #f08c00;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
h3 { font-weight: 600; }

/* Hero: mosaic of real maps under a navy veil */
.hero { position: relative; color: #fff; overflow: hidden; text-align: center; padding: 0; }
.mosaic { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; transform: rotate(-4deg) scale(1.12); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,37,84,.86) 0%, rgba(30,58,138,.80) 50%, rgba(23,37,84,.95) 100%); }
.hero .inner { position: relative; z-index: 2; padding: 84px 16px 70px; }
.promo { display: inline-flex; align-items: center; gap: 8px; background: rgba(234,179,8,.18); border: 1px solid var(--yellow); color: #fde68a; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; font-size: 14px; }
.hero h1 { font-size: clamp(26px, 3.3vw, 40px); font-weight: 600; margin: 0 0 16px; line-height: 1.08; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.hero h1 span { color: var(--yellow); }
.hero p { font-size: clamp(16px, 1.7vw, 19px); margin: 0 auto 32px; max-width: 760px; color: #e0e7ff; font-weight: 300; line-height: 1.5; }
.hero .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-g { background: var(--green); color: #fff; font-weight: 500; padding: 13px 28px; border-radius: 8px; text-decoration: none; font-size: 16px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.btn-g:hover { background: var(--green-dark); }
.btn-y { background: var(--yellow); color: var(--navy-dark); font-weight: 500; padding: 13px 28px; border-radius: 8px; text-decoration: none; font-size: 16px; }
.btn-o { border: 2px solid #fff; color: #fff; font-weight: 500; padding: 11px 28px; border-radius: 8px; text-decoration: none; font-size: 16px; }
.btn-o:hover { background: rgba(255,255,255,.1); }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 38px; }
.quick a { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 8px 14px 8px 8px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 14px; }
.quick a:hover { background: rgba(255,255,255,.18); }
.quick .e { width: 30px; height: 30px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 16px; }

/* Stats band */
.stats { background: var(--navy); color: #fff; box-shadow: 0 10px 30px rgba(30,58,138,.25); position: relative; z-index: 3; }
.stats .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px 8px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: 0; }
.stat b { font-size: 28px; font-weight: 600; color: var(--yellow); }
.stat span { font-size: 12px; letter-spacing: .08em; font-weight: 500; text-transform: uppercase; line-height: 1.3; }
@media (max-width: 900px) { .stat { flex-direction: column; gap: 4px; text-align: center; } .stats .wrap { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid rgba(255,255,255,.15); } .stat:nth-child(2n) { border-right: 0; } .stat:last-child { grid-column: 1 / -1; } }

/* Section titles */
.s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.s-head h2 { margin: 0; font-size: clamp(18px, 1.9vw, 22px); color: var(--navy-dark); text-transform: uppercase; font-weight: 600; border-left: 6px solid var(--yellow); padding-left: 16px; line-height: 1.15; }
.s-head p { margin: 8px 0 0 24px; color: var(--muted); max-width: 640px; line-height: 1.55; font-size: 15px; }
.s-head a { color: var(--navy); text-decoration: none; font-weight: 600; }

/* Map types: coloured, representative icons */
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.type { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(17,24,39,.08); display: flex; flex-direction: column; border-top: 6px solid var(--c); transition: transform .2s, box-shadow .2s; }
.type:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(17,24,39,.14); }
.type .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.type .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 45%; transform: scale(1.5); }
.type .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.type .ico { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 15px; background: var(--c); display: grid; place-items: center; font-size: 28px; margin-top: -45px; margin-bottom: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.2); border: 3px solid #fff; }
.type h3 { margin: 0 0 6px; font-size: 15px; color: var(--navy-dark); }
.type p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.type .price { margin-top: auto; }
.type .price s { display: block; color: #9ca3af; font-size: 13px; }
.type .price b { font-size: 20px; color: var(--c); font-weight: 600; }
@media (max-width: 1060px) { .types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .types { grid-template-columns: 1fr; } .type .thumb { aspect-ratio: 2 / 1; } }

.custom { margin-top: 22px; background: #fff; border-radius: 16px; border-left: 5px solid var(--t-ris); box-shadow: 0 10px 28px rgba(17,24,39,.06); padding: 22px 26px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.custom .ico { font-size: 34px; }
.custom div { flex: 1; min-width: 240px; }
.custom h3 { margin: 0 0 4px; color: var(--navy-dark); }
.custom p { margin: 0; color: var(--muted); line-height: 1.55; }
.btn-b { background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; padding: 13px 24px; border-radius: 8px; white-space: nowrap; }

/* Steps (kept from the current site, restyled) */
.howto { background: #d3e1f4; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: 16px; padding: 28px 24px 24px; border-left: 5px solid var(--navy); }
.step .n { position: absolute; top: -18px; left: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--navy-dark); display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.step .e { font-size: 30px; margin: 10px 0 8px; }
.step h3 { margin: 0 0 6px; color: var(--navy-dark); font-size: 15.5px; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 13.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* Gallery with theme filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { font: inherit; font-size: 14px; font-weight: 600; border: 1px solid #dbe2ee; background: #fff; color: var(--navy-dark); padding: 9px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.map-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(17,24,39,.08); display: flex; flex-direction: column; }
.map-card[hidden] { display: none; }
.map-card .img { position: relative; border-bottom: 1px solid #eef0f4; }
.map-card .badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--c); color: #fff; font-weight: 600; font-size: 11.5px; padding: 4px 9px 4px 6px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.map-card .soon { position: absolute; top: 10px; right: 10px; background: var(--yellow); color: var(--navy-dark); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.map-card .info { padding: 12px 14px 14px; }
.map-card h3 { margin: 0 0 6px; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.map-card .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.map-card .meta span { font-size: 11.5px; background: var(--sky); color: var(--navy); padding: 3px 8px; border-radius: 6px; font-weight: 500; }
.more { text-align: center; margin-top: 30px; }
.more button { font: inherit; font-weight: 600; background: #fff; color: var(--navy); border: 2px solid var(--navy); padding: 12px 26px; border-radius: 8px; cursor: pointer; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* Expertise */
.expert { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; }
.expert .s-head h2 { color: #fff; }
.expert .s-head p { color: #c7d2fe; }
.expert-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px; display: flex; gap: 12px; }
.spec .e { font-size: 24px; line-height: 1; }
.spec b { display: block; margin-bottom: 3px; font-weight: 600; }
.spec span { color: #c7d2fe; font-size: 13px; line-height: 1.45; }
.zoom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zoom figure { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.zoom figcaption { color: var(--navy-dark); font-size: 13px; font-weight: 600; padding: 8px 12px; }
.zoom .wide { grid-column: 1 / -1; }
.sources { margin-top: 40px; text-align: center; }
.sources p { color: #c7d2fe; margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logos span { background: #fff; color: var(--navy-dark); font-weight: 600; padding: 9px 16px; border-radius: 8px; font-size: 14px; }
@media (max-width: 900px) { .expert-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

/* Why (kept from the current site) */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border-radius: 14px; padding: 20px 18px; box-shadow: 0 8px 22px rgba(17,24,39,.06); border-bottom: 4px solid var(--c); }
.why-card .e { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); display: grid; place-items: center; font-size: 21px; margin-bottom: 10px; }
.why-card h3 { margin: 0 0 6px; color: var(--navy-dark); font-size: 15px; }
.why-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* Audience */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.who-card { background: #fff; border-radius: 14px; padding: 20px 18px; text-align: center; box-shadow: 0 10px 30px rgba(17,24,39,.08); }
.who-card .e { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-size: 24px; }
.who-card .sub { color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.who-card h3 { margin: 0 0 6px; color: var(--navy-dark); font-size: 15px; }
.who-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 1000px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }

/* Provinces band */
.band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; text-align: center; }
.band h2 { color: var(--yellow); text-transform: uppercase; font-weight: 600; font-size: clamp(18px, 1.9vw, 22px); margin: 0; }
.band h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--yellow); margin: 10px auto 0; }
.band > .wrap > p { color: #c7d2fe; margin: 14px auto 30px; }
.prov { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; text-align: left; }
.prov a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-decoration: none; font-weight: 400; font-size: 14.5px; }
.prov a:hover { background: rgba(255,255,255,.14); }
.prov a i { color: var(--t-loc); }
.prov a .shape { width: 44px; height: 44px; flex: none; }
.prov a .shape path { fill: rgba(234,179,8,.55); stroke: #fde047; stroke-width: 1.4; stroke-linejoin: round; }
.prov a:hover .shape path { fill: var(--yellow); }

/* FAQ: one white card, questions separated by thin lines */
.faq { max-width: 1240px; }
.faq details { max-width: 900px; }
details { background: #fff; border-bottom: 1px solid #e8ecf3; box-shadow: 0 6px 18px rgba(17,24,39,.04); }
.faq .s-head + details { border-radius: 14px 14px 0 0; }
.faq details:last-child { border-bottom: 0; border-radius: 0 0 14px 14px; }
summary { list-style: none; cursor: pointer; font-weight: 500; font-size: 14px; padding: 14px 58px 14px 22px; position: relative; color: var(--navy-dark); }
summary:hover { color: var(--blue); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%232563eb' d='M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z'/%3E%3C/svg%3E") center / 10px no-repeat; }
details[open] summary { color: var(--blue); }
details[open] summary::after { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23172554' d='M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E"); }
details p { margin: 0; padding: 0 22px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* Final call (kept from the current site) */
.final { background: var(--navy-dark); color: #fff; text-align: center; }
.final .btn-y { background: #fff; color: var(--navy-dark); }
.final .btn-o { border-color: #fff; color: #fff; }
.final h2 { margin: 0 0 8px; font-size: clamp(21px, 2.4vw, 27px); font-weight: 600; }
.final p { margin: 0 0 22px; color: #dbe4ff; font-size: 16px; }
.final .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

[hidden] { display: none !important; }
.more-link { text-align: center; margin: 16px 0 0; }
.more-link a { color: var(--navy); font-weight: 500; }

/* ---- Navy theme (owner's choice, 13/10/2026: the editor panel's style on
   the whole site, square corners). Loaded by every page (pages.css after). */
body { background: #1b3170; color: #e0e7ff; }
.howto { background: transparent; }
.s-head h2 { display: inline-block; background: var(--yellow); color: var(--navy-dark); border: 0; border-radius: 0;
  padding: 6px 16px; font-size: 16px; letter-spacing: .06em; }
.s-head p { color: #c7d2fe; margin-left: 0; }
.s-head a { color: #fde047; }
.band h2 { display: inline-block; background: var(--yellow); color: var(--navy-dark); padding: 6px 16px; font-size: 16px; }
.band h2::after { display: none; }
.filters button { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.filters button.on { background: var(--yellow); color: var(--navy-dark); border-color: var(--yellow); }
.more button { background: transparent; color: #fff; border-color: #fff; }
.more-link a { color: #fde047; }
.step { background: rgba(255,255,255,.08); border-left-color: var(--yellow); }
.step h3 { color: #fff; }
.step p { color: #c7d2fe; }
/* square corners on every block inside the sections */
.type, .custom, .step, .map-card, .why-card, .who-card, .spec, .zoom figure, .prov a,
details, .faq .s-head + details, .faq details:last-child, .logos span { border-radius: 0; }
/* Section titles (owner's choice, 13/10): a small yellow ribbon, then the
   title in large white text on a full-width line; on the home page some
   sections fold (data-fold, site.js) behind their title, with an arrow. */
.s-head > div { flex: 1; }
.s-head h2, .band h2 {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: none; color: #fff; padding: 0 0 12px; font-size: 22px; letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.18); clip-path: none;
}
.s-head h2::before, .band h2::before {
  content: ""; flex: none; width: 34px; height: 20px; background: var(--yellow);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}
.band h2 { justify-content: flex-start; margin-bottom: 0; }
.band > .wrap > p { text-align: left; margin-left: 0; }
.s-head p { margin-top: 10px; }

/* Folding sections */
[data-fold] .s-head h2 { cursor: pointer; user-select: none; }
[data-fold] .s-head h2::after {
  content: ""; margin-left: auto; width: 12px; height: 12px; flex: none;
  border-right: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
[data-fold].folded .s-head h2::after { transform: rotate(-45deg); }
[data-fold] .s-head h2:hover { color: #fde047; }
[data-fold] .s-head h2:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
[data-fold].folded { padding: 22px 0 !important; }
[data-fold].folded .s-head { margin-bottom: 0; }
[data-fold].folded .s-head p, [data-fold].folded .wrap > :not(.s-head) { display: none; }
