body.site-home {
    --hm-white: #ffffff;
    --hm-soft: #fff7f2;
    --hm-peach: #fff3ea;
    --hm-ink: #221f1f;
    --hm-muted: #665f5b;
    --hm-line: #e8ded8;
    --hm-line-strong: #9a8e88;
    --hm-coral: #e66f71;
    --hm-action: #c63f45;
    --hm-hover: #b9343c;
    --hm-orange: #c24700;
    --hm-orange-dark: #c24700;
    color: var(--hm-ink);
    background: var(--hm-white);
    overflow-x: clip;
}

/* Contrat reveal one-shot Appspace : ne pas modifier sans décision produit. */
body.site-home[data-reveal-ready] [data-reveal] {
    transition:
        opacity 600ms cubic-bezier(0, 0, .58, 1),
        transform 600ms cubic-bezier(0, 0, .58, 1),
        color 150ms cubic-bezier(.4, 0, .2, 1),
        background-color 150ms cubic-bezier(.4, 0, .2, 1),
        border-color 150ms cubic-bezier(.4, 0, .2, 1);
}

body.site-home[data-reveal-ready] [data-reveal]:not([data-revealed]) {
    opacity: 0;
    transform: translateY(30px);
}

body.site-home[data-reveal-ready] [data-reveal][data-revealed] {
    opacity: 1;
    transform: translateY(0);
}

body.site-home [data-reveal-order="0"] { transition-delay: 0ms, 0ms, 0ms, 0ms, 0ms; }
body.site-home [data-reveal-order="1"] { transition-delay: 80ms, 80ms, 0ms, 0ms, 0ms; }
body.site-home [data-reveal-order="2"] { transition-delay: 160ms, 160ms, 0ms, 0ms, 0ms; }
body.site-home [data-reveal-order="3"] { transition-delay: 240ms, 240ms, 0ms, 0ms, 0ms; }

body.site-home[data-reveal-ready] [data-reveal][data-reveal-instant] {
    transition: none !important;
    transition-delay: 0ms !important;
}

/* Socle clair commun : blanc, rythme ample, aucune matière industrielle. */
body.site-home :is(
    .home-discovery,
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections,
    .site-footer
) {
    position: relative;
    isolation: isolate;
    overflow: clip;
    color: var(--hm-ink) !important;
    border-color: var(--hm-line) !important;
    background-color: var(--hm-white) !important;
    background-image: none !important;
    font-family: "Lato", sans-serif;
}

body.site-home :is(
    #fonctionnement,
    #pour-qui,
    #prix,
    #cta-final,
    #objections
) {
    background-color: var(--hm-white) !important;
}

body.site-home :is(
    .home-discovery,
    #preuve-produit,
    #efacturation,
    #faq
) {
    background-color: var(--hm-soft) !important;
}

body.site-home :is(
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections
) > :not(.glow) {
    position: relative;
    z-index: 2;
    width: min(100%, 72rem);
    margin-inline: auto;
    padding-block: clamp(4.75rem, 8vw, 8rem) !important;
}

body.site-home :is(
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections
) .glow {
    display: none !important;
}

body.site-home :is(
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections
) :is(h2, h3, h4, p, li, span, strong, a) {
    color: var(--hm-ink);
}

body.site-home :is(
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections
) :is([class~="text-muted"], [class*="text-muted/"]) {
    color: var(--hm-muted) !important;
}

body.site-home :is(
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections
) [class~="text-prix"] {
    color: var(--hm-orange-dark) !important;
}

body.site-home :is(
    #fonctionnement,
    #preuve-produit,
    #pour-qui,
    #efacturation,
    #prix,
    #faq,
    #cta-final,
    #objections
) [data-hm-title] {
    max-width: 58rem;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: clamp(2.45rem, 8.7vw, 4.9rem) !important;
    font-weight: 800 !important;
    line-height: .98 !important;
    letter-spacing: -.052em !important;
    text-wrap: balance;
}

