/* ==========================================================================
   Alp'Nuisibles — design system « Du sol au toit »
   Vert olive du logo (#57612c) pour la marque, ambre (#f4a71d) pour l'action
   et les accents : bandes, chiffres, mots clés du titre. Structure inspirée
   des sites de service à fort contraste (bandeau d'infos, héros plein écran,
   bande d'engagements sombre, cartes de services, bande de contact colorée).
   ========================================================================== */

/* Polices variables auto-hébergées, licence SIL Open Font (assets/fonts/OFL-*.txt).
   Manrope pour les titres, Inter pour le texte : sobres, lisibles, sans appel
   à un serveur tiers. « Inter repli » cale les métriques de la police système
   sur celles d'Inter : le texte ne saute pas quand la vraie police arrive. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter repli"; src: local("Arial"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
  --vert-950: #13160a;
  --vert-900: #1f2410;
  --vert-800: #2b3116;
  --vert-700: #3f4720;
  --vert-600: #57612c;
  --vert-500: #717d3c;
  --vert-300: #b8c08f;
  --vert-200: #d9ddc3;
  --vert-100: #eceedf;
  --creme: #f7f6f0;
  --blanc: #fff;
  --encre: #1a1d11;
  --texte: #3b3e32;
  --gris: #626556;
  --ligne: #dfe0d4;
  --ambre: #f4a71d;
  --ambre-clair: #ffb83a;
  --ambre-fonce: #b87405;
  --ok: #2f7d32;
  --erreur: #b3261e;

  --f-titre: "Manrope", "Inter", "Inter repli", system-ui, sans-serif;
  --f-texte: "Inter", "Inter repli", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 16px;
  --r-petit: 10px;
  --ombre: 0 1px 2px rgb(19 22 10 / .06), 0 8px 24px -8px rgb(19 22 10 / .16);
  --ombre-forte: 0 2px 4px rgb(19 22 10 / .08), 0 28px 56px -18px rgb(19 22 10 / .32);
  --largeur: 1240px;
  --gouttiere: clamp(16px, 4vw, 36px);
  --entete: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* Mouvement réduit : le JavaScript passe en mode « doux » (fondus seulement,
   voir src/site.js). Côté CSS, on n'arrête que le mouvement continu. */
@media (prefers-reduced-motion: reduce) { .defile__piste { animation: none; } }

/* Effets de texte (src/texte.js). Le texte du héros est masqué AVANT le script
   pour éviter un flash (affiché puis caché puis animé). Filet de sécurité : si
   le script ne se charge pas, une animation CSS le rend visible après 2,5 s.
   « scripting: enabled » : sans JavaScript, rien n'est jamais masqué. */
@media (scripting: enabled) {
  .heros h1, .heros .surtitre, .heros__accroche, [data-heros-in] { visibility: hidden; animation: secours-visible 0s 2.5s forwards; }
}
@keyframes secours-visible { to { visibility: visible; } }
.car, .mot { will-change: transform, opacity; }
/* Avant leur animation, certaines lettres sont agrandies (×4 à ×7) : sans
   rognage horizontal, elles élargiraient la page sur mobile. « clip » ne crée
   pas de conteneur de défilement : la scène 3D collante continue de fonctionner. */
