/* ==========================================================================
   Mise en page — modèle « paysagiste » (repris de Vert Olive), charte MCD Paysagiste
   Aucun contenu ici : tout vient de data/contenu.js (pré-rendu dans les pages HTML).
   Grille de 8 px (4 px pour les micro-ajustements). Mobile d'abord.
   ========================================================================== */

/* Lexend (Bonnie Shaver-Troup, Thomas Jockin) : géométrique, ronde et large comme le « MCD » de son logo
   (Montserrat 700, exclue pour le site), chiffres alignés ; titres en 600. Comparée sur spécimen à côté du logo
   à Gabarito, Wix Madefor Display, Red Hat Display (trait d'union 0,81) et Livvic.
   Asap (Omnibus-Type) : coins à peine arrondis comme le slogan du logo, chiffres tabulaires, trait d'union court
   (0,57 × n), vraie italique réservée à la parole de sa cliente. Écartées : Figtree (0,76), Manrope (0,73),
   Mulish (0,74), Sora (0,79), Source Sans 3 (plus neutre). Licences OFL (voir fonts/). */
@font-face { font-family: "Lexend"; src: url("../fonts/lexend.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("../fonts/asap.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("../fonts/asap-italique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Couleurs mesurées sur son logo : vert #197942 sur noir. Noir du logo teinté de vert pour les sections sombres,
     vert clair de ses feuilles au soleil pour le surlignage et le bouton du hero.
     Contrastes sur --papier : encre 16,1:1, encre-2 9,4:1, gris 5,3:1, vert 5,2:1 ; blanc sur vert 5,5:1 ;
     papier sur nuit 16,9:1, pousse sur nuit 10,1:1, nuit sur pousse 10,1:1, encre sur pousse pâle 13,5:1. */
  --papier: #F2F4EF;
  --papier-2: #E6EBE3;
  --carte: #FAFBF8;
  --encre: #102018;
  --encre-2: #34463B;
  --gris: #56665C;
  --filet: #D6DDD6;
  --filet-fort: #B9C4BB;
  --nuit: #0F1A13;        /* sections sombres : le noir de son logo, teinté du vert */
  --nuit-2: #18271D;
  --vert: #197942;        /* le vert du logo : boutons, numéros, accents */
  --vert-2: #126035;
  --feuille: #8DB89B;     /* filigranes, décor */
  --pousse: #8FD6A6;      /* vert clair des feuilles au soleil : bouton du hero, surlignage et accents sur la nuit */
  --pousse-pale: #CFEBD8; /* surlignage sur papier */
  --logo-anneau: #197942;
  --logo-pousse: #197942;
  --logo-texte: #197942;
  --logo-sous: #197942;
  --logo-slogan: #197942;
  --jaune-google: #E9A808;
  --etoile-vide: #CCD5CE;

  --display: "Lexend", "Avenir Next", system-ui, sans-serif;
  --sans: "Asap", system-ui, -apple-system, "Segoe UI", sans-serif;

  --marge: 16px;
  --entete: 64px;
  --max: 1440px;
  --section: 64px;
  --rayon: 4px;
  /* Grain léger (une tuile de 160 px) : le fond n'est jamais un aplat vide */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .13 0 0 0 0 .09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-sombre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .95 0 0 0 0 .88 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (min-width: 600px) { :root { --marge: 32px; --section: 80px; } }
@media (min-width: 1024px) { :root { --marge: 48px; --entete: 80px; --section: 104px; } }
@media (min-width: 1600px) { :root { --marge: 64px; --max: 1600px; --section: 120px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--entete); background: var(--papier); }
html.fige, html.menu-ouvert, html.visionneuse-ouverte { overflow: hidden; }
/* Pendant le chargement de l'intro : page couverte de papier, le logo s'y compose ensuite */
html.intro::after { content: ""; position: fixed; inset: 0; z-index: 199; background-color: var(--papier); background-image: var(--grain); }
body {
  margin: 0; background-color: var(--papier); background-image: var(--grain); color: var(--encre);
  font: 400 17px/28px var(--sans); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 4px; }
.sombre :focus-visible, .hero :focus-visible { outline-color: var(--pousse); }
::selection { background: var(--pousse-pale); color: var(--encre); }
.evitement { position: fixed; left: 16px; top: -64px; z-index: 300; padding: 12px 16px; background: var(--nuit); color: var(--papier); font-weight: 600; text-decoration: none; }
.evitement:focus { top: 16px; }
.coupable { overflow-wrap: anywhere; }

.conteneur { width: 100%; max-width: calc(var(--max) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }

/* Section sombre (nuit verte) : on inverse les jetons, les composants suivent */
.sombre {
  --encre: #F2F4EF; --encre-2: #D3DED6; --gris: #A9BBAF; --filet: rgba(242, 244, 239, .16); --filet-fort: rgba(242, 244, 239, .36); --vert: #8FD6A6;
  /* Logo clair sur la nuit : emblème et PAYSAGISTE en vert clair, MCD en papier */
  --logo-pousse: #8FD6A6; --logo-anneau: #8FD6A6; --logo-texte: #F2F4EF; --logo-sous: #8FD6A6; --logo-slogan: #8FD6A6;
  color: var(--encre);
}

/* --------------------------------------------------------------------------
   Sections et fonds
   -------------------------------------------------------------------------- */
.section { position: relative; isolation: isolate; padding-block: var(--section); }
.section__fond { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* Alternance papier / lin : des fonds nets qui rythment la page, sans dégradé entre les deux */
.section__fond--teinte { background-color: var(--papier-2); background-image: var(--grain); }
.section__fond--nuit { background-color: var(--nuit); background-image: var(--grain-sombre); }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.surtitre {
  display: flex; align-items: center; gap: 16px;
  font: 500 12px/16px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--vert);
}
.surtitre i { display: block; width: 32px; height: 1px; background: currentColor; flex: none; transform-origin: left center; }
.surtitre--clair { color: var(--pousse); }
/* Titres : Lexend 600, casse normale, sans italique. Une entrée du tableau = une ligne. */
.titre, .hero__titre { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: lining-nums proportional-nums; }
.titre { font-size: 32px; line-height: 40px; }
.titre--moyen { font-size: 28px; line-height: 36px; }
.titre .ligne, .hero__titre .ligne { display: block; text-wrap: balance; }
.chapo { font: 400 19px/30px var(--sans); color: var(--encre-2); max-width: 54ch; text-wrap: pretty; }
.tete { display: grid; gap: 16px; margin-bottom: 40px; max-width: 760px; }
.tete .titre { margin-top: 8px; }
@media (min-width: 600px) {
  .titre { font-size: 40px; line-height: 48px; }
  .titre--moyen { font-size: 36px; line-height: 44px; }
}
@media (min-width: 1024px) {
  .titre { font-size: 52px; line-height: 60px; }
  .tete { margin-bottom: 56px; gap: 24px; }
  /* Titre à gauche, texte à droite derrière un filet : la largeur est occupée, sans rien ajouter */
  .tete--deux { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "sur ." "titre chapo"; column-gap: 80px; row-gap: 16px; align-items: end; }
  .tete--deux .surtitre { grid-area: sur; }
  .tete--deux .titre { grid-area: titre; margin-top: 0; }
  .tete--deux .chapo { grid-area: chapo; align-self: end; padding: 4px 0 6px 32px; border-left: 1px solid var(--filet-fort); }
  .titre--moyen { font-size: 40px; line-height: 48px; }
}
@media (min-width: 1600px) { .titre { font-size: 60px; line-height: 68px; } .titre--moyen { font-size: 44px; line-height: 52px; } }

/* Mots découpés pour l'animation (masques) */
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mot > span { display: inline-block; will-change: transform; }

/* Surlignage vert pousse : une bande qui se pose après le texte, ponctuation comprise */
mark.pousse {
  color: inherit; padding: 0 .1em; margin: 0 -.05em;
  background-color: transparent;
  background-image: linear-gradient(var(--pousse-pale), var(--pousse-pale));
  /* Lexend : bande réglée en em sur le corps des minuscules et des capitales, sans mordre la ligne du dessus */
  background-repeat: no-repeat; background-position: 0 62%; background-size: 0% .78em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--ease-io), color .4s .25s;
}
.hero mark.pousse, .sombre mark.pousse { background-image: linear-gradient(var(--pousse), var(--pousse)); }
/* Grande citation sur le fond teinté : le vert pousse franc, le vert pâle s'y perdait (encre dessus 9:1) */
.grande-citation mark.pousse { background-image: linear-gradient(var(--pousse), var(--pousse)); }
mark.pousse.est-vue, html:not(.mvt) mark.pousse { background-size: 100% .78em; }
.hero mark.pousse.est-vue, html:not(.mvt) .hero mark.pousse { color: var(--nuit); }
/* Soulignement tracé d'un trait vert */
.souligne {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.2C34 3.1 66 6.4 100 4.4s66-2.6 99 .6' fill='none' stroke='%23197942' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% .32em;
  padding-bottom: .12em; transition: background-size 1.1s var(--ease-io);
}
.sombre .souligne { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.2C34 3.1 66 6.4 100 4.4s66-2.6 99 .6' fill='none' stroke='%238FD6A6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.souligne.est-vue, html:not(.mvt) .souligne { background-size: 100% .32em; }

/* Image découverte en passes de taille-haie (animations.js) : trois bandes verticales qui descendent, en vague */
.en-taille {
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0, 50% 0, 100% 0; mask-position: 0 0, 50% 0, 100% 0;
  -webkit-mask-size: 33.5% var(--t1, 0%), 33.5% var(--t2, 0%), 33.5% var(--t3, 0%); mask-size: 33.5% var(--t1, 0%), 33.5% var(--t2, 0%), 33.5% var(--t3, 0%);
}
html:not(.mvt) .en-taille { -webkit-mask-image: none; mask-image: none; }

/* --------------------------------------------------------------------------
   Logo du prospect (sprite SVG) : en-tête en ligne (emblème + VERTOLIVE / ESPACES VERTS), logo empilé ailleurs.
   Olive d'origine sur fond clair ; vert pousse et texte papier sur la nuit.
   -------------------------------------------------------------------------- */
.logo-ligne { display: flex; align-items: center; gap: 10px; }
.logo-ligne svg { display: block; overflow: visible; }
.logo-ligne__embleme { height: 42px; width: auto; aspect-ratio: 1; }
.logo-ligne__mots { display: grid; gap: 4px; }
.logo-ligne__nom { height: 23px; width: auto; aspect-ratio: 453 / 144; }
.logo-ligne__sous { width: calc(23px * 453 / 144); height: auto; aspect-ratio: 454 / 52; }
.logo-complet { display: block; width: 100%; height: auto; overflow: visible; }
.embleme { display: block; height: auto; overflow: visible; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton {
  --fond: transparent; --texte: currentColor; --bord: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; background: var(--fond); color: var(--texte); box-shadow: inset 0 0 0 1px var(--bord);
  font: 500 16px/20px var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
}
.bouton__texte { display: inline-flex; align-items: center; gap: 10px; }
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton--plein { --fond: var(--vert); --texte: #fff; --bord: var(--vert); }
.bouton--plein:hover { --fond: var(--vert-2); --bord: var(--vert-2); }
.sombre .bouton--plein { --fond: var(--pousse); --texte: var(--nuit); --bord: var(--pousse); }
.sombre .bouton--plein:hover { --fond: #A9E2BC; --bord: #A9E2BC; }
.bouton--pousse { --fond: var(--pousse); --texte: var(--nuit); --bord: var(--pousse); }
.bouton--pousse:hover { --fond: #A9E2BC; --bord: #A9E2BC; }
.bouton--contour { --bord: var(--filet-fort); }
.bouton--contour:hover { --bord: var(--encre); }
.bouton--clair { --texte: var(--papier); --bord: rgba(242, 244, 239, .5); }
.bouton--clair:hover { --fond: rgba(242, 244, 239, .1); --bord: var(--papier); }
.bouton:active { transform: scale(.98); }
.bouton--pousse svg, .bouton--plein .bouton__texte span + svg { transition: transform .4s var(--ease); }
.bouton--pousse:hover svg, .bouton--plein:hover .bouton__texte span + svg { transform: translateX(4px); }
.rond { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--filet-fort); transition: background-color .3s, box-shadow .3s; }
.rond svg { width: 20px; height: 20px; }
.rond:hover { box-shadow: inset 0 0 0 1px currentColor; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--filet-fort); padding-bottom: 4px; }
.lien-fleche svg { width: 16px; height: 16px; }
.lien-fleche:hover { border-color: currentColor; }

/* Pastilles (choix multiples : de vraies cases à cocher, envoyées avec le formulaire) */
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--filet-fort);
  font: 400 15px/20px var(--sans); color: var(--encre); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.pastille input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pastille:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.pastille:has(input:checked), .pastille.est-coche { background: var(--vert); color: #fff; box-shadow: inset 0 0 0 1px var(--vert); }
.pastille:has(input:focus-visible) { outline: 2px solid var(--vert); outline-offset: 3px; }

/* Étoiles Google : jaunes, la dernière remplie au réel */
.etoiles { display: inline-flex; gap: 2px; }
.etoiles i { position: relative; width: 16px; height: 16px; }
.etoiles svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--etoile-vide); }
.etoiles svg + svg { color: var(--jaune-google); clip-path: inset(0 calc((1 - var(--rempli)) * 100%) 0 0); }
.g-logo { width: 24px; height: 24px; flex: none; }

/* Bouton rond d'agrandissement */
.projet__agrandir { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(242, 244, 239, .92); color: var(--nuit); transition: transform .4s var(--ease); }
.projet__agrandir svg { width: 20px; height: 20px; }
.projet__agrandir:hover { transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   En-tête et menu
   -------------------------------------------------------------------------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 100; transform: translateZ(0); backface-visibility: hidden; color: var(--papier); --logo-pousse: #8FD6A6; --logo-anneau: #8FD6A6; --logo-texte: #F2F4EF; --logo-sous: #8FD6A6; --logo-slogan: #8FD6A6; transition: background-color .4s, color .4s, box-shadow .4s; }
.entete.est-defile { background: rgba(15, 26, 19, .97); box-shadow: 0 1px 0 rgba(242, 244, 239, .08); }
.entete.est-plein, .menu-ouvert .entete { --logo-pousse: #197942; --logo-anneau: #197942; --logo-texte: #197942; --logo-sous: #197942; }
.entete.est-plein { background: rgba(242, 244, 239, .97); color: var(--encre); box-shadow: 0 1px 0 var(--filet); }
.entete__barre { display: flex; align-items: center; gap: 24px; height: var(--entete); max-width: calc(var(--max) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.marque { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav { display: none; }
.entete__tel { display: none; }
.menu-bouton { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font: 500 15px/20px var(--sans); }
.menu-bouton__traits { display: grid; gap: 6px; width: 24px; }
.menu-bouton__traits i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-ouvert .menu-bouton__traits i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-ouvert .menu-bouton__traits i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-ouvert .entete { background: var(--papier); color: var(--encre); }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--entete) + 24px) var(--marge) calc(24px + env(safe-area-inset-bottom)); background: var(--papier); overflow-y: auto; }
.menu__liens { display: grid; }
.menu__liens a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--filet); text-decoration: none; font: 500 32px/40px var(--display); }
.menu__liens small { font: 500 12px/16px var(--sans); color: var(--vert); letter-spacing: .1em; }
.menu__pied { display: grid; gap: 16px; padding-top: 32px; }
.menu__mention { font-size: 15px; color: var(--gris); }
@media (min-width: 1024px) {
  .logo-ligne__embleme { height: 50px; }
  .logo-ligne__nom { height: 27px; }
  .logo-ligne__sous { width: calc(27px * 453 / 144); }
  .nav { display: block; }
  .nav ul { display: flex; gap: 28px; }
  .nav a { position: relative; font: 500 16px/20px var(--sans); text-decoration: none; padding-block: 8px; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .entete__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font: 500 16px/20px var(--sans); text-decoration: none; opacity: .92; }
  .entete__tel svg { width: 18px; height: 18px; }
  .menu-bouton, .menu { display: none; }
}
@media (min-width: 1024px) and (max-width: 1599px) { .nav ul { gap: 22px; } }
@media (min-width: 1024px) and (max-width: 1280px) { .nav ul { gap: 16px; } .entete__tel span { display: none; } .entete__tel { padding: 0 13px; } }

/* --------------------------------------------------------------------------
   Hero : réalisations en plein écran sur téléphone ; sur ordinateur, texte sur fond nuit à gauche
   et photo bord à bord à droite. Les photos s'enchaînent en passes de taille-haie.
   -------------------------------------------------------------------------- */
/* Téléphone : la photo entière (3:4) occupe le haut de l'écran et se fond dans la nuit ; le texte vient dessous */
.hero { --panneau: 100%; --photo-h: min(calc(100vw * 4 / 3), 62svh); position: relative; display: grid; align-content: end; min-height: 100vh; min-height: 100svh; color: var(--papier); background-color: var(--nuit); background-image: var(--grain-sombre); overflow: hidden; isolation: isolate; }
.hero__fond { display: none; }
.hero__media { position: absolute; inset: 0 0 auto; height: var(--photo-h); z-index: -2; background: var(--nuit); }
.hero__premiere, .hero__premiere img, .hero__toile { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__premiere img { object-fit: cover; }
.hero__toile { opacity: 0; transition: opacity .6s; }
.hero.toile-prete .hero__toile { opacity: 1; }
.hero__voile {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 18, 13, .6) 0, rgba(10, 18, 13, 0) 20%) left top / 100% var(--photo-h) no-repeat,
    linear-gradient(to bottom, rgba(15, 26, 19, 0) 38%, rgba(15, 26, 19, .58) 62%, rgba(15, 26, 19, .88) 84%, #0F1A13 100%) left top / 100% calc(var(--photo-h) + 1px) no-repeat;
}
/* Ses photos de jardin en plein soleil sont claires : le surtitre vert garde une ombre douce pour rester lisible */
.hero .surtitre { text-shadow: 0 1px 10px rgba(6, 12, 8, .75); }
.hero__contenu { padding-top: calc(var(--entete) + 96px); padding-bottom: 24px; display: grid; justify-items: start; }
.fil { margin-bottom: 16px; font-size: 14px; line-height: 20px; color: rgba(242, 244, 239, .8); }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.fil li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.fil a { text-decoration: none; border-bottom: 1px solid rgba(242, 244, 239, .4); }
.hero__titre { margin-top: 16px; font-size: 32px; line-height: 38px; max-width: 13em; }
/* Bandeau de confiance Google, près du titre */
.preuve { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; line-height: 20px; }
.preuve .g-logo { width: 18px; height: 18px; }
.preuve strong { font-weight: 600; font-variant-numeric: proportional-nums; }
.preuve .etoiles i { width: 14px; height: 14px; }
.preuve--clair .etoiles svg { color: rgba(242, 244, 239, .3); }
.preuve--clair .etoiles svg + svg { color: #F5C04A; }
.preuve--hero { gap: 10px; min-height: 40px; margin-top: 24px; padding: 0 16px 0 6px; border-radius: 999px; background: rgba(242, 244, 239, .08); box-shadow: inset 0 0 0 1px rgba(242, 244, 239, .18); transition: background-color .3s; }
.preuve--hero:hover { background: rgba(242, 244, 239, .14); }
.preuve--hero .g-logo { box-sizing: border-box; padding: 6px; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.preuve--hero strong { font-size: 16px; line-height: 20px; }
.preuve--hero .etoiles { gap: 1px; }
.preuve--hero .etoiles i { width: 13px; height: 13px; }
.preuve--hero > span:last-child { color: rgba(242, 244, 239, .84); }
.hero__texte { margin-top: 24px; font-size: 17px; line-height: 26px; color: rgba(242, 244, 239, .9); max-width: 34em; }
.hero__actions { margin-top: 24px; width: 100%; flex-wrap: nowrap; }
.hero__actions .bouton--pousse { flex: 1 1 auto; }
/* Téléphone : l'appel tient dans un bouton rond à côté du devis */
.hero__actions .bouton--clair { flex: none; width: 52px; padding: 0; }
.hero__numero { display: none; }
.hero__mention { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 16px; font-size: 15px; line-height: 20px; color: rgba(242, 244, 239, .84); }
.hero__mention > span { display: inline-flex; align-items: center; gap: 8px; }
.hero__mention > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pousse); }
.hero__pied { position: absolute; top: calc(var(--entete) + 8px); left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-inline: var(--marge); }
.hero__legende { min-width: 0; text-shadow: 0 1px 12px rgba(6, 12, 8, .6); display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font: 500 14px/16px var(--sans); text-decoration: none; color: rgba(242, 244, 239, .95); transition: opacity .35s, transform .35s var(--ease); }
.hero__legende span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__legende svg { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }
.hero__legende:hover svg { transform: translateX(4px); }
.hero__legende.est-sortante { opacity: 0; transform: translateY(-4px); }
.hero__compteur { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/16px var(--sans); letter-spacing: .08em; color: rgba(242, 244, 239, .84); }
.hero__compteur i { display: block; width: 40px; height: 1px; background: rgba(242, 244, 239, .3); overflow: hidden; }
.hero__compteur b { display: block; height: 100%; background: var(--papier); transform: scaleX(0); transform-origin: left; }
/* Écrans courts : le paragraphe cède la place à la photo */
@media (max-height: 640px) and (max-width: 599px) { .hero__texte, .hero__mention { display: none; } }
@media (max-width: 599px) { .hero__mention { display: none; } }
@media (max-height: 760px) and (max-width: 599px) {
  .hero { --photo-h: 54svh; }
  .hero__titre { font-size: 30px; line-height: 36px; }
  .hero__contenu { padding-bottom: 16px; }
  .hero__texte { margin-top: 16px; }
}
@media (max-width: 359px) {
  .hero__titre { font-size: 28px; line-height: 34px; }
  .hero__texte { font-size: 16px; line-height: 24px; }
  .bouton { padding: 0 18px; }
  /* Très petits écrans : la pastille Google tient sur une ligne, la légende du plan prend la place du compteur */
  .preuve--hero { gap: 8px; padding-right: 12px; font-size: 13px; white-space: nowrap; }
  .preuve--hero strong { font-size: 15px; }
  .preuve--hero .etoiles i { width: 11px; height: 11px; }
  .hero__compteur { display: none; }
}
@media (min-width: 600px) {
  .hero { --photo-h: 62svh; }
  .hero__titre { font-size: 56px; line-height: 62px; }
  .hero__actions { width: auto; }
  .hero__actions .bouton--pousse { flex: none; }
  .hero__actions .bouton--clair { width: auto; padding: 0 24px; }
  .hero__numero { display: inline; }
  .hero__texte { font-size: 19px; line-height: 30px; }
}
@media (min-width: 1024px) {
  /* Panneau photo : la moitié de l'écran, sans dépasser un format proche du 4:5 */
  .hero { --panneau: min(50vw, 100svh * .9); min-height: max(640px, 100svh); grid-template-columns: minmax(0, 1fr) var(--panneau); align-content: stretch; }
  .hero__fond { display: block; position: absolute; inset: 0 var(--panneau) 0 0; z-index: -3; overflow: hidden; }
  .hero__fond i { position: absolute; inset: -40px; background-size: cover; background-position: center; opacity: 0; transform: scale(1.1); transition: opacity 1.6s; filter: saturate(1.05); }
  .hero__fond i.est-visible { opacity: 1; }
  .hero__media { inset: -8% 0 0 auto; width: var(--panneau); height: auto; }
  .hero { background-image: none; }
  .hero__voile {
    background:
      linear-gradient(to bottom, rgba(10, 18, 13, .5), rgba(10, 18, 13, 0) 24%) right top / var(--panneau) 100% no-repeat,
      linear-gradient(to top, rgba(10, 18, 13, .72), rgba(10, 18, 13, 0) 24%) right top / var(--panneau) 100% no-repeat,
      linear-gradient(rgba(15, 26, 19, .82), rgba(15, 26, 19, .9)) left top / calc(100% - var(--panneau)) 100% no-repeat;
  }
  .hero__voile::after { content: ""; position: absolute; inset: 0 0 0 auto; width: var(--panneau); border-left: 1px solid rgba(143, 214, 166, .3); }
  .hero__contenu { grid-column: 1; align-self: center; max-width: none; margin: 0; padding: calc(var(--entete) + 48px) 64px 104px max(var(--marge), calc((100vw - var(--max)) / 2)); container-type: inline-size; }
  /* Taille calée sur la colonne : chaque ligne du titre tient toujours sur une ligne */
  .hero__titre { font-size: min(clamp(44px, 4.2vw, 80px), 8.6cqi); line-height: 1.12; max-width: none; }
  .hero__texte { max-width: 30em; }
  .hero__pied { top: auto; left: auto; right: 0; bottom: 0; width: var(--panneau); padding: 0 32px 32px; }
  .hero__pied .hero__legende { order: 2; margin-left: auto; text-align: right; }
  .hero__pied .hero__compteur { order: 1; }
  .hero__compteur i { width: 72px; }
}

/* --------------------------------------------------------------------------
   Avant / après : comparateur au curseur
   -------------------------------------------------------------------------- */
.comparer__onglets { display: flex; gap: 8px 24px; margin: -8px 0 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--filet); }
.comparer__onglets::-webkit-scrollbar { display: none; }
.comparer__onglets button { position: relative; display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 12px 0; font: 500 16px/24px var(--sans); color: var(--gris); white-space: nowrap; transition: color .3s; }
.comparer__onglets small { font: 500 12px/16px var(--sans); letter-spacing: .1em; color: var(--vert); }
.comparer__onglets button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.comparer__onglets [aria-selected="true"] { color: var(--encre); }
.comparer__onglets [aria-selected="true"]::after { transform: scaleX(1); }
.comparer__projet { display: grid; gap: 24px; }
.comparer__projet[hidden] { display: none; }
.comparer__projet.est-actif { animation: apparaitre .6s var(--ease); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(8px); } }
.comparer__cadre { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--papier-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; max-height: 78vh; margin-inline: auto; width: 100%; max-width: calc(78vh * var(--r, 1)); }
.comparer__cadre:has(.comparer__curseur:focus-visible) { outline: 2px solid var(--vert); outline-offset: 4px; }
.comparer__fond, .comparer__dessus { position: absolute; inset: 0; }
.comparer__fond picture, .comparer__dessus picture, .comparer__fond img, .comparer__dessus img { width: 100%; height: 100%; }
.comparer__fond img, .comparer__dessus img { object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.comparer__dessus { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.comparer__poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--papier); box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none; }
.comparer__bouton { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--papier); color: var(--vert); box-shadow: 0 8px 24px rgba(10, 18, 13, .28); transition: transform .3s var(--ease); }
.comparer__bouton svg { width: 18px; height: 18px; }
.comparer__cadre.est-tenu .comparer__bouton { transform: scale(.9); }
.comparer__curseur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.comparer__etiquette { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(15, 26, 19, .74); color: var(--papier); font: 500 12px/16px var(--sans); letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.comparer__etiquette--g { left: 16px; }
.comparer__etiquette--d { right: 16px; }
.comparer__infos { display: grid; gap: 16px; align-content: start; }
.comparer__numero { font: 500 12px/16px var(--sans); letter-spacing: .16em; color: var(--vert); }
.comparer__titre { font: 500 28px/36px var(--display); text-wrap: balance; }
.comparer__note { color: var(--encre-2); max-width: 46ch; }
.comparer__date { font-size: 15px; color: var(--gris); }
.comparer__suivant { display: none; }
.comparer__aide { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 15px; color: var(--gris); }
.comparer__geste { position: relative; width: 40px; height: 1px; background: var(--filet-fort); }
.comparer__geste::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); animation: geste 2.4s var(--ease-io) infinite; }
@keyframes geste { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(31px); } }
@media (min-width: 1024px) {
  /* Le texte part du haut de la photo ; le chantier suivant, en vignette, ferme la colonne au bas de la photo */
  .comparer__projet { grid-template-columns: auto minmax(320px, 1fr); gap: 80px; align-items: stretch; }
  .comparer__infos { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
  .comparer__suivant { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "image image" "texte fleche"; align-items: end; gap: 16px 24px; margin-top: auto; padding-top: 32px; text-align: left; color: var(--encre); }
  .comparer__vignette { grid-area: image; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--rayon); }
  .comparer__vignette picture, .comparer__vignette img { width: 100%; height: 100%; }
  .comparer__vignette img { object-fit: cover; transition: transform .6s var(--ease); }
  .comparer__suivant-texte { grid-area: texte; display: grid; gap: 4px; }
  .comparer__suivant small { font: 500 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--vert); }
  .comparer__suivant strong { font: 500 22px/28px var(--display); text-wrap: balance; }
  .comparer__suivant > svg { grid-area: fleche; margin-bottom: 4px; width: 20px; height: 20px; color: var(--vert); transition: transform .4s var(--ease); }
  .comparer__suivant:hover img { transform: scale(1.05); }
  .comparer__suivant:hover > svg { transform: translateX(4px); }
  .comparer__cadre { width: calc(min(84vh, 800px) * var(--r)); max-width: min(calc(84vh * var(--r)), 58vw); max-height: none; margin-inline: 0; }
  .comparer__infos { max-width: 520px; }
  .comparer__titre { font-size: 36px; line-height: 44px; }
  .comparer__note { font-size: 19px; line-height: 30px; }
}

