/* Zephyr runtime landing page skin for RegimeBox.
   Static CSS: no Encore build required on prep environments. */
:root {
  --zr-lp-green: #08745f;
  --zr-lp-green-dark: #045743;
  --zr-lp-green-soft: #eaf8f4;
  --zr-lp-pink: #d90885;
  --zr-lp-pink-dark: #a90667;
  --zr-lp-kiwi: #82c927;
  --zr-lp-ink: #172033;
  --zr-lp-muted: #5d6f7d;
  --zr-lp-border: #dcebe6;
  --zr-lp-card: #ffffff;
  --zr-lp-bg: #f6fbf9;
  --zr-lp-shadow: 0 26px 70px rgba(16, 32, 48, .12);
}

/* Wrapper-friendly, but also works when Zephyr HTML is injected directly in base.html.twig. */
.zephyr-runtime-lp,
.lp-hero,
.lp-benefits,
.lp-steps,
.lp-image-text,
.lp-reassurance,
.lp-testimonial,
.lp-faq,
.lp-cta,
.lp-disclaimer {
  box-sizing: border-box;
  color: var(--zr-lp-ink);
  font-family: "Open Sans", "Heebo", Arial, sans-serif;
}

.zephyr-runtime-lp {
  background:
    radial-gradient(circle at 8% 2%, rgba(217, 8, 133, .08), transparent 26rem),
    radial-gradient(circle at 92% 10%, rgba(130, 201, 39, .10), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--zr-lp-bg) 100%);
  margin: 0;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) 0 clamp(52px, 7vw, 92px);
}

.lp-hero,
.lp-benefits,
.lp-steps,
.lp-image-text,
.lp-reassurance,
.lp-testimonial,
.lp-faq,
.lp-cta,
.lp-disclaimer {
  margin-left: auto;
  margin-right: auto;
  max-width: min(1120px, calc(100vw - 32px));
}

.lp-hero:first-child,
.zephyr-runtime-lp > .lp-hero:first-child,
main > .lp-hero:first-child {
  margin-top: clamp(22px, 4vw, 54px);
}