main > section, main > article, .devis, .urgence { overflow-x: clip; }
.ligne { padding-bottom: .06em; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-texte);  color: var(--texte); background: var(--creme); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--vert-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--vert-700); }
h1, h2, h3 { font-family: var(--f-titre); color: var(--encre); line-height: 1.08; letter-spacing: -.032em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; }
.evitement:focus { top: 12px; }
.centre { text-align: center; }
.nb { white-space: nowrap; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.conteneur--etroit { max-width: 840px; }
.conteneur--moyen { max-width: 1020px; }

/* --------------------------------------------------------------- Boutons */
.btn { --bg: var(--vert-600); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border: 2px solid transparent; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 1rem/1.1 var(--f-texte); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: box-shadow .2s, background-color .2s, color .2s, border-color .2s; white-space: nowrap; will-change: transform; }
.btn:hover { color: var(--fg); box-shadow: var(--ombre); }
.btn--plein:hover { --bg: var(--vert-700); }
.btn--tel { --bg: var(--ambre); --fg: var(--encre); font-weight: 700; font-variant-numeric: tabular-nums; }
.btn--tel:hover { --bg: var(--ambre-clair); }
.btn--sombre { --bg: var(--vert-950); --fg: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.btn--sombre:hover { --bg: var(--vert-800); }
.btn--clair { --bg: rgb(255 255 255 / .08); --fg: #fff; border-color: rgb(255 255 255 / .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--clair:hover { --bg: rgb(255 255 255 / .18); }
.btn--contour { --bg: transparent; --fg: var(--vert-700); border-color: var(--vert-600); }
.btn--contour:hover { --bg: var(--vert-600); --fg: #fff; }
.btn--contour-sombre { --bg: transparent; --fg: var(--vert-950); border-color: var(--vert-950); }
.btn--contour-sombre:hover { --bg: var(--vert-950); --fg: #fff; }
.btn--grand { min-height: 56px; padding: .9em 1.7em; font-size: 1.0625rem; }
/* Sur petit écran, un libellé long passe à la ligne au lieu d'élargir la page. */
@media (max-width: 560px) { .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; } }

/* ----------------------------------------------------- Bandeau supérieur */
.bandeau-haut { background: var(--vert-950); color: #c9cdb8; font-size: .86rem; }
.bandeau-haut__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.bandeau-haut p { display: inline-flex; align-items: center; gap: .5em; margin: 0; }
.bandeau-haut a { display: inline-flex; align-items: center; gap: .5em; color: #e5e8d6; text-decoration: none; }
.bandeau-haut .i { color: var(--ambre); width: 1.1em; height: 1.1em; }
@media (max-width: 760px) { .bandeau-haut { display: none; } }

/* ---------------------------------------------------------------- En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgb(247 246 240 / .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .2s, box-shadow .2s; }
.entete.est-defile { border-color: var(--ligne); box-shadow: 0 8px 24px -16px rgb(19 22 10 / .35); }
.entete.est-masque { transform: translateY(-100%); }
.entete__in { display: flex; align-items: center; gap: 18px; height: var(--entete); }
.marque { flex: none; margin-right: auto; }
.marque img { width: auto; height: 36px; }
.nav__liste { display: flex; gap: 2px; align-items: center; }
.nav__liste > li > a { display: inline-flex; align-items: center; gap: .3em; padding: 10px 12px; border-radius: 10px; color: var(--encre); font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap; }
.nav__liste > li > a:hover, .nav__liste > li > a[aria-current="page"] { background: var(--vert-100); color: var(--vert-700); }
.nav__fleche { width: 1em; height: 1em; transition: transform .25s; }
.entete__tel { min-height: 44px; padding: .55em 1.1em; }
.burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--vert-100); color: var(--encre); cursor: pointer; }
.burger .i { width: 24px; height: 24px; }
.burger .i--fermer, .burger[aria-expanded="true"] .i--ouvrir { display: none; }
.burger[aria-expanded="true"] .i--fermer { display: block; }

/* Méga-menus : survol ou focus clavier, aucune dépendance au JavaScript. */
.nav__deroulant { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 5; width: min(760px, 90vw); padding: 18px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre-forte); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__deroulant:hover .mega, .nav__deroulant:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__deroulant:hover .nav__fleche, .nav__deroulant:focus-within .nav__fleche { transform: rotate(180deg); }
.mega__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega__services a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--encre); text-decoration: none; }
.mega__services a:hover { background: var(--vert-100); }
.mega__services .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--vert-100); color: var(--vert-600); stroke-width: 1.75; }
.mega__services a:hover .i { background: var(--ambre); color: var(--encre); }
.mega__services span { display: grid; line-height: 1.3; }
.mega__services strong { font-size: .95rem; }
.mega__services small { color: var(--gris); font-size: .8rem; }
.mega--zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: min(880px, 92vw); }
.mega__titre { margin: 0 0 8px; font: 700 .82rem/1.2 var(--f-texte); text-transform: uppercase; letter-spacing: .06em; color: var(--vert-600); }
.mega__titre span { color: var(--gris); }
.mega__titre a { display: inline; padding: 0; color: inherit; font: inherit; text-decoration: none; }
.mega--zones .mega__titre a:hover { background: none; text-decoration: underline; }
.mega--zones ul { display: grid; gap: 2px; }
.mega--zones a { display: block; padding: 5px 8px; border-radius: 8px; color: var(--encre); font-weight: 600; font-size: .93rem; text-decoration: none; }
.mega--zones a:hover { background: var(--vert-100); color: var(--vert-700); }

@media (max-width: 1180px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: var(--entete) 0 auto 0; max-height: calc(100dvh - var(--entete)); overflow: auto; overscroll-behavior: contain; padding: 12px var(--gouttiere) 28px; background: var(--creme); border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre-forte); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav.est-ouvert { transform: none; opacity: 1; visibility: visible; }
  .nav__liste { flex-direction: column; align-items: stretch; }
  .nav__liste > li > a { width: 100%; padding: 14px 6px; font-size: 1.08rem; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .nav__fleche { display: none; }
  /* « inherit » et non « visible » : un enfant visible dans un menu fermé (caché)
     restait cliquable par-dessus la page et détournait les touchers. */
  .mega { position: static; width: auto; padding: 8px 0 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: inherit; transform: none; }
  /* Au toucher, iOS applique :hover/:focus-within au parent : sans cette ligne,
     la règle du bureau (translate(-50%)) décalait le sous-menu à gauche au défilement. */
  .nav__deroulant:hover .mega, .nav__deroulant:focus-within .mega { visibility: inherit; transform: none; }
  .nav:not(.est-ouvert) { pointer-events: none; }
  .mega::before { display: none; }
  .mega__services { grid-template-columns: 1fr; }
  .mega__services small { display: none; }
  .mega--zones { grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; }
}
@media (max-width: 560px) {
  :root { --entete: 64px; }
  .marque img { height: 30px; }
  .entete__tel span { display: none; }
  .entete__tel { width: 46px; padding: 0; }
  .entete__tel .i { width: 20px; height: 20px; }
}

/* ------------------------------------------------------------------ Héros */
.heros { position: relative; overflow: hidden; isolation: isolate; color: #e9ebdc; background: var(--vert-900); padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 8vw, 120px); }
.heros h1 { color: #fff; }
.heros .accent { color: var(--ambre); }
.heros--video { display: grid; align-items: center; min-height: min(100svh - var(--entete), 900px); padding-block: clamp(56px, 8vw, 120px); }
.heros__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.heros__media-in { position: absolute; inset: -6% 0; will-change: transform; }
.heros__media-in img, .heros__media-in video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros__media-in video { opacity: 0; transition: opacity 1.2s ease; }
.heros__media-in video.est-lue { opacity: 1; }
.heros__pause { position: absolute; right: var(--gouttiere); bottom: 22px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; background: rgb(19 22 10 / .45); color: #fff; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s; }
.heros__pause:hover { background: rgb(19 22 10 / .7); }
.heros__pause .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.heros__pause .i--lecture, .heros__pause.est-arretee .i--pause { display: none; }
.heros__pause.est-arretee .i--lecture { display: block; }
@media (max-width: 760px) { .heros__pause { bottom: 14px; width: 40px; height: 40px; } }
.heros__voile { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(19 22 10 / .9) 0%, rgb(19 22 10 / .7) 45%, rgb(19 22 10 / .35) 100%),
  linear-gradient(0deg, rgb(19 22 10 / .75), transparent 45%); }
.heros__fond { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgb(113 125 60 / .55), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgb(87 97 44 / .45), transparent 60%),
    linear-gradient(180deg, var(--vert-800), var(--vert-950)); }
.heros__fond::after { content: ""; position: absolute; inset: auto 0 0 0; height: min(32vw, 260px); opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath fill='%2313160a' fill-opacity='.55' d='M0 200 140 120l90 50 130-120 110 90 70-40 150 110 120-90 100 60 160-140 120 100 90-50 160 110V260H0z'/%3E%3Cpath fill='%2313160a' d='M0 230l120-60 110 50 140-80 120 70 90-30 160 70 130-60 120 40 150-90 110 60 100-30 90 50V260H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.heros__grille { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .heros__grille { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .heros__grille--page { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.heros__texte { max-width: 760px; }
.heros__accroche { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: #d7dbc6; max-width: 62ch; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
@media (max-width: 560px) { .heros__actions .btn { flex: 1 1 100%; } }
.heros--court { padding-bottom: clamp(64px, 7vw, 104px); }
.heros__cote { display: grid; gap: 18px; }
.heros__illu { position: relative; margin-inline: auto; max-width: 380px; }
.heros__illu::before { content: ""; position: absolute; inset: 14% 10% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgb(236 238 223 / .16), rgb(236 238 223 / 0) 70%); }
.heros__illu img { filter: drop-shadow(0 24px 30px rgb(0 0 0 / .35)); }
@media (max-width: 979px) { .heros__illu { max-width: 300px; } }
.article__meta { font-size: .92rem; color: #b9bea6; }

.surtitre { display: inline-flex; align-items: center; gap: .55em; margin-bottom: 14px; font: 700 .8rem/1.2 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--vert-600); }
.surtitre::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--ambre); }
.surtitre:has(.i)::before { display: none; }
.surtitre--clair { color: var(--ambre); }
.titre-section { margin-bottom: clamp(28px, 4vw, 48px); }
.titre-section--centre { text-align: center; }
.titre-section--centre .section__intro { margin-inline: auto; }
.titre-section h2 { margin-bottom: .35em; }

.confiance { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .94rem; color: #e2e5d3; }
.confiance li { display: inline-flex; align-items: center; gap: .45em; }
.confiance .i { color: var(--ambre); }

/* Sélecteur de nuisible : la décision la plus rapide possible */
.selecteur, .signes { background: rgb(19 22 10 / .45); border: 1px solid rgb(255 255 255 / .16); border-radius: 22px; padding: clamp(18px, 2.5vw, 28px); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }
.selecteur__titre, .signes__titre { font: 700 1.3rem/1.2 var(--f-titre); color: #fff; margin-bottom: 16px; }
.selecteur__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.selecteur__grille a { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px; min-height: 60px; padding: 12px; border-radius: 14px; background: var(--creme); color: var(--encre); font-weight: 600; font-size: .97rem; letter-spacing: -.01em; text-decoration: none; line-height: 1.2; transition: transform .25s var(--ease), background-color .2s, box-shadow .2s; }
.selecteur__grille a:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--ombre-forte); }
.selecteur__grille a::after { content: ""; position: absolute; inset: 0; background: radial-gradient(160px circle at var(--mx) var(--my), rgb(244 167 29 / .25), transparent 60%); opacity: 0; transition: opacity .2s; }
.selecteur__grille a:hover::after { opacity: 1; }
.selecteur__grille .i { width: 26px; height: 26px; color: var(--vert-600); stroke-width: 1.75; }
.selecteur__grille a span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .selecteur__grille a { gap: 8px; padding: 10px 12px; font-size: .95rem; } .selecteur__grille .i { width: 26px; height: 26px; } }
.selecteur__aide { margin: 16px 0 0; font-size: .94rem; color: #d4d8c2; }
.selecteur__aide .i { display: inline-block; vertical-align: -.25em; margin-right: .35em; }
.selecteur__aide a { color: #fff; font-weight: 600; }
.signes ul { display: grid; gap: 12px; margin-bottom: 20px; }
.signes li { display: flex; gap: 10px; color: #e2e5d3; line-height: 1.45; }
.signes li .i { color: var(--ambre); margin-top: 2px; }
.signes .btn { width: 100%; }
.signes__communes { color: #d4d8c2; }

/* ------------------------------------------------------ Bandeau défilant */
.defile { overflow: hidden; background: var(--ambre); color: var(--vert-950); border-block: 1px solid rgb(0 0 0 / .08); }
.defile__piste { display: flex; width: max-content; animation: defile 60s linear infinite; }
.defile li { display: flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; font: 800 clamp(1rem, .9rem + .5vw, 1.35rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.defile li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--vert-950); }
@keyframes defile { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- Ariane */
.ariane { padding-block: 12px; font-size: .88rem; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 4px; }
.ariane li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--gris); }
.ariane a { color: var(--gris); text-decoration: none; }
.ariane a:hover { color: var(--vert-600); text-decoration: underline; }
.ariane [aria-current] { color: var(--encre); font-weight: 600; }

/* -------------------------------------------------------------- Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--teinte { background: var(--vert-100); }
.section--serre { padding-block: 36px; }
.section--sombre { position: relative; background: var(--vert-900); color: #cfd3be; overflow: hidden; }
.section--sombre::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 50% 0%, rgb(113 125 60 / .35), transparent 70%); pointer-events: none; }
.section--sombre h2, .section--sombre h3 { color: #fff; }
.section--sombre > .conteneur { position: relative; }
.section__intro { max-width: 68ch; font-size: 1.1rem; color: var(--gris); }
.section--sombre .section__intro { color: #c3c8b0; }

.deux-col { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 920px) { .deux-col { grid-template-columns: 1.2fr 1fr; } }
.embleme { display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--blanc), var(--vert-100) 70%); padding: 16%; box-shadow: inset 0 0 0 1px var(--ligne); }

.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (min-width: 560px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffres li { padding: 18px 16px; border-radius: var(--r); background: var(--blanc); border: 1px solid var(--ligne); }
.chiffres strong { display: block; font: 800 clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem)/1 var(--f-titre); color: var(--vert-600); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chiffres span:last-child { display: block; margin-top: 6px; font-size: .9rem; color: var(--gris); line-height: 1.3; }

.atouts { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.atout { --mx: 50%; --my: 50%; position: relative; overflow: hidden; padding: 34px 24px 28px; border-radius: 20px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); text-align: center; transition: border-color .25s, background-color .25s; }
.atout::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgb(244 167 29 / .14), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.atout:hover { border-color: rgb(244 167 29 / .5); }
.atout:hover::after { opacity: 1; }
.atout__ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--ambre); color: var(--vert-950); box-shadow: 0 0 0 8px rgb(244 167 29 / .14); }
.atout__ico .i { width: 34px; height: 34px; stroke-width: 1.8; }
.atout h3 { text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; color: var(--ambre); }
.atout p { margin: 0; font-size: .97rem; color: #c8ccb6; }

.cartes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.carte { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--texte); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.carte::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx) var(--my), rgb(244 167 29 / .12), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.carte:hover { color: var(--texte); transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: var(--vert-200); }
.carte:hover::after { opacity: 1; }
.carte__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 60%, #fff, var(--vert-100) 75%); }
.carte__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease); }
.carte__media img.incline { transition: none; will-change: transform; }
.carte:hover .carte__media img:not(.incline) { transform: scale(1.06) rotate(-1deg); }
.carte__corps { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.carte__ico { position: absolute; top: -26px; right: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ambre); color: var(--vert-950); box-shadow: 0 6px 16px -6px rgb(184 116 5 / .6); }
.carte__ico .i { width: 26px; height: 26px; stroke-width: 1.8; }
.carte h3 { margin-bottom: .35em; padding-right: 48px; }
.carte__texte { display: block; flex: 1; margin-bottom: 14px; font-size: .97rem; color: var(--gris); }
.carte__lien { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--vert-600); }
.carte__lien .i { transition: transform .25s var(--ease); }
.carte:hover .carte__lien .i { transform: translateX(5px); }

/* ---------------------------------------- Image interactive « Du sol au toit »
   Photo de l'arbre (rendue depuis la scène 3D) et une pastille « + » par
   animal (position : css/scene.css, généré). Au clic, l'image se rapproche
   doucement de l'animal, le gros plan apparaît en fondu et sa fiche
   s'ouvre (src/site.js → scene). Sans JavaScript : la pastille mène à la
   page de la prestation. Pensé pour un public âgé : grosses pastilles
   nommées, texte lisible, « Retour à l'image entière » bien visible. */
.scene { background: linear-gradient(180deg, #dfe4cc 0%, #eef0e2 55%, var(--creme) 100%); }
.scene__aide { font-weight: 600; color: var(--vert-700); }
.scene__zone { position: relative; }
.scene__cadre { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #cfd6c0; box-shadow: var(--ombre-forte); }
.scene__vue { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.scene__image { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Position, côté et décalage : css/scene.css (la pastille se pose à --ecart de l'animal). */
.scene__point { --ecart: 6px; position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; border-radius: 99px; background: rgb(255 255 255 / .92); color: var(--vert-950); font: 600 .92rem/1 var(--f-texte); text-decoration: none; white-space: nowrap; box-shadow: 0 3px 10px rgb(19 22 10 / .22); transition: opacity .3s, background-color .2s; }
/* Zone tactile d'au moins 44 px autour de la bulle, plus fine à l'œil. */
.scene__point::before { content: ""; position: absolute; inset: -6px; }
.scene__point:hover, .scene__point:focus-visible { background: #fff; outline: 3px solid var(--ambre); outline-offset: 2px; }
.scene__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ambre); }
.scene__plus::before, .scene__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: var(--vert-950); transform: translate(-50%, -50%); }
.scene__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.scene__gros-plan { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease .25s; }
.scene__gros-plan img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene.est-ouverte .scene__vue { transform: scale(2.2); }
.scene.est-ouverte .scene__gros-plan.est-charge { opacity: 1; }
.scene.est-ouverte .scene__point { opacity: 0; pointer-events: none; }
.scene__fiche { margin-top: 16px; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.scene__fiche h3 { margin-bottom: .35em; font-size: 1.5rem; }
.scene__fiche h3:focus { outline: none; }
.scene__fiche p:not(.scene__lieu) { font-size: 1.08rem; line-height: 1.6; color: var(--encre); }
.scene__lieu { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 700 .82rem/1.2 var(--f-texte); text-transform: uppercase; letter-spacing: .08em; color: var(--vert-600); }
.scene__lieu span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ambre); color: var(--vert-950); letter-spacing: 0; }
.scene__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 12px; }
.scene__retour { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 2px solid var(--vert-700); border-radius: 99px; background: transparent; color: var(--vert-900); font: 700 1rem/1 var(--f-texte); cursor: pointer; }
.scene__retour:hover, .scene__retour:focus-visible { background: var(--vert-900); color: #fff; }
.scene__retour .i { width: 1.1em; height: 1.1em; }
/* La fiche se pose sur le gros plan (en bas à gauche ; en bas sur toute la largeur sur un écran étroit). */
.scene__fiche { position: absolute; left: 24px; bottom: 24px; z-index: 2; width: min(440px, 44%); margin: 0; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--ombre-forte); }
@media (max-width: 899px) {
  .scene__fiche { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px 18px; border-radius: 16px; }
  .scene__fiche h3 { font-size: 1.2rem; }
  .scene__fiche p:not(.scene__lieu) { font-size: .98rem; line-height: 1.5; }
  .scene__lieu { margin-bottom: 4px; font-size: .74rem; }
  .scene__lieu span { width: 24px; height: 24px; }
  .scene__actions { margin: 10px 0 8px; gap: 8px; }
  .scene__actions .btn { padding: 10px 16px; font-size: .95rem; }
  .scene__retour { min-height: 44px; padding: 0 16px; font-size: .95rem; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .scene__cadre { aspect-ratio: 900 / 1440; border-radius: 18px; }
  .scene__point { --ecart: 4px; min-height: 34px; gap: 6px; font-size: .86rem; }
  .scene__point::before { inset: -6px -4px; }
  .scene__nom-suite { display: none; }
  .scene__plus { width: 28px; height: 28px; }
  .scene__plus::before, .scene__plus::after { width: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Mouvement réduit : pas de zoom, le gros plan apparaît en fondu. */
  .scene__vue { transition: none; }
  .scene.est-ouverte .scene__vue { transform: none; }
}

/* ------------------------------------------------------- Grande phrase */
.section--phrase { padding-block: clamp(72px, 10vw, 140px); }
.phrase { margin: 0; font: 800 clamp(1.7rem, 1.1rem + 2.4vw, 3rem)/1.18 var(--f-titre); letter-spacing: -.02em; color: var(--encre); text-align: center; text-wrap: balance; }

/* ------------------------------------------------------------- Urgence */
.urgence { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 10vw, 140px); background: var(--vert-950) url(/assets/img/guepe-gros-plan.webp) center / cover; color: #e1e4d2; }
.urgence__media { position: absolute; inset: 0; z-index: -2; }
.urgence__media video { width: 100%; height: 100%; object-fit: cover; }
.urgence::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(19 22 10 / .92), rgb(19 22 10 / .7) 55%, rgb(19 22 10 / .25)); }
.urgence__in { max-width: var(--largeur); }
.urgence h2 { color: #fff; max-width: 18ch; }
.urgence p:not(.surtitre) { max-width: 56ch; font-size: 1.1rem; }

/* -------------------------------------------------------------- Étapes */
.frise { position: relative; }
.frise__ligne { position: absolute; top: 46px; left: 4%; right: 4%; height: 3px; border-radius: 3px; background: rgb(63 71 32 / .14); }
.frise__ligne span { position: absolute; inset: 0; border-radius: 3px; background: var(--ambre); transform-origin: left; }
@media (max-width: 900px) { .frise__ligne { display: none; } }
.etapes { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.etapes li { position: relative; padding: 28px 24px 24px; background: var(--blanc); border-radius: 20px; box-shadow: var(--ombre); }
.etapes .i { width: 36px; height: 36px; padding: 0; color: var(--vert-600); margin-bottom: 14px; }
.etapes__num { position: absolute; top: 20px; right: 22px; font: 800 2.4rem/1 var(--f-titre); color: var(--vert-100); }
.etapes p { margin: 0; color: var(--gris); font-size: .97rem; }

.liste-check { display: grid; gap: 10px; margin: 18px 0 0; }
.liste-check li { display: flex; gap: 10px; align-items: flex-start; }
.liste-check .i { color: var(--vert-600); margin-top: 3px; }

.clients { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-bottom: 36px; }
.clients li { padding: 24px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); transition: border-color .2s, transform .3s var(--ease); }
.clients li:hover { border-color: var(--vert-300); transform: translateY(-2px); }
.clients .i { width: 34px; height: 34px; color: var(--vert-600); margin-bottom: 12px; }
.clients p { margin: 0; color: var(--gris); font-size: .97rem; }

.villes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 32px; }
.villes a { display: flex; align-items: center; gap: 10px; padding: 15px 16px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--encre); font-weight: 600; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .25s var(--ease); }
.villes a:hover { border-color: var(--vert-500); box-shadow: var(--ombre); transform: translateY(-2px); }
.villes .i { color: var(--vert-600); }
.villes small { margin-left: auto; padding: 2px 9px; border-radius: 99px; background: var(--ambre); color: var(--vert-950); font-weight: 800; font-size: .78rem; }

.deps { display: grid; gap: 40px; margin-bottom: 48px; }
.dep h2 { font-size: 1.55rem; }
.dep h2 span { color: var(--gris); font-weight: 500; }
.dep__villes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.dep__villes a { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--encre); text-decoration: none; }
.dep__villes a:hover { border-color: var(--vert-500); box-shadow: var(--ombre); }
.dep__villes .i { color: var(--vert-600); margin-top: 3px; }
.dep__villes span { display: grid; }
.dep__villes small { color: var(--gris); }

.guides { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-bottom: 32px; }
.guide-carte { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--texte); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.guide-carte:hover { color: var(--texte); transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.guide-carte__media { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--vert-800), var(--vert-600)); }
.guide-carte__media img { width: 100%; height: 100%; object-fit: contain; padding: 4% 12%; transition: transform .6s var(--ease); }
.guide-carte:hover .guide-carte__media img { transform: scale(1.06); }
.guide-carte__corps { display: grid; gap: 8px; padding: 20px 22px 24px; }
.guide-carte small { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--vert-600); text-transform: uppercase; font-size: .76rem; letter-spacing: .08em; }
.guide-carte strong { font: 700 1.15rem/1.25 var(--f-titre); color: var(--encre); }
.guide-carte span:last-child { font-size: .95rem; color: var(--gris); }

/* ------------------------------------------------------------------ Prose */
.prose { font-size: 1.08rem; }
.prose__bloc + .prose__bloc, .prose__bloc + .encart, .sommaire + .prose__bloc { margin-top: 44px; }
.prose h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); }
.prose h1 { margin-bottom: .8em; }
.prose strong { color: var(--encre); }
.encart { margin-top: 44px; padding: 28px; border-radius: 20px; background: var(--vert-100); border-left: 5px solid var(--ambre); }
.encart p:last-child { margin: 0; }
.sommaire { padding: 22px 26px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--ligne); }
.sommaire p { margin: 0 0 10px; font: 700 1rem/1.2 var(--f-titre); color: var(--encre); }
.sommaire ol { display: grid; gap: 6px; list-style: decimal; padding-left: 1.2em; }
.sommaire a { text-decoration: none; font-weight: 600; }
.sommaire a:hover { text-decoration: underline; }

