
:root{
  --green:#0f5c2f;
  --green-dark:#0b4724;
  --green-mid:#1e7a3d;
  --green-soft:#eaf4ec;
  --gold:#d2a62a;
  --ink:#213127;
  --muted:#68776d;
  --line:#cfe0d1;
  --white:#ffffff;
  --shadow:0 18px 45px rgba(14,58,31,.10);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(180deg,#fcfcfa 0%,#f4f8f3 100%);line-height:1.6}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.topbar:after{content:"";position:absolute;right:16px;top:8px;width:220px;height:72px;background:url('site/decor/header_graphic.png') no-repeat right center/contain;pointer-events:none;opacity:.98}
.nav{max-width:1240px;margin:auto;display:flex;gap:24px;align-items:center;justify-content:space-between;padding:10px 260px 10px 20px;min-height:96px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--green-dark);font-size:20px}
.brand img{height:116px;width:auto}.brand span{letter-spacing:-.02em;font-size:24px;font-weight:900}
.navlinks{display:flex;gap:18px;align-items:center;color:#355541;font-weight:800;font-size:14px;flex-wrap:wrap;justify-content:flex-end}.navlinks a{padding:8px 0;position:relative;white-space:nowrap}.navlinks a:hover{color:var(--green-mid)}
.hero{position:relative;min-height:540px;display:flex;align-items:end;background:#294536;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,28,16,.08),rgba(7,28,16,.74));z-index:1}
.hero:after{display:none}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-content{position:relative;z-index:3;max-width:1180px;margin:0 auto;padding:90px 20px 72px;color:white}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:900;color:#d8f0df}
.hero h1{font-size:clamp(40px,7vw,82px);line-height:.95;margin:12px 0 18px;max-width:900px;letter-spacing:-.04em}
.hero p{font-size:20px;max-width:760px;color:#eef7ef}.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:13px 18px;font-weight:900;border:1px solid transparent;transition:.2s ease}.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--green);color:white}.btn.light{background:white;color:var(--green)}.btn.ghost{border-color:#cfe2d5;color:var(--green);background:white}
.wrap{max-width:1180px;margin:0 auto;padding:56px 20px}.wrap.tight{padding-top:26px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:24px}.section-head h2{font-size:34px;margin:0;color:var(--green-dark);letter-spacing:-.03em}.section-head h2:after{content:"";display:block;width:110px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--green),var(--gold));margin-top:10px}.section-head p{margin:6px 0 0;color:var(--muted);max-width:760px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:-108px;position:relative;z-index:5}.stat{background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:22px}.stat b{display:block;font-size:31px;color:var(--green-dark);line-height:1}.stat span{color:var(--muted);font-weight:700;font-size:13px}
.territory-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.territory-box{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);overflow:hidden}.territory-box h3{margin:0 0 16px;font-size:28px;color:var(--green-dark);letter-spacing:-.03em}.territory-box p{margin:0 0 14px;color:var(--muted)}
.territory-box.primary:after{content:"";position:absolute;right:-10px;top:-6px;width:220px;height:110px;background:url('site/decor/motif_walker.png') no-repeat right top/contain;opacity:.23;pointer-events:none}
.tag-cloud{display:flex;flex-wrap:wrap;gap:10px}.tag{background:var(--green-soft);color:var(--green-dark);border:1px solid #dceadf;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:800}.tag.alt{background:#fff7df;border-color:#f1dfaa;color:#876108}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 10px 28px rgba(30,70,45,.07)}.card-img{height:210px;object-fit:cover;width:100%;background:var(--green-soft)}.card-body{padding:20px}.card h3{margin:0 0 8px;font-size:21px;color:var(--green-dark)}.muted{color:var(--muted)}.pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.pill{background:var(--green-soft);color:var(--green-dark);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900}.pill.warn{background:#fff2cf;color:#8a5e00}.search-panel{background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px;padding:22px;margin-bottom:22px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.search-panel input,.search-panel select{border:1px solid var(--line);border-radius:14px;padding:13px 14px;font-size:15px;background:white}.rando-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rando-card .card-img{height:180px}.meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.meta div{background:#f7faf6;border-radius:14px;padding:10px;text-align:center}.meta b{display:block;color:var(--green-dark)}
.page-hero{position:relative;background:linear-gradient(135deg,var(--green-dark),#2d7a52);color:white;padding:72px 20px;overflow:hidden}.page-hero:after{content:"";position:absolute;right:0;top:0;width:240px;height:120px;background:url('site/decor/motif_walker.png') no-repeat right top/contain;opacity:.92;pointer-events:none}.page-hero .inner{position:relative;max-width:1180px;margin:auto;z-index:1}.page-hero h1{font-size:clamp(34px,5vw,64px);margin:0 0 12px;letter-spacing:-.03em}
.split{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:start}.panel{position:relative;background:white;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 10px 28px rgba(30,70,45,.06)}.detail-hero-img{height:430px;width:100%;object-fit:cover;border-radius:28px;box-shadow:var(--shadow);background:var(--green-soft)}.detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-gallery img{height:260px;width:100%;object-fit:cover;border-radius:20px}.map-profile{display:grid;grid-template-columns:1fr 1fr;gap:16px}.map-profile img{width:100%;height:auto;border-radius:18px;border:1px solid var(--line);background:white}
.footer{position:relative;background:linear-gradient(90deg,#1c6a33 0%, #0f5c2f 60%, #0c4b27 100%);color:#dcebe2;margin-top:60px;overflow:hidden;border-top:1px solid rgba(255,255,255,.12)}.footer:before{content:"";position:absolute;right:22px;bottom:12px;width:300px;height:78px;background:url('site/decor/footer_mountain_green.png') no-repeat right bottom/contain;opacity:.92;pointer-events:none}.footer .wrap{padding:34px 20px 42px 20px;position:relative;z-index:1}.small{font-size:13px}
.commune-hero{position:relative;background:#234733;color:white;overflow:hidden}.commune-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,25,14,.25),rgba(10,25,14,.6));z-index:1}.commune-hero:after{content:"";position:absolute;right:0;top:0;width:220px;height:110px;background:url('site/decor/motif_walker.png') no-repeat right top/contain;opacity:.92;pointer-events:none;z-index:2}.commune-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}.commune-hero .inner{position:relative;max-width:1180px;margin:auto;padding:95px 20px;z-index:3}
.mapbox{background:white;border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow);padding:18px;display:grid;grid-template-columns:1fr .7fr;gap:20px;align-items:center}.link-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.link-list a{background:var(--green-soft);color:var(--green-dark);font-weight:800;padding:10px 12px;border-radius:14px}.note{background:#fff9e8;border:1px solid #f1dfaf;border-radius:18px;padding:16px;color:#70551d}
.itin-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.itin-item{background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;padding:22px}.itin-item h3{margin:0 0 8px;color:var(--green-dark)}.status-badge{display:inline-flex;background:#fff2cf;color:#8a5e00;border:1px solid #f1dfaf;padding:7px 12px;border-radius:999px;font-weight:900;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.mobile-only{display:none}
@media(max-width:900px){.topbar:after{display:none}.nav{align-items:flex-start;padding:12px 20px;min-height:auto}.brand img{height:88px}.navlinks{flex-wrap:wrap;justify-content:flex-end}.hero{min-height:620px}.stats,.grid,.grid2,.rando-list,.split,.mapbox,.search-panel,.territory-grid,.itin-list{grid-template-columns:1fr}.section-head{display:block}.map-profile,.detail-gallery{grid-template-columns:1fr}.card-img{height:180px}.mobile-only{display:block}.meta{grid-template-columns:1fr 1fr}.navlinks a:nth-child(n+4){display:none}.hero:after,.page-hero:after,.commune-hero:after{width:170px;height:90px}.territory-box.primary:after{width:170px;height:85px;opacity:.16}}


.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.quick-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow)}
.quick-card h3{margin:0 0 8px;color:var(--green-dark);font-size:20px}.quick-card p{margin:0 0 14px;color:var(--muted)}
.quick-card .mini-link{display:inline-flex;font-weight:900;color:var(--green-dark);background:var(--green-soft);padding:9px 12px;border-radius:999px}
.practical-panel{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px;padding:24px}
.practical-panel h3{margin:0 0 10px;color:var(--green-dark);font-size:28px}.practical-panel p{margin:0 0 14px;color:var(--muted)}
.list-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 20px;margin-top:10px}.list-cols ul{margin:0;padding-left:18px}.list-cols li{margin:5px 0}
.feature-strip{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.info-band{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.info-chip{background:var(--green-soft);border:1px solid #dceadf;color:var(--green-dark);padding:8px 11px;border-radius:999px;font-size:13px;font-weight:800}
.home-search{display:grid;grid-template-columns:2fr auto;gap:12px;align-items:center}.home-search input{border:1px solid var(--line);border-radius:16px;padding:14px 16px;font-size:15px;background:white}
.home-search .btn{justify-content:center}
.section-intro{max-width:780px;color:var(--muted);margin:0 0 18px}
.compact-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.compact-links a{background:#f7faf6;border:1px solid var(--line);padding:12px 14px;border-radius:16px;font-weight:800;color:var(--green-dark)}
.footer-nav{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.footer-nav a{color:#dcebe2;opacity:.95}
@media(max-width:900px){.quick-grid,.feature-strip,.compact-links,.list-cols,.home-search{grid-template-columns:1fr}}

.home-latest{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:900px){.home-latest{grid-template-columns:1fr}}

.info-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.info-doc{background:white;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.info-doc img{width:100%;height:auto;background:#f6f8f5}
.info-doc .card-body{padding:18px 20px 22px}
.info-doc h3{margin:0 0 8px;color:var(--green-dark);font-size:24px}
.info-doc p{margin:0 0 14px;color:var(--muted)}
.doc-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.info-gallery{grid-template-columns:1fr}}


/* --- v0.7 refinements --- */
.topbar{box-shadow:0 8px 26px rgba(13,63,34,.08)}
.nav{max-width:1320px}
.brand span{display:none}
.navlinks a{border-radius:999px;padding:9px 12px}
.navlinks a:hover{background:var(--green-soft)}
.hero{min-height:620px}
.hero:before{background:linear-gradient(90deg,rgba(8,29,18,.78) 0%,rgba(8,29,18,.55) 43%,rgba(8,29,18,.18) 100%)}
.hero-content{padding-top:110px;padding-bottom:105px}
.hero h1{max-width:980px}
.hero p{max-width:860px}
.stats{max-width:1180px;margin-left:auto;margin-right:auto}
.stat{border:1px solid #bcd7c1}
.stat b{font-size:34px}
.mapbox{border:2px solid #d8e7da}
.mapbox img{border-radius:20px}
.home-latest .rando-card{transition:transform .2s ease, box-shadow .2s ease}
.home-latest .rando-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(14,58,31,.16)}
.quick-card{position:relative;overflow:hidden}
.quick-card:after{content:"";position:absolute;right:-34px;bottom:-34px;width:118px;height:118px;border-radius:50%;background:rgba(15,92,47,.07)}
.detail-title-block{background:white;border:1px solid var(--line);border-radius:28px;padding:24px;box-shadow:var(--shadow);margin-top:-54px;position:relative;z-index:5}
.detail-title-block h1{color:var(--green-dark);font-size:clamp(32px,5vw,58px);line-height:1;margin:0 0 10px}
.detail-title-block p{margin:0;color:var(--muted)}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.detail-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.detail-kpi{background:#f7faf6;border:1px solid var(--line);border-radius:18px;padding:12px;text-align:center}
.detail-kpi b{display:block;color:var(--green-dark);font-size:20px}
.detail-kpi span{font-size:12px;color:var(--muted);font-weight:800}
.detail-section-title{display:flex;align-items:center;gap:10px;color:var(--green-dark);font-size:28px;margin:0 0 16px}
.detail-section-title:before{content:"";width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--green-dark),var(--green-mid));display:inline-block}
.panel h2{color:var(--green-dark)}
.info-gallery{grid-template-columns:repeat(3,1fr)}
.info-doc h3{font-size:20px}
.info-doc img{aspect-ratio:1.414/1;object-fit:cover;object-position:top}
.footer{min-height:148px}
.footer:before{width:380px;height:190px}
@media(max-width:900px){
  .hero{min-height:680px}
  .detail-kpis{grid-template-columns:repeat(2,1fr)}
  .info-gallery{grid-template-columns:1fr}
}

/* --- v0.7 bis : bandeaux verts retravaillés --- */
.page-hero{
  position:relative;
  background:linear-gradient(90deg,#063a20 0%, #0b5c2f 42%, #237c49 100%);
  color:white;
  padding:84px 20px 82px;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.06);
}
.page-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 22% 38%, rgba(46,160,93,.14), transparent 28%),
    radial-gradient(circle at 56% 62%, rgba(46,160,93,.10), transparent 26%),
    radial-gradient(circle at 80% 22%, rgba(255,255,255,.05), transparent 18%),
    linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.08) 35%, rgba(0,0,0,0) 68%);
  z-index:0;
}
.page-hero:after{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='1.4'%3E%3Cpath d='M820 35c70 5 120 40 165 24 55-20 108-10 175 18'/%3E%3Cpath d='M755 76c74 6 118 46 162 28 58-24 119-11 206 23'/%3E%3Cpath d='M700 120c78 12 114 54 164 34 67-28 136-10 240 38'/%3E%3Cpath d='M745 173c84-4 132 30 175 18 71-19 128-3 222 42'/%3E%3Cpath d='M810 220c88-12 130 16 173 8 64-12 117 2 198 38'/%3E%3Cpath d='M846 272c74-16 115 7 157 2 55-7 96 5 168 28'/%3E%3Cpath d='M878 324c54-11 93 1 129 1 45 0 79 8 141 25'/%3E%3Cpath d='M905 370c40-8 70-2 97-2 35 0 60 6 108 20'/%3E%3Cellipse cx='972' cy='132' rx='56' ry='42'/%3E%3Cellipse cx='1046' cy='266' rx='64' ry='50'/%3E%3Cellipse cx='1122' cy='155' rx='42' ry='58'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right center;
  background-size:54% 130%;
  opacity:.95;
  pointer-events:none;
  z-index:1;
}
.page-hero .inner{
  position:relative;
  max-width:1180px;
  margin:auto;
  z-index:2;
}
.page-hero .eyebrow{
  color:rgba(255,255,255,.92);
  font-size:12px;
  letter-spacing:.22em;
  margin-bottom:10px;
}
.page-hero h1{
  font-size:clamp(38px,5.4vw,72px);
  line-height:.96;
  margin:0 0 16px;
  letter-spacing:-.04em;
  max-width:980px;
}
.page-hero p{
  margin:0;
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.92);
  max-width:860px;
}
@media(max-width:900px){
  .page-hero{padding:64px 20px 58px;}
  .page-hero:after{background-size:92% 120%;opacity:.45;}
  .page-hero h1{font-size:clamp(34px,10vw,56px);}
  .page-hero p{font-size:16px;max-width:100%;}
}

@media(max-width:900px){.footer:before{right:10px;bottom:10px;width:180px;height:46px;opacity:.78}}


/* --- v0.9 updates : detail pages, infos utiles, footer clean --- */
.footer{min-height:140px}
.footer:before{content:"";position:absolute;right:26px;bottom:14px;width:250px;height:70px;background:url('site/decor/footer_mountain_clean.svg') no-repeat right bottom/contain;opacity:.95;pointer-events:none}
@media(max-width:900px){.footer:before{right:10px;bottom:10px;width:160px;height:45px;opacity:.82}}
.detail-summary{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 8px}
.metric-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#eef6f0;border:1px solid #d6eadb;color:#11482a;font-weight:700;font-size:14px}
.metric-chip .label{font-weight:600;color:#3a6a4b}
.detail-long{font-size:18px;line-height:1.7;color:#183224}
.practical-list{display:grid;gap:10px}
.practical-item{padding:10px 0;border-bottom:1px solid #e7eee9}
.practical-item:last-child{border-bottom:none}
.practical-item b{display:block;color:#0f4f2e;margin-bottom:3px}
.detail-hero-img{margin-bottom:22px}
.detail-title-block h1{margin-bottom:8px}
.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.info-text-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.info-text-card{background:#fff;border:1px solid #dce8df;border-radius:22px;padding:22px;box-shadow:0 12px 30px rgba(15,79,46,.06)}
.info-text-card h2{margin:0 0 4px;color:#0f4f2e;font-size:28px}
.info-text-card .sub{margin:0 0 18px;color:#567364;font-size:14px}
.info-text-card .download-row{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.info-text-card h3,.info-text-card h4{color:#0f4f2e;margin:18px 0 8px}
.info-text-card p{margin:8px 0;line-height:1.65;color:#1f3328}
.info-text-card ul{margin:8px 0 8px 18px;padding:0}
.info-text-card li{margin:6px 0;line-height:1.55}
.info-text-card table{width:100%;border-collapse:collapse;margin:10px 0 8px;font-size:14px}
.info-text-card th,.info-text-card td{border:1px solid #dfe7e1;padding:8px 10px;vertical-align:top}
.info-text-card th{background:#f1f7f2;color:#11482a;text-align:left}
.info-text-card .info-note{background:#f6fbf7;border:1px solid #dceee1;border-radius:14px;padding:12px 14px;margin-top:12px}
@media(max-width:900px){.info-text-grid{grid-template-columns:1fr}.metric-chip{font-size:13px;padding:9px 12px}.detail-long{font-size:17px}}


/* --- v1.0 refinements requested 2026-05-15 --- */
.info-hero-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;max-width:1050px}
.info-hero-links a{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:10px 14px;font-weight:800;font-size:13px;backdrop-filter:blur(6px)}
.info-hero-links a:hover{background:rgba(255,255,255,.22)}
.info-text-card{scroll-margin-top:130px}
.download-row.after{margin-top:18px;margin-bottom:0}
.commune-hero .inner p.commune-intro{max-width:900px;font-size:18px;line-height:1.55;color:rgba(255,255,255,.94);margin-top:12px}
.commune-hero .inner p.commune-meta{font-size:16px;color:rgba(255,255,255,.82);margin-top:12px}
.footer:before{right:28px!important;bottom:18px!important;width:245px!important;height:68px!important;background:url('site/decor/footer_mountain_clean.svg') no-repeat right bottom/contain!important;opacity:.88!important}
@media(max-width:900px){.info-hero-links a{font-size:12px;padding:9px 11px}.commune-hero .inner p.commune-intro{font-size:16px}.footer:before{width:160px!important;height:45px!important;right:10px!important;bottom:10px!important}}

/* --- v1.1 site refinements 2026-05-16 --- */
.topbar:after{right:18px;top:8px;width:260px;height:92px;background:url('site/decor/header_graphic.png') no-repeat right center/contain;opacity:1}
.nav{max-width:1280px;justify-content:flex-start;gap:34px;padding:12px 230px 12px 18px;min-height:122px}
.brand{gap:14px;flex:0 0 auto}
.brand img{height:86px;width:auto;object-fit:contain}
.brand span{font-size:24px}
.navlinks{margin-left:18px;gap:30px;justify-content:flex-start;flex:1;font-size:15px}
.navlinks a{padding:10px 0}

.commune-hero:after{display:none !important}
.commune-hero .inner{max-width:1280px;padding:82px 26px 76px}
.commune-hero .inner p.commune-intro{max-width:1120px;font-size:17px;line-height:1.48}
.commune-hero .inner p.commune-meta{font-size:18px;color:rgba(255,255,255,.92);font-weight:700;margin-top:18px}

.commune-map-section{padding-top:30px;padding-bottom:10px}
.commune-map-card{background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);padding:18px;overflow:hidden}
.commune-map-card h2{margin:0 0 14px;color:var(--green-dark);font-size:30px;letter-spacing:-.03em}
.commune-map-card p{margin:0 0 18px;color:var(--muted)}
.commune-map-image{width:100%;height:auto;border-radius:18px;border:1px solid #e6ece7;background:white}

.detail-gallery img{height:310px}
.map-profile > *{position:relative}
.map-figure,.profile-figure{position:relative}
.map-figure img,.profile-figure img{width:100%;height:auto;border-radius:18px;border:1px solid var(--line);background:white}
.zoomable-map{cursor:zoom-in}
.map-zoom-hint{position:absolute;right:16px;bottom:14px;background:rgba(15,92,47,.88);color:#fff;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800;pointer-events:none}
.media-placeholder{min-height:220px;border-radius:18px;border:1px dashed #b9cbbb;background:#f7faf6;color:#587161;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:18px}
.media-placeholder strong{display:block;color:var(--green-dark);font-size:18px;margin-bottom:6px}
.map-modal{position:fixed;inset:0;background:rgba(8,16,12,.88);display:flex;align-items:center;justify-content:center;padding:28px;z-index:1200}
.map-modal[hidden]{display:none !important}
.map-modal-inner{position:relative;max-width:min(1500px,96vw);max-height:92vh}
.map-modal img{max-width:100%;max-height:92vh;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.35);background:#fff}
.map-modal-close{position:absolute;top:-10px;right:-10px;width:42px;height:42px;border:none;border-radius:50%;background:#fff;color:#14331f;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.map-modal-caption{color:#fff;text-align:center;margin-top:12px;font-weight:700}

@media(max-width:900px){
  .nav{padding:10px 20px;min-height:auto;gap:18px}
  .brand img{height:68px}
  .brand span{font-size:21px}
  .navlinks{margin-left:0;gap:16px;font-size:14px;justify-content:flex-start}
  .topbar:after{display:none}
  .commune-hero .inner{padding:64px 20px 54px}
  .commune-map-section{padding-top:16px}
  .detail-gallery img{height:220px}
  .map-modal{padding:14px}
  .map-modal-close{top:8px;right:8px}
}

/* --- v1.2 corrections 2026-05-16 --- */
/* Header: logo & mountain/hiker around 70% of header height, tabs closer to logo */
.topbar:after{width:270px!important;height:88px!important;right:22px!important;top:17px!important;background-size:contain!important}
.nav{min-height:126px!important;max-width:1320px!important;justify-content:flex-start!important;gap:28px!important;padding:14px 250px 14px 22px!important}
.brand img{height:88px!important;width:auto!important;object-fit:contain!important}
.navlinks{margin-left:22px!important;justify-content:flex-start!important;gap:28px!important;flex:0 1 auto!important}
/* Commune banner and map sizing */
.commune-hero:after{display:none!important}
.commune-hero .inner{max-width:1320px!important;padding:78px 28px!important}
.commune-hero .inner p.commune-intro{max-width:1180px!important;font-size:17px!important;line-height:1.48!important}
.commune-hero .inner p.commune-meta{font-size:18px!important;color:rgba(255,255,255,.95)!important;font-weight:800!important;margin-top:16px!important}
.commune-map-section{padding-top:22px!important;padding-bottom:0!important}
.commune-map-card{max-width:860px!important;margin:0 auto!important;padding:14px!important;border-radius:22px!important}
.commune-map-card h2{font-size:24px!important;margin-bottom:10px!important}
.commune-map-image{max-height:520px!important;width:100%!important;object-fit:contain!important;border-radius:14px!important}
@media(max-width:900px){.topbar:after{display:none!important}.nav{padding:10px 20px!important;min-height:auto!important}.brand img{height:68px!important}.navlinks{margin-left:0!important;gap:14px!important}.commune-map-card{max-width:100%!important}.commune-map-image{max-height:none!important}}


/* --- Version 6.8 corrections 2026-05-16 --- */
/* Page principale / bandeau blanc : logo La Petite Bambée agrandi, environ 70% de la hauteur du bandeau. */
.nav{min-height:140px!important;padding:18px 255px 18px 24px!important}
.brand img{height:98px!important;width:auto!important;object-fit:contain!important}
.topbar:after{height:98px!important;top:21px!important}
/* Cartes communes : affichage des nouvelles cartes retravaillées. */
.commune-map-card{max-width:920px!important}
.commune-map-image{max-height:560px!important;object-fit:contain!important}
@media(max-width:900px){.nav{min-height:auto!important;padding:10px 20px!important}.brand img{height:68px!important}.topbar:after{display:none!important}.commune-map-card{max-width:100%!important}.commune-map-image{max-height:none!important}}


/* --- v1.4 / version 6.9 refinements --- */
/* Bandeau supérieur : logo La Petite Bambée à ~70% de la hauteur du bandeau blanc */
.topbar .nav{min-height:128px;}
.topbar .brand img{height:90px !important;width:auto;object-fit:contain;}
.topbar .brand{min-width:260px;}
.topbar .navlinks{margin-left:10px;}
@media(max-width:900px){.topbar .nav{min-height:auto;}.topbar .brand img{height:72px !important;}}

/* Cartes randonnée : commune / difficulté / intérêt sous photo, sans massif */
.rando-card .pills{margin:0 0 12px 0;}
.rando-card .pill.interest{background:#fff7df;border:1px solid #f1dfaf;color:#7b5a06;}
.rando-card .card-body > .muted.small{display:none !important;}


/* --- v6.10 updates : À propos, header, accueil text --- */
.topbar:after{
  background:url('site/decor/header_graphic_transparent.png') no-repeat right center/contain !important;
  width:300px !important;
  height:112px !important;
  top:22px !important;
  right:24px !important;
  opacity:1 !important;
}
.topbar .nav{
  min-height:160px !important;
  padding:22px 300px 22px 34px !important;
  max-width:1440px !important;
  gap:42px !important;
}
.topbar .brand img{
  height:112px !important;
  width:auto !important;
  object-fit:contain !important;
}
.topbar .navlinks{
  margin-left:56px !important;
  justify-content:flex-start !important;
  gap:34px !important;
  font-size:16px !important;
}
.accueil-territory-text{
  margin-top:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px 32px;
  box-shadow:var(--shadow);
}
.accueil-territory-text h2{
  color:var(--green-dark);
  font-size:34px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.03em;
}
.accueil-territory-text p{
  color:#1e3227;
  font-size:17px;
  line-height:1.72;
  margin:0;
}
.about-hero{
  background:linear-gradient(90deg,#063a20,#197240);
  color:#fff;
  padding:76px 20px;
}
.about-hero .inner{max-width:1180px;margin:auto;}
.about-hero .eyebrow{letter-spacing:.22em;text-transform:uppercase;font-weight:900;color:rgba(255,255,255,.82);font-size:13px;margin-bottom:12px;}
.about-hero h1{font-size:clamp(44px,6vw,82px);line-height:.95;margin:0 0 16px;letter-spacing:-.05em;}
.about-hero p{max-width:820px;font-size:19px;line-height:1.55;color:rgba(255,255,255,.9);margin:0;}
.about-layout{display:grid;grid-template-columns:.92fr 1.08fr;gap:28px;align-items:start;}
.about-photo-card{background:white;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:16px;overflow:hidden;}
.about-photo-card img{width:100%;height:auto;border-radius:20px;display:block;}
.about-photo-card figcaption{font-size:13px;color:var(--muted);line-height:1.45;margin-top:12px;padding:0 4px 4px;}
.about-text-card{background:white;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:30px 34px;}
.about-text-card h2{margin:0 0 16px;color:var(--green-dark);font-size:34px;line-height:1.05;letter-spacing:-.03em;}
.about-text-card p{font-size:17px;line-height:1.72;color:#1e3227;margin:0 0 16px;}
@media(max-width:1100px){.topbar .navlinks{gap:22px;margin-left:20px!important;font-size:15px!important}.topbar .nav{padding-right:270px!important}.topbar:after{width:250px!important}}
@media(max-width:900px){
  .topbar:after{display:none!important}
  .topbar .nav{min-height:auto!important;padding:10px 20px!important;gap:18px!important}
  .topbar .brand img{height:78px!important}
  .topbar .navlinks{margin-left:0!important;gap:14px!important;font-size:14px!important}
  .about-layout{grid-template-columns:1fr}
  .accueil-territory-text{padding:22px}
}


/* --- Version 6.11 : bandeau supérieur et accueil --- */
.topbar{
  background:#fff !important;
}
.topbar:after{
  content:"" !important;
  position:absolute !important;
  right:34px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:210px !important;
  height:112px !important;
  background:url('site/decor/header_graphic_transparent.png') no-repeat right center/contain !important;
  opacity:1 !important;
  pointer-events:none !important;
}
.topbar .nav,
.nav{
  max-width:1920px !important;
  min-height:132px !important;
  padding:14px 290px 14px 56px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:42px !important;
  flex-wrap:nowrap !important;
}
.topbar .brand,
.brand{
  flex:0 0 auto !important;
  min-width:340px !important;
  display:flex !important;
  align-items:center !important;
}
.topbar .brand img,
.brand img{
  height:92px !important;
  max-height:92px !important;
  width:auto !important;
  object-fit:contain !important;
}
.topbar .brand span,
.brand span{
  display:none !important;
}
.topbar .navlinks,
.navlinks{
  flex:0 1 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:28px !important;
  margin-left:0 !important;
  font-size:17px !important;
  white-space:nowrap !important;
}
.topbar .navlinks a,
.navlinks a{
  white-space:nowrap !important;
  padding:10px 4px !important;
}
.accueil-territory-text{
  margin-top:-12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:30px 34px;
}
.accueil-territory-text h2{
  margin:0 0 12px;
  color:var(--green-dark);
  font-size:34px;
  letter-spacing:-.03em;
}
.accueil-territory-text p{
  margin:0;
  color:#264536;
  font-size:17px;
  line-height:1.7;
}
@media(max-width:1300px){
  .topbar .nav,.nav{padding-right:240px !important;gap:28px !important;}
  .topbar .brand,.brand{min-width:300px !important;}
  .topbar .brand img,.brand img{height:84px !important;max-height:84px !important;}
  .topbar .navlinks,.navlinks{gap:18px !important;font-size:15px !important;}
  .topbar:after{width:180px !important;height:96px !important;right:24px !important;}
}
@media(max-width:900px){
  .topbar:after{display:none !important;}
  .topbar .nav,.nav{min-height:auto !important;padding:10px 20px !important;gap:18px !important;flex-wrap:wrap !important;}
  .topbar .brand,.brand{min-width:auto !important;}
  .topbar .brand img,.brand img{height:72px !important;max-height:72px !important;}
  .topbar .navlinks,.navlinks{flex-wrap:wrap !important;gap:12px !important;font-size:14px !important;}
  .navlinks a:nth-child(n+4){display:inline-flex !important;}
  .accueil-territory-text{padding:22px 20px;}
  .accueil-territory-text h2{font-size:28px;}
  .accueil-territory-text p{font-size:16px;}
}


/* --- Version 6.12 : bandeau supérieur + informations utiles --- */
.topbar{background:#fff!important;overflow:hidden!important;}
.topbar:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  right:34px!important;
  top:26px!important;
  width:210px!important;
  height:105px!important;
  background:url('site/decor/enrandonnee_logo_randonneur-montagne.png') no-repeat right center/contain!important;
  pointer-events:none!important;
  opacity:1!important;
  z-index:0!important;
}
.topbar .nav,.nav{
  max-width:1640px!important;
  min-height:152px!important;
  padding:18px 270px 18px 42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:28px!important;
  flex-wrap:nowrap!important;
  position:relative!important;
  z-index:2!important;
}
.topbar .brand,.brand{min-width:330px!important;flex:0 0 330px!important;display:flex!important;align-items:center!important;}
.topbar .brand img,.brand img{height:112px!important;max-height:112px!important;width:auto!important;object-fit:contain!important;}
.topbar .brand span,.brand span{display:none!important;}
.topbar .navlinks,.navlinks{
  flex:0 1 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:30px!important;
  margin-left:4px!important;
  font-size:16px!important;
  white-space:nowrap!important;
}
.topbar .navlinks a,.navlinks a{white-space:nowrap!important;padding:9px 0!important;}
.info-hero-links{max-width:1180px!important;gap:10px 12px!important;}
.info-text-card h2{font-size:27px!important;line-height:1.12!important;}
@media(max-width:1280px){
  .topbar .nav,.nav{padding-right:225px!important;gap:20px!important;}
  .topbar .brand,.brand{min-width:280px!important;flex-basis:280px!important;}
  .topbar .brand img,.brand img{height:96px!important;max-height:96px!important;}
  .topbar .navlinks,.navlinks{gap:20px!important;font-size:15px!important;}
  .topbar:after{width:178px!important;height:92px!important;right:24px!important;top:28px!important;}
}
@media(max-width:960px){
  .topbar:after{display:none!important;}
  .topbar .nav,.nav{min-height:auto!important;padding:10px 20px!important;gap:16px!important;flex-wrap:wrap!important;}
  .topbar .brand,.brand{min-width:auto!important;flex:0 0 auto!important;}
  .topbar .brand img,.brand img{height:76px!important;max-height:76px!important;}
  .topbar .navlinks,.navlinks{flex-wrap:wrap!important;margin-left:0!important;gap:14px!important;font-size:14px!important;}
}


/* --- v6.13 header + Pays du Mont-Blanc page --- */
.topbar{min-height:112px}
.topbar:after{
  content:"";
  position:absolute;
  right:34px;
  top:50%;
  transform:translateY(-50%);
  width:220px;
  height:82px;
  background:url('site/decor/header_graphic.png') no-repeat center center/contain;
  pointer-events:none;
  opacity:.98;
}
.nav{
  max-width:none;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:38px;
  padding:12px 280px 12px 48px;
  min-height:112px;
}
.brand{flex:0 0 auto;min-width:250px;}
.brand img{height:88px;width:auto;object-fit:contain;}
.brand span{display:none;}
.navlinks{
  margin-left:40px;
  display:flex;
  flex:1 1 auto;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:30px;
  color:#355541;
  font-weight:850;
  font-size:15.5px;
  white-space:nowrap;
}
.navlinks a{white-space:nowrap;padding:8px 0;}
.page-hero .inner{max-width:1280px;}
.info-hero-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;max-width:1220px;}
.info-hero-links a{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:10px 14px;font-weight:800;font-size:13px;backdrop-filter:blur(6px)}
.info-hero-links a:hover{background:rgba(255,255,255,.22)}
.info-text-card,.pmb-card{scroll-margin-top:130px;}
.pmb-grid{display:grid;grid-template-columns:1fr;gap:26px;}
.pmb-card{background:#fff;border:1px solid #dce8df;border-radius:24px;box-shadow:0 12px 30px rgba(15,79,46,.06);padding:28px;}
.pmb-card h2{margin:0 0 8px;color:#0f4f2e;font-size:30px;line-height:1.12;}
.pmb-card .sub{margin:0 0 18px;color:#567364;font-weight:700;}
.pmb-card h3{margin:24px 0 8px;color:#0f4f2e;font-size:22px;}
.pmb-card h4{margin:18px 0 6px;color:#174e2e;font-size:18px;}
.pmb-card p{margin:10px 0;line-height:1.7;}
.pmb-card ul{margin:10px 0 10px 20px;padding:0;}
.pmb-card li{margin:6px 0;}
.download-row.after{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;margin-bottom:0;}
.pmb-intro{background:#f6fbf7;border:1px solid #dceee1;border-radius:22px;padding:24px;margin-bottom:26px;font-size:17px;line-height:1.75;}
@media(max-width:1220px){
  .nav{padding-right:230px;gap:22px;}
  .brand{min-width:210px}.brand img{height:78px}.navlinks{gap:20px;font-size:14px;margin-left:18px}.topbar:after{right:22px;width:190px;height:76px}
}
@media(max-width:980px){
  .topbar:after{display:none;}
  .nav{padding:10px 18px;min-height:auto;flex-wrap:wrap;}
  .brand{min-width:auto}.brand img{height:72px;}
  .navlinks{margin-left:0;flex-wrap:wrap;gap:16px;font-size:14px;}
}


/* --- v1.9 / version 6.14 final header + pmb bold --- */
.topbar{
  background:#fff!important;
  min-height:116px!important;
  height:116px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  border-bottom:1px solid #e7eee8!important;
}
.topbar:after{
  content:""!important;
  position:absolute!important;
  right:34px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:132px!important;
  height:76px!important;
  background:url('site/decor/header_graphic.png') no-repeat right center/contain!important;
  opacity:.98!important;
  pointer-events:none!important;
}
.topbar .nav,.nav{
  width:100%!important;
  max-width:none!important;
  min-height:116px!important;
  height:116px!important;
  margin:0!important;
  padding:0 190px 0 34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:20px!important;
  flex-wrap:nowrap!important;
}
.topbar .brand,.brand{
  flex:0 0 184px!important;
  min-width:184px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0!important;
}
.topbar .brand img,.brand img{
  height:82px!important;
  max-height:82px!important;
  width:auto!important;
  object-fit:contain!important;
}
.topbar .brand span,.brand span{display:none!important;}
.topbar .navlinks,.navlinks{
  display:flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:24px!important;
  margin-left:14px!important;
  font-size:14px!important;
  font-weight:900!important;
  color:#355541!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
.topbar .navlinks a,.navlinks a{
  display:inline-flex!important;
  align-items:center!important;
  white-space:nowrap!important;
  padding:7px 0!important;
  border-radius:0!important;
}
.topbar .navlinks a:hover,.navlinks a:hover{background:transparent!important;color:#0f6b37!important;}
.pmb-card p strong{font-weight:900;color:#0b3f24;}
.pmb-card p.pmb-title-line strong{font-size:1.03em;}
@media(max-width:1200px){
  .topbar .nav,.nav{padding-right:154px!important;padding-left:26px!important;gap:14px!important;}
  .topbar .brand,.brand{flex-basis:165px!important;min-width:165px!important;}
  .topbar .brand img,.brand img{height:74px!important;max-height:74px!important;}
  .topbar .navlinks,.navlinks{gap:17px!important;font-size:13px!important;margin-left:6px!important;}
  .topbar:after{right:22px!important;width:116px!important;height:68px!important;}
}
@media(max-width:900px){
  .topbar{height:auto!important;min-height:auto!important;}
  .topbar:after{display:none!important;}
  .topbar .nav,.nav{height:auto!important;min-height:auto!important;padding:10px 18px!important;flex-wrap:wrap!important;}
  .topbar .brand,.brand{flex:0 0 auto!important;min-width:auto!important;}
  .topbar .brand img,.brand img{height:72px!important;max-height:72px!important;}
  .topbar .navlinks,.navlinks{flex-wrap:wrap!important;gap:14px!important;font-size:14px!important;margin-left:0!important;}
}


/* --- v2.0 back to top + v6.15 --- */
.back-to-top{
  position:fixed;right:24px;bottom:24px;z-index:999;
  width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.45);
  background:#0f5c2f;color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:24px;font-weight:900;box-shadow:0 12px 28px rgba(0,0,0,.22);
  opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s ease;cursor:pointer;
}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{background:#0b4724;transform:translateY(-2px)}
.pmb-card .pmb-title-line strong,.pmb-card .bold-title{font-weight:950;color:#0b3f24;}
.pmb-card .pmb-title-line{margin-top:16px;}
.pmb-card .download-row.after a{margin-right:8px;}
@media(max-width:700px){.back-to-top{right:16px;bottom:16px;width:42px;height:42px;font-size:22px}}

/* --- v2.1 pays du mont-blanc excel text refresh --- */
.pmb-card .sub{font-size:15px;line-height:1.55;}
.pmb-card .pmb-title-line{margin-top:18px;margin-bottom:5px;}
.pmb-card .pmb-title-line strong{font-size:1.05em;font-weight:950;color:#0b3f24;}
.pmb-card .pmb-subtitle{margin:3px 0 8px;color:#496958;font-weight:800;font-style:italic;}
.pmb-card .pmb-section-heading{margin-top:28px;border-top:1px solid #e5eee7;padding-top:18px;}
.pmb-card .download-row.after{gap:10px;display:flex;flex-wrap:wrap;margin-top:22px;}
.pmb-card .btn.primary{margin-right:0;}
.pmb-card table{width:100%;border-collapse:collapse;margin:14px 0 16px;font-size:14px;}
.pmb-card th,.pmb-card td{border:1px solid #dfe7e1;padding:8px 10px;vertical-align:top;}
.pmb-card th{background:#f1f7f2;color:#11482a;text-align:left;}


/* --- v2.2 version 6.16 contact legal zoom warning --- */
.mapbox,.commune-map-card{position:relative;}
.mapbox .map-zoom-hint,.commune-map-card .map-zoom-hint{position:absolute;right:24px;bottom:24px;background:rgba(15,92,47,.9);color:#fff;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;pointer-events:none;box-shadow:0 10px 24px rgba(0,0,0,.14)}
.site-warning{background:#fff8e8;border-top:1px solid #f1dfae;border-bottom:1px solid #f1dfae;margin-top:28px;}
.site-warning .wrap{padding-top:18px;padding-bottom:18px;}
.site-warning strong{display:block;color:#7a4a00;font-size:18px;margin-bottom:6px;}
.site-warning p{margin:0;color:#4a3a18;line-height:1.55;max-width:1120px;}
.site-warning a{font-weight:800;color:#0f5c2f;text-decoration:underline;}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:24px;align-items:start;}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:var(--shadow);}
.contact-card.soft{background:#f6fbf7;}
.contact-form{display:grid;gap:14px;margin-top:18px;}
.contact-form label{display:grid;gap:7px;font-weight:800;color:#17482b;}
.contact-form input,.contact-form textarea{width:100%;border:1px solid #d9e6dc;border-radius:14px;padding:12px 14px;font:inherit;color:#173322;background:#fff;}
.contact-form textarea{resize:vertical;}
.note-small{font-size:14px;color:#56685c;line-height:1.55;}
.legal-page{display:grid;gap:18px;}
.legal-page .info-text-card{max-width:1100px;}
.footer-nav{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr}.mapbox .map-zoom-hint,.commune-map-card .map-zoom-hint{right:14px;bottom:14px;font-size:11px}.site-warning .wrap{padding-top:14px;padding-bottom:14px}}

/* --- Version 6.18 : filtres avancés + contact proposition randonnée --- */
.search-panel{grid-template-columns:1.35fr repeat(6,minmax(150px,1fr));align-items:center}
.search-panel select,.search-panel input{min-height:46px}
.contact-form select{width:100%;border:1px solid #d9e6dc;border-radius:14px;padding:12px 14px;font:inherit;color:#173322;background:#fff;}
.contact-form fieldset{border:1px solid #d9e6dc;border-radius:18px;padding:16px;margin:6px 0 0;background:#f7fbf8;display:grid;gap:12px;}
.contact-form fieldset[hidden]{display:none!important}
.contact-form legend{font-weight:900;color:#0f5c2f;padding:0 8px;}
.contact-form input[type="file"]{padding:10px;background:#fff;}
@media(max-width:1200px){.search-panel{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:760px){.search-panel{grid-template-columns:1fr}}


/* --- Version 6.18b / 6.19 : recherche, news, menu long --- */
.search-panel{
  display:grid!important;
  grid-template-columns:minmax(220px,1.35fr) repeat(6,minmax(128px,.8fr))!important;
  gap:12px!important;
  align-items:center!important;
  overflow:visible!important;
  max-width:100%!important;
}
.search-panel input,.search-panel select{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
@media(max-width:1280px){
  .search-panel{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .search-panel input{grid-column:1/-1;}
}
@media(max-width:760px){.search-panel{grid-template-columns:1fr!important;}.search-panel input{grid-column:auto;}}
.topbar .nav,.nav{padding-right:205px!important;}
.topbar:after{width:170px!important;height:88px!important;top:50%!important;transform:translateY(-50%)!important;right:24px!important;background-image:url('site/decor/header_graphic.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
.topbar .brand,.brand{flex-basis:170px!important;min-width:170px!important;}
.topbar .brand img,.brand img{height:82px!important;max-height:82px!important;}
.topbar .navlinks,.navlinks{gap:18px!important;font-size:14px!important;margin-left:8px!important;}
.news-list{display:grid;gap:20px;margin-top:20px;}
.news-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:var(--shadow);}
.news-card .date{font-weight:900;color:#0f5c2f;margin-bottom:8px;}
.news-card h2{margin:0 0 10px;color:#0b3f24;font-size:30px;line-height:1.12;}
.news-card .news-meta{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px;}
.news-card .news-body p{line-height:1.7;color:#1f3328;margin:12px 0;}
.news-note{background:#f6fbf7;border:1px solid #dceee1;border-radius:18px;padding:16px;margin-top:16px;}
.news-sources{margin-top:18px;font-size:14px;color:#4f6659;}
.news-sources a{font-weight:800;color:#0f5c2f;text-decoration:underline;}
@media(max-width:1180px){
  .topbar .nav,.nav{padding-right:20px!important;}
  .topbar:after{display:none!important;}
  .topbar .navlinks,.navlinks{flex-wrap:wrap!important;gap:14px!important;}
}

/* --- v6.20 final warning/detail refinements --- */
.detail-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.practical-item b{color:var(--green-dark)}
.info-text-card#avertissement-precautions{border-color:#e1b66d;background:linear-gradient(180deg,#fff,#fffaf1)}
.info-text-card#avertissement-precautions h2{color:#0b4724}

/* --- Version 6.24 : boutons news et téléchargement GPX --- */
.news-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 8px;}
.news-actions .btn{display:inline-flex;align-items:center;justify-content:center;}
.news-image-note{font-size:14px;color:#4f6659;background:#f6fbf7;border:1px solid #dceee1;border-radius:14px;padding:10px 12px;margin:10px 0 16px;}


/* --- Version 6.25 / diffusion : logo La Petite Bambée agrandi dans le bandeau blanc --- */
.topbar .brand,.brand{
  flex-basis:250px!important;
  min-width:250px!important;
}
.topbar .brand img,.brand img{
  height:96px!important;
  max-height:96px!important;
  width:auto!important;
  object-fit:contain!important;
}
.topbar .nav,.nav{
  min-height:116px!important;
  height:116px!important;
}
@media(max-width:1180px){
  .topbar .brand,.brand{flex-basis:220px!important;min-width:220px!important;}
  .topbar .brand img,.brand img{height:88px!important;max-height:88px!important;}
}
@media(max-width:900px){
  .topbar .brand,.brand{flex:0 0 auto!important;min-width:auto!important;}
  .topbar .brand img,.brand img{height:78px!important;max-height:78px!important;}
  .topbar .nav,.nav{height:auto!important;min-height:auto!important;}
}



/* --- v6.11 mobile : menu burger uniquement téléphone/tablette --- */
.nav-toggle{
  display:none!important;
  appearance:none;
  border:1px solid #d7e6da;
  background:#fff;
  color:#0b4724;
  border-radius:14px;
  width:46px;
  height:42px;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(14,58,31,.08);
}
@media(max-width:900px){
  .topbar .nav,.nav{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    align-items:center!important;
    padding:8px 16px!important;
    gap:10px!important;
  }
  .nav-toggle{display:flex!important;}
  .topbar .brand,.brand{min-width:0!important;max-width:calc(100vw - 90px)!important;}
  .topbar .brand img,.brand img{height:72px!important;max-height:72px!important;}
  .topbar .navlinks,.navlinks{
    grid-column:1/-1!important;
    width:100%!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    margin:4px 0 8px!important;
    padding:8px!important;
    border:1px solid #dceee1!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 16px 34px rgba(14,58,31,.10)!important;
  }
  .topbar.menu-open .navlinks,.topbar .navlinks.open,.navlinks.open{display:flex!important;}
  .topbar .navlinks a,.navlinks a{
    display:block!important;
    padding:12px 14px!important;
    border-radius:12px!important;
    font-size:16px!important;
    border-bottom:1px solid #edf5ef!important;
  }
  .topbar .navlinks a:last-child,.navlinks a:last-child{border-bottom:0!important;}
  .topbar .navlinks a:hover,.navlinks a:hover{background:#eef7ef!important;color:#0b4724!important;}
}



/* Affichage Randonnées : étiquettes / liste */
.view-switch{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
  margin:1rem 0 1.2rem;
}
.view-switch-label{
  font-weight:800;
  color:#0b4d2a;
}
.view-btn{
  border:1px solid #cfe3d4;
  background:#fff;
  color:#0b4d2a;
  border-radius:999px;
  padding:.55rem .95rem;
  font-weight:800;
  cursor:pointer;
}
.view-btn.active{
  background:#0b6b35;
  color:#fff;
  border-color:#0b6b35;
}
.result-count{
  margin-left:auto;
  font-weight:800;
  color:#315b42;
}
.rando-table-wrap{
  overflow-x:auto;
  background:#fff;
  border:1px solid #d6e7da;
  border-radius:22px;
  box-shadow:0 16px 36px rgba(0,0,0,.05);
}
.rando-table{
  width:100%;
  border-collapse:collapse;
  min-width:920px;
}
.rando-table th,
.rando-table td{
  padding:.85rem .9rem;
  border-bottom:1px solid #edf5ef;
  text-align:left;
  vertical-align:top;
}
.rando-table th{
  background:#f3faf5;
  color:#0b4d2a;
  font-weight:900;
  position:sticky;
  top:0;
}
.rando-table tr:hover{
  background:#fbf7eb;
}
.rando-table .td-title a{
  color:#0b4d2a;
  font-weight:900;
  text-decoration:none;
}
@media (max-width: 760px){
  .result-count{
    width:100%;
    margin-left:0;
  }
  .view-switch{
    margin-top:.8rem;
  }
}


/* v6.13 — correctif affichage Randonnées */
.grid[hidden], .rando-table-wrap[hidden]{display:none!important;}
.rando-table tbody tr[style*="display: none"]{display:none!important;}

/* v6.13 — proposition page Itinérance */
.itin-proposal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0 34px;}
.itin-card-proposal{background:#fff;border:1px solid #d6e7da;border-radius:28px;overflow:hidden;box-shadow:0 18px 40px rgba(16,59,38,.08);}
.itin-card-proposal .itin-photo-strip{display:grid;grid-template-columns:2fr 1fr 1fr;height:210px;background:#edf5ef;}
.itin-card-proposal .photo-main,.itin-card-proposal .photo-slot{display:flex;align-items:center;justify-content:center;color:#42664e;font-weight:900;border-right:1px solid rgba(255,255,255,.8);background:linear-gradient(135deg,#e9f4ec,#f8fbf7);}
.itin-card-proposal .photo-main{font-size:20px;}
.itin-card-proposal .itin-body{padding:22px;}
.itin-card-proposal h3{margin:0 0 8px;color:#0b4d2a;font-size:25px;}
.itin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0;}
.itin-stats span{background:#f5faf6;border-radius:16px;padding:10px;text-align:center;color:#123b27;}
.itin-stats b{display:block;color:#0b4d2a;font-size:18px;}
.itin-detail{border-top:1px solid #edf5ef;margin-top:14px;padding-top:14px;}
.itin-detail summary{cursor:pointer;font-weight:900;color:#0b4d2a;}
.itin-accompagnement{background:#0b4d2a;color:#fff;border-radius:30px;padding:30px;margin:32px 0;display:grid;grid-template-columns:2fr 1fr;gap:22px;align-items:center;}
.itin-accompagnement h2,.itin-accompagnement p{color:#fff;}
.itin-accompagnement .btn{background:#fff;color:#0b4d2a;justify-self:end;}
.itin-method{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;}
.itin-method article{background:#fff;border:1px solid #d6e7da;border-radius:22px;padding:18px;}
@media(max-width:900px){.itin-proposal-grid,.itin-accompagnement,.itin-method{grid-template-columns:1fr}.itin-accompagnement .btn{justify-self:start}.itin-card-proposal .itin-photo-strip{height:170px}.itin-stats{grid-template-columns:repeat(2,1fr)}}
/* Correctif v6.17 — affichage des métriques randonnées */
.rando-card .meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 0;}
.rando-card .meta div{background:#f7faf6;border-radius:14px;padding:12px 10px;text-align:center;}
.rando-card .meta b{display:block;color:var(--green-dark);font-size:18px;line-height:1.15;}
.rando-card .meta span{display:block;color:#1f3328;font-size:13px;line-height:1.25;margin-top:4px;}
.rando-card .metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 0;}
.rando-card .metrics span{background:#f7faf6;border-radius:14px;padding:12px 10px;text-align:center;}
@media(max-width:700px){.rando-card .meta,.rando-card .metrics{grid-template-columns:repeat(3,1fr);gap:8px}.rando-card .meta b{font-size:16px}.rando-card .meta span{font-size:12px}}
