/* ==========================================================================
   Page templates & shared blocks (replacement of Elementor sections)
   ========================================================================== */

.ma-page {
  --ma-p: var(--ma-primary, #1e6a29);
  --ma-d: var(--ma-secondary, #133c19);
  --ma-t: #3a3a3a;
  --ma-m: var(--ma-text, #717171);
  --ma-s: #f4f7f4;
  --ma-b: #d9e5dc;
  --ma-r: 18px;
  --ma-serif: "Cormorant Garamond", Georgia, serif;
  --ma-shadow: 0 24px 50px rgba(19, 60, 25, 0.1);
  color: var(--ma-t);
  background: #fff;
  overflow-x: clip;
}

.ma-wrap {
  width: min(var(--ma-container, 1200px), calc(100% - 2rem));
  margin: 0 auto;
}

.ma-section {
  padding: 4.5rem 0;
}

.ma-section + .ma-section {
  padding-top: 0;
}

/* Une section qui suit un bandeau coloré retrouve son espace du haut */
.ma-counters + .ma-section,
.ma-steps + .ma-section,
.ma-cta + .ma-section,
.ma-signature + .ma-section,
.ma-reviews + .ma-section,
.ma-merci-next + .ma-section,
.ma-pro + .ma-section {
  padding-top: 4.5rem;
}

.ma-section__head {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.ma-section__head--center {
  text-align: center;
}

.ma-section__head--left {
  margin-left: 0;
}

.ma-section__title {
  margin: 0 0 0.6rem;
  font-family: var(--ma-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ma-d);
}

.ma-section__text {
  margin: 0;
  color: var(--ma-m);
  line-height: 1.65;
}

.ma-section__foot {
  margin-top: 2rem;
  text-align: center;
}

.ma-eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--ma-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ma-p);
}

.ma-eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.ma-empty {
  text-align: center;
  color: var(--ma-m);
  padding: 2rem;
  background: var(--ma-s);
  border-radius: 12px;
}

/* Reveal */

.ma-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.ma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ma-btn:hover,
.ma-btn:focus {
  transform: translateY(-1px);
}

/* Les liens .ma-btn doivent gagner sur la règle globale a:not(.button):hover */
a.ma-btn--primary:hover,
a.ma-btn--primary:focus,
a.ma-btn--ghost:hover,
a.ma-btn--ghost:focus {
  color: #fff;
}

a.ma-btn--outline:hover,
a.ma-btn--outline:focus {
  color: var(--ma-p);
}

a.ma-btn--white:hover,
a.ma-btn--white:focus {
  color: var(--ma-d);
}

.ma-btn--primary {
  background: var(--ma-p);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 106, 41, 0.28);
}

.ma-btn--primary:hover,
.ma-btn--primary:focus {
  background: var(--ma-d);
  color: #fff;
}

.ma-btn--outline {
  background: #fff;
  color: var(--ma-d);
  border-color: var(--ma-b);
}

.ma-btn--outline:hover,
.ma-btn--outline:focus {
  border-color: var(--ma-p);
  color: var(--ma-p);
}

.ma-btn--white {
  background: #fff;
  color: var(--ma-d);
  border-color: #fff;
}

.ma-btn--white:hover,
.ma-btn--white:focus {
  background: #eef5ef;
  color: var(--ma-d);
}

.ma-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.ma-btn--ghost:hover,
.ma-btn--ghost:focus {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.ma-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ma-actions--center {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.ma-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(400px, 55vh, 600px);
  display: grid;
  place-items: center;
  padding: 5rem 1.25rem 4.5rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(19, 60, 25, 0.8) 0%, rgba(19, 60, 25, 0.55) 45%, rgba(19, 60, 25, 0.92) 100%),
    var(--ma-hero-photo, linear-gradient(135deg, #133c19, #1e6a29)) center 40% / cover no-repeat;
}

.ma-hero--compact {
  min-height: clamp(280px, 36vh, 400px);
  padding: 4rem 1.25rem 3.5rem;
}

/* Photo par défaut en filigrane (pages sans image mise en avant) */
.ma-hero--watermark {
  background:
    linear-gradient(120deg, rgba(19, 60, 25, 0.94) 0%, rgba(30, 106, 41, 0.86) 100%),
    var(--ma-hero-photo) center 45% / cover no-repeat;
}

.ma-hero--watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ma-hero-photo) center 45% / cover no-repeat;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: soft-light;
  opacity: 0.55;
  pointer-events: none;
}

.ma-hero--left {
  place-items: center start;
}

.ma-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ma-hero--left .ma-hero__inner {
  margin: 0;
  text-align: left;
}

.ma-hero__title {
  margin: 0 0 1rem;
  font-family: var(--ma-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.ma-hero--compact .ma-hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.ma-hero__text {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.6;
}

.ma-hero__text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.6rem;
}

.ma-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.ma-hero--left .ma-hero__actions {
  justify-content: flex-start;
}

/* Hero Service : silhouettes détourées (Cécile & Julien) */
.ma-hero--figures {
  overflow: hidden;
  min-height: clamp(460px, 60vh, 640px);
  padding-bottom: 6rem;
}

.ma-hero--figures {
  place-items: center;
}

.ma-hero--figures .ma-hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--ma-container, 1200px), 100%);
  max-width: none;
  margin: 0 auto;
  padding-right: clamp(0px, 42%, 560px);
  text-align: left;
}