body.site-home [data-hm-title-line] {
    display: block;
    overflow: clip;
    padding-block: .05em .08em;
    margin-block: -.05em -.08em;
}

body.site-home [data-hm-title-line="2"] {
    color: var(--hm-action) !important;
}

body.site-home [data-hm-title-line-inner],
body.site-home [data-hm-copy-inner] {
    display: block;
}

body.site-home [data-hm-copy] {
    overflow: clip;
}

body.site-home :is(a, button, summary) {
    -webkit-tap-highlight-color: transparent;
}

body.site-home :is(a, button, summary):focus-visible {
    outline: 3px solid var(--hm-ink) !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

body.site-home [class~="bg-accent"] {
    color: var(--hm-white) !important;
    background: var(--hm-action) !important;
    border-color: var(--hm-action) !important;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--hm-action) 22%, transparent) !important;
}

body.site-home :is(a, button)[class~="bg-accent"]:hover {
    color: var(--hm-white) !important;
    background: var(--hm-hover) !important;
    border-color: var(--hm-hover) !important;
}

/* Les emojis sources restent dans le DOM mais deviennent une icône CSS neutre. */
body.site-home [data-hm-icon] {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: transparent !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 14px !important;
    background: var(--hm-peach) !important;
    font-size: 0 !important;
}

body.site-home [data-hm-icon]::before,
body.site-home [data-hm-icon]::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

body.site-home [data-hm-icon]::before {
    width: 20px;
    height: 16px;
    border: 2px solid var(--hm-action);
    border-radius: 5px;
}

body.site-home [data-hm-icon]::after {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hm-orange);
    box-shadow: 8px -8px 0 -1px var(--hm-coral);
}

/* Navigation de découverte : tuiles simples et respirantes. */
body.site-home .home-discovery {
    padding: clamp(1.5rem, 4vw, 3rem) 1rem;
    border-block: 1px solid var(--hm-line) !important;
}

body.site-home .home-discovery__inner {
    width: min(100%, 72rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

body.site-home .home-discovery a {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 1rem 1rem 1rem 3.35rem;
    color: var(--hm-ink) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 18px;
    background: var(--hm-white) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--hm-ink) 6%, transparent);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body.site-home .home-discovery a::before {
    content: attr(data-hm-ticket);
    position: absolute;
    inset-inline-start: 1rem;
    color: var(--hm-orange-dark);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: .72rem;
    font-weight: 800;
}

body.site-home .home-discovery a:hover {
    color: var(--hm-action) !important;
    border-color: var(--hm-coral) !important;
    background: var(--hm-peach) !important;
    transform: translateY(-2px);
}

/* Fonctionnement : trois cartes Appspace simples et aérées. */
body.site-home #fonctionnement [data-hm-intro] {
    max-width: 48rem;
}

body.site-home #fonctionnement [data-hm-flow] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.site-home #fonctionnement [data-hm-step] {
    min-height: 230px;
    padding: clamp(1.35rem, 3vw, 2rem) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 24px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 18px 48px color-mix(in srgb, var(--hm-ink) 8%, transparent);
}

body.site-home #fonctionnement [data-hm-step] > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    margin-block-end: 1.5rem;
    color: var(--hm-action) !important;
    border-radius: 18px;
    background: var(--hm-peach);
    font-size: 2rem !important;
    line-height: 1 !important;
}

body.site-home #fonctionnement [data-hm-step] h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

body.site-home #fonctionnement [data-hm-control] a,
body.site-home #preuve-produit [data-hm-control] a,
body.site-home #faq a[class*="bg-surface"] {
    min-height: 48px;
    border: 1px solid var(--hm-line-strong) !important;
    border-radius: 14px !important;
    color: var(--hm-ink) !important;
    background: var(--hm-white) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--hm-ink) 7%, transparent) !important;
}

/* Preuve produit : parcours principal + bento léger. */
body.site-home #preuve-produit [data-hm-intro] {
    max-width: 50rem;
}

