/* Mochi — site vitrine (mochi.browwwser.com) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #3A7BF2;
  --blue-dark: #2A63D4;
  --blue-soft: #EAF1FE;
  --ink: #1F2233;
  --ink-soft: #5B6075;
  --line: #E4E7EF;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --orange: #F08A3C;
  --radius: 24px;
  --shadow: 0 1px 2px rgb(20 30 60 / 6%), 0 12px 32px rgb(20 30 60 / 8%);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 88%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: scale(.96); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.store:hover { opacity: .9; }
.store:active { transform: scale(.96); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .72rem; opacity: .8; line-height: 1.1; }
.store strong { display: block; font-size: 1.1rem; line-height: 1.15; }
.on-blue .store { background: #fff; color: var(--ink); }

/* Hero */
.hero { background: var(--blue); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 900; }
.hero p.lead { font-size: 1.2rem; margin: 20px 0 32px; color: rgb(255 255 255 / 88%); max-width: 34ch; }
.hero .note { margin-top: 16px; font-size: .9rem; color: rgb(255 255 255 / 75%); }
.hero-phones { display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
.hero-phones img { width: min(250px, 44%); border-radius: 28px 28px 0 0; border: 6px solid rgb(255 255 255 / 35%); border-bottom: 0; box-shadow: 0 -8px 40px rgb(0 0 0 / 18%); }
.hero-phones img:first-child { transform: translateY(32px); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
}

/* Sections */
section { padding: 96px 0; }
.soft { background: var(--bg-soft); }
.eyebrow { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 900; margin-top: 8px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 12px; }
.center { text-align: center; margin-inline: auto; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.step .shot { background: var(--blue-soft); padding: 28px 28px 0; height: 340px; overflow: hidden; }
.step .shot img { width: 72%; margin-inline: auto; border-radius: 22px 22px 0 0; box-shadow: var(--shadow); outline: 1px solid oklch(0 0 0 / .1); }
.step > div:last-child { padding: 24px; }
.step b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 900; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.3rem; margin: 12px 0 8px; }
.step p { color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Fonctions */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin: 16px 0 6px; }
.feature p { color: var(--ink-soft); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Bloc côte à côte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.phone { width: min(300px, 80%); margin-inline: auto; border-radius: 32px; box-shadow: var(--shadow); }
.split ul { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.split li { display: flex; gap: 12px; color: var(--ink-soft); }
.split li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A7BF2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.split li strong { color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .split .media { order: -1; } }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.05rem; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; }

/* Appel final */
.cta { background: var(--blue); color: #fff; text-align: center; }
.cta img { width: 160px; margin: 0 auto 16px; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 900; }
.cta p { color: rgb(255 255 255 / 85%); margin: 12px auto 32px; max-width: 46ch; font-size: 1.1rem; }
.cta .stores { justify-content: center; }

/* Pied de page */
.footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.footer .wrap { display: grid; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 16px 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 8px; }
.legal .last-updated { color: var(--ink-soft); margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #3D4255; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); }