.ma-hero--figures .ma-hero__text {
  margin: 0;
}

.ma-hero--figures .ma-hero__actions {
  justify-content: flex-start;
}

.ma-hero--figures .ma-hero__title {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.ma-hero__figures {
  position: absolute;
  right: clamp(16px, 7vw, 140px);
  top: 2rem;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.ma-hero__figure {
  display: block;
  width: auto;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  animation: ma-figure-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ma-hero__figure--left {
  margin-right: -6%;
  z-index: 2;
  animation-delay: 0.1s;
}

.ma-hero__figure--right {
  --ma-figure-x: 40px;
}

.ma-hero__figure--left {
  --ma-figure-x: -40px;
}

@keyframes ma-figure-in {
  from {
    opacity: 0;
    transform: translateX(var(--ma-figure-x, 0));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-hero__figure {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Forms (devis / pro)
   -------------------------------------------------------------------------- */

.ma-quote {
  position: relative;
  z-index: 1;
}

.ma-quote--band {
  padding: 0 0 4.5rem;
  margin-top: -3.25rem;
}

.ma-quote__card,
.ma-pro__step--form {
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
  padding: 1.9rem 2rem;
  box-shadow: var(--ma-shadow);
}

.ma-quote__head {
  margin-bottom: 1.25rem;
}

.ma-quote__title {
  margin: 0;
  font-family: var(--ma-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ma-d);
}

.ma-quote__text {
  margin: 0.3rem 0 0;
  color: var(--ma-m);
}

.ma-form {
  display: grid;
  gap: 1rem;
}

.ma-form__grid {
  display: grid;
  gap: 1rem;
}

.ma-form__grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ma-form__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ma-form__field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.ma-form__field--full {
  grid-column: 1 / -1;
}

.ma-form__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ma-d);
}

.ma-form__field input,
.ma-form__field select,
.ma-form__field textarea {
  width: 100%;
  border: 1px solid #c9d8cd;
  border-radius: 10px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: #2a2a2a;
  background: #fbfcfb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ma-form__field input[type="file"] {
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
}

.ma-form__field select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6a29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
}

.ma-form__field textarea {
  resize: vertical;
}

.ma-form__field input:focus,
.ma-form__field select:focus,
.ma-form__field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--ma-p);
  box-shadow: 0 0 0 3px rgba(30, 106, 41, 0.15);
}

.ma-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.ma-form__legal {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ma-m);
}

.ma-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ma-notice {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-weight: 500;
}

.ma-notice--success {
  background: #e8f5eb;
  color: #1e6a29;
  border: 1px solid #b7d9be;
}