.lp-hero {
  background:
    radial-gradient(circle at 10% 18%, rgba(217, 8, 133, .14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(130, 201, 39, .18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
  border: 1px solid rgba(8, 116, 95, .14);
  border-radius: clamp(24px, 3vw, 44px);
  box-shadow: var(--zr-lp-shadow);
  isolation: isolate;
  margin-bottom: clamp(32px, 5vw, 64px);
  overflow: hidden;
  padding: clamp(34px, 6vw, 88px) clamp(22px, 6vw, 78px);
  position: relative;
}

.lp-hero::after {
  background:
    linear-gradient(135deg, rgba(8, 116, 95, .08), rgba(217, 8, 133, .09)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.38) 0 8px, transparent 8px 18px);
  border-radius: 999px;
  content: "";
  height: clamp(170px, 24vw, 320px);
  opacity: .9;
  position: absolute;
  right: max(-100px, -7vw);
  top: max(-115px, -8vw);
  transform: rotate(-10deg);
  width: clamp(170px, 24vw, 320px);
  z-index: -1;
}

.lp-kicker {
  color: var(--zr-lp-pink);
  display: inline-flex;
  font-size: clamp(.78rem, 1vw, .93rem);
  font-weight: 900;
  letter-spacing: .105em;
  line-height: 1.25;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.lp-hero h1,
.lp-hero h2 {
  color: var(--zr-lp-green-dark);
  font-family: "Heebo", "Open Sans", Arial, sans-serif;
  font-size: clamp(2.25rem, 5.4vw, 5.15rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .96;
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  max-width: 880px;
}

.lp-hero > p:not(.lp-kicker):not(.lp-cta-line),
.lp-hero > div > p:not(.lp-cta-line) {
  color: var(--zr-lp-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 720px;
}

.lp-button,
a.lp-button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(8, 116, 95, .22);
  cursor: pointer;
  display: inline-flex;
  font-family: "Heebo", "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 28px;
  text-align: center;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  white-space: normal;
}

.lp-button:hover,
.lp-button:focus-visible,
a.lp-button:hover,
a.lp-button:focus-visible {
  box-shadow: 0 22px 44px rgba(8, 116, 95, .29);
  transform: translateY(-2px);
}

.lp-button-primary,
a.lp-button-primary {
  background: linear-gradient(135deg, var(--zr-lp-green), #05a37d);
  color: #ffffff !important;
}

.lp-button-secondary,
a.lp-button-secondary {
  background: linear-gradient(135deg, var(--zr-lp-pink), var(--zr-lp-pink-dark));
  box-shadow: 0 16px 34px rgba(217, 8, 133, .22);
  color: #ffffff !important;
}

.lp-button-outline,
a.lp-button-outline {
  background: #ffffff;
  border: 2px solid rgba(8, 116, 95, .28);
  box-shadow: none;
  color: var(--zr-lp-green-dark) !important;
}

.lp-button-large,
a.lp-button-large {
  font-size: 1.08rem;
  min-height: 56px;
  padding: 16px 36px;
}

.lp-button-full,
a.lp-button-full {
  width: 100%;
}

.lp-cta-line,
.lp-hero .lp-cta-line,
.lp-cta .lp-cta-line {
  margin: clamp(18px, 2vw, 28px) 0 0;
}

.lp-benefits,
.lp-steps,
.lp-image-text,
.lp-reassurance,
.lp-testimonial,
.lp-faq,
.lp-cta,
.lp-disclaimer {
  margin-bottom: clamp(34px, 5vw, 68px);
}

.lp-benefits h2,
.lp-steps h2,
.lp-image-text h2,
.lp-reassurance h2,
.lp-testimonial h2,
.lp-faq h2,
.lp-cta h2 {
  color: var(--zr-lp-green-dark);
  font-family: "Heebo", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.95rem, 3.35vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 0 0 clamp(18px, 3vw, 30px);
}

.lp-card-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.lp-card-grid > article,
.lp-card-grid > div {
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,253,250,.98));
  border: 1px solid var(--zr-lp-border);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(16, 32, 48, .08);
  min-height: 148px;
  padding: clamp(20px, 2.4vw, 30px);
}

.lp-card-grid h3 {
  color: var(--zr-lp-pink);
  font-family: "Heebo", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.lp-card-grid p {
  color: var(--zr-lp-muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.lp-steps ol {
  counter-reset: lp-step;
  display: grid;
  gap: 16px;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.lp-steps li {
  background: #fff;
  border: 1px solid var(--zr-lp-border);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(16,32,48,.07);
  counter-increment: lp-step;
  font-weight: 700;
  line-height: 1.55;
  min-height: 84px;
  padding: 22px 22px 22px 76px;
  position: relative;
}

.lp-steps li::before {
  align-items: center;
  background: linear-gradient(135deg, var(--zr-lp-green), var(--zr-lp-kiwi));
  border-radius: 999px;
  color: #fff;
  content: counter(lp-step);
  display: inline-flex;
  font-family: "Heebo", "Open Sans", Arial, sans-serif;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  left: 22px;
  position: absolute;
  top: 22px;
  width: 38px;
}

.lp-image-text {
  align-items: center;
  display: grid;
  gap: clamp(22px, 4vw, 54px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
}

.lp-image-text img,
.lp-hero img {
  border-radius: clamp(18px, 3vw, 34px);
  box-shadow: var(--zr-lp-shadow);
  display: block;
  height: auto;
  max-width: 100%;
}

.lp-reassurance {
  align-items: center;
  background: linear-gradient(135deg, rgba(8,116,95,.10), rgba(130,201,39,.12));
  border: 1px solid rgba(8,116,95,.14);
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: clamp(18px, 3vw, 30px);
  text-align: center;
}

.lp-reassurance > * {
  margin: 0;
}

.lp-testimonial {
  background: #fff;
  border-left: 6px solid var(--zr-lp-pink);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(16,32,48,.09);
  padding: clamp(24px, 4vw, 42px);
}

.lp-testimonial blockquote {
  color: var(--zr-lp-ink);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.lp-faq details {
  background: #fff;
  border: 1px solid var(--zr-lp-border);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(16,32,48,.06);
  margin-bottom: 12px;
  padding: 18px 20px;
}

.lp-faq summary {
  color: var(--zr-lp-green-dark);
  cursor: pointer;
  font-weight: 900;
}

.lp-cta {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.18), transparent 20rem),
    linear-gradient(135deg, var(--zr-lp-green-dark), var(--zr-lp-green));
  border-radius: clamp(24px, 3vw, 42px);
  box-shadow: var(--zr-lp-shadow);
  color: #fff;
  padding: clamp(32px, 6vw, 72px) clamp(22px, 6vw, 70px);
  text-align: center;
}

.lp-cta h2,
.lp-cta p {
  color: #fff;
}

.lp-cta p {
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.lp-cta .lp-button,
.lp-cta a.lp-button {
  background: #fff;
  color: var(--zr-lp-green-dark) !important;
}

.lp-disclaimer {
  color: var(--zr-lp-muted);
  font-size: .9rem;
  line-height: 1.55;
  max-width: min(920px, calc(100vw - 32px));
}

/* If a Zephyr LP is rendered without its section wrappers, at least keep spacing sane. */
.zephyr-runtime-lp > h1,
.zephyr-runtime-lp > h2,
.zephyr-runtime-lp > h3,
main > h1:first-child,
main > h2:first-child {
  margin-left: auto;
  margin-right: auto;
  max-width: min(1120px, calc(100vw - 32px));
}

@media (max-width: 900px) {
  .lp-card-grid,
  .lp-image-text {
    grid-template-columns: 1fr;
  }

  .lp-hero {
    border-radius: 26px;
  }
}

@media (max-width: 620px) {
  .zephyr-runtime-lp {
    padding-top: 16px;
  }

  .lp-hero,
  .lp-cta {
    max-width: calc(100vw - 20px);
    padding: 28px 18px;
  }

  .lp-benefits,
  .lp-steps,
  .lp-image-text,
  .lp-reassurance,
  .lp-testimonial,
  .lp-faq,
  .lp-disclaimer {
    max-width: calc(100vw - 20px);
  }

  .lp-button,
  a.lp-button {
    width: 100%;
  }
}

/* Pass 3 fallback: keep LP readable if some section wrappers survive but classes were partially stripped. */
.zephyr-runtime-lp a[href="#formulaire"],
.zephyr-runtime-lp a[href*="#formulaire"] {
  align-items: center;
  background: linear-gradient(135deg, var(--zr-lp-green), #05a37d);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(8, 116, 95, .22);
  color: #fff !important;
  display: inline-flex;
  font-family: "Heebo", "Open Sans", Arial, sans-serif;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  text-decoration: none !important;
}

.zephyr-runtime-lp > section:first-of-type:not(.lp-hero) {
  background:
    radial-gradient(circle at 10% 18%, rgba(217, 8, 133, .14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(130, 201, 39, .18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
  border: 1px solid rgba(8, 116, 95, .14);
  border-radius: clamp(24px, 3vw, 44px);
  box-shadow: var(--zr-lp-shadow);
  margin: clamp(22px, 4vw, 54px) auto clamp(32px, 5vw, 64px);
  max-width: min(1120px, calc(100vw - 32px));
  padding: clamp(34px, 6vw, 88px) clamp(22px, 6vw, 78px);
}

.zephyr-runtime-lp > section:first-of-type:not(.lp-hero) h1,
.zephyr-runtime-lp > section:first-of-type:not(.lp-hero) h2 {
  color: var(--zr-lp-green-dark);
  font-size: clamp(2.25rem, 5.4vw, 5.15rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .96;
}

.zephyr-runtime-lp > section:nth-of-type(2) > div:not(.lp-card-grid) {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zephyr-runtime-lp > section:nth-of-type(2) article,
.zephyr-runtime-lp > section:nth-of-type(2) > div > div {
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,253,250,.98));
  border: 1px solid var(--zr-lp-border);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(16, 32, 48, .08);
  min-height: 148px;
  padding: clamp(20px, 2.4vw, 30px);
}

@media (max-width: 900px) {
  .zephyr-runtime-lp > section:nth-of-type(2) > div:not(.lp-card-grid) {
    grid-template-columns: 1fr;
  }
}
