@charset "UTF-8";

/* =============================================================
   ACCUEIL — refonte 2026 (gestionnaires de réseau)
   Chargé uniquement par la page d'accueil, APRÈS style.css.
   N'affecte ni partenaires.html, ni la 404, ni les manuels.

   Rappel de la règle de style.css : l'orange est une couleur de
   REMPLISSAGE, jamais une encre sur fond clair. Tout le texte est
   marine (--navy) ou gris encre (--ink).
   ============================================================= */


/* --- Lien d'évitement (A11Y-1 de l'audit) --- */

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 2000;
    background: var(--navy);
    color: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}


/* --- Zones tactiles : 44 px minimum (A11Y-2 de l'audit) --- */

.page-accueil .btn-primary,
.page-accueil .btn-light {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-accueil .btn-light .icon,
.page-accueil .btn-primary .icon {
    width: 18px;
    height: 18px;
    margin-right: 0;
}


/* --- Titres de section --- */

.page-accueil h1,
.page-accueil h2,
.page-accueil h3 {
    text-wrap: balance;
}

.eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.6rem;
}

.section-title .lead-text {
    font-size: 19px;
    font-weight: 300;
    color: var(--navy);
    max-width: 720px;
    margin: 1rem auto 0;
}

.section-narrow {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}


/* --- Navigation : le dernier lien devient un bouton --- */

@media (min-width: 992px) {
    .navbar-nav .nav-link.nav-cta {
        background: var(--orange);
        border-radius: 3px;
        margin-left: 0.75rem;
        font-weight: 600;
    }

    .navbar-nav>.nav-item>.nav-link.nav-cta.active:after {
        display: none;
    }
}


/* --- 1. Hero --- */

.hero-eyebrow {
    margin-bottom: 1rem;
}

.page-accueil header h1 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-cta .btn {
    margin: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--navy);
    background: transparent;
    border: 2px solid var(--navy);
    border-radius: 3px;
    padding: 0.5rem 1.8rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
}


/* --- 2. Les trois portes --- */

.doors {
    row-gap: 1.5rem;
}

.door {
    height: 100%;
    background: #fff;
    border: 1px solid #e9eaf2;
    border-radius: 6px;
    padding: 1.75rem 1.6rem;
    display: flex;
    flex-direction: column;
}

.door .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.door h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.door p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.door-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.door-links li+li {
    margin-top: 0.35rem;
}

.door-link {
    font-weight: 600;
    color: var(--navy);
}

.door-link::after {
    content: " →";
}

.door--secondary {
    background: var(--lavender);
    border-color: transparent;
}


/* --- 3. La preuve --- */

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 3.5rem;
    margin: 0 0 2.75rem;
    padding: 0;
    list-style: none;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: block;
    font-size: 15px;
    color: var(--ink);
    margin-top: 0.25rem;
}

.networks {
    row-gap: 1rem;
}

/* Le logo porte le nom du réseau ; la légende dit qui le gère */
.network {
    height: 100%;
    background: #fff;
    border-radius: 6px;
    padding: 1.6rem 1.2rem 1.3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.network-logo {
    display: block;
    height: 120px;
    width: auto;
    max-width: 100%;
}

.network-org {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0;
}


/* --- 4. Le problème --- */

.pain-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.pain-list li {
    position: relative;
    padding: 1rem 0 1rem 2.25rem;
    border-top: 1px solid #e9eaf2;
    color: var(--ink);
    font-size: 17px;
}

.pain-list li:last-child {
    border-bottom: 1px solid #e9eaf2;
}

.pain-list li::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 1.55rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
}

.pain-list .pain-last {
    color: var(--navy);
    font-weight: 500;
}


/* --- 5. La solution --- */

.solution-visual img {
    max-width: 100%;
    height: auto;
}

.features-grid {
    row-gap: 2rem;
}

.feature .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.7rem;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature p {
    font-size: 15px;
    margin-bottom: 0;
}


/* --- Citations (sections 5, 6 et 11) --- */

.pull-quote {
    margin: 3rem auto 0;
    max-width: 820px;
    background: #fff;
    border-left: 4px solid var(--orange);
    border-radius: 6px;
    padding: 1.6rem 1.8rem;
}

.pull-quote blockquote {
    margin: 0;
}

.pull-quote blockquote p {
    font-size: 18px;
    font-weight: 300;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 0.9rem;
}

