@font-face{font-family:'Inter Tight';src:url('/assets/fonts/inter-tight.woff') format('woff');font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:'Bricolage Grotesque';src:url('/assets/fonts/bricolage-grotesque.woff') format('woff');font-weight:400 700;font-style:normal;font-display:swap}
/* Pleine Boucle — feuille de style unique
   Charte : modifier les couleurs ici uniquement. */
:root{
  /* Charte Pleine Boucle (guide sept. 2025) */
  --vert:#007F66;        /* Generic Viridian : boutons, chiffres, liens */
  --vert-fonce:#000000;  /* Black : titres, texte, bandeaux forts */
  --vert-nuit:#000000;   /* Black : pied de page, sections sombres */
  --vert-carte:#1D1D1B;  /* cartes sur fond noir */
  --vert-logo:#6B9080;   /* Viridian : logo, éléments décoratifs */
  --sable:#E6E0D4;       /* White Coffee : accents, boutons sur fond sombre */
  --laiton:#C2947B;      /* Antique Brass : touches de rythme */
  --fond:#E6E0D4;        /* White Coffee : fond de page */
  --teinte:#E6E0D4;      /* bandeaux clairs */
  --texte:#000000;
  --texte-doux:#55524C;
  --bordure:#CFC8BB;
  --champ:#000000;
  --blanc:#FFFFFF;
  --titre:'Bricolage Grotesque',system-ui,sans-serif;
  --corps:'Inter Tight',system-ui,sans-serif;
  --max:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--fond);color:var(--vert-fonce);font-family:var(--corps);font-weight:500;font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
a{color:var(--vert)}a:hover{color:var(--vert-fonce)}
h1,h2,h3{font-family:var(--titre);color:inherit;margin:0;line-height:1.1;letter-spacing:-.02em}
h1{font-size:clamp(38px,5vw,62px);letter-spacing:-.03em;line-height:1.04}
h2{font-size:clamp(30px,3.5vw,44px)}
h3{font-size:21px;line-height:1.2}
p{margin:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.section{padding:96px 0}
.section--tight{padding:64px 0}
.bg-blanc{background:var(--blanc)}
.bg-teinte{background:var(--teinte)}
.bg-vert{background:var(--vert);color:var(--blanc)}
.bg-sombre{background:var(--vert-nuit);color:var(--blanc)}
.bordure-h{border-top:1px solid var(--bordure);border-bottom:1px solid var(--bordure)}
.surtitre{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--vert)}
.bg-sombre .surtitre,.bg-vert .surtitre{color:var(--sable)}
.chapo{font-size:19px;color:var(--texte);max-width:720px}
.bg-sombre .chapo,.bg-vert .chapo{color:#E6E0D4}
.doux{color:var(--texte)}
.bg-sombre .doux{color:#D9D3C7}
.entete{display:flex;flex-direction:column;gap:14px;max-width:760px;margin-bottom:44px}
.pile{display:flex;flex-direction:column;gap:18px}
.ligne{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.grille{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(var(--min,280px),1fr))}
.deux-col{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.deux-col>.principal{flex:999 1 520px;min-width:0}
.deux-col>.secondaire{flex:1 1 400px;min-width:0}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:10px 26px;text-align:center;line-height:1.25;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;font-family:var(--corps);transition:background .15s,color .15s}
.btn--plein{background:var(--vert);color:var(--blanc)}
.btn--plein:hover{background:var(--vert-fonce);color:var(--blanc)}
.btn--sable{background:var(--sable);color:var(--vert-fonce)}
.btn--sable:hover{background:var(--blanc);color:var(--vert-fonce)}
.btn--contour{border-color:var(--vert);color:var(--vert);background:transparent}
.btn--contour:hover{background:var(--vert);color:var(--blanc)}
.btn--contour-blanc{border-color:var(--blanc);color:var(--blanc);background:transparent}
.btn--contour-blanc:hover{background:var(--blanc);color:var(--vert-fonce)}
.btn--large{width:100%}
.lien-fleche{font-weight:600;min-height:44px;display:inline-flex;align-items:center}

/* En-tête */
.site-header{background:var(--blanc);border-bottom:1px solid var(--bordure);position:sticky;top:0;z-index:20}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}
.logo img{height:40px;width:auto}
.nav{display:flex;align-items:center;gap:4px 22px;font-size:15px;font-weight:500}
.nav a{color:var(--vert-fonce);text-decoration:none;padding:12px 0;white-space:nowrap}
.nav a:hover,.nav a[aria-current=page]{color:var(--vert)}
.nav a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}
.nav .btn{padding:0 20px;min-height:46px;color:var(--blanc);text-decoration:none}
.menu-toggle{display:none;background:none;border:0;padding:10px;min-width:44px;min-height:44px;cursor:pointer;color:var(--vert-fonce)}
@media (max-width:1140px){
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .nav{display:none;position:absolute;left:0;right:0;top:76px;background:var(--blanc);flex-direction:column;align-items:stretch;padding:12px 24px 24px;border-bottom:1px solid var(--bordure)}
  .nav.ouvert{display:flex}
  .nav .btn{margin-top:8px}
}