.focus-grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.focus { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); }
.focus__media { flex: none; width: 128px; aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(circle at 50% 60%, #fff, var(--vert-100) 75%); }
.focus__media img { width: 100%; height: 100%; object-fit: contain; }
.focus p { color: var(--gris); font-size: .97rem; }
.focus a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
@media (max-width: 520px) { .focus { flex-direction: column; align-items: flex-start; } .focus__media { width: 100%; max-width: 220px; } }
.autres { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.autres p { margin: 0; font-weight: 600; color: var(--encre); }
.autres ul { display: flex; flex-wrap: wrap; gap: 8px; }
.autres a { display: inline-flex; align-items: center; gap: .4em; padding: 8px 14px; border-radius: 99px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--encre); font-weight: 600; font-size: .93rem; text-decoration: none; }
.autres a:hover { border-color: var(--vert-500); }
.autres .i { color: var(--vert-600); }
.voisines { margin: 0; }

/* -------------------------------------------------------------------- FAQ */
.faq__item { border-bottom: 1px solid var(--ligne); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 1.12rem/1.35 var(--f-titre); color: var(--encre); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--vert-100); color: var(--vert-600); transition: transform .3s var(--ease), background-color .2s; }
.faq__item[open] summary .i { transform: rotate(180deg); background: var(--ambre); color: var(--vert-950); }
.faq__item div { padding: 0 0 22px; color: var(--texte); }
.faq__item p { margin: 0; }

/* ---------------------------------------------------------------- Bandeau */
.bandeau { background: var(--ambre); color: var(--vert-950); padding-block: 36px; }
.bandeau__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.bandeau p { margin: 0; font: 800 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1.2 var(--f-titre); max-width: 32ch; }
.bandeau__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- Formulaire */
.devis { background: var(--vert-900); color: #d4d8c2; }
.devis__bande { background: var(--ambre); color: var(--vert-950); }
.devis__bande-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.devis__bande p { margin: 0; font: 600 clamp(1.15rem, 1rem + .7vw, 1.6rem)/1.25 var(--f-titre); }
.devis__bande strong { font-weight: 850; text-transform: uppercase; }
.devis__grille { display: grid; gap: 40px; padding-block: clamp(56px, 8vw, 104px); }
@media (min-width: 960px) { .devis__grille { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.devis h2 { color: #fff; }
.devis__points { display: grid; gap: 10px; margin-top: 22px; }
.devis__points li { display: flex; gap: 10px; align-items: center; }
.devis__points .i { color: var(--ambre); }

.formulaire { position: relative; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(20px, 3vw, 34px); border-radius: 24px; background: var(--creme); color: var(--texte); box-shadow: var(--ombre-forte); }
.champ { display: grid; gap: 6px; grid-column: span 2; }
@media (min-width: 560px) { .champ { grid-column: span 1; } .champ--plein { grid-column: span 2; } }
.champ label { font-weight: 600; font-size: .93rem; color: var(--encre); }
.champ label span { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--ligne); border-radius: var(--r-petit); background: var(--blanc); color: var(--encre); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.champ textarea { resize: vertical; min-height: 96px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--vert-600); box-shadow: 0 0 0 4px rgb(87 97 44 / .15); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ--piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .btn { grid-column: span 2; width: 100%; }
.formulaire .btn[disabled] { opacity: .7; cursor: progress; }
.formulaire__legal { grid-column: span 2; margin: 0; font-size: .82rem; color: var(--gris); text-align: center; }
.formulaire__statut { grid-column: span 2; margin: 0; font-weight: 600; text-align: center; }
.formulaire__statut:empty { display: none; }
.formulaire__statut.est-erreur { color: var(--erreur); }

.merci { padding-block: 40px; }
.merci__ico { width: 76px; height: 76px; padding: 16px; margin: 0 auto 20px; border-radius: 50%; background: var(--ambre); color: var(--vert-950); }

/* ------------------------------------------------------------------- Pied */
.pied { position: relative; background: var(--vert-950); color: #b8bca8; font-size: .95rem; overflow: hidden; }
.pied a { color: #dfe2d1; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied__particules { position: relative; height: clamp(120px, 18vw, 240px); border-bottom: 1px solid rgb(255 255 255 / .08); }
.pied__particules canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pied__geant { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: 800 clamp(2.6rem, 12.5vw, 12rem)/1 var(--f-titre); letter-spacing: -.05em; color: rgb(244 167 29 / .1); white-space: nowrap; pointer-events: none; }
.pied__particules.est-texte .pied__geant { visibility: hidden; }
.pied__grille { display: grid; gap: 40px; padding-block: 56px 48px; }
@media (min-width: 980px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; } }
.pied__marque img { height: 36px; width: auto; margin-bottom: 18px; }
.pied__titre { font: 700 1rem/1.2 var(--f-titre); color: var(--ambre); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.pied ul { display: grid; gap: 8px; }
.pied__villes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pied__contact li { display: flex; gap: 10px; align-items: flex-start; }
.pied__contact a { display: inline-flex; gap: 10px; align-items: center; }
.pied__contact .i { color: var(--ambre); margin-top: 2px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.pied__bas p { margin: 0; }

/* -------------------------------------------------- Barre d'appel mobile */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(247 246 240 / .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--ligne); box-shadow: 0 -8px 24px -12px rgb(19 22 10 / .3); transition: transform .3s var(--ease); }
  .barre-mobile .btn { min-height: 50px; }
  /* Le bas du menu ouvert ne doit pas rester caché sous la barre Appeler / Devis. */
  .nav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .barre-mobile.est-masquee { transform: translateY(110%); }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------- Ligne de crêtes (accueil)
   Tracée au défilement par GSAP ; entièrement visible sans JavaScript. */
.cretes { position: absolute; inset: 0 0 auto 0; width: 100%; height: clamp(56px, 9vw, 130px); color: rgb(244 167 29 / .55); pointer-events: none; }

/* -------------------------------------------------- Calendrier des nuisibles */
.cal { margin-bottom: 32px; }
.cal__maintenant { display: flex; align-items: center; justify-content: center; gap: .6em; width: fit-content; max-width: 100%; margin: 0 auto 18px; padding: 10px 18px; border-radius: 99px; background: var(--vert-900); color: #fff; font-weight: 600; font-size: .95rem; text-align: center; }
.cal__maintenant::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ambre); box-shadow: 0 0 0 4px rgb(244 167 29 / .25); }
.cal__defile { padding: clamp(10px, 2vw, 22px); border-radius: 22px; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.cal__table { width: 100%; border-collapse: separate; border-spacing: clamp(2px, .5vw, 6px); table-layout: fixed; }
/* Largeur en pourcentage simple : un clamp() ou calc() à pourcentage sur une
   cellule de tableau peut être traité comme « auto » par le navigateur. */
.cal__table thead th:first-child { width: 30%; }
@media (max-width: 560px) { .cal__table thead th:first-child { width: 36%; } }
.cal__table thead th { padding-bottom: 4px; font: 700 .8rem/1 var(--f-texte); color: var(--gris); text-align: center; }
.cal__table abbr { text-decoration: none; }
.cal__table tbody th { padding-right: clamp(4px, 1vw, 14px); text-align: left; white-space: nowrap; font-weight: 600; font-size: clamp(.78rem, .7rem + .35vw, .98rem); }
.cal__table tbody th a { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); text-decoration: none; }
.cal__table tbody th a:hover { color: var(--vert-600); text-decoration: underline; }
.cal__table tbody th .i { color: var(--vert-600); }
.cal__c { height: clamp(24px, 3.2vw, 34px); border-radius: 7px; background: var(--vert-100); }
.cal__c--1 { background: var(--vert-200); }
.cal__c--2 { background: #f7d48b; }
.cal__c--3 { background: var(--ambre); }
.cal__table thead .est-courant { color: var(--encre); }
.cal__table thead .est-courant abbr { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; margin: -.4em; border-radius: 50%; background: var(--vert-900); color: #fff; }
.cal__table td.est-courant { box-shadow: 0 0 0 2px var(--vert-900); }
.cal__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 16px; font-size: .88rem; color: var(--gris); }
.cal__legende li { display: inline-flex; align-items: center; gap: 8px; }
.cal__legende .cal__c { width: 18px; height: 18px; border-radius: 5px; }
.cal__note { margin: 10px 0 0; font-size: .86rem; color: var(--gris); text-align: center; }
@media (max-width: 560px) { .cal__table tbody th .i { display: none; } }

/* ------------------------------------------------------------ Départements */
.secteurs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-bottom: 22px; }
.secteur { padding: 24px; border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); }
.secteur .i { width: 30px; height: 30px; color: var(--vert-600); margin-bottom: 12px; }
.secteur h3 { font-size: 1.08rem; }
.secteur p { margin: 0; color: var(--gris); font-size: .95rem; }
.dep h2 a { color: inherit; text-decoration: none; }
.dep h2 a:hover { color: var(--vert-600); }
.dep__intro { max-width: 78ch; color: var(--gris); }
.signes__liens { display: grid; gap: 10px; margin-bottom: 20px; }
.signes .signes__liens a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.signes .signes__liens a:hover { text-decoration: underline; }
.signes .signes__liens .i { color: var(--ambre); }
.pied__titre--suite { margin-top: 24px; }
.lien-fleche { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.lien-fleche .i { transition: transform .25s var(--ease); }
.lien-fleche:hover .i { transform: translateX(5px); }
.suite { margin: 22px 0 0; }
.titre-section .section__intro a { color: inherit; text-underline-offset: .2em; }
.titre-section .section__intro a:hover { color: var(--vert-600); }

/* ------------------------------------------------ Barre de lecture (guides) */
.lecture { position: fixed; inset: 0 0 auto 0; z-index: 70; height: 3px; pointer-events: none; }
.lecture span { display: block; height: 100%; background: var(--ambre); transform: scaleX(0); transform-origin: left; }

/* ------------------------------------------ Transitions entre les pages
   Fondu natif du navigateur (View Transitions inter-documents) : aucun
   JavaScript, ignoré sans dommage par les navigateurs qui ne le gèrent pas. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 160ms ease-out both vt-sortie; }
  ::view-transition-new(root) { animation: 280ms var(--ease) both vt-entree; }
}
@keyframes vt-sortie { to { opacity: 0; } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(10px); } }


/* -------------------------------------------- Certifications & organismes */
.labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.label a, .label > .label__nom { color: inherit; text-decoration: none; }
.label a, .label { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.labels .label { padding: 14px 18px; min-width: 180px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--ligne); text-align: center; }
.labels .label a:hover .label__nom { color: var(--vert-600); text-decoration: underline; }
.label img { width: auto; height: 52px; object-fit: contain; }
.label__nom { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--encre); }
.label__nom .i { color: var(--vert-600); }
.label__texte { font-size: .82rem; color: var(--gris); max-width: 26ch; }
.labels-bande .surtitre { display: flex; justify-content: center; }
.pied__labels { padding-block: 28px 0; }
.pied .labels { display: flex; } /* sinon « .pied ul » (grille) empile les badges */
.labels--pied .label { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); }
.labels--pied .label__nom { color: #fff; }
.labels--pied .label__texte { color: #b8bca8; }


/* ------------------------------------------------ Galerie « En images » */
.galerie__cadre { position: relative; display: flex; align-items: center; gap: 10px; }
.galerie__piste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 3 * 16px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; flex: 1; scrollbar-width: thin; overscroll-behavior-x: contain; }
.galerie__piste li { scroll-snap-align: start; }
.galerie__item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--vert-100); cursor: zoom-in; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galerie__item:hover img { transform: scale(1.05); }
.galerie__titre { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgb(19 22 10 / .78)); color: #fff; font-weight: 600; font-size: .92rem; text-align: left; }
.galerie__illustration { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 99px; background: rgb(19 22 10 / .72); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .01em; }
.galerie__note { margin: 10px auto 0; max-width: 60ch; color: var(--gris); font-size: .9rem; }
.galerie__lecture { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgb(244 167 29 / .92); box-shadow: 0 8px 20px rgb(0 0 0 / .3); }
.galerie__lecture::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--vert-950); }
.galerie__fleche { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ligne); border-radius: 50%; background: var(--blanc); color: var(--encre); cursor: pointer; box-shadow: var(--ombre); }
.galerie__fleche:disabled { opacity: .35; cursor: default; }
.i--retourne { transform: rotate(180deg); }
@media (max-width: 760px) { .galerie__fleche { display: none; } .galerie__piste { grid-auto-columns: 78%; } }
.visionneuse { width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: var(--vert-950); color: #e8eadb; }
.visionneuse::backdrop { background: rgb(10 12 6 / .86); }
.visionneuse__cadre { display: flex; align-items: center; gap: 6px; padding: 52px 8px 8px; }
.visionneuse__scene { flex: 1; display: grid; place-items: center; min-height: 40vh; }
.visionneuse__scene img, .visionneuse__scene video { max-width: 100%; max-height: 74vh; border-radius: 10px; }
.visionneuse__nav, .visionneuse__fermer { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.visionneuse__nav:hover, .visionneuse__fermer:hover { background: rgb(255 255 255 / .2); }
.visionneuse__fermer { position: absolute; right: 10px; top: 8px; }
.visionneuse__legende { margin: 0; padding: 4px 20px 18px; text-align: center; font-size: .95rem; }

@media print {
  .entete, .bandeau-haut, .barre-mobile, .devis, .bandeau, .heros__fond, .heros__media, .urgence, .scene__point, .pied__particules { display: none !important; }
  .heros { background: none; color: #000; }
  .heros h1 { color: #000; }
}
