@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Nunito:wght@400;600;700;800;900&display=swap");

:root {
  --cream: #fdf7e6;
  --cream-deep: #f4ead3;
  --ink: #171947;
  --purple: #32103f;
  --green: #718c33;
  --green-dark: #073525;
  --orange: #f36d22;
  --shadow: 0 18px 50px rgba(25, 29, 18, 0.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1024px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.art-section,
.art-page,
.image-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.mobile-service-card,
.mobile-price-grid,
.mobile-footer-content,
.mobile-story,
.mobile-price-page {
  display: none;
}

.desktop-page-band {
  display: none;
}

.art-image {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 18px;
  cursor: pointer;
  background: transparent;
}

.hotspot:focus-visible,
.transparent-control:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px rgba(50, 16, 63, .7);
}

.hero-logo-hit {
  left: 39.7%;
  top: 4.8%;
  width: 20.5%;
  height: 21%;
}

.hero-menu-hit {
  right: 2.2%;
  top: 2.6%;
  width: 6.5%;
  height: 11%;
}

.hero-cta-hit {
  left: 39.2%;
  top: 84.5%;
  width: 23%;
  height: 11%;
  border-radius: 999px;
}

.hero-cta-hit:hover {
  background: rgba(255, 255, 255, .08);
}

.page-menu-trigger {
  position: fixed;
  z-index: 900;
  top: 24px;
  right: 28px;
  display: grid;
  width: 54px;
  height: 48px;
  padding: 10px;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 14px;
  background: rgba(5, 35, 25, .38);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), background .25s ease;
}

.page-menu-trigger.dark {
  border-color: rgba(23, 25, 71, .25);
  background: rgba(253, 247, 230, .82);
}

.page-menu-trigger:hover {
  transform: translateY(-2px);
  background: rgba(5, 35, 25, .65);
}

.page-menu-trigger.dark:hover {
  background: #fff;
}

.page-menu-trigger span {
  display: block;
  width: 27px;
  height: 3px;
  border-radius: 99px;
  background: var(--cream);
}

.page-menu-trigger.dark span {
  background: var(--ink);
}

.menu-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  background: #667b36;
  clip-path: circle(0 at calc(100% - 54px) 52px);
  transition:
    clip-path .75s var(--ease),
    opacity .25s ease,
    visibility 0s linear .75s;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  clip-path: circle(150% at calc(100% - 54px) 52px);
  transition:
    clip-path .85s var(--ease),
    opacity .2s ease,
    visibility 0s;
}

.menu-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-logo-hit {
  left: 39%;
  top: 4.4%;
  width: 20%;
  height: 23%;
}

.menu-close-hit {
  right: 2.8%;
  top: 3.3%;
  width: 7.2%;
  height: 11%;
  border-radius: 50%;
}

.menu-link {
  left: 7.2%;
  width: 31%;
  height: 8.6%;
  border-radius: 8px;
}

.menu-link:hover {
  background: rgba(255, 248, 229, .08);
}

.menu-services { top: 31.1%; }
.menu-story { top: 41.5%; }
.menu-prices { top: 52%; }
.menu-quote { top: 62.3%; }

.wave {
  position: relative;
  z-index: 10;
  width: 100%;
  height: clamp(36px, 5vw, 78px);
  margin-top: -1px;
  margin-bottom: -1px;
  line-height: 0;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.services-carousel {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.services-track {
  display: flex;
  width: 100%;
  transition: transform .85s var(--ease);
  will-change: transform;
}

.service-slide {
  position: relative;
  min-width: 100%;
  line-height: 0;
}

.service-slide img {
  width: 100%;
  height: auto;
}

.transparent-control {
  position: absolute;
  z-index: 12;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.transparent-control:hover {
  background: rgba(255, 255, 255, .12);
}

.carousel-prev {
  left: 26.2%;
  top: 84.5%;
  width: 6.2%;
  aspect-ratio: 1;
}

.carousel-next {
  right: 29%;
  top: 84.5%;
  width: 6.2%;
  aspect-ratio: 1;
}

.service-cta {
  left: 59.5%;
  top: 66.2%;
  width: 18.5%;
  height: 9.4%;
  border-radius: 999px;
}

.service-dots {
  position: absolute;
  z-index: 14;
  left: 42.2%;
  top: 86.3%;
  display: flex;
  width: 16%;
  height: 7%;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 17px);
  border-radius: 999px;
  background: #fdf7e6;
}

.service-dot {
  width: clamp(12px, 1.3vw, 22px);
  aspect-ratio: 1;
  padding: 0;
  border-radius: 4px;
  background: #e7d8bd;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease;
}

.service-dot.is-active {
  transform: scale(1.18);
  background: var(--purple);
}

.price-home {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #88a64e;
}

.price-home::before,
.price-home::after {
  display: none;
}

.price-home img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.comparison-section {
  position: relative;
  padding: clamp(70px, 8vw, 140px) 6vw clamp(80px, 8vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 4%, rgba(113, 140, 51, .2), transparent 17%),
    radial-gradient(circle at 96% 7%, rgba(113, 140, 51, .13), transparent 16%),
    var(--cream);
  text-align: center;
}

.comparison-section::before,
.comparison-section::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(113, 140, 51, .22);
  border-radius: 50%;
}

.comparison-section::before {
  top: -160px;
  left: -120px;
  width: 360px;
  height: 360px;
}

.comparison-section::after {
  right: -90px;
  bottom: -170px;
  width: 340px;
  height: 340px;
}

.section-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #101654;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(58px, 7.6vw, 132px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .94;
  text-transform: uppercase;
}

