/* HORIZON 360 — adjustments to three approved zones ONLY:
   Accueil hero, Contact form and Demander un devis form. */

/* ACCUEIL • three-piece banner composition as in approved mock-up */
.reference-home-hero{position:relative;background:radial-gradient(ellipse at 72% -15%,#293746 0%,#132638 45%,#0b1825 100%);isolation:isolate;overflow:hidden}
.reference-home-hero .home-hero-layout{position:relative;width:min(100%,1360px);grid-template-columns:30% 41% 29%;min-height:388px;overflow:visible;z-index:1}
.reference-home-hero .hero-photo{min-height:388px}
.reference-home-hero .hero-photo-left{margin-left:0;overflow:visible;border-radius:0}
.reference-home-hero .hero-photo-left>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% center;border-radius:0 98px 35px 0;clip-path:polygon(0 0,86% 0,100% 12%,100% 100%,0 100%)}
.reference-home-hero .hero-photo-left:after{content:"";z-index:1;position:absolute;left:-110px;bottom:-133px;width:300px;height:212px;background:#f9791d;border-radius:50%;opacity:1;pointer-events:none}
.reference-home-hero .hero-sticker{z-index:3;left:7%;bottom:27px;min-width:242px;background:#f7f4f0;color:#101e2e;border-radius:999px;padding:20px 28px;box-shadow:0 10px 18px #071b2c2e;font-size:clamp(1.18rem,1.85vw,1.6rem);line-height:1.1}
.reference-home-hero .hero-copy{padding:40px 33px 36px 40px;position:relative;z-index:3}
.reference-home-hero .hero-copy .kicker{font-size:clamp(.78rem,1.02vw,.92rem);line-height:1.25}
.reference-home-hero h1{font-size:clamp(2rem,3.04vw,3.4rem);line-height:1.10;letter-spacing:-.037em;max-width:550px;margin:14px 0 19px}
.reference-home-hero .hero-copy p{font-size:clamp(.91rem,1.17vw,1.08rem);max-width:520px;line-height:1.5}
.reference-home-hero .hero-copy .hero-secondary{max-width:445px;color:#e1e8eb}
.reference-home-hero .hero-dot{position:absolute;top:25px;right:-42px;width:44px;height:44px;background:#fb8120;border-radius:50%;pointer-events:none;z-index:8}
.reference-home-hero .hero-copy:after{content:"";position:absolute;bottom:15px;left:0;width:25px;height:25px;border-radius:50%;background:#fa791a;transform:translate(-50%,0);z-index:8}
.reference-home-hero .hero-photo-right{margin-right:0;border-radius:0;position:relative;overflow:visible;background:transparent}
.reference-home-hero .hero-photo-right:before{content:"";position:absolute;inset:-40px -40px -40px 0;background:#fa7921;border-radius:55% 0 0 39%;z-index:0;clip-path:polygon(31% 0,100% 0,100% 100%,0 100%,0 62%,12% 47%,16% 17%)}
.reference-home-hero .hero-photo-right>img{position:absolute;left:7%;right:0;top:17%;height:80%;width:96%;min-width:0;object-fit:cover;object-position:48% 43%;border-radius:100px 0 0 13px;z-index:1;box-shadow:0 9px 19px #0004}
.reference-home-hero .hero-photo-right:after{content:"";position:absolute;width:190px;height:190px;top:-100px;right:-97px;background:#fc8426;border:0;border-radius:50%;z-index:2;pointer-events:none}

/* CONTACT • original two-column orange image and warm-cream form */
.reference-contact-section,.reference-devis-section{background:#132637;padding:64px 0 74px}
.reference-contact-card{display:grid;grid-template-columns:47% 53%;border-radius:24px;overflow:hidden;box-shadow:0 16px 48px #020b1680;border:1px solid #ffffff3b;min-height:620px}
.reference-contact-promo{min-width:0;display:flex;background:#f47613}
.reference-contact-promo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;filter:none!important;background:transparent}
.reference-contact-form{min-width:0;background:#f8f2eb;display:flex}
.reference-contact-form .lead-form{width:100%;height:auto;padding:35px 37px 29px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#142536}
.refined-form h2{font-size:clamp(1.7rem,2.6vw,2.55rem);line-height:1.12;letter-spacing:-.035em;margin:0 0 10px;font-weight:850}
.refined-form .refined-intro{font-size:14px;max-width:520px;line-height:1.44;margin:0 0 26px;color:#40505c}
.refined-form .refined-two{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:13px}
.refined-form .f-pill{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;margin:0 0 13px;padding:0 14px;background:transparent;border:1.5px solid #d1c9c2;border-radius:30px;cursor:text;transition:border-color .18s ease,box-shadow .18s ease;box-shadow:none}
.refined-form .refined-two .f-pill{margin:0}
.refined-form .f-pill .f-icon{flex:0 0 19px;width:19px;height:19px;color:#142a3a}
.refined-form .f-pill .pill-star{display:none}
.refined-form .f-pill:hover{border-color:#f07724}
.refined-form .f-pill:focus-within{border-color:#ee6e15;box-shadow:0 0 0 3px #e9721530}
.refined-form .f-pill input:not([type=checkbox]):not([type=file]),.refined-form .f-pill select,.refined-form .f-pill textarea{display:block;width:100%;min-width:0;flex:1;min-height:0;margin:0;padding:13px 0!important;color:#152a38;outline:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:14px;line-height:1.3;font-weight:500}
.refined-form .f-pill input::placeholder,.refined-form .f-pill textarea::placeholder{color:#4c5761;opacity:1}
.refined-form .f-pill textarea{resize:vertical;min-height:100px!important;max-height:300px;line-height:1.55}
.refined-form .f-message{align-items:flex-start;border-radius:18px;padding-top:2px}
.refined-form .f-message>.f-icon{margin-top:12px}
.refined-form .f-select{cursor:pointer}
.refined-form .f-select select{cursor:pointer;appearance:auto}
.refined-form .f-file{min-height:51px;align-items:center;gap:10px;border-radius:26px;cursor:pointer;background:#f7f1eb}
.refined-form .f-file .f-file-real{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:4}
.refined-form .file-label{flex:1;min-width:0;color:#1d2b36;font-weight:700;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.refined-form .file-label small{font-weight:450;font-size:10px;color:#53616a;display:block;margin-top:2px}
.refined-form .file-button{flex:0 0 auto;border-radius:999px;background:#e8dfd6;color:#142434;padding:8px 13px;font-size:12px;font-weight:700}
.refined-form .f-consent{display:flex;align-items:flex-start;gap:12px;cursor:pointer;color:#293c4b;font-size:12px;line-height:1.47;margin:14px 0 18px}
.refined-form .f-consent input{accent-color:#ec6d19;flex:0 0 18px;width:18px;height:18px;cursor:pointer;margin:2px 0 0}
.refined-form .f-consent a{text-decoration:underline;text-underline-offset:2px}
.refined-form .f-consent b{color:#df5711}
.refined-form .refined-submit{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;margin-left:auto;padding:11px 23px;border:0;border-radius:40px;background:linear-gradient(105deg,#f87d0c,#d85300);color:white;cursor:pointer;font-size:14px;font-weight:800;box-shadow:0 9px 18px #bd591a21;transition:filter .2s,transform .2s}
.refined-form .refined-submit:hover{filter:brightness(1.05);transform:translateY(-2px)}
.refined-form .refined-submit:focus-visible{outline:3px solid #ff9f47;outline-offset:3px}
.refined-form .refined-submit .f-icon{color:currentColor}
.refined-form .form-feedback{font-size:12px;font-weight:650;margin:10px 0 0}
.refined-form .f-disclaimer{font-size:10px;color:#5b6973;margin-top:13px;line-height:1.35}
.contact-map-follow{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:36px;align-items:stretch}
.contact-map-follow>div,.devis-map-follow>div{min-width:0}
.contact-map-follow .map-note-card{height:100%;padding:32px 36px;background:#0c2132;border-color:#ffffff38}
.contact-map-follow .map-card{height:100%;min-height:310px}
.contact-map-follow .map-card iframe{min-height:270px}

/* DEVIS • orange editorial form panel, inline outlined fields as in reference */
.reference-quote-card{display:grid;grid-template-columns:48% 52%;position:relative;isolation:isolate;overflow:hidden;border-radius:36px;background:linear-gradient(122deg,#f78a1b 0%,#f57a10 38%,#df5a09 100%);box-shadow:0 20px 48px #05141f76;border:1px solid #fd9b4254;min-height:655px}
.reference-quote-promo{position:relative;isolation:isolate;display:flex;align-items:flex-end;padding:50px 40px 72px;min-width:0;overflow:hidden}
.quote-orb-primary{position:absolute;z-index:-2;left:-46%;top:1%;width:125%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 26%,#ffdf79 0%,#ffb73f 17%,#f89920 34%,#e96c0e 52%,#b43312 73%,#8e1e15 91%,#8a1a10 100%);box-shadow:inset -14px -28px 65px #74120b88,25px 30px 65px #992e0e45}
.quote-orb-primary:after{content:"";position:absolute;right:12%;top:12%;width:10%;height:6%;border-radius:50%;background:#fff9d8ed;filter:blur(2px);transform:rotate(34deg)}
.quote-orb-small{position:absolute;z-index:-1;right:-10%;top:17%;width:29%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 27% 25%,#fff3c9,#ffaf32 23%,#e67a17 56%,#9e320e 94%);opacity:.95}
.quote-promo-copy{z-index:2;max-width:455px;margin-top:220px;color:white;text-shadow:0 2px 16px #57191033}
.quote-promo-copy h2{font-size:clamp(2.6rem,4.2vw,4.1rem);line-height:1.08;color:white;letter-spacing:-.035em}
.quote-short-rule{display:block;width:56px;height:5px;border-radius:5px;background:#ffbb4e;margin:22px 0}
.quote-promo-copy p{font-size:clamp(1rem,1.35vw,1.18rem);line-height:1.4;max-width:410px}
.reference-quote-form{min-width:0;padding:46px 43px 41px;display:flex;align-items:center}
.reference-quote-form .lead-form{width:100%;min-width:0;background:transparent;border:0;box-shadow:none;padding:0;margin:0;height:auto;color:white}
.quote-refined .quote-form-fields{display:grid;gap:11px}
.quote-refined .f-pill{min-height:50px;margin:0;border:1.8px solid #fffaf0d1;background:#f68c2614;border-radius:32px;padding-inline:16px}
.quote-refined .f-pill .f-icon{color:#fff9f4}
.quote-refined .f-pill input:not([type=checkbox]):not([type=file]),.quote-refined .f-pill select,.quote-refined .f-pill textarea{color:white!important;font-size:15px;font-weight:550}
.quote-refined .f-pill input::placeholder,.quote-refined .f-pill textarea::placeholder{color:#fffef1!important;opacity:1}
.quote-refined .f-pill:focus-within{border-color:white;box-shadow:0 0 0 3px #ffd37c62}
.quote-refined .f-pill:hover{border-color:#fff}
.quote-refined .f-message{border-radius:24px;min-height:105px}
.quote-refined .f-message textarea{min-height:90px!important}
.quote-refined .f-file{min-height:50px;max-width:100%;background:transparent;border:1px solid transparent;padding-left:0}
.quote-refined .file-label{color:white}
.quote-refined .file-label small{color:#fff9e3d9}
.quote-refined .file-button{border:1px solid white;background:transparent;color:white}
.quote-refined .quote-form-bottom{display:flex;align-items:flex-end;gap:24px;justify-content:space-between}
.quote-refined .f-consent{flex:1;color:#fff9ec;margin:2px 0 0;font-size:11px}
.quote-refined .f-consent b{color:#fff}
.quote-refined .f-consent input{accent-color:white}
.quote-refined .refined-submit{margin:0;flex:0 0 auto;background:linear-gradient(100deg,#db470b,#b92f07);border-radius:32px;padding:13px 19px;white-space:nowrap;min-height:48px;font-size:13px}
.quote-refined .form-feedback{color:#fff}
.quote-refined .f-disclaimer{color:#fffbf2d9;margin-top:4px}
.devis-map-follow{display:grid;grid-template-columns:40% 60%;gap:28px;margin-top:36px;align-items:stretch}
.devis-map-follow .devis-side-note{height:100%;background:transparent;border-radius:0;padding:26px 20px 22px 0}
.devis-map-follow .devis-side-note h2{font-size:clamp(1.85rem,2.9vw,2.75rem);margin:12px 0 18px}
.devis-map-follow .devis-side-note p{font-size:15px;max-width:480px}
.devis-map-follow .map-card{min-height:340px}
.devis-map-follow .map-card iframe{min-height:290px}

@media(max-width:1100px){
 .reference-home-hero .home-hero-layout{min-height:330px;grid-template-columns:29% 42% 29%}
 .reference-home-hero .hero-photo{min-height:330px}
 .reference-home-hero .hero-copy{padding:27px 25px 25px 30px}
 .reference-home-hero h1{font-size:clamp(1.85rem,3.1vw,2.55rem)}
 .reference-home-hero .hero-sticker{min-width:0;left:6%;padding:15px 19px;font-size:clamp(1.1rem,1.9vw,1.4rem)}
 .reference-contact-form .lead-form{padding:25px}
 .reference-quote-form{padding:35px 26px}
 .quote-refined .quote-form-bottom{gap:14px}
 .quote-refined .refined-submit{font-size:12px;padding:11px}
}
@media(max-width:820px){
 .reference-contact-card{grid-template-columns:1fr;min-height:0}
 .reference-contact-promo{max-height:510px;justify-content:center;overflow:hidden}
 .reference-contact-promo>img{width:100%;height:auto;max-width:600px;object-fit:contain}
 .reference-contact-form .lead-form{padding:29px 27px}
 .reference-quote-card{grid-template-columns:1fr;min-height:0}
 .reference-quote-promo{min-height:300px;align-items:flex-end;padding:30px 36px 26px}
 .quote-orb-primary{width:64%;left:-10%;top:-60%}
 .quote-orb-small{width:28%;right:5%;top:-10%}
 .quote-promo-copy{margin:0}
 .quote-promo-copy h2{font-size:2.8rem}
 .quote-promo-copy p{font-size:1rem}
 .reference-quote-form{padding:30px 36px}
 .contact-map-follow,.devis-map-follow{grid-template-columns:1fr}
 .devis-map-follow>div:first-child{order:0}
 .devis-map-follow>div:last-child{order:1}
 .reference-home-hero .home-hero-layout{grid-template-columns:1fr 1fr;grid-template-rows:auto 225px;min-height:0}
 .reference-home-hero .hero-copy{grid-column:1/-1;grid-row:1;padding:32px 25px 34px;text-align:center;align-items:center}
 .reference-home-hero .hero-copy:after,.reference-home-hero .hero-dot{display:none}
 .reference-home-hero .hero-photo{min-height:225px}
 .reference-home-hero .hero-photo-left{grid-row:2;grid-column:1}
 .reference-home-hero .hero-photo-right{grid-row:2;grid-column:2}
 .reference-home-hero .hero-photo-left>img{border-radius:0 45px 0 0;clip-path:none}
 .reference-home-hero .hero-photo-right>img{top:0;left:0;width:100%;height:100%;border-radius:45px 0 0 0}
 .reference-home-hero .hero-photo-right:before,.reference-home-hero .hero-photo-right:after{display:none}
 .reference-home-hero .hero-sticker{bottom:13px;left:9px;padding:13px 14px;font-size:14px}
}
@media(max-width:560px){
 .reference-home-hero .hero-copy{padding:29px 14px 30px}
 .reference-home-hero h1{font-size:clamp(1.85rem,7.1vw,2.45rem);margin:12px 0}
 .reference-home-hero .hero-copy p{font-size:13px}
 .reference-home-hero .hero-photo{min-height:178px}
 .reference-home-hero .home-hero-layout{grid-template-rows:auto 178px}
 .reference-home-hero .hero-sticker{font-size:12px;padding:9px 11px;border-radius:24px;line-height:1.1;left:5px;bottom:9px;min-width:0}
 .reference-contact-section,.reference-devis-section{padding:34px 0 43px}
 .reference-contact-card{border-radius:20px}
 .reference-contact-promo{max-height:none}
 .reference-contact-promo>img{height:auto;max-height:none;object-fit:contain}
 .reference-contact-form .lead-form{padding:25px 17px}
 .refined-form h2{font-size:1.85rem}
 .refined-form .refined-two{grid-template-columns:1fr;gap:11px;margin-bottom:11px}
 .refined-form .f-pill{min-height:45px;margin-bottom:11px}
 .refined-form .f-message textarea{min-height:88px!important}
 .refined-form .f-file .file-label{white-space:normal;font-size:11px}
 .refined-form .file-label small{font-size:9px}
 .refined-form .file-button{padding:7px 10px;font-size:11px}
 .contact-map-follow,.devis-map-follow{gap:15px;margin-top:22px}
 .contact-map-follow .map-note-card{padding:22px}
 .reference-quote-card{border-radius:23px}
 .reference-quote-promo{min-height:240px;padding:31px 20px 28px}
 .quote-orb-primary{top:-50%;width:84%;left:-23%}
 .quote-promo-copy h2{font-size:2.35rem}
 .quote-promo-copy p{font-size:.92rem}
 .quote-short-rule{margin:14px 0}
 .reference-quote-form{padding:25px 17px 27px}
 .quote-refined .f-pill{padding:0 12px;min-height:47px}
 .quote-refined .f-pill input:not([type=checkbox]):not([type=file]),.quote-refined .f-pill textarea{font-size:13px}
 .quote-refined .quote-form-bottom{flex-direction:column;align-items:stretch;gap:14px}
 .quote-refined .refined-submit{align-self:flex-end;font-size:13px}
 .devis-map-follow .devis-side-note{padding:10px}
}
@media(prefers-reduced-motion:reduce){
 .refined-form .f-pill,.refined-form .refined-submit{transition:none}
}
/* Final alignment corrections for pill controls and the contact reference panel. */
@media(min-width:821px){
 .reference-home-hero h1{font-size:clamp(1.85rem,2.5vw,2.4rem)}
}
.refined-form label.f-pill{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:14px;font-weight:500;margin-bottom:13px}
.refined-form label.f-message{align-items:flex-start}
.refined-form label.f-file{align-items:center}
.refined-form label.f-consent{display:flex;flex-direction:row;align-items:flex-start;gap:11px;margin:14px 0 20px;font-size:12px;font-weight:500}
.reference-contact-promo{align-items:flex-start}
.reference-contact-promo>img{height:auto;object-fit:contain;align-self:flex-start}
.quote-refined .f-consent{margin:1px 0 0}
@media(max-width:560px){
 .refined-form label.f-pill{margin-bottom:11px}
 .refined-form label.f-consent{font-size:11px}
}
@media(min-width:821px){
 .reference-home-hero .hero-photo-right>img{object-fit:contain;object-position:center center;background:transparent;}
}
