/* Carte de visite COLOMBO — mwen.colombo.gp
   Couleurs : vert et curry COLOMBO ; police Roboto ; angles droits. */
:root {
  --green: #1F5C3A;
  --green-dark: #164429;
  --curry: #C99A2E;
  --curry-light: #F4E7C5;
  --ink: #1B1B1B;
  --ink-soft: #4A4A48;
  --muted: #7A776F;
  --paper: #F6F3EC;
  --line: #E2DDD2;
  --white: #FFFFFF;
  --accent: var(--green);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 520px; margin: 0 auto; background: var(--white); min-height: 100vh;
        box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }

/* barre du haut : facettes + langue */
.topbar { display: flex; align-items: stretch; justify-content: space-between;
          border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.facets { display: flex; overflow-x: auto; scrollbar-width: none; }
.facets::-webkit-scrollbar { display: none; }
.facets a { padding: 13px 16px; text-decoration: none; font-size: 14px; color: var(--muted);
            white-space: nowrap; border-bottom: 3px solid transparent; font-weight: 500; }
.facets a.on { color: var(--ink); border-bottom-color: var(--accent); }
.langs { display: flex; border-left: 1px solid var(--line); }
.langs a { padding: 13px 12px; font-size: 13px; text-decoration: none; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.langs a.on { color: var(--ink); background: var(--paper); }

/* en-tête */
.band { height: 104px; background: var(--accent); position: relative; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--curry); }
.ident { padding: 0 24px; margin-top: -64px; position: relative; }
.photo { width: 128px; height: 128px; object-fit: cover; display: block; background: var(--paper);
         border: 4px solid var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.photo.empty { display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 300;
               color: var(--accent); }
h1 { font-size: 27px; line-height: 1.15; margin: 16px 0 4px; font-weight: 700; letter-spacing: -.01em; }
.role { color: var(--ink-soft); margin: 0; font-size: 16px; }
.role strong { font-weight: 500; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 10px;
          background: var(--curry-light); font-size: 14px; color: var(--ink); }
.status .dot { width: 8px; height: 8px; background: var(--curry); flex: none; }
.status small { color: var(--ink-soft); }
.bio { color: var(--ink-soft); margin: 16px 0 0; font-size: 15px; }

/* actions */
.actions { padding: 22px 24px 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px;
       font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
       border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 0;
       transition: background .15s, border-color .15s; }
.btn:hover { background: var(--paper); border-color: #CFC8B8; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); width: 100%; padding: 15px 18px; }
.btn-primary:hover { background: #333; border-color: #333; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px;
        border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
              padding: 16px 6px; text-decoration: none; font-size: 13px; color: var(--ink-soft); background: var(--white);
              border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer;
              font-family: inherit; border-top: 0; border-left: 0; }
.grid .tile:hover { background: var(--paper); color: var(--ink); }
.grid .tile svg { width: 22px; height: 22px; color: var(--accent); }

/* sections */
section { padding: 26px 24px 4px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 500;
     margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; width: 18px; height: 3px; background: var(--curry); }
.works { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
.work { flex: 0 0 72%; scroll-snap-align: start; border: 1px solid var(--line); text-decoration: none; display: block; background: var(--white); }
.work img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: var(--paper); }
.work .noimg { aspect-ratio: 16/10; background: var(--accent); display: flex; align-items: flex-end; padding: 14px;
               color: var(--white); font-size: 20px; font-weight: 700; }
.work div.txt { padding: 12px 14px 14px; }
.work strong { display: block; font-weight: 500; }
.work span { font-size: 14px; color: var(--ink-soft); }

/* formulaire d'échange */
.exchange { background: var(--paper); margin: 26px 0 0; padding: 26px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.exchange p.intro { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; border: 1px solid #CFC8B8;
                                background: var(--white); border-radius: 0; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 10px 0; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 12px 14px; margin-bottom: 14px; font-size: 15px; border-left: 4px solid var(--green); background: var(--white); }
.notice.err { border-left-color: #A63D2F; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials .btn { padding: 9px 14px; font-size: 14px; }

/* pied de page */
footer.brand { margin-top: auto; padding: 26px 24px 30px; display: flex; align-items: center; justify-content: space-between;
               gap: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer.brand a.by { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); }
footer.brand img { height: 34px; width: auto; display: block; }
footer.brand .wordmark { font-weight: 700; letter-spacing: .14em; color: var(--green); font-size: 17px; }
footer.brand .qrlink { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-soft); }
footer.brand .qrlink svg { width: 18px; height: 18px; }

/* page QR plein écran */
.qrpage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
          padding: 28px; text-align: center; background: var(--white); }
.qrpage .qrbox { width: min(82vw, 420px); border: 1px solid var(--line); padding: 14px; background: var(--white); }
.qrpage .qrbox svg { width: 100%; height: auto; display: block; }
.qrpage h1 { margin-top: 22px; }
.qrpage p { color: var(--ink-soft); margin: 6px 0 22px; }

/* choix de facette */
.chooser { padding: 30px 24px; }
.chooser a.facet { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line);
                   border-left: 5px solid var(--accent); text-decoration: none; margin-bottom: 12px; }
.chooser a.facet:hover { background: var(--paper); }
.chooser img, .chooser .ph { width: 56px; height: 56px; object-fit: cover; flex: none; background: var(--paper); }
.chooser strong { display: block; font-weight: 500; font-size: 17px; }
.chooser span { color: var(--ink-soft); font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white);
         padding: 10px 16px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.on { opacity: 1; }

@media (min-width: 560px) {
  body { padding: 28px 0; }
  .wrap { min-height: auto; }
  .work { flex-basis: 46%; }
}