/* Héros */
.hero{padding:72px 0 80px}
.hero h1 .cle{display:block;font-family:var(--corps);font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--vert);line-height:1.4;margin-bottom:22px}
.coches{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-weight:500}
.coches li{display:flex;gap:10px;align-items:flex-start}
.coches svg{flex:0 0 auto;margin-top:2px}
.signature{display:flex;align-items:center;gap:14px;font-size:15px}
.signature img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:center 15%}

/* Cartes */
.carte{background:var(--blanc);border:1px solid var(--bordure);border-radius:16px;padding:30px;display:flex;flex-direction:column;gap:12px}
.carte--sombre{background:var(--vert-fonce);border-color:var(--vert-fonce);color:var(--blanc)}
.carte--sombre .doux{color:#E6E0D4}
.carte--sur-sombre{background:var(--vert-carte);border-color:var(--vert-carte);color:var(--blanc)}
.carte--sur-sombre .doux{color:#D9D3C7}
.carte--contour{border:2px solid var(--vert)}
.carte .btn{margin-top:auto}
.chiffre{font-family:var(--titre);font-weight:700;font-size:52px;line-height:1;color:var(--vert)}
.carte--sombre .chiffre,.carte--sur-sombre .chiffre{color:var(--sable)}
.pastille{display:inline-flex;width:46px;height:46px;border-radius:12px;background:var(--teinte);align-items:center;justify-content:center;font-family:var(--titre);font-weight:700;color:var(--vert)}
.exemple{font-size:14.5px;background:var(--fond);border-radius:10px;padding:12px 14px;color:var(--vert-fonce)}
.etape{border-top:4px solid var(--vert);border-radius:16px;background:var(--fond);padding:24px;display:flex;flex-direction:column;gap:10px}
.bg-teinte .etape{background:var(--blanc)}
.etape .num{font-family:var(--titre);font-weight:700;color:var(--vert);font-size:15px}
ol.reset,ul.reset{list-style:none;margin:0;padding:0}

/* Chiffres clés */
.stats{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));padding-top:36px;padding-bottom:36px}
.stats .val{font-family:var(--titre);font-size:40px;font-weight:700;color:var(--vert);line-height:1.1}
.stats .lib{font-size:15px;color:var(--texte)}