.ma-notice--error {
  background: #fdeeee;
  color: #8a1f1f;
  border: 1px solid #f0c2c2;
}

/* --------------------------------------------------------------------------
   About / USP
   -------------------------------------------------------------------------- */

.ma-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.ma-about__media img,
.ma-video {
  width: 100%;
  border-radius: var(--ma-r);
  box-shadow: var(--ma-shadow);
  display: block;
  object-fit: cover;
}

.ma-about__media img {
  aspect-ratio: 4 / 3;
}

.ma-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ma-d);
}

.ma-video iframe,
.ma-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ma-video--wide {
  max-width: 900px;
  margin: 0 auto;
}

.ma-about__body .ma-section__title {
  margin-bottom: 1.25rem;
}

.ma-about__body p {
  color: var(--ma-m);
  line-height: 1.65;
}

.ma-about__address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-weight: 500;
  color: var(--ma-d) !important;
}

.ma-about__address svg {
  width: 18px;
  height: 18px;
  color: var(--ma-p);
}

.ma-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ma-checklist--2col {
  grid-template-columns: 1fr 1fr;
}

.ma-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.ma-checklist svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #e8f2ea;
  color: var(--ma-p);
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Counters
   -------------------------------------------------------------------------- */

.ma-counters {
  padding: 3.5rem 0;
  background: linear-gradient(120deg, var(--ma-d), var(--ma-p));
  color: #fff;
}

.ma-section + .ma-counters {
  padding-top: 3.5rem;
}

.ma-counters__title {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--ma-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
}

.ma-counters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.ma-counter__value {
  display: block;
  font-family: var(--ma-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.ma-counter__value small {
  font-size: 0.5em;
  margin-left: 0.1em;
  opacity: 0.85;
}

.ma-counter__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Cards (services, posts, icon cards)
   -------------------------------------------------------------------------- */

.ma-cards {
  display: grid;
  gap: 1.5rem;
}

.ma-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ma-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ma-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
  overflow: hidden;
  color: var(--ma-t);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(19, 60, 25, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ma-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ma-shadow);
  color: var(--ma-t);
}

.ma-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ma-s);
  overflow: hidden;
}

.ma-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ma-card:hover .ma-card__media img {
  transform: scale(1.04);
}

.ma-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.3rem 1.4rem;
  flex: 1 1 auto;
}

.ma-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ma-p);
}

.ma-card__title {
  font-family: var(--ma-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ma-d);
}

.ma-card__text {
  color: var(--ma-m);
  font-size: 0.93rem;
  line-height: 1.55;
}

.ma-card__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
  color: var(--ma-p);
}

.ma-icon-card {
  padding: 1.6rem 1.4rem;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
  text-align: center;
  color: var(--ma-t);
  text-decoration: none;
}

.ma-icon-card--link:hover {
  border-color: var(--ma-p);
  color: var(--ma-t);
}

.ma-icon-card__icon,
.ma-step__icon,
.ma-discover__icon,
.ma-reassurance__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e8f2ea;
  color: var(--ma-p);
}

.ma-icon-card__icon svg,
.ma-step__icon svg,
.ma-discover__icon svg,
.ma-reassurance__icon svg {
  width: 26px;
  height: 26px;
}

.ma-icon-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-family: var(--ma-serif);
  font-size: 1.35rem;
  color: var(--ma-d);
}

.ma-icon-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ma-m);
  line-height: 1.55;
}

/* Detailed services rows */

.ma-services__list {
  display: grid;
  gap: 3rem;
}

.ma-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.ma-service-row--reverse .ma-service-row__media {
  order: 2;
}

.ma-service-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ma-r);
  box-shadow: var(--ma-shadow);
  display: block;
}

.ma-service-row__body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--ma-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ma-d);
}

.ma-service-row__body p {
  color: var(--ma-m);
  line-height: 1.65;
}

.ma-service-row__body .ma-checklist {
  margin: 1rem 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.ma-steps {
  background: var(--ma-s);
}

.ma-section + .ma-steps {
  padding-top: 4.5rem;
}

.ma-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}

