/*
Theme Name: Loisirs nature Paulhac
Version: 1.2.2
Requires PHP: 7.4
*/
:root{--ds-page:#fbfaf8;--ds-ink:#222;--ds-ink-2:#555;--ds-hairline:#ddd8d0}*{box-sizing:border-box}body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#222} .site{max-width:1100px;margin:auto;padding:20px}section{margin:28px 0}h2{font-size:26px;line-height:1.2}h3{font-size:21px}.file-button{display:inline-block;padding:10px 18px;border-radius:999px;text-decoration:none;font:inherit;cursor:pointer;background:#b0692f;color:white;border:0;font-weight:700}.site-foot{background:#1f4d36;color:white;padding:24px;border-radius:16px;margin-top:32px;font-size:14px}.site-foot a{color:#f6dfc5}.site-foot .ico{color:#1f4d36}.lnp-viewer img{height:auto}@media(max-width:600px){.site{padding:12px}.tiles{grid-template-columns:1fr}.site-head h1{font-size:20px}}
html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }
.file-nav { display: flex; flex-wrap: wrap; gap: 20px; border-bottom: 1px solid var(--ds-hairline); }
.file-nav a { padding: 10px 0; color: var(--ds-ink-2); text-decoration: none; }
.file-nav a[aria-current="page"] { color: var(--ds-ink); box-shadow: inset 0 -1px 0 var(--ds-ink); }
@media (max-width: 600px) { .file-nav a { display: inline-flex; align-items: center; min-height: 44px; } }
.site-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.site-head h1 { margin: 0; font-size: 22px; line-height: 1.15; }
.site-head span { color: var(--ds-ink-2); font-size: 14px; }
.logo-slot { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--ds-hairline); display: grid; place-items: center; font-size: 10px; color: var(--ds-ink-2); }
.hero { background-size: cover; background-position: center; color: #fff; border-radius: 16px; padding: 120px 20px 24px; margin: 16px 0; }
.hero h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; color: #fff; }
.hero p { margin: 0 0 16px; max-width: 460px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.tile img, .tl, .wide { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; }
.tile span { color: var(--ds-ink-2); font-size: 14px; }
.need { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.need div { border: 1px solid var(--ds-hairline); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.need span { color: var(--ds-ink-2); font-size: 14px; }
.wide { margin: 8px 0; }
.tl { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; } .tiles { margin-bottom: 12px; } .wide { height: auto; aspect-ratio: auto; }
.wide { max-height: 440px; object-fit: cover; object-position: 50% 60%; width: 100%; border-radius: 12px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 24px; }
.plan { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid #ddd8d0; border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.plan img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: top; border-radius: 8px; }
.plan b { font-size: 15px; } .plan span { font-size: 14px; opacity: .7; }
.plan em { font-style: normal; font-size: 14px; color: #1c6b2c; font-weight: 600; margin-top: 4px; }

.viewer{position:fixed;inset:0;z-index:50;background:#fff;overflow:auto;padding:12px;text-align:center}
.viewer img{display:block;max-width:100%;margin:0 auto 12px;border-radius:8px}
.viewer-bar{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;margin-bottom:8px}
.viewer-bar button{border:0;border-radius:999px;background:#1c6b2f;color:#fff;font:inherit;padding:8px 18px;cursor:pointer}

:root { --g: #1f4d36; --g2: #e3eee6; --br: #7a4a21; --am: #b0692f; --cr: #f6ecdc; }
.site-head { background: var(--g); color: #fff; border-radius: 16px; padding: 14px 16px; margin: 0 0 12px; gap: 16px; }
.site-head h1 { color: #fff; font-size: 24px; }
.site-head span { color: #d7e8dc; } .site-head h1 { font-size: 26px; }
.logo { flex: none; width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid var(--am); background: #f3ece0; }
.file-nav { gap: 8px; border: 0; padding: 4px 0 12px; }
.file-nav a { padding: 8px 16px; border-radius: 999px; background: var(--g2); color: var(--g); font-weight: 600; box-shadow: none; }
.file-nav a[aria-current="page"] { background: var(--am); color: #fff; box-shadow: none; }
@media (max-width: 600px) { .site-head { gap: 12px; padding: 12px; } .logo { width: 84px; height: 84px; } .site-head h1 { font-size: 19px; } .file-nav a { padding: 6px 14px; min-height: 40px; } }
.hero { padding: 150px 22px 26px; border-radius: 20px; border-bottom: 6px solid var(--am); }
.hero h2 { font-size: 32px; }
.cta .file-button { background: var(--am); color: #fff; border: 0; font-weight: 700; }
.cta .file-button[data-variant="secondary"] { background: #fff; color: var(--g); box-shadow: inset 0 0 0 2px var(--g); }
h2 { color: var(--g); }
.tile { background: var(--g2); border-radius: 14px; padding: 8px 8px 12px; }
.tile b { color: var(--g); padding: 0 6px; font-size: 17px; } .tile span { padding: 0 6px; }
.tile img.tl { border-radius: 10px; }
.need div { border: 0; border-radius: 14px; padding: 16px; background: var(--g); color: #fff; }
.need div:nth-child(2) { background: var(--am); color: #fff; }
.need span { color: inherit; opacity: .92; }
.plan { background: var(--cr); border: 0; border-top: 6px solid var(--g); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.plan em { color: #fff; background: var(--g); border-radius: 999px; padding: 6px 12px; align-self: flex-start; margin-top: 6px; }
.wide { border-radius: 16px; }
.viewer-bar button { background: var(--g); }

.mail { color: var(--am); font-weight: 600; }

.tl.tall { aspect-ratio: 3/4; }
h3 { color: var(--g); }
.about{margin:0 0 6px;line-height:1.5;color:#2b2b2b}
.about.src{font-size:.8rem;color:#666}
.social{margin:10px 0 0}
.soc{display:inline-block;padding:10px 16px;border:2px solid var(--g);border-radius:999px;color:var(--g);font-weight:600;text-decoration:none}
.soc:hover{background:var(--g2)}
.social span{display:block;margin-bottom:8px}
.social .soc{margin-right:8px}
.about.legal{font-size:.85rem;color:#555}
.social{display:flex;gap:12px;margin:10px 0 0}
.ico{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;border:2px solid var(--g);color:var(--g);background:#fff}
.ico:hover{background:var(--g2)}
.site-head .social{margin:8px 0 0;gap:10px}
.site-head .ico{width:44px;height:44px;background:transparent;color:#fff;border-color:#fff}
.site-head .ico:hover{background:rgba(255,255,255,.18)}
.evt{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-left:5px solid var(--c,#b0692f);background:#fff;border-radius:12px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.evt b{font-size:17px;color:var(--g)}
.evt span{color:#555}
.article{margin-top:14px}.article p{margin:0 0 10px}.article .src{color:#666;font-size:13px}
.poster{display:block;max-width:560px;margin:8px auto}.poster img{width:100%;height:auto;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.2)}.cap{text-align:center;margin:6px 0 14px}
.gal{display:grid;grid-template-columns:1fr;gap:10px}.gal a{display:block}.gal img{width:100%;height:auto;border-radius:12px;display:block}@media(min-width:700px){.gal{grid-template-columns:1fr 1fr}}

.lnp-viewer{position:fixed;inset:0;z-index:10000;overflow:auto;background:white;padding:12px}.lnp-viewer img{display:block;max-width:100%;margin:auto}.lnp-viewer-bar{position:sticky;top:0;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 0;background:white}.lnp-viewer-bar b{margin-right:auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lnp-viewer-bar a,.lnp-viewer-bar button{flex:0 0 auto;font:inherit;background:#1f4d36;color:white;border:0;border-radius:20px;padding:8px 16px;text-decoration:none}@media(max-width:600px){.lnp-viewer{padding:8px}.lnp-viewer-bar{padding:6px 0}.lnp-viewer-bar b{flex:1 1 100%;font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.lnp-viewer-bar a,.lnp-viewer-bar button{font-size:14px;padding:6px 12px}}

.poster img{max-height:none;aspect-ratio:auto;object-fit:contain}.site-foot{overflow-wrap:anywhere}.lnp-panel .panel{box-sizing:border-box}@media(max-width:600px){.hero{padding:110px 16px 20px}.hero h2{font-size:28px}.site-head .logo{width:78px;height:78px}.site-head{gap:10px}.site-head h1{font-size:20px}}

.gpx{font-size:15px;margin:0 0 24px}.gpx a{color:#1f4d36;font-weight:600;white-space:nowrap}
