/* About page, /notre-equipe/ and /our-team/ (Emile's pick, 2026-11-18: look B,
   "La vidéo d'abord", with "Notre promesse" variant 1, "Plein cadre").
   Built on the homepage (home-b.css, site.css); only body.ab pages match.
   Motion: transform and opacity, once when seen; hover lifts (translate, so a
   held entrance cannot cancel it) and redraws the icon; nothing tied to the
   scroll; all of it off under prefers-reduced-motion.
   The page is written by scripts/build-about-page.mjs. */

body.ab:not(#x):not(#y) {
  --ab-forest: #15311d;
  --ab-deep: #0d2014;
  --ab-ink: #14251a;
  --ab-g: #2f6b3f;
  --ab-bright: #4caf50;
  --ab-mint: #8fd39a;
  --ab-body: #34463b;
  --ab-cream: #f7f3ea;
  --ab-gold: #f2c14e;
  --ab-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ab-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ab-lift: 0 2px 4px rgba(13, 32, 20, 0.06), 0 18px 44px -14px rgba(13, 32, 20, 0.3);
}

/* ---------- the founders photo: heads in frame (Emile 2026-11-18) ---------- */
body.ab .ab-duo-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
@media (max-width: 768px) { body.ab .ab-duo-img { object-position: 50% 68%; } }

/* ---------- the restoration line ---------- */
body.ab:not(#x):not(#y) .ab-restore {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 24px 0 0 !important; padding: 14px 18px !important;
  max-width: 60ch; border-radius: 16px;
  font: 600 1.02rem/1.5 'Inter', sans-serif !important; text-align: left !important;
}
body.ab .ab-restore svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }

/* ---------- drawn scenes ---------- */
body.ab .ab-scn { display: block; width: 56px; height: 56px; flex-shrink: 0; }
body.ab .ab-scn-lg { width: 96px; height: 96px; }
body.ab .ab-svg { display: block; width: 100%; height: 100%; overflow: visible; --ink: rgba(255, 255, 255, 0.94); --soft: rgba(255, 255, 255, 0.12); --acc: #4caf50; --dl: 0ms; }
body.ab .ab-light .ab-svg { --ink: #1f4a2c; --soft: rgba(47, 107, 63, 0.12); --acc: #2f8a43; }
body.ab .ab-svg * { transform-box: fill-box; transform-origin: 50% 50%; }
body.ab .ab-svg path, body.ab .ab-svg circle, body.ab .ab-svg ellipse { stroke-linecap: round; stroke-linejoin: round; }
body.ab .ab-svg .s-soft { fill: var(--soft); }
body.ab .ab-svg .s-line { stroke: var(--ink); stroke-width: 2.2; }
body.ab .ab-svg .s-line:not(.s-soft) { fill: none; }
body.ab .ab-svg .s-draw { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
body.ab .ab-svg .s-draw.s-acc { stroke: var(--acc); stroke-width: 3.4; }
body.ab .ab-svg .s-draw.s-white { stroke: #ffffff; stroke-width: 2.8; }
body.ab .ab-svg .s-accfill, body.ab .ab-svg .s-hat { fill: var(--acc); }
body.ab .ab-svg .s-ground2 { fill: var(--soft); }
body.ab .ab-svg .s-hole { fill: #ffffff; }
body.ab .ab-svg .s-hole2 { fill: none; stroke: var(--ink); stroke-width: 2.2; }
body.ab .ab-svg .s-dotc { fill: var(--ink); }
body.ab .ab-svg .s-star { fill: #f2c14e; }
body.ab .ab-svg .s-ring, body.ab .ab-svg .s-ripple { fill: none; stroke: var(--acc); stroke-width: 1.6; opacity: 0; }
body.ab .ab-svg .s-p, body.ab .ab-svg .s-pin, body.ab .ab-svg .s-paper { transform-origin: 50% 100%; }

.hb-js body.ab [data-play]:not(.is-play) .ab-svg { opacity: 0; }
body.ab .is-play .s-out { animation: ab-draw 900ms var(--ab-io) calc(var(--dl) + 0ms) both; }
body.ab .is-play .s-body { animation: ab-fade 500ms ease calc(var(--dl) + 500ms) both; }
body.ab .is-play .s-ok { animation: ab-draw 450ms var(--ab-out) calc(var(--dl) + 850ms) both; }
body.ab .is-play .s-ring { animation: ab-ring 1100ms var(--ab-out) calc(var(--dl) + 1100ms) both; }
body.ab .is-play .s-paper { animation: ab-up 520ms var(--ab-out) calc(var(--dl) + 0ms) both; }
body.ab .is-play .s-l1 { animation: ab-draw 360ms var(--ab-out) calc(var(--dl) + 380ms) both; }
body.ab .is-play .s-l2 { animation: ab-draw 360ms var(--ab-out) calc(var(--dl) + 560ms) both; }
body.ab .is-play .s-l3 { animation: ab-draw 300ms var(--ab-out) calc(var(--dl) + 740ms) both; }
body.ab .is-play .s-stamp { animation: ab-stamp 520ms var(--ab-out) calc(var(--dl) + 1000ms) both; }
body.ab .is-play .s-ok2 { animation: ab-draw 320ms var(--ab-out) calc(var(--dl) + 1340ms) both; }
body.ab .is-play .s-ground { animation: ab-draw 520ms var(--ab-out) calc(var(--dl) + 0ms) both; }
body.ab .is-play .s-p1 { animation: ab-up 520ms var(--ab-out) calc(var(--dl) + 220ms) both; }
body.ab .is-play .s-p2 { animation: ab-up 520ms var(--ab-out) calc(var(--dl) + 400ms) both; }
body.ab .is-play .s-p1 .s-hat { animation: ab-hat 460ms var(--ab-out) calc(var(--dl) + 820ms) both; }
body.ab .is-play .s-p2 .s-hat { animation: ab-hat 460ms var(--ab-out) calc(var(--dl) + 980ms) both; }
body.ab .is-play .s-house { animation: ab-draw 700ms var(--ab-io) calc(var(--dl) + 0ms) both; }
body.ab .is-play .s-ground2 { animation: ab-fade 400ms ease calc(var(--dl) + 0ms) both; }
body.ab .is-play .s-pin { animation: ab-drop 720ms var(--ab-out) calc(var(--dl) + 460ms) both; }
body.ab .is-play .s-ripple { animation: ab-ring 1000ms var(--ab-out) calc(var(--dl) + 920ms) both; }
body.ab .is-play .s-st0 { animation: ab-pop 420ms var(--ab-out) calc(var(--dl) + 520ms) both; }
body.ab .is-play .s-st1 { animation: ab-pop 420ms var(--ab-out) calc(var(--dl) + 600ms) both; }
body.ab .is-play .s-st2 { animation: ab-pop 420ms var(--ab-out) calc(var(--dl) + 680ms) both; }
body.ab .is-play .s-st3 { animation: ab-pop 420ms var(--ab-out) calc(var(--dl) + 760ms) both; }
body.ab .is-play .s-st4 { animation: ab-pop 420ms var(--ab-out) calc(var(--dl) + 840ms) both; }
@keyframes ab-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ab-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ab-up { from { opacity: 0; transform: translateY(10px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes ab-pop { 0% { opacity: 0; transform: scale(0.6); } 65% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes ab-stamp { 0% { opacity: 0; transform: scale(1.5) rotate(-18deg); } 60% { opacity: 1; transform: scale(0.94) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes ab-hat { 0% { opacity: 0; transform: translateY(-9px); } 70% { opacity: 1; transform: translateY(1px); } 100% { opacity: 1; transform: none; } }
@keyframes ab-drop { 0% { opacity: 0; transform: translateY(-18px); } 55% { opacity: 1; transform: translateY(1.5px) scale(1.04, 0.95); } 78% { transform: translateY(-1px); } 100% { opacity: 1; transform: none; } }
@keyframes ab-ring { 0% { opacity: 0.9; transform: scale(0.7); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes ab-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- cards that move: rise once, lift and ring on hover, never blink ---------- */
body.ab .ab-card { --dl: calc(var(--i, 0) * 90ms); transition: translate 260ms var(--ab-out), box-shadow 260ms var(--ab-out), background-color 260ms var(--ab-out); }
.hb-js body.ab .ab-card[data-play]:not(.is-play) { opacity: 0; transform: translateY(22px); }
body.ab .ab-card.is-play { animation: ab-rise 640ms var(--ab-out) var(--dl) both; }
body.ab .ab-card.is-play .ab-svg { --dl: calc(var(--i, 0) * 90ms + 240ms); }
body.ab .ab-card.is-hov .ab-svg { --dl: 0ms; }
@media (hover: hover) and (pointer: fine) {
  body.ab .ab-card:hover { translate: 0 -5px; }
}

/* ---------- the directory row, on white, as a pause ---------- */
body.ab:not(#x):not(#y) .ab-dirs { position: relative; padding: 56px 0 60px; background: #ffffff; }
body.ab:not(#x):not(#y) .ab-dirs .dv-dirs { width: min(100% - 64px, 1240px); margin: 0 auto; }
body.ab:not(#x):not(#y) .ab-dirs .dv-dirs-line { margin: 0 0 26px !important; text-align: center !important; font: 800 clamp(1.25rem, 2vw, 1.6rem)/1.2 'Outfit', sans-serif !important; letter-spacing: -0.02em; color: var(--ab-ink) !important; }
@media (max-width: 768px) {
  body.ab:not(#x):not(#y) .ab-dirs { padding: 40px 0 44px; }
  body.ab:not(#x):not(#y) .ab-dirs .dv-dirs { width: calc(100% - 32px); }
}

/* ---------- the video player box (the homepage's lite player) ---------- */
body.ab .ab-vid-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: var(--ab-deep); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
body.ab .ab-vid-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 768px) {
  body.ab:not(#x):not(#y) .hb-yt-play { width: 112px; height: 112px; margin: -56px 0 0 -56px; }
}

@media (prefers-reduced-motion: reduce) {
  body.ab .ab-card, body.ab .ab-card.is-play { animation: none !important; opacity: 1 !important; transform: none !important; translate: none !important; }
  body.ab .ab-svg * { animation: none !important; }
  .hb-js body.ab [data-play]:not(.is-play) .ab-svg { opacity: 1; }
}

/* round 2 (critic): a button in the middle of the page; captions are words, not links */
body.ab:not(#x):not(#y) .ab-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; background: #2f6b3f; color: #ffffff !important; font: 700 1.05rem/1.2 'Outfit', sans-serif; text-decoration: none !important; box-shadow: 0 14px 28px -14px rgba(47, 107, 63, 0.9); transition: transform 160ms var(--ab-out), background-color 200ms ease; }
body.ab .ab-btn:active { transform: scale(0.97); }
body.ab .ab-btn:focus-visible { outline: 3px solid #4caf50; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { body.ab .ab-btn:hover { background: #245632; } }
@media (max-width: 768px) { body.ab:not(#x):not(#y) .ab-btn { display: flex; justify-content: center; width: 100%; } }

/* round 3: bold key words in the story; the H1 keeps "Émile et Beckett" on one line on a computer */
body.ab .ab-story strong { font-weight: 700; color: inherit; }
@media (min-width: 769px) { body.ab:not(#x):not(#y) #hero h1 { max-width: none !important; } body.ab #hero .dv-h1-sub { white-space: nowrap; } }

/* ================= look B: hero with the video, the story, the values, the form ================= */
/* ---------- hero: the words left, the video as the big picture on the right ---------- */
body.ab-b .ab-hero-vid { margin: 0; }
body.ab-b:not(#x):not(#y) .ab-hero-vid figcaption { display: grid; gap: 4px; margin-top: 16px; text-align: left; font: 400 0.98rem/1.45 'Inter', sans-serif; color: rgba(247, 243, 234, 0.86); }
body.ab-b .ab-hero-vid figcaption b { font: 800 1.2rem/1.2 'Outfit', sans-serif; color: #ffffff; }
.hb-js body.ab-b .ab-hero-vid { animation: ab-b-in 900ms var(--ab-out) 250ms both; }
@keyframes ab-b-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@media (min-width: 769px) {
  body.ab-b:not(#x):not(#y) .ab-hero { height: auto !important; min-height: 0 !important; padding: 150px 0 110px !important; }
  body.ab-b:not(#x):not(#y) #hero .hero-overlay { background: linear-gradient(90deg, rgba(6, 12, 8, 0.86) 0%, rgba(6, 12, 8, 0.7) 45%, rgba(13, 32, 20, 0.55) 100%), linear-gradient(180deg, rgba(13, 32, 20, 0) 60%, #0d2014 100%) !important; }
  body.ab-b:not(#x):not(#y) .ab-hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 64px; align-content: center; max-width: 1280px !important; }
  body.ab-b:not(#x):not(#y) .ab-hero-grid > * { grid-column: 1; }
  body.ab-b:not(#x):not(#y) .ab-hero-grid > .dv-rating { justify-self: start; align-self: end; }
  body.ab-b:not(#x):not(#y) .ab-hero-grid > .ab-hero-vid { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  body.ab-b:not(#x):not(#y) #hero h1 { font-size: clamp(3rem, 5vw, 4.6rem) !important; max-width: 8.5em; }
  body.ab-b:not(#x):not(#y) .ab-hero-grid > div { align-items: flex-start !important; }
  body.ab-b:not(#x):not(#y) .ab-hero-grid .dv-assure { text-align: left !important; }
}

/* ---------- story: deep green, a photo fading in from the right, the two of them held in view ---------- */
body.ab-b:not(#x):not(#y) .ab-story { position: relative; overflow: clip; isolation: isolate; padding: 120px 0 130px !important; background: #0d2014 !important; }
body.ab-b .ab-story-ph { position: absolute; inset: 0 0 auto auto; width: 62%; height: 78%; z-index: -1; opacity: 0.5; -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 72%); mask-image: linear-gradient(200deg, #000 10%, transparent 72%); }
body.ab-b .ab-story-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.ab-b .ab-story-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
body.ab-b .ab-story-pin { position: sticky; top: 110px; }
body.ab-b .ab-story-frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
body.ab-b:not(#x):not(#y) .ab-story-pin .ab-cap { margin: 18px 0 0 !important; font: 600 1rem/1.5 'Inter', sans-serif !important; color: var(--ab-mint) !important; text-align: left !important; }
body.ab-b:not(#x):not(#y) .ab-k { margin: 0 0 14px !important; font: 700 0.95rem/1 'Inter', sans-serif !important; color: var(--ab-mint) !important; text-align: left !important; }
body.ab-b:not(#x):not(#y) .ab-story .ab-restore { background: rgba(76, 175, 80, 0.14); color: #ffffff !important; box-shadow: inset 0 0 0 1px rgba(143, 211, 154, 0.35); }
body.ab-b:not(#x):not(#y) .ab-story-ps { display: grid; gap: 18px; margin-top: 30px; }
body.ab-b:not(#x):not(#y) .ab-story-ps p { margin: 0 !important; max-width: 60ch; font: 400 1.1rem/1.7 'Inter', sans-serif !important; color: rgba(247, 243, 234, 0.88) !important; text-align: left !important; }
body.ab-b:not(#x):not(#y) .ab-h3 { margin: 72px 0 8px !important; font: 900 clamp(1.9rem, 3vw, 2.6rem)/1 'Outfit', sans-serif !important; letter-spacing: -0.03em; color: #ffffff !important; text-align: left !important; }
body.ab-b:not(#x):not(#y) .ab-vals-sub { margin: 0 0 26px !important; font: 400 1.05rem/1.55 'Inter', sans-serif !important; color: rgba(247, 243, 234, 0.78) !important; text-align: left !important; }
body.ab-b .ab-rows { display: grid; gap: 14px; }
body.ab-b:not(#x):not(#y) .ab-row { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
body.ab-b:not(#x):not(#y) .ab-row h3 { margin: 0 0 4px !important; font: 800 1.25rem/1.2 'Outfit', sans-serif !important; color: #ffffff !important; text-align: left !important; }
body.ab-b:not(#x):not(#y) .ab-row p { margin: 0 !important; font: 400 1rem/1.5 'Inter', sans-serif !important; color: rgba(247, 243, 234, 0.8) !important; text-align: left !important; }
@media (hover: hover) and (pointer: fine) {
  body.ab-b:not(#x):not(#y) .ab-row:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 2px var(--ab-bright); }
}

/* ---------- the homepage quote form, on a photo fading into green ---------- */
body.ab-b:not(#x):not(#y) #contact-site.dv-quick {
  position: relative; margin: 0 !important; padding: 120px 0 !important;
  background: linear-gradient(180deg, rgba(13, 32, 20, 0.35) 0%, rgba(13, 32, 20, 0.7) 55%, #0d2014 100%), url(/hero-pave-uni-gatineau-1024w.jpg) center 40% / cover no-repeat !important;
}
body.ab-b:not(#x):not(#y) #contact-site .dv-quick-card { margin-top: 0 !important; transform: none !important; }

/* ---------- phone ---------- */
@media (max-width: 768px) {
  /* the hero card is the two of them; the video sits right under the button */
  html body.ab:not(#pp):not(#x) #hero .hero-bg-container img.ab-hero-bg { object-position: 50% 22% !important; }
  html body.ab:not(#pp):not(#x) #hero .hero-bg-container { min-height: 520px; }
  body.ab-b:not(#x):not(#y) .ab-hero-vid { grid-row: 6; grid-column: 1; position: relative; z-index: 2; margin: 26px 0 0; }
  body.ab-b:not(#x):not(#y) .ab-hero-vid figcaption { padding: 0 8px; color: var(--ab-body); }
  body.ab-b .ab-hero-vid figcaption b { color: var(--ab-ink); }
  body.ab-b:not(#x):not(#y) .ab-story { padding: 64px 0 72px !important; }
  body.ab-b .ab-story-ph { width: 100%; height: 50%; }
  body.ab-b .ab-story-in { grid-template-columns: 1fr; gap: 0; }
  body.ab-b .ab-story-pin { display: none; }
  body.ab-b:not(#x):not(#y) .ab-story-ps p { font-size: 1rem !important; }
  body.ab-b:not(#x):not(#y) .ab-h3 { margin-top: 48px !important; }
  body.ab-b .ab-rows { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.ab-b:not(#x):not(#y) .ab-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  body.ab-b:not(#x):not(#y) .ab-row:nth-child(2) { grid-column: 1 / span 2; flex-direction: row; align-items: center; }
  body.ab-b .ab-row .ab-scn { width: 44px; height: 44px; }
  body.ab-b:not(#x):not(#y) .ab-row h3 { font-size: 1.05rem !important; }
  body.ab-b:not(#x):not(#y) .ab-row p { font-size: 0.92rem !important; }
  body.ab-b:not(#x):not(#y) #contact-site.dv-quick { padding: 56px 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-js body.ab-b .ab-hero-vid { animation: none !important; }
}

/* the hero runs straight into the dark story: no white fade at its foot */
html body.ab-b:not(#pp):not(#x) #hero::after { display: none !important; }
/* phone: the form sits in a white card over the photo */
@media (max-width: 768px) {
  body.ab-b:not(#x):not(#y) #contact-site .dv-quick-card { margin: 0 12px !important; padding: 26px 18px !important; border-radius: 26px !important; background: #ffffff !important; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7) !important; }
  body.ab-b:not(#x):not(#y) #contact-site > .container { padding: 0 !important; }
}

/* round 2: the photo runs the whole width; three even proofs; the phone rows full width */
body.ab-b .ab-story-ph { width: 100% !important; height: 70% !important; opacity: 0.32 !important; }
body.ab-b:not(#x):not(#y) .ab-story-pin .ab-cap { color: rgba(247, 243, 234, 0.7) !important; font-weight: 400 !important; font-style: italic; }
@media (max-width: 768px) {
  body.ab-b .ab-rows { grid-template-columns: 1fr !important; }
  body.ab-b:not(#x):not(#y) .ab-row, body.ab-b:not(#x):not(#y) .ab-row:nth-child(2) { grid-column: auto; flex-direction: row !important; align-items: center !important; }
}

/* round 3: the values run full width under the story; proof cards centred */
body.ab-b .ab-vals-b { position: relative; z-index: 1; margin-top: 80px; }
body.ab-b .ab-vals-b .ab-rows { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 768px) {
  body.ab-b .ab-vals-b { margin-top: 44px; }
  body.ab-b .ab-vals-b .ab-rows { grid-template-columns: 1fr !important; }
}
body.ab-b .ab-vals-b { margin-top: 0 !important; }

/* round 4: on the phone, the photo of the two of them sits between the paragraphs */
@media (max-width: 768px) {
  body.ab-b .ab-story-txt, body.ab-b .ab-story-ps { display: contents; }
  body.ab-b .ab-story-pin { display: block; order: 1; margin: 6px 0 22px; position: static; }
  body.ab-b .ab-story-ps p:nth-child(n+2) { order: 2; }
  body.ab-b .ab-story-pin .ab-story-frame { aspect-ratio: 4 / 3; }
  body.ab-b .ab-story-pin .ab-cap { display: none; }
}
@media (max-width: 768px) { body.ab-b:not(#x):not(#y) .ab-story-txt, body.ab-b:not(#x):not(#y) .ab-story-ps { display: contents !important; } body.ab-b:not(#x):not(#y) .ab-story-ps p:nth-child(n+2) { order: 2 !important; } body.ab-b:not(#x):not(#y) .ab-story-pin { order: 1 !important; } }

/* round 5: the story photo fades out instead of ending on a line; the caption is a link */
body.ab-b .ab-story-ph { -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
body.ab-b .ab-story-pin .ab-cap a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }

/* ================= the Google proof ================= */
/* ---------- shared ---------- */
body.ab:not(#x):not(#y) .eg { position: relative; overflow: clip; isolation: isolate; }
body.ab:not(#x):not(#y) .eg ul, body.ab:not(#x):not(#y) .eg ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.ab:not(#x):not(#y) .eg li { margin: 0 !important; }
body.ab:not(#x):not(#y) .eg h3 { margin: 0 !important; font: 800 1.24rem/1.2 'Outfit', sans-serif !important; letter-spacing: -0.01em; color: var(--ab-ink) !important; text-align: left !important; text-wrap: balance; }
/* ---------- the Google proof: real G, Google-yellow stars, four reviewers ---------- */
body.ab .eg-goo-tile:active { transform: scale(0.98); }
body.ab .eg-goo-tile:focus-visible { outline: 3px solid var(--ab-bright); outline-offset: 3px; }
body.ab .eg-goo-t { display: grid; gap: 4px; }
body.ab .eg-goo-r { display: flex; align-items: center; gap: 8px; }
body.ab .eg-stars { display: inline-flex; gap: 2px; color: #fbbc04; }
body.ab .eg-stars svg { display: block; width: 16px; height: 16px; }
body.ab .eg-g { display: block; flex-shrink: 0; width: 17px; height: 17px; }
body.ab .eg-avs { display: flex; flex-shrink: 0; }
body.ab .eg-avs span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #ffffff; font: 700 14px/1 'Outfit', sans-serif; box-shadow: 0 0 0 3px #ffffff; }
body.ab .eg-avs span + span { margin-left: -9px; }
@media (hover: hover) and (pointer: fine) {
  body.ab .eg-goo-tile:hover .eg-goo-l { text-decoration: underline; text-underline-offset: 3px; }
}
/* the stars arrive one by one the first time the proof is seen */
.hb-js body.ab .eg-stars:not(.is-on) svg { opacity: 0; transform: scale(0.6); }
body.ab .eg-stars.is-on svg { animation: ab-pop 420ms var(--ab-out) calc(var(--s, 0) * 80ms + 150ms) both; }

/* the Google tile */
body.ab:not(#x):not(#y) .eg-goo-tile {
  display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 28px;
  background: radial-gradient(110% 70% at 100% 0%, rgba(251, 188, 4, 0.16) 0%, rgba(251, 188, 4, 0) 62%), #ffffff;
  color: var(--ab-ink) !important; text-decoration: none !important; transition: transform 160ms var(--ab-out);
}
body.ab .eg-g-lg { width: 46px; height: 46px; }
body.ab .eg-goo-tb { display: grid; gap: 14px; margin: 18px 0 0; }
body.ab .eg-goo-tb b { font: 900 1.75rem/1.05 'Outfit', sans-serif; letter-spacing: -0.02em; }
body.ab .eg-goo-tile .eg-stars svg { width: 30px; height: 30px; }
body.ab .eg-goo-tf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
body.ab .eg-goo-l { font: 700 0.98rem/1.2 'Inter', sans-serif; color: var(--ab-g); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 768px) {
  body.ab:not(#x):not(#y) .eg h3 { font-size: 1.06rem !important; }
  body.ab:not(#x):not(#y) .eg p { font-size: 0.94rem !important; line-height: 1.45 !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.ab .eg-stars.is-on svg { animation: none !important; }
  .hb-js body.ab .eg-stars:not(.is-on) svg { opacity: 1; transform: none; }
}

/* ================= "Notre promesse" on a real job photo ================= */
body.ab:not(#x):not(#y) .ep { --ep-deep: #0d2014; --ep-cream: #f7f3ea; padding: 96px 0 80px !important; background: var(--ep-deep) !important; }

/* ---------- the photo ---------- */
body.ab .ep-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
body.ab .ep-par { position: absolute; inset: 0; }
body.ab .ep-bg picture { display: contents; }
body.ab .ep-bg img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2200ms var(--ab-out); }
body.ab .ep-bg.is-play img { transform: scale(1); }
body.ab .ep-bg::after { content: ''; position: absolute; inset: 0; }

/* ---------- title, line, then the button, all on the grid's left edge ---------- */
body.ab .ep-head { display: block; margin-bottom: 40px; }
body.ab:not(#x):not(#y) .ep .ep-head .hb-h2 { color: var(--ep-cream) !important; text-shadow: 0 2px 24px rgba(6, 14, 9, 0.5); }
body.ab:not(#x):not(#y) .ep .ep-sub { margin-top: 14px !important; max-width: 46ch; font: 500 1.28rem/1.45 'Inter', sans-serif !important; color: rgba(247, 243, 234, 0.9) !important; text-shadow: 0 1px 14px rgba(6, 14, 9, 0.6); }
body.ab:not(#x):not(#y) .ep .ep-go { margin-top: 28px; min-height: 56px; padding: 15px 32px; font-size: 1.1rem; background: #4caf50; color: #0d2014 !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 18px 34px -16px rgba(0, 0, 0, 0.7); }
@media (hover: hover) and (pointer: fine) { body.ab:not(#x):not(#y) .ep .ep-go:hover { background: #5fbf63; } }

/* ---------- the mosaic: team tall on the left, guarantee wide, visit and Google under it ---------- */
body.ab .ep-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 0.88fr); grid-template-rows: 252px 224px; gap: 16px; }
body.ab:not(#x):not(#y) .ep-t { position: relative; overflow: hidden; border-radius: 28px; }
body.ab .ep-team { grid-column: 1; grid-row: 1 / span 2; background: var(--ep-deep); }
body.ab .ep-guar { grid-column: 2 / span 2; grid-row: 1; }
body.ab .ep-visit { grid-column: 2; grid-row: 2; }
body.ab .ep-goo { grid-column: 3; grid-row: 2; }

/* the words on dark tiles */
body.ab:not(#x):not(#y) .ep .ep-t h3 { color: #ffffff !important; }
body.ab:not(#x):not(#y) .ep .ep-t p { color: rgba(247, 243, 234, 0.84) !important; text-wrap: pretty; }

/* team: the two of them, full height, words on the photo's foot */
body.ab .ep-team-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 30%; transition: transform 900ms var(--ab-out); }
body.ab .ep-film { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 12, 0) 40%, rgba(8, 20, 12, 0.66) 64%, rgba(8, 20, 12, 0.95) 100%); }
body.ab .ep-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 30px; }
body.ab:not(#x):not(#y) .ep .ep-cap h3 { font-size: 1.6rem !important; max-width: 16ch; }
body.ab:not(#x):not(#y) .ep .ep-cap p { max-width: 34ch; }

/* guarantee: the 12 counts up with its words under it; the shield, drawn large,
   holds the right side (critic, 2026-11-18: the right third of this tile was empty) */
body.ab .ep-guar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 34px; padding: 30px 40px 30px 36px; }
body.ab .ep-gtx { display: contents; }
body.ab:not(#x):not(#y) .ep .ep-gtx h3 { display: flex; align-items: flex-end; gap: 14px; }
body.ab .ep-num { font: 900 7.4rem/0.78 'Outfit', sans-serif; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: #ffffff; margin-left: -0.055em; }
body.ab .ep-unit { max-width: 6ch; padding-bottom: 4px; font: 800 1.9rem/1.02 'Outfit', sans-serif; color: var(--ep-cream); }
body.ab:not(#x):not(#y) .ep .ep-gtx p { max-width: 30ch; padding: 4px 0 4px 26px; border-left: 1px solid rgba(247, 243, 234, 0.3); font-size: 1.08rem !important; color: rgba(247, 243, 234, 0.92) !important; }
body.ab .ep-guar .ep-seal { position: relative; width: 132px; height: 132px; margin: 0; justify-self: end; }
body.ab .ep-seal::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 211, 154, 0.24) 0%, rgba(143, 211, 154, 0) 66%); }
body.ab .ep-seal .ab-svg { position: relative; --soft: rgba(255, 255, 255, 0.1); }
body.ab .ep-seal .ab-svg .s-draw { stroke-width: 1.7; }
body.ab .ep-seal .ab-svg .s-draw.s-acc { stroke: #8fd39a; stroke-width: 2.6; }
body.ab .ep-seal .ab-svg .s-ring { stroke: #8fd39a; stroke-width: 1; }

/* visit: the written price drawn, the words under it */
body.ab .ep-visit { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 28px 30px; }
body.ab .ep-visit .ab-scn { width: 52px; height: 52px; margin-left: -12px; }
body.ab .ep-vtx { display: grid; gap: 8px; }

/* Google: the white card is Google's own colour, kept on every variant */
body.ab .ep-goo .eg-goo-tile { border-radius: inherit; }
body.ab:not(#x):not(#y) .ep .eg-goo-tile { background: #fbf8f1; }
body.ab .ep .eg-avs span + span { margin-left: -4px; }

/* hover: lift and ring only, nothing replays */
@media (hover: hover) and (pointer: fine) {
  body.ab:not(#x):not(#y) .ep .ab-card.ep-t:hover { box-shadow: 0 0 0 2px var(--ab-bright), 0 34px 64px -28px rgba(0, 0, 0, 0.7); }
  body.ab:not(#x):not(#y) .ep .ab-card.ep-goo:hover { box-shadow: 0 0 0 2px #fbbc04, 0 34px 64px -28px rgba(0, 0, 0, 0.7); }
  body.ab .ep-team:hover .ep-team-img { transform: scale(1.04); }
}

/* ================= 1, "Plein cadre": full-bleed photo, clean tiles on it ================= */
/* critic, 2026-11-18: see-through dark tiles on the darkened photo read as mud. The photo now
   stays a photo (darkened only behind the title), and the tiles are near-solid brand greens
   with a light edge, so each one reads as its own thing. */
body.ab .ep1-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 150px, #000 calc(100% - 190px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 150px, #000 calc(100% - 190px), transparent 100%); }
body.ab .ep1-bg img { object-position: 50% 40%; }
body.ab .ep1-bg::after { background: linear-gradient(90deg, rgba(13, 32, 20, 0.78) 0%, rgba(13, 32, 20, 0.34) 44%, rgba(13, 32, 20, 0.06) 100%), linear-gradient(180deg, rgba(13, 32, 20, 0.28) 0%, rgba(13, 32, 20, 0) 34%, rgba(13, 32, 20, 0) 62%, rgba(13, 32, 20, 0.5) 100%); }
body.ab:not(#x):not(#y) .ep1 .ep-visit {
  background: linear-gradient(165deg, rgba(33, 76, 47, 0.97) 0%, rgba(17, 44, 27, 0.97) 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(143, 211, 154, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
body.ab:not(#x):not(#y) .ep1 .ep-guar {
  background: radial-gradient(120% 140% at 100% 50%, #3f9655 0%, rgba(63, 150, 85, 0) 60%), linear-gradient(120deg, #2f6b3f 0%, #245a34 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(143, 211, 154, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
body.ab:not(#x):not(#y) .ep1 .ep-team, body.ab:not(#x):not(#y) .ep1 .ep-goo { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }

/* ================= phone: title, button, then the team, the guarantee beside Google, the visit ================= */
@media (max-width: 768px) {
  body.ab:not(#x):not(#y) .ep { padding: 64px 0 48px !important; }
  body.ab:not(#x):not(#y) .ep .ep-sub { font-size: 1.06rem !important; }
  body.ab .ep-head { display: block; margin-bottom: 26px; }
  body.ab:not(#x):not(#y) .ep .ep-sub { margin-top: 10px !important; font-size: 1rem !important; }
  body.ab:not(#x):not(#y) .ep .ep-go { margin: 22px 0 0; }
  body.ab .ep-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row dense; gap: 10px; }
  body.ab:not(#x):not(#y) .ep-t { border-radius: 22px; }
  body.ab .ep-team { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.6; }
  body.ab .ep-cap { padding: 20px; }
  body.ab:not(#x):not(#y) .ep .ep-cap h3 { font-size: 1.3rem !important; }
  body.ab .ep-guar { grid-column: 1; grid-row: auto; padding: 18px !important; min-height: 236px; }
  body.ab .ep-guar .ep-seal { order: -1; align-self: flex-start; justify-self: start; width: 42px; height: 42px; margin: 0 0 4px -3px; }
  body.ab .ep-seal::before { display: none; }
  body.ab .ep-seal .ab-svg .s-draw { stroke-width: 2.4; }
  body.ab .ep-seal .ab-svg .s-draw.s-acc { stroke-width: 3.4; }
  body.ab .ep-num { margin-left: 0; }
  body.ab .ep-guar { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
  body.ab .ep-gtx { display: grid; gap: 8px; }
  body.ab:not(#x):not(#y) .ep .ep-gtx p { max-width: none; padding: 0; border: 0; }
  body.ab:not(#x):not(#y) .ep .ep-gtx h3 { display: grid; gap: 4px; }
  body.ab .ep-num { font-size: 4.6rem; }
  body.ab .ep-unit { max-width: none; padding: 0; font-size: 1.15rem; }
  body.ab:not(#x):not(#y) .ep .ep-gtx p { font-size: 0.9rem !important; padding: 0; border: 0; }
  body.ab .ep-goo { grid-column: 2; grid-row: auto; }
  body.ab:not(#x):not(#y) .ep .eg-goo-tile { padding: 18px; }
  body.ab .ep .eg-g-lg { width: 36px; height: 36px; }
  body.ab .ep .eg-goo-tb b { font-size: 1.3rem; }
  body.ab .ep .eg-goo-tile .eg-stars svg { width: 22px; height: 22px; }
  body.ab .ep .eg-goo-tf { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; }
  body.ab .ep .eg-goo-tile .eg-avs span { width: 30px; height: 30px; font-size: 14px; }
  body.ab .ep-visit { grid-column: 1 / -1; grid-row: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; padding: 18px !important; }
  body.ab .ep-visit .ab-scn { width: 44px; height: 44px; margin-left: -10px; }
  body.ab .ep .eg-goo-l { font-size: 0.9rem; }
  /* the photo: whole portrait behind the title, faded into the green under the tiles */
  body.ab .ep1-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, transparent 0, #000 90px, #000 55%, transparent 92%); }
  body.ab .ep1-bg::after { background: linear-gradient(180deg, rgba(13, 32, 20, 0.6) 0%, rgba(13, 32, 20, 0.45) 40%, rgba(13, 32, 20, 0.6) 100%); }
  body.ab .ep1-bg img { object-position: 50% 60%; }
  body.ab:not(#x):not(#y) .ep1 .ep-visit { box-shadow: inset 0 0 0 1px rgba(143, 211, 154, 0.3), 0 20px 40px -26px rgba(0, 0, 0, 0.7) !important; }
  body.ab:not(#x):not(#y) .ep .ep-head .hb-h2 { letter-spacing: -0.01em !important; }
  body.ab .ep .eg-goo-l { font-size: 0.9rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.ab .ep-bg img, body.ab .ep-bg.is-play img { transform: none; transition: none; }
  body.ab .ep-team-img { transition: none; }
}

/* The reviews band follows "Notre promesse" here, not the homepage's light
   services band, so its top blend starts from the promise section's green
   (#0d2014) instead of the homepage mist (#f3f7f4), which drew a pale seam. */
html body.place-v2.ab #testimonials-carousel-section { --pv-above: #0d2014; }

/* ---------- scored loop, round 1 (fresh critic, 2026-11-19) ---------- */
/* the story photo fades in under the hero instead of starting on a hard edge */
body.ab-b .ab-story-ph { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 180px, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 180px, #000 45%, transparent 100%); }
/* less dead dark space under the hero and before the promise */
@media (min-width: 769px) {
  body.ab-b:not(#x):not(#y) .ab-hero { padding-bottom: 72px !important; }
  body.ab-b:not(#x):not(#y) .ab-story { padding: 96px 0 72px !important; }
}
/* "Ce qui guide notre duo" is a section title like the others */
body.ab-b:not(#x):not(#y) .ab-h3 { margin-top: 96px !important; font-size: clamp(2.4rem, 4.4vw, 4rem) !important; letter-spacing: -0.035em; }
body.ab-b:not(#x):not(#y) .ab-vals-sub { margin-bottom: 30px !important; }
/* the caption link under the story photo breaks evenly, no word left alone */
body.ab-b:not(#x):not(#y) .ab-story-pin .ab-cap { text-wrap: balance; }
/* one quote button style on the page: the hero's green */
body.ab:not(#x):not(#y) .ep .ep-go { background: linear-gradient(135deg, #2f6b3f 0%, #3b874f 100%); color: #ffffff !important; box-shadow: inset 0 0 0 1px rgba(143, 211, 154, 0.5), 0 18px 34px -16px rgba(0, 0, 0, 0.7); }
@media (hover: hover) and (pointer: fine) { body.ab:not(#x):not(#y) .ep .ep-go:hover { background: linear-gradient(135deg, #357a48 0%, #43965a 100%); } }
/* the guarantee's sentence takes the room it has */
@media (min-width: 769px) { body.ab:not(#x):not(#y) .ep .ep-gtx p { max-width: 38ch; font-size: 1.16rem !important; } }
@media (max-width: 768px) {
  /* story paragraphs keep their spacing once the column is unwrapped */
  body.ab-b:not(#x):not(#y) .ab-story-ps p { margin-top: 16px !important; }
  body.ab-b:not(#x):not(#y) .ab-story .ab-restore { margin-bottom: 6px !important; }
  body.ab-b:not(#x):not(#y) .ab-h3 { margin-top: 64px !important; font-size: 2.3rem !important; }
  /* the three values: one card with three rows, not three stacked cards */
  body.ab-b .ab-vals-b .ab-rows { gap: 0 !important; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { padding: 16px 18px !important; gap: 16px; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row + .ab-row { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  body.ab-b .ab-vals-b .ab-row .ab-scn { width: 40px; height: 40px; flex: 0 0 40px; }
  /* the promise photo's sky stays in the greens */
  body.ab .ep1-bg::after { background: linear-gradient(180deg, rgba(13, 32, 20, 0.86) 0%, rgba(13, 32, 20, 0.55) 42%, rgba(13, 32, 20, 0.62) 100%); }
  body.ab .ep1-bg img { filter: saturate(0.75) hue-rotate(-12deg); }
}
/* the guarantee row: a smaller seal leaves the sentence room for two lines */
@media (min-width: 769px) {
  body.ab .ep-guar { column-gap: 26px; }
  body.ab .ep-guar .ep-seal { width: 104px; height: 104px; }
  body.ab:not(#x):not(#y) .ep .ep-gtx p { padding-left: 22px; }
  body.ab:not(#x):not(#y) #engagements { padding-top: 64px !important; }
}
@media (max-width: 768px) {
  body.ab-b:not(#x):not(#y) .ab-story { padding-bottom: 40px !important; }
  body.ab:not(#x):not(#y) #engagements { padding-top: 44px !important; }
}

/* ---------- scored loop, round 2 (fresh critic, 2026-11-19) ---------- */
/* the promise button is the hero's button: same type, size and arrow */
body.ab:not(#x):not(#y) .ep .ep-go { min-height: 66px; padding: 18px 42px; font: 700 1.1rem/1.2 'Inter', sans-serif !important; }
@media (min-width: 769px) {
  /* value cards read from the same top line */
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { align-items: flex-start; }
  body.ab-b .ab-vals-b .ab-row .ab-scn { width: 56px; height: 56px; flex: 0 0 56px; }
  /* guarantee: the sentence on two lines, the seal right beside it */
  body.ab .ep-guar { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 22px; padding-right: 34px; }
  body.ab .ep-num { font-size: 6.6rem; }
  body.ab .ep-unit { font-size: 1.7rem; }
  body.ab:not(#x):not(#y) .ep .ep-gtx p { max-width: none; font-size: 1.08rem !important; text-wrap: balance; }
  body.ab .ep-guar .ep-seal { width: 96px; height: 96px; }
  /* less dark space between the promise and the reviews */
  body.ab:not(#x):not(#y) #engagements { padding-bottom: 32px !important; }
}
@media (max-width: 768px) {
  /* the hero already shows the founders; the story keeps its words */
  body.ab-b:not(#x):not(#y) .ab-story-pin { display: none !important; }
}
/* the hero's photo is its own background: an inner shadow on its overlay ends it in the story's green */
body.ab-b:not(#x):not(#y) .ab-hero .hero-overlay { box-shadow: inset 0 -190px 110px -70px #0d2014; }
@media (max-width: 768px) {
  /* the reviews' paving photo rises out of the promise's green, no step */
  html body.place-v2.ab:not(#pp):not(#x) #testimonials-carousel-section { background: linear-gradient(180deg, #0d2014 0, var(--pp-forest) 240px) !important; }
}

/* ---------- scored loop, round 3 (fresh critic, 2026-11-19) ---------- */
/* the promise button wears the hero button's fill and edge */
body.ab:not(#x):not(#y) .ep .ep-go { display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; border: 1px solid rgba(76, 175, 80, 0.45); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); }
@media (min-width: 769px) {
  body.ab-b:not(#x):not(#y) .ab-hero { padding-bottom: 36px !important; }
  body.ab-b:not(#x):not(#y) .ab-story { padding-top: 64px !important; }
  body.ab-b .ab-vals-b .ab-row .ab-scn { align-self: flex-start; margin-top: -4px; }
  body.ab:not(#x):not(#y) #engagements { padding-bottom: 8px !important; }
  html body.place-v2.ab:not(#x):not(#y) #testimonials-carousel-section { padding-top: 64px !important; }
}
@media (max-width: 768px) {
  body.ab:not(#x):not(#y) .ep .ep-go { width: 100%; min-height: 56px; padding: 15px 18px; font: 800 1.05rem/1.2 'Outfit', sans-serif !important; }
  body.ab-b:not(#x):not(#y) .ab-story { padding-bottom: 16px !important; }
  body.ab:not(#x):not(#y) #engagements { padding-top: 28px !important; padding-bottom: 16px !important; }
}

/* ---------- scored loop, round 4 (fresh critic, 2026-11-19) ---------- */
body.ab:not(#x):not(#y) .ep .ep-go { border-color: rgba(255, 255, 255, 0.34); }
body.ab-b:not(#x):not(#y) .ab-story .ab-restore { width: 100%; max-width: 60ch; box-sizing: border-box; }
@media (min-width: 769px) {
  /* values: the icon sits above its title, so all three read from one line */
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  body.ab-b .ab-vals-b .ab-row .ab-scn { align-self: flex-start; margin: 0; width: 52px; height: 52px; flex: 0 0 auto; }
  /* guarantee: number, sentence and seal held together in the middle of the tile */
  body.ab .ep-guar { grid-template-columns: auto auto auto; justify-content: center; column-gap: 34px; padding-right: 36px; }
  body.ab .ep-guar .ep-seal { justify-self: start; }
}
@media (max-width: 768px) {
  html body.place-v2.ab:not(#pp):not(#x) #testimonials-carousel-section { background: linear-gradient(180deg, #0d2014 0, var(--pp-forest) 110px) !important; }
}
@media (min-width: 769px) { body.ab:not(#x):not(#y) .ep .ep-gtx p { max-width: 24ch; } }

/* ---------- scored loop, round 6 (fresh critic, 2026-11-20): phone first ---------- */
/* the review counter prints no total, on both widths: the phone row leaves out the
   featured review and the computer row keeps it, so the totals disagreed (23 / 22),
   and a printed total reads as a review count (decision 2026-11-17). The bar stays. */
body.ab .pv-count-text, body.ab .pp-count-text { display: none !important; }

@media (min-width: 769px) {
  /* guarantee: the seal leads the tile, then the 12, then the sentence in the room left */
  body.ab .ep-guar { grid-template-columns: auto auto minmax(0, 1fr); justify-content: start; column-gap: 30px; padding: 30px 40px 30px 38px; }
  body.ab .ep-guar .ep-seal { order: -1; width: 92px; height: 92px; justify-self: start; }
  body.ab:not(#x):not(#y) .ep .ep-gtx p { max-width: 30ch; text-wrap: pretty; }
  /* the promise photo: the stone pillar at its left edge is cropped off, the driveway's curve leads */
  body.ab .ep1-bg .ep-par img { width: 118%; max-width: none; margin-left: -18%; object-position: 50% 42%; }
  /* the values: the title on the left, the three as one list on the right, each line in one row */
  body.ab-b:not(#x):not(#y) .ab-vals-b { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; column-gap: 80px; align-items: start; margin-top: 104px !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-h3 { grid-column: 1; margin: 0 0 14px !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-vals-sub { grid-column: 1; margin: 0 !important; max-width: 34ch; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-rows { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr !important; gap: 0; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { display: grid; grid-template-columns: 52px minmax(0, 13.5rem) minmax(0, 1fr); align-items: center; column-gap: 24px; padding: 26px 30px !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row + .ab-row { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row > div { display: contents; }
  body.ab-b .ab-vals-b .ab-row .ab-scn { width: 52px; height: 52px; margin: 0; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row h3 { margin: 0 !important; font-size: 1.3rem !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row p { font-size: 1.08rem !important; }
  @media (hover: hover) and (pointer: fine) { body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row:hover { background: rgba(255, 255, 255, 0.05) !important; box-shadow: none !important; } }
}

@media (max-width: 768px) {
  /* hero: the two names never split, one sentence per line; button and cards on one 12px gutter */
  body.ab #hero .dv-h1-sub { white-space: nowrap; }
  body.ab #hero .ab-sub-s { display: block; }
  body.ab-b:not(#x):not(#y) #hero .hero-btn-primary { align-self: stretch; margin-left: -4px; margin-right: -4px; justify-content: center; }
  body.ab-b:not(#x):not(#y) .ab-hero-vid figcaption { padding: 0 20px; }
  body.ab-b .ab-hero-vid figcaption b { letter-spacing: -0.01em; }
  /* the story's paragraphs never sit on the bright lawn */
  body.ab-b .ab-story-ph { opacity: 0.2 !important; }
  /* the values: their own light band between the dark story and the promise photo */
  body.ab-b:not(#x):not(#y) .ab-story { padding-bottom: 0 !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b { position: relative; margin-top: 56px !important; padding: 52px 0 56px; background: #eaf0eb; box-shadow: 0 0 0 100vmax #eaf0eb; clip-path: inset(0 -100vmax); }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-h3 { margin: 0 0 10px !important; font-size: 2rem !important; line-height: 1.04 !important; color: var(--ab-ink) !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-vals-sub { margin-bottom: 22px !important; font-size: 1rem !important; color: var(--ab-body) !important; }
  body.ab-b .ab-vals-b .ab-rows { background: #ffffff !important; box-shadow: 0 0 0 1px #e2e8e3, 0 18px 40px -26px rgba(13, 32, 20, 0.35) !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row + .ab-row { border-top-color: #e2e8e3 !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row h3 { color: var(--ab-ink) !important; letter-spacing: -0.005em !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row p { color: var(--ab-body) !important; }
  body.ab-b .ab-vals-b .ab-svg { --ink: #1f4a2c; --soft: rgba(47, 107, 63, 0.12); --acc: #2f8a43; }
  /* the promise: a clear start after the light band */
  body.ab:not(#x):not(#y) #engagements { padding-top: 52px !important; }
  /* section titles on the dark bands share one size */
  body.ab-b:not(#x):not(#y) .ab-story .hb-h2, body.ab:not(#x):not(#y) .ep .ep-head .hb-h2 { font-size: 2rem !important; line-height: 1.04 !important; }
  /* the team card: heads with air, the words on the driveway under a deeper film */
  body.ab .ep-team { aspect-ratio: 1 / 1.08; }
  body.ab .ep-team-img { object-position: 30% 18%; }
  body.ab .ep-film { background: linear-gradient(180deg, rgba(8, 20, 12, 0) 44%, rgba(8, 20, 12, 0.78) 66%, rgba(8, 20, 12, 0.94) 100%); }
  /* small titles: no squeezed letters */
  body.ab:not(#x):not(#y) .eg h3, body.ab:not(#x):not(#y) .ep .ep-t h3 { letter-spacing: -0.005em !important; }
  /* the paired cards: icons on one top line, the 12 on its label's edge */
  body.ab .ep-guar .ep-seal { width: 38px; height: 38px; margin: 0; }
  body.ab .ep .eg-g-lg { width: 38px; height: 38px; }
  body.ab:not(#x):not(#y) .ep .eg-goo-tile { justify-content: flex-start; padding: 18px !important; }
  body.ab .ep .eg-goo-tb { margin-top: 14px; }
  body.ab .ep-guar { justify-content: flex-start !important; }
}

/* ---------- scored loop, round 7 (fresh critic of round 6, 2026-11-20) ---------- */
@media (min-width: 769px) {
  /* the values (on the open list): their own light band between the dark story and the promise photo,
     so the dark run is broken in two, as on the phone */
  body.ab-b:not(#x):not(#y) .ab-vals-b { position: relative; margin-top: 96px !important; padding: 88px 0; background: #eaf0eb; box-shadow: 0 0 0 100vmax #eaf0eb; clip-path: inset(0 -100vmax); }
  body.ab-b:not(#x):not(#y) .ab-story { padding-bottom: 0 !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-h3 { color: var(--ab-ink) !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-vals-sub { color: var(--ab-body) !important; font-size: 1.08rem !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-rows { background: #ffffff; box-shadow: 0 0 0 1px #e2e8e3, 0 24px 50px -30px rgba(13, 32, 20, 0.35); }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { grid-template-columns: 52px minmax(0, 12rem) minmax(0, 1fr); }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row + .ab-row { border-top-color: #e2e8e3; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row h3 { color: var(--ab-ink) !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row p { color: var(--ab-body) !important; }
  body.ab-b .ab-vals-b .ab-svg { --ink: #1f4a2c; --soft: rgba(47, 107, 63, 0.12); --acc: #2f8a43; }
  @media (hover: hover) and (pointer: fine) { body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row:hover { background: #f5f8f5 !important; } }
}
@media (max-width: 768px) {
  /* the two names stay on one line and shrink on narrow phones instead of running off the card */
  body.ab #hero .dv-h1-sub:lang(fr) { font-size: min(1em, calc((100vw - 64px) / 7.6)); }
  body.ab #hero .dv-h1-sub:lang(en) { font-size: min(1em, calc((100vw - 64px) / 8.5)); }
  /* the hero button on the hero card's 12px gutter */
  body.ab-b:not(#x):not(#y) #hero .hero-btn-primary { margin-left: -4px !important; margin-right: -4px !important; width: calc(100% + 8px) !important; max-width: none !important; }
  /* the video card: a short soft shadow, no grey haze behind its caption */
  body.ab-b:not(#x):not(#y) .ab-hero-vid, body.ab-b:not(#x):not(#y) .ab-hero-vid .ab-vid-box { box-shadow: 0 8px 20px rgba(13, 32, 20, 0.12) !important; }
  body.ab-b:not(#x):not(#y) .ab-hero-vid { background: none !important; }
  /* the story: the photo further back, the callout with a visible edge */
  body.ab-b .ab-story-ph { opacity: 0.12 !important; }
  body.ab-b:not(#x):not(#y) .ab-story .ab-restore { border-color: rgba(76, 175, 80, 0.4) !important; }
  /* the team card's title on two lines */
  body.ab:not(#x):not(#y) .ep .ep-cap h3 { max-width: 92%; }
  /* the reviews rise as their own sheet over the end of the promise: a rounded top and a light edge */
  body.ab:not(#x):not(#y) #engagements { padding-bottom: 64px !important; }
  html body.place-v2.ab:not(#pp):not(#x) #testimonials-carousel-section { position: relative; z-index: 2; margin-top: -28px !important; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #1a3a26 0, var(--pp-forest) 160px) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 -18px 40px rgba(0, 0, 0, 0.35); }
}

/* ---------- scored loop, round 8 (fresh critic of round 7, 2026-11-20) ---------- */
@media (min-width: 769px) {
  /* values (on the open list): the title block centred against the list, each value's line under its name */
  body.ab-b:not(#x):not(#y) .ab-vals-b { grid-template-rows: 1fr auto auto 1fr; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-h3 { grid-row: 2; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-vals-sub { grid-row: 3; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-rows { grid-row: 1 / span 4; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { grid-template-columns: 52px minmax(0, 1fr); align-items: start; padding: 28px 32px !important; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row > div { display: block; }
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row h3 { margin: 2px 0 6px !important; }
}
@media (max-width: 768px) {
  /* one 16px gutter for the hero card, its button and the video, like every block below */
  body.ab-b:not(#x):not(#y) .ab-hero { padding-left: 16px !important; padding-right: 16px !important; }
  body.ab-b:not(#x):not(#y) #hero .hero-btn-primary { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
  /* the video: the shadow on the video only, the caption straight on the page */
  body.ab-b:not(#x):not(#y) .ab-hero-vid { box-shadow: none !important; }
  body.ab-b:not(#x):not(#y) .ab-hero-vid figcaption { padding: 0 4px; }
  /* the values: each icon on its title's first line */
  body.ab-b:not(#x):not(#y) .ab-vals-b .ab-row { align-items: flex-start !important; }
  body.ab-b .ab-vals-b .ab-row .ab-scn { align-self: flex-start !important; margin-top: 0 !important; }
  /* the reviews sheet starts on the promise photo, not on a dark strip */
  body.ab:not(#x):not(#y) #engagements { padding-bottom: 40px !important; }
  html body.place-v2.ab:not(#pp):not(#x) #testimonials-carousel-section { border-radius: 24px 24px 0 0; margin-top: -24px !important; }
}
@media (max-width: 768px) {
  /* each sentence of the hero line on one line: the French first sentence eases down a little on narrow phones */
  body.ab #hero .ab-sub-s { white-space: nowrap; }
  body.ab-b:not(#x):not(#y) #hero .ab-sub-s:lang(fr) { font-size: min(16px, calc((100vw - 72px) / 19.4)) !important; }
}

/* ---------- scored loop, round 9 (fresh critic of round 8, 2026-11-20): phone ---------- */
@media (max-width: 768px) {
  /* the hero button and the video caption back on the cards' 16px edge (their wrapper sits 4px in) */
  body.ab-b:not(#x):not(#y) #hero .hero-btn-primary { margin-left: -4px !important; margin-right: -4px !important; width: calc(100% + 8px) !important; }
  body.ab-b:not(#x):not(#y) .ab-hero-vid figcaption { padding: 0; }
  /* the play ring sits on the road, below the walker's face */
  body.ab:not(#x):not(#y) .ab-hero-vid .hb-yt-play { top: 66%; }
  /* the values' icons: no ground shadow under the house, one top line */
  body.ab-b .ab-vals-b .ab-svg .s-ground2, body.ab-b .ab-vals-b .ab-svg .s-ripple { display: none; }
  /* the story's boxed line in the body's weight, so the title stays the loudest thing */
  body.ab-b:not(#x):not(#y) .ab-story .ab-restore { font-weight: 500 !important; }
  /* the reviews sheet: less empty tint above its first line */
  html body.place-v2.ab:not(#x):not(#y) #testimonials-carousel-section { padding-top: 40px !important; }
}

/* ---------- scored loop, round 10 (fresh critic of round 9, 2026-11-20): phone ---------- */
@media (max-width: 768px) {
  /* the reviews start on a hard straight edge, a step lighter than the promise's end, no rounded corners */
  html body.place-v2.ab:not(#pp):not(#x) #testimonials-carousel-section { margin-top: 0 !important; border-radius: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); background: linear-gradient(180deg, #1d4029 0, var(--pp-forest) 200px) !important; }
  body.ab:not(#x):not(#y) #engagements { padding-bottom: 48px !important; }
  /* the visit card: its icon beside its title, no empty top */
  body.ab:not(#x):not(#y) .ep .ep-visit { display: grid !important; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  body.ab:not(#x):not(#y) .ep .ep-visit .ab-scn { width: 40px; height: 40px; margin: 0 !important; }
  /* the play ring between the walker's chest and the road, clear of the card's bottom */
  body.ab:not(#x):not(#y) .ab-hero-vid .hb-yt-play { top: 58%; }
  /* the story's paragraphs with more air between them */
  body.ab-b:not(#x):not(#y) .ab-story-txt p + p { margin-top: 22px !important; }
}

/* ---------- scored loop, round 11 (fresh critic of round 10, 2026-11-20) ---------- */
@media (min-width: 769px) {
  /* the promise photo (on the open list): its left 60% held darker, so the subtitle and the button never sit on bright paving */
  body.ab .ep1-bg::after { background: linear-gradient(90deg, rgba(13, 32, 20, 0.86) 0%, rgba(13, 32, 20, 0.7) 45%, rgba(13, 32, 20, 0.2) 75%, rgba(13, 32, 20, 0.08) 100%), linear-gradient(180deg, rgba(13, 32, 20, 0.28) 0%, rgba(13, 32, 20, 0) 34%, rgba(13, 32, 20, 0) 62%, rgba(13, 32, 20, 0.5) 100%); }
}
@media (max-width: 768px) {
  /* the Google card's title breaks into even lines */
  body.ab:not(#x):not(#y) .ep .eg-goo-tile .eg-goo-tb, body.ab:not(#x):not(#y) .ep .eg-goo-tile b, body.ab:not(#x):not(#y) .ep .eg-goo-tile strong { text-wrap: balance; }
}
/* the values' house icon without its ground shadow, on the computer too */
body.ab-b .ab-vals-b .ab-svg .s-ground2, body.ab-b .ab-vals-b .ab-svg .s-ripple { display: none; }