/* --------------------------------------------------------------------------
   Prestations
   -------------------------------------------------------------------------- */
.savoir .conteneur { position: relative; }
.savoir__filigrane { position: absolute; right: -16%; bottom: -12%; width: min(90vw, 620px); --logo-pousse: rgba(25, 121, 66, .06); --logo-anneau: rgba(25, 121, 66, .06); }
.savoir__liste { border-top: 1px solid var(--filet-fort); }
.savoir__item { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "num image" "titre image" "texte image"; column-gap: 16px; align-content: start; padding-block: 24px; border-bottom: 1px solid var(--filet); }
.savoir__num { grid-area: num; font: 500 12px/16px var(--sans); letter-spacing: .16em; color: var(--vert); }
.savoir__titre { grid-area: titre; margin-top: 4px; font: 500 24px/30px var(--display); text-wrap: balance; }
.savoir__texte { grid-area: texte; margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--encre-2); }
/* Toutes les vignettes au même format 4:5 ; un toucher les ouvre en grand */
.savoir__image { grid-area: image; align-self: start; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); cursor: zoom-in; }
.savoir__image picture, .savoir__image img { width: 100%; height: 100%; }
.savoir__image img { object-fit: cover; transition: transform .6s var(--ease); }
.savoir__image:hover img { transform: scale(1.04); }
.savoir__flottant { display: none; }
@media (min-width: 1024px) {
  /* Liste à gauche, photo de la ligne survolée (ou touchée) dans un panneau fixe à droite : le texte n'est jamais couvert */
  .savoir .conteneur { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 80px; align-items: start; }
  .savoir .tete { grid-column: 1 / -1; }
  .savoir__liste { grid-column: 1; }
  .savoir__item { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "num titre" ". texte"; column-gap: 24px; align-items: baseline; padding-block: 24px; cursor: default; transition: opacity .5s; }
  .savoir__titre { margin: 0; font-size: 32px; line-height: 40px; transition: transform .6s var(--ease); }
  .savoir__texte { margin-top: 8px; font-size: 17px; line-height: 26px; max-width: 48ch; }
  .savoir__image { display: none; }
  .savoir__item:not(.est-active) { opacity: .45; }
  .savoir__item.est-active .savoir__titre { transform: translateX(8px); }
  .savoir__agrandir { z-index: 1; }
  .savoir__flottant { display: block; grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--entete) + 48px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--entete) - 96px); width: 100%; border-radius: var(--rayon); overflow: hidden; background: var(--papier); cursor: zoom-in; }
  .savoir__flottant > div { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1.2s var(--ease); }
  .savoir__flottant > div.est-visible { opacity: 1; transform: none; }
  .savoir__flottant picture, .savoir__flottant img { width: 100%; height: 100%; }
  .savoir__flottant img { object-fit: cover; }
}

