/*
 * Yaab — design du site public (layouts.hoo + layouts.auth).
 * Chargé après hoo.min.css, qui reste partagé avec le dashboard : on ne
 * touche donc jamais hoo.css pour le site public, tout se règle ici.
 */

/* Variables : public/css/tokens.css (partagé avec le dashboard). */
:root {
    --font-sans: var(--y-sans);
    /* Pas de mode sombre forcé par le navigateur (Chrome Android « thème sombre pour les sites ») */
    color-scheme: only light;
}

body {
    background: var(--y-cream);
    color: var(--y-ink);
    font-family: var(--y-sans);
    -webkit-font-smoothing: antialiased;
}

main {
    background: transparent;
}

h1, h2, h3,
.y-display {
    font-family: var(--y-display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -.03em;
}

h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    line-height: 1.06;
}

::selection {
    background: var(--y-orange-soft);
    color: var(--y-navy);
}

/* ---------- Accessibilite RGAA : focus clavier et evitement ---------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--y-blue);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(26, 115, 232, .18);
}

:where(a, button, input, select, textarea, summary, [tabindex])[aria-disabled="true"] {
    cursor: not-allowed;
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 9999;
    transform: translateY(-140%);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border-radius: 12px;
    background: var(--y-navy);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ---------- Primitives ---------- */

.y-container {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
}

.y-container--narrow {
    width: min(100% - 32px, 920px);
}

.y-section {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.y-section--white {
    background: var(--y-paper);
}

.y-section--navy {
    background: var(--y-navy);
    color: #fff;
}

.y-section-head {
    max-width: 720px;
    margin: 0 auto clamp(2rem, 5vw, 3.25rem);
    text-align: center;
}

.y-section-head h2 {
    margin: 0 0 .75rem;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    line-height: 1.1;
}

.y-section-head p {
    margin: 0;
    color: var(--y-muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.y-section--navy .y-section-head p {
    color: rgba(255, 255, 255, .72);
}

.y-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.1rem;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: var(--y-orange-soft);
    color: #b0284f;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.y-eyebrow .material-symbols-outlined {
    font-size: 1rem;
}

.y-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 48px;
    padding: .75rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--y-sans);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.y-btn:active {
    transform: translateY(1px);
}

.y-btn--primary {
    background: var(--y-orange);
    color: #fff;
}

.y-btn--primary:hover {
    background: var(--y-orange-hover);
    color: #fff;
}

.y-btn--ghost {
    border-color: var(--y-navy);
    background: transparent;
    color: var(--y-navy);
}

.y-btn--ghost:hover {
    background: var(--y-navy);
    color: #fff;
}

.y-btn--light {
    background: #fff;
    color: var(--y-navy);
}

.y-btn--light:hover {
    background: var(--y-cream);
    color: var(--y-navy);
}

.y-btn--sm {
    min-height: 40px;
    padding: .55rem 1.1rem;
    font-size: .9rem;
}

.y-btn.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.y-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--y-navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid currentColor;
}

.y-link:hover {
    color: var(--y-orange);
}

.y-checks {
    display: grid;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.y-checks li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--y-ink);
    line-height: 1.45;
}

.y-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--y-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4.2 8.3l2.4 2.4 5-5'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* ---------- Navigation ---------- */

.ynav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(232, 234, 237, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow .2s ease, background-color .2s ease;
}

/* Bandeau promo (admin Stripe), au-dessus de la barre : l'en-tête grandit,
   et les pages qui se décalent de --y-nav-h suivent. */
:root:has(.ypromo) {
    --y-nav-h: calc(var(--y-bar-h) + var(--y-promo-h));
}

.ypromo {
    height: var(--y-promo-h);
    background: var(--y-navy);
    color: #fff;
}

.ypromo__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: min(100% - 32px, 1240px);
    height: 100%;
    margin: 0 auto;
    font-size: .9rem;
    font-weight: 500;
}

.ypromo__message {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ypromo__code {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: .4rem;
}

.ypromo__code code {
    padding: .15rem .55rem;
    border: 1px dashed rgba(255, 255, 255, .6);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85rem;
    letter-spacing: .04em;
}

.ypromo__copy {
    padding: .2rem .7rem;
    border: 0;
    border-radius: 999px;
    background: var(--y-orange);
    color: #fff;
    font: inherit;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.ypromo__copy:hover {
    background: var(--y-orange-hover);
}

.ypromo__copy:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .ypromo__inner {
        gap: .5rem;
        font-size: .8rem;
    }
}

.ynav.is-scrolled {
    background: rgba(232, 234, 237, .98);
    box-shadow: 0 1px 0 var(--y-line), 0 8px 24px color-mix(in srgb, var(--y-navy) 6%, transparent);
}

.ynav__inner {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    width: min(100% - 32px, 1240px);
    height: var(--y-bar-h);
    margin-inline: auto;
}

.ynav__logo {
    flex-shrink: 0;
}

.ynav__logo img {
    display: block;
    height: 38px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
}

.ynav__links {
    display: flex;
    align-items: center;
    gap: .25rem;
    height: 100%;
}

.ynav__item {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
}

.ynav__link {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .55rem .85rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--y-ink);
    font-family: var(--y-sans);
    font-size: .98rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.ynav__link:hover,
.ynav__item:focus-within > .ynav__link,
.ynav__item.is-open > .ynav__link {
    background: color-mix(in srgb, var(--y-navy) 5%, transparent);
    color: var(--y-ink);
}

.ynav__link.is-active {
    color: var(--y-orange);
}

.ynav__link .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform .18s ease;
}

.ynav__item.is-open > .ynav__link .material-symbols-outlined,
.ynav__item:hover > .ynav__link .material-symbols-outlined {
    transform: rotate(180deg);
}

.ynav__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

.ynav__login {
    padding: .55rem .75rem;
    color: var(--y-ink);
    font-weight: 600;
    text-decoration: none;
}

.ynav__login:hover {
    color: var(--y-orange);
}

.ynav__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--y-ink);
    cursor: pointer;
}

.ynav__icon-btn:hover {
    background: color-mix(in srgb, var(--y-navy) 6%, transparent);
}

/* ---------- Hero accueil ---------- */

.hero {
    min-height: calc(100svh - var(--y-nav-h) - 2.75rem);
    margin: calc(var(--y-nav-h) + 1rem) clamp(16px, 2vw, 24px) 2rem;
    padding-top: clamp(7rem, 14vh, 9rem);
}

.hero__content {
    transform: translateY(-3vh);
}

/* Mega menu : panneau blanc détaché de la barre, tuiles + rangée de liens rapides. */
.ynav__item--mega {
    position: relative;
}

.ymega {
    position: absolute;
    top: calc(100% - 4px);
    left: -.5rem;
    width: min(100vw - 32px, 720px);
    overflow: hidden;
    border: 1px solid var(--y-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 2px 4px color-mix(in srgb, var(--y-navy) 4%, transparent), 0 28px 64px color-mix(in srgb, var(--y-navy) 16%, transparent);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.ynav__item:hover > .ymega,
.ynav__item:focus-within > .ymega,
.ynav__item.is-open > .ymega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
}

/* Pont invisible entre le lien et le panneau pour ne pas le perdre au survol */
.ynav__item--mega::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 14px);
    height: 16px;
    display: none;
}

.ynav__item--mega:hover::after {
    display: block;
}

.ymega__main {
    padding: 1rem;
}

.ymega__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.ymega__item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--y-ink);
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

.ymega__item:hover,
.ymega__item:focus-visible {
    border-color: var(--y-line);
    background: var(--y-cream);
}

.ymega__item[aria-current="page"] {
    border-color: rgba(205, 55, 97, .35);
    background: var(--y-orange-soft);
}

.ymega__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--y-orange-soft);
    color: var(--y-orange);
}

.ymega__icon .material-symbols-outlined {
    font-size: 1.4rem;
}

.ymega__copy strong {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .25rem;
    font-size: 1rem;
    font-weight: 700;
}

.ymega__copy strong .material-symbols-outlined {
    font-size: 1rem;
    color: var(--y-orange);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s ease, transform .15s ease;
}

.ymega__item:hover .ymega__copy strong .material-symbols-outlined {
    opacity: 1;
    transform: none;
}

.ymega__item:focus-visible .ymega__copy strong .material-symbols-outlined {
    opacity: 1;
    transform: none;
}

.ymega__copy small {
    display: block;
    color: var(--y-muted);
    font-size: .86rem;
    line-height: 1.4;
}

.ymega__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem 1.4rem;
    padding: .85rem 1.5rem;
    border-top: 1px solid var(--y-line-soft);
    background: var(--y-cream);
    font-size: .88rem;
}

.ymega__foot > span {
    color: var(--y-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ymega__foot a {
    color: var(--y-ink);
    font-weight: 600;
    text-decoration: none;
}

.ymega__foot a:hover {
    color: var(--y-orange);
}

.ymega__foot-cta {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
    color: var(--y-orange) !important;
}

.ymega__foot-cta .material-symbols-outlined {
    font-size: 1rem;
}

/* Menu mobile */
.ynav__burger {
    display: none;
}

.ymobile {
    display: none;
}

@media (max-width: 1024px) {
    :root {
        --y-bar-h: 68px;
    }

    .ynav__links,
    .ynav__login,
    .ynav__actions .y-btn,
    .ynav__actions form {
        display: none;
    }

    .ynav__logo img {
        height: 32px;
    }

    .ynav__burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--y-line);
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
    }

    .ynav__burger-lines {
        display: grid;
        gap: 4px;
        width: 18px;
    }

    .ynav__burger-lines span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: var(--y-ink);
        transition: transform .2s ease, opacity .2s ease;
    }

    .ynav__burger[aria-expanded="true"] .ynav__burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .ynav__burger[aria-expanded="true"] .ynav__burger-lines span:nth-child(2) { opacity: 0; }
    .ynav__burger[aria-expanded="true"] .ynav__burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .ymobile {
        position: fixed;
        inset: var(--y-nav-h) 0 0;
        z-index: 999;
        display: block;
        padding: 1rem 16px 2rem;
        overflow-y: auto;
        background: var(--y-cream);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }

    .ymobile-open .ymobile {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .2s ease, transform .2s ease, visibility 0s;
    }

    .ymobile-open {
        overflow: hidden;
    }

    .ymobile__group {
        margin: .7rem 0;
        border: 1px solid rgba(8, 20, 43, .12);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 30px color-mix(in srgb, var(--y-navy) 8%, transparent);
        overflow: hidden;
    }

    .ymobile__group summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem;
        color: var(--y-navy);
        font-size: 1.02rem;
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }

    .ymobile__group summary::-webkit-details-marker {
        display: none;
    }

    .ymobile__group summary .material-symbols-outlined {
        color: var(--y-orange);
        transition: transform .18s ease;
    }

    .ymobile__group[open] summary {
        border-bottom: 1px solid rgba(205, 55, 97, .18);
        background: var(--y-orange-soft);
    }

    .ymobile__group[open] summary .material-symbols-outlined {
        transform: rotate(180deg);
    }

    .ymobile__panel {
        display: grid;
        padding: .25rem .9rem .9rem;
    }

    .ymobile__feature {
        display: flex;
        align-items: center;
        gap: .85rem;
        padding: .78rem .35rem;
        border-bottom: 1px solid var(--y-line);
        color: var(--y-ink);
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
    }

    .ymobile__feature:last-child {
        border-bottom: 0;
    }

    .ymobile__feature[aria-current="page"],
    .ymobile__link[aria-current="page"] {
        border-color: transparent;
        border-radius: 12px;
        background: var(--y-orange-soft);
        color: var(--y-navy);
    }

    .ymobile__feature > .ymega__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .ymobile__quick {
        display: grid;
        gap: .55rem;
        margin-top: .9rem;
    }

    .ymobile__link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: .8rem 1rem;
        border: 1px solid rgba(8, 20, 43, .12);
        border-radius: 16px;
        background: #fff;
        color: var(--y-ink);
        font-family: var(--y-display);
        font-size: 1.1rem;
        font-weight: 700;
        text-decoration: none;
    }

    .ymobile__actions {
        display: grid;
        gap: .7rem;
        margin-top: 1.75rem;
    }

    .ymobile__actions form {
        margin: 0;
    }

    .ymobile__actions .y-btn {
        width: 100%;
    }
}

/* ---------- Compte à rebours du lancement (partials/launch-countdown) ---------- */

.maintenance-countdown {
    display: grid;
    gap: .9rem;
    margin-top: 2rem;
}

.maintenance-countdown__label,
.maintenance-countdown__soon {
    margin: 0;
    color: var(--y-ink);
    font-size: 1rem;
}

.maintenance-countdown__label strong {
    color: var(--y-navy);
}