.pull-quote figcaption,
.testimonial figcaption {
    font-size: 14px;
    color: var(--ink);
}

.pull-quote figcaption strong,
.testimonial figcaption strong {
    color: var(--navy);
    font-weight: 600;
}

.bg-white-quote .pull-quote {
    background: var(--lavender);
}


/* --- 6. Un seul chèque --- */

.paths {
    row-gap: 1.5rem;
}

.path {
    height: 100%;
    border: 1px solid #e9eaf2;
    border-radius: 6px;
    padding: 1.8rem 1.6rem;
}

.path-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.path-head .icon {
    width: 36px;
    height: 36px;
    margin: 0;
}

.path-head h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 0;
}

.path p {
    margin-bottom: 0.9rem;
}

.path-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.path-stores .btn-light {
    margin: 0;
    font-size: 13px;
    padding: 0.5rem 1.2rem;
}

.path-stores .icon {
    width: 18px;
    height: 18px;
}

.closing-line {
    text-align: center;
    font-size: 19px;
    font-weight: 500;
    color: var(--navy);
    max-width: 720px;
    margin: 2.5rem auto 0;
}


/* --- 7. Vos règles --- */

.settings-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.settings-list li {
    background: #fff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    padding: 0.45rem 1rem;
}


/* --- 8. Tarifs --- */

.pricing {
    row-gap: 1.25rem;
    margin-top: 1rem;
}

.price-step {
    height: 100%;
    background: #fff;
    border-radius: 6px;
    padding: 1.6rem 1.5rem;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 26px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.price-step--key {
    border: 2px solid var(--orange);
}

.price-step--key .price-label {
    font-size: 40px;
    line-height: 1.1;
}

.price-step p {
    margin-bottom: 0;
    font-size: 15px;
}

.price-highlight {
    max-width: 820px;
    margin: 2.25rem auto 0;
    background: var(--navy);
    border-radius: 6px;
    padding: 1.5rem 1.8rem;
    text-align: center;
}

.price-highlight p {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    margin: 0;
}

.price-highlight p+p {
    font-weight: 300;
    margin-top: 0.3rem;
}

.negations {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
}

.negations li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-weight: 500;
    font-size: 15px;
}

.negations .icon {
    width: 20px;
    height: 20px;
    margin: 0;
}

.pricing-cta {
    text-align: center;
    margin-top: 2.25rem;
}


/* --- 9. Vos données --- */

.data-facts {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.data-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--navy);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.45;
}

.data-facts .icon {
    width: 26px;
    height: 26px;
    margin: 0;
    flex: none;
}

.data-facts span {
    display: block;
    font-weight: 400;
    color: var(--ink);
    font-size: 14px;
}


/* --- 10. Références --- */

.testimonials {
    row-gap: 1.5rem;
}

.testimonial {
    height: 100%;
    margin: 0;
    background: #fff;
    border-radius: 6px;
    padding: 1.8rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.8rem;
}

.testimonial blockquote {
    margin: 0 0 1.2rem;
    flex-grow: 1;
}

.testimonial blockquote p {
    font-size: 16.5px;
    font-weight: 300;
    color: var(--navy);
    line-height: 1.65;
    margin: 0;
}

.testimonial-role {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}


/* --- 11. FAQ gestionnaire (accordéon natif, sans JavaScript) --- */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-top: 1px solid #e3e5ef;
}

.faq-item:last-child {
    border-bottom: 1px solid #e3e5ef;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 0.25rem;
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
}

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

.faq-item summary:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

.faq-item summary .icon {
    width: 18px;
    height: 18px;
    margin: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0.25rem 1.3rem;
}