body.site-home #preuve-produit [data-hm-flow] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.site-home #preuve-produit [data-hm-step] {
    min-height: 220px;
    padding: clamp(1.35rem, 3vw, 2rem) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 24px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 16px 42px color-mix(in srgb, var(--hm-ink) 7%, transparent) !important;
}

body.site-home #preuve-produit [data-hm-step="2"] {
    border-color: var(--hm-coral) !important;
    background: var(--hm-peach) !important;
}

body.site-home #preuve-produit [data-hm-plan] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.site-home #preuve-produit [data-hm-plan] > div {
    min-height: 180px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 22px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--hm-ink) 6%, transparent);
}

body.site-home #preuve-produit [data-hm-control] {
    border-color: var(--hm-coral) !important;
    background: var(--hm-peach) !important;
}

/* Pour qui : quatre cartes simples en composition 2x2. */
body.site-home #pour-qui [data-hm-intro] {
    max-width: 50rem;
}

body.site-home #pour-qui [data-hm-plan] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.site-home #pour-qui [data-hm-ticket] {
    min-height: 132px;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 1.7rem) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 22px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 14px 36px color-mix(in srgb, var(--hm-ink) 6%, transparent);
}

body.site-home #pour-qui [data-hm-ticket] > span {
    width: 12px;
    height: 12px;
    display: block;
    overflow: hidden;
    color: transparent !important;
    border-radius: 50%;
    background: var(--hm-coral);
}

/* E-facturation : split clair et timeline lisible. */
body.site-home #efacturation [data-hm-plan] {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

body.site-home #efacturation [data-hm-flow] {
    position: relative;
    min-height: 0;
    padding: clamp(1.4rem, 4vw, 2.5rem) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 26px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 22px 54px color-mix(in srgb, var(--hm-ink) 9%, transparent);
}

body.site-home #efacturation [data-hm-date] {
    position: relative;
    min-height: 118px;
    padding: 1.25rem 1rem 1.25rem 3rem;
    border-block-end: 1px solid var(--hm-line);
}

body.site-home #efacturation [data-hm-date] > span {
    width: 26px !important;
    height: 26px !important;
    color: var(--hm-ink) !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--hm-orange) !important;
}

body.site-home #efacturation [data-hm-date] > div {
    color: var(--hm-ink) !important;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

body.site-home #efacturation [class~="bg-success"] {
    color: var(--hm-ink) !important;
    background: var(--hm-orange) !important;
}

body.site-home #efacturation .mt-6.pt-6.border-t.border-line {
    border-color: var(--hm-line) !important;
}

/* Prix : deux cartes blanches, Pro signalé par la marque et non par un aplat. */
body.site-home #prix [data-hm-control] {
    width: fit-content;
    min-height: 44px;
    margin-inline: auto;
    padding: .55rem .8rem;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    background: var(--hm-soft);
}

body.site-home #prix #milo-billing-toggle {
    position: relative;
    width: 48px;
    min-width: 48px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent !important;
}

body.site-home #prix #milo-billing-toggle::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 10px;
    width: 48px;
    height: 24px;
    border-radius: 999px;
    background: var(--hm-line-strong);
    transition: background-color 200ms ease;
}

body.site-home #prix[data-billing="annual"] #milo-billing-toggle::before {
    background: var(--hm-orange) !important;
}

body.site-home #prix [data-billing-label] {
    color: var(--hm-muted) !important;
}

body.site-home #prix[data-billing="monthly"] [data-billing-label="mensuel"],
body.site-home #prix[data-billing="annual"] [data-billing-label="annuel"] {
    color: var(--hm-ink) !important;
}

body.site-home #prix [data-hm-plan] {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1.25rem;
}

body.site-home #prix [data-hm-ticket] {
    color: var(--hm-ink) !important;
    border: 1px solid var(--hm-line) !important;
    border-radius: 26px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 20px 52px color-mix(in srgb, var(--hm-ink) 8%, transparent) !important;
}