.maintenance-countdown__units {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.maintenance-countdown__unit {
    display: grid;
    justify-items: center;
    min-width: 5.2rem;
    padding: .85rem .6rem .7rem;
    border-radius: var(--y-radius-sm);
    background: var(--y-paper);
    box-shadow: var(--y-shadow);
}

.maintenance-countdown__unit strong {
    color: var(--y-navy);
    font-family: var(--y-display);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.maintenance-countdown__unit span {
    margin-top: .35rem;
    color: var(--y-muted);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Hero de l'accueil : centré, sur le fond indigo. */
.maintenance-countdown--dark {
    justify-items: center;
    margin: 1.75rem 0 2.25rem;
}

.maintenance-countdown--dark .maintenance-countdown__label,
.maintenance-countdown--dark .maintenance-countdown__soon,
.maintenance-countdown--dark .maintenance-countdown__label strong {
    color: #fff;
}

.maintenance-countdown--dark .maintenance-countdown__units {
    justify-content: center;
}

@media (max-width: 560px) {
    .maintenance-countdown__units {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .maintenance-countdown__unit {
        min-width: 0;
    }

    .maintenance-countdown__unit span {
        font-size: .66rem;
        letter-spacing: 0;
    }
}

/* ---------- Inscription au lancement (partials/launch-signup) ---------- */

.launch-signup,
.launch-signup__form {
    display: grid;
    gap: .9rem;
}

.launch-signup__row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.launch-signup__row input {
    flex: 1 1 240px;
    min-width: 0;
    padding: .85rem 1.1rem;
    border: 1px solid var(--y-line);
    border-radius: 999px;
    background: var(--y-cream);
    color: var(--y-ink);
    font: inherit;
}

.launch-signup__row input:focus-visible {
    outline: 2px solid var(--y-blue);
    outline-offset: 2px;
}

.launch-signup__consent {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: var(--y-muted);
    font-size: .88rem;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.launch-signup__consent input {
    flex: none;
    margin-top: .25rem;
}

.launch-signup__message {
    margin: 0;
    padding: .75rem 1rem;
    border-radius: var(--y-radius-sm);
    font-size: .95rem;
    text-align: left;
}

.launch-signup__message--ok {
    background: #e3f4ea;
    color: var(--y-green);
}

.launch-signup__message--error {
    padding-left: 2rem;
    background: var(--y-orange-soft);
    color: var(--y-navy);
}

/* Sur fond indigo (hero de l'accueil, bandeau). */
.launch-signup--dark .launch-signup__row input {
    border-color: transparent;
    background: #fff;
}

.launch-signup--dark .launch-signup__row input:focus-visible {
    outline-color: #fff;
}

.launch-signup--dark .launch-signup__consent {
    color: rgba(255, 255, 255, .8);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ---------- Barre d'inscription au lancement (pages publiques, fixée en bas) ---------- */

.ylaunch-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 900;
    background: var(--y-navy);
    color: #fff;
    box-shadow: 0 -8px 24px rgba(30, 27, 75, .18);
}

.ylaunch-bar[hidden] {
    display: none;
}

.ylaunch-bar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .6rem 1.5rem;
    align-items: center;
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
    padding: .7rem 0;
}

.ylaunch-bar__countdown {
    margin: 0;
    font-size: .95rem;
    white-space: nowrap;
}

.ylaunch-bar__countdown strong {
    margin-left: .35rem;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.ylaunch-bar .launch-signup,
.ylaunch-bar .launch-signup__form {
    gap: .6rem;
}

.ylaunch-bar .launch-signup {
    justify-self: end;
    width: min(100%, 620px);
}

.ylaunch-bar .launch-signup__row {
    flex-wrap: nowrap;
}

.ylaunch-bar .launch-signup__row input {
    flex: 1 1 auto;
    padding: .6rem 1rem;
}

.ylaunch-bar .launch-signup__row .y-btn {
    padding-block: .6rem;
}

/* Fermée : seulement l'email et le bouton. */
.ylaunch-bar:not(.is-open) .launch-signup__consent,
.ylaunch-bar:not(.is-open) altcha-widget {
    display: none;
}

.ylaunch-bar__close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.ylaunch-bar__close:hover,
.ylaunch-bar__close:focus-visible {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

@media (max-width: 760px) {
    .ylaunch-bar__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ylaunch-bar .launch-signup {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .ylaunch-bar__countdown {
        font-size: .88rem;
    }
}

/* ---------- Footer ---------- */

.yfoot {
    background: var(--y-navy);
    color: rgba(255, 255, 255, .72);
}

.yfoot__inner {
    display: grid;
    grid-template-columns: minmax(220px, 300px) repeat(4, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(3rem, 7vw, 4.5rem) 0 3rem;
}

.yfoot__brand img {
    display: block;
    height: 42px;
    width: auto;
}

.yfoot__brand p {
    margin: 1.2rem 0 1.4rem;
    font-size: .92rem;
    line-height: 1.6;
}

.yfoot__social {
    display: flex;
    gap: .6rem;
}

.yfoot__social a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: #fff;
    transition: background-color .2s, border-color .2s;
}

.yfoot__social a:hover {
    border-color: var(--y-orange);
    background: var(--y-orange);
}

.yfoot__badges {
    display: grid;
    gap: .55rem;
    font-size: .88rem;
}

.yfoot__badges span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
}

.yfoot__badges .material-symbols-outlined {
    font-size: 1.1rem;
    color: #f59ab6;
}

.yfoot__col h2 {
    margin: 0 0 1.1rem;
    color: #fff;
    font-family: var(--y-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.yfoot__col a {
    display: block;
    padding: .32rem 0;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    text-decoration: none;
}

.yfoot__col a:hover {
    color: #fff;
}

.yfoot__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
}

.yfoot__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.yfoot__bottom a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .yfoot__inner {
        grid-template-columns: 1fr 1fr;
    }

    .yfoot__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .yfoot__inner {
        grid-template-columns: 1fr;
    }
}

/* ---------- Blocs partagés ---------- */

/* Carte CTA finale : texte à gauche, photo à droite */
.y-cta {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.y-cta__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--y-shadow);
}

.y-cta__copy {
    padding: clamp(0rem, 2vw, 1rem);
}

.y-cta__copy h2 {
    margin: 0 0 .9rem;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    line-height: 1.08;
}

.y-cta__copy p {
    margin: 0 0 1.6rem;
    color: var(--y-muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.y-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.y-cta__note {
    margin-top: 1.25rem;
    color: var(--y-muted);
    font-size: .88rem;
}

.y-cta__photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
}

.y-cta__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bande bleu nuit « entre de bonnes mains » */
.y-trust {
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 26px;
    background: var(--y-navy);
    color: #fff;
    text-align: center;
}

.y-trust h2 {
    margin: 0 0 2.25rem;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.y-trust__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.y-trust__item .material-symbols-outlined {
    font-size: 2rem;
    font-variation-settings: "wght" 300;
    color: #f59ab6;
}

.y-trust__item strong {
    display: block;
    margin: .6rem 0 .3rem;
    font-size: 1rem;
    font-weight: 600;
}

.y-trust__item p {
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: .86rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .y-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Ligne texte + visuel alternée */
.y-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.y-split + .y-split {
    margin-top: clamp(3.5rem, 8vw, 6rem);
}

.y-split--reverse > :first-child {
    order: 2;
}

.y-split__copy h2,
.y-split__copy h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    line-height: 1.12;
}

.y-split__copy p {
    margin: 0 0 1.5rem;
    color: var(--y-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.y-split__visual {
    position: relative;
}

@media (max-width: 860px) {
    .y-split,
    .y-cta__card {
        grid-template-columns: 1fr;
    }

    .y-split--reverse > :first-child {
        order: 0;
    }
}

/* Cartes fonctionnalités */
.y-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.y-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    border: 1px solid var(--y-line-soft);
    border-radius: var(--y-radius);
    background: #fff;
    color: var(--y-ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.y-card:hover {
    border-color: transparent;
    box-shadow: var(--y-shadow);
    transform: translateY(-3px);
}

.y-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: var(--y-orange-soft);
    color: var(--y-orange);
}

.y-card--blue .y-card__icon {
    background: var(--y-blue-soft);
    color: var(--y-blue);
}

.y-card h3 {
    margin: 0 0 .5rem;
    font-size: 1.4rem;
    line-height: 1.2;
}

.y-card p {
    margin: 0 0 1.2rem;
    color: var(--y-muted);
    line-height: 1.55;
}

.y-card__more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: auto;
    color: var(--y-orange);
    font-weight: 600;
}

.y-card__more .material-symbols-outlined {
    font-size: 1.1rem;
    transition: transform .16s ease;
}

a.y-card:hover .y-card__more .material-symbols-outlined {
    transform: translateX(3px);
}

/* Témoignages */
.y-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.y-quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0;
    padding: 1.6rem;
    border-radius: var(--y-radius);
    background: #fff;
    color: var(--y-ink);
}

.y-quote blockquote {
    margin: 0;
    font-family: var(--y-display);
    font-size: 1.15rem;
    line-height: 1.5;
}

.y-quote figcaption strong {
    display: block;
    font-weight: 600;
}

.y-quote figcaption span {
    color: var(--y-muted);
    font-size: .88rem;
}

/* FAQ */
.y-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2.5rem;
    align-items: start;
}

.y-faq--single {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-inline: auto;
}

.y-faq details {
    border-bottom: 1px solid var(--y-line);
}

.y-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    color: var(--y-ink);
    font-size: 1.02rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.y-faq summary::-webkit-details-marker {
    display: none;
}

.y-faq summary::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-right: 2px solid var(--y-ink);
    border-bottom: 2px solid var(--y-ink);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.y-faq details[open] summary::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.y-faq details p {
    margin: 0 0 1.3rem;
    color: var(--y-muted);
    line-height: 1.65;
}

@media (max-width: 760px) {
    .y-faq {
        grid-template-columns: 1fr;
    }
}

/* Faux écran produit (remplace les captures tant qu'on n'en a pas) */
.y-mock {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--y-navy) 6%, transparent), 0 28px 60px color-mix(in srgb, var(--y-navy) 12%, transparent);
}

.y-mock__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--y-line-soft);
    background: #f1f3f4;
}

.y-mock__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dadce0;
}

.y-mock__bar span {
    margin-left: .6rem;
    color: var(--y-muted);
    font-size: .78rem;
}

.y-mock__body {
    padding: 1.25rem;
}

.y-mock__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-bottom: 1rem;
}

.y-mock__kpi {
    padding: .75rem .85rem;
    border-radius: 12px;
    background: var(--y-cream);
}

.y-mock__kpi small {
    display: block;
    color: var(--y-muted);
    font-size: .72rem;
}

.y-mock__kpi strong {
    display: block;
    margin-top: .15rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.y-mock__kpi em {
    color: var(--y-green);
    font-size: .72rem;
    font-style: normal;
    font-weight: 700;
}

.y-mock__chart {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 150px;
    padding: .75rem;
    border-radius: 12px;
    background: linear-gradient(to top, var(--y-line-soft) 1px, transparent 1px) 0 0 / 100% 25%;
}

.y-mock__chart b {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: var(--y-blue);
}

.y-mock__chart b:nth-child(3n) {
    background: var(--y-orange);
}

.y-mock__rows {
    display: grid;
    gap: .45rem;
}

.y-mock__row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    padding: .65rem .75rem;
    border: 1px solid var(--y-line-soft);
    border-radius: 12px;
    font-size: .88rem;
}

.y-mock__row .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--y-orange-soft);
    color: var(--y-orange);
    font-size: 1.05rem;
}

.y-mock__row:nth-child(2n) .material-symbols-outlined {
    background: var(--y-blue-soft);
    color: var(--y-blue);
}

.y-mock__row b {
    font-weight: 600;
}

.y-mock__row small {
    display: block;
    color: var(--y-muted);
    font-size: .74rem;
}

.y-mock__pill {
    padding: .22rem .55rem;
    border-radius: 999px;
    background: #e3f4ea;
    color: var(--y-green);
    font-size: .72rem;
    font-weight: 700;
}

.y-mock__funnel {
    display: grid;
    gap: .6rem;
}

.y-mock__step {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 48px;
    align-items: center;
    gap: .75rem;
    font-size: .84rem;
}

.y-mock__step div {
    height: 34px;
    border-radius: 8px;
    background: var(--y-cream);
    overflow: hidden;
}

.y-mock__step div span {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--y-blue), #5b7fe8);
}

.y-mock__step:last-child div span {
    background: linear-gradient(90deg, var(--y-orange), #f07397);
}

.y-mock__step strong {
    text-align: right;
    font-weight: 700;
}

.y-mock__consent {
    position: relative;
    min-height: 250px;
    border-radius: 12px;
    background:
        linear-gradient(var(--y-cream-2), var(--y-cream-2)) 1rem 1rem / 55% 12px no-repeat,
        linear-gradient(var(--y-line-soft), var(--y-line-soft)) 1rem 2.2rem / 80% 8px no-repeat,
        linear-gradient(var(--y-line-soft), var(--y-line-soft)) 1rem 3.1rem / 70% 8px no-repeat,
        var(--y-cream);
}

.y-mock__banner {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--y-navy) 12%, transparent);
}

.y-mock__banner strong {
    display: block;
    margin-bottom: .3rem;
    font-size: .95rem;
}

.y-mock__banner p {
    margin: 0 0 .8rem;
    color: var(--y-muted);
    font-size: .8rem;
    line-height: 1.45;
}

.y-mock__banner div {
    display: flex;
    gap: .5rem;
}

.y-mock__banner span {
    flex: 1;
    padding: .5rem;
    border-radius: 999px;
    background: var(--y-navy);
    color: #fff;
    font-size: .76rem;
    font-weight: 600;
    text-align: center;
}

.y-mock__banner span + span {
    background: transparent;
    border: 1.5px solid var(--y-navy);
    color: var(--y-navy);
}

