/* ═══════════════════════════════════════════════════════════════════════
   V251.2.151.82 — HOME : BLOC « ENFANT / FAMILLE » — FOND OLIVE
   Refonte complète du premier bloc de reconnaissance : deux fiches papier
   détaillées, dix repères lisibles et affichage intégral sans carrousel.
   ═══════════════════════════════════════════════════════════════════════ */
#page-home .home-fit-v251-2-94 {
  position: relative;
  isolation: isolate;
  padding: clamp(74px, 7vw, 104px) 0 clamp(72px, 7vw, 102px);
  overflow: hidden;
  background: #E3DFCE;
}
#page-home .home-fit-v251-2-94::before,
#page-home .home-fit-v251-2-94::after {
  content: none;
}

#page-home .home-fit-wave-in-v15182 {
  background: #E3DFCE;
}
#page-home .home-fit-wave-out-v15182 {
  background: #E3DFCE;
}
#page-home .home-fit-wave-in-v15182 svg,
#page-home .home-fit-wave-out-v15182 svg {
  display: block;
  width: 100%;
}
#page-home .home-fit-wave-in-v15182 path {
  fill: #F7F3EC;
}
#page-home .home-fit-wave-out-v15182 path {
  fill: #F7F3EC;
}
#page-home .home-fit-icon-defs-v251-2-94 {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
#page-home .home-fit-head-v251-2-94 {
  max-width: 940px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  padding: 0 28px;
  text-align: center;
}
#page-home .home-fit-head-v251-2-94 h2 {
  margin: 0 0 18px;
  color: var(--vert-fonce, #214d38);
  font-family: 'Nunito', sans-serif;
  font-size: clamp(27px, 2.35vw, 33px) !important;
  font-weight: 900 !important;
  line-height: 1.24 !important;
  letter-spacing: -.015em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.64);
}