/* --------------------------------------------------------------------------
   Méthode (section sombre) : les étapes reliées par une tige qui pousse au défilement
   -------------------------------------------------------------------------- */
.methode__filigrane { position: absolute; left: -18%; bottom: -18%; width: min(110vw, 760px); --logo-pousse: rgba(143, 214, 166, .06); --logo-anneau: rgba(143, 214, 166, .06); }
.methode__corps { position: relative; }
.methode__cote .tete { margin-bottom: 24px; }
.methode__cote .actions { margin-bottom: 48px; }
.methode__etapes { position: relative; display: grid; gap: 40px; }
.methode__trait { position: absolute; top: 0; left: 0; width: 100%; overflow: visible; pointer-events: none; }
.methode__trait path { fill: none; stroke: var(--pousse); stroke-width: 1.6; stroke-linecap: round; }
.etape { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.etape__numero { position: relative; align-self: start; font: 500 32px/40px var(--display); color: var(--pousse); font-variant-numeric: lining-nums; }
.etape__corps { display: grid; gap: 8px; padding-top: 4px; }
.etape__titre { font: 500 24px/30px var(--display); text-wrap: balance; }
.etape__texte { color: var(--encre-2); max-width: 46ch; }
@media (min-width: 1024px) {
  .methode__corps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
  .methode__cote { position: sticky; top: calc(var(--entete) + 48px); }
  .methode__etapes { gap: 0; }
  .etape { grid-template-columns: 72px minmax(0, 1fr); gap: 24px; min-height: 34vh; align-content: center; padding-block: 28px; opacity: .4; transition: opacity .6s; }
  .etape.est-active { opacity: 1; }
  .etape__numero { font-size: 48px; line-height: 56px; }
  .etape__titre { font-size: 34px; line-height: 42px; }
  .etape__texte { font-size: 19px; line-height: 30px; max-width: 48ch; }
}
html:not(.mvt) .etape { opacity: 1; }

/* --------------------------------------------------------------------------
   Avis : grande citation, et à côté l'encadré Google suivi des avis courts
   -------------------------------------------------------------------------- */
.google { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo note" "detail detail" "lien lien"; align-items: center; gap: 12px 16px; padding: 24px; border-radius: var(--rayon); background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet); text-decoration: none; transition: box-shadow .3s; }
.google:hover { box-shadow: inset 0 0 0 1px var(--filet-fort); }
.google .g-logo { grid-area: logo; width: 32px; height: 32px; }
.google__note { grid-area: note; display: flex; align-items: baseline; gap: 8px; }
.google__note strong { font: 500 48px/48px var(--display); font-variant-numeric: lining-nums proportional-nums; }
.google__note span { color: var(--gris); }
.google__detail { grid-area: detail; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; color: var(--encre-2); }
.google__detail .etoiles i { width: 18px; height: 18px; }
.google__lien { grid-area: lien; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }
.google__lien svg { width: 16px; height: 16px; }
.avis__une { display: grid; gap: 40px; }
.avis__cote { display: grid; gap: 16px; align-content: start; min-width: 0; }
.grande-citation { max-width: 980px; }
.grande-citation blockquote { display: grid; gap: 16px; font: italic 400 24px/36px var(--sans); }
.grande-citation figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; font-size: 15px; color: var(--gris); }
.grande-citation figcaption strong { color: var(--encre); font-weight: 600; }
/* Téléphone et tablette : les avis défilent sur les côtés (piste aimantée), jamais en longue colonne */
.avis__grille { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 360px); gap: 16px; align-items: stretch; margin-inline: calc(-1 * var(--marge)); padding: 4px var(--marge) 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); scrollbar-width: none; }
.avis__grille::-webkit-scrollbar { display: none; }
.avis__grille > .avis-carte { scroll-snap-align: start; }
.defile { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--gris); }
.defile.est-inutile { display: none; }
.defile__trait { display: block; width: 96px; height: 1px; background: var(--filet-fort); overflow: hidden; }
.defile__trait b { display: block; height: 100%; background: var(--encre); transform-origin: left; transform: scaleX(.2); }
.avis-carte { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--rayon); background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet); }
.avis-carte__haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--gris); }
.avis-carte__texte { display: grid; gap: 8px; font: italic 400 22px/32px var(--sans); overflow: hidden; }
.avis-carte__texte.est-coupe { max-height: 252px; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.avis-carte__suite { align-self: flex-start; min-height: 32px; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--filet-fort); }
.avis-carte figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--filet); font-size: 15px; }
.avis-carte--lien { cursor: pointer; transition: box-shadow .3s, transform .4s var(--ease); }
.avis-carte--lien:hover { box-shadow: inset 0 0 0 1px var(--filet-fort), 0 12px 32px rgba(15, 26, 19, .08); transform: translateY(-2px); }
.avis-lien { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--encre-2); text-decoration: none; }
.avis-lien .g-logo { width: 14px; height: 14px; }
.avis-lien svg:last-child { width: 14px; height: 14px; }
.avis-lien:hover span { text-decoration: underline; text-underline-offset: 3px; }
.grande-citation .avis-lien { margin-left: 0; }
.avis__pied { margin-top: 32px; }
@media (min-width: 768px) { .avis__grille { grid-auto-columns: min(42vw, 360px); } .grande-citation blockquote { font-size: 32px; line-height: 46px; } }
@media (min-width: 1024px) {
  /* Ordinateur : la citation à gauche ; à droite, l'encadré Google puis les avis courts, en colonne régulière */
  .avis__une { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 80px; align-items: start; }
  .grande-citation blockquote { font-size: 38px; line-height: 54px; }
  .avis__grille { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .defile { display: none; }
}

/* --------------------------------------------------------------------------
   Qui je suis : portrait et photo de chantier posée dessus, emblème en filigrane,
   texte, devise, chiffres et valeurs dans une seule colonne
   -------------------------------------------------------------------------- */
.atelier__grille { display: grid; gap: 48px; }
.atelier__photos { position: relative; isolation: isolate; padding-bottom: 20%; padding-right: 18%; }
.atelier__filigrane { position: absolute; z-index: -1; right: 0; top: -5%; width: 58%; --logo-pousse: rgba(141, 184, 155, .28); --logo-anneau: rgba(141, 184, 155, .28); }
.atelier__photo { overflow: hidden; border-radius: var(--rayon); aspect-ratio: 4 / 5; }
.atelier__photo picture { height: 110%; margin-top: -5%; }
.atelier__photo img, .atelier__photo2 img { width: 100%; height: 100%; object-fit: cover; }
.atelier__photo2 { position: absolute; right: 0; bottom: 0; width: 44%; max-width: 280px; border: 6px solid var(--papier); border-radius: 6px; background: var(--papier); box-shadow: 0 24px 48px rgba(15, 26, 19, .18); transform: rotate(2.5deg); }
.atelier__photo2 picture { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.atelier__photo2 figcaption { padding: 8px 4px 2px; font-size: 13px; line-height: 16px; color: var(--gris); }
.atelier__texte { display: grid; gap: 16px; align-content: start; }
.atelier__texte .tete { margin-bottom: 8px; }
/* Sa devise, en serif droite (ce sont ses mots, pas ceux d'un client : pas d'italique) */
.atelier__devise { display: grid; gap: 8px; margin-top: 8px; padding-left: 20px; border-left: 2px solid var(--pousse); font: 400 22px/32px var(--display); color: var(--encre); }
.atelier__devise span { font: 500 13px/16px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--vert); }
/* Chiffres clés : la typographie seule */
/* Le seul avis de sa fiche, cité ici (pas de section à part) : repères Google, italique réelle d'Asap */
.atelier__avis { display: grid; gap: 12px; margin-top: 8px; padding: 20px 20px 18px; border-radius: var(--rayon); background-color: var(--carte); box-shadow: 0 1px 0 var(--filet-fort), 0 16px 40px rgba(15, 26, 19, .07); }
.atelier__avis-haut { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 14px; line-height: 20px; color: var(--gris); }
.atelier__avis-haut .g-logo { width: 20px; height: 20px; }
.atelier__avis blockquote p { font: italic 400 24px/32px var(--sans); color: var(--encre); text-wrap: balance; }
.atelier__avis figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 15px; line-height: 20px; color: var(--gris); }
.atelier__avis figcaption strong { color: var(--encre); font-weight: 600; }
.atelier__avis .avis-lien { margin-left: auto; }
/* Ses chantiers en mètres : chaque longueur sur un mètre ruban gradué tous les 5 m, à la même échelle (75 m) */
.chiffres__titre { margin-top: 16px; font: 500 12px/16px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--vert); }
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; padding-block: 8px; }
.chiffres--metres { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 0; }
.chiffres--metres > div { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; align-items: baseline; }
.chiffres--metres dt { font-variant-numeric: lining-nums tabular-nums; }
.chiffres--metres dd { max-width: 34ch; }
.ruban { grid-column: 1 / -1; position: relative; display: block; height: 12px; color: var(--filet-fort);
  background-image: linear-gradient(90deg, currentColor 1px, transparent 1px), linear-gradient(currentColor, currentColor);
  background-size: calc(100% / 15) 6px, 100% 1px; background-repeat: repeat-x, no-repeat; background-position: 0 100%, 0 100%; }
