/* Extermination Gatineau — épuré et rassurant.
   Palette tirée du logo (vert sauge #6f996b, noir, blanc) + un seul accent orange réservé aux appels. */
@font-face {
  font-family: 'Lexend';
  src: url('/fonts/lexend-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --sage: #6f996b;        /* vert du logo */
  --sage-soft: #e3ece1;
  --sage-ink: #3e6a3b;    /* vert lisible sur blanc (AA) */
  --pine: #24402a;        /* vert profond : barre du haut, bannière, pied */
  --ink: #18241b;
  --muted: #4c5a4f;
  --mist: #f3f6f1;
  --line: #dbe4d7;
  --white: #fff;
  --signal: #c2410c;      /* accent unique : appels et urgence */
  --signal-dark: #9a3412;
  --signal-soft: #fdf0e8;
  --btn: #6f996b;         /* boutons : même vert que le fond du logo */
  --btn-dark: #557d52;
  --r-lg: 22px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(24, 36, 27, .05), 0 10px 30px -14px rgba(24, 36, 27, .22);
  --wrap: 1180px;
  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 72px; /* barre d'appel collante sur mobile */
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--sage-ink); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.small { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

.ico { width: 20px; height: 20px; flex: none; }
.ico-lg { width: 30px; height: 30px; }

/* ---------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font: 700 1.17rem/1.2 var(--font); /* ≥ 18,7 px gras : texte blanc sur vert conforme (grand texte) */ text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--btn); color: var(--white); box-shadow: 0 8px 20px -10px rgba(36, 64, 42, .55); }
.btn-call:hover { background: var(--btn-dark); color: var(--white); }
.btn-num { font-weight: 700; }
.btn-quote { background: var(--white); color: var(--sage-ink); border-color: var(--btn); }
.btn-quote:hover { background: var(--btn); color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: var(--white); color: var(--pine); }
.btn-sm { min-height: 44px; padding: 8px 18px; }
.btn-block { width: 100%; }
@media (min-width: 480px) { .btn-num { display: inline; } .btn-call .btn-num::before { content: ''; } }

