/* =========================================================
   1. TOKENS — couleurs / typos / espacements à adapter
   ========================================================= */
.page-node-type-landing-page {
  /* Couleurs de marque */
  --c-green: #003e34; /* vert principal (titres, fonds sombres) */
  --c-orange: #e77602; /* accent, boutons, puces */
  --c-peach: #fcebd9; /* fond des cartes actifs / carte offre */
  --c-black: #151515;
  --c-white: #ffffff;
  --c-line: #e6e6e6; /* filets de séparation */

  /* Typographies */
  --font-primary: franklin-gothic-std, sans-serif;
  --font-condensed: franklin-gothic-std-cond, sans-serif;

  /* Échelle typographique */
  --title: 30px;
  --title-secondary: 30px;

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;

  /* Divers */
  --radius: 5px;
  --radius-pill: 999px;
  --wrap: 1440px;
  --gutter: 2rem;
}
@media all and (min-width: 1000px) {
  .page-node-type-landing-page {
    --title: 60px;
    --title-secondary: 50px;
  }
}

/* =========================================================
   2. BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.page-node-type-landing-page {
  margin: 0;
  background: var(--c-white);
  color: var(--c-black);
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  line-height: 1.5;
}
.page-node-type-landing-page #cart-offcanvas {
  color: var(--c-green);
}
.page-node-type-landing-page .cart-block--offcanvas-payment a,
.page-node-type-landing-page .product-related-cart__see-more a.cta{
  color: var(--c-white)
}
.page-node-type-landing-page .cart-block--offcanvas-payment a:hover,
.page-node-type-landing-page .product-related-cart__see-more a.cta:hover{
  color: var(--c-green);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
.page-node-type-landing-page h1 {
  font-size: var(--title);
}
.page-node-type-landing-page h2 {
  font-size: var(--title-secondary);
}
.page-node-type-landing-page h1,
.page-node-type-landing-page h2 {
  font-family: var(--font-primary);
  font-weight: 800;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--c-green);
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   3. OBJETS RÉUTILISABLES
   ========================================================= */

/* Bloc : wrapper */
.page-node-type-landing-page .wrapper {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 16px;
}

/* Bloc : section */
.page-node-type-landing-page .section {
  padding-block: var(--sp-7);
  position: relative;
}
.page-node-type-landing-page .section--alt {
  padding-block-start: 3rem;
  padding-block-end: 0;
}
.page-node-type-landing-page .section--alt + .section--tight {
  padding-block-start: var(--sp-1);
  padding-block-end: var(--sp-5);
}
.page-node-type-landing-page .section--tight {
  padding-block: var(--sp-5);
}
.page-node-type-landing-page .section--flush {
  padding-block: 0;
}
.page-node-type-landing-page .section--green {
  background: var(--c-green);
  color: var(--c-white);
}

/* Bloc : titre */
h1.title--light,
h2.title--light {
  color: var(--c-white);
}
h1.title__accent,
h2.title__accent {
  color: var(--c-orange);
}

/* Bloc : sur-titre */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-black);
}

/* Bloc : bouton */
.button {
  display: inline-block;
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--c-green);
  color: var(--c-white);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--c-green);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.button:hover {
  background-color: var(--c-white);
  border: 1px solid var(--c-green);
  color: var(--c-green);
  text-decoration: none;
}
.button--orange {
  background: var(--c-orange);
  border: 1px solid var(--c-orange);
}
.button--orange:hover {
  background-color: var(--c-white);
  color: var(--c-green);
  border: 1px solid var(--c-green);
}
.button--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--c-white);
}
.button--block {
  display: block;
  width: 100%;
}

/* Bloc : badge */
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Bloc : pastille de dosage */
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--c-green);
  color: var(--c-white);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-condensed);
  text-transform: uppercase;
}
.pill--outline {
  background: transparent;
  color: var(--c-green);
  border: 1px solid var(--c-green);
}

/* Utilitaire */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
  border-bottom: 6px solid var(--c-orange);
}
.hero__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 48em) {
  .hero__image {
    height: 280px;
  }
}
@media (min-width: 64em) {
  .hero__image {
    height: 340px;
  }
}

/* =========================================================
   5. CONSTAT
   ========================================================= */
.constat__eyebrow {
  margin-bottom: 16px;
  font-weight: 400;
  color: var(--c-black);
  font-size: 20px;
  font-family: var(--font-condensed);
  text-transform: uppercase;
}
.constat__stats {
  margin-top: 1.5rem;
  display: grid;
  gap: 16px;
}

