/* Catalogue public ATEMIA (01/12/2026) : mêmes couleurs, rayons et ombres que la page d'accueil du site (variables --blue, --green…). */
.atmc { --c-blue: var(--blue, #224F9B); --c-blue-d: var(--blue-dark, #1A3D7A); --c-green: var(--green, #66C430); --c-ink: var(--ink, #16202e); --c-muted: var(--muted, #566579); --c-line: var(--border, #dbe4f1); --c-soft: var(--blue-soft, #e9eff9); --c-r: var(--radius, 18px);
  background: var(--bg, #f4f7fc); color: var(--c-ink); padding: 110px 0 90px; min-height: 70vh; font-size: 16px; line-height: 1.55; }
.atmc .container { max-width: var(--max, 1180px); margin: 0 auto; padding: 0 22px; }
.atmc h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--c-ink); margin: 10px 0 14px; line-height: 1.2; font-weight: 700; }
.atmc h2 { font-size: 1.25rem; margin: 34px 0 14px; color: var(--c-ink); }
.atmc p { margin: 0 0 12px; } .atmc a { color: var(--c-blue); }
.atmc-lead { font-size: 1.08rem; color: var(--c-muted); max-width: 780px; }
.atmc-crumbs { font-size: .88rem; color: var(--c-muted); } .atmc-crumbs a { text-decoration: none; }
.atmc-search { margin: 22px 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 18px; box-shadow: var(--shadow-sm, 0 8px 22px rgba(22,50,110,.08)); }
.atmc-search label { display: block; font-weight: 700; margin-bottom: 8px; }
.atmc-search div { display: flex; gap: 10px; }
.atmc-search input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px; font: inherit; }
.atmc button { font: inherit; }
.atmc-search button, .atmc-btn, .atmc-send { background: var(--c-green); color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.atmc-search button:hover, .atmc-btn:hover, .atmc-send:hover { background: var(--green-dark, #4f9c22); }
.atmc button:focus-visible, .atmc a:focus-visible, .atmc input:focus-visible, .atmc textarea:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.atmc-brands { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.atmc-brands a { display: block; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--c-r); text-decoration: none; background: #fff; box-shadow: var(--shadow-sm, 0 8px 22px rgba(22,50,110,.08)); transition: transform .15s, border-color .15s; }
.atmc-brands a:hover { border-color: var(--c-blue); transform: translateY(-2px); }
.atmc-brands b { display: block; font-size: 1.1rem; color: var(--c-ink); } .atmc-brands span { color: var(--c-muted); font-size: .92rem; }
.atmc-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.atmc-cats a { padding: 7px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--c-ink); }
.atmc-cats a.on { background: var(--c-blue); color: #fff; border-color: var(--c-blue); } .atmc-cats span { opacity: .65; }
.atmc-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-r); overflow: hidden; }
.atmc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--c-line); }
.atmc-list li:last-child { border-bottom: 0; }
.atmc-list li > a { flex: 1; min-width: 0; text-decoration: none; display: grid; grid-template-columns: minmax(150px, 230px) 1fr; column-gap: 14px; color: inherit; }
.atmc-list li > a b { color: var(--c-blue); word-break: break-word; } .atmc-list li > a small { grid-column: 2; color: var(--c-muted); font-size: .85rem; }
.atmc-add { display: inline-flex; gap: 8px; align-items: center; flex: none; }
.atmc-qty { width: 76px; padding: 9px 10px; border: 1px solid var(--c-line); border-radius: 12px; font: inherit; }
.atmc-add .atmc-btn { padding: 9px 16px; font-size: .9rem; } .atmc-btn.done { background: var(--c-blue); }
.atmc-add.big { margin: 10px 0 22px; } .atmc-add.big .atmc-btn { padding: 13px 24px; font-size: 1rem; }
.atmc-prod { background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 26px; box-shadow: var(--shadow, 0 16px 40px rgba(22,50,110,.12)); margin-top: 8px; }
.atmc-ref { display: inline-block; background: var(--c-soft); color: var(--c-blue); padding: 2px 12px; border-radius: 999px; font-size: .75em; vertical-align: middle; margin-right: 6px; }
.atmc-desc { color: var(--c-muted); }
.atmc-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 16px 0; } .atmc-dl dt { color: var(--c-muted); } .atmc-dl dd { margin: 0; font-weight: 600; }
.atmc-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0; } .atmc-pager a, .atmc-pager span { padding: 7px 13px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; text-decoration: none; color: var(--c-ink); }
.atmc-pager .on { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.atmc-float { position: fixed; right: 18px; bottom: 90px; z-index: 50; background: var(--c-green); color: #fff !important; padding: 13px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow, 0 16px 40px rgba(22,50,110,.12)); }
.atmc-float b { background: #fff; color: var(--c-ink); border-radius: 999px; padding: 0 9px; margin-left: 8px; }
.atmc-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; background: #fff; border-radius: var(--c-r); overflow: hidden; border: 1px solid var(--c-line); }
.atmc-table th, .atmc-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; } .atmc-table th { background: var(--c-soft); }
.atmc-rm { background: transparent; border: 0; color: #b42318; padding: 4px 8px; cursor: pointer; font-size: 1rem; }
.atmc-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 24px; box-shadow: var(--shadow-sm, 0 8px 22px rgba(22,50,110,.08)); }
.atmc-form h2 { margin-top: 0; }
.atmc-form label { display: block; font-weight: 600; margin: 12px 0; } .atmc-form input, .atmc-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px; font: inherit; font-weight: 400; }
.atmc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; } .atmc-hp { position: absolute; left: -5000px; }
.atmc-note { color: var(--c-muted); font-size: .9rem; } .atmc-ok { background: var(--green-soft, #eef7e2); border: 1px solid var(--green-line, #d3ecbd); padding: 18px; border-radius: var(--c-r); }
.atmc-empty { background: #fff; border: 1px dashed var(--c-line); border-radius: var(--c-r); padding: 18px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
@media (max-width: 700px) { .atmc { padding-top: 90px; } .atmc-list li { flex-direction: column; align-items: stretch; } .atmc-list li > a { grid-template-columns: 1fr; } .atmc-list li > a small { grid-column: 1; } .atmc-grid { grid-template-columns: 1fr; } .atmc-search div { flex-direction: column; } .atmc-prod { padding: 18px; } }
/* Le thème du site (Hestia/Bootstrap) reste chargé comme sur l'accueil : on neutralise ses majuscules de boutons et ses champs soulignés. */
.atmc { padding-top: 36px; font-family: inherit; }
.atmc h1, .atmc h2, .atmc h3 { font-family: inherit; text-transform: none; letter-spacing: normal; }
.atmc button, .atmc .atmc-btn, .atmc .atmc-send, .atmc-search button { text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1.2; margin: 0; }
.atmc input, .atmc textarea { background-image: none !important; background-color: #fff !important; border: 1px solid var(--c-line) !important; border-radius: 12px !important; height: auto !important; box-shadow: none !important; line-height: 1.3; color: var(--c-ink); }
.atmc .atmc-qty { width: 80px; padding: 9px 10px !important; text-align: center; }
.atmc-float { text-transform: none; }
@media (max-width: 700px) { .atmc { padding-top: 24px; } }

/* Logos des marques */
.atmc-brands a { display: flex; flex-direction: column; gap: 6px; }
.atmc-logobox { display: flex; align-items: center; height: 56px; margin-bottom: 6px; }
.atmc-logo { max-height: 52px; max-width: 180px; object-fit: contain; }
.atmc-mono { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-soft); color: var(--c-blue); font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; }
.atmc-bhead { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.atmc-blogo { max-height: 64px; max-width: 220px; object-fit: contain; background: #fff; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--c-line); }
.atmc-dlogo { max-height: 26px; max-width: 120px; object-fit: contain; vertical-align: middle; margin-right: 10px; }
