﻿
/* ===============================
   YARAKA · styles-fixed.css
   Notes:
   - Garde la structure existante (classes HTML inchangées)
   - Accentue la fidélité au mockup XD (typo, couleurs, espacements, hero 2 colonnes, ombres)
   - Compatible mobile-first
   =============================== */

:root {
  /* Typography */
  --font-heading: "Alan Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --footer-wave-space: clamp(46px, 16vw, 150px); /* min, preferred, max (ordre corrigé) */
  --footer-copy-h: 40px;                          /* hauteur de la barre copy */
   --footer-content-min-h: clamp(200px, 8vh, 140px);
  --footer-logo-shift-x: -28px;  /* ← vers la gauche (négatif = gauche) */
  --footer-logo-shift-y:  12px;  /* ↓ vers le bas (positif = bas) */
  /* Palette (depuis XD) */
  --green: #6BA444;
  --green-700: #47752D;
  --mint-100: #F3F6E7;
  --mint-200: #E7F3E8;
  --mint-300: #DFF1E1;
  --mint-500: #A5C48F;

  --orange: #F2AD20;
  --orange-600: #E79300;
  --orange-soft: #FFE9BE;

  --ink: #2D3C3C;
  --ink-600: #56706E;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --bg: #F7F9F5;

  /* Layout */
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 40px rgba(34, 57, 51, 0.12);
  --max-width: 1200px;
  --gutter: 24px;

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
}

/* Base */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display:block; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
.visually-hidden {
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  border:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}

.wrap { width: min(100% - 2rem, var(--max-width)); margin: 0 auto; }