.ma-step {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
}

.ma-step__num {
  position: absolute;
  top: -14px;
  left: 1.2rem;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ma-p);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.ma-step__title {
  margin: 0.9rem 0 0.4rem;
  font-family: var(--ma-serif);
  font-size: 1.4rem;
  color: var(--ma-d);
}

.ma-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ma-m);
  line-height: 1.55;
}

/* Variante avec le technicien au centre : 2 étapes | photo | 2 étapes */
.ma-steps--figure .ma-steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: stretch;
}

.ma-steps--figure .ma-steps__list {
  display: contents;
}

.ma-steps--figure .ma-step:nth-child(1) { grid-area: 1 / 1; }
.ma-steps--figure .ma-step:nth-child(2) { grid-area: 1 / 3; }
.ma-steps--figure .ma-step:nth-child(3) { grid-area: 2 / 1; }
.ma-steps--figure .ma-step:nth-child(4) { grid-area: 2 / 3; }
.ma-steps--figure .ma-step:nth-child(n + 5) { grid-column: 1 / -1; }

.ma-steps__figure {
  grid-area: 1 / 2 / 3 / 3;
  position: relative;
  min-height: 420px;
}

.ma-steps__figure::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 240px;
  height: 240px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 106, 41, 0.18), rgba(30, 106, 41, 0) 70%);
}

.ma-steps__figure img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 16px 26px rgba(19, 60, 25, 0.25));
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

/* --------------------------------------------------------------------------
   CTA & signature bands
   -------------------------------------------------------------------------- */

.ma-cta,
.ma-signature {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(120deg, var(--ma-d), var(--ma-p));
}

.ma-section + .ma-cta,
.ma-section + .ma-signature {
  padding-top: 4rem;
}

.ma-cta {
  padding: 4rem 0;
}

.ma-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: center;
}

.ma-cta__title,
.ma-signature__title {
  margin: 0 0 0.6rem;
  font-family: var(--ma-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: #fff;
}

.ma-cta__text,
.ma-signature__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.ma-cta .ma-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.ma-signature {
  padding: 4.5rem 0;
  text-align: center;
}

.ma-signature__inner {
  max-width: 820px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.ma-faq__grid {
  display: grid;
  gap: 2.5rem;
}

.ma-faq__grid.has-image {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.ma-faq__media img {
  width: 100%;
  border-radius: var(--ma-r);
  box-shadow: var(--ma-shadow);
  display: block;
  position: sticky;
  top: 110px;
}

.ma-accordion {
  display: grid;
  gap: 0.75rem;
}

.ma-accordion__item {
  border: 1px solid var(--ma-b);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.ma-accordion__item[open] {
  border-color: var(--ma-p);
  box-shadow: 0 10px 30px rgba(19, 60, 25, 0.08);
}

.ma-accordion__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--ma-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ma-d);
}

.ma-accordion__item summary::-webkit-details-marker {
  display: none;
}

.ma-accordion__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ea;
  color: var(--ma-p);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.ma-accordion__item[open] summary::after {
  content: "–";
}

.ma-accordion__content {
  padding: 0 1.25rem 1.25rem;
}

/* --------------------------------------------------------------------------
   Prose (page content)
   -------------------------------------------------------------------------- */

.ma-prose {
  line-height: 1.7;
  color: var(--ma-t);
}

.ma-prose--narrow {
  max-width: 800px;
  margin-inline: auto;
}

.ma-prose h2,
.ma-prose h3 {
  font-family: var(--ma-serif);
  color: var(--ma-d);
  margin: 2rem 0 0.75rem;
}

.ma-prose h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.ma-prose h3 {
  font-size: 1.4rem;
}

.ma-prose p {
  color: var(--ma-t);
}

.ma-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.ma-prose ul,
.ma-prose ol {
  padding-left: 1.3rem;
}

.ma-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--ma-p);
  background: var(--ma-s);
  border-radius: 0 12px 12px 0;
  font-family: var(--ma-serif);
  font-size: 1.25rem;
}