.section-lead {
  position: relative;
  z-index: 1;
  margin: 22px auto 42px;
  font-size: clamp(20px, 1.8vw, 31px);
  line-height: 1.4;
}

.comparison {
  --position: 50%;
  position: relative;
  z-index: 2;
  width: min(100%, 1400px);
  aspect-ratio: 16 / 8.8;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(113, 140, 51, .55);
  border-radius: clamp(20px, 3vw, 44px);
  background: #ddd;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  isolation: isolate;
  touch-action: none;
}

.comparison img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.comparison-after {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--position));
  will-change: clip-path;
}

.comparison-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 4px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, .2);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

.comparison-range {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-label {
  position: absolute;
  z-index: 5;
  top: 24px;
  padding: 9px 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(14px, 1.3vw, 22px);
  font-weight: 800;
  line-height: 1;
}

.comparison-label.before { left: 24px; }
.comparison-label.after { right: 24px; }

.primary-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 300px;
  margin-top: 42px;
  padding: 18px 34px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(70, 90, 32, .22);
  transition: transform .25s var(--ease), background .25s ease, box-shadow .25s ease;
}

.primary-cta:hover {
  transform: translateY(-4px);
  background: #5e7927;
  box-shadow: 0 17px 30px rgba(70, 90, 32, .28);
}

.image-footer {
  background: var(--green-dark);
}

.footer-logo-hit {
  left: 33.5%;
  top: 8.5%;
  width: 33%;
  height: 39%;
}

.footer-phone-hit {
  left: 41%;
  top: 59%;
  width: 19%;
  height: 8%;
  border-radius: 8px;
}

.footer-email-hit {
  left: 41%;
  top: 67.5%;
  width: 27%;
  height: 9%;
}

.footer-email-visible {
  position: absolute;
  z-index: 6;
  top: 68.5%;
  left: 54%;
  color: #fff7e7;
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 1.8vw, 31px);
  line-height: 1;
  text-decoration: none;
}

.footer-phone-visible {
  position: absolute;
  z-index: 6;
  top: 60.9%;
  left: 45%;
  min-width: 18%;
  padding: .25em .35em;
  border-radius: 6px;
  background: #09271a;
  color: #fff7e7;
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 1.8vw, 31px);
  line-height: 1;
  text-align: left;
  text-decoration: none;
}

.footer-phone-visible:hover {
  text-decoration: underline;
}

.footer-email-visible:hover {
  text-decoration: underline;
}

.story-art + .wave {
  margin-top: clamp(-54px, -3vw, -30px);
}

.services-page-header {
  display: grid;
  min-height: 170px;
  padding: 20px;
  place-items: center;
  background: var(--green-dark);
}

.services-page-header a {
  display: grid;
  width: 250px;
  min-height: 112px;
  place-items: center;
}

.services-page-header img {
  width: 230px;
  height: 120px;
  object-fit: contain;
}

.art-page .page-logo-hit {
  z-index: 7;
}

.story-logo-hit {
  left: 41.7%;
  top: 3.8%;
  width: 15.4%;
  height: 19%;
}

.price-logo-hit {
  left: 40%;
  top: 7.6%;
  width: 19.5%;
  height: 21%;
}

.quote-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 5% 6%, rgba(113, 140, 51, .15), transparent 18%),
    radial-gradient(circle at 96% 25%, rgba(243, 109, 34, .1), transparent 17%),
    var(--cream);
}

.quote-header {
  position: relative;
  display: flex;
  min-height: 136px;
  padding: 24px 6vw;
  align-items: center;
  justify-content: space-between;
  background: var(--green-dark);
}

.quote-brand {
  display: grid;
  width: 220px;
  height: 94px;
  padding: 8px 18px;
  place-items: center;
  border-radius: 32% 38% 30% 36%;
  background: var(--green);
  transition: transform .25s var(--ease);
}

.quote-brand:hover {
  transform: rotate(-1deg) scale(1.025);
}

.quote-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-home {
  margin-right: 78px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: var(--cream);
  font-weight: 800;
  transition: background .2s ease;
}

.back-home:hover {
  background: rgba(255, 255, 255, .1);
}

.quote-main {
  padding: clamp(70px, 7vw, 120px) 6vw 110px;
}

.quote-intro {
  max-width: 1080px;
  margin: 0 auto 54px;
  text-align: center;
}

.quote-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(52px, 6.2vw, 104px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .96;
  text-transform: uppercase;
}

.quote-intro p {
  max-width: 760px;
  margin: 22px auto 0;
  color: #54536c;
  font-size: 21px;
  line-height: 1.55;
}

