/* Elite Vert — feuille de style principale */

:root {
  --pine: #0F3D2E;
  --pine-2: #17543F;
  --leaf: #23A047;
  --leaf-dark: #1A7F38;
  --sprout: #C6EC5A;
  --pool: #1C9FD0;
  --mist: #EEF7EF;
  --sand: #F7F9F4;
  --ink: #183028;
  --ink-soft: #4A5F56;
  --line: #D5E6D9;
  --white: #FFFFFF;

  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* coins "feuille" : deux angles très arrondis, deux angles serrés */
  --leaf-r: 2.5rem .6rem 2.5rem .6rem;
  --leaf-r-lg: 5rem 1rem 5rem 1rem;
  --pill: 999px;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 18px 40px -22px rgba(15, 61, 46, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .6em; color: var(--pine); letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--pine); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.measure { max-width: 64ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--pine); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border: 0; border-radius: var(--pill);
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15, 61, 46, .55); }
.btn:active { transform: translateY(0); }
.btn--leaf { --bg: var(--leaf); }
.btn--leaf:hover { --bg: var(--leaf-dark); }
.btn--sprout { --bg: var(--sprout); --fg: var(--pine); }
.btn--ghost { --bg: transparent; --fg: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); }
.btn--ghost:hover { --bg: var(--pine); --fg: #fff; }
.btn--white { --bg: #fff; --fg: var(--pine); }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ---------- Barre du haut ---------- */
.topbar { background: var(--pine); color: #DDEBE2; font-size: .9rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--sprout); }
.topbar__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.topbar__phone svg { width: 15px; fill: var(--sprout); }
.topbar__links { display: flex; gap: 1.25rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(15, 61, 46, .5); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .site-header__in { min-height: 68px; }
.logo img { width: 100px; height: auto; padding-top: 10px; padding-bottom: 10px; transition: width .3s var(--ease); }
.site-header.is-scrolled .logo img { width: 128px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav > ul { display: flex; gap: .4rem; }
.nav a { text-decoration: none; font-weight: 600; }
.nav > ul > li > a {
  position: relative; display: block; padding: .55rem .9rem; border-radius: var(--pill);
  transition: background-color .2s, color .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"] { background: var(--mist); color: var(--leaf-dark); }
.nav__drop { position: relative; }
.nav__sub {
  position: absolute; left: 0; top: calc(100% + .4rem); min-width: 230px;
  background: #fff; padding: .5rem; border-radius: 1.2rem .4rem 1.2rem .4rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__drop:hover .nav__sub, .nav__drop:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .55rem .8rem; border-radius: .7rem; font-weight: 500; }
.nav__sub a:hover { background: var(--mist); color: var(--leaf-dark); }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--pine); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before { content: ""; top: -6px; left: 0; margin: 0; }
.menu-toggle__bars::after { content: ""; top: 6px; left: 0; margin: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--nav-top, 124px) 0 auto 0; max-height: calc(100dvh - var(--nav-top, 124px)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.25rem var(--gutter) 2rem; background: #fff; box-shadow: 0 20px 30px -20px rgba(15, 61, 46, .4);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .4s var(--ease), visibility .4s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav > ul { flex-direction: column; gap: .2rem; }
  .nav > ul > li > a { font-size: 1.2rem; padding: .8rem 1rem; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .nav__cta { align-self: flex-start; }
}

/* ---------- Ligne d'herbe ---------- */
.grass { display: block; width: 100%; max-width: 100%; height: 46px; fill: var(--leaf); }
.grass--footer { fill: var(--pine); height: 40px; margin-bottom: -1px; background: transparent; }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 0; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; padding: .4rem .9rem .4rem .45rem; border-radius: var(--pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .95rem; color: var(--pine-2); }
.hero__kicker span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sprout); }
.hero__kicker svg { width: 14px; fill: var(--pine); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero__img { position: absolute; overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { inset: 0 16% 18% 0; border-radius: var(--leaf-r-lg); }
.hero__img--b { width: 46%; aspect-ratio: 1; right: 0; bottom: 0; border-radius: 50%; border: 8px solid #fff; }
.hero__badge {
  position: absolute; left: -4%; bottom: 8%; z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.2rem; border-radius: 1.4rem .4rem 1.4rem .4rem; background: var(--pine); color: #fff;
  box-shadow: var(--shadow);
}
.hero__badge strong { font: 800 2.6rem/1 var(--display); color: var(--sprout); }
.hero__badge span { font-size: .95rem; line-height: 1.25; max-width: 9ch; }
.hero__drop { position: absolute; top: 6%; right: 4%; width: 74px; height: 74px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pool); opacity: .9; }

.hero__grass { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); }

/* Bandeau défilant des engagements */
.promises { background: var(--leaf); color: #fff; overflow: hidden; padding: .4rem 0 1.1rem; }
.promises__track { display: flex; width: max-content; animation: defile 38s linear infinite; }
.promises:hover .promises__track { animation-play-state: paused; }
.promises ul { display: flex; flex-shrink: 0; }
.promises li { display: flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem; font: 700 clamp(1.1rem, 2vw, 1.45rem)/1.2 var(--display); white-space: nowrap; }
.promises li::after { content: ""; width: 14px; height: 14px; border-radius: 0 50% 0 50%; background: var(--sprout); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--pine { background: var(--pine); color: #D8E8DE; }
.section--pine h2, .section--pine h3 { color: #fff; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; color: var(--ink-soft); }
.section--pine .section__head p { color: #B9D3C3; }

/* Intro accueil : soin + piliers */
.care { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.care__text h2 { max-width: 16ch; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pillar {
  padding: 1.6rem; border-radius: var(--leaf-r); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.pillar:nth-child(even) { transform: translateY(2.5rem); }
.pillar:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.pillar img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 1rem; transition: transform .5s var(--ease); }
.pillar:hover img { transform: rotate(-8deg) scale(1.08); }
.pillar h3 { margin-bottom: .3rem; }
.pillar p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

/* Approche */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.approach__img { border-radius: var(--leaf-r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); background: var(--line); }
.approach__img img { width: 100%; height: 100%; object-fit: cover; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.5rem; margin-top: 1.5rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--sprout) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230F3D2E' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Grille des services (accueil) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
  padding: 1.4rem; border-radius: var(--leaf-r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
  background: var(--pine);
}
.svc--wide { grid-column: span 2; }
.svc--tall { grid-row: span 2; min-height: 100%; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 61, 46, 0) 30%, rgba(15, 61, 46, .92) 100%); transition: background-color .4s; }
.svc:hover img { transform: scale(1.07); }
.svc h3 { color: #fff; margin-bottom: .3rem; }
.svc p { margin: 0; font-size: .95rem; color: #DCEBE1; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.svc:hover p, .svc:focus-visible p { max-height: 8em; opacity: 1; }
.svc--pool::after { content: ""; position: absolute; top: 1rem; right: 1rem; width: 14px; height: 14px; border-radius: 50%; background: var(--pool); box-shadow: 0 0 0 6px rgba(28, 159, 208, .3); }
@media (hover: none) { .svc p { max-height: none; opacity: 1; } }

/* Équipe + avant / après */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.team__people { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.team__people img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sprout); }
.team__people p { margin: 0; font-weight: 600; color: #fff; }
.eco { display: grid; gap: .6rem; margin-top: 1.2rem; }
.eco li { padding: .7rem 1rem; border-radius: 1rem .3rem 1rem .3rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }

.ba { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--leaf-r-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: var(--pine-2); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--sprout) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230F3D2E' d='M8.5 7 3.5 12l5 5V7Zm7 0v10l5-5-5-5Z'/%3E%3C/svg%3E") center / 60% no-repeat;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.ba__tag { position: absolute; bottom: 1rem; padding: .3rem .8rem; border-radius: var(--pill); background: rgba(15, 61, 46, .8); color: #fff; font-weight: 600; font-size: .9rem; pointer-events: none; }
.ba__tag--l { left: 1rem; }
.ba__tag--r { right: 1rem; background: var(--sprout); color: var(--pine); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible ~ .ba__handle::after { outline: 3px solid var(--pool); outline-offset: 3px; }
.ba__hint { margin-top: .8rem; font-size: .9rem; color: #B9D3C3; }

/* Jardins urbains */
.urban { position: relative; padding-block: clamp(5rem, 12vw, 9rem); color: #fff; overflow: hidden; isolation: isolate; background: var(--pine); }
.urban__bg { position: absolute; inset: -12% 0; z-index: -2; }
.urban__bg img { width: 100%; height: 100%; object-fit: cover; }
.urban::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 61, 46, .95) 0%, rgba(15, 61, 46, .7) 55%, rgba(15, 61, 46, .25) 100%); }
.urban h2 { color: #fff; max-width: 14ch; }
.urban p { max-width: 54ch; color: #E2EEE6; }

/* Appel à l'action devis */
.cta { padding-block: var(--section); }
.cta__box {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.8rem); border-radius: var(--leaf-r-lg); background: var(--leaf); color: #fff; overflow: hidden; isolation: isolate;
}
.cta__box::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 0 50% 0 50%; background: var(--sprout); opacity: .35; z-index: -1; animation: balance 9s ease-in-out infinite alternate; }
@keyframes balance { to { transform: rotate(18deg) translateY(16px); } }
.cta__box h2 { color: #fff; margin-bottom: .4rem; }
.cta__box p { margin: 0; color: #EAF8EC; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 0; background: var(--mist); overflow: hidden; }
.page-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero h1 { margin-bottom: .3em; }
.crumbs { display: flex; gap: .5rem; font-size: .92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--leaf-dark); text-decoration: none; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.chip { display: inline-block; padding: .5rem 1rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--pine); color: #fff; border-color: var(--pine); }

/* ---------- Page services ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail:nth-of-type(even) .svc-detail__img { order: 2; }
.svc-detail__img { position: relative; border-radius: var(--leaf-r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); box-shadow: var(--shadow); }
.svc-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 1rem .3rem 1rem .3rem; background: var(--mist); }
.svc-detail__icon svg { width: 28px; fill: var(--leaf-dark); }
.svc-detail--pool .svc-detail__icon { background: #E2F4FB; }
.svc-detail--pool .svc-detail__icon svg { fill: var(--pool); }
.svc-detail .quote { font: 700 1.25rem/1.3 var(--display); color: var(--leaf-dark); margin-top: 1.2rem; }

.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 2.5rem; }
.gallery-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1.2rem .3rem 1.2rem .3rem; }

/* ---------- Page références ---------- */
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: var(--line); border-radius: 1.6rem .4rem 1.6rem .4rem; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.masonry img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .4s; }
.masonry button:hover img { transform: scale(1.05); filter: saturate(1.15); }
.masonry button::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(198, 236, 90, .0), rgba(15, 61, 46, .35)); opacity: 0; transition: opacity .3s; }
.masonry button:hover::after { opacity: 1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(9, 34, 25, .88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; margin: auto; border-radius: 1.2rem; }
.lightbox[open] img { animation: zoomin .35s var(--ease); }
@keyframes zoomin { from { transform: scale(.94); opacity: 0; } }
.lightbox__btn { position: fixed; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: #fff; color: var(--pine); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox__prev { left: 2vw; }
.lightbox__next { right: 2vw; }
.lightbox__close { position: fixed; top: 2vh; right: 2vw; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sprout); color: var(--pine); font-size: 1.5rem; cursor: pointer; }
.lightbox__count { position: fixed; bottom: 2vh; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ---------- Page contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: var(--leaf-r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
a.contact-card:hover { border-color: var(--leaf); transform: translateX(4px); }
.contact-card__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); }
.contact-card__ico svg { width: 22px; fill: var(--leaf-dark); }
.contact-card h2 { font-size: 1.05rem; margin: 0 0 .15rem; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-promise { margin-top: 1.5rem; padding: 1.4rem; border-radius: var(--leaf-r); background: var(--pine); color: #DDEBE2; }
.contact-promise strong { color: var(--sprout); }

.form { padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--leaf-r-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field legend { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: .9rem; background: var(--sand);
  font: inherit; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 4px rgba(35, 160, 71, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C23B22; }
.field__err { display: none; margin-top: .3rem; font-size: .88rem; color: #B0301A; }
.field.is-invalid .field__err { display: block; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .6rem 1.1rem; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--sand); cursor: pointer; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.choices label:hover { border-color: var(--leaf); }
.choices input:checked + label { background: var(--pine); border-color: var(--pine); color: #fff; transform: scale(1.03); }
.choices input:focus-visible + label { outline: 3px solid var(--pool); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form__foot small { color: var(--ink-soft); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: .8rem 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: var(--leaf-dark); }
.form-status.is-err { color: #B0301A; }
.form.is-sent .form__body { display: none; }
.form__done { display: none; text-align: center; padding: 2rem 0; }
.form.is-sent .form__done { display: block; animation: zoomin .5s var(--ease); }
.form__done svg { width: 76px; margin: 0 auto 1rem; }
.form__done circle { fill: var(--sprout); }
.form__done path { fill: none; stroke: var(--pine); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: trace .6s .25s var(--ease) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

.map { margin-top: var(--section); border-radius: var(--leaf-r-lg); overflow: hidden; aspect-ratio: 16 / 7; background: var(--mist); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--pine); color: #C7DCCF; margin-top: 40px; }
.site-footer .grass--footer { position: absolute; top: -39px; left: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.site-footer__logo { width: 150px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer__title { font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: .45rem; margin-top: .8rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sprout); }
.site-footer__small { font-size: .95rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--sprout); transform: translateY(-3px) rotate(-6deg); }
.social svg { width: 20px; fill: #fff; }
.social a:hover svg { fill: var(--pine); }
.newsletter__row { display: flex; gap: .4rem; padding: .35rem; border-radius: var(--pill); background: rgba(255, 255, 255, .08); }
.newsletter input { flex: 1; min-width: 0; padding: .6rem .9rem; border: 0; background: transparent; color: #fff; font: inherit; }
.newsletter input::placeholder { color: #9DB9A9; }
.newsletter input:focus { outline: none; }
.newsletter__row:focus-within { box-shadow: 0 0 0 2px var(--sprout); }
.newsletter .btn { padding: .7rem 1.1rem; }
.newsletter .form-status.is-ok { color: var(--sprout); }
.newsletter .form-status.is-err { color: #FFB3A5; }
.site-footer__grid > * { min-width: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer__bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: ping 2.8s 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--left { transform: translateX(-36px); }
.js .reveal--scale { transform: scale(.94); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pillar.reveal.is-in:nth-child(even) { transform: translateY(2.5rem); }

/* Séquence de chargement du héros */
.js .hero h1 .line > span { transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.js .hero__intro, .js .hero__actions, .js .hero__kicker { opacity: 0; animation: fadein .8s .45s var(--ease) forwards; }
.js .hero__actions { animation-delay: .6s; }
.js .hero__img--a { clip-path: inset(100% 0 0 0 round 5rem 1rem 5rem 1rem); animation: unveil 1.1s .2s var(--ease) forwards; }
.js .hero__img--b { transform: scale(0); animation: pop .8s .8s var(--ease) forwards; }
.js .hero__badge { opacity: 0; transform: translateY(20px); animation: fadein .7s 1.1s var(--ease) forwards; }
.js .hero__drop { transform: rotate(-45deg) scale(0); animation: drop 1s 1.25s var(--ease) forwards; }
.js .hero__grass .grass { transform-origin: bottom; transform: scaleY(0); animation: grow 1s .9s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fadein { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 5rem 1rem 5rem 1rem); } }
@keyframes pop { 70% { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes drop { 60% { transform: rotate(-45deg) scale(1.12); } to { transform: rotate(-45deg) scale(1); } }
@keyframes grow { to { transform: scaleY(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc--tall { grid-row: auto; min-height: 300px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .care, .approach, .team, .section__head, .cta__box, .page-hero__in, .svc-detail, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__badge { left: 0; }
  .cta__actions, .page-hero__chips { justify-content: flex-start; }
  .svc-detail:nth-of-type(even) .svc-detail__img { order: 0; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .topbar__in { justify-content: center; }
  .topbar__links { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .svc { min-height: 190px; padding: 1rem; }
  .svc h3 { font-size: 1.05rem; }
  .svc p { display: none; }
  .svc--tall { min-height: 260px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(even), .js .pillar.reveal.is-in:nth-child(even) { transform: none; }
  .checks, .form__row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .promises__track { animation: none; flex-wrap: wrap; width: auto; }
  .promises ul[aria-hidden] { display: none; }
  .promises ul { flex-wrap: wrap; justify-content: center; }
}
