/* ==== TARIF, COPIE DE TEST (.lm-t2) : mise en page « fil et verre » ====
   2026-10-22. Meme ambiance que l'Eveil (aurore bleu-vert, verre depoli, Quicksand), sans planetes.
   Signature : « le fil », trois etapes (etude, projet, bilan) reliees par un trait qui se dessine.
   Tout est limite a .lm-t2 ; aucune regle globale. Source : Tarif/propositions-2026-10-22/tarif2.css */
.lm-t2 {
  --t2-ink: #17253D;
  --t2-ink-2: #4A5568;
  --t2-vert: #2F6E52;
  --t2-vert-2: #54B68A;
  --t2-bleu: #0A6F97;
  --t2-evid: #1D5A95;
  --t2-fond: #F3F8FA;
  --t2-verre: rgba(255, 255, 255, .62);
  --t2-verre-bord: rgba(255, 255, 255, .82);
  --t2-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t2-inout: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Haut de page ---------- */
.lm-t2-bande { position: relative; overflow: hidden; background: #fff; }
.lm-t2-bande > .m365-fullbleed__inner { position: relative; z-index: 1; padding-block: 40px 88px; }
.lm-t2-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: center;
  min-height: 520px;
}
.lm-t2-hero::before,
.lm-t2-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  top: -40px;
  bottom: -88px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 200px), transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 200px), transparent 100%);
}
.lm-t2-hero::before {
  background: linear-gradient(95deg, #FFFFFF 0%, #FFFFFF 40%, #EDF4F6 45%, #C0D9E1 50%, #86B6C6 55%, #4B94AA 60%, #1E7995 65%, #0C6E8C 70%, #14307A 100%);
}
.lm-t2-hero::after {
  background:
    radial-gradient(ellipse 30% 52% at 80% 70%, rgba(52, 224, 150, .5), transparent 70%),
    radial-gradient(ellipse 28% 44% at 96% 14%, rgba(80, 150, 255, .5), transparent 70%),
    radial-gradient(ellipse 22% 36% at 66% 26%, rgba(47, 200, 220, .3), transparent 70%);
  animation: lm-t2-aurore 16s ease-in-out infinite alternate;
}
@keyframes lm-t2-aurore {
  from { transform: translateX(-50%) translate(0, 0) scale(1); }
  to   { transform: translateX(-50%) translate(-1.5%, 2%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .lm-t2-hero::after { animation: none; } }

.lm-t2-texte h1 {
  margin: 0 0 20px;
  text-align: left;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--t2-ink);
  letter-spacing: -.01em;
}
.lm-t2-lead { margin: 0 0 8px; font-size: 18px; line-height: 1.55; color: var(--t2-ink-2); max-width: 36em; }
.lm-t2-question { margin: 0 0 28px; font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--t2-ink); max-width: 30em; }
.lm-t2-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 0 0 28px; }
.item-page a.lm-t2-btn,
.item-page a.lm-t2-btn:visited,
.item-page a.lm-t2-btn:hover { color: #fff; text-decoration: none; }
.lm-t2-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2FA3CC, #0A6F97 55%, #0B4F6E);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 24px -12px rgba(11, 79, 110, .7);
}
.lm-t2-btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--t2-out);
}
.lm-t2-btn::after { content: "↓"; transition: transform .25s var(--t2-out); }
.lm-t2-btn:focus-visible { outline: 3px solid var(--t2-ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .lm-t2-btn:hover::before { left: 120%; }
  .lm-t2-btn:hover::after { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) { .lm-t2-btn::before { display: none; } }
.item-page a.lm-t2-lien,
.item-page a.lm-t2-lien:visited { color: var(--t2-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: rgba(10, 111, 151, .45); }

.lm-t2-engage { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lm-t2-engage li {
  margin: 0;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 6px 18px -12px rgba(23, 37, 61, .35);
  font-size: 14px;
  line-height: 1.3;
  color: var(--t2-ink);
  list-style: none;
}
.lm-t2-engage li::before { content: "✓"; margin-right: 8px; font-weight: 700; color: var(--t2-vert); }

/* Le fil : trois etapes reliees par un trait qui se dessine */
.lm-t2-verre {
  position: relative;
  padding: 30px 30px 26px;
  border-radius: 28px;
  background: var(--t2-verre);
  border: 1px solid var(--t2-verre-bord);
  box-shadow: 0 30px 60px -30px rgba(10, 40, 90, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
          backdrop-filter: blur(18px) saturate(1.3);
}
.lm-t2-verre__titre { margin: 0 0 22px; font-size: 14px; font-weight: 700; color: var(--t2-ink-2); }
.lm-t2-fil { position: relative; margin: 0; padding: 0; list-style: none; }
.lm-t2-fil::before {
  content: "";
  position: absolute;
  left: 15px; top: 16px; bottom: 34px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--t2-vert-2), var(--t2-bleu) 55%, var(--t2-evid));
  transform-origin: top;
}
.lm-t2-fil li { position: relative; margin: 0 0 22px; padding: 0 0 0 54px; list-style: none; }
.lm-t2-fil li:last-child { margin-bottom: 0; }
.lm-t2-fil li::before {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 25px; height: 25px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--t2-bleu);
}
.lm-t2-fil li:nth-child(1)::before { border-color: var(--t2-vert-2); }
.lm-t2-fil li:nth-child(3)::before { border-color: var(--t2-evid); }
.lm-t2-fil__nom { display: block; font-size: 18px; font-weight: 700; color: var(--t2-ink); line-height: 1.25; }
.lm-t2-fil__txt { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--t2-ink-2); }
.lm-t2-fil__don { display: inline-block; margin-top: 7px; padding: 3px 10px; border-radius: 8px; background: rgba(47, 110, 82, .12); color: var(--t2-vert); font-size: 12.5px; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .lm-t2-texte > * { animation: lm-t2-entre .8s var(--t2-out) both; }
  .lm-t2-texte > *:nth-child(2) { animation-delay: .08s; }
  .lm-t2-texte > *:nth-child(3) { animation-delay: .16s; }
  .lm-t2-texte > *:nth-child(4) { animation-delay: .24s; }
  .lm-t2-texte > *:nth-child(5) { animation-delay: .32s; }
  .lm-t2-verre { animation: lm-t2-verre-entre .9s var(--t2-out) .2s both; }
  .lm-t2-fil::before { animation: lm-t2-trace 1.3s var(--t2-inout) .6s both; }
  .lm-t2-fil li { animation: lm-t2-entre .7s var(--t2-out) both; }
  .lm-t2-fil li:nth-child(1) { animation-delay: .7s; }
  .lm-t2-fil li:nth-child(2) { animation-delay: 1.15s; }
  .lm-t2-fil li:nth-child(3) { animation-delay: 1.6s; }
  .lm-t2-fil li:nth-child(3)::before { animation: lm-t2-pouls 3.2s ease-in-out 2.4s infinite; }
}
@keyframes lm-t2-entre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lm-t2-verre-entre { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lm-t2-trace { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lm-t2-pouls { 0%, 100% { box-shadow: 0 0 0 0 rgba(29, 90, 149, 0); } 50% { box-shadow: 0 0 0 9px rgba(29, 90, 149, .16); } }

/* ---------- Rythme des sections ---------- */
.lm-t2 h2.lm-tarif-center { margin-top: 88px; margin-bottom: 18px; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: var(--t2-ink); }
.lm-t2 h2.lm-tarif-center::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--t2-vert-2), var(--t2-bleu));
}
.lm-t2 h2[id] { scroll-margin-top: 130px; }
.lm-t2-budget { margin-top: 0; padding-top: 8px; }