.ruban::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 6px; background: currentColor; }
.ruban i { position: absolute; left: 0; bottom: 0; width: calc(var(--part, 1) * 100%); height: 4px; border-radius: 0 2px 2px 0; background: var(--vert); transform: scaleX(0); transform-origin: left center; transition: transform 1.5s cubic-bezier(.33, 1, .68, 1); }
.ruban.est-vue i, html:not(.mvt) .ruban i { transform: none; }
.chiffres > div { display: grid; align-content: start; gap: 6px; }
.chiffres dt { font: 500 30px/36px var(--display); font-variant-numeric: lining-nums proportional-nums; white-space: nowrap; color: var(--vert); }
.chiffres dd { font-size: 14px; line-height: 18px; color: var(--gris); }
.valeurs { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--filet-fort); }
.valeurs li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--filet); }
.valeurs span { grid-row: span 2; font: 500 12px/28px var(--sans); letter-spacing: .16em; color: var(--vert); }
.valeurs h3 { font: 500 22px/28px var(--display); }
.valeurs p { margin-top: 2px; font-size: 16px; line-height: 24px; color: var(--encre-2); max-width: 48ch; }
@media (max-width: 599px) { .chiffres dt { font-size: 24px; line-height: 30px; } .chiffres dd { font-size: 13px; line-height: 16px; } .chiffres--metres > div { grid-template-columns: 72px minmax(0, 1fr); } .chiffres--metres dt { font-size: 28px; line-height: 32px; } .chiffres--metres dd { font-size: 15px; line-height: 20px; } }
@media (max-width: 359px) { .chiffres dt { font-size: 21px; line-height: 28px; } .chiffres { gap: 10px; } }
@media (min-width: 768px) {
  .atelier__photos { max-width: 640px; }
  .chiffres dt { font-size: 40px; line-height: 48px; }
  .chiffres dd { font-size: 15px; line-height: 20px; }
}
@media (min-width: 1024px) {
  /* Colonne de texte longue (avis, mètres, valeurs) : les photos, collantes, accompagnent la lecture au lieu de
     flotter au milieu d'une grande marge */
  .atelier__grille { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 96px; align-items: start; }
  .chiffres--metres > div { grid-template-columns: 128px minmax(0, 1fr); }
  .atelier__photos { max-width: none; padding-bottom: 14%; position: sticky; top: calc(var(--entete) + 40px); }
  .atelier__photo { max-height: calc(100vh - var(--entete) - 120px); }
  .chiffres dt { font-size: 36px; line-height: 44px; }
  .valeurs h3 { font-size: 24px; line-height: 30px; }
  .atelier__devise { font-size: 26px; line-height: 36px; }
}
@media (min-width: 1280px) { .chiffres dt { font-size: 40px; line-height: 48px; } }