.ma-page__content {
  padding: 3rem 0 4rem;
}

.ma-page__content--woo {
  padding-top: 2rem;
}

.ma-page .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Reviews / blog / discover / reassurance
   -------------------------------------------------------------------------- */

.ma-reviews {
  background: var(--ma-s);
}

.ma-section + .ma-reviews {
  padding-top: 4.5rem;
}


.ma-discover__grid.has-video {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.ma-discover__items {
  display: grid;
  gap: 1.5rem;
}

.ma-discover__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

.ma-discover__item h3 {
  margin: 0 0 0.3rem;
  font-family: var(--ma-serif);
  font-size: 1.4rem;
  color: var(--ma-d);
}

.ma-discover__item p {
  margin: 0;
  color: var(--ma-m);
  line-height: 1.6;
  font-size: 0.95rem;
}

.ma-discover__grid:not(.has-video) .ma-discover__items {
  grid-template-columns: repeat(3, 1fr);
}

.ma-reassurance {
  padding: 1.75rem 0;
  border-top: 1px solid var(--ma-b);
  background: #fff;
}

.ma-reassurance__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ma-reassurance__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ma-reassurance__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.ma-reassurance__item strong {
  display: block;
  color: var(--ma-d);
}

.ma-reassurance__item span {
  font-size: 0.88rem;
  color: var(--ma-m);
}

/* --------------------------------------------------------------------------
   Category grid (nuisibles)
   -------------------------------------------------------------------------- */

.ma-catgrid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}

.ma-catgrid--lg .ma-catgrid__grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ma-catgrid--sm .ma-catgrid__grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.ma-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
  color: var(--ma-d);
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Le filtre du sélecteur masque via l'attribut hidden : il doit gagner sur display:flex */
.ma-cat[hidden] {
  display: none;
}

.ma-cat:hover {
  transform: translateY(-4px);
  border-color: var(--ma-p);
  box-shadow: var(--ma-shadow);
  color: var(--ma-d);
}

.ma-cat__media {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ma-s);
  overflow: hidden;
}

.ma-catgrid--lg .ma-cat__media {
  aspect-ratio: 4 / 3;
}

.ma-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ma-cat:hover .ma-cat__media img {
  transform: scale(1.05);
}

.ma-cat__placeholder svg {
  width: 40%;
  height: 40%;
  color: var(--ma-p);
  opacity: 0.6;
}

.ma-cat__name {
  font-family: var(--ma-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.ma-catgrid--lg .ma-cat__name {
  font-size: 1.7rem;
}

.ma-cat__count {
  font-size: 0.8rem;
  color: var(--ma-m);
}

.ma-cat__seasons {
  display: flex;
  gap: 0.35rem;
}

.ma-cat__seasons span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f2ea;
  color: var(--ma-p);
}

.ma-cat__seasons svg {
  width: 14px;
  height: 14px;
}

/* Seasons */

.ma-seasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.ma-seasons--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ma-season {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--ma-r);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(19, 60, 25, 0) 40%, rgba(19, 60, 25, 0.7)),
    var(--ma-season-photo) center / cover no-repeat;
  transition: transform 0.25s ease;
}

.ma-season__icon {
  display: none;
}

.ma-season__name {
  align-self: end;
  padding-bottom: 0.9rem;
}

.ma-season:hover {
  transform: translateY(-4px);
  color: #fff;
}

.ma-season__icon svg {
  width: 30px;
  height: 30px;
}

.ma-season__name {
  font-family: var(--ma-serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.ma-season-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 60, 25, 0.06);
}

.ma-season-card.is-current {
  border-color: var(--ma-p);
  box-shadow: var(--ma-shadow);
}

.ma-season-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: #fff;
  background: var(--ma-season-photo) center / cover no-repeat;
}

.ma-season-card__icon {
  display: none;
}

.ma-season-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ma-p);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ma-season-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 auto;
}

.ma-season-card__body h2 {
  margin: 0;
  font-family: var(--ma-serif);
  font-size: 1.8rem;
  color: var(--ma-d);
}

