/*
Theme Name: Annuaire Simple
Version: 1.2.0
Description: Annuaire sobre, gris et vert, avec navigation par catégories.
Requires PHP: 8.3
Text Domain: annuaire-simple
*/
:root{--bg:#eeefec;--ink:#263d36;--muted:#627068;--line:#d7ddd5;--paper:#fafbf8;--accent:#bf623c;--green:#244c40}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--accent)}img{max-width:100%;height:auto}button,input,textarea{font:inherit}.wrap{width:min(1160px,calc(100% - 48px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;background:white;padding:12px;z-index:20}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.site-header{border-bottom:1px solid var(--line);background:#f5f6f2}.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:-.5px}.brand-mark{background:var(--green);color:white;width:42px;height:46px;display:grid;place-items:center;border-radius:3px 3px 13px 3px;font-family:Georgia,serif;font-size:29px}.brand small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:2.2px;font-weight:500;color:var(--muted)}nav{display:flex;gap:28px;font-size:14px}nav a{text-decoration:none}main{min-height:60vh}.hero{padding:74px 0 54px;max-width:790px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:750;color:var(--accent);margin:0 0 18px}h1,h2,h3{font-weight:400;font-family:Georgia,"Times New Roman",serif;line-height:1.14;letter-spacing:-.035em}h1{font-size:clamp(38px,5.2vw,65px);margin:0 0 22px}h2{font-size:34px;margin:0}h3{font-size:25px;margin:0 0 10px}.intro{font-size:18px;color:var(--muted);max-width:650px}.section-title{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:29px 0 24px;gap:20px}.section-title small{color:var(--muted);font-size:13px}.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:60px}.category{background:var(--paper);border:1px solid var(--line);padding:28px;display:flex;flex-direction:column;min-height:220px;border-radius:5px}.category-head{display:flex;align-items:start;gap:14px}.category-number{font-size:11px;letter-spacing:1px;color:var(--accent);padding-top:7px}.category h3 a{text-decoration:none}.category p{color:var(--muted);font-size:13px;line-height:1.8;margin:5px 0 20px}.category .more{margin-top:auto;font-size:13px;text-decoration:none;font-weight:650}.more span{float:right}.note{background:#e3e7df;border-radius:5px;padding:25px 30px;margin:0 0 68px;display:flex;align-items:center;justify-content:space-between;gap:30px}.note p{margin:0;color:var(--muted);font-size:14px}.note a{white-space:nowrap;font-size:14px;font-weight:600}.site-footer{border-top:1px solid var(--line);padding:32px 0;color:var(--muted);font-size:12px}.footer-inner{display:flex;justify-content:space-between;gap:24px}.footer-links{display:flex;gap:20px}.breadcrumbs{font-size:12px;color:var(--muted);padding:32px 0 22px}.breadcrumbs a{text-decoration:none}.page-head{max-width:850px;padding:12px 0 35px}.page-head h1{font-size:48px}.subcategories{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 35px}.pill{border:1px solid #cbd3c9;border-radius:100px;padding:7px 15px;text-decoration:none;font-size:12px;background:#f5f6f2}.listing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:45px}.artisan-card{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:25px}.artisan-card h2{font-size:25px;margin:15px 0 8px}.artisan-card h2 a{text-decoration:none}.artisan-card p{font-size:13px;color:var(--muted);white-space:pre-line}.card-logo{height:85px;display:flex;align-items:center}.card-logo img{max-height:80px;width:auto;max-width:160px;object-fit:contain}.artisan-card .more{display:block;border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;margin-bottom:60px}.entry-main,.contact-box{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:32px}.entry-main h2,.contact-box h2{font-size:29px;margin-bottom:20px}.entry-content{overflow-wrap:anywhere}.entry-content h2{margin-top:30px}.contact-box{align-self:start}.contact-box .meta{font-size:14px;white-space:pre-line;overflow-wrap:anywhere}.contact-box .label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin:25px 0 6px}.profile-logo{display:block;max-height:140px;width:auto;margin:0 0 22px}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}.gallery img{display:block;width:100%;height:200px;object-fit:cover;border-radius:3px}.page-body{max-width:820px;background:var(--paper);padding:35px;border:1px solid var(--line);border-radius:5px;margin-bottom:70px}.pagination{margin-bottom:45px;display:flex;gap:12px}.empty{padding:30px 0;color:var(--muted)}@media(max-width:850px){.categories,.listing{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-grid{grid-template-columns:1fr}.hero{padding-top:50px}.contact-box{order:-1}}@media(max-width:560px){.wrap{width:calc(100% - 32px)}.header-inner{min-height:88px;gap:12px}.brand{font-size:17px}.brand small{font-size:8px}.brand-mark{width:32px;height:38px;font-size:24px}nav{gap:14px;font-size:12px}.categories,.listing{grid-template-columns:1fr}.category{min-height:180px;padding:25px}.hero{padding:38px 0}.section-title{align-items:start}.section-title h2{font-size:28px}.section-title small{max-width:90px;text-align:right}.note,.footer-inner{display:block}.note a{display:inline-block;margin-top:15px}.footer-links{margin-top:16px;flex-wrap:wrap}.page-head h1{font-size:36px}.entry-main,.contact-box,.page-body{padding:23px}.gallery{grid-template-columns:1fr}}

/* Accueil éditable et identité AA — version 1.1 */
.brand-logo{display:block;width:48px;height:48px;flex:0 0 48px}.home-page .hero{padding-bottom:20px}.home-page .hero h1{max-width:820px}.home-content>.intro{margin:0 0 42px;max-width:740px}.home-content .category h3{margin:0;font-size:25px}.home-content .category-head{align-items:center;margin-bottom:15px}.category-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;background:#e9eee6;border-radius:10px;color:var(--green)}.category-icon svg{display:block;width:28px;height:28px}.home-content .category p{margin-top:0}.home-content .category .more{color:var(--ink)}.home-content .section-title h2{margin:0}.home-editorial{max-width:900px;margin:0 auto 64px}.home-editorial h2{font-size:31px;margin:36px 0 16px}.home-editorial p{color:var(--muted);margin:0 0 20px;line-height:1.85}.home-content .categories{margin-bottom:44px}.home-content .category{min-height:228px}.home-content .category h3 a{overflow-wrap:anywhere}@media(max-width:560px){.brand-logo{width:38px;height:38px;flex-basis:38px}.home-page .hero{padding-bottom:18px}.home-page .hero h1{font-size:38px}.home-content>.intro{font-size:16px;margin-bottom:32px}.home-editorial h2{font-size:27px}.home-editorial{margin-bottom:40px}.home-content .category{min-height:194px}.home-content .category h3{font-size:25px}}

/* Catégories administrables — 1.2 */
.category-subcategories{list-style:none;padding:0;margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.9}.category-subcategories li{display:inline}.category-subcategories li+li:before{content:" · ";color:#899388}.category-subcategories a{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:#c0c9bf;text-underline-offset:3px}.category-subcategories a:hover{color:var(--accent);text-decoration-color:currentColor}.category-subcategories a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
