/*
Theme Name: NB Espace Vert
Description: Thème léger sur mesure pour nbespacevert.fr, d'après la maquette d'accueil v8.
Author: Karl
Version: 1.0.0
Requires PHP: 7.4
Text Domain: nb-espace-vert
*/
body{margin:0;background:#E8F4D9;color:#1B2A1E;font-family:"Google Sans Flex",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:19px;line-height:30px}
*{box-sizing:border-box}
h1,h2,h3,p{margin:0}
img{max-width:100%}
a{color:#294727}
.c{max-width:1080px;margin:0 auto;padding:0 20px}
.sec{padding-top:56px;padding-bottom:56px}
.sur{font-size:14px;line-height:18px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#294727;margin-bottom:10px}
.h1{font-size:36px;line-height:42px;font-weight:800;letter-spacing:-.5px}
.h2{font-size:32px;line-height:38px;font-weight:800;color:#294727;letter-spacing:-.3px}
.h3{font-size:24px;line-height:30px;font-weight:800;color:#294727}
.small{margin-top:16px;font-size:16px;line-height:24px;color:#4F5D52}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:60px;padding:14px 24px;border-radius:16px;font:800 19px/24px "Google Sans Flex",system-ui,sans-serif;text-decoration:none;border:3px solid #294727;cursor:pointer}
.btn svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bp{background:#294727;color:#fff}
.bp:hover{background:#8CC63F;color:#294727;border-color:#8CC63F}
.bs{background:#fff;color:#294727}
.bl{background:#8CC63F;color:#294727;border-color:#8CC63F}
.bl:hover{background:#fff;border-color:#fff}
.bw{background:transparent;color:#fff;border-color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:4px solid #8CC63F;outline-offset:3px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:30;background:#fff;padding:10px 16px}
.card{background:#fff;border-radius:24px;box-shadow:0 2px 4px rgba(41,71,39,.08),0 10px 28px rgba(41,71,39,.10)}
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.tag{display:inline-block;font-size:12px;line-height:14px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#4F5D52;background:#fff;border:1px dashed #4F5D52;border-radius:999px;padding:3px 9px;position:absolute;left:12px;bottom:12px}
.ico{width:72px;height:72px;border-radius:50%;background:#E8F4D9;display:flex;align-items:center;justify-content:center;flex:none}
.ico svg{width:38px;height:38px;stroke:#294727;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.chip{display:inline-block;background:#fff;border-radius:999px;padding:12px 18px;font-weight:700;font-size:17px;line-height:22px;color:#294727;box-shadow:0 1px 3px rgba(41,71,39,.15)}
.chip-pale{background:#E8F4D9}

.top{background:#fff}
.top .c{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px}
.top img{width:190px;height:auto;display:block}
.top .btn{min-height:52px;padding:8px 18px}

.dark{background:#294727;color:#fff;position:relative;overflow:hidden}
.dark .sur{color:#8CC63F}
.dark .h2{color:#fff}
.leaf{position:absolute;pointer-events:none}
.leaf-hero{right:-40px;top:-30px;width:320px;height:320px;opacity:.12}
.leaf-sec{left:-60px;bottom:-50px;width:300px;height:300px;opacity:.1}
.hero .c{position:relative;padding-top:48px}
.hero-text{max-width:640px}
.lead{margin-top:16px;font-size:20px;line-height:30px}
.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.actions .btn{flex:1 1 200px}
.hero-img{display:block;width:100%;height:260px;object-fit:cover;border-radius:24px 24px 0 0;margin-top:32px}

.trust{padding-top:24px;padding-bottom:8px}
.trust .grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.trust .card{padding:20px;text-align:center}
.trust .ico{margin:0 auto}
.trust p{margin-top:12px;font-weight:800;color:#294727;line-height:24px}
.trust p+p{margin-top:8px;font-weight:400;font-size:16px;line-height:22px;color:#1B2A1E}

.services{margin-top:32px}
.service{overflow:hidden;padding-bottom:28px}
.service img{display:block;width:100%;height:170px;object-fit:cover}
.service h3{margin:18px 28px 0}
.service p{margin:8px 28px 0}
.minor{margin-top:20px}
.minor .card{padding:24px;display:flex;gap:18px;align-items:center}
.wide{margin-top:28px;width:100%;max-width:360px}

.split{display:flex;flex-wrap:wrap;gap:32px;align-items:center;position:relative}
.split>div{flex:1 1 320px;min-width:0}
.split .media{position:relative}
.split .media img{display:block;width:100%;height:340px;object-fit:cover;border-radius:24px}
.checks{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:12px;font-size:20px}
.checks li{display:flex;gap:12px}
.checks li::before{content:"\2713";color:#8CC63F;font-weight:800}

.ba-list{margin-top:28px}
.ba{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ba div{min-height:150px;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#294727;background:#fff}
.ba div+div{background:#8CC63F}
.ba-list p{margin-top:10px;font-weight:700;color:#294727}

.social{background:#8CC63F}
.social .actions .btn{flex:1 1 220px}
.about{background:#fff}

.quote .intro{text-align:center}
.quote form{background:#fff;color:#1B2A1E;border-radius:24px;padding:24px;max-width:640px;margin:32px auto 0;display:grid;gap:18px}
.quote label{display:block;font-weight:700;margin-bottom:6px}
.quote input[type=text],.quote input[type=tel],.quote input[type=email],.quote textarea{width:100%;font:400 19px/26px "Google Sans Flex",system-ui,sans-serif;color:#1B2A1E;padding:14px 16px;border:2px solid #4F5D52;border-radius:6px;background:#fff}
.quote .consent{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:24px}
.quote .consent input{width:28px;height:28px;flex:none;margin:0;accent-color:#294727}
.quote .consent label{font-weight:400;margin:0}
.quote .btn{width:100%}
.trap{position:absolute!important;left:-9999px!important}
.msg{max-width:640px;margin:24px auto 0;padding:16px 20px;border-radius:16px;background:#fff;color:#1B2A1E;font-weight:700}
.msg-err{color:#B3261E}
.quote .alt{margin-top:24px;text-align:center}
.quote .alt .btn{width:100%;max-width:360px}

.foot{background:#1B2A1E;color:#fff;font-size:16px;line-height:26px}
.foot a{color:#fff}
.foot .c{padding-top:40px;padding-bottom:40px;display:flex;flex-wrap:wrap;gap:28px;justify-content:space-between}
.foot .col{flex:1 1 200px}
.foot img{width:200px;height:auto;display:block}
.foot .col img+p{margin-top:16px}
.foot .title{font-weight:700}
.foot .muted{color:#A9B8AC}
.foot .credits{flex:1 1 100%;font-size:14px;line-height:20px;color:#A9B8AC}

.page-body{background:#fff}
.page-body .c{max-width:760px}
.page-body h2{margin:32px 0 8px;color:#294727;font-size:24px;line-height:30px}
.page-body p,.page-body ul{margin:0 0 14px}

.bar{display:none}
@media (max-width:767px){
 .bar{display:flex;position:sticky;bottom:0;z-index:20;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #DCE3D6;box-shadow:0 -4px 16px rgba(41,71,39,.15)}
 .bar .btn{flex:1;padding:10px 8px;font-size:17px;white-space:nowrap}
 .top .btn{display:none}
}
@media (min-width:768px){
 .h1{font-size:50px;line-height:54px}
 .h2{font-size:38px;line-height:44px}
 .sec{padding-top:80px;padding-bottom:80px}
}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
