@charset "UTF-8";
/* ==========================================================================
   MAROC HYGIÈNE — Design system V2
   Palette extraite du logo officiel : vert #275032, rouge #CC021A
   ========================================================================== */

:root{
  /* Marque */
  --vert:#275032;
  --vert-fonce:#16301E;
  --vert-nuit:#0E2114;
  --vert-vif:#357045;
  --rouge:#CC021A;
  --rouge-fonce:#A30115;
  --vert-pale:#EAF1EC;
  --vert-pale-2:#F4F8F5;

  /* Neutres */
  --encre:#16211A;
  --texte:#30403A;
  --gris:#5B6B61;
  --ligne:#DCE5DF;
  --blanc:#FFFFFF;
  --wa:#1FA855;

  --font-titre:'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-texte:'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s:6px; --r-m:12px; --r-l:18px;
  --wrap:1200px;
  --ease:cubic-bezier(.22,.8,.26,1);
  --header-h:84px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px);-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-texte);font-size:1.0625rem;line-height:1.6;color:var(--encre);background:var(--blanc);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:var(--vert);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--font-titre);line-height:1.15;margin:0;color:var(--vert-fonce);letter-spacing:-.01em}
p{margin:0 0 1em}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--vert-vif);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;background:var(--vert-fonce);color:#fff;padding:10px 16px;border-radius:var(--r-s);z-index:200}
.skip:focus{top:12px}
hr{border:0;border-top:1px solid var(--ligne);margin:32px 0}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 24px;border-radius:var(--r-s);font-family:var(--font-titre);font-weight:700;font-size:.95rem;border:2px solid transparent;transition:transform .2s var(--ease),background-color .2s,border-color .2s,color .2s;text-decoration:none!important;white-space:nowrap;cursor:pointer}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{background:var(--vert);color:#fff}
.btn-primary:hover{background:var(--vert-fonce)}
.btn-urgent{background:var(--rouge);color:#fff}
.btn-urgent:hover{background:var(--rouge-fonce)}
.btn-ghost{border-color:rgba(255,255,255,.7);color:#fff;background:rgba(255,255,255,.08)}
.btn-ghost:hover{background:#fff;color:var(--vert-fonce)}
.btn-outline{border-color:var(--vert);color:var(--vert);background:transparent}
.btn-outline:hover{background:var(--vert);color:#fff}
.btn-white{background:#fff;color:var(--vert-fonce)}
.btn-white:hover{background:var(--vert-pale)}
.btn:active{transform:translateY(1px)}
.btn[disabled],.btn[aria-disabled=true]{opacity:.65;pointer-events:none}

/* ---------- Barre haute ---------- */
.topbar{background:var(--rouge);color:#fff;font-size:.9rem}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px}
.topbar a{color:#fff}
.topbar-call{display:inline-flex;align-items:center;gap:8px}
.topbar-call em{font-style:italic;opacity:.92}
.topbar-call .court{display:none}
.topbar-call strong{font-family:var(--font-titre);letter-spacing:.02em}
.socials{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.socials a{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;transition:background-color .2s}
.socials a:hover{background:rgba(255,255,255,.22)}
.socials svg{width:16px;height:16px;fill:currentColor}

/* ---------- En-tête ---------- */
.header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--ligne);transition:box-shadow .25s}
.header.scrolled{box-shadow:0 6px 24px -12px rgba(22,48,30,.35)}
.header .wrap{display:flex;align-items:center;gap:24px;height:var(--header-h);transition:height .25s var(--ease)}
.header.scrolled .wrap{height:68px}
.logo{display:flex;align-items:center;flex:none;height:60px}
.logo img{height:100%;width:auto;object-fit:contain}
.nav{margin-left:auto}
.nav>ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.nav>ul>li{position:relative}
.nav-link{display:flex;align-items:center;gap:6px;padding:10px 12px;font-family:var(--font-titre);font-weight:700;font-size:.9rem;color:var(--vert-fonce);background:none;border:0;border-radius:var(--r-s);white-space:nowrap}
.nav-link:hover{background:var(--vert-pale);text-decoration:none;color:var(--vert)}
.nav-link.actif{color:var(--vert);box-shadow:inset 0 -3px 0 var(--rouge)}
.nav-link .chev{width:12px;height:12px;transition:transform .2s}
.nav-link[aria-expanded="true"] .chev{transform:rotate(180deg)}
.header-cta{display:flex;align-items:center;gap:10px}
.header-phone{display:flex;flex-direction:column;line-height:1.15;color:var(--vert-fonce);font-size:.78rem;white-space:nowrap}
.header-phone strong{font-family:var(--font-titre);font-size:1.02rem;color:var(--rouge)}
.header-phone:hover{text-decoration:none}

/* Méga-menu */
.mega{position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%,8px);width:740px;background:#fff;border:1px solid var(--ligne);border-radius:var(--r-m);box-shadow:0 24px 48px -20px rgba(22,48,30,.4);padding:24px;display:grid;grid-template-columns:1.15fr 1fr;gap:28px;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s var(--ease),visibility .2s}
.mega::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.mega.open{opacity:1;visibility:visible;transform:translate(-50%,0)}
.mega h2{font-size:.82rem;color:var(--gris);font-weight:700;margin-bottom:10px}
.mega ul{list-style:none;margin:0;padding:0}
.mega-pests{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px}
.mega a{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:var(--r-s);color:var(--encre);font-weight:600;font-size:.97rem;white-space:nowrap}
.mega a:hover{background:var(--vert-pale);color:var(--vert);text-decoration:none}
.mega .mini{width:26px;height:26px;flex:none;display:grid;place-items:center;color:var(--vert)}
.mega .mini>*{width:26px;height:26px}
.mega-h2-suite{margin-top:18px;padding-top:14px;border-top:1px solid var(--ligne)}

.burger{display:none;margin-left:auto;width:48px;height:48px;border:0;border-radius:var(--r-s);background:var(--vert-pale);color:var(--vert-fonce)}
.burger svg{width:24px;height:24px;margin:auto}

/* ---------- Hero accueil ---------- */
.hero{position:relative;isolation:isolate;min-height:clamp(620px,86vh,820px);display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--vert-nuit)}
.slides{position:absolute;inset:0;z-index:-2}
.slide{position:absolute;inset:0;opacity:0;transition:opacity 1.4s ease}
.slide.active{opacity:1}
.slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.08);transition:transform 7s linear}
.slide.active img{transform:scale(1)}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(9,28,17,.74) 0%,rgba(9,28,17,.56) 45%,rgba(9,28,17,.84) 100%)}
.hero-inner{width:100%;padding-top:64px;padding-bottom:88px;text-align:center}
.hero h1{color:#fff;font-size:clamp(2.1rem,4.6vw,3.5rem);font-weight:800;max-width:18ch;margin:0 auto}
.hero-sub{font-size:clamp(1.05rem,1.6vw,1.22rem);max-width:54ch;margin:18px auto 36px;color:rgba(255,255,255,.9)}

.pest-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:12px;max-width:1080px;margin:0 auto;list-style:none;padding:0}
.pest{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:100%;min-height:126px;padding:16px 8px 14px;background:#fff;border-radius:var(--r-m);color:var(--vert-fonce);font-family:var(--font-titre);font-weight:700;font-size:.86rem;line-height:1.2;text-align:center;box-shadow:0 12px 28px -14px rgba(0,0,0,.55);border:2px solid transparent;transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.pest:hover,.pest:focus-visible{transform:translateY(-6px);border-color:var(--vert-vif);text-decoration:none;box-shadow:0 20px 36px -16px rgba(0,0,0,.6)}
.pest .ico{width:54px;height:54px;display:grid;place-items:center;color:var(--vert)}
.pest .ico>*{width:54px;height:54px}
.pest-autre .ico{border:2px dashed var(--ligne);border-radius:50%}
.ico svg{width:100%;height:100%}
/* Recoloration des silhouettes blanches du site par masque */
.ico-img{display:block;width:100%;height:100%;background-color:currentColor;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.ico-svg{display:none;width:100%;height:100%}
@supports not ((-webkit-mask-image:url(a)) or (mask-image:url(a))){
  .ico-img{display:none}
  .ico-svg{display:block}
}

.hero-presta{margin:22px auto 0;font-size:.95rem;color:rgba(255,255,255,.88)}
.hero-presta a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:36px}
.dots{position:absolute;left:0;right:0;bottom:26px;display:flex;justify-content:center;gap:10px}
.dots button{width:34px;height:4px;padding:0;border:0;border-radius:2px;background:rgba(255,255,255,.35);position:relative;overflow:hidden}
.dots button::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left}
.dots button.active::after{animation:dot 6s linear forwards}
.hero.paused .dots button.active::after{animation-play-state:paused}
@keyframes dot{to{transform:scaleX(1)}}
.reveal-seq>*{opacity:0;transform:translateY(18px);animation:rise .8s var(--ease) forwards}
.reveal-seq>*:nth-child(1){animation-delay:.1s}
.reveal-seq>*:nth-child(2){animation-delay:.25s}
.pest-grid li{opacity:0;transform:translateY(14px);animation:rise .6s var(--ease) forwards;animation-delay:calc(.45s + var(--i) * 60ms)}
@keyframes rise{to{opacity:1;transform:none}}

/* ---------- Bannière pages intérieures ---------- */
.pagehero{position:relative;isolation:isolate;color:#fff;background:var(--vert-fonce);overflow:hidden}
.pagehero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.pagehero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(14,33,20,.92) 0%,rgba(14,33,20,.74) 55%,rgba(14,33,20,.55) 100%)}
.pagehero .wrap{padding-top:64px;padding-bottom:64px}
.pagehero h1{color:#fff;font-size:clamp(1.9rem,4vw,3rem);font-weight:800;max-width:20ch}
.pagehero p{margin:16px 0 0;max-width:62ch;color:rgba(255,255,255,.9);font-size:1.08rem}
.pagehero .btn{margin-top:28px}
.fil{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 20px;padding:0;font-size:.9rem;color:rgba(255,255,255,.78)}
.fil a{color:rgba(255,255,255,.9)}
.fil li+li::before{content:"›";margin-right:6px;opacity:.6}

/* ---------- Bandeau confiance ---------- */
.trust{background:var(--vert-fonce);color:#fff}
.trust ul{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;margin:0;padding:0}
.trust li{display:flex;align-items:center;gap:14px;padding:22px 20px;border-left:1px solid rgba(255,255,255,.12)}
.trust li:first-child{border-left:0}
.trust svg{width:28px;height:28px;flex:none;stroke:#9FD9B4;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.trust b{display:block;font-family:var(--font-titre);font-size:.98rem}
.trust span{font-size:.9rem;color:rgba(255,255,255,.75)}

/* ---------- Sections ---------- */
.section{padding:88px 0}
.section-alt{background:var(--vert-pale-2)}
.section-head{max-width:740px;margin:0 auto 48px;text-align:center}
.section-head h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800}
.section-head h2::after{content:"";display:block;width:56px;height:4px;border-radius:2px;background:var(--rouge);margin:18px auto 0}
.section-head p{color:var(--gris);margin-top:18px;font-size:1.08rem}
.section-head.gauche{text-align:left;margin-left:0}
.section-head.gauche h2::after{margin-left:0}

/* ---------- Formulaires ---------- */
.form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-weight:700;font-size:.9rem;color:var(--vert-fonce)}
.field label .req{color:var(--rouge)}
.field input,.field select,.field textarea{font:inherit;font-size:1rem;min-height:50px;padding:12px 14px;border:1.5px solid var(--ligne);border-radius:var(--r-s);background:#fff;color:var(--encre);transition:border-color .2s,box-shadow .2s;width:100%}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--vert);box-shadow:0 0 0 4px rgba(39,80,50,.16)}
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:var(--rouge)}
.field .err{display:none;color:var(--rouge);font-size:.85rem;font-weight:600}
.field.invalid .err{display:block}
.pot{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:4px}
.form-foot p{margin:0;font-size:.85rem;color:var(--gris)}
.form-msg{grid-column:1/-1;display:none;align-items:flex-start;gap:14px;border-radius:var(--r-m);padding:18px 20px;border:1px solid}
.form-msg svg{width:28px;height:28px;flex:none;fill:none;stroke-width:2.4}
.form-msg strong{font-family:var(--font-titre);display:block;margin-bottom:2px}
.form-msg.show{display:flex}
.form-msg.ok{background:var(--vert-pale);border-color:var(--vert);color:var(--vert-fonce)}
.form-msg.ok svg{stroke:var(--vert)}
.form-msg.ko{background:#FDECEC;border-color:var(--rouge);color:#7A0210}
.form-msg.ko svg{stroke:var(--rouge)}
.form.envoye .field,.form.envoye .form-foot,.form.envoye .choix{display:none}

/* Sélecteur de nuisibles (contact / devis) */
.choix{grid-column:1/-1}
.choix>span.lbl{display:block;font-weight:700;font-size:.9rem;color:var(--vert-fonce);margin-bottom:10px}
.choix ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;list-style:none;margin:0;padding:0}
.choix input{position:absolute;opacity:0;width:1px;height:1px}
.choix label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;min-height:104px;padding:12px 8px;border:1.5px solid var(--ligne);border-radius:var(--r-m);background:#fff;cursor:pointer;font-family:var(--font-titre);font-weight:700;font-size:.8rem;line-height:1.2;text-align:center;color:var(--vert-fonce);transition:border-color .2s,background-color .2s,transform .2s var(--ease)}
.choix label .ico{width:40px;height:40px;color:var(--vert);display:grid;place-items:center}
.choix label .ico>*{width:40px;height:40px}
.choix label:hover{border-color:var(--vert-vif)}
.choix input:checked+label{border-color:var(--vert);background:var(--vert-pale);box-shadow:inset 0 0 0 1px var(--vert)}
.choix input:focus-visible+label{outline:3px solid var(--vert-vif);outline-offset:2px}

/* ---------- Rappel express (accueil) ---------- */
.callback{padding:72px 0}
.callback-card{display:grid;grid-template-columns:.9fr 1.4fr;gap:44px;align-items:center;background:var(--vert-pale-2);border:1px solid var(--ligne);border-left:6px solid var(--rouge);border-radius:var(--r-l);padding:40px 44px}
.callback-card h2{font-size:clamp(1.6rem,2.6vw,2.1rem);color:var(--rouge);font-weight:800}
.callback-card .accroche{font-family:var(--font-texte);font-weight:400;font-size:1.18rem;color:var(--encre);margin-top:10px;line-height:1.45}
.callback-alt{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px}
.callback-alt a{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.95rem;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--ligne);color:var(--vert-fonce)}
.callback-alt a:hover{border-color:var(--vert);text-decoration:none}
.callback-alt svg{width:18px;height:18px}
.callback-alt .wa svg{fill:var(--wa)}
.callback-alt .tel svg{stroke:var(--rouge);fill:none;stroke-width:2}

/* ---------- Grilles de cartes ---------- */
.activities{display:grid;grid-template-columns:repeat(7,1fr);gap:16px;list-style:none;margin:0;padding:0}
.activity{display:flex;flex-direction:column;align-items:center;gap:14px;height:100%;padding:28px 12px 22px;background:#fff;border:1px solid var(--ligne);border-radius:var(--r-m);color:var(--vert-fonce);font-family:var(--font-titre);font-weight:700;font-size:.92rem;text-align:center;transition:border-color .2s,transform .25s var(--ease)}
.activity:hover{border-color:var(--vert);transform:translateY(-4px);text-decoration:none}
.activity .ico{width:64px;height:64px;display:grid;place-items:center;color:var(--vert)}
.activity .ico>*{width:64px;height:64px}
.activity .more{font-family:var(--font-texte);font-weight:600;font-size:.85rem;color:var(--vert)}

.pro-band{margin-top:40px;display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;padding:32px 40px;border-radius:var(--r-l);background:var(--vert-fonce);color:#fff}
.pro-band h3{color:#fff;font-size:1.35rem}
.pro-band p{margin:8px 0 0;color:rgba(255,255,255,.82);max-width:62ch}
.pro-band ul{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:16px 0 0}
.pro-band li{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.95rem}
.pro-band li svg{width:18px;height:18px;stroke:#9FD9B4;fill:none;stroke-width:2.6}

/* ---------- Étapes ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;list-style:none;margin:0;padding:0;counter-reset:step;position:relative}
.steps::before{content:"";position:absolute;left:12.5%;right:12.5%;top:27px;height:2px;background:repeating-linear-gradient(90deg,var(--vert) 0 8px,transparent 8px 14px);opacity:.45}
.step{position:relative;text-align:center;padding:0 18px}
.step::before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:56px;height:56px;margin:0 auto 20px;border-radius:50%;background:#fff;border:2px solid var(--vert);color:var(--vert);font-family:var(--font-titre);font-weight:800;font-size:1.25rem;position:relative}
.step h3{font-size:1.08rem;margin-bottom:8px}
.step p{color:var(--gris);font-size:.97rem;margin:0}

/* ---------- Qui sommes-nous ---------- */
.about{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.about h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-bottom:24px}
.about h2::after{content:"";display:block;width:56px;height:4px;border-radius:2px;background:var(--rouge);margin-top:18px}
.about-text .lead{font-size:1.18rem;color:var(--encre);font-weight:600}
.about-text p{color:var(--texte)}
.am3d{display:flex;align-items:center;gap:16px;margin-top:28px;padding:16px 18px;border:1px solid var(--ligne);border-radius:var(--r-m);background:#fff}
.am3d img{width:72px;height:auto;flex:none}
.am3d p{margin:0;font-size:.97rem}
.am3d strong{display:block;font-family:var(--font-titre);color:var(--vert-fonce)}
.about-media{position:relative}
.about-media .photo{border-radius:var(--r-l);overflow:hidden;aspect-ratio:4/5;background:var(--vert-fonce)}
.about-media .photo img{width:100%;height:100%;object-fit:cover}
.about-media .tag{position:absolute;left:-24px;bottom:32px;background:#fff;border-radius:var(--r-m);padding:16px 20px;box-shadow:0 18px 40px -18px rgba(22,48,30,.45);display:flex;gap:12px;align-items:center;max-width:290px}
.about-media .tag svg{width:34px;height:34px;flex:none;stroke:var(--vert);fill:none;stroke-width:2}
.about-media .tag b{font-family:var(--font-titre);color:var(--vert-fonce);display:block;font-size:.98rem}
.about-media .tag span{font-size:.88rem;color:var(--gris)}

/* ---------- Qualité ---------- */
.quality{display:grid;grid-template-columns:auto 1fr;gap:52px;align-items:start;max-width:1040px;margin:0 auto}
.quality-ico{width:150px;height:150px;border-radius:50%;background:#fff;border:1px solid var(--ligne);display:grid;place-items:center}
.quality-ico img{width:96px;height:96px;object-fit:contain}
.quality h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-bottom:22px}
.quality-cols{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.quality-cols p{color:var(--texte);margin:0}
.pillars{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0 0 24px}
.pillars li{padding:8px 16px;border-radius:999px;background:#fff;border:1px solid var(--ligne);font-weight:700;font-size:.92rem;color:var(--vert-fonce)}

/* ---------- Agences ---------- */
.agencies{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.agency{display:flex;flex-direction:column;gap:14px;padding:28px;border:1px solid var(--ligne);border-radius:var(--r-l);background:#fff;transition:border-color .2s}
.agency:hover{border-color:var(--vert)}
.agency h3{font-size:1.25rem;display:flex;align-items:center;gap:10px}
.agency h3 svg{width:22px;height:22px;stroke:var(--vert);fill:none;stroke-width:2;flex:none}
.agency dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:.97rem}
.agency dt{color:var(--gris)}
.agency dd{margin:0;font-weight:600}
.agency .actions{display:flex;gap:10px;margin-top:auto;padding-top:6px}
.agency .actions .btn{flex:1;min-height:44px;padding:10px 12px;font-size:.86rem}

/* Cartes d'information de la page contact */
.contact-infos{margin-bottom:48px}
.contact-infos .agency{gap:8px}
.contact-infos p{margin:0}
.contact-infos .gros{font-size:1.25rem;font-weight:700;word-break:break-word}
.contact-infos a{word-break:break-word}

/* ---------- FAQ ---------- */
.faq{max-width:840px;margin:0 auto;display:grid;gap:12px}
.faq details{background:#fff;border:1px solid var(--ligne);border-radius:var(--r-m);transition:border-color .2s}
.faq details[open]{border-color:var(--vert)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;font-family:var(--font-titre);font-weight:700;color:var(--vert-fonce);font-size:1.02rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:12px;height:12px;border-right:2.5px solid var(--vert);border-bottom:2.5px solid var(--vert);transform:rotate(45deg) translateY(-3px);transition:transform .25s var(--ease)}
.faq details[open] summary::after{transform:rotate(225deg) translateY(-3px)}
.faq .answer{padding:0 24px 20px;color:var(--texte)}
.faq .answer p:last-child{margin:0}

/* ---------- Articles ---------- */
.news{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post{position:relative;display:flex;flex-direction:column;border:1px solid var(--ligne);border-radius:var(--r-l);overflow:hidden;background:#fff;transition:border-color .2s,transform .25s var(--ease)}
.post:hover{border-color:var(--vert);transform:translateY(-4px)}
.post-cover{aspect-ratio:16/9;background:var(--vert-fonce);overflow:hidden}
.post-cover img{width:100%;height:100%;object-fit:cover}
.post-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:12px;flex:1}
.post .date{font-size:.85rem;color:var(--gris)}
.post h3{font-size:1.06rem;line-height:1.35}
.post h3 a{color:var(--vert-fonce)}
.post h3 a::after{content:"";position:absolute;inset:0}
.post .read{margin-top:auto;font-weight:700;font-size:.92rem;color:var(--vert)}

.article{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:56px;align-items:start}
.prose{max-width:72ch;color:var(--texte);font-size:1.06rem}
.prose h2{font-size:1.5rem;margin:36px 0 14px}
.prose h3{font-size:1.2rem;margin:28px 0 12px}
.prose p{margin:0 0 1.1em}
.prose ul,.prose ol{margin:0 0 1.2em;padding-left:1.3em}
.prose li{margin-bottom:.5em}
.prose img{border-radius:var(--r-m);margin:24px 0}
.prose a{text-decoration:underline}
.prose table{width:100%;border-collapse:collapse;margin:24px 0;font-size:.97rem}
.prose th,.prose td{border:1px solid var(--ligne);padding:10px 12px;text-align:left}
.prose th{background:var(--vert-pale)}
.aside{position:sticky;top:calc(var(--header-h) + 20px);display:grid;gap:24px}
.aside-box{border:1px solid var(--ligne);border-radius:var(--r-l);padding:24px;background:#fff}
.aside-box h2{font-size:1.05rem;margin-bottom:14px}
.aside-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.aside-list a{display:flex;gap:12px;align-items:flex-start;color:var(--vert-fonce);font-weight:600;font-size:.95rem;line-height:1.35}
.aside-list img{width:62px;height:48px;object-fit:cover;border-radius:var(--r-s);flex:none}
.aside-cta{background:var(--vert-fonce);color:#fff;border:0}
.aside-cta h2{color:#fff}
.aside-cta p{color:rgba(255,255,255,.82);font-size:.95rem}
.aside-cta .btn{width:100%}

/* Fiche nuisible / activité */
.fiche{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:56px;align-items:start}
.fiche-media{border-radius:var(--r-l);overflow:hidden;border:1px solid var(--ligne)}
.fiche-media img{width:100%;aspect-ratio:4/3;object-fit:cover}
.encart{margin-top:28px;border:1px solid var(--ligne);border-left:5px solid var(--vert);border-radius:var(--r-m);padding:22px 24px;background:var(--vert-pale-2)}
.encart h2{font-size:1.12rem;margin-bottom:10px}
.encart ul{margin:0;padding-left:1.2em;color:var(--texte)}
.encart li{margin-bottom:.45em}
.autres{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;list-style:none;margin:0;padding:0}
.autres a{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--ligne);border-radius:var(--r-m);background:#fff;font-weight:700;font-size:.92rem;color:var(--vert-fonce);font-family:var(--font-titre)}
.autres a:hover{border-color:var(--vert);text-decoration:none}
.autres .ico{width:32px;height:32px;flex:none;color:var(--vert);display:grid;place-items:center}
.autres .ico>*{width:32px;height:32px}

/* ---------- CTA final ---------- */
.final-cta{background:var(--vert);color:#fff;padding:56px 0}
.final-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.final-cta h2{color:#fff;font-size:clamp(1.4rem,2.4vw,1.85rem);max-width:32ch}
.final-cta .btns{display:flex;gap:12px;flex-wrap:wrap}

/* ---------- Pied de page ---------- */
.footer{background:var(--vert-nuit);color:rgba(255,255,255,.78);padding:72px 0 0;font-size:.97rem}
.footer a{color:rgba(255,255,255,.85)}
.footer a:hover{color:#fff}
.footer-logo{display:inline-flex;background:#fff;border-radius:var(--r-m);padding:10px 16px;height:78px;align-items:center}
.footer-logo img{height:100%;width:auto}
.footer h2{color:#fff;font-size:.95rem;margin-bottom:16px}
.footer-grid{display:grid;grid-template-columns:1fr 2.3fr 1fr;gap:40px}
.footer-agencies{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.footer-agencies h3{color:#fff;font-size:.9rem;margin-bottom:8px}
.footer-agencies p{margin:0 0 4px;font-size:.88rem}
.footer ul.links{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:8px}
.footer .socials a{background:rgba(255,255,255,.08)}
.footer .socials a:hover{background:var(--vert)}
.footer-assoc{margin-top:20px;display:inline-flex;align-items:center;gap:12px;background:#fff;border-radius:var(--r-s);padding:8px 12px;color:var(--vert-fonce);font-weight:700;font-size:.85rem}
.footer-assoc img{height:40px;width:auto}
/* Barre finale : mentions légales et copyright à gauche, signature à droite,
   sur une seule ligne tant que la largeur le permet ; repli en colonne sur
   mobile, sans débordement horizontal. */
.footer-bottom{margin-top:52px;border-top:1px solid rgba(255,255,255,.1);padding:22px 0 26px;
  display:flex;align-items:center;justify-content:space-between;gap:12px 28px;flex-wrap:wrap;font-size:.88rem}
.footer-bottom .fb-gauche{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;min-width:0}
.footer-bottom nav{display:flex;gap:20px;flex-wrap:wrap}
.footer-bottom .fb-signature{margin:0;margin-left:auto;white-space:nowrap}
.footer-bottom .fb-signature a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media (max-width:760px){
  .footer-bottom{justify-content:flex-start}
  .footer-bottom .fb-signature{margin-left:0;white-space:normal}
}

/* ---------- Implantations ---------- */
.agency-sub{margin:-4px 0 12px;font-size:.88rem;color:var(--gris);font-style:italic}
.agency .gris,.prose .gris{color:var(--gris);font-size:.86rem}
.note-implantations{margin:28px auto 0;max-width:72ch;text-align:center;font-size:.92rem;color:var(--gris)}
.note-siege{margin:18px 0 0;font-size:.9rem;color:var(--gris)}

/* ---------- Contact flottant ---------- */
.float-contact{position:fixed;right:20px;bottom:24px;z-index:90;display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}
.float-contact a{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:#fff;box-shadow:0 10px 24px -8px rgba(0,0,0,.45);transition:transform .2s var(--ease)}
.float-contact a:hover{transform:scale(1.08)}
/* Masquée lorsque le pied de page est atteint : elle recouvrait sinon la
   fin de la barre finale. Le basculement est posé par mh.js. */
.float-contact.fc-masque{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}
.float-contact{transition:opacity .22s var(--ease),visibility .22s,transform .22s var(--ease)}
.float-contact svg{width:24px;height:24px}
.fc-tel{background:var(--rouge)}
.fc-tel svg,.fc-mail svg{stroke:#fff;fill:none;stroke-width:2}
.fc-mail{background:var(--vert)}
.fc-wa{background:var(--wa)}
.fc-wa svg{fill:#fff}
.mobile-bar{display:none}

/* ---------- Menu mobile ---------- */
.drawer{position:fixed;inset:0;z-index:150;visibility:hidden}
.drawer.open{visibility:visible}
.drawer-bg{position:absolute;inset:0;background:rgba(9,28,17,.6);opacity:0;transition:opacity .25s}
.drawer.open .drawer-bg{opacity:1}
.drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(88vw,380px);background:#fff;transform:translateX(100%);transition:transform .3s var(--ease);display:flex;flex-direction:column;overflow-y:auto}
.drawer.open .drawer-panel{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 14px 20px;border-bottom:1px solid var(--ligne)}
.drawer-head strong{font-family:var(--font-titre);color:var(--vert-fonce)}
.drawer-close{width:44px;height:44px;border:0;background:var(--vert-pale);border-radius:var(--r-s);color:var(--vert-fonce)}
.drawer-close svg{width:20px;height:20px;margin:auto}
.drawer nav{padding:8px 12px}
.drawer ul{list-style:none;margin:0;padding:0}
.drawer details summary{list-style:none;display:flex;justify-content:space-between;align-items:center}
.drawer details summary::-webkit-details-marker{display:none}
.drawer details summary::after{content:"+";font-size:1.3rem;color:var(--vert)}
.drawer details[open] summary::after{content:"−"}
.drawer .d-link,.drawer summary{padding:14px 10px;font-family:var(--font-titre);font-weight:700;color:var(--vert-fonce);border-bottom:1px solid var(--ligne);display:block;cursor:pointer}
.drawer .d-sub{padding:6px 0 10px 12px}
.drawer .d-sub h3{font-size:.8rem;color:var(--gris);margin:10px 0 4px}
.drawer .d-sub a{display:block;padding:8px 10px;color:var(--encre);font-weight:600}
.drawer-foot{margin-top:auto;padding:20px;display:grid;gap:10px;border-top:1px solid var(--ligne)}

/* ---------- Modale mentions légales ---------- */
dialog{border:0;border-radius:var(--r-l);padding:0;max-width:580px;width:calc(100% - 32px);box-shadow:0 30px 60px -20px rgba(0,0,0,.5)}
dialog::backdrop{background:rgba(9,28,17,.65)}
.dlg-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--ligne)}
.dlg-head h2{font-size:1.25rem}
.dlg-body{padding:20px 24px 26px}
.dlg-body dl{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0}
.dlg-body dt{color:var(--gris);font-size:.95rem}
.dlg-body dd{margin:0;font-weight:600}

/* ---------- 404 ---------- */
.err-page{text-align:center;padding:120px 0}
/* La page 404 n'a pas la grille du pied de page : seule la barre finale est reprise. */
.err-footer{padding:0}
.err-footer .footer-bottom{margin-top:0}
.err-page .code{font-family:var(--font-titre);font-weight:800;font-size:clamp(4rem,14vw,8rem);color:var(--vert-pale);line-height:1}
.err-page h1{margin-top:-24px;font-size:clamp(1.5rem,3vw,2.2rem)}
.err-page p{color:var(--gris);max-width:52ch;margin:16px auto 28px}
.err-page .btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1280px){ .header-phone{display:none} }
@media (max-width:1180px){
  .pest-grid{grid-template-columns:repeat(5,1fr);max-width:760px}
  .activities{grid-template-columns:repeat(4,1fr)}
  .article,.fiche{grid-template-columns:1fr;gap:40px}
  .aside{position:static;grid-template-columns:1fr 1fr;display:grid}
}
/* Bascule vers le menu replié portée de 1020 à 1100 px : les intitulés plus
   longs (« Nos implantations », « Demande de devis gratuit ») ne tenaient
   plus sur une ligne à 1024 px et faisaient déborder l'en-tête. */
@media (max-width:1100px){
  :root{--header-h:72px}
  .nav,.header-cta{display:none}
  .burger{display:grid}
  .callback-card{grid-template-columns:1fr;gap:28px;padding:32px 28px}
  .about{grid-template-columns:1fr;gap:40px}
  .about-media .tag{left:16px}
  .quality{grid-template-columns:1fr;gap:28px}
  .quality-ico{width:110px;height:110px}
  .quality-ico img{width:70px;height:70px}
  .trust ul{grid-template-columns:repeat(2,1fr)}
  .trust li:nth-child(3){border-left:0}
  .trust li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.12)}
  .steps{grid-template-columns:repeat(2,1fr);gap:40px 0}
  .steps::before{display:none}
  .agencies,.news{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>div:nth-child(2){grid-column:1/-1;order:3}
  .pro-band{grid-template-columns:1fr}
}
@media (max-width:720px){
  body{font-size:1rem;padding-bottom:72px}
  .section{padding:60px 0}
  .topbar .socials{display:none}
  .topbar .wrap{justify-content:center}
  .topbar-call .long{display:none}
  .topbar-call .court{display:inline}
  .hero{min-height:auto}
  .hero-inner{padding-top:44px;padding-bottom:72px}
  .pagehero .wrap{padding-top:40px;padding-bottom:40px}
  .pest-grid{grid-template-columns:repeat(3,1fr);gap:10px}
  .pest{min-height:104px;padding:12px 6px;font-size:.8rem}
  .pest .ico,.pest .ico img{width:42px;height:42px}
  .hero-cta .btn,.final-cta .btn{width:100%}
  .trust li{padding:16px 14px;gap:10px}
  .trust span{display:none}
  .form{grid-template-columns:1fr}
  .activities{grid-template-columns:repeat(2,1fr)}
  .activities li:last-child{grid-column:1/-1}
  .steps{grid-template-columns:1fr;gap:28px}
  .step{text-align:left;display:grid;grid-template-columns:56px 1fr;gap:0 18px;padding:0}
  .step::before{margin:0;grid-row:span 2}
  .quality-cols{grid-template-columns:1fr;gap:16px}
  .agencies,.news{grid-template-columns:1fr}
  .aside{grid-template-columns:1fr}
  .footer-grid,.footer-agencies{grid-template-columns:1fr}
  .footer-grid>div:nth-child(2){order:0}
  .float-contact{display:none}
  .about-media .tag{position:relative;left:auto;bottom:auto;margin:-40px 0 0 16px}
  .choix ul{grid-template-columns:repeat(3,1fr)}
  .mobile-bar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:95;background:#fff;border-top:1px solid var(--ligne);box-shadow:0 -8px 24px -12px rgba(0,0,0,.25);padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:8px}
  .mobile-bar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border-radius:var(--r-s);font-family:var(--font-titre);font-weight:700;font-size:.78rem;color:#fff;text-decoration:none}
  .mobile-bar svg{width:20px;height:20px}
  .mb-tel{background:var(--rouge)}
  .mb-tel svg,.mb-devis svg{stroke:#fff;fill:none;stroke-width:2}
  .mb-wa{background:var(--wa)}
  .mb-wa svg{fill:#fff}
  .mb-devis{background:var(--vert)}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal-seq>*,.pest-grid li{opacity:1;transform:none}
  .slide img{transform:none}
}
@media print{
  .topbar,.header,.drawer,.float-contact,.mobile-bar,.final-cta,.hero .dots{display:none!important}
  body{padding:0}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:.8em}
}