#page-home .home-fit-head-v251-2-94 p {
  max-width: 720px;
  margin: 0 auto;
  color: #3f4e45;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.65;
  text-wrap: balance;
}
#page-home .home-fit-cards-v251-2-94 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
  width: min(1160px, calc(100% - 96px));
  margin: 0 auto;
  align-items: stretch;
}
#page-home .home-fit-card-v251-2-94 {
  --fit-accent: #758f65;
  --fit-icon-bg: #e7ecd8;
  position: relative;
  min-width: 0;
  overflow: visible;
  isolation: isolate;
  padding: clamp(20px, 1.9vw, 30px) clamp(18px, 1.95vw, 30px) clamp(23px, 2.15vw, 32px);
  border: 1px solid rgba(176,164,143,.52);
  border-radius: 26px 19px 27px 21px / 20px 27px 22px 29px;
  background-color: #fbf7ee;
  background-image:
    url('../images/aide-paper-texture-v251-2-71.webp'),
    url('../images/paper-fibres-v251-2-8.webp'),
    radial-gradient(ellipse at 18% 5%, rgba(255,255,255,.82) 0 14%, transparent 42%),
    radial-gradient(ellipse at 86% 95%, rgba(126,105,75,.045) 0 12%, transparent 38%),
    linear-gradient(103deg, rgba(255,255,255,.45), transparent 24% 74%, rgba(139,126,106,.035)),
    linear-gradient(180deg, #fffdf8 0%, #faf6ed 52%, #f5f0e6 100%);
  background-size: 520px 520px, 390px 390px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-blend-mode: multiply, multiply, screen, multiply, soft-light, normal;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(109,91,65,.12),
    0 2px 0 rgba(174,162,141,.46),
    0 5px 9px -7px rgba(38,59,45,.34),
    0 24px 42px -28px rgba(38,59,45,.35),
    0 12px 20px -18px rgba(38,59,45,.28);
}
#page-home .home-fit-card-v251-2-94::before,
#page-home .home-fit-card-v251-2-94::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
#page-home .home-fit-card-v251-2-94::before {
  z-index: 0;
  inset: 5px 7px 6px;
  border-radius: inherit;
  opacity: .52;
  background:
    radial-gradient(circle at 7% 13%, rgba(93,77,54,.08) 0 .7px, transparent 1.2px),
    radial-gradient(circle at 68% 26%, rgba(93,77,54,.05) 0 .7px, transparent 1.2px),
    radial-gradient(circle at 37% 82%, rgba(255,255,255,.52) 0 1px, transparent 1.7px);
  background-size: 48px 43px, 63px 57px, 77px 69px;
}
#page-home .home-fit-card-v251-2-94::after {
  z-index: 0;
  left: 20px;
  right: 18px;
  bottom: -2px;
  height: 7px;
  opacity: .42;
  background: linear-gradient(90deg, transparent 0 2%, rgba(126,111,89,.35) 7%, rgba(250,247,239,.8) 16%, rgba(133,117,93,.26) 28%, rgba(250,247,239,.76) 41%, rgba(126,111,89,.28) 58%, rgba(250,247,239,.82) 73%, rgba(126,111,89,.31) 88%, transparent 98%);
  clip-path: polygon(0 48%,7% 34%,16% 54%,27% 31%,38% 50%,51% 36%,64% 54%,77% 34%,88% 49%,100% 28%,100% 100%,0 100%);
}
#page-home .home-fit-card-family-v251-2-94 {
  --fit-accent: #cf7e6a;
  --fit-icon-bg: #f4ddd6;
}
#page-home .home-fit-tape-v251-2-94 {
  position: absolute;
  z-index: 6;
  top: -14px;
  left: 16%;
  width: 74px;
  height: 31px;
  border: 1px solid rgba(70,78,57,.08);
  border-radius: 3px 5px 4px 2px;
  opacity: .9;
  transform: rotate(-2.5deg);
  background:
    url('../images/paper-fibres-v251-2-8.webp'),
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 26% 72%, rgba(52,66,45,.1)),
    #879f7c;
  background-size: 160px 160px, 100% 100%, 100% 100%;
  background-blend-mode: soft-light, multiply, normal;
  box-shadow: 0 2px 4px rgba(38,59,45,.18), inset 0 1px rgba(255,255,255,.24);
  clip-path: polygon(2% 9%, 98% 2%, 100% 84%, 94% 100%, 5% 95%, 0 17%);
}
#page-home .home-fit-card-family-v251-2-94 .home-fit-tape-v251-2-94 {
  left: auto;
  right: 15%;
  transform: rotate(2.2deg);
  background-color: #d8a09a;
}
#page-home .home-fit-card-head-v251-2-94,
#page-home .home-fit-list-v251-2-94 {
  position: relative;
  z-index: 2;
}
#page-home .home-fit-card-head-v251-2-94 {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(180px, .88fr);
  align-items: center;
  gap: clamp(14px, 1.7vw, 22px);
  min-height: clamp(148px, 13.5vw, 185px);
  margin-bottom: 10px;
}
#page-home .home-fit-illustration-v251-2-94 {
  min-width: 0;
  align-self: end;
}
#page-home .home-fit-illustration-v251-2-94 img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 185px;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(.94) contrast(1.02);
}
#page-home .home-fit-card-heading-v251-2-94 {
  align-self: center;
  padding: 8px 0 0;
}
#page-home .home-fit-card-heading-v251-2-94 h3 {
  margin: 0 0 9px;
  color: #214d38;
  font-family: 'Pacifico', cursive;
  font-size: clamp(25px, 2.25vw, 33px);
  font-weight: 400;
  line-height: 1.22;
}
#page-home .home-fit-card-heading-v251-2-94 p {
  margin: 0;
  color: #37443c;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45;
}
#page-home .home-fit-card-heading-v251-2-94 > span {
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 13px;
  border-radius: 50%;
  transform: rotate(-2deg);
  background: var(--fit-accent);
  opacity: .88;
}
#page-home .home-fit-list-v251-2-94 {
  display: grid;
  gap: 8px;
}
#page-home .home-fit-item-v251-2-94 {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: stretch;
  min-height: 70px;
  overflow: hidden;
  border: 1px solid rgba(177,164,141,.42);
  border-radius: 15px 13px 15px 12px;
  background:
    radial-gradient(ellipse at 9% 10%, rgba(255,255,255,.78), transparent 43%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(249,245,237,.79));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 1px rgba(117,101,77,.08),
    0 6px 11px -10px rgba(38,59,45,.3);
}
#page-home .home-fit-item-icon-v251-2-94 {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px dashed color-mix(in srgb, var(--fit-accent) 55%, transparent);
}
#page-home .home-fit-item-icon-v251-2-94::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--fit-icon-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
#page-home .home-fit-item-icon-v251-2-94 svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: #183f2c;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#page-home .home-fit-item-v251-2-94 p {
  align-self: center;
  margin: 0;
  padding: 9px 12px 9px 14px;
  color: #344039;
  font-size: clamp(12.5px, 1.04vw, 14.2px);
  line-height: 1.34;
}
#page-home .home-fit-item-v251-2-94 strong,
#page-home .home-fit-item-v251-2-94 span {
  display: block;
}
#page-home .home-fit-item-v251-2-94 strong {
  margin-bottom: 3px;
  color: #1e2923;
  font-size: 1.06em;
  font-weight: 900;
  line-height: 1.22;
}
#page-home .home-fit-item-v251-2-94 p span {
  color: #4b554f;
}
#page-home .home-fit-cta-v251-2-94 {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 22px auto 0;
  text-align: center;
}