/* Buttons */
.button {
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  padding:0.85rem 1.8rem; border-radius:999px; border:none; cursor:pointer;
  background: var(--orange); color: var(--white); font-weight:600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button:focus {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(231,147,0,.25);
}
.button--ghost {
  background: transparent; color: var(--orange);
  border: 2px solid currentColor;
}
.button--ghost:hover, .button--ghost:focus { background: rgba(242,173,32,.08); }
.button--small { padding: .6rem 1.4rem; font-size: .9rem; }

/* ===============================
   Header & Navigation
   =============================== */
.site-header {
  position: relative; 
  padding: var(--space-6) 0 var(--space-10);
  background:
    linear-gradient(60deg, #9ec77a 80%, #6eb951 100%, #59993f 100%);
}
.site-header > .wrap,
.site-header .hero__grid {
  position: relative;
  z-index:2;
}
.site-header > .wrap:first-of-type {
  z-index: 4;
}
.hero__stars {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}
.hero__stars-group {
  position:absolute;
  display:block;
  width: clamp(60px, 6vw, 100px);
  filter: drop-shadow(0 14px 22px rgba(166, 210, 156,.28));
  opacity:.78;
}
.hero__stars-group--right {
  top: clamp(40px, 14vw, 140px);
  right: clamp(100px, 12vw, 210px);
  transform: rotate(6deg);
}
.hero__stars-group--left {
  top: clamp(110px, 20vw, 240px);
  left: clamp(-10px, 6vw, 60px);
  width: clamp(90px, 12vw, 160px);
  transform: rotate(-10deg);
  opacity:.7;
}
.hero__star {
  position:absolute;
  display:block;
  filter: drop-shadow(0 10px 14px rgba(166, 210, 156,.26));
  opacity:.75;
  mix-blend-mode:screen;
}
.hero__star--badge {
  top: clamp(200px, 28vw, 320px);
  left: clamp(52%, 50vw, 58%);
  width: clamp(20px, 2.8vw, 32px);
  transform: translateX(-120%) rotate(-12deg);
  opacity:.6;
}
.hero__star--under-image {
  bottom: clamp(60px, 14vw, 160px);
  left: clamp(34%, 38vw, 46%);
  width: clamp(24px, 3.4vw, 36px);
  opacity:.55;
}
.hero__star--left-one {
  top: clamp(10px, 1vw, 50px);
  left: clamp(10px, 6vw, 70px);
  width: clamp(40px, 6vw, 68px);
  transform: rotate(-10deg);
}
.hero__star--left-two {
  top: clamp(100px, 20vw, 200px);
  left: clamp(48px, 10vw, 130px);
  width: clamp(30px, 4.8vw, 46px);
  opacity:.6;
}
.hero__star--left-three {
  top: clamp(150px, 15vw, 250px);
  left: clamp(12px, 8vw, 90px);
  width: clamp(26px, 4vw, 40px);
  opacity:.55;
}
@media (max-width: 900px){
  .hero__stars-group--right {
    right: clamp(80px, 20vw, 160px);
  }
  .hero__stars-group--left {
    left: clamp(-4px, 10vw, 40px);
  }
  .hero__star--badge {
    left: clamp(58%, 60vw, 65%);
  }
}
@media (max-width: 768px){
  .hero__stars-group--right {
    top: clamp(110px, 32vw, 220px);
    right: clamp(10px, 24vw, 120px);
    width: clamp(70px, 26vw, 120px);
  }
  .hero__stars-group--left {
    top: clamp(140px, 34vw, 260px);
    left: clamp(6px, 16vw, 70px);
    width: clamp(80px, 30vw, 130px);
  }
  .hero__star--left-one {
    top: clamp(60px, 20vw, 140px);
    left: clamp(6px, 10vw, 40px);
    width: clamp(36px, 10vw, 60px);
  }
  .hero__star--left-two {
    top: clamp(120px, 28vw, 200px);
    left: clamp(24px, 14vw, 70px);
    width: clamp(28px, 8vw, 40px);
  }
  .hero__star--left-three {
    top: clamp(180px, 36vw, 240px);
    left: clamp(0px, 12vw, 60px);
    width: clamp(24px, 7vw, 36px);
  }
  .hero__star--badge {
    top: clamp(230px, 46vw, 320px);
    left: 54%;
  }
  .hero__star--under-image {
    left: clamp(40%, 50vw, 58%);
    bottom: clamp(80px, 22vw, 160px);
    width: clamp(22px, 6vw, 32px);
  }
}

.site-nav {
  display:flex; align-items:center; justify-content:space-between;
  position: relative;
  z-index: 10;
}

.site-nav__logo img {
  width: 92px; height:auto;
}

.site-nav__links {
  list-style:none; display:flex; gap:32px; padding:0; margin:0;
  position: relative;
  z-index: 5;
}

.site-nav__links a,
.site-nav__links .menu-link {
  font: 600 16px/22px var(--font-body);
  color: var(--white);
  text-transform: capitalize;
  transition: color .25s ease, opacity .25s ease;
}
.site-nav__links a:hover { color: var(--orange); text-decoration:none; }

/* nav brush highlight */
.site-nav__links .menu-link{
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  z-index: 0;
}
.site-nav__links .menu-link::before{
  content:"";
  position:absolute;
  inset:-68px -92px;
  opacity:0;
  transform:scale(.9);
  transform-origin:center;
  transition:opacity .22s ease, transform .22s ease;
  z-index:-1;
  background:url("assets/nav-brush.png") center/100% 100% no-repeat;
  filter:drop-shadow(0 16px 26px rgba(237, 146, 25, .24));
}
.site-nav__links .menu-link:is(:hover, :focus-visible, .is-active){
  color:#fff;
  text-decoration:none;
}
.site-nav__links .menu-link:is(:hover, :focus-visible, .is-active)::before{
  opacity:1;
  transform:none;
}
.site-nav__links .menu-link[aria-current="page"]{
  color:#fff;
}
.site-nav__links .menu-link[aria-current="page"]::before{
  opacity:1;
  transform:none;
}

.site-nav__toggle {
  display:none;
  align-items:center;
  justify-content:center;
  gap: var(--space-2);
}
.site-nav__toggle-lines {
  position: relative;
  display:inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
}
.site-nav__toggle-lines::before,
.site-nav__toggle-lines::after {
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background: inherit;
  border-radius:inherit;
}
.site-nav__toggle-lines::before {
  transform: translateY(-6px);
}
.site-nav__toggle-lines::after {
  transform: translateY(6px);
}

.hero .site-nav {
  margin-bottom: var(--space-12);
}

@media (max-width: 768px){
  .hero .site-nav {
    margin-bottom: var(--space-8);
  }
}

/* ===============================
   HERO
   =============================== */
.hero {
  position: relative;
  background: linear-gradient(4000deg, var(--mint-300) 0%, var(--mint-500) 100%);
  overflow:hidden;
  padding: 10px 0 180px;
}

.hero__grid {
  display:grid;
  grid-template-columns: 1fr;
  align-items:center; gap:48px;
  max-width: var(--max-width);
  margin:0 auto; padding: 0 var(--gutter);
}

.hero__media {
  min-height: 420px;
  display:flex; align-items:center; justify-content:center;
}
.hero__media-link {
  display:inline-flex;
  transition: transform .2s ease;
}
.hero__media-link:focus-visible,
.hero__media-link:hover {
  transform: translateY(-4px);
}
.hero__media img {
  width:min(560px, 100%);
  filter: drop-shadow(0 24px 48px rgba(10, 28, 0, 0.35));
  transform: translateY(6px);
}

.hero__copy h1 {
  margin: 0 0 8px;
  color: var(--white);
  text-shadow: 0 16px 40px rgba(107,164,68,.75);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
}
.hero__badge {
  display:inline-flex;
  align-items:center;
  margin-bottom: 12px;
  padding: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: rgba(225, 245, 196, 0.82);;
  text-shadow: 0 10px 24px rgba(36, 60, 36, .35);
}
.hero__lead.ar {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 20px; line-height: 28px;
  color: rgba(255,255,255,.95);
  margin: 8px 0 0;
}
.hero__lead {
  font-family: var(--font-heading);
  font-weight: 400; font-size: 16px; line-height: 21px;
  color: var(--white);
  opacity: 1; margin-top: 12px; max-width: 52ch;
}
.hero__tags { display:flex; flex-wrap:wrap; gap:12px; list-style:none; padding:0; margin: 20px 0 0; }
.hero__tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 0.95rem/1.2 var(--font-body);
  color: #359c18;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  background: rgba(225, 245, 196, 0.82);
  box-shadow: inset 0 0 0 1px rgba(82, 129, 64, 0.01), 0 8px 18px rgba(55, 94, 47, 0.10);
  white-space: nowrap;
}

.hero__wave {
  position:absolute; left:0; right:0; bottom:-1px; width:100%; height:180px;
}
.hero__wave path { fill: var(--mint-100); }

/* Desktop two-columns */
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__media { display:flex; min-height: 0; }
}