/* Bloc : stat */
.stat__value {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-green);
}
.stat__label {
  font-size: 16px;
  color: var(--c-green);
}

@media (min-width: 1000px) {
  .constat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }
  .constat__stats {
    margin-top: 0;
    padding-left: 32px;
    border-left: 1px solid var(--c-line);
    gap: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .stat__value {
    font-size: 50px;
  }
}

/* =========================================================
   6. OFFRE (carte visuel + carte achat)
   ========================================================= */
.offer {
  display: grid;
  gap: var(--sp-4);
}
.offer__actions {
  margin-top: var(--sp-5);
  text-align: center;
}

/* Bloc : carte visuel produit */
.showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 416px;
  padding: var(--sp-5);
  background: var(--c-green);
  color: var(--c-white);
  overflow: hidden;
  border-radius: 5px;
}
.showcase__media {
  position: absolute;
  inset: 0;
}
.showcase__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase__body {
  position: relative;
  padding-top: 1rem;
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
  margin: calc(1.5rem * -1);
  margin-top: 0;
  padding: 1rem 1.5rem 1.5rem;
}
h1.showcase__title,
h2.showcase__title {
  margin-top: var(--sp-3);
  color: var(--c-white);
  font-family: var(--font-primary);
  font-size: var(--title-secondary);
  font-weight: 800;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--c-white);
}
.showcase__meta {
  margin-top: var(--sp-2);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

/* Bloc : carte achat */
.buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 65%,
    rgba(252, 235, 217, 1) 65%,
    rgba(252, 235, 217, 1) 100%
  );
  text-align: center;
}
.buy__kicker {
  font-family: var(--font-condensed);
  font-size: 24px;
  color: var(--c-orange);
  line-height: 1;
  font-weight: 600;
}
.buy__title {
  font-family: var(--font-primary);
  font-size: var(--title-secondary);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-green);
}
.buy__posology {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--c-green);
}
.buy__figure {
  margin-block: var(--sp-2);
}
.buy__image {
  margin-inline: auto;
  width: 190px;
}

@media (min-width: 1000px) {
  .offer {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 32px;
  }
  .showcase {
    min-height: 340px;
    padding: 32px;
  }
  .showcase__body {
    margin: calc(2rem * -1);
    margin-top: 0;
    padding: 2rem;
  }
  .buy {
    justify-content: center;
    background: var(--c-peach);
  }
}
/* =========================================================
   7. DOSAGE (420 mg)
   ========================================================= */
.dosage {
  display: grid;
  grid-template-columns: minmax(100px 141px) 1fr;
  grid-template-areas:
    "title  title"
    "figure text";
  column-gap: 1rem;
  align-items: center;
  justify-items: center;
}

/* Le wrapper s'efface : titre et texte deviennent des items de .dosage */
.dosage__body {
  display: contents;
}

.dosage__figure {
  grid-area: figure;
  margin: 0;
}
.dosage__title {
  grid-area: title;
  font-size: var(--title-secondary);
  margin-bottom: 1rem;
}
.dosage__text {
  grid-area: text;
  font-size: 18px;
  color: var(--c-green);
}

.dosage__image {
  width: 100%;
  max-width: 300px;
}
@media (min-width: 600px) {
  .dosage {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .dosage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "figure body";
    column-gap: 3rem;
  }

  /* Le wrapper redevient un bloc normal, en colonne de droite */
  .dosage__body {
    display: block;
    grid-area: body;
  }
  .dosage__title {
    margin-bottom: 0;
  }
  .dosage__text {
    margin-top: 8px;
  }
  .dosage__figure {
    width: 100%;
  }
  .dosage__image {
    margin-left: auto;
    align-self: flex-end;
    max-width: 412px;
  }
}

/* =========================================================
   8. ACTIFS
   ========================================================= */
.actifs__title {
  font-size: var(--title-secondary);
}
.actifs__list {
  margin-top: var(--sp-6);
  display: grid;
  gap: 1rem;
}

/* Bloc : carte actif */
.actif {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 1rem;
  background: var(--c-peach);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.actif__dose {
  align-self: flex-start;
  border: none;
  background-color: var(--c-white);
  text-transform: none;
  position: absolute;
  right: 0;
  top: 0;
}
.actif__name {
  margin-top: var(--sp-4);
  font-family: var(--font-primary);
  font-size: var(--title-secondary);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--c-green);
}
.actif__name--accent {
  color: var(--c-orange);
}
.actif__text {
  margin-top: var(--sp-3);
  font-size: 18px;
  color: var(--c-green);
  font-weight: 400;
  max-width: 85%;
}
.actif__figure {
  margin-top: 20px;
  margin-right: -16px;
  margin-bottom: -50px;
  display: flex;
  justify-content: flex-end;
}
.actif__image {
  width: 100%;
  margin-top: -45px;
  width: 270px;
}