/* ---------- Barre du haut : le numéro, gros, partout */
.topbar { background: var(--pine); color: #dfe9dc; font-size: .9rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.topbar-msg { display: none; align-items: center; gap: 8px; margin: 0; }
.topbar-phone {
  display: inline-flex; align-items: center; gap: 8px; margin-inline: auto;
  color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: .01em;
}
.topbar-phone .ico { color: #ffb48a; }
.topbar-phone:hover { color: #ffd9c2; }
@media (min-width: 760px) { .topbar-msg { display: flex; } .topbar-phone { margin: 0; font-size: 1.5rem; } }

/* ---------- En-tête */
/* La bande du logo a exactement le vert du fond du logo : le logo s'y fond. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sage); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: block; }
.brand-logo img { width: 150px; height: auto; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  font: 600 .95rem var(--font); color: var(--ink); background: rgba(255, 255, 255, .35); border: 0; border-radius: 999px; cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.main-nav { display: none; }
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 20px 22px;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.main-nav ul { list-style: none; }
.main-nav > ul > li { border-bottom: 1px solid var(--line); }
.main-nav a, .sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px;
  color: var(--ink); text-decoration: none; font: 500 1.02rem var(--font); background: none; border: 0; cursor: pointer; text-align: left;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { display: none; padding: 0 0 10px 12px; }
.sub.is-open { display: block; }
.sub a { padding: 10px 4px; font-weight: 400; color: var(--muted); }
.main-nav a[aria-current="page"], .sub-toggle.is-active { color: var(--sage-ink); font-weight: 600; }
.main-nav .btn { margin-top: 16px; width: 100%; padding: 8px 18px; justify-content: center; }
.main-nav .btn-call, .main-nav .btn-call:hover { color: var(--white); }
.main-nav .btn-call { background: var(--btn); }
.main-nav .btn-call:hover { background: var(--btn-dark); }

@media (min-width: 1040px) {
  .menu-toggle { display: none; }
  .brand-logo img { width: 176px; }
  .main-nav, .main-nav.is-open { display: flex; align-items: center; gap: 22px; position: static; padding: 0; box-shadow: none; border: 0; max-height: none; overflow: visible; background: none; }
  .main-nav > ul { display: flex; gap: 4px; }
  .main-nav > ul > li { border: 0; position: relative; }
  .main-nav a, .sub-toggle { padding: 10px 12px; font-size: .97rem; border-radius: 999px; width: auto; gap: 6px; }
  .main-nav > ul > li > a, .sub-toggle { color: var(--ink); }
  .main-nav > ul > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .3); }
  .main-nav > ul > li > a[aria-current="page"], .sub-toggle.is-active { color: var(--ink); background: rgba(255, 255, 255, .45); }
  /* Sur la bande verte, le bouton vert disparaîtrait : il passe en blanc. */
  .main-nav .btn-call { background: var(--white); color: var(--pine); box-shadow: 0 6px 16px -10px rgba(24, 36, 27, .6); }
  .main-nav .btn-call:hover { background: var(--pine); color: var(--white); }
  .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
  .sub a { border-radius: 10px; padding: 10px 12px; }
  .sub a:hover { background: var(--mist); color: var(--ink); }
  .main-nav .btn { margin: 0; width: auto; }
}

/* ---------- Fil d'Ariane */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #9aa89c; }
.crumbs a { color: var(--muted); }

/* ---------- Héros */
.hero { background: linear-gradient(180deg, var(--mist), var(--white)); padding: 36px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-claim { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 600; line-height: 1.25; color: var(--signal); margin-bottom: .6em; letter-spacing: -0.01em; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-logo img { aspect-ratio: 1; max-width: 420px; margin-inline: auto; }
.hero-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--signal); border-radius: var(--r);
  font-size: .95rem; box-shadow: var(--shadow);
}
.hero-note .ico { color: var(--signal); margin-top: 2px; }
@media (min-width: 1040px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .hero-note { position: absolute; left: -28px; bottom: -28px; max-width: 340px; margin: 0; }
}

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .93rem; font-weight: 500; color: var(--pine); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { width: 18px; height: 18px; color: var(--sage-ink); }

/* ---------- Sections */
.section { padding: 56px 0; }
.section-mist { background: var(--mist); }
@media (min-width: 1040px) { .section { padding: 88px 0; } }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.sub-h { margin-top: 48px; }
.more { margin: 22px 0 0; font-weight: 600; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.section-mist .card { border-color: transparent; }

/* Services */
.services { display: grid; gap: 22px; }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; } }
.service { overflow: hidden; display: flex; flex-direction: column; }
.service img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.service-body { padding: 24px 26px 26px; }
.service-body p { color: var(--muted); }
.service-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.service-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: var(--sage-soft); color: var(--pine); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.service-links a:hover { background: var(--sage); color: var(--white); }
.related { padding: 22px 24px; margin-top: 28px; }
.related h3 { font-size: 1.05rem; }

/* Photo + texte */
.split { display: grid; gap: 28px; align-items: center; }
.split-media { margin: 0; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-rev .split-media { order: 2; }
}
.prose p, .split-text p { max-width: 62ch; }
.prose h2:not(:first-child) { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

.ticks { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--sage-ink); margin-top: 4px; width: 18px; height: 18px; }

/* Étapes (vraie séquence) */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; position: relative; background: var(--white); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.section-mist .step { border-color: transparent; }
.step::after { content: counter(step); position: absolute; top: 20px; right: 22px; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--sage-soft); }
.step .ico { color: var(--sage-ink); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Risques */
.risks { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .risks { grid-template-columns: repeat(3, 1fr); } }
.risk { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--signal); }
.risk .ico { color: var(--signal); margin-bottom: 12px; }
.risk p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Raisons */
.reasons { display: grid; gap: 18px; }
@media (min-width: 640px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .reasons { grid-template-columns: repeat(4, 1fr); } .reasons-3 { grid-template-columns: repeat(3, 1fr); } }
.reason { padding: 26px 24px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.reason .ico { color: var(--sage-ink); margin-bottom: 14px; }
.reason p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Secteurs */
.areas { display: grid; gap: 18px; }
@media (min-width: 760px) { .areas { grid-template-columns: 1fr 1fr; } }
.area-card { padding: 26px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .95rem; font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--sage-ink); }
.faq details[open] summary::after { content: '−'; }
.faq summary h3 { margin: 0; font-size: 1.06rem; font-weight: 600; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Bloc d'appel après chaque section */
.cta {
  display: flex; flex-direction: column; gap: 18px; margin-top: 40px; padding: 24px;
  background: var(--sage-soft); border: 1px solid #cfdecb; border-radius: var(--r-lg);
}
.cta-title { font-weight: 700; font-size: 1.2rem; margin: 0 0 .2em; color: var(--ink); }
.cta-text p:last-child { margin-bottom: 0; }
.cta-text p:not(.cta-title) { color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; } .cta-actions { flex: none; } }
.wrap > .cta:only-child { margin: 0 0 56px; }