/* Maquettes de la page Cookies : le bandeau Yaab (carte claire), les pixels, les services pris en charge */
.y-mock__consent--card { display: flex; align-items: center; justify-content: center; padding: 1rem; background: var(--y-cream); }
.y-ck { width: min(100%, 340px); padding: 1rem 1.1rem .8rem; border-radius: 14px; background: #fff; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 12px 30px color-mix(in srgb, var(--y-navy) 14%, transparent); }
.y-ck__t { display: block; font-size: .95rem; color: var(--y-navy); }
.y-ck__d { margin: .25rem 0 .6rem; font-size: .74rem; line-height: 1.4; color: var(--y-muted); }
.y-ck__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--y-line-soft); }
.y-ck__row b { display: block; font-size: .8rem; color: var(--y-navy); }
.y-ck__row small { font-size: .7rem; color: var(--y-muted); }
.y-ck__sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 10px; background: #cfd3da; }
.y-ck__sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.y-ck__sw.is-on { background: var(--y-orange); }
.y-ck__sw.is-on::after { left: 16px; }
.y-ck__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .6rem; }
.y-ck__btns span { padding: .45rem .2rem; border: 1.5px solid var(--y-navy); border-radius: 8px; font-size: .68rem; font-weight: 700; text-align: center; color: var(--y-navy); white-space: nowrap; }
.y-ck__by { display: block; margin-top: .55rem; text-align: right; font-size: .68rem; color: var(--y-muted); }
.y-ck__by img { height: 17px; width: auto; margin-left: 3px; vertical-align: middle; }
.y-ckp, .y-cks { display: grid; gap: .6rem; padding: .25rem; }
.y-ckp__field { padding: .6rem .8rem; border: 1px solid var(--y-line-soft); border-radius: 10px; background: #fff; }
.y-ckp__field small, .y-ckp__bars > small, .y-cks > small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: var(--y-muted); }
.y-ckp__field b { display: block; margin-top: .15rem; font-size: .95rem; color: var(--y-navy); font-variant-numeric: tabular-nums; }
.y-ckp__note { margin: 0; font-size: .74rem; color: var(--y-muted); }
.y-ckp__bars { display: grid; gap: .45rem; padding: .7rem .8rem; border-radius: 10px; background: var(--y-cream); }
.y-ckp__bars div { display: grid; grid-template-columns: 110px minmax(0, 1fr) 42px; align-items: center; gap: .6rem; font-size: .78rem; }
.y-ckp__bars i { height: 10px; border-radius: 5px; background: #fff; overflow: hidden; }
.y-ckp__bars u { display: block; height: 100%; border-radius: 5px; background: var(--y-orange); }
.y-ckp__bars b { text-align: right; font-weight: 700; color: var(--y-navy); }
.y-cks { gap: .35rem; }
.y-cks > small { margin-top: .4rem; }
.y-cks__row { display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem; border: 1px solid var(--y-line-soft); border-radius: 10px; background: #fff; font-size: .84rem; font-weight: 600; color: var(--y-navy); }
.y-cks__row i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cfd3da; }
.y-cks__ok { background: var(--y-orange); border-color: var(--y-orange) !important; position: relative; }
.y-cks__ok::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.y-cks__row.is-off { font-weight: 500; color: var(--y-muted); background: transparent; }

/* Pagination */
.y-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 3rem;
}

.y-pagination a,
.y-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .6rem;
    border: 1.5px solid var(--y-ink);
    border-radius: 999px;
    color: var(--y-ink);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}

.y-pagination a:hover {
    background: var(--y-navy);
    border-color: var(--y-navy);
    color: #fff;
}

.y-pagination .is-current {
    border-color: var(--y-orange);
    background: var(--y-orange);
    color: #fff;
}

.y-pagination .is-disabled {
    opacity: .3;
}

.y-pagination .is-gap {
    border: 0;
    min-width: 20px;
}

/* ---------- Anciennes pages (contact, FAQ, webinar…) ----------
   Reprise des surcharges qui vivaient dans layouts.hoo, aux nouvelles couleurs. */

.btn-primary,
.btn-accent {
    background: var(--y-orange) !important;
    color: #fff !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

.btn-primary:hover,
.btn-accent:hover {
    background: var(--y-orange-hover) !important;
}

.btn-ghost {
    background: transparent;
    color: var(--y-navy);
    border: 1.5px solid var(--y-navy);
    border-radius: 999px;
}

.btn-ghost:hover {
    background: var(--y-navy);
    border-color: var(--y-navy);
    color: #fff;
}

.contact-page__pill,
.contact-intro__eyebrow,
.webinar-eyebrow,
.studio-eyebrow,
.expertise-eyebrow,
.pricing-eyebrow,
.blog-hero__eyebrow {
    display: none !important;
}

/* ---------- Authentification (layouts.auth) ---------- */

.ya-body {
    margin: 0;
    background: #fff;
}

.ya {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

.ya-visual {
    position: sticky;
    top: 0;
    display: flex;
    align-items: flex-end;
    height: 100vh;
    height: 100dvh;
    padding: 2rem;
    background:
        linear-gradient(to top, color-mix(in srgb, var(--y-navy) 78%, transparent), color-mix(in srgb, var(--y-navy) 0%, transparent) 45%),
        var(--photo) center / cover no-repeat,
        var(--y-navy);
    color: #fff;
}

.ya-visual__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    width: 100%;
}

.ya-visual__badges strong {
    display: block;
    margin-bottom: .3rem;
    font-family: var(--y-display);
    font-size: 1.5rem;
    font-weight: 400;
}

.ya-visual__badges div > span {
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
}

.ya-visual__badges ul {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
    font-weight: 600;
}

.ya-visual__badges li {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.ya-visual__badges .material-symbols-outlined {
    font-size: 1.15rem;
    color: #f8b4c8;
}

.ya-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: #fff;
}

.ya-panel__inner {
    width: min(100%, 380px);
}

.ya-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.ya-logo img {
    height: 44px;
    width: auto;
}

.ya-title {
    margin: 0 0 .6rem;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.1;
    text-align: center;
}

.ya-subtitle {
    margin: 0 0 2rem;
    color: var(--y-muted);
    font-size: .98rem;
    line-height: 1.55;
    text-align: center;
}

.ya-subtitle strong {
    color: var(--y-ink);
    overflow-wrap: anywhere;
}

.ya-form {
    display: grid;
    gap: .9rem;
}

.ya-field {
    display: grid;
    gap: .4rem;
}

.ya-field label {
    color: var(--y-ink);
    font-size: .85rem;
    font-weight: 600;
}

.ya-input-wrap {
    position: relative;
}

.ya-input {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
    border: 1px solid #c9ccd4;
    border-radius: 8px;
    background: #fff;
    color: var(--y-ink);
    font: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.ya-input::placeholder {
    color: #8a90a0;
}

.ya-input:focus {
    border-color: var(--y-navy);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--y-navy) 10%, transparent);
}

.ya-input-wrap .ya-input {
    padding-right: 3rem;
}

.ya-eye {
    position: absolute;
    top: 50%;
    right: .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--y-muted);
    transform: translateY(-50%);
}

.ya-eye:hover {
    color: var(--y-ink);
}

.ya-input--code {
    height: 64px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .5em;
    font-variant-numeric: tabular-nums;
}

.ya-submit {
    width: 100%;
    min-height: 50px;
    margin-top: .4rem;
    border: 0;
    border-radius: 999px;
    background: var(--y-orange);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease;
}

.ya-submit:hover {
    background: var(--y-orange-hover);
}

.ya-submit:disabled {
    opacity: .7;
    cursor: wait;
}

.ya-registration-loading {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(88vw, 360px);
    padding: 1.6rem;
    border: 1px solid var(--y-line);
    border-radius: 8px;
    background: #fff;
    color: var(--y-ink);
    box-shadow: 0 20px 55px color-mix(in srgb, var(--y-navy) 18%, transparent);
    text-align: center;
}

.ya-registration-loading::backdrop {
    background: rgba(241, 243, 244, .62);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.ya-registration-loading__spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 1rem;
    border: 3px solid #f3d3dc;
    border-top-color: var(--y-orange);
    border-radius: 50%;
    animation: ya-registration-spin .8s linear infinite;
}

.ya-registration-loading strong {
    display: block;
    margin-bottom: .45rem;
    font-size: 1.05rem;
}

.ya-registration-loading p {
    margin: 0;
    color: var(--y-muted);
    font-size: .9rem;
    line-height: 1.5;
}

@keyframes ya-registration-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ya-registration-loading__spinner {
        animation: none;
    }
}

.ya-links {
    margin-top: 1.4rem;
    text-align: center;
    font-size: .92rem;
}

.ya-links a,
.ya-underline {
    color: var(--y-ink);
    font-weight: 600;
    text-decoration: none;
}

.ya-links a:hover {
    color: var(--y-orange);
}

.ya-alt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem .6rem;
    margin-top: 1.8rem;
    color: var(--y-ink);
    font-size: .92rem;
}

.ya-alt a {
    padding-bottom: 2px;
    border-bottom: 1.5px solid var(--y-ink);
    color: var(--y-ink);
    font-weight: 600;
    text-decoration: none;
}

.ya-alt a:hover {
    border-color: var(--y-orange);
    color: var(--y-orange);
}

.ya-note {
    margin-top: 1.2rem;
    color: var(--y-muted);
    font-size: .85rem;
    text-align: center;
}

.ya-reassure {
    margin: -1rem 0 1.5rem;
    color: var(--y-muted);
    font-size: .9rem;
    text-align: center;
}

.ya-terms small {
    display: block;
    margin-top: .25rem;
    color: var(--y-muted);
    font-size: .8rem;
}

.ya-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -1rem 0 1.5rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    background: var(--y-cream);
    font-size: .88rem;
}

.ya-offer strong {
    display: block;
    font-size: .95rem;
}

.ya-offer span {
    color: var(--y-muted);
}

.ya-offer a {
    flex-shrink: 0;
    color: var(--y-orange);
    font-weight: 600;
    text-decoration: none;
}

.ya-alert {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-bottom: 1.25rem;
    padding: .8rem 1rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.45;
}

.ya-alert .material-symbols-outlined {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.ya-alert--error {
    background: #fdecea;
    color: #b3261e;
}

.ya-alert--success {
    background: #e6f4ea;
    color: #137333;
}

@media (max-width: 900px) {
    .ya {
        grid-template-columns: 1fr;
    }

    .ya-visual {
        display: none;
    }

    .ya-panel {
        align-items: flex-start;
        min-height: 100dvh;
        padding-top: 2.5rem;
        background: var(--y-cream);
    }
}

/* ---------- Tableau comparatif (Pourquoi Yaab, pages « Yaab vs … ») ---------- */

.cmp-wrap {
    overflow-x: auto;
    border: 1px solid var(--y-line);
    border-radius: 22px;
    background: #fff;
}

.cmp:where(table) {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.cmp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.cmp th,
.cmp td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--y-line-soft);
    text-align: left;
    vertical-align: middle;
    font-size: .95rem;
}

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td {
    border-bottom: 0;
}

.cmp thead th {
    padding-top: 1.3rem;
    padding-bottom: 1.1rem;
    color: var(--y-ink);
    font-family: var(--y-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.cmp tbody th {
    width: 26%;
    color: var(--y-ink);
    font-weight: 600;
}

/* Colonne Yaab mise en avant */
.cmp .cmp__yaab {
    background: var(--y-cream);
}

.cmp thead .cmp__yaab {
    border-radius: 16px 16px 0 0;
}

.cmp thead .cmp__yaab img {
    display: block;
    height: 22px;
    width: auto;
}

.cmp__cell {
    display: inline-flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--y-muted);
    line-height: 1.45;
}

.cmp__yaab .cmp__cell {
    color: var(--y-ink);
    font-weight: 600;
}

.cmp__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: .05em;
    border-radius: 50%;
    background: center / 70% no-repeat;
}

.cmp__cell--yes .cmp__icon {
    background-color: var(--y-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 8.4l2.6 2.6L12 5.6'/%3E%3C/svg%3E");
}

.cmp__cell--no .cmp__icon {
    background-color: #dadce0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23857c6e' stroke-width='2.2' stroke-linecap='round' d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E");
}

.cmp__cell--partial .cmp__icon {
    background-color: #fdebc8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a86b00' stroke-width='2.4' stroke-linecap='round' d='M4.5 8h7'/%3E%3C/svg%3E");
}

.cmp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    margin-top: 1rem;
    color: var(--y-muted);
    font-size: .82rem;
}

.cmp-legend span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.cmp-legend .cmp__icon {
    width: 16px;
    height: 16px;
    margin: 0;
}
.product-promo {
    display: grid;
    gap: .8rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: var(--y-navy);
    color: #fff;
}

.product-promo > .material-symbols-outlined {
    color: #f59ab6;
    font-size: 2.2rem;
    font-variation-settings: "wght" 250;
}

.product-promo strong {
    font-family: var(--y-display);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.25;
}

.product-promo p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    line-height: 1.5;
}

.product-promo__link {
    color: #fff;
    font-size: .85rem;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-promo__link:hover {
    color: #fbc6d5;
}

/* Acceptation des CGV à l'inscription */
.ya-terms {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--y-muted);
    font-size: .85rem;
    line-height: 1.45;
    cursor: pointer;
}

.ya-terms input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: .1rem 0 0;
    accent-color: var(--y-orange);
}

.ya-terms a {
    color: var(--y-ink);
    font-weight: 600;
}