@media (min-width: 600px) {
  .actifs__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (min-width: 1000px){
  .actif__dose {
    position: static;
    right: unset;
    top: unset;
  }
  .actif__image {
    margin-top: unset;
  }
  .actifs__title {
    text-align: center;
  }
}
@media (min-width: 1300px) {
  .actif {
    padding: 2rem;
  }
  .actifs__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .actif__figure {
    margin-top: auto;
    display: block;
    margin-right: -32px;
    margin-bottom: -32px;
  }
  .actif__text {
    max-width: unset;
  }
  .actif__image {
    width: auto;
  }
}

/* =========================================================
   9. USAGES
   ========================================================= */
.usages {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
.usages__title {
  font-size: var(--title-secondary);
}
.usages__list {
  margin-top: var(--sp-5);
}
.usages__item {
  display: flex;
  gap: var(--sp-3);
  align-items: baseline;
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-green);
}
.usages__item:last-child {
  border: none;
}
.usages__item::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
  transform: translateY(-2px);
}
.usages__body {
  position: relative;
  z-index: 5;
}
.usages__figure {
  margin: -50px -16px -49px;
  z-index: 1;
  position: relative;
}

@media (min-width: 1000px) {
  .usages {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-6);
    padding-bottom: 5rem;
  }
  .usages__item {
    font-size: 24px;
  }
  .usages__figure {
    margin: 0;
    z-index: unset;
    position: static;
  }
  .usages__image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: 60vw;
  }
}

/* =========================================================
   10. FONCTIONNEMENT
   ========================================================= */
.how {
  flex-direction: row-reverse;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.how__figure {
  max-width: 70px;
  margin-right: -16px;
  margin-top: -47px;
  margin-bottom: -47px;
}
.how__image {
  width: 100%;
  object-fit: cover;
  height: 100%;
}
.how__title {
  font-size: var(--title-secondary);
}
.how__actions {
  margin-top: var(--sp-6);
}

/* Bloc : étapes */
.steps {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-5);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
}
.step:first-child .step__icon {
  background-color: var(--c-white);
  border: 1px solid var(--c-white);
}
.step:first-child .step__icon svg {
  color: var(--c-green);
}

.step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--c-orange);
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-white);
}
.step__icon svg {
  width: 18px;
  height: 18px;
  color: var(--c-orange);
}
.step--last .step__icon {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-white);
}
.step--last .step__icon svg {
  color: var(--c-white);
}
/* Trait de liaison entre les étapes */
.step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 34px;
  bottom: calc(var(--sp-5) * -1);
  width: 1px;
  background: var(--c-orange);
}
.step--last::before {
  display: none;
}
.step__title {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}
.step__text {
  margin-top: var(--sp-1);
  font-size: 14px;
  opacity: 0.85;
  max-width: 48ch;
}
@media all and (min-width: 750px) {
  .how__figure {
    max-width: 200px;
  }
}
@media (min-width: 1000px) {
  .step__title {
    font-size: 36px;
    font-family: var(--font-primary);
    font-weight: 800;
  }
  .step__icon {
    width: 50px;
    height: 50px;
  }
  .step__icon svg {
    width: 24px;
    height: 24px;
  }
  .step::before {
    left: 25px;
  }
  .step__text {
    font-size: 18px;
  }
  .how {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-7);
    align-items: center;
  }
  .how__figure {
    max-width: unset;
    margin: 0;
  }
}

/* =========================================================
   11. EXPERTISE
   ========================================================= */
.expertise {
  display: grid;
  gap: 2rem;
}
.expertise__body {
  position: relative;
}
.expertise__background {
  position: absolute;
  z-index: 1;
}
.expertise__background--desktop {
  display: none;
}
.expertise__background--mobile {
  display: block;
  right: -16px;
  bottom: -40px;
}
.expertise__title,
.expertise__text,
.expertise__facts,
.expertise__aside {
  position: relative;
  z-index: 5;
}
.expertise__title {
  font-size: var(--title-secondary);
}
.expertise__text {
  margin-top: 1rem;
  font-size: 16px;
  color: var(--c-green);
}
.expertise__facts {
  margin-top: 1rem;
}
.expertise__figure {
  margin: 0;
}
.expertise__image {
  width: 100%;
}
.expertise__aside {
  height: 100%;
}
.expertise__aside .showcase {
  height: 100%;
}
@media all and (min-width: 1000px){
  .expertise {
    margin-top: 4rem;
  }
}
/* Bloc : argument */
.fact {
  padding-block: 10px;
  border-bottom: 1px solid var(--c-line);
}
.fact:last-child {
  border: none;
}
.fact__label {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-green);
}
.fact__text {
  font-size: 14px;
  color: var(--c-green);
}