/* --------------------------------------------------------------------------
   Sur Instagram : grille au format des profils (3:4)
   -------------------------------------------------------------------------- */
.flux__barre { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "avatar nom" "suivre suivre"; align-items: center; gap: 12px 16px; padding-block: 16px; margin-bottom: 16px; border-block: 1px solid var(--filet); }
.flux__avatar { grid-area: avatar; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet-fort), 0 0 0 3px var(--papier-2), 0 0 0 4px var(--vert); }
.flux__avatar .embleme { width: 30px; }
.flux__nom { grid-area: nom; display: grid; gap: 2px; justify-items: start; }
.flux__nom strong { font: 500 20px/26px var(--display); }
.flux__nom span { font-size: 15px; color: var(--gris); }
.flux__barre .bouton { grid-area: suivre; justify-self: start; min-height: 44px; padding: 0 20px; }
.flux__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-inline: calc(-1 * var(--marge) + 4px); }
.flux__case { position: relative; aspect-ratio: 3 / 4; min-width: 0; }
.flux__bouton { position: absolute; inset: 0; display: block; width: 100%; overflow: hidden; border-radius: 2px; background: var(--papier); cursor: zoom-in; text-align: left; }
.flux__photo, .flux__photo picture, .flux__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.flux__photo img { object-fit: cover; transition: transform 1.2s var(--ease); }
.flux__bouton:hover .flux__photo img { transform: scale(1.05); }
.flux__legende { display: none; }
@media (min-width: 600px) {
  .flux__barre { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "avatar nom suivre"; }
  .flux__avatar { width: 64px; height: 64px; }
  .flux__avatar .embleme { width: 34px; }
  .flux__barre .bouton { justify-self: end; }
  .flux__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-inline: 0; }
  .flux__bouton { border-radius: var(--rayon); }
}
@media (min-width: 1024px) {
  .flux__grille { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  /* La légende monte au survol */
  .flux__legende { display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 14px 12px; background: linear-gradient(to top, rgba(10, 18, 13, .78), transparent); color: var(--papier); font: 500 15px/20px var(--sans); pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
  .flux__bouton:hover .flux__legende, .flux__bouton:focus-visible .flux__legende { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Zone d'intervention
   -------------------------------------------------------------------------- */
.secteur { position: relative; display: flex; flex-direction: column-reverse; background-color: var(--papier); background-image: var(--grain); }
.secteur__carte { position: relative; height: 360px; background: var(--papier-2); overflow: hidden; }
/* L'encadré automatique de Google est rogné par le haut : la fiche du site le remplace */
.secteur__carte iframe { position: absolute; left: 0; top: -190px; width: 100%; height: calc(100% + 190px); border: 0; filter: saturate(.72) hue-rotate(4deg); }
.secteur__fiche { display: grid; gap: 16px; padding-block: var(--section) 40px; }
.secteur__texte { font-size: 19px; line-height: 30px; color: var(--encre-2); max-width: 44ch; }
/* Communes : une liste en texte simple, en colonnes courtes ; rien qui ait l'air d'un bouton, aucune commune mise en avant */
.secteur__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr)); gap: 4px 24px; margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--encre-2); }
.secteur__liste a { color: inherit; text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.secteur__liste a:hover { text-decoration-color: currentColor; }
.secteur__adresse { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; color: var(--gris); }
.secteur__adresse svg { width: 18px; height: 18px; color: var(--vert); flex: none; }
.secteur__lien { justify-self: start; margin-top: 8px; }
@media (min-width: 1024px) {
  .secteur { display: block; }
  .secteur__carte { height: min(720px, 84vh); }
  .secteur__conteneur { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
  .secteur__fiche { pointer-events: auto; width: 500px; padding: 40px; border-radius: var(--rayon); background-color: var(--papier); background-image: var(--grain); box-shadow: 0 24px 64px rgba(15, 26, 19, .18); }
}

/* --------------------------------------------------------------------------
   Questions fréquentes
   -------------------------------------------------------------------------- */
.faq__liste { border-top: 1px solid var(--filet-fort); }
.faq__cote .tete { margin-bottom: 32px; }
.encart { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px 20px; align-items: center; margin-bottom: 40px; padding: 24px; border-radius: var(--rayon); background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet); }
.encart__photo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background-color: var(--papier); box-shadow: inset 0 0 0 1px var(--filet); }
.encart__photo .embleme { width: 40px; }
.encart__titre { font: 500 22px/28px var(--display); margin-bottom: 4px; }
.encart__texte p:last-child { font-size: 16px; line-height: 24px; color: var(--encre-2); }
.encart__actions { grid-column: 1 / -1; }
.encart__actions .bouton { flex: 1 1 auto; min-height: 48px; padding: 0 20px; }
.question { border-bottom: 1px solid var(--filet); }
.question summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; font: 500 21px/28px var(--display); }
.question summary::-webkit-details-marker { display: none; }
.question summary i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--filet-fort); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.question summary svg { width: 16px; height: 16px; }
.question[open] summary i { transform: rotate(45deg); background: var(--vert); color: #fff; box-shadow: none; }
.question__reponse { padding-bottom: 24px; color: var(--encre-2); max-width: 60ch; }
@media (min-width: 1024px) {
  .faq__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .encart { margin-bottom: 0; }
  .faq__cote { position: sticky; top: calc(var(--entete) + 48px); }
  .question summary { font-size: 26px; line-height: 34px; min-height: 80px; }
}

/* --------------------------------------------------------------------------
   Devis : formulaire court
   -------------------------------------------------------------------------- */
.contact__grille { display: grid; gap: 48px; }
.devis { position: relative; display: grid; gap: 24px; }
.devis__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.champ legend, .champ-texte > span { display: block; margin-bottom: 12px; font: 500 12px/16px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.champ small, .champ-texte small { font-weight: 400; letter-spacing: .02em; text-transform: none; }
.champs-ligne { display: grid; gap: 24px; }
.champ-texte { display: block; }
.champ-texte input, .champ-texte textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--rayon);
  background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet-fort); color: var(--encre); font: 400 17px/24px var(--sans);
  transition: box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.champ-texte textarea { min-height: 112px; resize: vertical; }