/* Fonction en bêta (Heatmap) : menu, cartes et page fonctionnalité. */
.y-badge-beta { display: inline-block; vertical-align: middle; margin-left: .3rem; padding: .12rem .5rem; border-radius: 999px; background: var(--y-orange-soft); color: #a32a4c; font-family: var(--y-sans); font-size: .68rem; font-weight: 700; letter-spacing: .02em; line-height: 1.4; }

/* Étapes en 3 temps (pages Fonctionnalités et comparatifs), comme « Comment fonctionne Yaab ? » de l'accueil. */
.fp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.fp-steps li {
    min-height: 240px;
    padding: 1.55rem;
    border-radius: 18px;
    background: var(--y-orange-soft);
}

/* Comme « Comment fonctionne Yaab ? » sur l'accueil : rose pâle, indigo, framboise. */
.fp-steps li:nth-child(2) {
    background: var(--y-navy);
}

.fp-steps li:nth-child(3) {
    background: var(--y-orange);
}

.fp-steps__num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 3.5rem;
    border-radius: 12px;
    background: var(--y-orange);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.fp-steps li:nth-child(n+2) .fp-steps__num {
    background: #fff;
    color: var(--y-ink);
}

.fp-steps h3 {
    margin: 0 0 .6rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.1;
}

.fp-steps p {
    margin: 0;
    color: var(--y-muted);
    line-height: 1.5;
}

.fp-steps li:nth-child(n+2) h3,
.fp-steps li:nth-child(n+2) p {
    color: #fff;
}

@media (max-width: 900px) {
    .fp-steps {
        grid-template-columns: 1fr;
    }

    .fp-steps li {
        min-height: 0;
    }

    .fp-steps__num {
        margin-bottom: 1.5rem;
    }
}

/* Petits téléphones : « Se connecter » reste sur une ligne. */
.ynav__login {
    white-space: nowrap;
}

/* Tableau comparatif sur téléphone : toutes les colonnes restent visibles, sans défilement. */
@media (max-width: 640px) {
    .cmp-wrap {
        overflow: visible;
    }

    .cmp:where(table) {
        display: block;
        min-width: 0;
    }

    .cmp:where(table) thead {
        display: none;
    }

    .cmp:where(table) tbody,
    .cmp:where(table) tr {
        display: block;
    }

    .cmp:where(table) tbody tr {
        padding: .9rem 1rem;
        border-bottom: 1px solid var(--y-line);
    }

    .cmp:where(table) tbody tr:last-child {
        border-bottom: 0;
    }

    .cmp:where(table) tbody th,
    .cmp:where(table) tbody td {
        display: block;
        padding: 0;
        border: 0;
        background: none;
    }

    .cmp:where(table) tbody th {
        width: auto;
        min-width: 0;
        max-width: none;
        margin-bottom: .5rem;
        font-size: .95rem;
        white-space: normal;
    }

    /* Une carte par critère : Yaab en vedette, l'autre outil dessous, plus discret. */
    .cmp:where(table) tbody td {
        display: block;
        margin-top: .4rem;
        padding: .6rem .8rem;
        border-radius: 12px;
    }

    .cmp:where(table) tbody td.cmp__yaab {
        background: var(--y-cream);
    }

    .cmp:where(table) tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .2rem;
        color: var(--y-muted);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.4;
        text-transform: uppercase;
    }

    .cmp:where(table) tbody td:not(.cmp__yaab) .cmp__cell {
        font-size: .9rem;
    }
}

/* Cartes des pages (Fonctionnalités, Pourquoi Yaab, Webinar…) : la légère teinte des
   couleurs de la vidéo en haut de chaque carte, comme les cartes de l'accueil. */
.y-cards > .y-card:nth-child(4n+1) { --tint: rgba(205, 55, 97, .13); }
.y-cards > .y-card:nth-child(4n+2) { --tint: rgba(240, 136, 43, .15); }
.y-cards > .y-card:nth-child(4n+3) { --tint: rgba(31, 157, 107, .13); }
.y-cards > .y-card:nth-child(4n+4) { --tint: rgba(124, 108, 240, .15); }
.y-cards > .y-card {
    background: linear-gradient(160deg, var(--tint), rgba(255, 255, 255, 0) 65%), #fff;
}

/* Menu : au survol, chaque entrée prend sa nuance des couleurs de la vidéo
   (framboise, orange, vert, lilas). --hue sert au fond, --ink au texte et à l'icône
   (assez foncé pour rester lisible). */
