/* www/css/home.css — sections propres à la page d'accueil (refonte v2, 2026-11-19). Le socle commun (couleurs, en-tête, boutons, pied de page) est dans site.css. */
/* ---------- Héros ---------- */
.h2-hero { position: relative; padding: 150px 0 120px; overflow: hidden;
	background: radial-gradient(900px 520px at 85% 10%, rgba(122,79,194,.16), transparent 60%), radial-gradient(700px 480px at 0% 100%, rgba(212,175,55,.16), transparent 60%), linear-gradient(180deg, #fbfaff, #fff); }
.h2-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.h2-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: 0 2px 8px rgba(29,21,48,.05); }
.h2-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 4px rgba(47,179,109,.15); }
.h2-hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: var(--ink); margin: 22px 0 20px; }
.h2-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet) 10%, #9a5fd6 55%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 540px; }
.h2-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.h2-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.h2-trust li { display: flex; align-items: center; gap: 7px; }
.h2-trust li::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fb36d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Maquette d'application (CSS, nette à toutes les tailles) */
.h2-mock { position: relative; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(45,25,90,.28), 0 10px 24px rgba(29,21,48,.06); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.h2-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.h2-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e7e3ee; }
.h2-mock-bar span:first-child { background: #f3b4b4; } .h2-mock-bar span:nth-child(2) { background: #f3dea0; } .h2-mock-bar span:nth-child(3) { background: #b9e3c6; }
.h2-mock-bar b { margin-left: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.h2-mock-body { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 20px; }
.h2-mock-ring { --p: 81; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--violet) calc(var(--p) * 1%), var(--gold) calc(var(--p) * 1%) calc(var(--p) * 1% + .6%), #efeaf6 0); }
.h2-mock-ring > div { width: 116px; height: 116px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.h2-mock-ring b { font-size: 26px; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; } .h2-mock-ring small { font-size: 12px; color: var(--muted); }
.h2-mock-tiles { display: grid; gap: 10px; }
.h2-mock-tiles > div { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 8px; }
.h2-mock-tiles small { font-size: 12px; color: var(--muted); } .h2-mock-tiles b { font-size: 16px; color: var(--ink); grid-row: span 2; align-self: center; }
.h2-mock-tiles em { font-style: normal; font-size: 11px; color: #9a94aa; }
.h2-mock-list { grid-column: 1 / -1; list-style: none; margin: 2px 0 0; padding: 0; border-top: 1px solid var(--line); }
.h2-mock-list li { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #f4f1f8; font-size: 13px; }
.h2-mock-list li:last-child { border-bottom: 0; }
.h2-mock-list i { width: 8px; height: 8px; border-radius: 50%; } .h2-mock-list em { font-style: normal; color: var(--muted); font-size: 12px; } .h2-mock-list b { color: var(--ink); }
.h2-mock-list .t-gold { background: var(--gold); } .h2-mock-list .t-violet { background: var(--violet); } .h2-mock-list .t-green { background: #2fb36d; }
.h2-mock-note { position: absolute; right: 14px; bottom: -26px; font-size: 12px; color: #9a94aa; }

/* ---------- Chiffres clés ---------- */
.h2-keys { position: relative; margin-top: -56px; z-index: 2; }
.h2-keys-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.h2-keys-card > div { padding: 22px 24px; }
.h2-keys-card > div + div { border-left: 1px solid var(--line); }
.h2-keys-card b { display: block; font-size: 24px; letter-spacing: -.02em; color: var(--violet); line-height: 1.2; }
.h2-keys-card span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.h2-keys-note { text-align: center; margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.h2-section { padding: 110px 0; }
.h2-alt { background: var(--bg-alt); }
.h2-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.h2-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.hm2 h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.h2-head p, .h2-p { font-size: 18px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.h2-small { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Fonctionnalités */
.h2-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h2-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.h2-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e0d8ee; }
.h2-feature h3 { font-size: 19px; letter-spacing: -.01em; margin: 18px 0 8px; color: var(--ink); }
.h2-feature p { color: var(--ink-2); line-height: 1.6; margin: 0; font-size: 15.5px; }
.h2-ico { width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center; flex: none; }
.h2-ico svg { width: 24px; height: 24px; }
.h2-ico.is-violet { background: var(--violet-soft); color: var(--violet); } .h2-ico.is-gold { background: var(--gold-soft); color: var(--gold-2); }
.h2-ico.is-green { background: #e6f6ec; color: #22894f; } .h2-ico.is-amber { background: #fdf0e1; color: #c26a12; } .h2-ico.is-blue { background: #e7f0fb; color: #2b6cb0; }

/* Allocation expliquée */
.h2-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.h2-checks { list-style: none; padding: 0; margin: 22px 0 0; }
.h2-checks li { position: relative; padding: 8px 0 8px 32px; color: var(--ink-2); line-height: 1.5; }
.h2-checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C2A9D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.h2-checks b { color: var(--ink); }
.h2-calc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 26px; }
.h2-calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.h2-calc-head span { font-weight: 700; color: var(--ink); } .h2-calc-head small { color: var(--muted); font-size: 13px; }
.h2-calc-row { display: grid; grid-template-columns: 30px 80px 1fr 80px; gap: 12px; align-items: center; padding: 10px 0; }
.h2-calc-row .k { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; }
.h2-calc-row .l { font-size: 14px; color: var(--ink-2); }
.h2-calc-row .bar { height: 10px; border-radius: 999px; background: #f1eef6; overflow: hidden; }
.h2-calc-row .bar i { display: block; height: 100%; border-radius: 999px; }
.h2-calc-row b { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.h2-calc .is-violet { background: var(--violet); } .h2-calc .is-blue { background: #2b6cb0; } .h2-calc .is-gold { background: var(--gold); }
.h2-calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px dashed #ddd6e8; }
.h2-calc-total span { color: var(--ink-2); font-weight: 600; } .h2-calc-total b { font-size: 26px; color: var(--violet); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* Étapes */
.h2-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.h2-steps::before { content: ""; position: absolute; top: 23px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--violet), var(--gold)); opacity: .25; }
.h2-step { position: relative; text-align: center; padding: 0 8px; }
.h2-step .n { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); color: var(--violet); font-weight: 800; font-size: 18px; box-shadow: 0 0 0 6px #fff; }
.h2-step:nth-child(4) .n { border-color: var(--gold-2); color: var(--gold-2); }
.h2-step h3 { font-size: 18px; margin: 18px 0 8px; color: var(--ink); }
.h2-step p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0; }

/* Pour qui */
.h2-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.h2-who-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.h2-who-card h3 { font-size: 24px; letter-spacing: -.02em; margin: 14px 0 6px; color: var(--ink); }
.h2-who-card > p { color: var(--muted); margin: 0; }
.h2-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.h2-tag.is-gold { background: var(--gold-soft); color: #8a6d12; } .h2-tag.is-violet { background: var(--violet-soft); color: var(--violet); }

/* Bandeau gratuit */
.h2-free { padding: 0 0 110px; background: var(--bg-alt); }
.h2-free-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(120deg, var(--violet) 0%, #7a4fc2 60%, #9a6a3a 140%); color: #fff; border-radius: 26px; padding: 48px 56px; box-shadow: 0 24px 50px -18px rgba(92,42,157,.55); max-width: 1112px; }
.hm2 .h2-free h2 { color: #fff; margin-bottom: 10px; }
.h2-free p { margin: 0; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.6; max-width: 640px; }

/* FAQ */
.h2-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.h2-faq-side { position: sticky; top: 110px; }
.h2-faq .hm-faq { border-bottom: 1px solid var(--line); }
.h2-faq .hm-faq:first-child { border-top: 1px solid var(--line); }
.h2-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 4px; font-weight: 650; font-size: 17px; color: var(--ink); }
.h2-faq summary::-webkit-details-marker { display: none; }
.h2-faq summary:hover { color: var(--violet); }
.h2-faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.h2-faq .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--violet-soft); flex: none; transition: transform .2s, background .2s; }
.h2-faq .pm::before, .h2-faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--violet); border-radius: 2px; transform: translate(-50%, -50%); }
.h2-faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.h2-faq [open] .pm { background: var(--violet); } .h2-faq [open] .pm::before, .h2-faq [open] .pm::after { background: #fff; }
.h2-faq [open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.h2-faq details > p { margin: 0 0 22px; padding: 0 44px 0 4px; color: var(--ink-2); line-height: 1.65; }

/* Contact */
.h2-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.h2-addr { display: flex; gap: 14px; align-items: center; margin-top: 28px; color: var(--ink-2); }
.h2-addr small { display: block; font-size: 13px; color: var(--muted); }
.h2-form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 32px; }
.h2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h2-field { margin-bottom: 16px; }
.h2-field label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.hm2 .h2-form-card .form-control { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid #e1dcea; border-radius: 12px; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.hm2 .h2-form-card textarea.form-control { resize: vertical; min-height: 130px; }
.hm2 .h2-form-card .form-control:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(92,42,157,.12); }
.hm2 .h2-form-card .captcha-group { margin: 4px 0 18px; }
.hm2 .h2-form-card .captcha-box { border-radius: 12px; border-color: #e1dcea; background: #fbfaff; }
.hm2 .h2-form-card .captcha-title { color: var(--ink); }
.h2-submit { width: 100%; }
.hm2 .form-alert { border-radius: 12px; margin-bottom: 16px; }

/* ---------- Adaptation écrans ---------- */
@media (max-width: 1080px) {
	.h2-hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.h2-hero-text { text-align: center; } .h2-lead { margin: 0 auto; } .h2-ctas, .h2-trust { justify-content: center; }
	.h2-mock { max-width: 560px; margin: 0 auto; transform: none; width: 100%; }
}
@media (max-width: 991px) {
	.h2-keys-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h2-keys-card > div:nth-child(3) { border-left: 0; } .h2-keys-card > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.h2-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h2-split, .h2-faq-grid, .h2-contact { grid-template-columns: 1fr; gap: 40px; }
	.h2-faq-side { position: static; }
	.h2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .h2-steps::before { display: none; }
	.h2-free-in { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
	.h2-section { padding: 84px 0; }
}
@media (max-width: 640px) {
	.h2-hero { padding: 112px 0 96px; }
	.h2-lead { font-size: 17px; }
	.h2-ctas .h2-btn { width: 100%; }
	.h2-mock-body { grid-template-columns: 1fr; justify-items: center; padding: 16px; }
	.h2-mock-tiles { width: 100%; }
	.h2-mock-list { width: 100%; }
	.h2-mock-list li { grid-template-columns: 10px 1fr auto; } .h2-mock-list em { display: none; }
	.h2-keys { margin-top: -48px; }
	.h2-keys-card > div { padding: 16px 14px; } .h2-keys-card b { font-size: 17px; white-space: nowrap; } .h2-keys-card span { font-size: 13px; }
	.h2-features, .h2-who, .h2-steps { grid-template-columns: 1fr; }
	.h2-feature, .h2-who-card { padding: 24px; }
	.h2-section { padding: 72px 0; }
	.h2-head { margin-bottom: 40px; } .h2-head p, .h2-p { font-size: 16.5px; }
	.h2-calc { padding: 20px; } .h2-calc-total b { font-size: 22px; white-space: nowrap; } .h2-calc-total span { font-size: 14px; } .h2-calc-row { grid-template-columns: 28px 64px 1fr 72px; gap: 8px; }
	.h2-free { padding-bottom: 72px; } .h2-free-in { padding: 32px 22px; border-radius: 20px; } .h2-free-in .h2-btn { width: 100%; }
	.h2-faq summary { font-size: 16px; padding: 18px 2px; } .h2-faq details > p { padding-right: 4px; }
	.h2-form-card { padding: 22px 18px; } .h2-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .h2-mock { transform: none; } }
@media (max-width: 1160px) { .h2-free-in { margin: 0 24px; } }
@media (max-width: 640px) { .h2-free-in { margin: 0 16px; } }