.faq-answer p {
    margin-bottom: 0.8rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-more {
    max-width: 820px;
    margin: 2.5rem auto 0;
}


/* --- 12. Contact et formulaire --- */

.contact-panel {
    background: var(--navy);
    border-radius: 8px;
    padding: 3rem 2.5rem;
}

.contact-intro h2,
.contact-intro p {
    color: #fff;
}

.contact-intro .eyebrow {
    color: #d9dcef;
}

.contact-intro .lead-text {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-alt {
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.contact-intro .btn {
    margin: 0;
}

.contact-intro a:not(.btn) {
    color: #fff;
}

.contact-lines {
    margin-top: 2rem;
}

.contact-lines p {
    margin-bottom: 0.6rem;
    font-size: 15px;
}

.lead-card {
    background: #fff;
    border-radius: 6px;
    padding: 2rem 1.8rem;
}

.lead-intro {
    font-size: 14px;
    margin-bottom: 1.25rem;
}

.lead-form fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1.75rem;
    min-width: 0;
}

.lead-form legend {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 1px solid #e3e5ef;
    width: 100%;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.field {
    margin-bottom: 1rem;
    min-width: 0;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.lead-form label,
.field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.lead-form .form-control {
    border: 1px solid #c9cde0;
    border-radius: 4px;
    color: var(--navy);
    height: auto;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    font-size: 15px;
}

.lead-form .form-control:focus {
    border-color: var(--navy);
    box-shadow: none;
    outline: 3px solid var(--navy);
    outline-offset: 1px;
}

.lead-form [aria-invalid="true"] {
    border-color: #b3261e;
}

.field-hint {
    font-size: 13px;
    margin: 0.3rem 0 0;
}

.field-error {
    font-size: 13.5px;
    font-weight: 500;
    color: #b3261e;
    margin: 0.35rem 0 0;
}

.field-error::before {
    content: "⚠ ";
}

/* Boutons radio et cases à cocher : zone cliquable de 44 px */
.choice-row,
.choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lead-form .choice,
.lead-form .check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400;
    color: var(--ink);
    font-size: 15px;
    min-height: 44px;
    padding: 0.55rem 0;
    margin: 0;
    cursor: pointer;
}

.lead-form .check {
    align-items: flex-start;
    color: var(--navy);
}

.lead-form input[type="radio"],
.lead-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 0.1rem;
    accent-color: var(--navy);
}

.lead-form input[type="radio"]:focus-visible,
.lead-form input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

.lead-privacy {
    font-size: 13px;
    line-height: 1.55;
    margin: 0.5rem 0 0;
}

.lead-privacy a {
    text-decoration: underline;
}

/* Champ piège : hors écran plutôt qu'en display:none, que certains robots repèrent */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-summary {
    background: #fdf3f3;
    border-left: 4px solid #b3261e;
    border-radius: 4px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.lead-summary:focus {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

.lead-summary-title {
    font-weight: 600;
    color: #b3261e;
    margin-bottom: 0.4rem;
}

.lead-summary ul {
    margin: 0;
    padding-left: 1.2rem;
}

.lead-summary a {
    color: var(--navy);
    text-decoration: underline;
}

.lead-status:empty {
    display: none;
}

.lead-status--error {
    background: #fdf3f3;
    border-left: 4px solid #b3261e;
    border-radius: 4px;
    padding: 0.9rem 1.1rem;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 1rem;
}

.lead-status:focus {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

.lead-submit {
    width: 100%;
    margin: 0;
    font-size: 13px;
}

.lead-submit[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.lead-success {
    padding: 1rem 0.5rem;
}

.lead-success h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.lead-success h3:focus {
    outline: none;
}


/* --- Pied de page --- */

.page-accueil footer {
    padding-top: 2rem;
}


/* --- Mobile --- */

@media (max-width: 767px) {
    /* Trois chiffres sur une ligne plutôt qu'un « 3 » orphelin */
    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-num {
        font-size: 34px;
    }

    .stat-label {
        font-size: 13px;
        line-height: 1.3;
    }

    /* Liens des portes : zone tactile de 44 px */
    .door-link {
        display: inline-block;
        padding: 0.65rem 0;
    }

    .door-links li+li {
        margin-top: 0;
    }

    /* Négations alignées à gauche, en colonne centrée */
    .negations {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        gap: 0.6rem;
    }

    .pull-quote {
        padding: 1.3rem 1.2rem;
    }

    .pull-quote blockquote p {
        font-size: 16.5px;
    }

    .faq-item summary {
        font-size: 16.5px;
    }

    .contact-panel {
        padding: 2rem 1rem;
    }

    .contact-intro {
        margin-bottom: 2rem;
    }

    .lead-card {
        padding: 1.5rem 1.1rem;
    }

    .field-row,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .price-highlight p {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item summary .icon,
    .btn-outline {
        transition: none;
    }
}

/* Tablette : le formulaire passe sous le texte d'introduction */
@media (max-width: 991px) {
    .contact-intro {
        margin-bottom: 2rem;
    }
}


/* --- Page « Données personnelles » --- */

.legal {
    max-width: 780px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 26px;
    font-weight: 500;
    margin: 2.5rem 0 0.8rem;
}

.legal h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 1.6rem 0 0.5rem;
}

.legal p,
.legal li {
    font-size: 16px;
    line-height: 1.65;
}

.legal ul {
    padding-left: 1.2rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0 1rem;
    font-size: 15px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e3e5ef;
    color: var(--ink);
}

.legal-table th {
    color: var(--navy);
    font-weight: 600;
    width: 34%;
}

.legal-updated {
    font-size: 14px;
    color: var(--ink-soft);
}

/* Aperçu seulement : passages qui attendent une information ou une validation */
.to-confirm {
    background: #fff4d6;
    border-left: 4px solid var(--orange);
    padding: 0.15rem 0.4rem;
    color: var(--navy);
}


/* --- 12 bis. Contact sans formulaire (option A) --- */

.contact-intro--center {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.contact-actions .btn {
    margin: 0;
    min-height: 48px;
    font-size: 14px;
}

/* Second bouton : contour blanc, pour ne pas concurrencer le téléphone.
   Pas de majuscules sur une adresse e-mail. */
.contact-actions .btn-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.6rem;
    border: 2px solid #fff;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    font-weight: 500;
    text-transform: none;
}

.contact-actions .btn-mail:hover,
.contact-actions .btn-mail:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-actions .btn-mail .icon {
    width: 18px;
    height: 18px;
}


/* --- Page « Aide » : aiguillage bénéficiaire / commerçant --- */

.help-choices {
    row-gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.help-choice {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 2rem 1.8rem;
    background: #fff;
    border: 2px solid #e9eaf2;
    border-radius: 8px;
    color: var(--navy);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-choice:hover,
.help-choice:focus {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(58, 66, 119, 0.12);
    color: var(--navy);
    text-decoration: none;
}

.help-choice .icon {
    width: 48px;
    height: 48px;
}

.help-choice-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.help-choice-text {
    color: var(--ink);
    flex-grow: 1;
}

.help-choice-go {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.help-choice-go .icon {
    width: 16px;
    height: 16px;
}

.help-shortcuts {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
}

.help-shortcuts a,
.help-network a {
    font-weight: 600;
    color: var(--navy);
}

.help-network {
    text-align: center;
    margin: 1.5rem 0 0;
    color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
    .help-choice {
        transition: none;
    }
}


/* =============================================================
   Animations au défilement (js/animations.js)
   Actives seulement quand le script a posé html.anim-on : sans
   JavaScript, ou avec « réduire les animations », rien ne bouge.
   Seules l'opacité et la position sont animées : aucun saut de page.
   ============================================================= */

html.anim-on main {
    overflow-x: hidden;   /* les arrivées latérales ne créent pas de défilement horizontal */
    overflow-x: clip;
}

html.anim-on [data-anim] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}

html.anim-on [data-anim=""],
html.anim-on [data-anim="up"] {
    transform: translate3d(0, 26px, 0);
}

html.anim-on [data-anim="left"] {
    transform: translate3d(-40px, 0, 0);
}

html.anim-on [data-anim="right"] {
    transform: translate3d(40px, 0, 0);
}

html.anim-on [data-anim="zoom"] {
    transform: scale(0.92);
}

/* Le 1 % : petit rebond pour retenir le chiffre clé */
html.anim-on [data-anim="pop"] {
    transform: scale(0.82);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* L'illustration de l'en-tête monte lentement depuis le bas */
html.anim-on [data-anim="rise"] {
    transform: translate3d(0, 70px, 0);
    transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.65, 0.25, 1);
}

html.anim-on [data-anim].is-in {
    opacity: 1;
    transform: none;
}

/* Survols : les cartes se soulèvent légèrement */
.door,
.network,
.testimonial,
.price-step {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.door:hover,
.network:hover,
.testimonial:hover,
.price-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(58, 66, 119, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    html.anim-on [data-anim] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .door,
    .network,
    .testimonial,
    .price-step {
        transition: none;
    }

    .door:hover,
    .network:hover,
    .testimonial:hover,
    .price-step:hover {
        transform: none;
    }
}

@media print {
    html.anim-on [data-anim] {
        opacity: 1 !important;
        transform: none !important;
    }
}