.ymega__list > :nth-child(4n+1), .ynav__links > :nth-child(5n+1) { --hue: 205, 55, 97; --ink: #b02c53; }
.ymega__list > :nth-child(4n+2), .ynav__links > :nth-child(5n+2) { --hue: 240, 136, 43; --ink: #a8530c; }
.ymega__list > :nth-child(4n+3), .ynav__links > :nth-child(5n+3) { --hue: 31, 157, 107; --ink: #17734c; }
.ymega__list > :nth-child(4n+4), .ynav__links > :nth-child(5n+4) { --hue: 124, 108, 240; --ink: #5446c9; }
.ynav__links > :nth-child(5n+5) { --hue: 205, 55, 97; --ink: #b02c53; }

.ynav__links > .ynav__link:hover,
.ynav__links > .ynav__item:focus-within > .ynav__link,
.ynav__links > .ynav__item.is-open > .ynav__link,
.ynav__links > .ynav__item:hover > .ynav__link {
    background: rgba(var(--hue), .1);
    color: var(--ink);
}

.ymega__item:hover,
.ymega__item:focus-visible {
    border-color: rgba(var(--hue), .28);
    background: linear-gradient(160deg, rgba(var(--hue), .14), rgba(var(--hue), .04) 70%), #fff;
}

.ymega__item .ymega__icon {
    transition: background-color .15s ease, color .15s ease;
}

.ymega__item:hover .ymega__icon,
.ymega__item:focus-visible .ymega__icon {
    background: rgba(var(--hue), .18);
    color: var(--ink);
}

.ymega__item:hover .ymega__copy strong,
.ymega__item:hover .ymega__copy strong .material-symbols-outlined {
    color: var(--ink);
}

/* Tarifs : légère teinte des couleurs de la vidéo sur les offres (Eco garde son fond foncé). */
.pr-plans > .pr-plan:nth-child(1) { --tint: rgba(31, 157, 107, .13); }
.pr-plans > .pr-plan:nth-child(2) { --tint: rgba(240, 136, 43, .15); }
.pr-plans > .pr-plan:nth-child(4) { --tint: rgba(124, 108, 240, .15); }
.pr-plans > .pr-plan:not(.pr-plan--featured) {
    background: linear-gradient(160deg, var(--tint, transparent), rgba(255, 255, 255, 0) 60%), #fff;
}

/* FAQ des pages : une carte par question, flèche colorée (une nuance par question), teinte à l'ouverture. */
.y-faq details:nth-child(4n+1) { --hue: 205, 55, 97; }
.y-faq details:nth-child(4n+2) { --hue: 240, 136, 43; }
.y-faq details:nth-child(4n+3) { --hue: 31, 157, 107; }
.y-faq details:nth-child(4n+4) { --hue: 124, 108, 240; }
.y-faq details {
    margin-bottom: .6rem;
    padding: 0 1.1rem;
    border: 1px solid rgba(30, 27, 75, .08);
    border-radius: 14px;
    background: #fff;
    transition: background-color .15s ease, border-color .15s ease;
}
.y-faq details:hover,
.y-faq details[open] {
    border-color: rgba(var(--hue), .3);
    background: linear-gradient(160deg, rgba(var(--hue), .1), rgba(var(--hue), .02) 70%), #fff;
}
.y-faq summary {
    border-bottom: 0 !important;
}
.y-faq summary::after {
    border-radius: 50%;
    background-color: rgba(var(--hue), .14);
    color: rgb(var(--hue));
}

/* ---------- Apparition au défilement (partials/reveal.blade.php) ---------- */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}
.js-reveal .reveal.is-in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Pages fonctionnalités et comparatifs : de la couleur claire, plus de bleu foncé ---------- */
:is(.fp, .vs) .y-section--navy {
    background: linear-gradient(135deg, rgba(205, 55, 97, .09), rgba(124, 108, 240, .12));
    color: var(--y-ink);
}
:is(.fp, .vs) .y-section--navy .y-section-head p { color: var(--y-muted); }
:is(.fp, .vs) .y-quote { border: 1px solid rgba(30, 27, 75, .1); }
:is(.fp, .vs) .fp-steps li:nth-child(2) { background: #e6e2fb; }
:is(.fp, .vs) .fp-steps li:nth-child(2) .fp-steps__num { background: #5446c9; color: #fff; }
:is(.fp, .vs) .fp-steps li:nth-child(2) h3 { color: var(--y-ink); }
:is(.fp, .vs) .fp-steps li:nth-child(2) p { color: var(--y-muted); }

/* ---------- Palette sobre : le framboise est la seule couleur d'accent, le reste est blanc et indigo ---------- */
:is(.fp-recognize__card, .vs-others__card, .vs-why__card) {
    background: #fff;
    border: 1px solid var(--y-line);
}
.fp-recognize__icon { background: rgba(205, 55, 97, .1); color: var(--y-orange); }
.fp-recognize__card:nth-child(n) .fp-recognize__icon { color: var(--y-orange); }
.y-cards > .y-card:nth-child(n) { --tint: rgba(205, 55, 97, .06); }
:is(.fp, .vs) .fp-steps li:nth-child(2) { border: 1px solid var(--y-line); background: #fff; }
:is(.fp, .vs) .fp-steps li:nth-child(2) .fp-steps__num { background: var(--y-orange); }
.fp-band, .vs-cta, .vs-choose__card {
    border: 1px solid rgba(205, 55, 97, .22);
    background: linear-gradient(120deg, rgba(205, 55, 97, .09), rgba(205, 55, 97, .03)), #fff;
}
.vs-cta { border-width: 1px 0; border-radius: 0; }

/* ---------- Accueil : sections simples (partials/home-sections.blade.php) ---------- */
.hs { padding: clamp(3.25rem, 7vw, 5.75rem) 0; }
.hs--alt { background: #fff; --hs-soft: #f6f5fa; }
.hs__wrap { width: min(1200px, 100% - 2.5rem); margin: 0 auto; }
.hs__wrap--narrow { max-width: 860px; }
.hs__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.hs__head--tight { margin-top: clamp(2.5rem, 5vw, 4rem); }
.hs__head h2 { margin: 0 0 .75rem; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.hs__head p { margin: 0; color: var(--y-muted); font-size: 1.1rem; line-height: 1.6; }
.hs__pause { margin-top: 1rem; }

.hs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hs-card { padding: 1.75rem; border: 1px solid var(--y-line); border-radius: 20px; background: #fff; }
.hs-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem; border-radius: 14px; background: rgba(205, 55, 97, .1); color: var(--y-orange); }
.hs-card h3 { margin: 0 0 .55rem; font-size: 1.2rem; line-height: 1.25; }
.hs-card p { margin: 0; color: var(--y-muted); line-height: 1.55; }

.hs-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hs-row + .hs-row { margin-top: clamp(3rem, 6vw, 5rem); }
.hs-row--reverse .hs-row__copy { order: 2; }
.hs-row__copy h3 { margin: 0 0 1rem; color: var(--y-ink); font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; }
.hs-row__copy .hs-row__answer { margin: 0 0 .6rem; color: var(--y-orange); font-family: var(--y-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.hs-row__copy p { margin: 0 0 1.25rem; color: var(--y-muted); font-size: 1.08rem; line-height: 1.6; }
.hs-row__links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.hs-row__links a { text-decoration: none; }

.hs-row__scene { min-width: 0; }
.hs-row__scene .ys { box-shadow: 0 18px 50px rgba(30, 27, 75, .12); }

.hs-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hs-steps li { padding: 1.75rem; border: 1px solid var(--y-line); border-radius: 20px; background: #fff; }
.hs-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.2rem; border-radius: 12px; background: var(--y-orange); color: #fff; font-size: 1.1rem; font-weight: 700; }
.hs-steps h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.hs-steps p { margin: 0; color: var(--y-muted); line-height: 1.55; }

.hs-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 1.1rem 0; border: 1px solid var(--y-line); border-radius: 20px; background: var(--hs-soft, #f6f5fa); list-style: none; }
.hs-strip li { display: flex; align-items: baseline; gap: .8rem; padding: .3rem 1.4rem; }
.hs-strip li + li { border-left: 1px solid var(--y-line); }
.hs-strip strong { color: var(--y-orange); font-family: var(--y-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1; white-space: nowrap; }
.hs-strip span { color: var(--y-muted); font-size: .92rem; line-height: 1.35; }

.hs-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hs-review { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; margin: 0; padding: 1.75rem; border: 1px solid var(--y-line); border-radius: 20px; background: #fff; }
.hs-review blockquote { margin: 0; font-family: var(--y-display); font-size: 1.15rem; line-height: 1.5; }
.hs-review figcaption { display: flex; align-items: center; gap: .85rem; }
.hs-review__avatar { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(205, 55, 97, .12); color: var(--y-orange); font-weight: 700; }
.hs-review strong, .hs-review small, .hs-review a { display: block; }
.hs-review small { color: var(--y-muted); font-size: .88rem; }
.hs-review a { color: var(--y-orange); font-size: .88rem; font-weight: 600; text-decoration: none; }
.hs-review a:hover { text-decoration: underline; }

.hs-compare-lead { margin: 2rem 0 .9rem; color: var(--y-muted); font-weight: 600; text-align: center; }
.hs-compare-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; }

.hs-faq { display: grid; gap: .75rem; }
.hs-faq details { padding: 1rem 1.25rem; border: 1px solid var(--y-line); border-radius: 14px; background: var(--hs-soft, #f6f5fa); }
.hs-faq summary { font-weight: 700; cursor: pointer; }
.hs-faq p { margin: .7rem 0 0; color: var(--y-muted); line-height: 1.6; }

@media (max-width: 900px) {
    .hs-cards, .hs-steps, .hs-reviews { grid-template-columns: minmax(0, 1fr); }
    .hs-row { grid-template-columns: minmax(0, 1fr); }
    .hs-row--reverse .hs-row__copy { order: 0; }
    .hs-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .6rem; }
    .hs-strip li:nth-child(odd) { border-left: 0; }
}

/* ---------- Explicatif animé (partials/explainer.blade.php) ---------- */
.fp-ex {
    position: relative;
    min-height: clamp(300px, 36vw, 400px);
    overflow: hidden;
    border: 1px solid var(--y-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(30, 27, 75, .08);
}
.fp-ex__slides { display: grid; place-items: center; margin: 0; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem) 5.5rem; list-style: none; }
.fp-ex__slide { grid-area: 1 / 1; max-width: 760px; text-align: center; }
.fp-ex__slide > span { display: inline-block; margin-bottom: .9rem; padding: .3rem .85rem; border-radius: 999px; background: rgba(205, 55, 97, .1); color: var(--y-orange); font-size: .9rem; font-weight: 700; }
.fp-ex__slide p { margin: 0; font-family: var(--y-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.fp-ex.js-ex .fp-ex__slide { opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.fp-ex.js-ex .fp-ex__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.fp-ex:not(.js-ex) .fp-ex__slides { display: block; }
.fp-ex:not(.js-ex) .fp-ex__slide { margin: 0 auto 1.5rem; }
.fp-ex:not(.js-ex) .fp-ex__bar { display: none; }
.fp-ex__bar { position: absolute; right: 1.25rem; bottom: 1.1rem; left: 1.25rem; z-index: 2; display: flex; align-items: center; gap: .9rem; }
.fp-ex__play { display: grid; flex: none; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--y-line); border-radius: 50%; background: #fff; color: var(--y-ink); cursor: pointer; }
.fp-ex__play::before { content: ""; width: 12px; height: 14px; border-right: 4px solid currentColor; border-left: 4px solid currentColor; box-sizing: border-box; }
.fp-ex.is-paused .fp-ex__play::before { width: 0; height: 0; border: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid currentColor; margin-left: 3px; }
.fp-ex__dots { display: flex; flex: 1; gap: .5rem; }
.fp-ex__dot { position: relative; flex: 1; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.fp-ex__dot i { position: absolute; top: 11px; right: 0; left: 0; height: 4px; overflow: hidden; border-radius: 2px; background: rgba(30, 27, 75, .12); }
.fp-ex__dot i::after { content: ""; position: absolute; inset: 0; transform: scaleX(var(--p, 0)); transform-origin: left; background: var(--y-orange); }
.fp-ex__play:focus-visible, .fp-ex__dot:focus-visible { outline: 3px solid var(--y-ink); outline-offset: 2px; }

/* ---------- Tableaux comparatifs : la colonne Yaab ressort, lecture rapide ---------- */
.cmp-wrap {
    border: 1px solid var(--y-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(30, 27, 75, .06);
}
.cmp { border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--y-line-soft); font-size: .97rem; }
.cmp thead th { padding-top: 1.5rem; padding-bottom: 1.2rem; background: #fff; color: var(--y-muted); font-size: 1.05rem; font-weight: 700; }
.cmp tbody th { width: 24%; color: var(--y-ink); font-weight: 700; }
.cmp tbody tr:hover > * { background-color: #faf9fd; }

/* La colonne Yaab : un cadre framboise du haut en bas */
.cmp .cmp__yaab {
    border-right: 2px solid rgba(205, 55, 97, .4);
    border-left: 2px solid rgba(205, 55, 97, .4);
    background-color: rgba(205, 55, 97, .05);
}
.cmp thead .cmp__yaab { border-top: 4px solid var(--y-orange); border-radius: 16px 16px 0 0; }
.cmp tbody tr:last-child .cmp__yaab { border-bottom: 2px solid rgba(205, 55, 97, .4); border-radius: 0 0 16px 16px; }
.cmp tbody tr:hover > .cmp__yaab { background-color: rgba(205, 55, 97, .1); }

.cmp__cell { gap: .7rem; line-height: 1.4; }
.cmp__icon { width: 22px; height: 22px; }
.cmp__cell--no { color: #8a8798; }
.cmp__yaab .cmp__cell { color: var(--y-ink); }

/* Sur téléphone : une carte par critère, Yaab en tête, les autres outils en lignes compactes */
@media (max-width: 640px) {
    .cmp-wrap { box-shadow: none; }
    .cmp:where(table) tbody tr { padding: 1.1rem 1rem; border-bottom: 1px solid var(--y-line); }
    .cmp:where(table) tbody tr:hover > * { background-color: transparent; }
    .cmp:where(table) tbody td {
        display: grid;
        grid-template-columns: 6.6rem minmax(0, 1fr);
        gap: .6rem;
        align-items: start;
        margin-top: .3rem;
        padding: .25rem 0;
        border: 0;
        border-radius: 0;
        background: none;
    }
    .cmp:where(table) tbody td::before {
        margin: 0;
        color: var(--y-muted);
        font-size: .82rem;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
    }
    .cmp:where(table) tbody td.cmp__yaab,
    .cmp:where(table) tbody tr:last-child td.cmp__yaab {
        display: block;
        margin-bottom: .35rem;
        padding: .75rem .9rem;
        border: 1px solid rgba(205, 55, 97, .35);
        border-radius: 12px;
        background-color: rgba(205, 55, 97, .06);
    }
    .cmp:where(table) tbody td.cmp__yaab::before {
        display: block;
        margin-bottom: .25rem;
        color: var(--y-orange);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
    }
    .cmp:where(table) tbody td:not(.cmp__yaab) .cmp__cell { font-size: .92rem; }
}

@media (max-width: 640px) {
    .cmp:where(table) tbody th { width: auto; padding: 0 0 .4rem; border: 0; font-size: 1rem; }
}

/* ---------- Boutons de lien des quatre questions ---------- */
.hs-row__links { gap: .75rem; }

/* ---------- Tableaux, version ouverte (inspirée des tableaux comparatifs de Cloudflare) ---------- */
.cmp-wrap { overflow-x: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.cmp th, .cmp td { padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--y-line); font-size: 1.02rem; }
.cmp thead th { padding-top: 1.4rem; padding-bottom: 1.4rem; border-bottom: 2px solid var(--y-ink); background: transparent; color: var(--y-ink); font-family: var(--y-display); font-size: 1.15rem; font-weight: 700; }
.cmp tbody th { width: 26%; font-size: 1.02rem; }
.cmp tbody tr:hover > * { background-color: rgba(30, 27, 75, .025); }

/* La colonne Yaab : en-tête plein framboise, fond rosé, sans cadre */
.cmp .cmp__yaab { border-right: 0; border-left: 0; background-color: rgba(205, 55, 97, .06); }
.cmp thead th.cmp__yaab { border-top: 0; border-bottom-color: var(--y-orange); border-radius: 18px 18px 0 0; background-color: var(--y-orange); }
.cmp thead .cmp__yaab img { height: 26px; filter: brightness(0) invert(1); }
.cmp tbody tr:last-child .cmp__yaab { border-bottom: 0; border-radius: 0 0 18px 18px; }
.cmp:has(tfoot) tbody tr:last-child .cmp__yaab { border-radius: 0; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover > .cmp__yaab { background-color: rgba(205, 55, 97, .11); }
.cmp tfoot td { padding-top: 1.1rem; padding-bottom: 1.1rem; border: 0; }
.cmp tfoot .cmp__yaab { border-radius: 0 0 18px 18px; }

/* Icônes simples, sans pastille de couleur : coche, tiret, croix */
.cmp__icon { width: 24px; height: 24px; margin-top: 0; border-radius: 0; background-color: transparent; background-position: center; background-size: contain; }
.cmp__cell--yes .cmp__icon { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231e1b4b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cmp__yaab .cmp__cell--yes .cmp__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23cd3761' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cmp__cell--partial .cmp__icon { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%239a96ad' stroke-width='2.6' stroke-linecap='round' d='M7 12h10'/%3E%3C/svg%3E"); }
.cmp__cell--no .cmp__icon { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b8b4c8' stroke-width='2.2' stroke-linecap='round' d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.cmp__cell--partial, .cmp__cell--neutral { color: var(--y-muted); }
.cmp__yaab .cmp__cell { font-weight: 700; }
.cmp-legend .cmp__icon { width: 18px; height: 18px; }

@media (max-width: 640px) {
    .cmp:where(table) tfoot { display: none; }
    .cmp:where(table) tbody tr:last-child td.cmp__yaab { border-radius: 12px; }
    .cmp:where(table) tbody td { padding: .25rem 0; }
    .cmp:where(table) tbody td.cmp__yaab { border: 1px solid rgba(205, 55, 97, .3); }
    .cmp:where(table) tbody tr:hover > * { background-color: transparent; }
    .cmp:where(table) tbody tr { padding: 1.2rem 0; }
}

/* ---------- Étapes et repères : sans cartes, grands chiffres ---------- */
.hs-steps { gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.hs-steps li { position: relative; padding: 2.2rem 0 0; border: 0; border-top: 2px solid var(--y-line); border-radius: 0; background: none; }
.hs-steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 72px; height: 2px; background: var(--y-orange); }
.hs-steps li > span { display: block; width: auto; height: auto; margin: 0 0 1.1rem; border-radius: 0; background: none; color: var(--y-orange); font-family: var(--y-display); font-size: clamp(3rem, 5.5vw, 4.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.hs-steps h3 { margin: 0 0 .7rem; font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -.03em; }
.hs-steps p { font-size: 1.08rem; line-height: 1.6; }

.hs-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 clamp(3rem, 6vw, 5rem); padding: 0; border: 0; border-radius: 0; background: none; }
.hs-strip li { display: block; padding: .4rem 1.75rem; border-left: 1px solid var(--y-line); }
.hs-strip li:first-child { padding-left: 0; border-left: 0; }
.hs-strip strong { display: block; color: var(--y-ink); font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.05em; line-height: 1; }
.hs-strip span { display: block; margin-top: .7rem; color: var(--y-muted); font-size: 1.02rem; line-height: 1.4; }
@media (max-width: 900px) {
    .hs-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
    .hs-strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

.cmp tfoot .y-btn { width: 100%; justify-content: center; padding-inline: .75rem; font-size: .95rem; white-space: normal; }

/* Explicatif « en 20 secondes » : l'animation a sa propre scène, bien visible, sous la phrase. */
.fp-ex .fp-ex__slides { padding-bottom: 1.25rem; }
.fp-ex__stage { position: relative; height: clamp(160px, 22vw, 220px); border-top: 1px solid var(--y-line); border-bottom: 1px solid var(--y-line); background: linear-gradient(180deg, #fff, rgba(205, 55, 97, .04)); }
.fp-ex .fp-ex__bar { position: static; padding: .9rem 1.25rem 1.1rem; }
.fp-ex:not(.js-ex) .fp-ex__stage { display: none; }

/* Mobile : les fonds animés gardent leur mouvement, mais floutés et atténués pour ne pas gêner la lecture du texte. */
@media (max-width: 700px) {
    .fx-canvas { opacity: .9; }
}

/* Explicatif : le fil d'événements s'efface sur les bords, et les deux phrases ne se chevauchent plus pendant la transition. */
.fp-ex__stage[data-fx="scan"] .fx-canvas { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.fp-ex.js-ex .fp-ex__slide { transition: opacity .22s ease, transform .22s ease; }
.fp-ex.js-ex .fp-ex__slide.is-active { transition: opacity .45s ease .22s, transform .45s ease .22s; }


/* En-têtes des fonctionnalités et comparatifs : le fond animé s'estompe vers le bas et sur les côtés, sans bord net. */
.fp-hero .fx-canvas, .vs-hero .fx-canvas {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent), linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent), linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    mask-composite: intersect;
}

/* Plan de taggage : une bande libre sous les boutons pour les faux boutons et le faux clic. Le fond s'estompe vers le bas, sans bord net. */
.hs-review__avatar--logo { background: #fff; border: 1px solid var(--y-line, #e5e7eb); overflow: hidden; }
.hs-review__avatar--logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.fp-explain__example { border: 1px solid var(--y-line, #e5e7eb); border-left-width: 1px; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(30, 27, 75, .07); }
.fp-recognize .y-section-head p { margin: .6rem auto 0; color: var(--y-muted); }

/* Tableau comparatif sur téléphone : un vrai tableau, 3 colonnes (critère, Yaab, l'autre outil), sans défilement. */
@media (max-width: 640px) {
    body .cmp-wrap { overflow: hidden; border: 1px solid var(--y-line); border-radius: 16px; background: #fff; }
    body .cmp:where(table) { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; min-width: 0; }
    body .cmp:where(table) thead { display: table-header-group; }
    body .cmp:where(table) tbody { display: table-row-group; }
    body .cmp:where(table) tr { display: table-row; }
    body .cmp:where(table) thead th { display: table-cell; padding: .7rem .5rem; font-size: .8rem; text-align: left; vertical-align: middle; }
    body .cmp:where(table) thead th:first-child { width: 28%; }
    body .cmp:where(table) thead .cmp__yaab { border-radius: 0; }
    body .cmp:where(table) thead .cmp__yaab img { height: 18px; }
    body .cmp:where(table) tbody tr { padding: 0; border: 0; border-bottom: 1px solid var(--y-line-soft); }
    body .cmp:where(table) tbody tr:last-child { border-bottom: 0; }
    body .cmp:where(table) tbody th, body .cmp:where(table) tbody td { display: table-cell; padding: .65rem .5rem; margin: 0; border: 0; vertical-align: top; font-size: .8rem; line-height: 1.35; text-align: left; }
    body .cmp:where(table) tbody th { width: 28%; margin: 0; font-size: .8rem; }
    body .cmp:where(table) tbody td::before { content: none; display: none; }
    body .cmp:where(table) tbody td { display: table-cell; grid-template-columns: none; gap: 0; }
    body .cmp:where(table) tbody td.cmp__yaab { background: rgba(205, 55, 97, .06); }
    body .cmp:where(table) tbody td .cmp__cell { display: flex; align-items: flex-start; gap: .35rem; font-size: .8rem; }
    body .cmp:where(table) tbody td:not(.cmp__yaab) .cmp__cell { font-size: .8rem; }
    body .cmp:where(table) .cmp__icon { flex: none; width: 16px; height: 16px; margin-top: .1rem; }
}
@media (max-width: 640px) {
    body .cmp:where(table) .cmp__yaab .cmp__cell { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; min-width: 0; overflow-wrap: anywhere; }
    body .cmp:where(table) tbody td.cmp__yaab, body .cmp:where(table) thead .cmp__yaab { box-shadow: none; border-left: 0; border-right: 0; }
    body .cmp:where(table) tbody td .cmp__cell > span:not(.cmp__icon) { min-width: 0; overflow-wrap: anywhere; }
    body .cmp:where(table) tbody th, body .cmp:where(table) thead th:first-child { width: 26%; }
}
@media (max-width: 640px) {
    body .cmp:where(table) tbody td.cmp__yaab, body .cmp:where(table) tbody tr:last-child td.cmp__yaab { border: 0; border-radius: 0; background: rgba(205, 55, 97, .06); padding: .65rem .5rem; box-shadow: none; }
    body .cmp:where(table) tbody tr:last-child .cmp__yaab { border-bottom: 0; border-radius: 0; }
    body .cmp-wrap { background: #fff; }
}
@media (max-width: 640px) {
    body .cmp:where(table) .cmp__yaab .cmp__cell, body .cmp:where(table) tbody td .cmp__cell > span:not(.cmp__icon) { overflow-wrap: normal; word-break: normal; hyphens: auto; }
    body .cmp:where(table) tbody td, body .cmp:where(table) tbody th { font-size: .76rem; }
    body .cmp:where(table) tbody th, body .cmp:where(table) thead th:first-child { width: 24%; }
    body .cmp:where(table) thead th:nth-child(2) { width: 38%; }
}

/* Tableau comparatif sur téléphone : il défile en largeur (texte lisible), avec une indication et la colonne des critères figée. */
@media (max-width: 640px) {
    body .cmp-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; position: relative; scrollbar-width: thin; scrollbar-color: var(--y-orange) transparent; }
    body .cmp:where(table) { width: 640px; min-width: 640px; table-layout: fixed; }
    body .cmp:where(table) thead th:first-child, body .cmp:where(table) tbody th { width: 150px; }
    body .cmp:where(table) thead th:nth-child(2), body .cmp:where(table) tbody td:nth-child(2) { width: 220px; }
    body .cmp:where(table) tbody td, body .cmp:where(table) tbody th, body .cmp:where(table) thead th { font-size: .92rem; padding: .8rem .8rem; }
    body .cmp:where(table) tbody td .cmp__cell { font-size: .92rem; }
    body .cmp:where(table) tbody th { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 var(--y-line-soft); }
    body .cmp:where(table) thead th:first-child { position: sticky; left: 0; z-index: 2; background: #fff; }
}
.cmp-hint { display: none; }
@media (max-width: 640px) {
    .cmp-hint { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0 0 .6rem; color: var(--y-muted); font-size: .85rem; font-weight: 600; }
    .cmp-hint svg { width: 22px; height: 22px; animation: cmp-nudge 1.6s ease-in-out infinite; }
    @keyframes cmp-nudge { 50% { transform: translateX(6px); } }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .cmp-hint svg { animation: none; } }
@media (max-width: 640px) {
    body .cmp:where(table) thead th:first-child, body .cmp:where(table) tbody th { width: 104px; min-width: 104px; max-width: 104px; padding-left: .6rem; padding-right: .5rem; font-size: .82rem; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
    body .cmp:where(table) { width: 600px; min-width: 600px; }
    body .cmp:where(table) thead th:nth-child(2), body .cmp:where(table) tbody td:nth-child(2) { width: 210px; }
}

/* Accueil : couleurs par bloc + bloc de prix */
.hs--tint { background: linear-gradient(135deg, #f1efff 0%, #fdeff3 55%, #fff3e6 100%); }
.hs-cards .hs-card:nth-child(1) { background: #f1efff; }
.hs-cards .hs-card:nth-child(2) { background: #fff3e6; }
.hs-cards .hs-card:nth-child(3) { background: #fdeff3; }
.hs-cards .hs-card:nth-child(1) .hs-card__icon { background: #d9d4fb; color: #4a3fc4; }
.hs-cards .hs-card:nth-child(2) .hs-card__icon { background: #ffd9b0; color: #b4530a; }

.hs-plan { max-width: none; margin: 0 auto; border: 0; border-radius: 28px; background: #fff; box-shadow: 0 28px 64px rgba(30, 27, 75, .16), 0 2px 6px rgba(30, 27, 75, .06); overflow: hidden; }
.hs-plan__row { display: grid; grid-template-columns: 1fr 1.35fr; }
.hs-plan__free { padding: 2.4rem 2.2rem; background: #f6f5fa; }
.hs-plan__paid { position: relative; padding: 2.4rem 2.4rem 2rem; background: var(--y-navy, #1e1b4b); color: #fff; }
.hs-plan__name { margin: 0 0 .6rem; font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.hs-plan__price { margin: 0; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.hs-plan__price small { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; opacity: .7; }
.hs-plan__line { margin: .8rem 0 0; font-size: 1.15rem; font-weight: 700; }
.hs-plan__more { margin: .25rem 0 0; font-size: 1.05rem; font-weight: 600; color: #ffc2d3; }
.hs-plan__tick { margin: 1.1rem 0 0; opacity: .75; }
.hs-plan__free .y-btn, .hs-plan__paid .y-btn { margin-top: 1.6rem; }
.hs-plan__paid .y-btn { background: var(--y-orange); border-color: var(--y-orange); color: #fff; }
.hs-plan__badge { position: absolute; top: 1.2rem; right: 1.4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--y-orange); color: #fff; font-size: .78rem; font-weight: 700; }
@media (max-width: 720px) {
    .hs-plan__row { grid-template-columns: 1fr; }
}
.hs-plan__first { margin: .7rem 0 0; color: #ffc2d3; font-weight: 600; }
.hs-plan__first strong { color: #fff; }
.hs-plan__free, .hs-plan__paid { padding-block: 3rem; }
.hs-plan__paid .y-btn.is-disabled, .hs-plan__free .y-btn.is-disabled { opacity: .5; pointer-events: none; }
/* Texte lu par les lecteurs d'écran et les moteurs, invisible à l'écran. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Simulateur de prix */
.sim { display: grid; grid-template-columns: 1.15fr 1fr; max-width: 1200px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 28px 64px rgba(30, 27, 75, .16), 0 2px 6px rgba(30, 27, 75, .06); }
.sim__left { padding: 3rem 2.6rem; background: linear-gradient(160deg, #f1efff 0%, #fdeff3 60%, #fff3e6 100%); }
.sim__right { padding: 3rem 2.6rem; background: var(--y-navy, #1e1b4b); color: #fff; display: flex; flex-direction: column; }
.sim__label { margin: 0 0 .5rem; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.sim__label label { cursor: pointer; }
.sim__views { margin: 0 0 1.6rem; font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--y-ink, #1e1b4b); }
.sim__range { width: 100%; height: 12px; border-radius: 999px; -webkit-appearance: none; appearance: none; outline: none; cursor: pointer; background: linear-gradient(to right, var(--y-orange) var(--fill, 0%), rgba(30, 27, 75, .14) var(--fill, 0%)); }
.sim__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 4px solid var(--y-orange); box-shadow: 0 4px 14px rgba(30, 27, 75, .3); }
.sim__range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--y-orange); box-shadow: 0 4px 14px rgba(30, 27, 75, .3); }
.sim__range:focus-visible { outline: 3px solid var(--y-ink, #1e1b4b); outline-offset: 8px; }
.sim__scale { display: flex; justify-content: space-between; margin-top: .7rem; font-size: .85rem; color: var(--y-muted); }
.sim__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.sim__chips button { padding: .5rem 1rem; border: 0; border-radius: 999px; background: #fff; color: var(--y-ink, #1e1b4b); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(30, 27, 75, .1); }
.sim__chips button:hover { background: var(--y-ink, #1e1b4b); color: #fff; }
.sim__price { margin: 0; font-size: clamp(2.8rem, 5.4vw, 4.2rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.sim__price small { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; opacity: .7; }
.sim__bar { display: flex; height: 12px; margin: 1.4rem 0 1.2rem; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.sim__bar i { display: block; height: 100%; transition: width .25s ease; }
.sim__bar i:first-child { background: #fff; }
.sim__bar i:last-child { background: var(--y-orange); }
.sim__lines { margin: 0; }
.sim__lines div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid rgba(255, 255, 255, .14); transition: opacity .2s; }
.sim__lines dt { margin: 0; opacity: .85; }
.sim__lines dd { margin: 0; font-weight: 700; white-space: nowrap; }
.sim__cap { margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: .92rem; }
.sim__cta { margin-top: auto; align-self: flex-start; background: var(--y-orange); border-color: var(--y-orange); color: #fff; }
.sim__right .sim__lines + .sim__cta, .sim__right .sim__cap + .sim__cta { margin-top: 1.6rem; }
@media (max-width: 800px) { .sim { grid-template-columns: 1fr; } .sim__left, .sim__right { padding: 2.2rem 1.5rem; } }

/* Page Tarifs : ce qui est inclus, comme le dashboard (liste à gauche, aperçu à droite) */
.tf-app { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem; border: 1px solid rgba(30, 27, 75, .07); border-radius: 24px; background: #f1f2f8; }
.tf-side { display: flex; flex-direction: column; gap: .25rem; }
.tf-tab { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .85rem 1rem; border: 0; border-radius: 12px; background: transparent; color: var(--y-muted); font: inherit; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.tf-tab:hover { background: rgba(255, 255, 255, .6); color: var(--y-ink); }
.tf-tab[aria-selected="true"] { background: #fff; color: var(--y-ink); box-shadow: 0 1px 3px rgba(30, 27, 75, .1); }
.tf-tab__icon { font-size: 1.3rem; color: var(--y-muted); }
.tf-tab[aria-selected="true"] .tf-tab__icon { color: var(--y-orange); }
.tf-tab__tag { margin-left: auto; padding: .12rem .55rem; border-radius: 999px; background: var(--y-orange-soft, #fbe4eb); color: #a32a4c; font-size: .7rem; font-weight: 700; }
.tf-tab:focus-visible { outline: 3px solid var(--y-ink); outline-offset: 2px; }
.tf-main { min-width: 0; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .04), 0 6px 18px rgba(30, 27, 75, .05); overflow: hidden; }
.tf-panel[hidden] { display: none; }
.tf-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: .5rem; }
.tf-scene { padding: 1rem; }
.tf-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.5rem 1.6rem 1.5rem .6rem; }
.tf-info__copy { flex: none; }
.tf-info h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.tf-info p { margin: 0; color: var(--y-muted); line-height: 1.5; }
.tf-info .tf-note { margin-top: .4rem; color: var(--y-ink); font-weight: 600; }
@media (max-width: 860px) {
    .tf-panel { grid-template-columns: 1fr; }
    .tf-info { padding: .2rem 1.2rem 1.4rem; }
    .tf-app { grid-template-columns: 1fr; padding: .7rem; }
    .tf-side { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .tf-side::-webkit-scrollbar { display: none; }
    .tf-tab { width: auto; flex: 0 0 auto; padding: .7rem .9rem; }
    .tf-tab__tag { margin-left: .3rem; }
}
.hs-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.2rem; margin: 2.2rem 0 0; }
.hs-cta span { color: var(--y-muted); }

/* Tableau comparatif : « ? » à côté du mot, bulle d'explication */
.cmp-label { display: inline-flex; align-items: center; gap: .5rem; }
.cmp-help { display: inline-grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: var(--y-orange-soft, #fbe4eb); color: #a32a4c; font: inherit; font-size: .85rem; font-weight: 800; line-height: 1; cursor: help; transition: background .15s, color .15s, transform .15s; }
.cmp-help:hover, .cmp-help[aria-expanded="true"] { background: var(--y-orange); color: #fff; transform: scale(1.08); }
.cmp-help:focus-visible { outline: 3px solid var(--y-ink); outline-offset: 2px; }
.cmp-tip { position: absolute; z-index: 90; width: max-content; max-width: min(18rem, calc(100vw - 24px)); padding: .85rem 1rem; border-radius: 14px; background: var(--y-navy, #1e1b4b); color: #fff; font-size: .9rem; font-weight: 500; line-height: 1.45; box-shadow: 0 16px 40px rgba(30, 27, 75, .35); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .15s, transform .15s; }
.cmp-tip.is-open { opacity: 1; transform: none; }
.cmp-tip::after { content: ""; position: absolute; left: var(--arrow, 50%); bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.cmp-tip.is-below::after { bottom: auto; top: -6px; }

/* Menu : le plan de taggage, produit phare, sur toute la largeur et en couleur */
.ymega__item--star { grid-column: 1 / -1; align-items: center; padding: 1.25rem 1.4rem; border: 0; background: linear-gradient(135deg, var(--y-orange) 0%, #e2587f 100%); color: #fff; box-shadow: 0 12px 28px rgba(205, 55, 97, .32); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.ymega__item--star .ymega__icon { width: 58px; height: 58px; border-radius: 16px; background: #fff; color: var(--y-orange); }
.ymega__item--star .ymega__icon .material-symbols-outlined { font-size: 1.9rem; }
.ymega__item--star .ymega__copy strong { margin-bottom: .3rem; font-size: 1.3rem; color: #fff; }
.ymega__item--star .ymega__copy strong .material-symbols-outlined { color: #fff; opacity: 1; transform: none; }
.ymega__item--star .ymega__copy small { color: rgba(255, 255, 255, .92); font-size: .95rem; }
.ymega__item--star .y-badge-beta { background: #fff; color: var(--y-orange); }
/* Survol : le texte et l'icône restent lisibles (les règles générales du menu les assombrissent sinon). */
.ymega__item--star:hover, .ymega__item--star:focus-visible { border-color: transparent; background: linear-gradient(135deg, #b52b55 0%, var(--y-orange) 100%); box-shadow: 0 16px 34px rgba(205, 55, 97, .42); transform: translateY(-1px); }
.ymega__item--star:hover .ymega__icon, .ymega__item--star:focus-visible .ymega__icon { background: #fff; color: var(--y-orange); }
.ymega__item--star:hover .ymega__copy strong, .ymega__item--star:focus-visible .ymega__copy strong,
.ymega__item--star:hover .ymega__copy strong .material-symbols-outlined, .ymega__item--star:focus-visible .ymega__copy strong .material-symbols-outlined { color: #fff; }
.ymega__item--star:hover .ymega__copy small, .ymega__item--star:focus-visible .ymega__copy small { color: #fff; }
.ymega__item--star:focus-visible { outline: 3px solid var(--y-navy); outline-offset: 2px; }
.ymobile__feature--star { border-bottom: 0; border-radius: 14px; background: linear-gradient(135deg, var(--y-orange), #e2587f); color: #fff; margin-bottom: .4rem; padding-inline: .7rem; }
.ymobile__feature--star .ymega__icon, .ymobile__feature--star .y-badge-beta { background: #fff; color: var(--y-orange); }

/* « À quoi ça sert ? » : petites maquettes d'interface, comme le dashboard */
.fp-recognize__card--mock { padding: 1.2rem 1.2rem 1.6rem; }
.rm { display: grid; align-content: center; gap: .5rem; min-height: 12rem; margin-bottom: 1.2rem; padding: .9rem; border-radius: 14px; background: #f1f2f8; }
.rm__row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .6rem; padding: .55rem .75rem .8rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .06); font-size: .88rem; font-weight: 600; color: var(--y-ink); }
.rm__row b { color: var(--y-orange); }
.rm__row i { position: absolute; left: .75rem; bottom: .4rem; height: 4px; width: calc((100% - 1.5rem) * var(--w, 0) / 100%); border-radius: 999px; background: rgba(205, 55, 97, .35); }
.rm__row--switch { padding-bottom: .55rem; }
.rm__line { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .55rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .06); }
.rm__btn { padding: .35rem .7rem; border-radius: 8px; background: #2a2523; color: #fff; font-size: .8rem; font-weight: 600; }
.rm__btn--light { background: #eceaf6; color: var(--y-ink); }
.rm__chip { padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.rm__chip--on { background: #e3f4ea; color: #1e7a45; }
.rm__chip--add { background: var(--y-orange-soft, #fbe4eb); color: #a32a4c; }
.rm__switch { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #d5d7e3; }
.rm__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(30, 27, 75, .25); transition: transform .2s ease; }
.rm__switch.is-on { background: var(--y-orange); }
.rm__switch.is-on::after { transform: translateX(16px); }

/* Maquettes : variantes (analytics, funnels, heatmap, cookies) */
.rm--kpi { gap: .7rem; }
.rm__big { display: flex; align-items: baseline; gap: .6rem; padding: .2rem .4rem 0; color: var(--y-ink); }
.rm__big strong { font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; color: #4a3fc4; }
.rm__big span, .rm__kpis span { font-size: .8rem; color: var(--y-muted); font-weight: 600; }
.rm__spark { display: flex; align-items: flex-end; gap: 4px; height: 3rem; padding: 0 .3rem; }
.rm__spark i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: #7a70d6; opacity: .7; }
.rm__spark i:last-child { background: var(--y-orange); opacity: 1; }
.rm__kpis { display: flex; gap: .5rem; }
.rm__kpis div { flex: 1; display: grid; gap: .1rem; padding: .55rem .65rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .06); }
.rm__kpis b { font-size: 1.15rem; color: var(--y-ink); }
.rm__curve { width: 100%; height: 3.4rem; }
.rm__link { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .06); font-size: .82rem; font-weight: 600; color: var(--y-ink); }
.rm__link em { padding: .25rem .65rem; border-radius: 8px; background: var(--y-ink); color: #fff; font-style: normal; font-size: .75rem; }
.rm__who { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--y-ink); }
.rm__who i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #d9d4fb; color: #4a3fc4; font-style: normal; font-size: .75rem; font-weight: 700; }
.rm__step { position: relative; display: grid; grid-template-columns: 6.2rem 1fr auto; align-items: center; gap: .6rem; padding: .45rem .7rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .06); font-size: .82rem; font-weight: 600; color: var(--y-ink); }
.rm__step i { display: block; height: 10px; width: var(--w); border-radius: 999px; background: rgba(205, 55, 97, .55); }
.rm__step b { color: var(--y-muted); font-size: .8rem; }
.rm__step--soft i { background: rgba(74, 63, 196, .4); }
.rm__step--bad { box-shadow: inset 0 0 0 1.5px var(--y-orange), 0 1px 2px rgba(30, 27, 75, .06); }
.rm__step--bad i { background: var(--y-orange); }
.rm__alert { padding: .45rem .7rem; border-radius: 10px; background: var(--y-orange-soft, #fbe4eb); color: #a32a4c; font-size: .8rem; font-weight: 700; text-align: center; }
.rm__alert--ok { background: #e3f4ea; color: #1e7a45; }
.rm__grip { color: var(--y-muted); letter-spacing: -.15em; }
.rm__add { padding: .5rem; border: 1.5px dashed #c9cbe0; border-radius: 10px; color: var(--y-muted); font-size: .82rem; font-weight: 700; text-align: center; }
.rm__line--warn { box-shadow: inset 0 0 0 1.5px rgba(205, 55, 97, .4), 0 1px 2px rgba(30, 27, 75, .06); }
.rm__chip--warn { background: #fff0d9; color: #a35a08; }
.rm__page { position: relative; height: 9.6rem; padding: .7rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(30, 27, 75, .06); overflow: hidden; }
.rm__page b { display: block; height: .55rem; margin-bottom: .45rem; border-radius: 4px; background: #e8e9f2; }
.rm__page b:nth-child(1) { width: 60%; } .rm__page b:nth-child(2) { width: 90%; } .rm__page b:nth-child(3) { width: 75%; }
.rm__blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.rm__blob--1 { left: 12%; top: 38%; width: 5.2rem; height: 5.2rem; background: radial-gradient(circle, rgba(226, 88, 127, .75), rgba(240, 170, 90, .35) 55%, transparent 72%); }
.rm__blob--2 { right: 10%; top: 12%; width: 3.6rem; height: 3.6rem; background: radial-gradient(circle, rgba(240, 170, 90, .7), rgba(255, 220, 140, .3) 55%, transparent 72%); }
.rm__blob--3 { right: 24%; bottom: 6%; width: 2.8rem; height: 2.8rem; background: radial-gradient(circle, rgba(255, 220, 140, .75), transparent 70%); }
.rm__cookie { padding: .8rem; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(30, 27, 75, .12); font-size: .82rem; color: var(--y-ink); }
.rm__cookie strong { display: block; margin-bottom: .15rem; font-size: .9rem; }
.rm__cookie p { margin: 0 0 .6rem; color: var(--y-muted); }
.rm__cookie div { display: flex; gap: .4rem; }
.rm__cookie span { flex: 1; padding: .35rem .2rem; border-radius: 8px; background: #eceaf6; text-align: center; font-size: .72rem; font-weight: 700; }
.rm__cookie span.is-main { background: var(--y-ink); color: #fff; }

/* Accueil : la grande ombre de la vidéo était coupée net par le bas de l'en-tête (ligne droite visible) ; on lui laisse la place de s'effacer. */
.hero--demo:has(.hd--video) { padding-bottom: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0; }
.fp-recognize .y-section-head h2, .hs__head h2 { text-wrap: balance; }

/* Accueil : la première section blanche a le haut arrondi (pas de ligne droite sous l'en-tête). */
#fonctions { margin-top: clamp(2rem, 4vw, 3rem); border-radius: 40px 40px 0 0; }
.hs-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.2rem; margin: 2.2rem 0 0; }
.hs-cta span { color: var(--y-muted); }

/* Pages comparatives : lexique « Les mots de X, expliqués simplement » */
.vs-gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; }
.vs-gloss__item { margin: 0; padding: 1rem 1.2rem; border: 1px solid rgba(30, 27, 75, .08); border-radius: 14px; background: #fff; }
.vs-gloss__item:nth-child(4n+1) { background: #f1efff; } .vs-gloss__item:nth-child(4n+2) { background: #fff3e6; }
.vs-gloss__item:nth-child(4n+3) { background: #fdeff3; } .vs-gloss__item:nth-child(4n+4) { background: #e9f6ee; }
.vs-gloss dt { margin: 0 0 .25rem; font-weight: 800; color: var(--y-ink); }
.vs-gloss dd { margin: 0; color: var(--y-muted); line-height: 1.5; font-size: .95rem; }
@media (max-width: 720px) { .vs-gloss { grid-template-columns: 1fr; } }

/* Pages comparatives : illustration sous le titre, bouton vers les offres sous le tableau */
.vs-why__scene { max-width: 860px; margin: 0 auto 2.2rem; }
.vs-offers { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin: 2.2rem 0 1.4rem; text-align: center; }
.vs-offers p { margin: 0; color: var(--y-muted); font-size: .95rem; }

/* Pages comparatives : 4 cartes à maquette (comme « À quoi ça sert ? »), cliquables vers la fonctionnalité */
.vs-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.vs-why-card { display: block; padding: 1.2rem 1.2rem 1.6rem; border: 1px solid var(--y-line); border-radius: 20px; background: #fff; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.vs-why-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 27, 75, .1); }
.vs-why-card:focus-visible { outline: 3px solid var(--y-navy, #1e1b4b); outline-offset: 3px; }
.vs-why-card h3 { margin: 1rem 0 .45rem; font-size: 1.05rem; line-height: 1.25; }
.vs-why-card p { margin: 0; color: var(--y-muted); font-size: .92rem; line-height: 1.55; }
@media (max-width: 1100px) { .vs-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vs-why-grid { grid-template-columns: 1fr; } }
.vs-why-card .rm__kpis { gap: .35rem; }
.vs-why-card .rm__kpis div { padding: .5rem .45rem; min-width: 0; }
.vs-why-card .rm__kpis b { font-size: 1rem; white-space: nowrap; }
.vs-why-card .rm__kpis span { font-size: .72rem; }

/* ===== Accueil uniquement : refonte validée (index des cinq questions, panneaux, étapes, cellules jointes) ===== */
   Même forme que le hero : grand panneau arrondi, dégradé des images du blog, vraie scène de l'outil dans une fenêtre à bordure indigo.
   Limité aux sections de l'accueil par leurs identifiants : les pages fonctionnalité ne changent pas. */
#fonctions .hs__head h2::after,
#tarifs .hs__head h2::after,
#comment-ca-marche .hs__head h2::after,
#preuves .hs__head h2::after,
#comparaison .hs__head h2::after,
#questions .y-section-head h2::after {
    content: "";
    display: inline-block;
    width: .17em;
    height: .17em;
    margin-left: .07em;
    border-radius: 50%;
    background: var(--y-orange);
}

#fonctions .hs-row {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-radius: 36px;
    background: linear-gradient(160deg, #f6d3df 0%, #f0dbe6 45%, #e8e5f0 100%);
}
#fonctions .hs-row--reverse { background: linear-gradient(200deg, #e3def5 0%, #ebe3f1 50%, #f7dde6 100%); }
#fonctions .hs-row + .hs-row { margin-top: 1rem; }
#fonctions .hs-row__scene .ys {
    border: 3px solid var(--y-navy);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(30, 27, 75, .2);
}

#comment-ca-marche .hs-steps li,
#preuves .hs-review,
#comparaison .hs-compare-links a + a { /* garde la forme des boutons existante pour les liens */ }
#comment-ca-marche .hs-steps li,
#preuves .hs-review {
    border: 1.5px solid var(--y-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 7px 7px 0 #e8e6f7;
}
#preuves .hs-review { box-shadow: 7px 7px 0 var(--hs-soft, #f1eff8); }
#fonctions .hs-row__copy h3 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); text-wrap: balance; }
#comment-ca-marche .hs-steps li { padding: 2rem 1.9rem 1.9rem; }
#comment-ca-marche .hs-steps li::before { display: none; }

/* ---------- Pages fonctionnalité : même langage que l'accueil (panneaux, tuiles, point rond) ---------- */

   Le fond de page, les filets et le texte secondaire viraient au gris-bleu, ce qui jurait avec les panneaux rose et lavande. */
html:has(.hq, .hv2) {
    --y-cream: #f4f1f8;
    --y-cream-2: #e9e4f1;
    --y-line: #e2ddec;
    --y-line-soft: #ebe7f3;
    --y-muted: #5f5b82;
}

/* ---------- Tout le site public : mêmes tuiles, même point rond, même panneau d'appel final ---------- */
html:has(.hq, .hv2) .y-section-head h2::after,
html:has(.hq, .hv2) .hs__head h2::after {
    content: "";
    display: inline-block;
    width: .17em;
    height: .17em;
    margin-left: .07em;
    border-radius: 50%;
    background: var(--y-orange);
}
html:has(.hq, .hv2) .y-card,
html:has(.hq, .hv2) .wy-deep__card,
html:has(.hq, .hv2) .ci-card {
    border: 1.5px solid var(--y-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 7px 7px 0 #e8e6f7;
}
html:has(.hq, .hv2) .y-cta__card {
    border-radius: 36px;
    background: linear-gradient(160deg, #f6d3df 0%, #f0dbe6 45%, #e8e5f0 100%);
    box-shadow: none;
}

/* ---------- Accueil : premier bloc clair (l'animation reste, le gros bloc indigo disparaît) ---------- */

html:has(.hq, .hv2) .hero--demo {
    margin: 0;
    border-radius: 0;
    min-height: 0;
    padding-top: calc(var(--y-nav-h) + clamp(3rem, 7vh, 5rem));
    overflow: visible;
}
html:has(.hq, .hv2) .hero--demo::before {
    inset: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #fff 100%),
        linear-gradient(rgba(30, 27, 75, .045) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(90deg, rgba(30, 27, 75, .045) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(180deg, #f7e3ec 0%, #f3ecf6 62%, #fff 100%);
}
html:has(.hq, .hv2) .hero--demo .hero__title {
    color: var(--y-navy);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.4vw, 4.5rem);
    letter-spacing: -.045em;
    line-height: 1.04;
    max-width: 62rem;
}
html:has(.hq, .hv2) .hero--demo .hero__subtitle {
    color: var(--y-muted);
    font-weight: 400;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}
html:has(.hq, .hv2) .hero--demo .hd {
    border: 3px solid var(--y-navy);
    border-radius: 28px;
    box-shadow: 0 24px 60px color-mix(in srgb, var(--y-navy) 16%, transparent);
}

/* ---------- Heatmap : des couleurs plus douces (framboise qui s'éclaircit, plus de jaune ni d'orange vifs) ---------- */
html:has(.hq, .hv2) .ys__heat {
    background: radial-gradient(circle, rgba(205, 55, 97, .78) 0, rgba(222, 100, 128, .55) 30%, rgba(236, 160, 182, .32) 55%, rgba(236, 160, 182, 0) 72%);
}
html:has(.hq, .hv2) .yh-heat {
    background: radial-gradient(circle, rgba(205, 55, 97, .78) 0, rgba(222, 100, 128, .55) 30%, rgba(236, 160, 182, .32) 55%, rgba(236, 160, 182, 0) 72%);
}
html:has(.hq, .hv2) img[src*="heatmap"] { filter: saturate(.72); }

/* ---------- Accueil : même rendu que la maquette propre (un seul ton de panneau, cellules jointes) ---------- */
#fonctions .hs-row,
#fonctions .hs-row--reverse { background: #f4f1f8; }
#comment-ca-marche .hs-steps {
    gap: 0;
    border: 1px solid var(--y-line);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
}
#comment-ca-marche .hs-steps li {
    border: 0;
    border-right: 1px solid var(--y-line);
    border-radius: 0;
    box-shadow: none;
    padding: 2.6rem 2.4rem;
}
#comment-ca-marche .hs-steps li:last-child { border-right: 0; }
#comment-ca-marche .hs-steps li > span { color: var(--y-orange); font-weight: 500; }
@media (max-width: 900px) {
    #comment-ca-marche .hs-steps li { border-right: 0; border-bottom: 1px solid var(--y-line); }
    #comment-ca-marche .hs-steps li:last-child { border-bottom: 0; }
}

/* ---------- Pages fonctionnalité : même rendu que l'accueil (cellules jointes, panneaux d'un seul ton) ---------- */

html:has(.hq, .hv2) .yfoot {
    margin: 0 clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 24px);
    border-radius: 40px;
    background:
        radial-gradient(50% 80% at 100% 100%, rgba(205, 55, 97, .22), transparent 70%),
        var(--y-navy);
    overflow: hidden;
}
html:has(.hq, .hv2) .yfoot__inner { padding-inline: clamp(1.5rem, 4vw, 4rem); }

/* ---------- Accueil : refonte (index des cinq questions, étapes reliées, citations, curseur de sélection) ---------- */

.sel {
    position: relative;
    padding: 0 .06em;
    border-radius: .12em;
    background: rgba(205, 55, 97, .16);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.sel::after {
    content: "";
    position: absolute;
    top: -.04em;
    right: -.07em;
    width: .06em;
    height: 1.06em;
    border-radius: 2px;
    background: var(--y-orange);
}

#fonctions { margin-top: 0; border-radius: 0; }
.hq {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.hq__item { border-top: 1px solid var(--y-line); }
.hq__item:last-child { border-bottom: 1px solid var(--y-line); }
.hq__q {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-items: baseline;
    width: 100%;
    padding: 1.6rem 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.hq__n { color: var(--y-muted); font-size: .95rem; font-weight: 600; }
.hq__q h3 { margin: 0; color: var(--y-muted); font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.hq__item.is-on .hq__q h3 { color: var(--y-ink); }
.hq__item.is-on .hq__n { color: var(--y-orange); }
.hq__q:hover h3 { color: var(--y-ink); }
.hq__body { display: none; padding: 0 0 1.8rem 2.75rem; }
.hq__item.is-on .hq__body { display: block; }
.hq__answer { margin: 0 0 .55rem; color: var(--y-orange); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.hq__body p:not(.hq__answer) { margin: 0 0 1.1rem; color: var(--y-muted); font-size: 1.08rem; line-height: 1.6; }
.hq__link { color: var(--y-orange); font-weight: 600; text-decoration: none; }
.hq__link:hover { text-decoration: underline; }

.hq__stage {
    position: sticky;
    top: calc(var(--y-nav-h) + 1.5rem);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: 36px;
    background: linear-gradient(160deg, #f6d3df 0%, #f0dbe6 45%, #e8e5f0 100%);
}
.hq__panel[hidden] { display: none; }
.hq__scene .ys {
    border: 3px solid var(--y-navy);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(30, 27, 75, .18);
}
@media (max-width: 900px) {
    .hq { grid-template-columns: minmax(0, 1fr); }
    .hq__stage { position: static; order: -1; }
}

/* Étapes : des ronds reliés par un trait pointillé */
#comment-ca-marche .hs-steps {
    position: relative;
    gap: clamp(1.5rem, 4vw, 3rem);
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
}
#comment-ca-marche .hs-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    right: 0;
    left: 0;
    border-top: 2px dashed #e3b5c4;
}
#comment-ca-marche .hs-steps li {
    position: relative;
    padding: 0;
    border: 0 !important;
    background: none;
    box-shadow: none;
}
#comment-ca-marche .hs-steps li > span {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 1.6rem;
    border-radius: 50%;
    background: var(--y-orange);
    box-shadow: 0 0 0 10px var(--y-cream);
    color: #fff;
    font-family: var(--y-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0;
}
#comment-ca-marche .hs-steps h3 { font-size: 1.6rem; letter-spacing: -.03em; }
@media (max-width: 800px) { #comment-ca-marche .hs-steps::before { display: none; } }

/* Citations : du texte, sans cadre */
#preuves .hs-review {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
#preuves .hs-review blockquote { font-size: 1.35rem; line-height: 1.5; }
#preuves .hs-reviews { gap: clamp(2rem, 4vw, 3.5rem); }
.hq__q h3 { text-wrap: balance; }

/* ---------- Accueil : boutons sous le titre, curseurs décoratifs (même rendu que refonte2.html) ---------- */

html:has(.hq, .hv2) .hero--demo .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: center;
    margin: 2rem 0 0;
    padding: 0;
}
html:has(.hq, .hv2) .hero--demo .hero__btn-booking { border-color: var(--y-navy); color: var(--y-navy); box-shadow: var(--y-offset) var(--y-offset-soft); }
html:has(.hq, .hv2) .hero--demo .hero__subtitle { margin-bottom: 0; }

/* Accueil : l'adresse du site et le bouton d'inscription dans une même barre ; le webinar passe dessous. */
.hero-url {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex: 0 1 600px;
    margin: 0 max(0px, calc((100% - 600px) / 2));
    padding: .4rem .4rem .4rem 1.2rem;
    background: #fff;
    border: 2px solid var(--y-navy);
    border-radius: 999px;
    box-shadow: var(--y-offset) var(--y-offset-soft);
}
.hero-url:focus-within { border-color: var(--y-orange); }
.hero-url__icon { flex: none; color: var(--y-navy); opacity: .55; }
.hero-url__input {
    flex: 1;
    min-width: 0;
    padding: .6rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 1.05rem;
    color: var(--y-navy);
}
html .hero--demo .hero-url .hero-url__btn { flex: none; border: 0; border-radius: 999px; box-shadow: none; transform: none; font-family: inherit; cursor: pointer; padding-inline: 1.6rem; }
@media (max-width: 600px) {
    .hero-url { flex-wrap: wrap; flex-basis: 100%; padding: .5rem; margin: 0; border-radius: 24px; }
    .hero-url__icon { margin-left: .6rem; }
    html .hero--demo .hero-url .hero-url__btn { flex-basis: 100%; }
}

/* ---------- Blog : en-tête centré avec thèmes en pastilles, puis la grille (comme refonte-blog) ---------- */

html:has(.hq, .hv2) .cmp-wrap {
    overflow-x: auto;
    border: 1px solid var(--y-line);
    border-radius: 28px;
    background: #fff;
}
html:has(.hq, .hv2) .cmp { border-collapse: collapse; }
html:has(.hq, .hv2) .cmp th,
html:has(.hq, .hv2) .cmp td { padding: 1.35rem 1.5rem; border-bottom: 1px solid var(--y-line); }
html:has(.hq, .hv2) .cmp tbody tr:last-child th,
html:has(.hq, .hv2) .cmp tbody tr:last-child td { border-bottom: 0; }
html:has(.hq, .hv2) .cmp thead th {
    border-bottom: 1px solid var(--y-line);
    background: #fff;
    color: var(--y-ink);
    font-size: 1.02rem;
}
html:has(.hq, .hv2) .cmp thead .cmp__yaab {
    border: 0;
    border-radius: 0;
    background: var(--y-orange);
}
html:has(.hq, .hv2) .cmp thead .cmp__yaab img { filter: brightness(0) invert(1); }
html:has(.hq, .hv2) .cmp .cmp__yaab,
html:has(.hq, .hv2) .cmp tbody tr:last-child .cmp__yaab {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background: #fdf1f5;
}
html:has(.hq, .hv2) .cmp tbody tr:hover > * { background-color: transparent; }
html:has(.hq, .hv2) .cmp tbody tr:hover > .cmp__yaab { background-color: #fdf1f5; }
html:has(.hq, .hv2) .cmp tfoot td { border-bottom: 0; }
html:has(.hq, .hv2) .cmp tfoot .cmp__yaab { background: #fdf1f5; }

/* ---------- Comparatifs et fonctionnalités : panneaux lavande sur fond blanc (comme l'accueil) ---------- */

html:has(.hq, .hv2) .y-cta__photo { display: none; }
html:has(.hq, .hv2) .y-cta__card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 3rem); }
html:has(.hq, .hv2) .y-cta__actions { justify-content: center; }

/* Étapes de l'accueil : chaque étape a son visuel, dans le style des images du blog (dégradé pastel + carte blanche à bordure indigo coupée). */
html:has(.hq, .hv2) #comment-ca-marche .hs-steps { gap: 1.25rem; }
html:has(.hq, .hv2) #comment-ca-marche .hs-steps::before { display: none; }
html:has(.hq, .hv2) #comment-ca-marche .hs-steps li {
    display: flex; flex-direction: column; padding: 1rem 1rem 1.75rem !important;
    border: 0 !important; border-radius: 32px; background: #fff; box-shadow: none;
}
.st-vis { position: relative; height: 210px; margin-bottom: 1.5rem; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #f6d3df 0%, #f0dbe6 45%, #e8e5f0 100%); }
.st-vis--2 { background: linear-gradient(160deg, #d5eadf, #e4efe9 55%, #e8e5f0); }
.st-vis--3 { background: linear-gradient(160deg, #dcd6f4, #e5e0f3 55%, #f3dde7); }
.st-card { position: absolute; left: 28px; right: 28px; top: 28px; bottom: -40px; padding: 14px 16px; border: 2px solid var(--y-navy); border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 12px 28px rgba(30, 27, 75, .12); font-size: 12px; overflow: hidden; }
.st-card b { display: block; margin-bottom: 8px; padding-bottom: 7px; border-bottom: 1px solid var(--y-line); font-size: 15px; letter-spacing: -.02em; }
.st-card code { display: block; padding: 8px 10px; border-radius: 8px; background: #f4f1f8; color: var(--y-navy); font-size: 11px; }
.st-card--code i { display: block; height: 9px; margin-top: 9px; border-radius: 5px; background: #e6e1f6; }
.st-card--code i + i { width: 60%; }
.st-row { display: flex; align-items: center; justify-content: space-between; margin: 9px 0 3px; }
.st-row u { width: 26px; height: 14px; border-radius: 99px; background: #d9d2f3; }
.st-row u.on { background: var(--y-orange); }
.st-row em { padding: 2px 9px; border-radius: 99px; background: #e6e1f6; font-style: normal; font-weight: 700; font-size: 11px; }
.st-row em.hot { background: var(--y-orange); color: #fff; }
.st-card s { display: block; height: 10px; border-radius: 6px; background: #d9d2f3; }
html:has(.hq, .hv2) #comment-ca-marche .hs-steps li > span { margin: 0 0 .25rem 1rem; }
html:has(.hq, .hv2) #comment-ca-marche .hs-steps h3,
html:has(.hq, .hv2) #comment-ca-marche .hs-steps p { margin-inline: 1rem; }
html:has(.hq, .hv2) #comment-ca-marche .hs-steps li > span { display: block; width: auto; height: auto; background: none; box-shadow: none; color: var(--y-orange); font-size: .95rem; font-weight: 600; }

/* Entrée annoncée mais pas encore ouverte : visible, non cliquable */
.ysoon { cursor: default; }
.ymega__foot > span.ysoon { color: var(--y-muted); font-size: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; }
.yfoot__col .ysoon { display: block; padding: .32rem 0; color: rgba(255, 255, 255, .5); font-size: .92rem; }
.ymobile__feature.ysoon { color: var(--y-muted); }

/* Sélecteur de langue (partials/lang-switch) : drapeau dans la barre du haut, deux langues dans le menu mobile. */
.ylang {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .5rem;
    border-radius: 8px;
    color: inherit;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

.ylang:hover,
.ylang:focus-visible {
    background: rgba(0, 0, 0, .06);
}

.ylang svg,
.ylang-menu__item svg {
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

.ylang-menu {
    display: flex;
    gap: .5rem;
    margin-bottom: .75rem;
}

.ylang-menu__item {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem .75rem;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 10px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.ylang-menu__item.is-current {
    background: rgba(0, 0, 0, .06);
    border-color: transparent;
}

/* Mobile : le menu ouvert porte le sélecteur, la barre du haut reste dégagée. */
@media (max-width: 1024px) {
    .ynav__actions .ylang {
        display: none;
    }
}