/* ===============================
   Sections (generic)
   =============================== */
main section { padding: var(--space-16) 0; position: relative; }
.section-lead { max-width: 48ch; color: var(--ink-600); margin-top:.5rem; margin-bottom: var(--space-10); }

/* Newsletter */
.newsletter {
  position: relative;
  display:flex;
  justify-content:center;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  background: url("assets/Tracé 40310.png") center calc(-1 * var(--space-4)) / 140% 120% no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 56px rgba(223, 226, 119, 0.3);
  min-height: 706px;
}
.newsletter .wrap {
  width: min(100% - 2rem, 1120px);
}
.newsletter__card {
  position:relative;
  display:grid;
  gap: var(--space-8);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.newsletter__content {
  display:grid;
  gap: var(--space-6);
}
.newsletter__media {
  display:flex;
  align-items:center;
  justify-content:center;
}
@media (min-width: 960px){
  .newsletter__card {
    grid-template-columns: minmax(0, 500px) minmax(0, 450px);
    align-items: center;
    padding: var(--space-12);
    column-gap: var(--space-12);
  }

  .newsletter__content {
    position: relative;
    z-index: 2;
  }

  .newsletter__media {
    grid-column: 2;
  }
}
.newsletter__eyebrow {
  display:inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.newsletter__copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  color: #424242;
  text-shadow: 0 16px 40px rgba(66, 66, 66, 0.22);
}
.newsletter__copy p {
  margin: var(--space-4) 0 0;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 21px;
  color: #424242;
}
.newsletter__form {
  display:grid;
  gap: var(--space-5);
}
.newsletter__row {
  display:grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.newsletter__field {
  display:grid;
}
.newsletter__field--full {
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
.newsletter__form input,
.newsletter__form select {
  width: 100%;
  padding:.95rem 1.6rem;
  border-radius: 60px;
  border: none;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 21px;
  background: #F5F7ED;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.16);
  color: #424242;
}
.newsletter__form input::placeholder { color: rgba(66,66,66,.6); }
.newsletter__label {
  margin-bottom: var(--space-2);
  font-weight: 600;
  font-size: 14px;
  color: rgba(66,66,66,.8);
}
.newsletter__select {
  position:relative;
}
.newsletter__select::after {
  content:"";
  position:absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  pointer-events:none;
}
.newsletter__select select {
  appearance: none;
  background: linear-gradient(90deg, #F2AD20 0%, #E79300 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(231, 147, 0, 0.25);
  padding-right: 3.5rem;
  cursor: pointer;
}
.newsletter__select option {
  color: #424242;
  background: #fff;
}
.newsletter__hint {
  margin: 0;
  font-size: 13px;
  color: rgba(66,66,66,.75);
  font-family: var(--font-heading);
}
.newsletter__status {
  margin: var(--space-2) 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(45,60,60,0.8);
}
.newsletter__status[data-state="success"] {
  color: var(--green);
}
.newsletter__status[data-state="error"] {
  color: #c0392b;
}
.newsletter__status[data-state="pending"] {
  color: var(--orange-600);
}
.newsletter__checkbox {
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #424242;
}
.newsletter__checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.newsletter__submit {
  justify-self:center;
  margin-top: var(--space-4);
  padding: 1.05rem 3.2rem;
  border-radius: 60px;
  border: none;
  background: linear-gradient(90deg, #F2AD20 0%, #E79300 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 36px rgba(231, 147, 0, 0.35);
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.newsletter__submit:hover,
.newsletter__submit:focus {
  transform: translateY(-2px);
  box-shadow: 0 26px 42px rgba(231, 147, 0, 0.4);
}
.newsletter__illustration {
  width: clamp(320px, 36vw, 460px);
  max-width: 544px;
  justify-self: center;
  align-self: center;
  pointer-events:none;
  filter: drop-shadow(0 24px 48px rgba(231, 147, 0, 0.22));
  position: relative;
  margin: 0;
}
@media (max-width: 768px){
  .newsletter {
    padding: var(--space-12) 0 var(--space-16);
    background-size: 190% 150%;
    background-position: center top;
    min-height: auto;
  }
  .newsletter .wrap {
    width: min(100% - 2rem, var(--max-width));
  }
  .newsletter__card {
    padding: var(--space-8);
    padding-bottom: var(--space-12);
    grid-template-columns: 1fr;
  }
  .newsletter__submit {
    width: min(320px, 100%);
    margin-bottom: var(--space-2);
  }
  .newsletter__media { display:none; }
}

/* Features */
.features {
  position:relative;
}
.features__layout {
  display:grid;
  gap: var(--space-10);
  align-items:center;
}
@media (min-width: 960px){
  .features__layout {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: var(--space-12);
  }
}
.features__media {
  margin:0;
  position: relative;
  width: 100%;
}
.features__halo {
  position:absolute;
  width: 578px;
  height: 567px;
  background: url("assets/Union 6.png") center/contain no-repeat;
  border: 1px solid rgba(107,164,68,0.4);
  opacity: 0.4;
  transform: rotate(40deg);
  top: -60px;
  left: -40px;
  mix-blend-mode: multiply;
  pointer-events:none;
}
.features__media img {
  display: block;
  width: 100%;
  max-width: none;
  border-radius: 20px;
  box-shadow: 0 22px 42px rgba(107, 164, 68, 0.24);
}
.features__content {
  display:grid;
  gap: var(--space-5);
}
.features__eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: #F2AD20;
  text-transform: capitalize;
}
.features__content h2 {
  margin:0;
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.1;
  color: var(--ink);
}
.features__lead {
  margin:0;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 21px;
  color: #424242;
  max-width: 48ch;
}
.features__list {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: var(--space-4);
}
.features__item {
  display:flex;
  gap: var(--space-4);
  align-items:flex-start;
}
.features__item img {
  width:56px;
  height:56px;
  flex-shrink:0;
}
.features__item h3 {
  margin:0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 36px;
  color: #424242;
}
.features__item p {
  margin:.35rem 0 0;
  color: var(--ink-600);
}

/* Key points strip */
.key-points {
  position: relative;
  padding: var(--space-16) 0;
  isolation: isolate;
}
.key-points::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent url("assets/Groupe de masques 6.svg") center/1120px 310px no-repeat;
  mix-blend-mode: luminosity;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.key-points__panel {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange-soft) 0%, rgba(242, 173, 32, 0.35) 100%);
  box-shadow: 0 32px 64px rgba(242, 173, 32, 0.16);
  position: relative;
  z-index: 1;
  justify-items: center;
}
@media (min-width: 640px) {
  .key-points__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .key-points__panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-8);
  }
}
.key-point {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  align-content: start;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  width: min(100%, 230px);
  min-height: 191px;
  background: #FFFFFF;
  border-radius: 30px;
  box-shadow: 0 12px 24px rgba(107, 164, 68, 0.12);
}
.key-point__icon {
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.key-point__icon--kids {
  width: 126px;
  height: 116px;
  background-image: url("assets/illustrationbebe.svg");
}
.key-point__icon--cards {
  width: 114px;
  height: 114px;
  background-image: url("assets/illustrationcartes.svg");
}
.key-point__icon--pedagogy {
  width: 128px;
  height: 118px;
  background-image: url("assets/illustrationdiplome.svg");
}
.key-point__icon--quality {
  width: 89px;
  height: 120px;
  background-image: url("assets/illustrationcertificat.svg");
}
.key-point h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--orange);
}
.key-point p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: rgba(45, 60, 60, 0.75);
}