.ma-season-card__body p {
  margin: 0;
  color: var(--ma-m);
  font-size: 0.93rem;
  line-height: 1.55;
}

.ma-season-card__body .ma-btn {
  margin-top: auto;
  align-self: flex-start;
}

.ma-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ma-chips li a,
.ma-chips__more {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #e8f2ea;
  color: var(--ma-d);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.ma-chips li a:hover {
  background: var(--ma-p);
  color: #fff;
}

.ma-chips__more {
  color: var(--ma-m);
  background: var(--ma-s);
}

/* Selector */

.ma-selector__filters {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--ma-s);
  border-radius: var(--ma-r);
  margin-bottom: 1.25rem;
}

.ma-selector__group {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: center;
}

.ma-selector__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ma-p);
}

.ma-selector__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ma-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--ma-b);
  background: #fff;
  color: var(--ma-d);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ma-pill svg {
  width: 16px;
  height: 16px;
}

.ma-pill:hover {
  border-color: var(--ma-p);
}

.ma-pill.is-active {
  background: var(--ma-p);
  border-color: var(--ma-p);
  color: #fff;
}

.ma-selector__search {
  position: relative;
}

.ma-selector__search svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--ma-p);
}

.ma-selector__search input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  border: 1px solid #c9d8cd;
  border-radius: 999px;
  font: inherit;
  background: #fff;
}

.ma-selector__search input:focus {
  outline: none;
  border-color: var(--ma-p);
  box-shadow: 0 0 0 3px rgba(30, 106, 41, 0.15);
}

.ma-selector__grid {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}

.ma-selector__count {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--ma-m);
}

/* --------------------------------------------------------------------------
   Merci
   -------------------------------------------------------------------------- */

.ma-merci {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 60% 60% at 90% 10%, rgba(30, 106, 41, 0.1), transparent 60%),
    #fff;
}

.ma-merci__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: end;
}

.ma-merci__body {
  align-self: center;
  padding-bottom: 2rem;
}

.ma-merci__media {
  align-self: end;
  margin-bottom: -3rem;
  line-height: 0;
}

.ma-merci__check {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ma-p);
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 106, 41, 0.3);
}

.ma-merci__check svg {
  width: 32px;
  height: 32px;
}

.ma-merci__title {
  margin: 0 0 1rem;
  font-family: var(--ma-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--ma-d);
}

.ma-merci__text {
  font-size: 1.05rem;
  max-width: 34rem;
}

.ma-merci__hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--ma-m) !important;
}

.ma-merci__hours svg {
  width: 18px;
  height: 18px;
  color: var(--ma-p);
}

.ma-merci__media img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(19, 60, 25, 0.18));
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.ma-merci-next {
  background: var(--ma-s);
}

.ma-merci + .ma-merci-next {
  padding-top: 4rem;
}

/* Product cards (Merci) */

.ma-card__media--product {
  aspect-ratio: 1;
  background: #fff;
  padding: 0.75rem;
}

.ma-card__media--product img {
  object-fit: contain;
}

.ma-card--product .ma-card__title {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.ma-card__price {
  font-weight: 700;
  color: var(--ma-d);
}

.ma-card__price del {
  color: var(--ma-m);
  font-weight: 400;
  margin-right: 0.35rem;
}

/* --------------------------------------------------------------------------
   Selector teaser (home + Merci)
   -------------------------------------------------------------------------- */

.ma-selector-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  border: 1px solid #dfebe2;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(30, 106, 41, 0.1), transparent 70%),
    #f7fbf8;
}

.ma-selector-teaser--section {
  width: min(var(--ma-container, 1200px), calc(100% - 2rem));
  margin: 0 auto 4.5rem;
  border-radius: var(--ma-r);
}

.ma-selector-teaser h2 {
  margin: 0 0 0.5rem;
  font-family: var(--ma-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--ma-d);
}