body.site-home #prix [data-hm-ticket="essential"] {
    background: var(--hm-white) !important;
}

body.site-home #prix [data-hm-ticket="pro"] {
    border: 2px solid var(--hm-coral) !important;
    background: var(--hm-white) !important;
    box-shadow: 0 24px 58px color-mix(in srgb, var(--hm-action) 14%, transparent) !important;
}

body.site-home #prix [data-hm-ticket="pro"] > [data-hm-badge] {
    color: var(--hm-white) !important;
    background: var(--hm-action) !important;
}

body.site-home #prix [data-hm-ticket] :is(h3, p, li, span, strong) {
    color: var(--hm-ink) !important;
}

body.site-home #prix [data-hm-ticket] [class~="text-muted"] {
    color: var(--hm-muted) !important;
}

body.site-home #prix [data-hm-ticket] [class~="text-prix"],
body.site-home #prix [data-hm-ticket] [class~="text-success"] {
    color: var(--hm-orange-dark) !important;
}

body.site-home #prix [class*="bg-success"] {
    color: var(--hm-action) !important;
    border-color: var(--hm-coral) !important;
    background: var(--hm-peach) !important;
}

body.site-home #prix [data-hm-plan] + [class*="text-muted"] {
    color: var(--hm-muted) !important;
}

body.site-home #prix [data-hm-plan] + [class*="text-muted"] [class~="text-prix"] {
    color: var(--hm-orange-dark) !important;
}

body.site-home #prix .milo-billing-knob {
    z-index: 1;
    top: 50% !important;
    left: 2px !important;
    background: var(--hm-white) !important;
    transform: translateY(-50%);
}

body.site-home #prix[data-billing="annual"] .milo-billing-knob {
    transform: translate(24px, -50%);
}

/* FAQ : accordéons blancs, bord coral à l'ouverture. */
body.site-home #faq > .mx-auto {
    max-width: 52rem;
}

body.site-home #faq [data-hm-plan] {
    display: grid;
    gap: .8rem;
}

body.site-home #faq details {
    color: var(--hm-ink);
    border: 1px solid var(--hm-line) !important;
    border-radius: 20px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 12px 34px color-mix(in srgb, var(--hm-ink) 6%, transparent);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.site-home #faq details :is(summary, p, span) {
    color: var(--hm-ink) !important;
}

body.site-home #faq details summary {
    min-height: 48px;
}

body.site-home #faq details > p {
    font-size: 16px;
    line-height: 1.6;
}

body.site-home #faq details summary > span:last-child {
    color: var(--hm-action) !important;
}

body.site-home #faq details[open] {
    border-color: var(--hm-coral) !important;
    background: var(--hm-peach) !important;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--hm-action) 10%, transparent);
}

/* CTA final : grande carte soft Appspace, jamais un tunnel sombre. */
body.site-home #cta-final {
    padding-inline: 1rem;
}

body.site-home #cta-final [data-hm-intro] {
    width: min(100%, 68rem);
    padding: clamp(2.25rem, 7vw, 5.5rem) clamp(1.25rem, 7vw, 5.5rem) !important;
    border: 1px solid var(--hm-line);
    border-radius: 28px;
    background: var(--hm-peach);
    box-shadow: 0 28px 68px color-mix(in srgb, var(--hm-action) 12%, transparent);
    text-align: center;
}

body.site-home #cta-final [data-hm-title] {
    max-width: 52rem;
    margin-inline: auto;
    font-size: clamp(2.8rem, 9vw, 5.8rem) !important;
}

body.site-home #cta-final :is([class~="text-ink"], [class*="text-ink/"]) {
    color: var(--hm-ink) !important;
}

body.site-home #cta-final [data-hm-accent],
body.site-home #cta-final [data-hm-step] > span {
    color: var(--hm-orange-dark) !important;
}