/* ---------- Etude : bandeau ---------- */
.lm-t2 .lm-tarif-box--large {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding: 26px 32px 26px 36px;
  border: 1px solid rgba(47, 110, 82, .22);
  border-left: 6px solid var(--t2-vert);
  border-radius: 18px;
  background: linear-gradient(120deg, #F1F8F4, #F3F8FA);
  box-shadow: 0 18px 40px -28px rgba(23, 37, 61, .35);
}
.lm-t2 .lm-tarif-box--large .lm-tarif-box-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--t2-vert); }

/* ---------- Conseil : deux barres ---------- */
.lm-t2-bars { max-width: 880px; margin: 26px auto 30px; padding: 26px 28px; border-radius: 20px; background: var(--t2-fond); border: 1px solid #E1ECF1; }
.lm-t2-bar { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; margin: 0 0 18px; }
.lm-t2-bar__nom { font-size: 15px; line-height: 1.35; color: var(--t2-ink); }
.lm-t2-bar__piste { position: relative; display: block; height: 22px; border-radius: 11px; background: #E3ECF1; overflow: hidden; }
.lm-t2-bar__rempli { position: absolute; inset: 0 auto 0 0; width: var(--w, 100%); border-radius: 11px; transform-origin: left; }
.lm-t2-bar__rempli--a { background: linear-gradient(90deg, #A9B6C6, #7F8FA3); }
.lm-t2-bar__rempli--b { background: linear-gradient(90deg, var(--t2-vert-2), var(--t2-bleu) 70%, var(--t2-evid)); }
.lm-t2-bar__val { font-size: 22px; font-weight: 700; color: var(--t2-ink); font-variant-numeric: tabular-nums; min-width: 6.2em; text-align: right; white-space: nowrap; }
.lm-t2-bars__ecart { margin: 0; padding-top: 16px; border-top: 1px solid #D5E3EA; font-size: 15px; color: var(--t2-ink-2); }
.lm-t2-bars__ecart strong { color: var(--t2-vert); font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .lm-t2-bars:not(.is-in) .lm-t2-bar__rempli { transform: scaleX(0); }
  .lm-t2-bars .lm-t2-bar__rempli { transition: transform 1.1s var(--t2-inout); }
  .lm-t2-bars .lm-t2-bar:nth-child(2) .lm-t2-bar__rempli { transition-delay: .25s; }
}

/* ---------- Questions : pastilles de theme ---------- */
.lm-t2-themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; }
.lm-t2-theme {
  appearance: none;
  padding: 9px 18px;
  border: 1.5px solid #CFDDE5;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--t2-ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lm-t2-theme[aria-pressed="true"] { background: var(--t2-ink); border-color: var(--t2-ink); color: #fff; }
.lm-t2-theme:focus-visible { outline: 3px solid var(--t2-bleu); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .lm-t2-theme[aria-pressed="false"]:hover { border-color: var(--t2-bleu); } }
.lm-t2-theme small { margin-left: 6px; font-size: 12px; font-weight: 600; opacity: .65; }
.lm-t2 .lm-faq-item[hidden] { display: none; }
.lm-t2 .lm-faq-item { border-radius: 14px; transition: box-shadow .3s ease, border-color .3s ease; }
.lm-t2 .lm-faq-item[open] { border-color: rgba(10, 111, 151, .4); box-shadow: 0 16px 36px -26px rgba(10, 60, 100, .55); }

/* ---------- Fin : bande aurore ---------- */
.lm-t2 .m365-callout#contact {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin-top: 72px;
  padding: 56px 40px;
  border: 0;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(115deg, #0C6E8C 0%, #14307A 100%);
}
.lm-t2 .m365-callout#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 70% at 12% 100%, rgba(52, 224, 150, .5), transparent 70%),
    radial-gradient(ellipse 36% 60% at 92% 0%, rgba(80, 150, 255, .5), transparent 70%);
  animation: lm-t2-aurore2 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes lm-t2-aurore2 { from { transform: scale(1); } to { transform: scale(1.12) translate(-1%, 2%); } }
@media (prefers-reduced-motion: reduce) { .lm-t2 .m365-callout#contact::before { animation: none; } }
.lm-t2 .m365-callout#contact > * { position: relative; }
.lm-t2 .m365-callout#contact h2 { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.lm-t2 .m365-callout#contact p { margin: 0 0 26px; color: rgba(255, 255, 255, .88); font-size: 18px; }
.item-page .lm-t2 .m365-callout#contact a.m365-btn { background: #fff; color: var(--t2-ink); border-radius: 14px; font-weight: 700; padding: 15px 30px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }

/* ---------- Rail : ou j'en suis ---------- */
.lm-t2-rail { display: none; }
@media (min-width: 1360px) {
  .lm-t2-rail {
    display: block;
    position: fixed;
    right: 26px;
    top: 50%;
    z-index: 50;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .lm-t2-rail::before { content: ""; position: absolute; right: 6px; top: 8px; bottom: 8px; width: 2px; background: rgba(23, 37, 61, .14); }
  .lm-t2-rail::after {
    content: "";
    position: absolute;
    right: 6px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--t2-vert-2), var(--t2-bleu));
    transform-origin: top;
    transform: scaleY(var(--p, 0));
  }
  .lm-t2-rail li { position: relative; margin: 0; padding: 7px 24px 7px 0; list-style: none; text-align: right; }
  .lm-t2-rail a { display: inline-block; font-size: 12.5px; font-weight: 600; color: transparent; text-decoration: none; white-space: nowrap; transition: color .2s ease; pointer-events: none; }
  .lm-t2-rail li::after {
    content: "";
    position: absolute;
    right: 1px; top: 50%;
    width: 12px; height: 12px;
    margin-top: -6px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #B8C6D1;
    transition: background-color .25s ease, border-color .25s ease, transform .25s var(--t2-out);
  }
  .lm-t2-rail li.is-vu::after { border-color: var(--t2-bleu); }
  .lm-t2-rail li.is-ici::after { background: var(--t2-bleu); border-color: var(--t2-bleu); transform: scale(1.25); }
  .lm-t2-rail li.is-ici a { color: var(--t2-ink); pointer-events: auto; }
  .lm-t2-rail:hover a, .lm-t2-rail:focus-within a { color: var(--t2-ink-2); pointer-events: auto; }
  .lm-t2-rail:hover li.is-ici a { color: var(--t2-ink); }
  .lm-t2-rail a:focus-visible { color: var(--t2-ink); outline: 2px solid var(--t2-bleu); outline-offset: 3px; border-radius: 4px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  .lm-t2-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 32px; }
  .lm-t2-hero::before { background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 54%, #E6F0F3 58%, #A9CCD7 62%, #62A1B4 66%, #257D98 70%, #0C6E8C 74%, #14307A 100%); }
  .lm-t2-hero::after {
    background:
      radial-gradient(ellipse 60% 22% at 40% 80%, rgba(52, 224, 150, .5), transparent 70%),
      radial-gradient(ellipse 50% 20% at 90% 66%, rgba(80, 150, 255, .5), transparent 70%);
  }
  .lm-t2-bande > .m365-fullbleed__inner { padding-block: 24px 64px; }
}
@media (max-width: 640px) {
  .lm-t2-lead { font-size: 16.5px; }
  .lm-t2-engage li { font-size: 13.5px; padding: 7px 13px 7px 12px; }
  .lm-t2-question { font-size: 18px; }
  .lm-t2-verre { padding: 22px 20px 20px; border-radius: 22px; }
  .lm-t2 h2.lm-tarif-center { margin-top: 64px; }
  .lm-t2-bars { padding: 20px 16px; }
  .lm-t2-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .lm-t2-bar__piste { grid-column: 1 / -1; grid-row: 2; }
  .lm-t2-bar__val { font-size: 19px; min-width: 0; }
  .lm-t2 .m365-callout#contact { padding: 40px 22px; border-radius: 22px; }
  .lm-t2 .lm-tarif-box--large { padding: 20px 20px 20px 22px; }
}
.lm-t2-rail[hidden] { display: none !important; }
/* ==== TARIF, COPIE DE TEST : FIN ==== */