/* Formulaires */
.formulaire{background:var(--blanc);border:1px solid var(--bordure);border-radius:20px;padding:32px;box-shadow:0 20px 50px rgba(0,77,61,.08);color:var(--vert-fonce)}
.formulaire form{display:flex;flex-direction:column;gap:16px}
.champs{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
label.champ{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600}
label.champ input,label.champ select,label.champ textarea{min-height:48px;border:1.5px solid var(--champ);border-radius:8px;padding:0 14px;font:inherit;font-weight:400;font-size:16px;background:var(--blanc);color:var(--vert-fonce)}
label.champ textarea{padding:12px 14px;min-height:96px;resize:vertical}
label.champ input:focus,label.champ select:focus,label.champ textarea:focus{outline:2px solid var(--vert);outline-offset:1px;border-color:var(--vert)}
.mention{font-size:14px;color:var(--texte-doux);text-align:center}
.cache{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.merci{display:none;flex-direction:column;gap:14px;padding:24px 0}
.formulaire.envoye form{display:none}
.formulaire.envoye .merci{display:flex}

/* Simulateur */
.simu{background:var(--vert-nuit);color:var(--blanc);border-radius:24px;padding:clamp(28px,4vw,56px);display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.simu .boite{flex:1 1 420px;background:var(--vert-carte);border-radius:18px;padding:32px;display:flex;flex-direction:column;gap:22px}
.simu input[type=range]{width:100%;min-height:44px;accent-color:var(--sable);cursor:pointer}
.simu .resultat{font-family:var(--titre);font-size:clamp(30px,3.4vw,40px);font-weight:700;color:var(--sable);line-height:1.1}
.simu .budget{font-family:var(--titre);font-size:28px;font-weight:700}

/* Flux (déchet sans solution) */
.flux{display:flex;flex-wrap:wrap;gap:12px}
.flux button{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 20px;border:1.5px solid var(--vert);border-radius:999px;background:var(--fond);color:var(--vert-fonce);font:inherit;font-weight:600;font-size:16px;cursor:pointer;text-align:left}
.flux button:hover{background:var(--vert);color:var(--blanc)}

/* FAQ */
.faq{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:0}
.faq details{border-top:1px solid var(--bordure);padding:20px 0}
.faq summary{cursor:pointer;font-family:var(--titre);font-size:19px;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;line-height:1;color:var(--vert)}
.faq details[open] summary::after{content:"−"}
.faq details p{margin-top:10px;color:var(--texte)}

/* Bandeau final */
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;padding-top:84px;padding-bottom:84px}

/* Encadré */
.encadre{background:var(--blanc);border-radius:14px;padding:18px 20px;font-weight:600}

/* Pied de page */
.site-footer{background:var(--vert-nuit);color:#D9D3C7;font-size:15px}
.site-footer a{color:#D9D3C7}
.site-footer a:hover{color:var(--blanc)}
.site-footer .haut{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;padding:56px 0 36px}
.site-footer .logo-pied img{height:38px;width:auto}
.site-footer nav{display:flex;flex-wrap:wrap;gap:32px 56px}
.site-footer nav div{display:flex;flex-direction:column;gap:4px}
.site-footer nav strong{color:var(--blanc);font-size:14px;margin-bottom:4px}
.site-footer nav a{min-height:32px;display:inline-flex;align-items:center}
.site-footer .bas{border-top:1px solid #3A3A37;padding:20px 0 28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px}

/* Photo */
.portrait{width:100%;max-width:400px;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:20px}

/* Texte légal */
.legal{max-width:820px}
.legal h2{font-size:22px;margin:36px 0 10px}

@media (max-width:640px){
  body{font-size:16px}
  .section{padding:64px 0}
  .hero{padding:44px 0 56px}
  .formulaire{padding:22px}
}

/* ---------- Guides (blog) ---------- */
.article-tete{max-width:808px;display:flex;flex-direction:column;gap:18px}
.article-tete h1{font-size:clamp(32px,4vw,48px);line-height:1.1}
.fil{font-size:14px;color:var(--texte-doux)}.fil a{color:var(--texte-doux)}
.byline{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--texte-doux)}
.byline img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.prose{max-width:760px;margin:0 auto;color:var(--texte);font-size:18px;line-height:1.7}
.prose>*+*{margin-top:18px}
.prose h2{font-size:clamp(24px,2.6vw,30px);color:var(--vert-fonce);margin-top:48px;line-height:1.2}
.prose h3{font-size:20px;color:var(--vert-fonce);margin-top:32px}
.prose ul,.prose ol{padding-left:22px}.prose li{margin:8px 0}
.prose strong{color:var(--vert-fonce)}
.prose figure{margin:32px 0}.prose figure img{width:100%;height:auto;border-radius:14px}
.prose figcaption{font-size:14px;color:var(--texte-doux);margin-top:8px}
.prose .tableau{overflow-x:auto;margin:24px 0}
.prose table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.45;background:var(--blanc)}
.prose th,.prose td{border:1px solid var(--bordure);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--teinte);color:var(--vert-fonce)}
.prose .source{font-size:14px;color:var(--texte-doux)}
.prose .faq{margin:56px 0 0;max-width:none}
.prose .faq h2{margin:0 0 12px}
.lien-carte{text-decoration:none;color:var(--vert-fonce);transition:border-color .15s,transform .15s}
.lien-carte:hover{border-color:var(--vert);transform:translateY(-2px);color:var(--vert-fonce)}
.lien-carte strong{font-family:var(--titre);font-size:20px;line-height:1.25}
.article-carte{padding:0 0 26px;overflow:hidden}
.article-carte img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.article-carte>span,.article-carte>strong{padding:0 26px}
@media (max-width:640px){.prose{font-size:17px}}

/* ---------- Ajustements UX ---------- */
.nowrap{white-space:nowrap}
.facultatif{font-weight:400;color:var(--texte-doux)}
.btn svg{flex:0 0 auto}
/* Téléphone dans l'en-tête */
.tel-entete{order:3;display:none;align-items:center;gap:8px;color:var(--vert-fonce);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap;min-height:44px;min-width:44px;justify-content:center}
.tel-entete:hover{color:var(--vert)}
@media (min-width:1380px){.tel-entete{display:inline-flex}}
@media (max-width:1140px){
  .tel-entete{display:inline-flex;order:0;margin-left:auto;border:1.5px solid var(--bordure);border-radius:8px}
  .tel-entete span{display:none}
  .site-header .wrap{gap:8px}
}
/* Barre de contact fixe sur mobile */
.barre-mobile{display:none}
@media (max-width:640px){
  .barre-mobile{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--blanc);border-top:1px solid var(--bordure);box-shadow:0 -6px 20px rgba(0,77,61,.08)}
  .barre-mobile .btn{flex:1;min-height:48px;padding:8px 12px;font-size:15px}
  .barre-mobile .btn--contour{flex:0 0 auto}
  body{padding-bottom:76px}
}
.tel-entete svg{flex:0 0 auto;width:18px;height:18px}
[id]{scroll-margin-top:96px}
.lien-rdv{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;min-height:44px}
/* Héros : titre aligné sur le haut du formulaire */
@media (min-width:1000px){
  .hero .deux-col{align-items:flex-start}
  .hero .deux-col>.principal{padding-top:28px}
}
@media (min-width:1600px){body{font-size:18px}.chapo{font-size:20px}}

/* Diagnostic « Vos déchets sont-ils bien gérés ? » (/diagnostic) */
.diag-tete,.diag{max-width:880px}
.diag{margin:0 auto;scroll-margin-top:110px}
.diag-prog{margin:0 0 24px}
.ligne-prog{display:flex;justify-content:space-between;gap:12px;font-weight:600;font-size:15px}
.diag-barre{height:8px;border-radius:999px;background:var(--bordure);overflow:hidden;margin-top:10px}
.diag-barre>div{height:100%;border-radius:999px;background:var(--vert);transition:width .3s}
.diag-carte{margin-bottom:16px;gap:14px}
.diag-carte h2{font-size:24px;line-height:1.2;letter-spacing:-.01em}
.diag-q{display:flex;gap:16px;align-items:flex-start}
.diag-num{font-family:var(--titre);font-weight:700;font-size:28px;line-height:1;color:var(--vert);flex:none;min-width:40px}
.diag-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:6px}
.diag-opt{font:inherit;font-size:16px;font-weight:500;text-align:left;min-height:52px;padding:12px 16px;border-radius:8px;border:1.5px solid var(--texte-doux);background:var(--blanc);color:var(--vert-fonce);cursor:pointer;transition:background .15s}
.diag-opt:hover{background:var(--teinte)}
.diag-opt[aria-pressed="true"]{background:var(--vert);border-color:var(--vert);color:var(--blanc)}
.diag-opt:focus-visible,.diag .btn:focus-visible{outline:2px solid var(--vert);outline-offset:3px}
.diag-case{display:flex;align-items:center;gap:12px;font-weight:600;min-height:48px;cursor:pointer;margin-top:6px}
.diag-case input{width:24px;height:24px;accent-color:var(--vert);flex:none}
.diag-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}
.btn.diag-off{background:var(--vert-logo);border-color:var(--vert-logo)}
.diag-alerte{color:#8A3A1E;font-weight:600;margin-top:16px}
.diag-titre{font-size:clamp(28px,3.4vw,40px);margin-bottom:24px}
.diag-res{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}
.diag-res>.carte:first-child{flex:1 1 240px}
.diag-pot{flex:2 1 340px}
.diag-pot .chiffre{font-size:clamp(40px,7vw,56px)}
.diag-sur{font-size:22px;color:var(--texte-doux)}
.diag-theme{margin-top:6px}
.diag-leviers{margin:0;padding-left:24px}
.diag-leviers li{margin:4px 0}
.nowrap{white-space:nowrap}

/* Ajustements charte : titres en vert sur les bandeaux sombres, surtitres en laiton */
.bg-sombre h1 .cle,.bg-vert .surtitre{color:var(--sable)}
.bg-sombre .surtitre,.carte--sombre .surtitre,.simu .surtitre{color:var(--laiton)!important}
.site-footer strong{color:var(--blanc)}

/* Chiffres : jamais coupés */
.stats .val,.chiffre,.simu .resultat,.simu .budget{white-space:nowrap}
.diag-selects{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.diag-promesse{display:flex;flex-wrap:wrap;gap:8px 20px;font-weight:600;font-size:15px}
.diag-promesse span{display:inline-flex;align-items:center;gap:8px}