/* ---------- Soumission */
.quote { background: var(--mist); }
.quote-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1040px) { .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.quote-intro p { color: var(--muted); font-size: 1.08rem; }
.big-phone {
  display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 22px;
  font-size: clamp(2rem, 5.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--signal); text-decoration: none;
}
.big-phone .ico { width: 34px; height: 34px; }
.big-phone:hover { color: var(--signal-dark); }
.nap { list-style: none; display: grid; gap: 12px; }
.nap li { display: flex; gap: 10px; align-items: flex-start; }
.nap .ico { color: var(--sage-ink); margin-top: 3px; }
.nap-lg { margin: 26px 0; font-size: 1.05rem; }

.form-card { padding: 26px 22px; }
@media (min-width: 640px) { .form-card { padding: 34px; } }
.form-title { font-size: 1.4rem; }
.quote-form { display: grid; gap: 16px; }
@media (min-width: 640px) { .quote-form { grid-template-columns: 1fr 1fr; } .field-wide, .form-foot, .form-status { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c6b5; border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 0; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 1px; border-color: var(--sage-ink); }
.field [aria-invalid="true"] { border-color: var(--signal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 10px; }
.form-foot .btn { width: 100%; }
@media (min-width: 640px) { .form-foot { grid-template-columns: auto 1fr; align-items: center; gap: 18px; } .form-foot .btn { width: auto; } }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--sage-ink); padding: 14px 16px; background: var(--sage-soft); border-radius: 12px; }
.form-status.err { color: var(--signal-dark); padding: 14px 16px; background: var(--signal-soft); border-radius: 12px; }

/* Contact */
.hero-contact { padding-bottom: 64px; }
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.contact-info .btn-block { max-width: 420px; }

/* ---------- Bannière d'appel avant le pied de page */
.call-banner { position: relative; overflow: hidden; background: var(--pine); color: var(--white); padding: 72px 0; isolation: isolate; }
.call-banner-bg { position: absolute; inset: 0; z-index: -1; }
.call-banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.call-banner-in { text-align: center; max-width: 820px; }
.call-banner h2 { color: var(--white); font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.call-banner p { color: #dbe6d8; font-size: 1.1rem; max-width: 40em; margin-inline: auto; }
.banner-phone {
  display: block; margin: 14px 0 26px; color: var(--white); text-decoration: none;
  font-size: clamp(2.6rem, 10vw, 5.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.banner-phone:hover { color: #ffd9c2; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 1040px) { .call-banner { padding: 104px 0; } }

/* ---------- Pied de page */
.site-footer { background: #1b3020; color: #cfdccb; padding: 56px 0 0; font-size: .97rem; }
.site-footer a { color: #eef5ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; } }
.footer-logo img { width: 190px; border-radius: 12px; margin-bottom: 16px; }
.footer-h { font-size: 1rem; color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.site-footer .nap .ico { color: #a9c7a5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding: 20px 0 28px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Bouton d'appel collant */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(24, 36, 27, .4);
}
.sticky-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.sticky-phone { background: var(--btn); color: var(--white); font-size: 1.17rem; }
.sticky-phone:hover { background: var(--btn-dark); color: var(--white); }
.sticky-more { display: none; }
.sticky-quote { border: 2px solid var(--btn); color: var(--sage-ink); background: var(--white); font-size: 1.17rem; }
@media (min-width: 1040px) {
  body { padding-bottom: 0; }
  .sticky-call { left: auto; right: 24px; bottom: 24px; display: block; padding: 0; background: none; border: 0; box-shadow: none; }
  .sticky-quote { display: none; }
  .sticky-more { display: inline; }
  .sticky-phone { padding: 0 26px; min-height: 58px; font-size: 1.05rem; box-shadow: 0 14px 30px -10px rgba(36, 64, 42, .55); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