body.site-home #cta-final ul {
    max-width: 50rem;
    margin-inline: auto;
}

/* Objections : texte + garanties claires. */
body.site-home #objections [data-hm-plan] {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

body.site-home #objections [data-hm-intro] {
    max-width: 34rem;
}

body.site-home #objections [data-hm-flow] {
    display: grid;
    gap: .85rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--hm-line);
    border-radius: 26px;
    background: var(--hm-soft);
}

body.site-home #objections [data-hm-control="1"],
body.site-home #objections [data-hm-control="2"],
body.site-home #objections [data-hm-control="3"],
body.site-home #objections [data-hm-control="4"] {
    min-height: 86px;
    align-items: center;
    border: 1px solid var(--hm-line) !important;
    border-radius: 18px !important;
    background: var(--hm-white) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--hm-ink) 5%, transparent);
}

body.site-home #objections [data-hm-control="1"] > span,
body.site-home #objections [data-hm-control="2"] > span,
body.site-home #objections [data-hm-control="3"] > span,
body.site-home #objections [data-hm-control="4"] > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--hm-white) !important;
    border-radius: 50%;
    background: var(--hm-action);
}

/* Footer home : surface pêche, texte graphite et CTA coral. */
body.site-home .site-footer {
    padding-block-start: clamp(4rem, 8vw, 7rem);
    color: var(--hm-muted) !important;
    border-block-start: 1px solid var(--hm-line) !important;
    background-color: var(--hm-peach) !important;
}

body.site-home .site-footer::before {
    display: none !important;
}

body.site-home .site-footer__grid {
    gap: clamp(2rem, 5vw, 4.5rem);
}

body.site-home .site-footer :is(.site-brand, .site-footer__title, a) {
    color: var(--hm-ink) !important;
}

body.site-home .site-footer .site-footer__promise {
    color: var(--hm-action) !important;
}

body.site-home .site-footer p,
body.site-home .site-footer li a {
    color: var(--hm-muted) !important;
}

body.site-home .site-footer__bottom {
    border-color: var(--hm-line) !important;
}

body.site-home .site-footer .site-cta {
    color: var(--hm-white) !important;
    background: var(--hm-action) !important;
}

@media (min-width: 640px) {
    body.site-home .home-discovery__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.site-home #preuve-produit [data-hm-plan] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.site-home #pour-qui [data-hm-plan] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    body.site-home #fonctionnement [data-hm-flow],
    body.site-home #preuve-produit [data-hm-flow] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.site-home #preuve-produit [data-hm-plan] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    body.site-home #preuve-produit [data-hm-plan] > div:has([data-hm-drawer="1"]),
    body.site-home #preuve-produit [data-hm-plan] > div:has([data-hm-drawer="4"]) {
        grid-column: span 3;
    }

    body.site-home #preuve-produit [data-hm-plan] > div:has([data-hm-drawer="2"]),
    body.site-home #preuve-produit [data-hm-plan] > div:has([data-hm-drawer="3"]),
    body.site-home #preuve-produit [data-hm-control] {
        grid-column: span 2;
    }

    body.site-home #prix [data-hm-plan] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    body.site-home #efacturation [data-hm-plan] {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    }

    body.site-home #objections [data-hm-plan] {
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    }
}

@media (max-width: 639px) {
    body.site-home :is(
        #fonctionnement,
        #preuve-produit,
        #pour-qui,
        #efacturation,
        #prix,
        #faq,
        #cta-final,
        #objections
    ) > :not(.glow) {
        padding-inline: 1rem !important;
    }

    body.site-home .home-discovery a {
        min-height: 68px;
        padding-inline-end: .7rem;
        font-size: .76rem;
    }

    body.site-home :is(a, button, summary) {
        min-height: 44px;
    }

    body.site-home #prix [data-hm-ticket] {
        margin-block-start: 1.25rem;
    }

    body.site-home #cta-final [data-hm-intro] {
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.site-home [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