.ma-selector-teaser p {
  margin: 0;
  color: var(--ma-m);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ma-selector-teaser .ma-eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.ma-selector-teaser__seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.ma-selector-teaser__seasons a.ma-pill {
  text-decoration: none;
}

.ma-selector-teaser__seasons a.ma-pill.is-active:hover {
  color: #fff;
}

.ma-selector-teaser .ma-actions {
  margin-top: 1.1rem;
}

.ma-selector-teaser .ma-btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
}

.ma-selector-teaser__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ma-selector-teaser__thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  padding: 0;
  border-radius: 14px;
  background: #e6efe8;
  border: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ma-selector-teaser__thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(19, 60, 25, 0.12);
}

.ma-selector-teaser__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.ma-selector-teaser__thumb span {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(19, 60, 25, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Histoire / timeline
   -------------------------------------------------------------------------- */

.ma-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.ma-story__aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1.25rem;
}

.ma-story__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.ma-story__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.ma-story__gallery img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.ma-story__card {
  display: grid;
  gap: 0.6rem;
  padding: 1.3rem;
  background: var(--ma-s);
  border-radius: var(--ma-r);
}

.ma-story__card strong {
  color: var(--ma-d);
}

.ma-story__card .ma-btn {
  justify-self: start;
}

.ma-prose .ma-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ma-d);
}

.ma-timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2.5rem;
}

.ma-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--ma-b);
}

.ma-timeline__item {
  position: relative;
  margin-bottom: 2rem;
}

.ma-timeline__item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--ma-p);
}

.ma-timeline__year {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--ma-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ma-p);
  line-height: 1;
}

.ma-timeline__card {
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
}

.ma-timeline__card h3 {
  margin: 0 0 0.5rem;
}

.ma-timeline__card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.ma-timeline__card p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Legal (CGV, mentions, confidentialité) — colonne centrée
   -------------------------------------------------------------------------- */

.ma-legal {
  max-width: 820px;
  padding: 3rem 0 5rem;
}

.ma-legal__toc {
  margin: -5.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
  box-shadow: var(--ma-shadow);
}

.ma-legal__toc-title {
  margin: 0 0 0.75rem;
  font-family: var(--ma-serif);
  font-size: 1.5rem;
  color: var(--ma-d);
}

.ma-legal__toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  font-size: 0.9rem;
}

.ma-legal__toc a {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.3rem 0;
  color: var(--ma-t);
  border-bottom: 1px dashed var(--ma-b);
}

.ma-legal__toc a span {
  flex: 0 0 auto;
  min-width: 2.4rem;
  font-family: var(--ma-serif);
  font-weight: 700;
  color: var(--ma-p);
}

.ma-legal__toc a:hover {
  color: var(--ma-p);
}

.ma-legal__effective {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #e8f2ea;
  color: var(--ma-p) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ma-legal__content {
  font-size: 1rem;
  line-height: 1.75;
}

.ma-legal__content > p {
  color: var(--ma-t);
}

.ma-legal__h2 {
  display: grid;
  gap: 0.15rem;
  margin: 3rem 0 1.1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ma-b);
  scroll-margin-top: 110px;
}

.ma-legal__h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 1.5rem;
}

.ma-legal__num {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ma-p);
}

.ma-legal__h2-text {
  font-family: var(--ma-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ma-d);
}

.ma-legal__content h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--ma-serif);
  font-size: 1.35rem;
  color: var(--ma-d);
}

.ma-legal__content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 0;
  list-style: none;
}

.ma-legal__content ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.ma-legal__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ma-p);
}

.ma-legal__content ol {
  margin: 0.5rem 0 1rem;
  padding-left: 0;
  list-style: none;
  counter-reset: legal;
}

.ma-legal__content ol li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.5rem;
  counter-increment: legal;
}

.ma-legal__content ol li::before {
  content: counter(legal);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ea;
  color: var(--ma-p);
  font-size: 0.75rem;
  font-weight: 700;
}

.ma-legal__content em strong,
.ma-legal__content strong em {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--ma-d);
}

.ma-legal__content a {
  color: var(--ma-p);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.ma-legal__updated {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ma-b);
  font-size: 0.85rem;
  color: var(--ma-m) !important;
}

