/* Local Graphics - styles communs ajoutes au site statique (fenetre cookies, etats du formulaire) */

/* ----- Reprise des regles de base de Divi (WordPress), pour un rendu identique a l'ancien site ----- */
html body{line-height:23.8px;font-weight:500;}
html body p{padding-bottom:1em;}
html body p:last-of-type{padding-bottom:0;}
html body h1,html body h2,html body h3,html body h4{padding-bottom:10px;}
html body li{line-height:26px;}
html body .contact p,html body footer p,html body footer p:last-of-type{padding-bottom:1em;}
:where(h1,h2,h3,h4,h5,h6){line-height:1em;}
.lgc-box p{padding-bottom:0;}

/* ----- Fenetre cookies (meme rendu que Complianz : centree, fond grise, boutons a egalite) ----- */
.lgc-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(24,56,49,.28);}
.lgc-overlay[hidden]{display:none;}
.lgc-box{width:100%;max-width:520px;background:#fff;color:#183831;border-radius:12px;padding:26px 26px 20px;box-shadow:0 24px 70px rgba(24,56,49,.22);font-family:'Hanken Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.lgc-title{margin:0 0 10px;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:20px;color:#183831;}
.lgc-text{margin:0 0 20px;font-size:15px;line-height:1.6;color:#4c655e;}
.lgc-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.lgc-btn{font-family:'Space Mono',monospace;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border:1px solid #087f83;background:#087f83;color:#fff;padding:13px 16px;border-radius:6px;transition:background .2s ease;}
.lgc-btn:hover{background:#06676b;}
.lgc-btn:focus-visible{outline:2px solid #183831;outline-offset:2px;}
.lgc-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-top:16px;font-size:13px;}
.lgc-links a{color:#087f83;text-decoration:underline;text-underline-offset:3px;}
@media(max-width:420px){.lgc-btns{grid-template-columns:1fr;}}

/* ----- Formulaire de contact (remplace Contact Form 7) ----- */
.lg-contact .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}
.lg-contact .submit[disabled]{opacity:.6;cursor:wait;}
.lg-contact .wpcf7-response-output[hidden]{display:none;}
.lg-contact .wpcf7-response-output.is-error{border-color:rgba(182,55,80,.45)!important;color:#b63750;background:rgba(182,55,80,.05);}
