/* Toumaï Maps -- inner pages (provinces, commander, à propos, contact,
   mentions légales). Same components as the home page (accueil.css, loaded
   before this file); only what the home page does not have is here. */

/* Smaller hero, text on the left when a picture sits on the right */
.hero.small .inner { padding: 56px 16px 52px; }
.hero.small h1 { font-size: clamp(24px, 3vw, 36px); }
.hero .crumbs { font-size: 14px; color: #c7d2fe; margin: 0 0 14px; }
.hero .crumbs a { color: #fff; text-decoration: none; }
.hero .crumbs a:hover { text-decoration: underline; }
.hero .outline { width: 110px; height: 110px; margin: 0 auto 14px; display: block; }
.hero .outline path { fill: rgba(234,179,8,.55); stroke: #fde047; stroke-width: 1.2; stroke-linejoin: round; }

/* White content card (same look as the cards of the home page) */
.panel-card { background: #fff; border-radius: 18px; box-shadow: 0 10px 28px rgba(17,24,39,.07); padding: 30px 32px; }
.panel-card + .panel-card { margin-top: 22px; }
.panel-card p, .panel-card li { color: var(--muted); line-height: 1.65; font-size: 14.5px; }
.panel-card b { color: var(--ink); }
.panel-card h3 { color: var(--navy-dark); margin: 22px 0 6px; font-size: 16px; }
.panel-card h3:first-child { margin-top: 0; }
.panel-card a { color: var(--blue); }
@media (max-width: 600px) { .panel-card { padding: 22px 18px; } }
.text { max-width: 860px; }

/* Two big choices (Commander) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choice { background: #fff; border-radius: 18px; box-shadow: 0 10px 28px rgba(17,24,39,.08); padding: 28px; border-top: 6px solid var(--c); display: flex; flex-direction: column; }
.choice .e { width: 60px; height: 60px; border-radius: 16px; background: var(--c); display: grid; place-items: center; font-size: 30px; margin-bottom: 14px; }
.choice h3 { margin: 0 0 8px; color: var(--navy-dark); font-size: 17px; }
.choice p, .choice li { color: var(--muted); line-height: 1.6; font-size: 14.5px; }
.choice ul { padding-left: 20px; margin: 0 0 18px; }
.choice .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.choice .actions a.link { color: var(--navy); font-weight: 600; }
.mini-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.mini-types span { display: inline-flex; align-items: center; gap: 6px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 13px; padding: 5px 10px 5px 6px; border-radius: 999px; }
.mini-types span i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 13px; }
@media (max-width: 800px) { .choices { grid-template-columns: 1fr; } }

/* Form (Commander) */
form.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
form.panel .full { grid-column: 1 / -1; }
form.panel label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-dark); margin-top: 12px; }
form.panel input, form.panel select, form.panel textarea { width: 100%; padding: 12px; margin-top: 6px; font-size: 15px; font-family: inherit; border: 1px solid #d5dde9; border-radius: 10px; background: #fff; }
form.panel input:focus, form.panel select:focus, form.panel textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
form.panel .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
form.panel button { font: inherit; border: 0; cursor: pointer; margin-top: 18px; }
form.panel .note { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { form.panel { grid-template-columns: 1fr; } }
.form-status { margin-top: 12px; font-size: 15px; min-height: 20px; }
.form-status.error { color: #c81e1e; }
.form-status.ok { color: var(--green); font-weight: 600; }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid #eef0f4; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { min-width: 110px; color: var(--navy-dark); }
.contact-list a { color: var(--blue); font-weight: 500; }

/* Province pages */
.example-map { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(17,24,39,.12); }
.example-map img { width: 100%; height: auto; }
.example-map figcaption { padding: 14px 18px; font-weight: 600; color: var(--navy-dark); }
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.depts div { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(17,24,39,.06); border-left: 4px solid var(--t-loc); }
.depts b { display: block; color: var(--navy-dark); }
.depts span { color: var(--muted); font-size: 13px; }
.neigh { margin-top: 18px; color: var(--muted); }
.neigh b { color: var(--navy-dark); }
.type a.go { margin-top: 12px; color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.type a.go:hover { text-decoration: underline; }
.prov-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.prov-card { display: block; text-decoration: none; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(17,24,39,.08); transition: transform .2s, box-shadow .2s; }
.prov-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(17,24,39,.14); }
.prov-card img { width: 100%; height: auto; border-bottom: 1px solid #eef0f4; }
.prov-card span { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-weight: 600; color: var(--navy-dark); }
.prov-card svg { width: 34px; height: 34px; flex: none; }
.prov-card svg path { fill: rgba(234,179,8,.55); stroke: #b88a00; stroke-width: 1.4; stroke-linejoin: round; }

/* Owner details not supplied yet (site-info.js) */
.todo { background: #fff1c2; color: #7a5b00; padding: 0 4px; border-radius: 3px; font-style: italic; }

/* Legal text: section titles like the home page, smaller */
.legal-text h2 { color: var(--navy-dark); text-transform: uppercase; font-weight: 600; font-size: 17px; border-left: 6px solid var(--yellow); padding-left: 12px; margin: 34px 0 12px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text .note { font-size: 13px; }

/* Catalogue (catalogue.html, scripts/build_catalogue_page.py) */
.map-card a.img { display: block; }
.map-card .meta .offer { background: #e6f4ec; color: var(--green); font-weight: 600; }
.map-card .meta .offer.quote { background: #fff4d6; color: #8a5a00; }
.domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.domain { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 8px 22px rgba(17,24,39,.06); border-top: 4px solid var(--navy); }
.domain:nth-child(4n+2) { border-top-color: var(--yellow); }
.domain:nth-child(4n+3) { border-top-color: var(--green); }
.domain:nth-child(4n+4) { border-top-color: #e63946; }
.domain .e { font-size: 22px; margin-bottom: 6px; }
.domain h3 { margin: 0 0 8px; color: var(--navy-dark); font-size: 15px; }
.domain ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Navy theme (see the end of accueil.css): square blocks, light text on navy */
.panel-card, .choice, .choice .e, .example-map, .depts div, .prov-card, .domain { border-radius: 0; }
.neigh { color: #c7d2fe; }
.neigh b { color: #fff; }