.champ-texte input:focus, .champ-texte textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--vert); }
.champ-texte input::placeholder, .champ-texte textarea::placeholder { color: #7E8F84; }
.devis.est-verifie .champ-texte input:invalid { box-shadow: inset 0 0 0 2px #B3261E; }
.devis__envoi { display: grid; gap: 16px; }
.devis__envoi .bouton { width: 100%; min-height: 56px; border: 0; cursor: pointer; }
.devis__envoi .bouton[disabled] { opacity: .6; cursor: progress; }
.devis__alternative { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; line-height: 20px; color: var(--gris); }
.devis__alternative a { display: inline-flex; align-items: center; gap: 6px; color: var(--encre); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--filet-fort); }
.devis__alternative svg { width: 16px; height: 16px; }
.devis__astuce { font-size: 15px; line-height: 22px; color: var(--gris); }
.devis__erreur { padding: 16px; border-radius: var(--rayon); background: #FBEDEC; color: #6B1F1A; font-size: 15px; line-height: 22px; }
.devis__erreur a { font-weight: 600; }
.devis-merci { display: grid; gap: 16px; justify-items: start; padding: 32px; border-radius: var(--rayon); background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet); }
.devis-merci:focus { outline: none; }
.devis-merci__coche { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pousse); color: var(--nuit); }
.devis-merci__coche svg { width: 28px; height: 28px; }
.devis-merci h3 { font: 500 28px/36px var(--display); }
.devis-merci p { color: var(--encre-2); max-width: 44ch; }
.contact__cote { display: grid; gap: 32px; align-content: start; }
.diaporama { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); background: var(--papier-2); cursor: pointer; }
.diaporama__vue { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.diaporama__vue.est-visible { opacity: 1; }
.diaporama__vue picture, .diaporama__vue img { width: 100%; height: 100%; }
.diaporama__vue img { object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.diaporama__vue.est-visible img { transform: scale(1); }
.diaporama__vue figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 40px; background: linear-gradient(to top, rgba(10, 18, 13, .74), transparent); color: var(--papier); font-size: 15px; line-height: 20px; }
.diaporama__points { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 8px; }
.diaporama__points i { width: 24px; height: 2px; background: rgba(242, 244, 239, .4); transition: background-color .4s; }
.diaporama__points i.est-actif { background: var(--papier); }
.coordonnees { display: grid; gap: 16px; }
.coordonnees li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.coordonnees svg { width: 22px; height: 22px; color: var(--vert); margin-top: 3px; }
.coordonnees a { text-decoration: none; border-bottom: 1px solid var(--filet-fort); }
.coordonnees a:hover { border-color: currentColor; }
@media (min-width: 600px) {
  .champs-ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .devis__envoi { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; }
  .devis__envoi .bouton { width: auto; padding: 0 32px; }
}
@media (min-width: 1024px) {
  .contact__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; }
  .contact__cote { position: sticky; top: calc(var(--entete) + 32px); align-self: start; }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied { background-color: var(--nuit); background-image: var(--grain-sombre); padding-block: 80px calc(96px + env(safe-area-inset-bottom)); }
.pied__haut { display: grid; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--filet); }
.pied__logo { display: block; justify-self: start; width: 240px; text-decoration: none; }
.pied__slogan { font: 400 22px/30px var(--display); color: var(--encre-2); max-width: 26ch; text-wrap: balance; }
.pied__grille { display: grid; gap: 32px; padding-block: 48px; }
.pied h3 { margin-bottom: 12px; font: 500 12px/16px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.pied p { line-height: 28px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied__communes { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 32px; line-height: 28px; }
.pied__reseaux { display: grid; gap: 10px; }
.pied__reseaux a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pied__reseaux svg { width: 20px; height: 20px; }
.pied__reseaux .g-logo { width: 20px; height: 20px; }
.pied__bas { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--filet); font-size: 14px; line-height: 20px; color: var(--gris); }
.pied__bas a { color: var(--encre-2); border-bottom: 1px solid var(--filet-fort); }
@media (min-width: 768px) {
  .pied__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied__bas { grid-template-columns: 1fr auto; }
}
@media (min-width: 1024px) {
  .pied { padding-bottom: 48px; }
  .pied__haut { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 64px; }
  .pied__logo { width: 280px; }
  .pied__slogan { justify-self: start; text-align: left; font-size: 28px; line-height: 36px; max-width: 30ch; padding-left: 64px; border-left: 1px solid var(--filet); }
}

/* --------------------------------------------------------------------------
   Barre mobile : l'appel en un geste, toujours à portée de pouce
   -------------------------------------------------------------------------- */
.barre { will-change: transform; backface-visibility: hidden; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; padding: 8px var(--marge) calc(8px + env(safe-area-inset-bottom)); background: rgba(242, 244, 239, .97); box-shadow: 0 -1px 0 var(--filet); transform: translateY(110%); transition: transform .5s var(--ease); }
.barre.est-visible { transform: none; }
.barre .bouton { min-height: 48px; padding: 0 16px; }
@media (min-width: 1024px) { .barre { display: none; } }

/* --------------------------------------------------------------------------
   Visionneuse
   -------------------------------------------------------------------------- */
.visionneuse { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 72px 16px 88px; background: rgba(10, 18, 13, .96); color: var(--papier); opacity: 0; transition: opacity .28s; }
.visionneuse.est-ouverte { opacity: 1; }
.visionneuse__scene { display: grid; justify-items: center; gap: 16px; width: 100%; height: 100%; align-content: center; }
.visionneuse__image { width: 100%; height: 100%; max-height: calc(100vh - 220px); display: grid; place-items: center; }
.visionneuse__image picture { max-width: 100%; max-height: 100%; }
.visionneuse__image img { max-width: 100%; max-height: calc(100vh - 220px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.visionneuse figcaption { display: grid; justify-items: center; gap: 8px; font-size: 15px; color: rgba(242, 244, 239, .84); text-align: center; }
.visionneuse__lien { display: inline-flex; align-items: center; gap: 8px; color: var(--pousse); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(143, 214, 166, .4); }
.visionneuse__lien svg { width: 16px; height: 16px; }
.visionneuse .rond { position: absolute; color: var(--papier); box-shadow: inset 0 0 0 1px rgba(242, 244, 239, .4); }
.visionneuse__fermer { top: 16px; right: 16px; }
.visionneuse__prec { left: 16px; bottom: 24px; }
.visionneuse__suiv { right: 16px; bottom: 24px; }
.visionneuse__compteur { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); font: 500 13px/20px var(--sans); letter-spacing: .1em; }
.visionneuse.est-seule .visionneuse__prec, .visionneuse.est-seule .visionneuse__suiv { display: none; }
@media (min-width: 1024px) {
  .visionneuse { padding: 80px 112px; }
  .visionneuse__prec, .visionneuse__suiv { top: 50%; bottom: auto; margin-top: -24px; }
  .visionneuse__prec { left: 32px; }
  .visionneuse__suiv { right: 32px; }
  .visionneuse__fermer { top: 24px; right: 32px; }
}

/* --------------------------------------------------------------------------
   Intro autour du logo (papier, vert d'origine) : anneau, pousse, puis MCD et PAYSAGISTE
   -------------------------------------------------------------------------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: auto; }
.intro__voile { position: absolute; inset: 0; background-color: var(--papier); background-image: var(--grain); will-change: opacity; }
.intro__logo { --l: min(80vw, 440px); position: relative; width: var(--l); height: calc(var(--l) * 288 / 795); }
.intro__logo svg { position: absolute; overflow: visible; will-change: transform; }
.intro__embleme { left: 0; top: 0; width: calc(var(--l) * 287.4 / 795); }
.intro__nom { left: calc(var(--l) * 342.6 / 795); top: calc(var(--l) * 33.3 / 795); width: calc(var(--l) * 453 / 795); }
.intro__sous { left: calc(var(--l) * 342.6 / 795); top: calc(var(--l) * 210.3 / 795); width: calc(var(--l) * 454 / 795); }

/* --------------------------------------------------------------------------
   Pages simples : merci, note « référencement »
   -------------------------------------------------------------------------- */
.page-simple { min-height: 100vh; min-height: 100svh; padding-block: 48px 80px; }
.page-simple .conteneur { display: grid; gap: 24px; justify-items: start; max-width: calc(880px + 2 * var(--marge)); }
.page-simple__logo { display: block; width: 120px; }
.page-simple__logo img { width: 100%; height: auto; }
.ref__liste { display: grid; width: 100%; margin-top: 16px; border-top: 1px solid var(--filet-fort); }
.ref__liste li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--filet); }
.ref__coche { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pousse-pale); color: var(--vert); }
.ref__coche svg { width: 18px; height: 18px; }
.ref__liste h2 { font: 500 22px/28px var(--display); }
.ref__liste p { margin-top: 4px; font-size: 16px; line-height: 26px; color: var(--encre-2); }
.ref__liste a { color: var(--vert); }
.ref code { padding: 1px 6px; border-radius: 4px; background: var(--papier-2); font: 500 .86em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.ref__suite { width: 100%; margin-top: 16px; padding: 24px; border-radius: var(--rayon); background: var(--carte); box-shadow: inset 0 0 0 1px var(--filet); }
.ref__suite h2 { font: 500 24px/32px var(--display); margin-bottom: 12px; }
.ref__suite ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; color: var(--encre-2); }
@media (min-width: 1024px) { .page-simple { padding-block: 80px 120px; } .page-simple__logo { width: 140px; } }