/* --------------------------------------------------------------------------
   Espace PRO
   -------------------------------------------------------------------------- */

.ma-pro {
  background: var(--ma-s);
}

.ma-section + .ma-pro {
  padding-top: 4.5rem;
}

.ma-pro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.ma-pro__step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid var(--ma-b);
  border-radius: var(--ma-r);
}

.ma-pro__step h3 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--ma-serif);
  font-size: 1.6rem;
  color: var(--ma-d);
}

.ma-pro__step p {
  color: var(--ma-m);
  line-height: 1.6;
}

.ma-pro__hint {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
}

.ma-pro__locked {
  padding: 1.25rem;
  background: var(--ma-s);
  border-radius: 12px;
}

.ma-pro__locked p {
  margin: 0 0 1rem;
}

.ma-pro__current {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ma-m);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .ma-form__grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-cards--4,
  .ma-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-seasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ma-section {
    padding: 3.25rem 0;
  }

  .ma-about__grid,
  .ma-service-row,
  .ma-discover__grid.has-video,
  .ma-faq__grid.has-image,
  .ma-story__grid,
  .ma-pro__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ma-service-row--reverse .ma-service-row__media {
    order: 0;
  }

  .ma-faq__media {
    display: none;
  }

  .ma-story__aside {
    position: static;
  }

  .ma-cta__inner,
  .ma-merci__grid,
  .ma-selector-teaser {
    grid-template-columns: 1fr;
  }

  .ma-merci__media {
    order: -1;
  }

  .ma-merci__media {
    margin-bottom: 0;
  }

  .ma-merci__media img {
    max-height: 380px;
  }

  .ma-selector-teaser__media {
    grid-template-columns: repeat(4, 1fr);
  }

  .ma-hero--figures {
    min-height: 0;
    padding-bottom: 5rem;
  }

  .ma-hero--figures .ma-hero__inner {
    padding-right: 30%;
  }

  .ma-hero__figures {
    right: -6%;
    height: 85%;
    opacity: 0.55;
  }

  .ma-steps--figure .ma-steps__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ma-steps--figure .ma-steps__list {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .ma-steps--figure .ma-step {
    grid-area: auto !important;
  }

  .ma-steps__figure {
    display: none;
  }



  .ma-cta .ma-actions {
    justify-content: flex-start;
  }

  .ma-cards--3,
  .ma-discover__grid:not(.has-video) .ma-discover__items {
    grid-template-columns: 1fr 1fr;
  }

  .ma-selector__group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .ma-legal__toc {
    margin-top: -3.5rem;
    padding: 1.1rem 1.2rem;
  }

  .ma-legal__toc ol {
    grid-template-columns: 1fr;
  }

  .ma-hero__figures {
    display: none;
  }

  .ma-hero--figures {
    padding-bottom: 4.5rem;
  }

  .ma-hero--figures .ma-hero__inner {
    padding-right: 0;
  }

  .ma-steps--figure .ma-steps__list {
    grid-template-columns: 1fr;
  }

  .ma-hero {
    min-height: 0;
    padding: 4rem 1rem 3.25rem;
  }

  .ma-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ma-quote--band {
    margin-top: -2rem;
  }

  .ma-quote__card,
  .ma-pro__step--form,
  .ma-pro__step {
    padding: 1.25rem;
  }

  .ma-form__grid--5,
  .ma-form__grid--2,
  .ma-cards--4,
  .ma-cards--3,
  .ma-steps__list,
  .ma-counters__grid,
  .ma-reassurance__grid,
  .ma-seasons,
  .ma-checklist--2col,
  .ma-discover__grid:not(.has-video) .ma-discover__items {
    grid-template-columns: 1fr;
  }

  .ma-catgrid__grid,
  .ma-catgrid--lg .ma-catgrid__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .ma-catgrid--lg .ma-cat__name {
    font-size: 1.3rem;
  }

  .ma-actions .ma-btn,
  .ma-form__footer .ma-btn {
    width: 100%;
  }
}