.quote-choices {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.quote-choice {
  position: relative;
  min-height: 250px;
  padding: 38px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.quote-choice::after {
  content: "→";
  position: absolute;
  right: 34px;
  bottom: 30px;
  font-size: 38px;
  font-weight: 900;
  transition: transform .3s var(--ease);
}

.quote-choice:hover,
.quote-choice.is-active {
  transform: translateY(-7px);
  border-color: var(--green);
  box-shadow: 0 24px 58px rgba(25, 29, 18, .2);
}

.quote-choice:hover::after,
.quote-choice.is-active::after {
  transform: translateX(8px);
}

.choice-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 20px;
  background: #eff3df;
  color: var(--green-dark);
  font-size: 31px;
}

.quote-choice:nth-child(2) .choice-icon {
  background: #fff0e5;
  color: var(--orange);
}

.quote-choice strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-choice span:last-of-type {
  display: block;
  max-width: 390px;
  color: #656477;
  font-size: 17px;
  line-height: 1.55;
}

.quote-panels {
  max-width: 920px;
  margin: 44px auto 0;
}

.quote-panel {
  display: none;
  padding: clamp(32px, 4vw, 58px);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-panel.is-active {
  display: block;
  animation: panelIn .55s var(--ease) both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.quote-panel h2 {
  margin: 0 0 32px;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 2px solid #e2ddcf;
  border-radius: 14px;
  outline: none;
  background: #fdfbf6;
  color: var(--ink);
  font-size: 17px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(113, 140, 51, .15);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: #bd2b2b;
  box-shadow: 0 0 0 4px rgba(189, 43, 43, .1);
}

.estimate-result,
.quote-preview {
  margin-top: 28px;
  padding: 24px;
  border: 2px solid rgba(113, 140, 51, .45);
  border-radius: 20px;
  background: #f3f7e6;
}

.estimate-result[hidden],
.quote-preview[hidden] {
  display: none;
}

.result-row {
  display: flex;
  padding: 9px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(7, 53, 37, .1);
}

.result-row strong {
  color: var(--green-dark);
}

.result-total {
  margin-top: 14px;
  padding: 17px 20px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.disclaimer {
  margin: 18px 0 0;
  color: #626454;
  font-size: 14px;
  line-height: 1.5;
}

.form-error {
  display: none;
  margin: 0 0 24px;
  padding: 14px 17px;
  border-left: 5px solid #bd2b2b;
  border-radius: 10px;
  background: #fff0f0;
  color: #8d1b1b;
  font-weight: 700;
}

.form-error.is-visible {
  display: block;
}

.whatsapp-button {
  display: inline-flex;
  width: 100%;
  min-height: 60px;
  margin-top: 24px;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  background: #20b95a;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  background: #169f49;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 769px) {
  /*
   * Version ordinateur alignée sur le langage mobile validé :
   * bandeaux francs, vagues sans raccord et mouvements très mesurés.
   */
  .home-page #accueil {
    isolation: isolate;
  }

  /* Les séparateurs organiques restent exclusivement réservés au mobile. */
  .wave {
    display: none !important;
  }

  /* Zones de clic recalées sur la nouvelle maquette hero 1672 × 941. */
  .hero-logo-hit {
    left: 41.2%;
    top: 5.3%;
    width: 19.2%;
    height: 20.5%;
  }

  .hero-menu-hit {
    right: 2.8%;
    top: 3.6%;
    width: 5.8%;
    height: 8.8%;
  }

  .hero-cta-hit {
    left: 39.5%;
    top: 85.2%;
    width: 23%;
    height: 10%;
  }

  /* Hitboxes du sommaire alignées sur chaque libellé, sans chevauchement. */
  .menu-link {
    left: 3.4%;
    width: 34.5%;
    height: 7.2%;
  }

  .menu-services { top: 32.2%; }
  .menu-story { top: 42.7%; }
  .menu-prices { top: 53.3%; }
  .menu-quote { top: 63.8%; }

  .menu-close-hit {
    right: -1.2%;
    top: 3.1%;
    width: 4.2%;
    height: 8.5%;
  }

  .home-page #accueil .art-image {
    transform-origin: 50% 48%;
    will-change: transform;
    animation: hero-desktop-breathe 18s cubic-bezier(.37, 0, .2, 1) infinite alternate;
  }

  .home-page #accueil::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -10%;
    background:
      radial-gradient(circle at 80% 28%, rgba(255, 220, 156, .11), transparent 27%),
      linear-gradient(112deg, transparent 35%, rgba(255, 248, 224, .07) 50%, transparent 65%);
    opacity: .34;
    transform: translate3d(-2.5%, 0, 0);
    pointer-events: none;
    will-change: transform, opacity;
    animation: hero-desktop-light 14s ease-in-out infinite alternate;
  }

  .service-slide:not([aria-hidden="true"]) > img {
    animation: service-desktop-enter .85s var(--ease) backwards;
  }

  .service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(14px, 1.05vw, 18px);
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: none;
    transition: transform .22s var(--ease), filter .22s ease;
  }

  .service-cta::after {
    content: "CRÉER UN DEVIS";
  }

  .service-slide:nth-child(2) .service-cta {
    background: #55a5dd;
  }

  .service-slide:nth-child(3) .service-cta {
    background: #f5b82e;
  }

  .service-cta:hover {
    transform: translateY(-3px);
    filter: brightness(1.04);
  }

  /* Les nouvelles maquettes n'intègrent pas de commandes : elles sont réelles
     et accessibles dans la zone libre inférieure du visuel. */
  .carousel-prev,
  .carousel-next {
    top: auto;
    bottom: 4.3%;
    display: grid;
    width: clamp(46px, 3.6vw, 62px);
    height: clamp(46px, 3.6vw, 62px);
    aspect-ratio: auto;
    place-items: center;
    border: 2px solid rgba(50, 16, 63, .65);
    background: rgba(253, 247, 230, .88);
    color: var(--purple);
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1;
    box-shadow: 0 10px 28px rgba(50, 16, 63, .12);
    backdrop-filter: blur(8px);
  }

  .carousel-prev { left: 32.5%; }
  .carousel-next { right: 32.5%; }
  .carousel-prev::after { content: "←"; }
  .carousel-next::after { content: "→"; }

  .service-dots {
    top: auto;
    bottom: 4.4%;
    left: 50%;
    width: auto;
    min-width: 126px;
    height: clamp(46px, 3.6vw, 62px);
    padding: 0 20px;
    gap: 14px;
    transform: translateX(-50%);
    background: rgba(253, 247, 230, .88);
    box-shadow: 0 10px 28px rgba(50, 16, 63, .1);
    backdrop-filter: blur(8px);
  }

  .service-dot {
    width: clamp(13px, 1.05vw, 18px);
  }

  /* Le nouveau footer contient déjà son texte : seules les grandes zones
     transparentes restent au-dessus du visuel. */
  .footer-logo-hit {
    left: 34%;
    top: 8.5%;
    width: 33%;
    height: 39%;
  }

  .footer-phone-hit {
    left: 34.5%;
    top: 59%;
    width: 31%;
    height: 10%;
  }

  .footer-email-hit {
    left: 29%;
    top: 68.8%;
    width: 43%;
    height: 10%;
  }

  .footer-phone-visible,
  .footer-email-visible {
    display: none !important;
  }

  .desktop-page-band {
    position: relative;
    z-index: 20;
    display: grid;
    min-height: 170px;
    padding: 20px;
    place-items: center;
  }

  .desktop-page-band a {
    display: grid;
    width: 250px;
    min-height: 112px;
    place-items: center;
    transition: transform .28s var(--ease);
  }

  .desktop-page-band a:hover {
    transform: translateY(-3px) scale(1.025);
  }

  .desktop-page-band img {
    width: 230px;
    height: 120px;
    object-fit: contain;
    animation: desktop-brand-enter .75s var(--ease) both;
  }

  .desktop-story-band {
    background: var(--ink);
  }

  .story-page .page-menu-trigger {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(14, 17, 63, .55);
  }

  .story-page .page-menu-trigger span {
    background: var(--cream);
  }

  .story-page .story-art-intro .art-image {
    margin-top: -140px;
  }

  .story-page .story-logo-hit {
    display: none;
  }

  .quote-page .quote-header {
    min-height: 170px;
    padding: 20px 90px;
    justify-content: center;
    background: var(--orange);
  }

  .quote-page .quote-brand {
    position: relative;
    width: 250px;
    height: 120px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: desktop-brand-enter .75s var(--ease) both;
  }

  .quote-page .quote-brand img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .quote-page .quote-brand:hover {
    transform: translateY(-3px) scale(1.025);
  }

  .quote-page .page-menu-trigger {
    background: rgba(120, 49, 9, .32);
  }

  .price-page .desktop-price::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .09), transparent 23%);
    opacity: .45;
    transform: translate3d(-2%, 0, 0);
    pointer-events: none;
    animation: desktop-ambient-light 12s ease-in-out infinite alternate;
  }

  .wave {
    --wave-before: var(--cream);
    --wave-after: var(--green-dark);
    margin-top: -2px;
    margin-bottom: -2px;
    background: var(--wave-before) !important;
  }

  .wave path {
    fill: var(--wave-after);
  }

  .wave::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 4px;
    background: var(--wave-after);
    pointer-events: none;
  }

  .home-page main > .wave:first-child {
    --wave-before: var(--cream);
    --wave-after: var(--cream);
  }

  .home-page .services-carousel + .wave {
    --wave-before: var(--cream);
    --wave-after: #88a64e;
  }

  .home-page .price-home + .wave {
    --wave-before: #88a64e;
    --wave-after: var(--cream);
  }

  .home-page main + .wave,
  .services-page main + .wave,
  .quote-page .quote-main + .wave {
    --wave-before: var(--cream);
    --wave-after: var(--green-dark);
  }

  .price-page main + .wave {
    --wave-before: #88a64e;
    --wave-after: var(--green-dark);
  }

  .story-page .story-art + .wave {
    --wave-before: var(--cream);
    --wave-after: #fbf6ec;
  }

  .story-page main + .wave {
    --wave-before: #fbf6ec;
    --wave-after: var(--green-dark);
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  body {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  body {
    min-width: 0;
    font-size: 16px;
  }

  .skip-link {
    font-size: 14px;
  }

  .wave {
    height: 34px;
  }

  /* Hero portrait : visuel mobile fourni, sans recomposition */
  #accueil {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1045 / 1505;
    background: #182013;
    isolation: isolate;
  }

  #accueil .art-image {
    width: 100%;
    height: 100%;
    content: url("assets/hero-mobile-exterieur-hq.png?v=1");
    object-fit: contain;
    filter: brightness(1.065) saturate(1.015);
    transform: translateY(-8px);
    transform-origin: 50% 48%;
    will-change: transform;
    animation: hero-mobile-breathe 16s cubic-bezier(.37, 0, .2, 1) infinite alternate;
  }

  .home-page #accueil::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -12%;
    background:
      radial-gradient(circle at 78% 30%, rgba(255, 218, 155, .14), transparent 28%),
      linear-gradient(112deg, transparent 34%, rgba(255, 248, 224, .08) 50%, transparent 66%);
    opacity: .44;
    transform: translate3d(-3%, 0, 0);
    pointer-events: none;
    will-change: transform, opacity;
    animation: hero-mobile-light 12s ease-in-out infinite alternate;
  }

  .hero-logo-hit {
    left: 28%;
    top: 1%;
    width: 44%;
    height: 18%;
    min-height: 80px;
  }

  .hero-menu-hit {
    top: 2.5%;
    right: 2%;
    width: 16%;
    height: 11%;
    min-width: 54px;
    min-height: 54px;
  }

  .hero-cta-hit {
    left: 21%;
    top: calc(85.5% - 8px);
    width: 58%;
    height: 12%;
    min-height: 52px;
  }

  .home-page main > .wave:first-child {
    display: none;
  }

  .home-page #accueil::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: -1px;
    bottom: -1px;
    left: -1px;
    height: 6%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fdf7e6' d='M0 35C165 66 310 59 465 37C600 18 704 55 833 68C910 76 963 54 1000 32V100H0Z'/%3E%3C/svg%3E")
      center bottom / 100% 100% no-repeat;
    clip-path: none;
    pointer-events: none;
  }

  /* Sommaire plein écran */
  .menu-overlay {
    display: block;
    padding: 0;
    background:
      radial-gradient(circle at 86% 87%, rgba(243, 109, 34, .14), transparent 24%),
      radial-gradient(circle at 15% 12%, rgba(255, 255, 255, .08), transparent 22%),
      #6d813c;
    clip-path: circle(0 at calc(100% - 38px) 38px);
  }

  .menu-overlay.is-open {
    clip-path: circle(160% at calc(100% - 38px) 38px);
  }

  .menu-art {
    display: none;
  }

  .menu-logo-hit {
    top: max(24px, env(safe-area-inset-top));
    left: 50%;
    width: 190px;
    height: 112px;
    min-height: 80px;
    transform: translateX(-50%);
    background: url("assets/logo-cleani.png") center / contain no-repeat;
  }

  .menu-close-hit {
    top: max(18px, env(safe-area-inset-top));
    right: 15px;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
  }

  .menu-close-hit::before,
  .menu-close-hit::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 13px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--cream);
  }

  .menu-close-hit::before { transform: rotate(45deg); }
  .menu-close-hit::after { transform: rotate(-45deg); }

  .menu-overlay nav {
    position: absolute;
    top: 27%;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 8px;
  }

  .menu-link {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 68px;
    padding: 14px 8px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
    border-radius: 0;
    color: var(--cream);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(24px, 7vw, 32px);
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
  }

  .menu-link::after {
    content: "→";
    margin-left: auto;
    padding-left: 16px;
    font-size: 24px;
  }

  .menu-link .sr-only {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }

  .page-menu-trigger {
    top: max(15px, env(safe-area-inset-top));
    right: 14px;
    width: 50px;
    height: 48px;
    padding: 9px;
    gap: 5px;
    border-radius: 13px;
  }

  .page-menu-trigger span {
    width: 25px;
  }

  /* Services : même contenu, réorganisé verticalement */
  .services-carousel {
    background: var(--cream);
  }

  .services-track {
    align-items: stretch;
  }

  .service-slide {
    min-height: 675px;
    padding: 18px 18px 104px;
    background:
      radial-gradient(circle at 100% 100%, rgba(113, 140, 51, .14), transparent 30%),
      var(--cream);
  }

  .service-slide > img,
  .service-slide > .service-cta {
    display: none;
  }

  .mobile-service-card {
    display: block;
    max-width: 430px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, .54);
    box-shadow: 0 16px 38px rgba(37, 27, 26, .1);
    transform-origin: 50% 70%;
  }

  .mobile-service-photo {
    height: 235px;
    border-radius: 28px 28px 18px 18px;
    background-repeat: no-repeat;
    background-position: left -18px;
    background-size: 180% auto;
    will-change: background-position, background-size;
  }

  .service-slide:not([aria-hidden="true"]) .mobile-service-card {
    animation: service-card-enter .72s var(--ease) backwards;
  }

  .service-slide:not([aria-hidden="true"]) .mobile-service-photo {
    animation: service-photo-breathe 9s ease-in-out infinite alternate;
  }

  .service-slide:not([aria-hidden="true"]) .mobile-service-copy h2,
  .service-slide:not([aria-hidden="true"]) .mobile-service-stroke,
  .service-slide:not([aria-hidden="true"]) .mobile-service-copy p,
  .service-slide:not([aria-hidden="true"]) .mobile-service-copy a {
    animation: service-copy-enter .55s var(--ease) backwards;
  }

  .service-slide:not([aria-hidden="true"]) .mobile-service-stroke {
    animation-name: service-stroke-enter;
  }

  .service-slide:not([aria-hidden="true"]) .mobile-service-stroke { animation-delay: .07s; }
  .service-slide:not([aria-hidden="true"]) .mobile-service-copy p { animation-delay: .12s; }
  .service-slide:not([aria-hidden="true"]) .mobile-service-copy a { animation-delay: .18s; }

  .mobile-service-terrasses .mobile-service-photo { background-image: url("assets/service-terrasses.png"); }
  .mobile-service-balcons .mobile-service-photo { background-image: url("assets/service-balcons.png"); }
  .mobile-service-allees .mobile-service-photo { background-image: url("assets/service-allees.png"); }

  .mobile-service-copy {
    padding: 26px 24px 30px;
  }

  .mobile-service-copy h2 {
    margin: 0;
    color: var(--purple);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(40px, 12vw, 56px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .94;
    text-transform: uppercase;
  }

  .mobile-service-stroke {
    display: block;
    width: 92px;
    height: 5px;
    margin: 17px 0 19px;
    border-radius: 99px;
    background: var(--orange);
    transform: rotate(-2deg);
  }

  .mobile-service-copy p {
    min-height: 72px;
    margin: 0 0 23px;
    color: #321c3d;
    font-size: 17px;
    line-height: 1.48;
  }

  .mobile-service-copy a {
    display: inline-flex;
    min-width: 190px;
    min-height: 50px;
    padding: 12px 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .mobile-service-copy a:active,
  .primary-cta:active,
  .quote-choice:active,
  .whatsapp-button:active,
  .form-button:active {
    transform: scale(.975);
  }

  .mobile-service-balcons .mobile-service-copy a { background: #55a5dd; }
  .mobile-service-allees .mobile-service-copy a { background: #f5b82e; }

  .carousel-prev,
  .carousel-next {
    top: auto;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(50, 16, 63, .62);
    background: var(--cream);
    color: var(--purple);
    font-size: 0;
  }

  .carousel-prev {
    left: 20px;
  }

  .carousel-next {
    right: 20px;
  }

  .carousel-prev::before,
  .carousel-next::before {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-size: 25px;
    font-weight: 900;
  }

  .carousel-prev::before { content: "←"; }
  .carousel-next::before { content: "→"; }

  .service-dots {
    top: auto;
    bottom: 29px;
    left: 50%;
    width: auto;
    height: 46px;
    padding: 0;
    gap: 0;
    transform: translateX(-50%);
    background: transparent;
  }

  .service-dot {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
  }

  .service-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    background: #e7d8bd;
    transition: transform .25s var(--ease), background .25s ease;
  }

  .service-dot.is-active {
    transform: none;
    background: transparent;
  }

  .service-dot.is-active::before {
    transform: translate(-50%, -50%) scale(1.18);
    background: var(--purple);
  }

  /* Prix : cartes lisibles à la verticale */
  .price-home {
    padding: 34px 18px 46px;
    background: #88a64e;
  }

  .price-home > img {
    display: none;
  }

  .mobile-price-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    gap: 16px;
  }

  .mobile-price-grid article {
    padding: 24px 18px;
    border-radius: 24px;
    background: var(--cream);
    color: var(--purple);
    text-align: center;
    box-shadow: 0 12px 28px rgba(34, 43, 15, .14);
  }

  .price-home.is-visible .mobile-price-grid article {
    animation: mobile-card-rise .62s var(--ease) backwards;
  }

  .price-home.is-visible .mobile-price-grid article:nth-child(2) { animation-delay: .09s; }
  .price-home.is-visible .mobile-price-grid article:nth-child(3) { animation-delay: .18s; }

  .price-house {
    display: block;
    height: 44px;
    color: var(--purple);
    font-size: 48px;
    line-height: .8;
  }

  .mobile-price-grid h2 {
    margin: 12px 0 6px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.04em;
    text-transform: uppercase;
  }

  .mobile-price-grid strong {
    display: block;
    font-size: 20px;
  }

  .mobile-price-grid p {
    margin: 4px 0 0;
    font-size: 15px;
  }

  /* Comparateur tactile */
  .comparison-section {
    padding: 62px 16px 70px;
    background:
      linear-gradient(to bottom, var(--cream) 0 28px, rgba(253, 247, 230, 0) 105px),
      radial-gradient(circle at 4% 4%, rgba(113, 140, 51, .2), transparent 17%),
      radial-gradient(circle at 96% 7%, rgba(113, 140, 51, .13), transparent 16%),
      var(--cream);
  }

  .section-title {
    font-size: clamp(39px, 11vw, 52px);
    letter-spacing: -.055em;
    line-height: 1;
  }

  .section-lead {
    margin: 15px auto 28px;
    font-size: 17px;
    line-height: 1.45;
  }

  .comparison {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    touch-action: pan-y;
  }

  .comparison img {
    object-position: 53% center;
  }

  .comparison-label {
    top: 14px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .comparison-label.before { left: 14px; }
  .comparison-label.after { right: 14px; }

  .comparison-divider {
    width: 4px;
  }

  .comparison-handle {
    width: 58px;
    height: 58px;
    font-size: 21px;
  }

  .primary-cta {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin-top: 28px;
    padding: 15px 20px;
    font-size: 15px;
  }

  .comparison-section.is-visible .section-title,
  .comparison-section.is-visible .section-lead,
  .comparison-section.is-visible .comparison,
  .comparison-section.is-visible .primary-cta {
    animation: mobile-card-rise .65s var(--ease) backwards;
  }

  .comparison-section.is-visible .section-lead { animation-delay: .07s; }
  .comparison-section.is-visible .comparison { animation-delay: .14s; }
  .comparison-section.is-visible .primary-cta { animation-delay: .21s; }

  .comparison-section.is-visible .comparison-handle {
    animation: comparison-hint 1.8s ease-in-out 1.05s 2;
  }

  /* Footer mobile codé pour conserver la lisibilité */
  .image-footer {
    min-height: 440px;
    padding: 54px 22px 42px;
    background:
      radial-gradient(circle at 15% 90%, rgba(113, 140, 51, .16), transparent 30%),
      var(--green-dark);
    line-height: normal;
  }

  .image-footer > .art-image,
  .footer-logo-hit,
  .footer-phone-hit,
  .footer-email-hit,
  .footer-phone-visible,
  .footer-email-visible {
    display: none;
  }

  .mobile-footer-content {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    color: var(--cream);
    text-align: center;
  }

  .mobile-footer-logo {
    display: grid;
    width: 205px;
    min-height: 92px;
    margin-bottom: 10px;
    place-items: center;
  }

  .mobile-footer-logo img {
    width: 100%;
    height: 112px;
    object-fit: contain;
  }

  .mobile-footer-content h2 {
    margin: 0 0 18px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
  }

  .mobile-footer-content > a:not(.mobile-footer-logo) {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: var(--cream);
    font-size: 18px;
    font-weight: 700;
  }

  .mobile-footer-content p {
    margin: 24px 0 0;
    color: rgba(253, 247, 230, .72);
    font-size: 13px;
    line-height: 1.7;
  }

  /* Histoire mobile : textes et photos réorganisés sans changement de contenu */
  .desktop-story {
    display: none;
  }

  .mobile-story {
    display: block;
    padding: 24px 18px 60px;
    background: var(--cream);
  }

  .mobile-page-brand {
    display: grid;
    width: 170px;
    min-height: 86px;
    margin: 0 auto 28px;
    place-items: center;
    border-radius: 30% 38% 32% 37%;
    background: var(--green);
  }

  .mobile-page-brand img {
    width: 150px;
    height: 92px;
    object-fit: contain;
  }

  /* En-tête Histoire : bande bleu nuit fournie, logo centré comme Services */
  .story-page .mobile-story {
    padding-top: 0;
  }

  .story-page .mobile-page-brand {
    width: calc(100% + 36px);
    min-height: 128px;
    margin: 0 -18px 28px;
    border-radius: 0;
    background: var(--ink);
    box-shadow: none;
  }

  .story-page .mobile-page-brand img {
    width: 180px;
    height: 102px;
  }

  /* Logo Prix : le mot-symbole repose directement sur le fond vert */
  .price-page .mobile-page-brand {
    background: transparent;
    box-shadow: none;
  }

  .mobile-story-intro,
  .mobile-story-chapter {
    max-width: 430px;
    margin: 0 auto;
  }

  .mobile-story-intro h1 {
    margin: 0 0 24px;
    color: var(--ink);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(55px, 17vw, 72px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .85;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-story-photo {
    width: 100%;
    border-radius: 28px;
    background-repeat: no-repeat;
    box-shadow: var(--shadow);
  }

  .mobile-story-photo-friends {
    display: block;
    height: auto;
    border-radius: 0;
    background: none;
    object-fit: contain;
  }

  .mobile-story-intro > p {
    margin: 24px 4px 58px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
  }

  .mobile-story-intro > p strong {
    color: var(--orange);
  }

  .mobile-story-chapter {
    margin-bottom: 54px;
  }

  .mobile-story-photo-child-one,
  .mobile-story-photo-child-two {
    width: min(82%, 320px);
    height: 350px;
    margin-bottom: 25px;
    background-image: url("assets/histoire-2.png");
    background-size: 460% auto;
  }

  .mobile-story-photo-child-one {
    margin-right: auto;
    background-position: 17% top;
  }

  .mobile-story-photo-child-two {
    margin-left: auto;
    background-position: 81% 92%;
  }

  .mobile-story-chapter h2 {
    margin: 0 0 18px;
    color: #0b2762;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.03;
    text-transform: uppercase;
  }

  .mobile-story-chapter p {
    margin: 0 0 16px;
    color: #122862;
    font-size: 16px;
    line-height: 1.55;
  }

  /* Page prix mobile */
  .desktop-price {
    display: none;
  }

  .mobile-price-page {
    display: block;
    min-height: 100svh;
    padding: 24px 18px 58px;
    background:
      radial-gradient(circle at 95% 8%, rgba(255, 255, 255, .12), transparent 21%),
      #88a64e;
  }

  .mobile-price-page .mobile-page-brand {
    margin-bottom: 30px;
  }

  /* Devis mobile */
  .quote-header {
    min-height: 100px;
    padding: 14px 76px 14px 14px;
  }

  .quote-page .page-menu-trigger {
    position: absolute;
  }

  .quote-page .back-home {
    display: none;
  }

  .quote-page .quote-header {
    min-height: 128px;
    justify-content: center;
    padding: 0 76px;
    background: var(--orange);
  }

  .quote-page .quote-brand {
    width: 180px;
    height: 102px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .quote-page .page-menu-trigger {
    display: grid;
  }

  /*
   * Transitions mobiles : chaque vague connaît la couleur de la section
   * qu'elle quitte et celle de la section qui arrive.
   */
  .wave {
    --wave-before: var(--cream);
    --wave-after: var(--green-dark);
    background: var(--wave-before) !important;
  }

  .wave path {
    fill: var(--wave-after);
  }

  .wave::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -34px;
    left: 0;
    height: 36px;
    background: linear-gradient(
      to bottom,
      var(--wave-after) 0 5px,
      transparent 100%
    );
    pointer-events: none;
  }

  .home-page .services-carousel + .wave {
    --wave-before: transparent;
    --wave-after: #88a64e;
    margin-top: -34px;
  }

  .home-page .services-carousel + .wave svg {
    transform: none;
  }

  /*
   * Les deux jonctions signalées restent en couleur pleine :
   * aucun voile semi-transparent ne peut altérer leur teinte.
   */
  .home-page .services-carousel + .wave::after,
  .services-page .services-footer-wave::after {
    display: none;
  }

  /*
   * Le fond des sections adjacentes ne doit jamais devenir transparent
   * pendant l'animation d'apparition, sinon la vague change brièvement
   * de teinte au scroll.
   */
  .home-page .price-home.reveal,
  .services-page .services-carousel.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-page .price-home + .wave {
    --wave-before: #88a64e;
    --wave-after: var(--cream);
  }

  .home-page main + .wave,
  .story-page main + .wave,
  .quote-page .quote-main + .wave,
  .services-page main + .wave {
    --wave-before: var(--cream);
    --wave-after: var(--green-dark);
  }

  .price-page main + .wave {
    --wave-before: #88a64e;
    --wave-after: var(--green-dark);
  }

  .services-page main + .services-footer-wave {
    --wave-before: transparent;
    --wave-after: var(--green-dark);
    margin-top: -34px;
  }

  .services-page-header {
    min-height: 132px;
    padding: 16px;
  }

  .services-page-header a {
    width: 190px;
    min-height: 96px;
  }

  .services-page-header img {
    width: 180px;
    height: 100px;
  }

  .quote-brand {
    width: 132px;
    height: 72px;
    padding: 4px 10px;
    border-radius: 24px;
  }

  .back-home {
    display: grid;
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin: 0;
    padding: 0;
    place-items: center;
    overflow: hidden;
    font-size: 0;
  }

  .back-home::before {
    content: "←";
    font-size: 22px;
  }

  .quote-main {
    padding: 38px 16px 74px;
  }

  .quote-intro {
    margin-bottom: 24px;
  }

  .quote-intro h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: .95;
  }

  .quote-intro p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.42;
  }

  .quote-choices {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quote-choice {
    min-height: 174px;
    padding: 21px 22px 50px;
    border-radius: 24px;
  }

  .choice-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 17px;
    font-size: 26px;
  }

  .quote-choice strong {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .quote-choice span:last-of-type {
    font-size: 14px;
  }

  .quote-choice::after {
    right: 24px;
    bottom: 18px;
  }

  .quote-panels {
    margin-top: 26px;
    scroll-margin-top: 18px;
  }

  .quote-panel {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .quote-panel h2 {
    margin-bottom: 25px;
    font-size: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .field.full {
    grid-column: auto;
  }

  .field input,
  .field select {
    min-height: 56px;
    font-size: 16px;
  }

  .estimate-result,
  .quote-preview {
    margin-top: 22px;
    padding: 18px 15px;
  }

  .result-row {
    align-items: flex-start;
    font-size: 15px;
  }

  .result-total {
    align-items: center;
    font-size: 18px;
  }

  .whatsapp-button {
    min-height: 62px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.3;
  }

  .reveal {
    transform: translateY(18px);
    transition-duration: .55s;
  }
}

@keyframes hero-desktop-breathe {
  0% {
    transform: scale(1.001) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.014) translate3d(-.2%, -.16%, 0);
  }
}

@keyframes hero-desktop-light {
  0% {
    opacity: .23;
    transform: translate3d(-2.5%, 0, 0);
  }
  100% {
    opacity: .42;
    transform: translate3d(2.5%, -.8%, 0);
  }
}

@keyframes service-desktop-enter {
  0% {
    opacity: .78;
    transform: scale(1.008);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes desktop-brand-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(.97);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes desktop-ambient-light {
  0% {
    opacity: .3;
    transform: translate3d(-2%, 0, 0);
  }
  100% {
    opacity: .55;
    transform: translate3d(2%, 0, 0);
  }
}

@keyframes hero-mobile-breathe {
  0% {
    transform: scale(1.002) translate3d(0, -8px, 0);
  }
  100% {
    transform: scale(1.018) translate3d(-1px, -9px, 0);
  }
}

@keyframes hero-mobile-light {
  0% {
    opacity: .28;
    transform: translate3d(-3%, 0, 0);
  }
  100% {
    opacity: .5;
    transform: translate3d(3%, -1%, 0);
  }
}

@keyframes service-card-enter {
  0% {
    opacity: .72;
    transform: translate3d(0, 14px, 0) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes service-photo-breathe {
  0% {
    background-position: 0 -18px;
    background-size: 180% auto;
  }
  100% {
    background-position: -10px -23px;
    background-size: 187% auto;
  }
}

@keyframes service-copy-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes service-stroke-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
}

@keyframes mobile-card-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes comparison-hint {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 6px 18px rgba(27, 25, 71, .24);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 8px 25px rgba(27, 25, 71, .34);
  }
}

@media (max-width: 380px) {
  .service-slide {
    min-height: 660px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .mobile-service-photo {
    height: 218px;
  }

  .mobile-service-copy {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mobile-service-copy p {
    font-size: 16px;
  }

  .menu-overlay nav {
    top: 25%;
  }

  .menu-link {
    min-height: 62px;
    font-size: 23px;
  }

  .quote-header {
    padding-left: 10px;
  }

  .quote-brand {
    width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  #accueil .art-image,
  .home-page #accueil::before,
  .service-slide > img,
  .desktop-page-band img,
  .quote-page .quote-brand,
  .price-page .desktop-price::after,
  .service-slide .mobile-service-card,
  .service-slide .mobile-service-photo,
  .service-slide .mobile-service-copy h2,
  .service-slide .mobile-service-stroke,
  .service-slide .mobile-service-copy p,
  .service-slide .mobile-service-copy a,
  .price-home .mobile-price-grid article,
  .comparison-section .section-title,
  .comparison-section .section-lead,
  .comparison-section .comparison,
  .comparison-section .primary-cta,
  .comparison-section .comparison-handle {
    animation: none !important;
  }
}