/* Method journey */
.method {
  position: relative;
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #f8fbe8 0%, #fdf8ea 100%);
  overflow: hidden;
}
.method::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto;
  height: 420px;
  background: radial-gradient(circle at center, rgba(242, 173, 32, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.method .wrap {
  position: relative;
  z-index: 1;
}
.method__intro {
  max-width: 640px;
  text-align: center;
  margin: 0 auto var(--space-16);
  display: grid;
  gap: var(--space-4);
}
.method__canvas {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  z-index: 0;
}
.method__canvas::after {
  content: "";
  position: absolute;
  top: 6%;
  left: 8%;
  width: min(100%, 989px);
  height: min(100%, 690px);
  background: transparent url("assets/Groupe 2181.svg") center/contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.method__path {
  position: absolute;
  inset: -12% -20% -10% -25%;
  background: url("assets/Tracé 40046.svg") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.55;
  z-index: 1;
}
.method__dot {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 18px 30px rgba(71, 117, 45, 0.22);
  z-index: 2;
}
.method__dot--one {
  top: 18%;
  left: 58%;
  background: linear-gradient(140deg, #f7b84b 0%, #f2994a 100%);
}
.method__dot--two {
  top: 42%;
  left: 36%;
  background: linear-gradient(140deg, #a5c48f 0%, #6ba444 100%);
}
.method__dot--three {
  bottom: 12%;
  left: 62%;
  background: linear-gradient(140deg, #f2ad20 0%, #e79300 100%);
}
.method-step {
  position: absolute;
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  max-width: 240px;
  color: var(--ink);
  text-align: left;
  z-index: 3;
}
.method-step--one {
  top: 12%;
  right: 12%;
}
.method-step--two {
  top: 36%;
  left: 10%;
}
.method-step--three {
  bottom: 10%;
  left: 42%;
}
.method-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font: 700 24px/1 var(--font-heading);
  color: var(--white);
  background: linear-gradient(140deg, var(--orange) 0%, var(--orange-600) 100%);
  box-shadow: 0 16px 32px rgba(242, 173, 32, 0.35);
}
.method-step--two .method-step__badge {
  background: linear-gradient(140deg, var(--green) 0%, var(--green-700) 100%);
  box-shadow: 0 16px 32px rgba(71, 117, 45, 0.35);
}
.method-step--three .method-step__badge {
  background: linear-gradient(140deg, #f2994a 0%, #f2ad20 100%);
  box-shadow: 0 16px 32px rgba(242, 157, 65, 0.35);
}
.method-step__media { 
  position: relative;
  width: 220px;
  height: 160px;
  border-radius: 54% 46% 60% 40% / 55% 45% 55% 45%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  
}
.method-step--one .method-step__media {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 35%, rgba(242, 173, 32, 0.2) 100%);
}
.method-step--two .method-step__media {
  transform: rotate(-6deg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 25%, rgba(128, 186, 85, 0.2) 100%);
}
.method-step--three .method-step__media {
  transform: rotate(4deg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 25%, rgba(242, 173, 32, 0.25) 100%);
}
.method-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.method-step__copy {
  display: grid;
  gap: .25rem;
}
.method-step__eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.method-step h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--ink);
}
.method-step p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-600);
}
.method__character {
  position: absolute;
  right: -3%;
  bottom: -8%;
  width: 220px;
  max-width: 35%;
  filter: drop-shadow(0 24px 48px rgba(71, 117, 45, 0.18));
  z-index: 2;
}
@media (max-width: 960px) {
  .method__canvas {
    min-height: 690px;
  }
  .method__canvas::after {
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 85%;
  }
  .method__dot--one {
    top: 16%;
    left: 30%;
  }
  .method__dot--two {
    top: 46%;
    left: 50%;
  }
  .method__dot--three {
    bottom: 18%;
    left: 70%;
  }
  .method-step--one {
    top: 8%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    justify-items: center;
  }
  .method-step--two {
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    justify-items: center;
  }
  .method-step--three {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    justify-items: center;
  }
  .method-step__media {
    width: 200px;
    height: 150px;
  }
  .method__character {
    left: 50%;
    right: auto;
    bottom: -4%;
    transform: translateX(-50%);
    width: 180px;
  }
}

/* Accordions/Benefits */
.accordions {
  position: relative;
  padding: var(--space-20) 0;
  background: #F3F6E7;
  overflow: hidden;
  isolation: isolate;
}
.accordions::before {
  content: "";
  position: absolute;
  top: -6%;
  left: 50%;
  width: 1444px;
  height: 678px;
  background: transparent url("assets/Groupe 2181.svg") center/contain no-repeat;
  transform: translateX(-50%) scaleX(-1);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.accordions .wrap {
  position: relative;
  z-index: 1;
}
.benefits__grid {
  display:grid; gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
}
.benefit {
  padding: var(--space-6); border-radius: var(--radius-md);
  background: var(--surface); text-align:center; box-shadow: 0 8px 24px rgba(34,57,51,.12);
}

/* Gallery */
.gallery__head {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: var(--space-4);
}
.gallery__grid {
  margin-top: var(--space-6);
  display:grid; gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.gallery__item { border-radius: var(--radius-md); overflow:hidden; background: var(--surface); box-shadow: var(--shadow-soft); }
.gallery__item figcaption { padding: var(--space-4); font-weight:500; }

/* Testimonials */
.testimonials {
  background: linear-gradient(165deg, rgba(255,238,204,.5) 0%, rgba(247,249,245,0) 70%);
}
.testimonials__head {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.testimonials__highlight {
  display:grid; gap: var(--space-6); align-items:center;
  padding: var(--space-6); border-radius: var(--radius-md);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.testimonials__avatar {
  width:96px; height:96px; border-radius:50%; object-fit:cover;
}
.testimonials__avatars { list-style:none; display:flex; gap: var(--space-4); padding:0; margin: var(--space-6) 0 0; }
.testimonials__avatars img {
  width:72px; height:72px; border-radius:50%; object-fit:cover; box-shadow: var(--shadow-soft);
}

/* Product */
.product__content {
  display:grid; gap: var(--space-10); align-items:center;
  padding: var(--space-10); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #E7F5E4 0%, #F9F7E6 100%);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 960px){
  .product__content { grid-template-columns: 1fr 1fr; }
}
.product__copy ul {
  list-style:none; padding:0; margin: 0 0 var(--space-6);
  display:grid; gap:.5rem;
}
.product__copy li::before { content: "✔"; margin-right:.5rem; color: var(--orange); }

/* FAQ */
.faq details {
  border-radius: var(--radius-md); background: var(--surface);
  padding: var(--space-4) var(--space-6); box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-4);
}
.faq summary { cursor:pointer; font-weight:600; }

/* Team */
.team__grid { display:grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); }
.team__member { text-align:center; }
.team__member img { width:100%; border-radius: var(--radius-md); object-fit:cover; box-shadow: var(--shadow-soft); }
.team__member h3 { font-family: var(--font-heading); margin:.75rem 0 .25rem; }

/* ===============================
   Footer
   =============================== */
.footer {
  position: relative;
  color: var(--ink);
   padding: var(--space-16) 0 calc(var(--footer-wave-space) + var(--footer-copy-h));
  overflow: hidden;
  background: #FFFFFF url('assets/vaguefooter.png') center bottom / 100% auto no-repeat;
  margin-top: auto;
    display: block; 
}

.footer__decor {
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}
.footer__papillon {
  position:absolute;
  top:10px;
  left:clamp(25%, 32vw, 40%);
  width:180px;
  transform:translateX(-50%);
  pointer-events:none;
  z-index:2;
}
.footer__papillon img {
  width:100%;
  height:auto;
  display:block;
}

.footer__butterfly {
  position:absolute; top:-20px; left:50%; transform:translateX(-50%);
  width: clamp(120px, 20vw, 160px); opacity:.85;
    z-index: 1;
}
.footer__content {
  min-height: var(--footer-content-min_h, var(--footer-content-min-h)); /* fallback si renommage */
  gap: var(--space-10);
  display: flex;                 /* déjà présent, on garde */
  align-items: center;           /* centre verticalement tous les colonnes */
  justify-content: space-between;/* on garde l’espacement horizontal entre colonnes */
}
.footer__content > * {
  flex:1 1 220px;
}
.footer__brand {
  text-align:left;
  margin-top: var(--space-6);
  margin-left: -var(--space-4);
}
.footer__logo { width:120px; margin-bottom: var(--space-4); }
.footer__contact p, .footer__contact a { margin:0; color:inherit; font-weight:500; }
.footer__contact p + p { margin-top:.4rem; }
.footer__nav h3 { margin:0 0 .6rem; font-size:1rem; color: var(--ink); }
.footer__nav ul { list-style:none; padding:0; margin:0; display:grid; gap:.45rem; font-weight:500; }
.footer__cta { display:grid; gap:.6rem; justify-items:start; }
.footer__cta-title { margin:0; font-weight:700; color: var(--ink); }
.footer__cta-button {
  display:inline-flex; align-items:center; justify-content:center;
  padding:.5rem 1.4rem; border-radius:999px; background:#F5A623; color:#fff; font-weight:600; border:none;
  box-shadow: 0 10px 24px rgba(245,166,35,.35); cursor:pointer;
}
.footer__form { width:100%; }
.footer__input {
  display:flex; align-items:center; gap:.5rem; background:#fff; border-radius:999px;
  padding:.3rem; box-shadow: 0 12px 24px rgba(34,57,51,.1);
}
.footer__input input {
  flex:1; padding:.55rem .9rem; border:none; border-radius:999px; font: inherit; color: var(--ink);
}
.footer__input input::placeholder { color: rgba(45,60,60,.6); }
.footer__input-button {
  width:40px; height:40px; border-radius:50%; border:none; background:#F5A623; color:#fff; font-weight:700; cursor:pointer;
}
.footer__status {
  margin: .5rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(45,60,60,0.75);
}
.footer__status[data-state="success"] {
  color: var(--green);
}
.footer__status[data-state="error"] {
  color: #c0392b;
}
.footer__status[data-state="pending"] {
  color: var(--orange-600);
}
.footer__social { list-style:none; display:flex; gap:.75rem; padding:0; margin:.3rem 0 0; }
.footer__social a {
  display:inline-flex; width:32px; height:32px; border-radius:50%; align-items:center; justify-content:center;
  background: rgba(245,166,35,.15); color:#F5A623; font-weight:700;
}
.footer__copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;                /* au-dessus de la vague/ décor */
  min-height: var(--footer-copy-h);
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF;
  border-top: 1px solid rgba(45,60,60,.08); /* optionnel : petite séparation */
}

.footer .footer__brand .footer__logo{
  display:block;
  position: relative;                     /* permet top/left/transform */
  transform: translate(var(--footer-logo-shift-x), var(--footer-logo-shift-y));
}

/* Footer stacking on small screens */
@media (max-width: 768px){
  .site-nav {
    position: relative;
    align-items: flex-start;
  }
  .site-nav__links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    gap: var(--space-2);
    min-width: min(240px, calc(100vw - 2rem));
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: rgba(32, 62, 55, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: none;
  }
  .site-nav__links.is-open {
    display: flex;
  }
  .site-nav__links .menu-link {
    width: 100%;
    padding: var(--space-3) var(--space-4);
  }
  .site-nav__links a,
  .site-nav__links .menu-link {
    color: #fff;
  }
  .site-nav__toggle {
    display:inline-flex; align-items:center; justify-content:center;
    padding:.5rem .75rem; border-radius:8px; border:1px solid transparent; background:transparent;
  }
  .hero { text-align:center; }
  .footer__content { flex-direction:column; text-align:center; }
  .footer__brand, .footer__contact, .footer__nav, .footer__cta { text-align:center; }
  .footer__logo {
    margin: 0 auto var(--space-4);
     }
  .footer__cta { justify-items:center; }
  .footer__social { justify-content:center; }
  .footer__content{
    justify-content: center;     /* centre verticalement la pile */
    gap: var(--space-5);         /* un peu d’air entre les blocs */
    min-height: auto;
  }
   .footer .footer__brand .footer__logo{
    margin: 0 0 var(--space-4) !important;      /* annule margin:0 auto */
    transform: translate(-16px, 10px);          /* décalage un peu plus doux en mobile */
  }
  .footer__brand p {
    margin-top: 0;
  }
}
