/* Contact adapté au thème Salon Habitat Bootstrap : styles isolés sous .shp-contact. */
.shp-contact {font-family:Archivo,Arial,sans-serif;background:#fff;color:#111;}
.shp-contact *,.shp-contact *::before,.shp-contact *::after{box-sizing:border-box}
.shp-contact-hero{min-height:300px;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(#0008,#0008),var(--shp-contact-hero);background-position:center;background-repeat:no-repeat;background-size:cover;text-align:center}
.shp-contact-hero h1{color:#fff;font-size:clamp(42px,5vw,64px);font-weight:700;margin:0;line-height:1.1}
.shp-contact-content{padding:5% 0 10%}
.shp-contact-container{padding-left:5%;padding-right:5%}
.shp-contact h2{font-size:clamp(32px,4.6vw,65px);line-height:1;font-weight:700;margin:0}
.shp-contact-row{margin-top:60px;align-items:start}
.shp-contact-details{display:flex;flex-direction:column;gap:82px}
.shp-contact-detail h3{font-size:24px;line-height:1.2;font-weight:800;letter-spacing:.5px;margin:0 0 8px}
.shp-contact-detail p,.shp-contact-detail a{font-size:18px;line-height:1.5;font-weight:400;color:#333;text-decoration:none;overflow-wrap:anywhere;margin:0}
.shp-contact-detail a:hover{text-decoration:underline;color:#27734b}
.shp-contact-form-column .wpcf7{width:100%}
.shp-contact-form-column .shp-cf7-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.shp-contact-form-column .wpcf7-form p{margin:0 0 30px}
.shp-contact-form-column .wpcf7-form-control-wrap{display:block}
.shp-contact-form-column input:not([type=submit]):not([type=checkbox]),.shp-contact-form-column textarea{display:block;width:100%;max-width:100%;border:0;border-bottom:1px solid #cfcfcf;border-radius:0;background:transparent;padding:12px 0;color:#111;outline-offset:3px;font:400 16px Archivo,Arial,sans-serif;box-shadow:none}
.shp-contact-form-column textarea{min-height:110px;resize:vertical}
.shp-contact-form-column input[type=submit]{background:#27734b;color:#fff;border:1px solid #27734b;border-radius:0;padding:16px 35px;text-transform:uppercase;font:700 18px Archivo,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.shp-contact-form-column input[type=submit]:hover{background:#fff;color:#27734b}
.shp-contact-form-column .wpcf7-not-valid-tip{color:#a11;font-size:13px}
.shp-contact-form-column .wpcf7-response-output{color:#222;margin:16px 0 0!important}
.shp-contact-visual img{display:block;width:100%;height:auto;max-height:600px;object-fit:cover}
.shp-contact-admin-notice{padding:22px;border:1px dashed #27734b;background:#f4f8f2;font-size:14px}
@media(min-width:1200px){.shp-contact-visual{padding-left:3%}}
@media(max-width:1199.98px){.shp-contact-content{padding:10% 0}.shp-contact-row{margin-top:45px}.shp-contact-details{gap:52px}.shp-contact-detail p,.shp-contact-detail a{font-size:16px}.shp-contact-visual img{max-height:400px;object-fit:cover}}
@media(max-width:767.98px){.shp-contact-content{padding:15% 0}.shp-contact-row{margin-top:30px}.shp-contact-details{gap:30px}.shp-contact-detail h3{font-size:22px}.shp-contact-detail p,.shp-contact-detail a{font-size:14px}.shp-contact-form-column .shp-cf7-row{grid-template-columns:1fr;gap:0}.shp-contact-form-column input[type=submit]{width:100%}}

/* v1.6: Standalone contact layout fallback if an external Bootstrap CDN is blocked. */
.shp-contact .container{width:100%;max-width:1320px;margin-left:auto;margin-right:auto;padding-left:12px;padding-right:12px}
.shp-contact .container-fluid{width:100%;margin-left:auto;margin-right:auto}
.shp-contact .row{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}
.shp-contact .row > *{flex:0 0 auto;width:100%;max-width:100%;padding-left:12px;padding-right:12px}
.shp-contact .shp-contact-row{row-gap:32px}
@media(min-width:576px){.shp-contact .container{max-width:540px}}
@media(min-width:768px){.shp-contact .container{max-width:720px}.shp-contact .col-md-5{width:41.66666667%}.shp-contact .col-md-7{width:58.33333333%}}
@media(min-width:992px){.shp-contact .container{max-width:960px}}
@media(min-width:1200px){.shp-contact .container{max-width:1140px}.shp-contact .col-xl-3{width:25%}.shp-contact .col-xl-5{width:41.66666667%}.shp-contact .col-xl-4{width:33.33333333%}}
@media(min-width:1400px){.shp-contact .container{max-width:1320px}}