@media (max-width: 1180px) {
  #page-home .home-fit-cards-v251-2-94 { width: min(1080px, calc(100% - 44px)); gap: 22px; }
  #page-home .home-fit-card-v251-2-94 { padding-left: 22px; padding-right: 22px; }
  #page-home .home-fit-card-head-v251-2-94 { grid-template-columns: 1fr .88fr; gap: 14px; }
  #page-home .home-fit-item-v251-2-94 { grid-template-columns: 64px minmax(0,1fr); }
}
@media (max-width: 900px) {
  #page-home .home-fit-cards-v251-2-94 {
    grid-template-columns: minmax(0, 1fr);
    width: min(720px, calc(100% - 40px));
    gap: 38px;
  }
  #page-home .home-fit-card-head-v251-2-94 { grid-template-columns: minmax(0,1.15fr) minmax(210px,.85fr); }
  #page-home .home-fit-item-v251-2-94 { grid-template-columns: 78px minmax(0,1fr); }
}
@media (max-width: 600px) {
  #page-home .home-fit-v251-2-94 { padding: 58px 0 66px; }
  #page-home .home-fit-head-v251-2-94 { padding: 0 17px; margin-bottom: 31px; }
  #page-home .home-fit-head-v251-2-94 h2 { margin-bottom: 15px; font-size: clamp(24px, 7.4vw, 29px) !important; line-height: 1.28 !important; }
  #page-home .home-fit-head-v251-2-94 p { font-size: 14.5px; line-height: 1.58; }
  #page-home .home-fit-cards-v251-2-94 { width: calc(100% - 24px); gap: 34px; }
  #page-home .home-fit-card-v251-2-94 { padding: 20px 13px 24px; border-radius: 20px 15px 22px 17px / 17px 22px 18px 24px; }
  #page-home .home-fit-tape-v251-2-94 { width: 60px; height: 25px; top: -11px; }
  #page-home .home-fit-card-head-v251-2-94 {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    min-height: 0;
    margin-bottom: 15px;
  }
  #page-home .home-fit-illustration-v251-2-94 { width: min(100%, 420px); margin: 0 auto; }
  #page-home .home-fit-illustration-v251-2-94 img { max-height: 190px; }
  #page-home .home-fit-card-heading-v251-2-94 { padding: 0 7px 2px; text-align: center; }
  #page-home .home-fit-card-heading-v251-2-94 h3 { font-size: 27.5px; margin-bottom: 6px; }
  #page-home .home-fit-card-heading-v251-2-94 p { font-size: 14.5px; }
  #page-home .home-fit-card-heading-v251-2-94 > span { margin: 10px auto 0; }
  #page-home .home-fit-list-v251-2-94 { gap: 8px; }
  #page-home .home-fit-item-v251-2-94 { grid-template-columns: 58px minmax(0, 1fr); min-height: 74px; border-radius: 13px 11px 13px 10px; }
  #page-home .home-fit-item-icon-v251-2-94::before { width: 41px; height: 41px; }
  #page-home .home-fit-item-icon-v251-2-94 svg { width: 25px; height: 25px; }
  #page-home .home-fit-item-v251-2-94 p { padding: 9px 9px 9px 11px; font-size: 12.8px; line-height: 1.31; }
  #page-home .home-fit-item-v251-2-94 strong { font-size: 1.035em; }
  #page-home .home-fit-cta-v251-2-94 { margin-top: 22px; }
}
@media (max-width: 360px) {
  #page-home .home-fit-head-v251-2-94 h2 { font-size: 23.5px !important; }
  #page-home .home-fit-card-v251-2-94 { padding-left: 10px; padding-right: 10px; }
  #page-home .home-fit-item-v251-2-94 { grid-template-columns: 52px minmax(0,1fr); }
  #page-home .home-fit-item-icon-v251-2-94::before { width: 37px; height: 37px; }
  #page-home .home-fit-item-icon-v251-2-94 svg { width: 23px; height: 23px; }
  #page-home .home-fit-item-v251-2-94 p { padding-left: 8px; padding-right: 7px; font-size: 12.25px; }
}