/* Bloc : renvoi gamme */

@media (min-width: 1000px) {
  .expertise {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: start;
  }
  .fact__label {
    font-size: 24px;
  }
  .expertise__text {
    font-size: 18px;
  }
  .fact__text {
    font-size: 16px;
  }
  .expertise__background--mobile {
    display: none;
  }
  .expertise__background--desktop {
    display: block;
  }
}

/* Main cta */
.sticky-container {
   view-timeline: --c block;
}
.main-cta {
  margin: auto;
  margin-bottom: 2rem;
  position: sticky;
  top: 90vh;
  width: fit-content;
  z-index: 9;
  animation: hide steps(1, end) both;
  animation-timeline: --c;
  animation-range: exit-crossing 0% exit-crossing 100%;
}
@keyframes hide { to { visibility: hidden; } }
/** CROSS CONTENT **/

.cross-content__wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: scroll;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.teaser-v2 {
  max-width: 202px;
  min-width: 202px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 8px 8px 0 8px;
  border: 1px solid #EFEFEF;
  background-color: var(--c-white);
  border-radius: 5px;
  position: relative;
}
.teaser-v2 a {
  text-decoration: none;
}
.teaser-v2__image {
  background-color: #F6F9F6;
  border-radius: 5px;
  height: 193px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.teaser-v2__image--memoire {
  background-color: #FDE2DE;
}
.teaser-v2__image--moral {
  background-color: #DBD7EA;
}
.teaser-v2__image--articulations {
  background-color: #D3F0F9;
}
.teaser-v2__image--antiage {
  background-color: #FCE8EC;
}
.teaser-v2 a:hover h3.teaser-v2__title {
  color: var(--color-brand--2);
}
h3.teaser-v2__title {
  color: var(--c-green);
  font-size: 15px;
  line-height: 130%;
  font-family: var(--font-condensed);
  font-weight: 600;
  margin: 0;
  padding-top: 12px;
}
.teaser-v2__product-effect {
  text-transform: uppercase;
  color: var(--c-black);
  font-size: 14px;
  line-height: 130%;
  font-weight: 400;
  display: block;
  padding-bottom: 24px;
}
.teaser-v2__see-more {
  display: flex;
  align-items: baseline;
  width: 100%;
  justify-content: center;
  padding: 20.5px 0;
  border-top: 1px solid #EFEFEF;
  gap: 3px;
}
.teaser-v2__commerce:focus-within {
  outline: solid 2px var(--color-brand--2);
  outline-offset: 2px;
}
.teaser-v2__see-more .teaser-v2__see-more-link {
  all: unset;
  color: var(--c-green);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 130%;
  font-weight: 400;
  cursor: pointer;
  min-height: 24px;
}
.teaser-v2__see-more .teaser-v2__see-more-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.teaser-v2__see-more .teaser-v2__see-more-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
.teaser-v2__see-more {
  position: relative;
}
.teaser-v2__see-more:hover * {
  color: var(--color-brand--2);
}
.teaser-v2__commerce::after {
  content: '.';
  order: 2;
  display: block;
  color: var(--c-green);
  font-size: var(--content-size-x);
  line-height: 130%;
  font-weight: var(--fw-medium);
}
.cross-content__cta {
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 7rem;
  width: fit-content;
}
@media all and (min-width: 1000px){
  .teaser-v2 {
    max-width: 337px;
    width: 100%;
    padding: 16px 16px 0 16px;
  }
  .teaser-v2__image {
    height: 400px;
  }
  .teaser-v2__title {
    font-size: 18px;
  }
  .teaser-v2__product-effect {
    font-size: 16px;
  }
  .teaser-v2__see-more .teaser-v2__see-more-link  {
    font-size: 14px;
  }
  .teaser-v2__see-more {
    gap: 10px;
  }
  .cross-content__wrapper {
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow-x: unset; 
  }
}
@media all and (min-width: 1300px){
  .cross-content__wrapper {
    gap: 32px;
  }
}


