
:root{
  --navy:#0b1f2f; --navy2:#14364b; --red:#e53935; --red2:#c92f2c;
  --yellow:#ffd447; --ink:#172532; --muted:#657480; --soft:#f6f8fa; --line:#e6ebef;
  --white:#fff; --shadow:0 18px 48px rgba(11,31,47,.10); --radius:22px; --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.nav{height:82px;display:flex;align-items:center;gap:22px}
.brand img{height:58px;width:auto}
.menu{margin-left:auto;display:flex;align-items:center;gap:22px;font-weight:800;color:#354550}
.menu a:hover,.menu a.active{color:var(--red)}
.nav-right{display:flex;align-items:center;gap:12px}
.phone{font-weight:900;color:var(--navy)}
.btn{border:0;border-radius:12px;min-height:48px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;cursor:pointer}
.btn-primary{background:var(--red);color:#fff}.btn-primary:hover{background:var(--red2)}
.btn-outline{border:1px solid rgba(255,255,255,.38);color:#fff}
.btn-light{background:#fff;color:var(--navy)}
.btn-outline-dark{border:1px solid #cbd4db;background:#fff;color:var(--navy)}
.toggle{display:none;margin-left:auto;border:0;background:#fff;font-size:1.55rem}
.hero{background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff;overflow:hidden}
.hero-grid{min-height:610px;display:grid;grid-template-columns:1.02fr .98fr;gap:50px;align-items:center}
.hero-copy{padding:80px 0}
.eyebrow{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:900;color:var(--red)}
.hero .eyebrow{color:var(--yellow)}
.eyebrow:before{content:"";width:28px;height:3px;border-radius:99px;background:var(--yellow)}
h1,h2,h3{line-height:1.08;margin:0 0 16px}
h1{font-size:clamp(2.7rem,6vw,5rem);letter-spacing:-.045em}
h2{font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.03em}
h3{font-size:1.25rem}
.lead{font-size:clamp(1.05rem,1.8vw,1.25rem);color:#dae4ea;max-width:720px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.badge{padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.05);font-size:.92rem}
.hero-visual{min-height:500px;border-radius:28px;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:0 28px 80px rgba(0,0,0,.22)}
.section{padding:80px 0}.soft{background:var(--soft)}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 10px 30px rgba(11,31,47,.05)}
.icon{width:50px;height:50px;border-radius:14px;background:#fff3c5;color:var(--red);display:grid;place-items:center;font-size:1.3rem;font-weight:900;margin-bottom:16px}
.muted{color:var(--muted)}.service-link{color:var(--red);font-weight:900}
.list{padding:0;margin:14px 0 0;list-style:none}.list li{position:relative;padding:8px 0 8px 28px;border-bottom:1px dashed #e5eaee}.list li:before{content:"✓";position:absolute;left:0;color:var(--red);font-weight:900}
.page-hero{padding:78px 0;background:linear-gradient(135deg,var(--navy),#12364b);color:#fff}
.page-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.page-photo{min-height:340px;border-radius:26px;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:var(--shadow)}
.cta{background:linear-gradient(135deg,var(--red),#c52826);color:#fff;border-radius:28px;padding:40px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.form-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}
label{font-size:.91rem;font-weight:800;color:#34434e}
input,select,textarea{width:100%;padding:13px 14px;border:1px solid #cfd8df;border-radius:11px;background:#fff;outline:none}
textarea{min-height:125px;resize:vertical}
.footer{background:#081824;color:#d6e1e8;padding:56px 0 22px}.footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1.15fr;gap:32px}.footer h4{color:#fff;margin:0 0 12px}.footer a{display:block;margin:7px 0}.footer-bottom{margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;gap:20px;font-size:.9rem;color:#9fb0bc}
.mobile-cta{display:none}
@media(max-width:980px){.menu{display:none;position:fixed;top:82px;left:0;right:0;background:#fff;padding:22px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.menu.open{display:flex}.toggle{display:block}.phone{display:none}.hero-grid,.page-hero-grid{grid-template-columns:1fr}.hero-grid{padding-bottom:58px}.hero-copy{padding:60px 0 4px}.hero-visual{min-height:430px}.grid4{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.container{width:min(var(--max),calc(100% - 28px))}.nav{height:72px}.brand img{height:46px}.menu{top:72px}.nav-right .btn-primary{display:none}.section{padding:58px 0}.hero-visual{min-height:365px;background-position:center}.grid4,.grid3,.grid2,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.cta{padding:28px 22px;flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.mobile-cta{position:fixed;display:grid;grid-template-columns:1fr 1fr;gap:10px;left:12px;right:12px;bottom:12px;z-index:60;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:0 12px 35px rgba(11,31,47,.2)}body{padding-bottom:82px}}

/* V7 ACCUEIL — reconstruction fidèle de la maquette validée */
.home-hero{background:linear-gradient(115deg,#0a1c29 0%,#0d2637 58%,#12364b 100%);color:#fff;overflow:hidden}
.home-hero .hero-grid{min-height:560px;grid-template-columns:1.05fr .95fr;gap:34px}
.home-hero .hero-copy{padding:66px 0}
.home-hero h1{font-size:clamp(2.75rem,5.2vw,4.65rem);max-width:680px}
.home-hero .hero-visual{min-height:510px;border-radius:0;box-shadow:none;background-size:cover;background-position:center 18%}
.home-services .section-title{text-align:center;max-width:760px;margin:0 auto 34px}
.home-services .grid4{align-items:stretch}
.service-card{padding:0;overflow:hidden}
.service-card .service-thumb{height:160px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f5f7f8,#e7edf1);display:grid;place-items:center}
.service-card .service-thumb .icon{margin:0;width:64px;height:64px;font-size:1.6rem}
.service-card .card-content{padding:24px}
.why{background:#f7f8fa}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;text-align:center;margin-top:36px}
.why-item{padding:10px 16px}.why-item .icon{margin:0 auto 16px}
.about-band{background:#fff}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.about-photo{min-height:360px;border-radius:22px;background:url('hero-services.jpg') center/cover no-repeat;box-shadow:var(--shadow)}
.about-copy .list{max-width:520px}
.home-cta{background:var(--yellow);padding:30px 0}
.home-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.home-cta h2{font-size:clamp(1.65rem,3vw,2.45rem);margin:0;color:var(--navy)}
.home-cta p{margin:4px 0 0;color:#39434a}
.home-cta .btn{background:var(--red);color:#fff}
.footer-logo{width:120px;height:auto;margin-bottom:12px;background:#fff;border-radius:8px;padding:5px}
.footer .legal-links a{display:inline;margin-right:12px}
@media(max-width:980px){
 .home-hero .hero-grid,.about-grid{grid-template-columns:1fr}
 .home-hero .hero-visual{min-height:430px;border-radius:24px;margin-bottom:52px}
 .why-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
 .home-hero .hero-grid{min-height:auto}
 .home-hero .hero-copy{padding:50px 0 20px}
 .home-hero .hero-visual{min-height:390px;background-position:56% 18%;margin-bottom:36px}
 .why-grid{grid-template-columns:1fr}
 .home-cta-inner{flex-direction:column;align-items:flex-start}
 .about-photo{min-height:300px}
}

/* V8 SERVICES — fidèle à la maquette validée */
.services-hero{padding:78px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.services-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:42px;align-items:center}
.services-hero .page-photo{min-height:380px;background-image:url('hero-services.jpg');background-position:center;background-size:cover}
.services-intro{text-align:center;max-width:780px;margin:0 auto 34px}
.services-categories{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.services-category{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 12px 34px rgba(11,31,47,.06)}
.services-category h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.services-category .list li{padding-top:10px;padding-bottom:10px}
.services-category.pro{border-top:5px solid var(--red)}
.services-category.part{border-top:5px solid var(--yellow)}
.services-category.spec{border-top:5px solid #263847}
.services-category.punct{border-top:5px solid #d3aa17}
.services-note{margin-top:28px;padding:20px 22px;border-radius:16px;background:#fff8d7;border:1px solid #f1dd84;color:#4c431a}
.services-cta{margin-top:42px}
@media(max-width:900px){.services-hero-grid,.services-categories{grid-template-columns:1fr}.services-hero .page-photo{min-height:360px}}

/* V9 PROFESSIONNELS */
.pro-hero{padding:78px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.pro-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:42px;align-items:center}
.pro-hero .page-photo{min-height:390px;background-image:url('hero-professionnels.jpg');background-position:center 22%;background-size:cover}
.pro-intro{text-align:center;max-width:780px;margin:0 auto 36px}
.pro-sector-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pro-sector{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 10px 30px rgba(11,31,47,.05);position:relative;overflow:hidden}
.pro-sector:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--yellow)}
.pro-sector h3{margin-bottom:9px}
.pro-process{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:34px}
.pro-step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.pro-step .step-num{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900;margin-bottom:15px}
.pro-benefit{background:linear-gradient(135deg,#0b1f2f,#173b50);color:#fff;border-radius:26px;padding:38px}
.pro-benefit .list li{border-color:rgba(255,255,255,.15)}
.pro-benefit .list li:before{color:var(--yellow)}
@media(max-width:950px){.pro-hero-grid{grid-template-columns:1fr}.pro-sector-grid{grid-template-columns:repeat(2,1fr)}.pro-process{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.pro-sector-grid,.pro-process{grid-template-columns:1fr}.pro-hero .page-photo{min-height:360px;background-position:center}}

/* V10 PARTICULIERS */
.part-hero{padding:78px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.part-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:42px;align-items:center}
.part-hero .page-photo{min-height:400px;background-image:url('hero-particuliers.jpg');background-position:center 24%;background-size:cover}
.part-intro{text-align:center;max-width:780px;margin:0 auto 36px}
.part-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.part-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:27px;box-shadow:0 10px 30px rgba(11,31,47,.05);position:relative;overflow:hidden}
.part-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--yellow)}
.part-card h3{margin-bottom:9px}
.part-highlight{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}
.part-info{background:linear-gradient(135deg,#0b1f2f,#173b50);color:#fff;border-radius:26px;padding:38px}
.part-info .list li{border-color:rgba(255,255,255,.15)}
.part-info .list li:before{color:var(--yellow)}
.part-process{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}
.part-step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px}
.part-step strong{display:block;color:var(--red);font-size:1.3rem;margin-bottom:7px}
@media(max-width:950px){.part-hero-grid,.part-highlight{grid-template-columns:1fr}.part-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.part-grid,.part-process{grid-template-columns:1fr}.part-hero .page-photo{min-height:360px;background-position:center}}

/* V11 À PROPOS */
.about-hero{padding:78px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.about-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:42px;align-items:center}
.about-hero .page-photo{min-height:390px;background-image:url('hero-services.jpg');background-position:center;background-size:cover}
.about-story{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.about-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:var(--shadow)}
.about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
.about-value{background:#fff;border:1px solid var(--line);border-radius:20px;padding:27px;text-align:center}
.about-value .icon{margin:0 auto 16px}
.about-zone{background:linear-gradient(135deg,#0b1f2f,#173b50);color:#fff;border-radius:26px;padding:38px}
.about-zone .list li{border-color:rgba(255,255,255,.15)}
.about-zone .list li:before{color:var(--yellow)}
@media(max-width:900px){.about-hero-grid,.about-story{grid-template-columns:1fr}.about-values{grid-template-columns:1fr}}

/* V12 CONTACT */
.contact-hero{padding:72px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.contact-hero-inner{max-width:820px}
.contact-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:34px;align-items:start}
.contact-stack{display:grid;gap:18px}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 10px 28px rgba(11,31,47,.05)}
.contact-card .icon{margin-bottom:13px}
.contact-card a{font-weight:850;color:var(--navy)}
.contact-card a:hover{color:var(--red)}
.contact-form{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:var(--shadow)}
.contact-form .form-grid{margin-top:24px}
.contact-hours{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.hour-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-align:center}
.contact-zone{background:linear-gradient(135deg,#0b1f2f,#173b50);color:#fff;border-radius:26px;padding:36px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.contact-zone p{color:#d7e2e8;margin-bottom:0}
.form-help{font-size:.86rem;color:var(--muted);margin-top:12px}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr}.contact-hours{grid-template-columns:1fr}.contact-zone{flex-direction:column;align-items:flex-start}}

/* V13 DEVIS */
.quote-hero{padding:72px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.quote-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:42px;align-items:center}
.quote-hero .page-photo{min-height:390px;background-image:url('hero-devis.jpg');background-position:center;background-size:cover}
.quote-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:30px;align-items:start}
.quote-form{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:var(--shadow)}
.quote-form fieldset{border:0;padding:0;margin:0 0 30px}
.quote-form legend{font-size:1.28rem;font-weight:900;color:var(--navy);margin-bottom:17px}
.quote-section{padding-bottom:27px;margin-bottom:27px;border-bottom:1px solid var(--line)}
.quote-section:last-of-type{border-bottom:0}
.quote-side{display:grid;gap:18px;position:sticky;top:105px}
.quote-side-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px}
.quote-side-card.dark{background:linear-gradient(135deg,#0b1f2f,#173b50);color:#fff;border:0}
.quote-side-card.dark .muted{color:#d5e0e7}
.quote-side-card .list li:last-child{border-bottom:0}
.quote-check{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;color:var(--muted)}
.quote-check input{width:auto;margin-top:5px}
.quote-submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.quote-disclaimer{font-size:.83rem;color:var(--muted);margin:0}
@media(max-width:950px){.quote-hero-grid,.quote-layout{grid-template-columns:1fr}.quote-side{position:static}.quote-hero .page-photo{min-height:360px}}

.legal-hero{padding:68px 0;background:linear-gradient(135deg,#0b1f2f,#12364b);color:#fff}
.legal-wrap{max-width:900px;margin:auto}
.legal-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;margin-bottom:22px;box-shadow:0 8px 24px rgba(11,31,47,.04)}
.legal-card h2{font-size:1.55rem}
.legal-todo{background:#fff7d9;border:1px solid #f1dc7d;border-radius:14px;padding:16px 18px;color:#51481d}

/* V15 OUTIL INTERNE DEVIS */
.admin-quote{background:#eef2f5;min-height:100vh;padding:38px 0}
.admin-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}
.admin-bar img{width:120px;background:#fff;border-radius:10px;padding:6px}
.admin-grid{display:grid;grid-template-columns:1fr .88fr;gap:26px;align-items:start}
.admin-form,.quote-preview{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow)}
.admin-form h2{font-size:1.35rem;margin-top:28px;border-bottom:1px solid var(--line);padding-bottom:10px}
.line-row{display:grid;grid-template-columns:2fr .65fr .8fr 44px;gap:8px;align-items:end;margin-bottom:10px}
.line-row button{height:46px;border:0;border-radius:10px;background:#f4e7e7;cursor:pointer;font-size:1.2rem}
.quote-preview{position:sticky;top:20px}
.quote-paper{border:1px solid #dce2e6;border-radius:14px;padding:28px;min-height:760px}
.quote-head{display:flex;justify-content:space-between;gap:25px;border-bottom:3px solid var(--yellow);padding-bottom:18px}
.quote-head img{width:135px;height:auto;object-fit:contain}
.quote-title{text-align:right}.quote-title h1{font-size:2rem;margin:0}.quote-title strong{color:var(--red)}
.quote-client{margin:28px 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.quote-table{width:100%;border-collapse:collapse;margin:22px 0}
.quote-table th,.quote-table td{padding:11px 8px;border-bottom:1px solid #e4e8eb;text-align:left;font-size:.9rem}
.quote-table th{background:#f5f7f8}
.quote-table .num{text-align:right;white-space:nowrap}
.quote-total{margin-left:auto;max-width:310px}
.quote-total div{display:flex;justify-content:space-between;padding:7px 0}
.quote-total .grand{border-top:2px solid var(--navy);font-size:1.2rem;font-weight:900}
.quote-note{margin-top:28px;padding:14px;background:#fff8d8;border-radius:10px;font-size:.86rem}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
@media print{
 body *{visibility:hidden}
 #quotePreview,#quotePreview *{visibility:visible}
 #quotePreview{position:absolute;left:0;top:0;width:100%;box-shadow:none;border:0}
 .quote-paper{border:0}
}
@media(max-width:1000px){.admin-grid{grid-template-columns:1fr}.quote-preview{position:static}}
@media(max-width:680px){.line-row{grid-template-columns:1fr 1fr}.line-row .desc{grid-column:1/-1}.quote-client{grid-template-columns:1fr}.quote-head{flex-direction:column}.quote-title{text-align:left}}

/* V17 - logo dédié au devis imprimé */
.quote-head .quote-print-logo{
  width:190px;
  max-width:42mm;
  height:auto;
  object-fit:contain;
  object-position:left center;
}
@media print{
  .quote-head .quote-print-logo{
    width:42mm;
    max-width:42mm;
    height:auto;
  }
}


/* V31.2.1 — lisibilité des grands titres SEO */
.services-hero h1,
.pro-hero h1,
.part-hero h1{
  font-size:clamp(2.35rem,4.4vw,4rem);
  line-height:1.04;
  max-width:760px;
}
@media(max-width:900px){
  .services-hero h1,
  .pro-hero h1,
  .part-hero h1{
    font-size:clamp(2.2rem,7vw,3.5rem);
  }
}

/* V32.1 — catalogue visuel Accueil + Services */
.service-showcase .service-card{transition:transform .25s ease,box-shadow .25s ease}
.service-showcase .service-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(11,31,47,.12)}
.service-card .service-thumb{height:205px;background-position:center;background-size:cover}
.service-img-particuliers{background-image:url('service-particuliers.jpg')!important;background-position:center;background-size:cover}
.service-img-professionnels{background-image:url('service-professionnels.jpg')!important;background-position:center;background-size:cover}
.service-img-specialises{background-image:url('service-specialises.jpg')!important;background-position:center;background-size:cover}
.service-img-ponctuels{background-image:url('service-ponctuels.jpg')!important;background-position:center;background-size:cover}
.service-kicker{display:block;margin-bottom:7px;color:#a77f00;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.services-more{text-align:center;margin-top:30px}
.service-family-stack{display:grid;gap:30px;margin-top:36px}
.service-family{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 12px 34px rgba(11,31,47,.06)}
.service-family.reverse{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
.service-family.reverse .family-media{order:2}
.service-family.reverse .family-content{order:1}
.family-media{min-height:330px;background-position:center;background-size:cover}
.family-content{padding:38px;display:flex;flex-direction:column;justify-content:center}
.family-content h2{font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:10px}
.service-pills{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 22px}
.service-pills span{padding:8px 12px;border:1px solid #e5e8ea;border-radius:999px;background:#f7f8f9;font-size:.91rem;font-weight:650;color:#263847}
@media(max-width:900px){.service-family,.service-family.reverse{grid-template-columns:1fr}.service-family.reverse .family-media,.service-family.reverse .family-content{order:initial}.family-media{min-height:250px}.family-content{padding:26px}.service-card .service-thumb{height:190px}}
@media(max-width:560px){.family-media{min-height:220px}.service-pills{gap:7px}.service-pills span{font-size:.84rem;padding:7px 10px}}

/* V32.1.1 — accueil : header compact + hero immersif */
@media(min-width:981px){
 .header{background:#08141d;border-bottom:1px solid rgba(255,255,255,.09);backdrop-filter:none}
 .nav{height:68px;gap:16px;max-width:1380px}
 .brand{flex:0 0 auto;background:#fff;border-radius:8px;padding:3px 7px}
 .brand img{height:50px}
 .menu{gap:17px;color:#fff;font-size:.88rem;white-space:nowrap}
 .menu a:hover,.menu a.active{color:var(--yellow)}
 .nav-right{gap:10px}
 .nav-right .phone{color:#fff;font-size:.92rem;white-space:nowrap}
 .nav-right .btn-primary{background:var(--yellow);color:#071824;min-height:42px;padding:0 16px}
 .nav-right .btn-primary:hover{background:#f4c52d}
}
.home-hero{position:relative;background:#081824 url('hero-accueil.jpg') center 30%/cover no-repeat;isolation:isolate}
.home-hero:before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(5,18,28,.97) 0%,rgba(5,18,28,.88) 42%,rgba(5,18,28,.38) 70%,rgba(5,18,28,.12) 100%)}
.home-hero .hero-grid{position:relative;z-index:1;display:flex;align-items:center;min-height:570px}
.home-hero .hero-copy{width:min(660px,58%);padding:64px 0}
.home-hero .hero-visual{display:none}
.home-hero .eyebrow{color:#fff}
.home-hero h1{font-size:clamp(3rem,5vw,4.65rem);max-width:650px;text-shadow:0 2px 18px rgba(0,0,0,.18)}
.home-hero .lead{max-width:620px;color:#f0f4f6}
.home-hero .btn-primary{background:var(--yellow);color:#081824}
.home-hero .btn-primary:hover{background:#f4c52d}
.home-hero .btn-light{background:#fff;color:#081824}
.home-services{padding-top:68px}
.service-card{transition:transform .2s ease,box-shadow .2s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(11,31,47,.11)}
.service-card .service-thumb{height:205px}
@media(max-width:980px){
 .home-hero{background-position:62% center}
 .home-hero:before{background:linear-gradient(90deg,rgba(5,18,28,.94),rgba(5,18,28,.64))}
 .home-hero .hero-grid{min-height:auto;padding-bottom:0}
 .home-hero .hero-copy{width:100%;max-width:650px;padding:62px 0}
 .home-hero .hero-visual{display:none}
}
@media(max-width:680px){
 .home-hero{background-position:66% center}
 .home-hero:before{background:rgba(5,18,28,.76)}
 .home-hero .hero-copy{padding:48px 0}
 .home-hero h1{font-size:clamp(2.55rem,12vw,3.5rem)}
 .service-card .service-thumb{height:210px}
}

/* V32.1.2 — correctif hero propre, sans maquette intégrée */
.home-hero{min-height:570px}
.home-hero .hero-copy>*{position:relative;z-index:2}
@media(min-width:981px) and (max-width:1250px){
 .menu{gap:12px;font-size:.82rem}
 .nav-right .phone{display:none}
 .nav-right .btn-primary{padding:0 14px}
}
@media(max-width:980px){
 .header{background:#fff}
 .home-hero{min-height:auto;background-position:64% center}
 .home-hero .hero-grid{display:block}
 .home-hero .hero-copy{width:100%;max-width:620px}
}
@media(max-width:680px){
 .home-hero{background-position:62% center}
 .home-hero .hero-copy{padding:44px 0 48px}
 .home-hero .lead{font-size:1rem}
}

/* V32.1.3 — hero accueil : cadrage fidèle à l'image source */
.home-hero{
  background-size:cover;
  background-position:center center;
}

/* Sur les grands écrans très larges, afficher l'image entière horizontalement
   afin de conserver la zone sombre à gauche et les deux agents à droite. */
@media(min-width:1400px){
  .home-hero{
    background-size:100% auto;
    background-position:center center;
  }
}

/* Tablette : priorité à l'agente principale tout en conservant la zone texte. */
@media(max-width:980px){
  .home-hero{
    background-size:cover;
    background-position:64% center;
  }
}

/* Mobile : cadrage dédié, sans modifier l'image source. */
@media(max-width:680px){
  .home-hero{
    background-size:cover;
    background-position:61% center;
  }
}



/* V32.1.4 — Hero accueil : cadrage stable de l'image source */
.home-hero{
  background-image:url('hero-accueil.jpg');
  background-repeat:no-repeat;
  background-color:#081824;
  background-size:cover;
  background-position:center center;
}

/* Écrans desktop : l'image source est très panoramique.
   On conserve sa composition et la zone sombre prévue pour le texte. */
@media(min-width:981px){
  .home-hero{
    background-size:cover;
    background-position:center center;
  }
  .home-hero:before{
    background:linear-gradient(90deg,rgba(5,18,28,.90) 0%,rgba(5,18,28,.72) 34%,rgba(5,18,28,.20) 58%,rgba(5,18,28,0) 78%);
  }
}

/* Très grands écrans : éviter le zoom excessif de la photo panoramique. */
@media(min-width:1600px){
  .home-hero{
    background-size:auto 100%;
    background-position:center center;
  }
}

/* Tablette */
@media(max-width:980px){
  .home-hero{
    background-size:cover;
    background-position:60% center;
  }
}

/* Mobile */
@media(max-width:680px){
  .home-hero{
    background-size:cover;
    background-position:58% center;
  }
}

/* V32.1.5 — Hero accueil : afficher l'image complète sans recadrage */
@media(min-width:981px){
  .home-hero{
    min-height:570px;
    background-image:url('hero-accueil.jpg');
    background-size:contain;
    background-position:center center;
    background-repeat:no-repeat;
    background-color:#081824;
  }
  .home-hero .hero-grid{
    min-height:570px;
  }
  .home-hero:before{
    background:linear-gradient(90deg,rgba(5,18,28,.90) 0%,rgba(5,18,28,.68) 32%,rgba(5,18,28,.16) 57%,rgba(5,18,28,0) 78%);
  }
}

/* V32.1.7 — Hero accueil mobile final : desktop inchangé */
@media(max-width:680px){
  .home-hero{
    position:relative;
    min-height:0;
    background-image:url('hero-accueil.jpg');
    background-size:cover;
    background-position:62% center;
    background-repeat:no-repeat;
    background-color:#081824;
    overflow:hidden;
  }
  .home-hero:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:linear-gradient(180deg,
      rgba(5,18,28,.90) 0%,
      rgba(5,18,28,.84) 42%,
      rgba(5,18,28,.70) 70%,
      rgba(5,18,28,.58) 100%);
  }
  .home-hero .hero-grid{
    position:relative;
    z-index:1;
    min-height:0;
    display:block;
  }
  .home-hero .hero-visual{display:none}
  .home-hero .hero-copy{
    width:100%;
    max-width:none;
    padding:28px 0 118px;
  }
  .home-hero .eyebrow{
    font-size:.76rem;
    line-height:1.35;
    letter-spacing:.09em;
  }
  .home-hero h1{
    max-width:100%;
    margin-top:12px;
    font-size:clamp(2.1rem,9.6vw,2.65rem);
    line-height:1.03;
  }
  .home-hero .lead{
    max-width:100%;
    margin-top:16px;
    font-size:.95rem;
    line-height:1.5;
  }
  .home-hero .hero-actions{margin-top:20px;gap:10px}
  .home-hero .hero-actions .btn{
    min-height:48px;
    padding:11px 16px;
    font-size:.94rem;
  }
  .home-hero .badges{margin-top:16px;gap:8px}
  .home-hero .badge{padding:7px 10px;font-size:.80rem}
}

