/* ============================================================
   Lavage — Model 2 "Urban Mobile Wash"
   Bright, friendly, app-inspired: white surfaces, emerald,
   turquoise, warm orange, rounded cards, playful shapes.
   ============================================================ */

.m2-theme {
  --m2-bg: #F7FBF9;
  --m2-white: #FFFFFF;
  --m2-emerald: #087F5B;
  --m2-turquoise: #2EC4B6;
  --m2-orange: #FF9F43;
  --m2-ink: #132A24;
  --m2-surface: #EAF7F2;
  --m2-shadow: 0 10px 30px rgba(19, 42, 36, .08);

  background: var(--m2-bg);
  color: var(--m2-ink);
  font-family: var(--font-ar-soft);
}
:root[lang="fr"] .m2-theme { font-family: var(--font-fr-soft); }
.m2-theme h1, .m2-theme h2, .m2-theme h3 { font-family: var(--font-ar-soft); font-weight: 800; }
:root[lang="fr"] .m2-theme h1,
:root[lang="fr"] .m2-theme h2,
:root[lang="fr"] .m2-theme h3 { font-family: var(--font-fr-soft); }

.m2-theme :focus-visible { outline-color: var(--m2-emerald); }

/* ---------- Header (floating pill) ---------- */
.m2-header { position: sticky; top: .8rem; z-index: 120; padding: 0 0 .5rem; }
.m2-header-pill {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--m2-white); border-radius: 999px; padding: .55rem 1.1rem;
  box-shadow: var(--m2-shadow); border: 1px solid rgba(19, 42, 36, .05);
  transition: box-shadow .3s ease;
}
.m2-header.is-scrolled .m2-header-pill { box-shadow: 0 14px 40px rgba(19, 42, 36, .16); }
.m2-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--m2-ink); }
.m2-logo-bubble {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--m2-turquoise), var(--m2-emerald)); color: #fff;
}
.m2-nav { margin-inline-start: auto; }
.m2-nav-list { display: flex; gap: .3rem; }
.m2-nav-list a {
  text-decoration: none; font-size: .85rem; font-weight: 700; color: #4c6259;
  padding: .45rem .8rem; border-radius: 999px; transition: background .18s ease, color .18s ease;
}
.m2-nav-list a:hover { background: var(--m2-surface); color: var(--m2-emerald); }
.m2-nav-list a.is-current { background: var(--m2-emerald); color: #fff; }
.m2-header-actions { display: flex; align-items: center; gap: .7rem; }
.m2-theme .lang-switch { background: var(--m2-surface); }
.m2-theme .lang-btn.is-active { background: var(--m2-emerald); color: #fff; }
.m2-theme .nav-burger { color: var(--m2-ink); }

/* ---------- Buttons ---------- */
.btn-emerald { background: var(--m2-emerald); color: #fff; box-shadow: 0 8px 24px rgba(8, 127, 91, .32); }
.btn-emerald:hover { background: #076A4C; box-shadow: 0 12px 30px rgba(8, 127, 91, .42); }
.btn-soft { background: var(--m2-surface); color: var(--m2-emerald); }
.btn-soft:hover { background: #dcf0e8; }
.btn-white { background: #fff; color: var(--m2-emerald); }
.btn-white:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ---------- Hero ---------- */
.m2-hero { position: relative; padding: 4.5rem 0 5rem; overflow: hidden; }
.m2-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.m2-blob-a { width: 420px; height: 420px; background: #c8f0e6; top: -120px; inset-inline-end: -100px; }
.m2-blob-b { width: 340px; height: 340px; background: #ffe6c7; bottom: -140px; inset-inline-start: -90px; }
.m2-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.m2-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--m2-white); border: 1.5px solid var(--m2-surface);
  color: var(--m2-emerald); font-size: .8rem; font-weight: 700;
  padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1.2rem;
  box-shadow: var(--m2-shadow);
}
.m2-title { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.2; margin-bottom: 1rem; }
.m2-title::after { content: ""; display: block; width: 90px; height: 6px; border-radius: 3px; margin-top: .9rem;
  background: linear-gradient(90deg, var(--m2-turquoise), var(--m2-orange)); }
.m2-sub { color: #44584f; font-size: 1.05rem; max-width: 33rem; margin-bottom: 1.8rem; }
.m2-hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.m2-mini-badges { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: .82rem; font-weight: 600; color: #44584f; }
.m2-mini-badges li { display: inline-flex; align-items: center; gap: .4rem; }
.m2-mini-badges svg { color: var(--m2-emerald); }

.m2-hero-visual { position: relative; display: grid; place-items: center; padding-bottom: 2.2rem; }
.m2-hero-img {
  width: min(440px, 100%); aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 36px; box-shadow: 0 24px 60px rgba(19, 42, 36, .18);
  border: 6px solid #fff;
}
.m2-phone {
  position: absolute; z-index: 2; bottom: 0; inset-inline-end: -6px;
  width: min(230px, 62%);
  background: var(--m2-white); border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(19, 42, 36, .18); border: 1px solid rgba(19, 42, 36, .06);
}
.float-soft { animation: m2-float 5.5s ease-in-out infinite; }
@keyframes m2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.m2-phone-head {
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem;
  background: linear-gradient(135deg, var(--m2-emerald), #0a9a70); color: #fff;
}
.m2-phone-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.m2-phone-head strong { display: block; font-size: .88rem; line-height: 1.2; }
.m2-online { font-style: normal; font-size: .7rem; opacity: .9; }
.m2-phone-body { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--m2-surface); min-height: 130px; }
.m2-msg { max-width: 85%; font-size: .8rem; padding: .55rem .8rem; border-radius: 14px; line-height: 1.5; }
.m2-msg-in { background: #fff; border-end-start-radius: 4px; align-self: flex-start; box-shadow: 0 1px 3px rgba(0, 0, 0, .07); }
.m2-msg-out { background: #d3f3d9; border-end-end-radius: 4px; align-self: flex-end; }
.m2-phone-cta {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--m2-emerald); color: #fff; font-size: .85rem; font-weight: 700; padding: .8rem;
}
.m2-eco-img {
  width: min(400px, 100%); aspect-ratio: 4 / 3; object-fit: cover;
  margin-inline: auto; display: block;
  border-radius: 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  border: 5px solid rgba(255, 255, 255, .5);
}

/* ---------- Sections ---------- */
.m2-section { padding: 4.8rem 0; }
.m2-section-tint { background: var(--m2-surface); border-radius: 44px; margin: 0 .8rem; }
.m2-section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.m2-section-head h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); margin-bottom: .6rem; }
.m2-section-head p { color: #44584f; }

/* ---------- Quick categories ---------- */
.m2-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.m2-cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: .45rem;
  background: var(--m2-white); border-radius: 22px; padding: 1.5rem;
  text-decoration: none; color: var(--m2-ink); box-shadow: var(--m2-shadow);
  border: 2px solid transparent; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.m2-cat:hover { transform: translateY(-5px) rotate(-.4deg); border-color: var(--m2-turquoise); box-shadow: 0 16px 40px rgba(19, 42, 36, .12); }
.m2-cat-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: .4rem; }
.c-emerald { background: var(--m2-emerald); }
.c-turquoise { background: var(--m2-turquoise); }
.c-orange { background: var(--m2-orange); }
.m2-cat strong { font-size: 1.02rem; }
.m2-cat-price { font-size: .8rem; color: #44584f; }

/* ---------- Steps ---------- */
.m2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.m2-step-card {
  position: relative; background: var(--m2-white); border-radius: 22px; padding: 1.7rem 1.3rem 1.4rem;
  box-shadow: var(--m2-shadow); text-align: center;
  transition: transform .25s ease;
}
.m2-step-card:hover { transform: translateY(-5px); }
.m2-step-ill { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; color: #fff; margin: 0 auto 1rem; }
.m2-step-n {
  position: absolute; top: -12px; inset-inline-start: -6px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--m2-orange); color: #4a2c00; font-weight: 800; font-size: .9rem;
  box-shadow: 0 4px 12px rgba(255, 159, 67, .4);
}
.m2-step-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.m2-step-card p { font-size: .84rem; color: #44584f; }

/* ---------- Package carousel ---------- */
.m2-carousel, .m2-reviews {
  display: flex; gap: 1.2rem; overflow-x: auto; padding: 1.2rem .3rem 1.6rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--m2-turquoise) transparent;
}
.m2-carousel::-webkit-scrollbar, .m2-reviews::-webkit-scrollbar { height: 8px; }
.m2-carousel::-webkit-scrollbar-thumb, .m2-reviews::-webkit-scrollbar-thumb { background: var(--m2-turquoise); border-radius: 4px; }
.m2-pkg {
  position: relative; flex: 0 0 min(300px, 82vw); scroll-snap-align: center;
  background: var(--m2-white); border-radius: 24px; padding: 1.9rem 1.5rem 1.5rem;
  box-shadow: var(--m2-shadow); display: flex; flex-direction: column;
  border: 2px solid transparent; transition: border-color .25s ease, transform .25s ease;
}
.m2-pkg:hover, .m2-pkg:focus-within { border-color: var(--m2-turquoise); transform: translateY(-4px); }
.m2-pkg.is-popular { border-color: var(--m2-emerald); box-shadow: 0 16px 44px rgba(8, 127, 91, .16); }
.m2-pkg h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.m2-pkg-desc { font-size: .84rem; color: #44584f; margin-bottom: .9rem; }
.m2-pkg-price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .4rem; }
.m2-pkg-price strong { font-size: 2rem; font-weight: 800; color: var(--m2-emerald); }
.m2-pkg-price em { font-style: normal; font-size: .74rem; color: #44584f; }
.m2-pkg .pkg-list { flex: 1; }
.m2-pkg .btn { width: 100%; }

/* ---------- Use cases ---------- */
.m2-uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.m2-uc {
  background: var(--m2-white); border-radius: 22px; padding: 1.8rem 1.5rem;
  box-shadow: var(--m2-shadow); transition: transform .25s ease;
}
.m2-uc:hover { transform: translateY(-5px); }
.m2-uc-ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #fff; margin-bottom: 1rem; }
.m2-uc h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.m2-uc p { font-size: .88rem; color: #44584f; }

/* ---------- Estimator ---------- */
.m2-estimator {
  background: var(--m2-white); border-radius: 28px; padding: 2.2rem;
  box-shadow: 0 20px 60px rgba(19, 42, 36, .1); max-width: 880px; margin-inline: auto;
  border: 1px solid rgba(19, 42, 36, .05);
}
.m2-est-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.6rem; }
.m2-est-field { display: flex; flex-direction: column; gap: .45rem; }
.m2-est-field label { font-size: .84rem; font-weight: 700; }
.m2-est-field select {
  border: 2px solid var(--m2-surface); border-radius: 14px; padding: .7rem .9rem;
  background: var(--m2-bg); font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease;
}
.m2-est-field select:focus { border-color: var(--m2-emerald); outline: none; }
.m2-est-extras { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.m2-est-extras legend { flex-basis: 100%; font-size: .84rem; font-weight: 700; margin-bottom: .2rem; }
.m2-extra {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  background: var(--m2-bg); border: 2px solid var(--m2-surface); border-radius: 999px;
  padding: .5rem 1rem; font-size: .82rem; font-weight: 600;
  transition: border-color .15s ease, background .15s ease;
}
.m2-extra:hover { border-color: var(--m2-turquoise); }
.m2-extra:has(input:checked) { background: var(--m2-surface); border-color: var(--m2-emerald); color: var(--m2-emerald); }
.m2-extra input { accent-color: var(--m2-emerald); width: 16px; height: 16px; }
.m2-est-result {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
  background: var(--m2-surface); border-radius: 20px; padding: 1.3rem 1.6rem;
}
.m2-est-total { display: flex; flex-direction: column; gap: .15rem; font-size: .84rem; font-weight: 600; color: #44584f; }
.m2-est-total strong { font-size: 1.9rem; font-weight: 800; color: var(--m2-emerald); transition: transform .2s ease; }
.m2-est-total em { font-style: normal; font-size: .74rem; color: var(--m2-orange); font-weight: 700; }

/* ---------- Eco ---------- */
.m2-eco { background: linear-gradient(135deg, #0a4d39, var(--m2-emerald)); color: #fff; border-radius: 44px; margin: 0 .8rem; }
.m2-eco-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.m2-eco-ic {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); margin-bottom: 1.1rem;
}
.m2-eco-copy h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .8rem; }
.m2-eco-copy > p { opacity: .88; margin-bottom: 1.3rem; max-width: 32rem; }
.m2-eco-list { display: grid; gap: .6rem; }
.m2-eco-list li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.m2-eco-list svg { color: #7CF0C3; flex-shrink: 0; }
/* ---------- Team ---------- */
.m2-team-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.2rem; align-items: center; }
.m2-team-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 28px; border: 6px solid #fff;
  box-shadow: var(--m2-shadow);
}
.m2-team-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.m2-team-card { background: var(--m2-white); border-radius: 22px; padding: 1.7rem 1.4rem; box-shadow: var(--m2-shadow); }
.m2-team-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 1rem; }
.m2-team-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.m2-team-card p { font-size: .86rem; color: #44584f; }

/* ---------- Cities ---------- */
.m2-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.m2-city-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--m2-white); box-shadow: var(--m2-shadow);
  border-radius: 999px; padding: .55rem 1.1rem; font-size: .88rem; font-weight: 700;
  transition: transform .2s ease;
}
.m2-city-chip:hover { transform: translateY(-3px); }
.m2-city-chip svg { color: var(--m2-orange); }
.m2-city-chip:nth-child(3n) svg { color: var(--m2-emerald); }
.m2-city-chip:nth-child(3n+1) svg { color: var(--m2-turquoise); }

/* ---------- Reviews ---------- */
.m2-review {
  flex: 0 0 min(320px, 84vw); scroll-snap-align: center;
  background: var(--m2-white); border-radius: 22px; padding: 1.7rem; box-shadow: var(--m2-shadow);
}
.m2-review-stars { display: flex; gap: .2rem; color: var(--m2-orange); margin-bottom: .8rem; }
.m2-review p { font-size: .92rem; margin-bottom: 1.1rem; }
.m2-review footer { display: flex; align-items: center; gap: .6rem; }
.m2-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.av-1 { background: var(--m2-emerald); } .av-2 { background: var(--m2-turquoise); }
.av-3 { background: var(--m2-orange); } .av-4 { background: #6c5ce7; } .av-5 { background: #0984a3; }
.m2-review cite { font-size: .84rem; color: #44584f; font-weight: 600; }

/* ---------- FAQ ---------- */
.m2-faq-list .faq-item { background: var(--m2-white); border-radius: 18px; box-shadow: var(--m2-shadow); overflow: hidden; }
.m2-faq-list .faq-q:hover { color: var(--m2-emerald); }
.m2-faq-list .faq-ic { color: var(--m2-emerald); }
.m2-faq-list .faq-a { color: #44584f; }

/* ---------- CTA ---------- */
.m2-cta { padding: 4.5rem 0; }
.m2-cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--m2-emerald), #0a9a70);
  border-radius: 36px; padding: 3.2rem; color: #fff;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center;
}
.m2-cta-copy h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); margin-bottom: .7rem; }
.m2-cta-copy p { opacity: .9; margin-bottom: 1.6rem; }
.m2-cta-art { position: relative; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.m2-cta-bubble { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.m2-cta-bubble.b1 { width: 130px; height: 130px; animation: m2-float 6s ease-in-out infinite; }
.m2-cta-bubble.b2 { width: 190px; height: 190px; opacity: .6; animation: m2-float 7s ease-in-out infinite reverse; }
.m2-cta-bubble.b3 { width: 60px; height: 60px; top: 6%; inset-inline-end: 12%; animation: m2-float 5s ease-in-out infinite; }

/* ---------- Footer ---------- */
.m2-footer {
  background: var(--m2-ink); color: #d9e8e2;
  border-radius: 44px 44px 0 0; margin: 0 .8rem; padding-top: 3.6rem;
}
.m2-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.4rem; padding-bottom: 2.6rem; }
.m2-footer-brand .m2-logo { color: #fff; }
.m2-footer-brand > p { font-size: .88rem; opacity: .8; margin-top: 1rem; max-width: 22rem; }
.m2-footer-col h3 { font-size: .95rem; color: var(--m2-turquoise); margin-bottom: 1rem; }
.m2-footer-col ul { display: grid; gap: .6rem; font-size: .88rem; }
.m2-footer-col a { text-decoration: none; opacity: .82; transition: opacity .15s ease, color .15s ease; }
.m2-footer-col a:hover { opacity: 1; color: var(--m2-turquoise); }
.m2-footer-route svg { width: 100%; height: 60px; }
.m2-theme .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