/* --------------------------------------------------------------------------
   Mouvement réduit ou animations absentes : tout est visible, rien ne bouge
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
html.mvt [data-a] { opacity: 0; }

/* Très grands écrans : le gabarit s'élargit et la typographie suit, pour ne pas laisser un îlot au milieu */
@media (min-width: 2200px) {
  :root { --marge: 96px; --max: 2080px; --section: 144px; --entete: 96px; }
  body { font-size: 19px; line-height: 30px; }
  .chapo { font-size: 22px; line-height: 34px; }
  .titre { font-size: 72px; line-height: 80px; }
  .hero__titre { font-size: min(clamp(80px, 4vw, 104px), 8.6cqi); }
  .hero__texte { font-size: 22px; line-height: 34px; }
  .bouton { min-height: 60px; padding: 0 28px; font-size: 18px; }
  .surtitre { font-size: 13px; }
  .savoir__texte, .etape__texte, .secteur__texte, .comparer__note { font-size: 20px; line-height: 32px; }
  .logo-ligne__embleme { height: 60px; }
  .logo-ligne__nom { height: 32px; }
  .logo-ligne__sous { width: calc(32px * 453 / 144); }
  .nav a { font-size: 18px; }
  .etape__titre, .savoir__titre { font-size: 42px; line-height: 50px; }
  .comparer__titre { font-size: 44px; line-height: 52px; }
  .grande-citation { max-width: 1240px; }
  .grande-citation blockquote { font-size: 48px; line-height: 66px; }
  .avis-carte__texte { font-size: 26px; line-height: 36px; }
  .question summary { font-size: 30px; line-height: 40px; }
  .flux__legende { font-size: 17px; }
}

/* Carte OpenStreetMap : pas d'encadré à masquer en haut */
.secteur__carte--osm iframe { top: 0; height: 100%; }

/* Mentions légales */
.mentions .titre { margin-bottom: 32px; }
.mentions__bloc { width: 100%; max-width: 680px; padding-block: 24px; border-top: 1px solid var(--filet); text-align: left; }
.mentions__bloc h2 { font: 500 20px/28px var(--display); margin-bottom: 8px; }
.mentions__bloc p + p { margin-top: 8px; }
.mentions__bloc a { text-decoration: underline; text-underline-offset: 3px; }

/* Avant / après : les autres chantiers en vignettes sous le texte (remplit la colonne, choix direct) */
.comparer__autres { display: none; }
.methode__photo { display: none; }
@media (min-width: 1024px) {
  .comparer__infos { max-width: none; }
  .comparer__autres { display: grid; gap: 16px; margin-top: auto; padding-top: 32px; }
  .comparer__autres-titre { font: 500 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--vert); }
  .comparer__autres-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .comparer__autre { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; text-align: left; color: var(--encre); }
  .comparer__autre .comparer__vignette { grid-area: auto; width: 100%; aspect-ratio: 4 / 5; }
  .comparer__autre-nom { font: 500 15px/20px var(--sans); }
  .comparer__autre:hover img { transform: scale(1.05); }
  .comparer__autre:focus-visible { outline: 2px solid var(--vert); outline-offset: 4px; border-radius: var(--rayon); }

  /* Méthode : étapes resserrées, photo de chantier sous le bouton (plus de grands aplats sombres) */
  .etape { min-height: 0; padding-block: 32px; }
  .methode__cote .actions { margin-bottom: 40px; }
  .methode__photo { display: grid; gap: 8px; }
  .methode__photo picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); }
  .methode__photo img { width: 100%; height: 100%; object-fit: cover; }
  .methode__photo figcaption { font-size: 14px; line-height: 20px; color: rgba(242, 244, 239, .64); }

  /* Contact : diaporama carré, la colonne de droite s'aligne sur le formulaire */
  .diaporama { aspect-ratio: 1 / 1; }
}

/* Bouton « Laisser un avis » sous l'avis cité */
.atelier__laisser { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; color: var(--gris); }
.atelier__laisser .bouton { min-height: 44px; padding: 0 20px; }
.atelier__laisser .g-logo { width: 16px; height: 16px; }

/* Avant / après : changement de chantier sans saut. Tous les chantiers sont empilés dans la même case ;
   le nouveau se découvre de gauche à droite par-dessus l'ancien, qui s'efface ensuite. */
.comparer__scene { display: grid; }
.comparer__projet, .comparer__projet[hidden] { grid-area: 1 / 1; display: grid; }
.comparer__projet[hidden] { visibility: hidden; opacity: 0; pointer-events: none; }
.comparer__projet.est-sortant[hidden] { visibility: visible; opacity: 1; transition: opacity .3s .55s, visibility 0s .85s; }
.comparer__projet.est-sortant .comparer__infos { opacity: 0; transition: opacity .2s; }
.comparer__projet.est-actif { position: relative; z-index: 1; animation: none; }
.comparer__projet.est-actif .comparer__cadre { animation: decouvrir .8s var(--ease) both; }
.comparer__projet.est-actif .comparer__infos { animation: apparaitre .6s .15s var(--ease) both; }
@keyframes decouvrir { from { clip-path: inset(0 100% 0 0 round var(--rayon)); } to { clip-path: inset(0 0 0 0 round var(--rayon)); } }
@media (prefers-reduced-motion: reduce) { .comparer__projet.est-actif .comparer__cadre, .comparer__projet.est-actif .comparer__infos { animation: none; } }
@media (min-width: 1024px) {
  .comparer__autres-grille { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .comparer__autre-nom { font-size: 14px; line-height: 18px; }

  /* Hero : plus de filet entre le texte et la photo. La photo se fond dans le panneau (masque), sur le fond flouté */
  .hero__voile::after { content: none; }
  .hero__fond { inset: 0; }
  .hero__media { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 240px); mask-image: linear-gradient(to right, transparent 0, #000 240px); }
  .hero__voile {
    background:
      linear-gradient(to bottom, rgba(10, 18, 13, .5), rgba(10, 18, 13, 0) 24%) right top / var(--panneau) 100% no-repeat,
      linear-gradient(to top, rgba(10, 18, 13, .72), rgba(10, 18, 13, 0) 24%) right top / var(--panneau) 100% no-repeat,
      linear-gradient(to right, rgba(15, 26, 19, .88) 0, rgba(15, 26, 19, .88) calc(100% - var(--panneau)), rgba(15, 26, 19, 0) calc(100% - var(--panneau) + 240px)) left top / 100% 100% no-repeat;
  }

  /* Contact : le formulaire accompagne le défilement quand la colonne des coordonnées est plus haute */
  .contact__formulaire { position: sticky; top: calc(var(--entete) + 32px); align-self: start; }
}

/* Avant / après (ordinateur) : la colonne de droite est pleine. Les autres chantiers en grille 3 × 2 qui occupe
   toute la hauteur restante ; la 6e case invite au devis. */
.comparer__appel { display: none; }
@media (min-width: 1024px) {
  .comparer__autres { flex: 1; display: grid; grid-template-rows: auto minmax(0, 1fr); margin-top: 16px; padding-top: 16px; min-height: 0; }
  .comparer__autres-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 0; }
  .comparer__autre { grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
  .comparer__autre .comparer__vignette { aspect-ratio: auto; height: 100%; min-height: 0; }
  .comparer__autre-nom { font-size: 15px; line-height: 20px; }
  .comparer__appel { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; margin-bottom: 28px; padding: 20px; border-radius: var(--rayon); background: var(--vert); color: var(--papier); text-decoration: none; transition: background-color .3s; }
  .comparer__appel strong { font: 500 24px/30px var(--display); }
  .comparer__appel span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; }
  .comparer__appel svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
  .comparer__appel:hover svg { transform: translateX(4px); }

  /* Hero : fondu court et sans arête. Le panneau de gauche devient opaque à la jonction, puis la photo sort de
     cette même couleur (pas de masque, pas de fond flouté visible entre les deux) */
  .hero__fond { inset: 0 var(--panneau) 0 0; }
  .hero__media { -webkit-mask-image: none; mask-image: none; }
  .hero__voile {
    background:
      linear-gradient(to right, rgba(15, 26, 19, .86) 0, #0F1A13 calc(100% - var(--panneau)), rgba(15, 26, 19, .55) calc(100% - var(--panneau) + 56px), rgba(15, 26, 19, 0) calc(100% - var(--panneau) + 160px)) left top / 100% 100% no-repeat,
      linear-gradient(to bottom, rgba(10, 18, 13, .5), rgba(10, 18, 13, 0) 24%) right top / var(--panneau) 100% no-repeat,
      linear-gradient(to top, rgba(10, 18, 13, .72), rgba(10, 18, 13, 0) 24%) right top / var(--panneau) 100% no-repeat;
  }
}

/* Hero téléphone et tablette (retour du 15/11) : la photo s'efface d'elle-même par un masque sur .hero__media,
   rognée à sa hauteur. Avant, l'agrandissement d'entrée (1,08 → 1) faisait dépasser la photo sous le voile
   calé sur --photo-h : on voyait la photo à travers le fond uni pendant 2 s à l'ouverture. */
@media (max-width: 1023px) {
  .hero__media {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .42) 62%, rgba(0, 0, 0, .12) 84%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .42) 62%, rgba(0, 0, 0, .12) 84%, transparent 100%);
  }
  .hero__voile { background: linear-gradient(to bottom, rgba(10, 18, 13, .6) 0, rgba(10, 18, 13, 0) 20%) left top / 100% var(--photo-h) no-repeat; }
}

/* Règle absolue 7 (un seul format numéroté dans le site : la méthode) : numéros retirés du menu, des onglets
   et du compteur de l'avant / après, des prestations et des valeurs */
.menu__liens small, .comparer__onglets small, .comparer__numero, .savoir__num, .valeurs li > span { display: none; }
.savoir__titre { margin-top: 0; }
.valeurs li { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .savoir__item { grid-template-columns: minmax(0, 1fr); grid-template-areas: "titre" "texte"; }
}

/* Bouton rond « Appeler » du hero (téléphone) : le numéro masqué laissait une boîte vide qui gardait l'écart de
   10 px du bouton, et l'icône se décalait de 5 px vers la gauche. La boîte vide est retirée : icône centrée. */
@media (max-width: 599px) {
  .hero__actions .bouton--clair .bouton__texte { gap: 0; }
  .hero__actions .bouton--clair .bouton__texte > span { display: none; }
}
