/*
 * css/formules.css
 * ----------------
 * Sprint 3 P2 Item 2 (2026-04-22) — Externalisation du CSS inline de formules.php.
 * Source : bloc <style> in-page (1970 lignes). Externalisation pour :
 *   - Cache navigateur effectif (HTML allégé de ~56 Ko sur chaque hit)
 *   - Parallélisation des téléchargements
 *   - Cache-busting via ?v=filemtime (déjà en place dans le <link> de formules.php)
 * Aucune interpolation PHP détectée dans le bloc d'origine -> externalisation pure.
 */
/* Styles pour la section héro – charte Lokatere #ff6600 */
        :root {
            --lokatere-orange: #ff6600;
            /* Texte orange sur fond clair + fonds avec texte blanc (WCAG 2.1 AA) */
            --lokatere-orange-readable: #9a3412;
            --lokatere-orange-fill: #c2410c;
            --lokatere-red: #e55a00;
            --lokatere-dark: #333;
            --lokatere-gradient: linear-gradient(135deg, #c2410c, #9a3412);
            --lokatere-hero-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.22)), linear-gradient(135deg, #ff7a1f 0%, #ff6600 48%, #df4a2a 100%);
            --lokatere-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
            --lokatere-shadow-hover: 0 8px 25px rgba(255, 102, 0, 0.35);
        }

        /* NOUVEAU SYSTÈME DE TOOLTIPS - contraste WCAG AAA (7:1+) */
        .tooltip-text {
            display: none;
            visibility: hidden;
            opacity: 0;
            position: absolute;
            background-color: #252525;
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.15);
            text-align: left;
            border-radius: 8px;
            padding: 1.2rem;
            font-size: 0.85rem;
            font-weight: normal;
            line-height: 1.6;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
            white-space: normal;
            word-wrap: break-word;
            overflow-wrap: break-word;
            pointer-events: none;
            box-sizing: border-box;
            z-index: 9999999;
            transition: opacity 0.3s ease;
            /* Largeur dynamique gérée par JavaScript */
            width: auto;
            min-width: 250px;
            max-width: 450px;
        }

        .tooltip-text.show {
            visibility: visible;
            opacity: 1;
        }

        /* Positionnement de base - sera ajusté par JavaScript */
        .tooltip-text {
            bottom: 140%;
            left: 50%;
            transform: translateX(-50%);
        }

        /* Responsive de base */
        @media (max-width: 768px) {
            .tooltip-text {
                font-size: 0.8rem;
                padding: 1rem;
                min-width: 200px;
                max-width: 350px;
            }
        }

        @media (max-width: 480px) {
            .tooltip-text {
                font-size: 0.75rem;
                padding: 0.9rem;
                min-width: 180px;
                max-width: 300px;
            }
        }

        .formules-hero-premium.hero-section {
            --formules-hero-image: url('../img/formules-hero-metier.png');
            background-color: #2f3542;
            background-image:
                linear-gradient(
                    155deg,
                    rgba(15, 23, 42, 0.52) 0%,
                    rgba(194, 65, 12, 0.42) 48%,
                    rgba(47, 53, 66, 0.58) 100%
                ),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, transparent 42%),
                var(--formules-hero-image);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: scroll;
            min-height: 58vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            /* Air net sous la navbar fixe : offset global + marge dédiée formules */
            padding: calc(var(--lokatere-navbar-spacing, 120px) + 7rem) 20px 72px;
            margin-bottom: 0;
        }

        .formules-hero-premium.hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.09;
            pointer-events: none;
            z-index: 1;
        }

        .formules-hero-premium .hero-content {
            text-align: center;
            color: #fff;
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 920px;
            margin: 0 auto;
            padding: 0 16px;
        }

        .formules-hero-card {
            text-align: center;
            padding: 2rem 1.75rem 2.25rem;
            border-radius: 12px;
            background: linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
            border: 1px solid rgba(255, 255, 255, 0.22);
            box-shadow:
                0 4px 24px rgba(15, 23, 42, 0.12),
                0 1px 0 rgba(255, 255, 255, 0.12) inset,
                0 12px 40px rgba(255, 107, 53, 0.14);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            animation: formulesHeroCardIn 0.85s cubic-bezier(0.4, 0, 0.2, 1) both;
        }

        .formules-hero-card__eyebrow {
            margin-bottom: 1.35rem;
        }

        .formules-hero-premium .hero-badge.hero-badge--premium {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem 0.75rem;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.22);
            padding: 0.55rem 1.1rem;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            margin: 0;
            color: #fff;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }

        .formules-hero-premium .hero-badge.user-connected {
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.28);
        }

        .formules-hero-premium .discount-badge {
            display: inline-block;
            background: rgba(34, 139, 58, 0.95);
            color: #fff;
            padding: 0.35rem 0.75rem;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 600;
            margin-left: 0;
            box-shadow: 0 2px 8px rgba(34, 139, 58, 0.35);
        }

        .formules-hero-card__headline {
            margin-bottom: 1.25rem;
        }

        .formules-hero-premium .hero-title {
            font-size: clamp(1.65rem, 4.2vw, 2.65rem);
            font-weight: 700;
            letter-spacing: 0.01em;
            line-height: 1.18;
            margin: 0 0 0.85rem;
            text-shadow: 0 2px 14px rgba(47, 53, 66, 0.22);
            color: #fff;
        }

        .formules-hero-premium .hero-subtitle {
            font-size: clamp(1.02rem, 2.1vw, 1.22rem);
            opacity: 0.94;
            max-width: 38rem;
            margin: 0 auto;
            line-height: 1.55;
            font-weight: 500;
            white-space: normal;
            overflow: visible;
        }

        .formules-hero-qualify {
            margin: 1rem auto 0;
            max-width: 40rem;
            font-size: 0.98rem;
            line-height: 1.55;
            color: rgba(255, 255, 255, 0.9);
        }

        .formules-hero-qualify a {
            font-weight: 600;
            color: #fff;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-hero-qualify a:hover {
            opacity: 0.92;
        }

        .formules-hero-qualify a:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 3px;
        }

        .formules-hero-card__support {
            margin: 0 auto 1.5rem;
            max-width: 40rem;
            padding-top: 0.4rem;
            border-top: 1px solid rgba(255, 255, 255, 0.16);
        }

        .formules-hero-premium .hero-dignity {
            font-size: 1.05rem;
            line-height: 1.65;
            margin: 1.05rem 0 0.7rem;
            letter-spacing: 0.01em;
            opacity: 0.98;
            font-weight: 500;
            color: #fff;
            text-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);
        }

        .formules-hero-premium .hero-note {
            font-size: 0.98rem;
            line-height: 1.65;
            margin: 0;
            letter-spacing: 0.008em;
            opacity: 0.96;
            color: rgba(255, 255, 255, 0.97);
            text-shadow: 0 1px 3px rgba(15, 23, 42, 0.26);
        }

        .formules-hero-services-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.85rem;
            margin: 0 auto 1.65rem;
            max-width: 42rem;
            text-align: left;
        }

        .formules-hero-service-tile {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 0.65rem;
            padding: 0.85rem 1rem;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.18);
            transition:
                background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-hero-service-tile:hover {
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.28);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.18);
            transform: translateY(-1px);
        }

        .formules-hero-service-tile__icon {
            width: 2.25rem;
            height: 2.25rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: rgba(255, 107, 53, 0.2);
            color: #fff;
            font-size: 1rem;
        }

        .formules-hero-service-tile__text {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            min-width: 0;
        }

        .formules-hero-service-tile__name {
            font-weight: 700;
            font-size: 1.02rem;
            letter-spacing: 0.01em;
            color: #fff;
        }

        .formules-hero-service-tile__desc {
            font-size: 0.82rem;
            line-height: 1.35;
            opacity: 0.88;
            color: rgba(255, 255, 255, 0.9);
        }

        .formules-hero-service-tile__link {
            flex-shrink: 0;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: #fff;
            text-decoration: none;
            padding: 0.45rem 0.7rem;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(255, 107, 53, 0.25);
            transition:
                background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-hero-service-tile__link:hover {
            background: linear-gradient(135deg, rgba(255, 107, 53, 0.55), rgba(229, 90, 43, 0.55));
            box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
            color: #fff;
            text-decoration: none;
        }

        .formules-hero-service-tile__link:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 3px;
        }

        .formules-hero-card__footer.hero-action {
            margin-top: 0.25rem;
            padding-top: 0;
        }

        .formules-hero-premium .hero-action-btn.hero-action-btn--premium {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.65rem;
            min-height: 52px;
            padding: 0.65rem 1.5rem;
            border-radius: 8px;
            font-weight: 700;
            letter-spacing: 0.02em;
            text-decoration: none;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.28);
            background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
            box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
            transition:
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-hero-premium .hero-action-btn--premium:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(255, 107, 53, 0.42);
            filter: brightness(1.03);
            color: #fff;
            text-decoration: none;
        }

        .formules-hero-premium .hero-action-btn--premium:focus-visible {
            outline: 3px solid rgba(255, 255, 255, 0.95);
            outline-offset: 4px;
        }

        .hero-action-btn__chevron {
            font-size: 0.85rem;
            opacity: 0.95;
        }

        @keyframes formulesHeroCardIn {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive — hero premium */
        @media (max-width: 768px) {
            .formules-hero-premium.hero-section {
                padding-top: calc(var(--lokatere-navbar-spacing, 120px) + 5.5rem);
                padding-left: 16px;
                padding-right: 16px;
                /*
                 * Ne pas centrer verticalement la carte : sur mobile la section est très haute ;
                 * avec align-items:center elle se retrouvait au milieu / sur le bas — hors champ photo
                 * quand le fond utilisait un cadrage serré. flex-start garde le bloc sur la zone image.
                 */
                align-items: flex-start;
                /* Légère correction du point d’ancrage du cliché (couple) sans abandonner cover */
                background-position: center, center, 48% 38%;
            }

            .formules-hero-services-grid {
                grid-template-columns: 1fr;
            }

            .formules-hero-card {
                padding: 1.5rem 1.15rem 1.75rem;
            }

            .formules-hero-premium .hero-subtitle {
                font-size: 1.05rem;
            }

            .formules-hero-premium .hero-title {
                font-size: 1.75rem;
            }
        }

        @media (max-width: 480px) {
            .formules-hero-premium .hero-title {
                font-size: 1.55rem;
            }

            .formules-hero-service-tile {
                grid-template-columns: auto 1fr;
                grid-template-rows: auto auto;
            }

            .formules-hero-service-tile__link {
                grid-column: 1 / -1;
                justify-self: stretch;
                text-align: center;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .formules-hero-card {
                animation: none;
            }

            .formules-hero-service-tile,
            .formules-hero-premium .hero-action-btn--premium {
                transition: none;
            }

            .formules-hero-service-tile:hover {
                transform: none;
            }

            .formules-hero-premium .hero-action-btn--premium:hover {
                transform: none;
            }
        }

        /* Ancres génériques hero (autres sections si réutilisation) */
        .hero-section:not(.formules-hero-premium) {
            background: var(--lokatere-hero-gradient);
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: visible;
            padding: 140px 20px 80px;
            margin-bottom: 0;
        }

        .hero-section:not(.formules-hero-premium)::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.18;
        }

        .hero-section:not(.formules-hero-premium) .hero-content {
            text-align: center;
            color: white;
            position: relative;
            z-index: 2;
            padding-top: 0;
            max-width: 980px;
            margin: 0 auto;
            padding-left: 14px;
            padding-right: 14px;
        }

        .hero-section:not(.formules-hero-premium) .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 2rem;
            margin-top: 0;
            animation: slideInDown 1s ease 0.5s both;
            color: white;
        }

        .hero-section:not(.formules-hero-premium) .hero-badge.user-connected {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .hero-section:not(.formules-hero-premium) .discount-badge {
            display: inline-block;
            background: #28a745;
            color: white;
            padding: 4px 12px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-left: 10px;
        }

        .hero-section:not(.formules-hero-premium) .hero-title {
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 0.9rem;
            animation: slideInUp 1s ease 0.7s both;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-section:not(.formules-hero-premium) .hero-subtitle {
            font-size: clamp(1.05rem, 2vw, 1.28rem) !important;
            opacity: 0.9 !important;
            animation: slideInUp 1s ease 0.9s both !important;
            max-width: 760px !important;
            margin: 0 auto !important;
            text-align: center !important;
            line-height: 1.4 !important;
            white-space: normal !important;
            overflow: visible !important;
        }

        .hero-section:not(.formules-hero-premium) .hero-action {
            margin-top: 1rem;
            text-align: center;
            animation: slideInUp 1s ease 1s both;
        }

        .hero-section:not(.formules-hero-premium) .hero-action .hero-action-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 700;
            text-decoration: none;
            color: #bf2f00;
            border: 1px solid rgba(255, 255, 255, 0.95);
            background: #ffffff;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .hero-section:not(.formules-hero-premium) .hero-action .hero-action-btn:hover {
            color: #8f2400;
            transform: translateY(-1px);
            background: #ffffff;
            text-decoration: none;
        }

        .hero-section:not(.formules-hero-premium) .hero-action .hero-action-btn:focus-visible {
            color: #8f2400;
            background: #ffffff;
            outline: 3px solid rgba(255, 255, 255, 0.9);
            outline-offset: 2px;
        }

        /* Responsive design pour mobile (hero non-premium) */
        @media (max-width: 768px) {
            .hero-section:not(.formules-hero-premium) .hero-subtitle {
                font-size: 1.1rem !important;
                max-width: 95% !important;
                white-space: normal !important;
                line-height: 1.3 !important;
                padding: 0 10px !important;
            }

            .hero-section:not(.formules-hero-premium) .hero-title {
                font-size: 2.5rem !important;
            }

            .hero-section:not(.formules-hero-premium) .hero-action {
                margin-top: 0.85rem;
            }

        }

        @media (max-width: 480px) {
            .hero-section:not(.formules-hero-premium) .hero-subtitle {
                font-size: 1rem !important;
                max-width: 100% !important;
                padding: 0 15px !important;
            }

            .hero-section:not(.formules-hero-premium) .hero-title {
                font-size: 2rem !important;
            }

        }


        /* Animation d'apparition */
        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Styles pour le calculateur — enveloppe premium + panneau simulation */
        .calculator-section--premium {
            --calc-prem-ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        .calculator-section {
            background:
                radial-gradient(ellipse 90% 55% at 12% 0%, rgba(255, 107, 53, 0.09) 0%, transparent 52%),
                radial-gradient(ellipse 70% 45% at 88% 12%, rgba(229, 90, 43, 0.06) 0%, transparent 48%),
                linear-gradient(180deg, #fffdfb 0%, #ffffff 55%);
            padding: 72px 20px 80px;
        }

        .calculator-container--premium {
            border-radius: 12px;
            border: 1px solid rgba(255, 107, 53, 0.2);
            background:
                linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 251, 246, 0.98) 100%);
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.06),
                0 18px 42px rgba(15, 23, 42, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.92);
        }

        .calculator-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0;
            position: relative;
            overflow: hidden;
        }

        .calculator-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 52%, #c2410c 100%);
            opacity: 0.96;
            pointer-events: none;
            z-index: 2;
        }

        .calculator-container::after {
            content: '';
            position: absolute;
            top: 3px;
            left: 0;
            right: 0;
            height: 48px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
            pointer-events: none;
            z-index: 0;
        }

        .calculator-container-inner {
            position: relative;
            z-index: 1;
            padding: 1.5rem 1.35rem 1.45rem;
        }

        .calculator-simulation {
            margin-top: 0.25rem;
            padding: 1.35rem 1.25rem 1.45rem;
            border-radius: 12px;
            border: 1px solid rgba(255, 107, 53, 0.14);
            background:
                radial-gradient(ellipse 80% 120% at 50% -20%, rgba(255, 107, 53, 0.06) 0%, transparent 55%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 253, 250, 0.96) 100%);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.85),
                0 8px 28px rgba(15, 23, 42, 0.05);
        }

        .calculator-simulation-eyebrow {
            margin: 0 auto 0.5rem;
            display: block;
            width: fit-content;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--lokatere-orange-readable);
            opacity: 0.92;
        }

        .calculator-simulation-row {
            margin-top: 0.35rem;
        }

        .calculator-header {
            text-align: center;
            margin-bottom: 1.65rem;
            position: relative;
            z-index: 1;
            padding-bottom: 0.35rem;
        }

        .calculator-title {
            font-size: 2.35rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: #2f3542;
            margin-bottom: 0.85rem;
            line-height: 1.2;
        }

        .calculator-subtitle {
            font-size: 1.08rem;
            color: #64748b;
            font-weight: 500;
            line-height: 1.55;
            max-width: 42rem;
            margin: 0 auto;
            white-space: normal;
            overflow: visible;
        }

        .calculator-frais-highlight {
            margin-top: 1rem;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, rgba(255, 102, 0, 0.08) 0%, rgba(255, 102, 0, 0.04) 100%);
            border-left: 4px solid var(--lokatere-orange);
            border-radius: 8px;
            font-size: 1rem;
            color: var(--lokatere-dark);
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .calculator-frais-highlight strong {
            color: var(--lokatere-orange-readable);
        }

        /* Simulateur : libellés centrés (cartes service / type de montant / alignement avec le champ montant) */
        .calculator-simulation .form-group .form-label {
            text-align: center;
        }

        /* Colonne + pile des champs — mise en page premium */
        .calculator-fields-col {
            position: relative;
        }

        .calculator-fields-stack {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 1.35rem;
            max-width: 40rem;
            margin-left: auto;
            margin-right: auto;
            padding: 0.25rem 0.2rem 0.4rem;
        }

        .calculator-fields-stack .form-group {
            margin-bottom: 0;
        }

        .calculator-fields-stack .capital-relais-info {
            margin-top: 0.1rem;
        }

        .calculator-simulation .calculator-fields-stack .form-group:not(.form-group--amount) {
            border-radius: 10px;
            border: 1px solid rgba(255, 107, 53, 0.18);
            background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 251, 246, 0.99) 100%);
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.06),
                0 14px 32px rgba(15, 23, 42, 0.07);
            padding: 1.2rem 1.25rem 1.1rem;
            transition:
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .calculator-simulation .calculator-fields-stack .form-group:not(.form-group--amount):focus-within {
            border-color: rgba(255, 107, 53, 0.3);
            box-shadow:
                0 2px 12px rgba(255, 107, 53, 0.1),
                0 16px 38px rgba(15, 23, 42, 0.08);
        }

        .calculator-simulation .form-group.form-group--amount {
            border-radius: 10px;
        }

        .calculator-simulation .radio-group {
            justify-content: center;
        }

        .calculator-simulation .radio-option label {
            border-radius: 8px;
            border-width: 1.5px;
            transition:
                background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
        }

        .calculator-simulation .radio-option label:hover {
            box-shadow: 0 6px 18px rgba(255, 107, 53, 0.14);
        }

        @media (prefers-reduced-motion: reduce) {
            .calculator-simulation .calculator-fields-stack .form-group:not(.form-group--amount),
            .calculator-simulation .radio-option label {
                transition: none;
            }

            .calculator-simulation .radio-option input[type='radio']:checked + label,
            .calculator-simulation .radio-option label:hover {
                transform: none;
            }
        }

        @media (max-width: 575.98px) {
            .calculator-fields-stack {
                gap: 1rem;
                max-width: 100%;
                padding-left: 0;
                padding-right: 0;
            }

            .calculator-simulation .calculator-fields-stack .form-group:not(.form-group--amount) {
                padding: 1rem 1rem 0.95rem;
            }
        }

        .form-group {
            margin-bottom: 2rem;
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(255, 102, 0, 0.11);
            border-radius: 14px;
            padding: 1rem 1rem 0.95rem;
            box-shadow: 0 10px 20px rgba(51, 51, 51, 0.05);
        }

        .form-group.form-group--amount {
            position: relative;
            border: 1.5px solid rgba(255, 102, 0, 0.3);
            background:
                radial-gradient(circle at 10% 0%, rgba(255, 102, 0, 0.16) 0%, rgba(255, 102, 0, 0) 52%),
                linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
            box-shadow:
                0 16px 30px rgba(51, 51, 51, 0.08),
                0 8px 18px rgba(255, 102, 0, 0.12);
            padding: 1.08rem 1.08rem 1rem;
        }

        .form-group.form-group--amount::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            border-radius: 14px 14px 0 0;
            background: linear-gradient(90deg, #ff6600 0%, #f90404f4 100%);
        }

        .form-group.form-group--amount .form-label {
            font-size: 1rem;
            font-weight: 700;
            color: #2b2b2b;
            margin-bottom: 0.7rem;
            text-align: center;
        }

        .form-label {
            font-weight: 600;
            color: var(--lokatere-dark);
            margin-bottom: 0.5rem;
            display: block;
        }

        .radio-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .radio-option {
            flex: 1;
            min-width: 200px;
        }

        .radio-option input[type="radio"] {
            display: none;
        }

        .radio-option label {
            display: block;
            padding: 1rem;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s ease;
            background: white;
        }

        .radio-option input[type="radio"]:checked+label {
            border-color: var(--lokatere-orange-fill);
            background: var(--lokatere-orange-fill);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--lokatere-shadow);
        }

        .radio-option label:hover {
            border-color: var(--lokatere-orange-fill);
            transform: translateY(-1px);
        }


        /* Priorité pour les boutons sélectionnés */
        .radio-option input[type="radio"]:checked+label {
            border-color: var(--lokatere-orange-fill);
            background: var(--lokatere-orange-fill);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--lokatere-shadow);
        }



        /* Style personnalisé pour le focus du champ montant Bootstrap */
        #billAmount.form-control:focus {
            border-color: var(--lokatere-orange-fill);
            box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
        }

        #billAmount.form-control {
            min-height: 44px;
        }

        .form-group.form-group--amount #billAmount.form-control {
            border: 1.5px solid rgba(255, 102, 0, 0.35);
            background: #ffffff;
            font-size: 1.03rem;
            font-weight: 600;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        /*
         * Champ montant simulateur : grand + visible.
         * - Ancrage #simulateur-formules : reste valide même si la structure interne change.
         * - !important sur taille / max-width : bat tout style inline résiduel (ex. max-width:800px) ou cache agressif.
         */
        #simulateur-formules .form-group.form-group--amount input#billAmount.form-control.bill-amount-input,
        #simulateur-formules .form-group.form-group--amount input#billAmount.form-control,
        .calculator-simulation .form-group--amount #billAmount.form-control.bill-amount-input {
            width: 100% !important;
            max-width: none !important;
            min-height: 62px !important;
            padding: 1.05rem 1.3rem !important;
            font-size: clamp(1.2rem, 2.75vw, 1.58rem) !important;
            font-weight: 700 !important;
            letter-spacing: 0.02em !important;
            line-height: 1.25 !important;
            border-width: 2px !important;
            border-color: rgba(255, 107, 53, 0.48) !important;
            border-radius: 10px !important;
            background: #ffffff !important;
            box-shadow:
                inset 0 2px 5px rgba(15, 23, 42, 0.05),
                0 4px 18px rgba(255, 107, 53, 0.16) !important;
            transition:
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #simulateur-formules .form-group.form-group--amount input#billAmount.form-control:focus,
        .calculator-simulation .form-group--amount #billAmount.form-control.bill-amount-input:focus {
            border-color: var(--lokatere-orange-fill, #ff6600) !important;
            outline: none !important;
            box-shadow:
                0 0 0 4px rgba(255, 102, 0, 0.22),
                inset 0 2px 5px rgba(15, 23, 42, 0.05),
                0 6px 24px rgba(255, 107, 53, 0.24) !important;
        }

        #simulateur-formules .form-group.form-group--amount input#billAmount.form-control:disabled,
        .calculator-simulation .form-group--amount #billAmount.form-control.bill-amount-input:disabled {
            opacity: 0.88;
            cursor: not-allowed;
            box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.06) !important;
        }

        @media (prefers-reduced-motion: reduce) {
            #simulateur-formules .form-group.form-group--amount input#billAmount.form-control,
            .calculator-simulation .form-group--amount #billAmount.form-control.bill-amount-input {
                transition: none;
            }
        }

        .validation-message {
            margin-top: 0.5rem;
            padding: 0.5rem;
            border-radius: 5px;
            font-size: 0.9rem;
        }

        .validation-message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .form-group.form-group--amount #amount-validation-message.validation-message.error {
            color: #842029 !important;
            background: #f8d7da !important;
            border-left: 4px solid #c82333 !important;
            font-weight: 600;
            border-radius: 8px;
        }

        .validation-message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .limits-info {
            background: #e3f2fd;
            color: #1976d2;
            padding: 0.75rem;
            border-radius: 5px;
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }

        .form-group.form-group--amount .limits-info {
            margin-top: 0.62rem;
            border: 1px solid rgba(25, 118, 210, 0.3);
            border-left: 4px solid #1976d2;
            background: linear-gradient(135deg, #e9f4ff 0%, #f5faff 100%);
            color: #155db3;
            font-weight: 600;
            border-radius: 8px;
        }

        /* Bloc « aide au plafond » — carte premium (charte Lokatere, cf. design-premium-moderne) */
        .coverage-advisor--premium {
            --ca-prem-ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        .coverage-advisor {
            margin-top: 0.9rem;
            border: 1px solid rgba(255, 107, 53, 0.22);
            border-radius: 12px;
            background:
                radial-gradient(ellipse 120% 80% at 10% -30%, rgba(255, 107, 53, 0.14) 0%, transparent 55%),
                radial-gradient(ellipse 100% 70% at 92% -20%, rgba(229, 90, 43, 0.1) 0%, transparent 50%),
                linear-gradient(165deg, #ffffff 0%, #fffbf8 46%, #fff6ee 100%);
            box-shadow:
                0 2px 6px rgba(255, 107, 53, 0.06),
                0 14px 36px rgba(15, 23, 42, 0.08);
            overflow: hidden;
            position: relative;
            -webkit-backdrop-filter: saturate(1.06);
            backdrop-filter: saturate(1.06);
        }

        .coverage-advisor::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 52%, #c2410c 100%);
            opacity: 0.95;
        }

        .coverage-advisor-header {
            position: relative;
            z-index: 1;
            padding: 1.35rem 1.35rem 1.15rem;
            border-bottom: 1px solid rgba(255, 107, 53, 0.14);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 100%);
        }

        .coverage-advisor-eyebrow {
            margin: 0 0 0.65rem;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--lokatere-orange-readable);
            opacity: 0.92;
        }

        .coverage-advisor-heading-row {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .coverage-advisor-icon-wrap {
            flex-shrink: 0;
            width: 3rem;
            height: 3rem;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--lokatere-orange-readable);
            background: linear-gradient(145deg, rgba(255, 107, 53, 0.12), rgba(229, 90, 43, 0.08));
            box-shadow:
                inset 0 0 0 1px rgba(255, 107, 53, 0.22),
                0 8px 18px rgba(255, 107, 53, 0.12);
        }

        .coverage-advisor-icon-wrap i {
            font-size: 1.2rem;
        }

        .coverage-advisor-heading-text {
            flex: 1;
            min-width: 0;
        }

        .coverage-advisor-title {
            margin: 0 0 0.45rem;
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: 0.01em;
            color: #2f3542;
        }

        .coverage-advisor-lead {
            margin: 0;
            font-size: 0.94rem;
            line-height: 1.55;
            color: #475569;
            font-weight: 500;
        }

        .coverage-advisor-panel {
            width: 100%;
            position: relative;
            z-index: 1;
        }

        .coverage-advisor-summary {
            list-style: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: #334155;
            background: rgba(255, 255, 255, 0.45);
            border-top: 1px solid rgba(255, 107, 53, 0.1);
            transition:
                background 0.25s var(--ca-prem-ease),
                color 0.25s var(--ca-prem-ease),
                box-shadow 0.25s var(--ca-prem-ease);
        }

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

        .coverage-advisor-summary:hover {
            color: #1e293b;
            background: rgba(255, 107, 53, 0.06);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
        }

        .coverage-advisor-summary:focus {
            outline: none;
        }

        .coverage-advisor-summary:focus-visible {
            outline: 2px solid rgba(255, 107, 53, 0.65);
            outline-offset: 3px;
        }

        .coverage-advisor-summary-main {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.5rem 0.65rem;
            text-align: left;
        }

        .coverage-advisor-summary-title {
            letter-spacing: 0.01em;
        }

        .coverage-advisor-summary-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.2rem 0.55rem;
            border-radius: 6px;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--lokatere-orange-readable);
            background: rgba(255, 107, 53, 0.1);
            border: 1px solid rgba(255, 107, 53, 0.22);
        }

        .coverage-advisor-summary-chevron {
            flex-shrink: 0;
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
            box-shadow: 0 6px 16px rgba(255, 107, 53, 0.28);
            transition: transform 0.28s var(--ca-prem-ease), box-shadow 0.28s var(--ca-prem-ease);
        }

        .coverage-advisor-summary-chevron i {
            font-size: 0.85rem;
            transition: transform 0.28s var(--ca-prem-ease);
        }

        .coverage-advisor-panel[open] .coverage-advisor-summary-chevron i {
            transform: rotate(180deg);
        }

        .coverage-advisor-panel[open] .coverage-advisor-summary {
            background: rgba(255, 107, 53, 0.07);
        }

        .coverage-advisor-body {
            padding: 1.25rem 1.35rem 1.35rem;
            border-top: 1px solid rgba(255, 107, 53, 0.12);
            background: rgba(255, 255, 255, 0.82);
        }

        .coverage-advisor-note {
            font-size: 0.92rem;
            line-height: 1.55;
            color: #475569;
            margin: 0 0 1.1rem;
            padding: 0.85rem 1rem;
            border-radius: 8px;
            border: 1px solid rgba(100, 116, 139, 0.18);
            background: rgba(248, 250, 252, 0.85);
        }

        .coverage-advisor-fields {
            margin-bottom: 0.25rem;
        }

        .coverage-advisor-label {
            font-size: 0.82rem;
            font-weight: 600;
            color: #334155;
            margin-bottom: 0.35rem;
        }

        .coverage-advisor-body .coverage-advisor-input {
            border-radius: 8px;
            border: 1px solid rgba(100, 116, 139, 0.28);
            transition:
                border-color 0.25s var(--ca-prem-ease),
                box-shadow 0.25s var(--ca-prem-ease);
        }

        .coverage-advisor-body .coverage-advisor-input:focus {
            border-color: rgba(255, 107, 53, 0.55);
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
        }

        .coverage-advisor-body .coverage-advisor-input:focus-visible {
            outline: none;
            border-color: rgba(255, 107, 53, 0.65);
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
        }

        .coverage-advisor-micro-hint {
            font-size: 0.8rem;
            line-height: 1.45;
            color: #64748b;
            margin: 0.4rem 0 0;
            max-width: 42rem;
        }

        .coverage-advisor-input.coverage-advisor-input--superseded {
            opacity: 0.55;
            background-color: rgba(248, 250, 252, 0.65);
        }

        .advisor-feedback .advisor-effort-precision {
            display: block;
            margin-top: 0.45rem;
            font-size: 0.9em;
            font-weight: 500;
            color: #475569;
        }

        .coverage-advisor-outcome {
            margin-top: 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }

        @media (prefers-reduced-motion: reduce) {
            .coverage-advisor-summary,
            .coverage-advisor-summary-chevron,
            .coverage-advisor-summary-chevron i,
            .coverage-advisor-body .coverage-advisor-input {
                transition: none;
            }
        }

        .coverage-advisor-outcome .advisor-recommendation {
            margin-top: 0;
            margin-bottom: 0;
        }

        .coverage-advisor-outcome .advisor-feedback {
            margin-top: 0;
        }

        .advisor-recommendation {
            margin-top: 0;
            margin-bottom: 0;
            padding: 1.05rem 1.15rem;
            border-radius: 8px;
            border: 1px solid rgba(51, 65, 85, 0.14);
            background: linear-gradient(180deg, #ffffff 0%, #fffbf7 100%);
            color: #2f3542;
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.06),
                0 12px 28px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            text-align: center;
            position: relative;
        }

        .advisor-recommendation::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            border-radius: 8px 0 0 8px;
            background: rgba(71, 85, 105, 0.35);
        }

        .advisor-recommendation strong {
            color: inherit;
            display: block;
            font-size: 0.95rem;
            margin-bottom: 0.15rem;
        }

        .advisor-recommendation-main {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: center;
            gap: 0.6rem;
        }

        #advisor-recommended-amount {
            font-size: 1.72rem;
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: 0.012em;
        }

        #advisor-recommended-range {
            display: block;
            margin-top: 0.35rem;
            font-size: 0.88rem;
            font-weight: 600;
            text-align: center;
        }

        .advisor-recommendation--safe {
            border-color: rgba(255, 102, 0, 0.45);
            background: linear-gradient(180deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.18));
            color: #8f2400;
        }

        .advisor-recommendation--safe::before {
            background: #ff6600;
        }

        .advisor-recommendation--warn {
            border-color: rgba(255, 102, 0, 0.7);
            background: linear-gradient(180deg, rgba(255, 102, 0, 0.16), rgba(255, 102, 0, 0.28));
            color: #7a1f00;
        }

        .advisor-recommendation--warn::before {
            background: #e85a00;
        }

        .advisor-recommendation--risk {
            border-color: rgba(249, 4, 4, 0.52);
            background: linear-gradient(180deg, rgba(249, 4, 4, 0.1), rgba(249, 4, 4, 0.19));
            color: #a10303;
        }

        .advisor-recommendation--risk::before {
            background: #f90404f4;
        }

        .advisor-feedback {
            margin-top: 0.85rem;
            border-radius: 8px;
            padding: 0.88rem 1rem;
            font-size: 0.9rem;
            line-height: 1.55;
            border: 1px solid transparent;
            box-shadow:
                0 4px 12px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.45);
        }

        .advisor-feedback--info {
            background: #f7f7f7;
            color: #333333;
            border-color: rgba(51, 51, 51, 0.24);
        }

        .advisor-feedback--safe {
            background: linear-gradient(180deg, rgba(255, 102, 0, 0.08), rgba(255, 102, 0, 0.15));
            color: #8f2400;
            border-color: rgba(255, 102, 0, 0.45);
        }

        .advisor-feedback--warn {
            background: linear-gradient(180deg, rgba(255, 102, 0, 0.12), rgba(255, 102, 0, 0.24));
            color: #7a1f00;
            border-color: rgba(255, 102, 0, 0.7);
        }

        .advisor-feedback--risk {
            background: linear-gradient(180deg, rgba(249, 4, 4, 0.08), rgba(249, 4, 4, 0.16));
            color: #a10303;
            border-color: rgba(249, 4, 4, 0.52);
        }

        @media (max-width: 576px) {
            .coverage-advisor {
                border-radius: 12px;
                box-shadow:
                    0 2px 6px rgba(255, 107, 53, 0.05),
                    0 12px 28px rgba(15, 23, 42, 0.07);
            }

            .coverage-advisor-header {
                padding: 1.15rem 1.05rem 1rem;
            }

            .coverage-advisor-heading-row {
                flex-direction: column;
                align-items: stretch;
                gap: 0.85rem;
            }

            .coverage-advisor-icon-wrap {
                align-self: flex-start;
            }

            .coverage-advisor-title {
                font-size: 1.18rem;
            }

            .coverage-advisor-lead {
                font-size: 0.9rem;
            }

            .coverage-advisor-summary {
                flex-wrap: wrap;
                padding: 0.9rem 1rem;
                font-size: 0.88rem;
            }

            .coverage-advisor-summary-chevron {
                margin-left: auto;
            }

            .coverage-advisor-body {
                padding: 1.05rem 1rem 1.15rem;
            }

            #advisor-recommended-amount {
                font-size: 1.5rem;
            }
        }


        /* Styles pour les formules — comparatif premium (charte Lokatere) */
        .formulas-section--premium {
            --formulas-prem-ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formulas-section {
            background:
                radial-gradient(ellipse 85% 50% at 50% 0%, rgba(255, 107, 53, 0.06) 0%, transparent 55%),
                linear-gradient(180deg, #f6f8fb 0%, #f8f9fa 38%, #fafbfc 100%);
            padding: 72px 20px 80px;
            overflow: visible;
        }

        .formulas-container {
            max-width: 1200px;
            margin: 0 auto;
            overflow: visible;
        }

        .formulas-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .formulas-header--premium {
            margin-bottom: 2.75rem;
        }

        .formulas-header-card {
            margin: 0 auto;
            max-width: 920px;
            padding: 1.65rem 1.75rem 1.55rem;
            border-radius: 12px;
            border: 1px solid rgba(255, 107, 53, 0.18);
            background:
                radial-gradient(ellipse 120% 80% at 12% -35%, rgba(255, 107, 53, 0.11) 0%, transparent 52%),
                radial-gradient(ellipse 90% 70% at 92% -25%, rgba(229, 90, 43, 0.07) 0%, transparent 48%),
                linear-gradient(165deg, #ffffff 0%, #fffbf8 48%, #fff8f3 100%);
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.06),
                0 20px 48px rgba(15, 23, 42, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.92);
            position: relative;
            overflow: hidden;
        }

        .formulas-header-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 52%, #c2410c 100%);
            opacity: 0.95;
        }

        .formulas-header-eyebrow {
            margin: 0 auto 0.55rem;
            display: block;
            width: fit-content;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--lokatere-orange-readable, #e55a2b);
            opacity: 0.95;
        }

        .formulas-title {
            font-size: clamp(1.65rem, 3.2vw, 2.35rem);
            font-weight: 700;
            color: var(--lokatere-dark);
            margin: 0 auto 1rem;
            max-width: 36rem;
            line-height: 1.22;
            letter-spacing: -0.02em;
        }

        .formulas-subtitle {
            font-size: 1.05rem;
            line-height: 1.65;
            color: #4a5565;
            max-width: 42rem;
            margin: 0 auto;
        }

        .formulas-frais-rappel {
            margin-top: 1.25rem;
            padding: 0.85rem 1.15rem;
            background: linear-gradient(135deg, rgba(255, 107, 53, 0.09) 0%, rgba(255, 107, 53, 0.03) 100%);
            border: 1px solid rgba(255, 107, 53, 0.2);
            border-left: 4px solid var(--lokatere-orange, #ff6b35);
            border-radius: 10px;
            font-size: 0.98rem;
            color: var(--lokatere-dark);
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
            box-shadow: 0 2px 10px rgba(255, 107, 53, 0.06);
        }

        .formulas-frais-rappel strong {
            color: var(--lokatere-orange-readable);
            font-weight: 700;
        }

        .formulas-guidance {
            margin-top: 1.35rem;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1rem;
            text-align: left;
        }

        .guide-chip {
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(255, 107, 53, 0.14);
            border-radius: 10px;
            padding: 0.95rem 1rem;
            text-align: left;
            font-size: 0.88rem;
            line-height: 1.45;
            color: #3d4555;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
            transition:
                border-color 0.25s var(--formulas-prem-ease, cubic-bezier(0.4, 0, 0.2, 1)),
                box-shadow 0.25s var(--formulas-prem-ease, cubic-bezier(0.4, 0, 0.2, 1)),
                transform 0.25s var(--formulas-prem-ease, cubic-bezier(0.4, 0, 0.2, 1));
        }

        .guide-chip:hover {
            border-color: rgba(255, 107, 53, 0.28);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.1);
            transform: translateY(-2px);
        }

        .guide-chip strong {
            color: var(--lokatere-orange-readable);
            font-weight: 700;
        }

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

            .guide-chip:hover {
                transform: none;
            }
        }

        .formulas-grid {
            display: flex;
            gap: 1.25rem;
            margin-top: 3rem;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: stretch;
            overflow: visible;
        }

        /* Grille cartes formule : hauteur au contenu (pas d'étirement vide entre colonnes) */
        .formulas-grid.formulas-grid--premium {
            align-items: flex-start;
            min-height: 0;
        }

        .formula {
            background: white;
            border-radius: 15px;
            padding: 1.8rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition:
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: visible;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-width: 0;
            z-index: 1;
        }

        .formula.formula--premium {
            padding: 0;
            border-radius: 12px;
            border: 1px solid rgba(255, 107, 53, 0.16);
            background:
                radial-gradient(ellipse 100% 90% at 50% -40%, rgba(255, 107, 53, 0.08) 0%, transparent 55%),
                linear-gradient(165deg, #ffffff 0%, #fffbf8 52%, #fff8f2 100%);
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.07),
                0 16px 36px rgba(15, 23, 42, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.92);
        }

        .formula-card-inner {
            display: flex;
            flex-direction: column;
            gap: 0.55rem;
            padding: 1.25rem 1.15rem 1.2rem;
        }

        .formula-pricing-block {
            padding: 0.75rem 0.65rem 0.8rem;
            border-radius: 10px;
            border: 1px solid rgba(255, 107, 53, 0.14);
            background: rgba(255, 255, 255, 0.72);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
        }

        .formula:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            z-index: 10;
        }

        .formula.formula--premium:hover {
            border-color: rgba(255, 107, 53, 0.28);
            box-shadow:
                0 6px 22px rgba(255, 107, 53, 0.14),
                0 20px 44px rgba(15, 23, 42, 0.09),
                inset 0 1px 0 rgba(255, 255, 255, 0.92);
            transform: translateY(-3px);
        }

        .formula::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--lokatere-gradient);
        }

        .formula.formula--premium::before {
            height: 3px;
            background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 52%, #c2410c 100%);
            opacity: 0.96;
        }

        @media (prefers-reduced-motion: reduce) {
            .formula:hover,
            .formula.formula--premium:hover {
                transform: none;
                transition: none;
            }
        }

        .formula h3 {
            color: var(--lokatere-dark);
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 0.55rem;
            flex-shrink: 0;
        }

        .formula-head {
            display: block;
            margin-bottom: 0.35rem;
        }

        .formula-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.25rem 0.55rem;
            border-radius: 8px;
            font-size: 0.74rem;
            font-weight: 700;
            color: #8a3d00;
            background: rgba(255, 102, 0, 0.12);
            border: 1px solid rgba(255, 102, 0, 0.35);
            white-space: nowrap;
            margin-top: 0.35rem;
        }

        .formula-target {
            font-size: 0.88rem;
            color: #4f4f4f;
            margin: 0 0 0.65rem;
            line-height: 1.45;
        }

        .formula.formula--premium .formula-target {
            margin-bottom: 0;
            font-size: 0.9rem;
            color: #4a5565;
        }

        .relais-details {
            margin-bottom: 0.65rem;
            flex-grow: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .formula.formula--premium .relais-details {
            margin-bottom: 0.35rem;
            padding-bottom: 0.35rem;
            border-bottom: 1px solid rgba(255, 107, 53, 0.1);
        }

        .relais-info-title {
            font-weight: 600;
            color: var(--lokatere-dark);
            margin-bottom: 0.5rem;
        }

        .info-line {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .info-line-note {
            display: block;
            color: #5b5b5b;
            font-size: 0.84rem;
            line-height: 1.45;
            margin-top: 0.1rem;
        }

        .separator-ou {
            text-align: center;
            color: #666;
            font-style: italic;
            margin: 0.5rem 0;
        }

        .feature-line {
            color: var(--lokatere-orange-readable);
            font-weight: 500;
        }

        /* style.css impose souvent `span { color: #ff6600 }` — priorité pour libellés formules */
        .formulas-section .relais-details .info-line.feature-line > span:first-child {
            color: var(--lokatere-orange-readable) !important;
        }

        .tooltip-trigger {
            position: relative;
            display: inline-block;
            z-index: 9999999;
        }

        .info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            background: var(--lokatere-orange-fill);
            color: white;
            border-radius: 50%;
            font-size: 0.75rem;
            font-weight: bold;
            cursor: help;
            margin-left: 0.5rem;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(255, 102, 0, 0.3);
        }

        /* Tooltips lisibles et non tronqués */
        .tooltip-text {
            visibility: hidden;
            opacity: 0;
            position: fixed;
            top: 0;
            left: 0;
            transform: none;
            background-color: #333;
            color: white;
            text-align: center !important;
            border-radius: 8px;
            padding: 0.95rem 1rem;
            font-size: 0.85rem;
            font-weight: normal;
            line-height: 1.5;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.42);
            white-space: normal;
            overflow-wrap: break-word;
            word-break: normal;
            pointer-events: none;
            box-sizing: border-box;
            z-index: 10000000;
            transition: opacity 0.3s ease;
            width: min(320px, calc(100vw - 24px));
            min-width: 0;
            max-width: calc(100vw - 24px);
            display: none;
        }

        .tooltip-text.show {
            display: block;
            visibility: visible;
            opacity: 1;
        }

        /* FORCER l'alignement centré - écraser toutes les autres règles */
        .tooltip-text,
        .tooltip-text * {
            text-align: center !important;
        }

        /* Flèche du tooltip */
        .tooltip-text::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 10px solid transparent;
            border-top-color: #252525;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        /* Responsive de base */
        @media (max-width: 768px) {
            .tooltip-text {
                font-size: 0.8rem;
                padding: 0.85rem 0.9rem;
                width: min(290px, calc(100vw - 20px));
            }
        }

        @media (max-width: 480px) {
            .tooltip-text {
                font-size: 0.75rem;
                padding: 0.8rem 0.85rem;
                width: min(250px, calc(100vw - 20px));
            }
        }

        .percentage {
            font-size: 2rem;
            font-weight: 700;
            color: var(--lokatere-orange-readable);
            text-align: center;
            margin: 0 0 0.35rem;
            flex-shrink: 0;
        }

        .formula.formula--premium .formula-pricing-block .percentage {
            font-size: clamp(1.45rem, 2.8vw, 1.85rem);
            margin: 0 0 0.25rem;
        }

        .price {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--lokatere-orange-readable);
            text-align: center;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            min-height: 2.75rem;
        }

        .formula.formula--premium .formula-pricing-block .price {
            font-size: clamp(1.25rem, 2.4vw, 1.55rem);
            min-height: 0;
        }

        /* 🎨 Styles améliorés pour l'affichage des prix */
        .price-breakdown {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-radius: 8px;
            border: 1px solid #e9ecef;
            margin: 0.5rem 0;
            min-height: 0;
            justify-content: center;
        }

        .base-price-line,
        .total-price-line {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.4rem 0;
            gap: 1rem;
        }

        .price-label {
            font-size: 0.9rem;
            color: #6c757d;
            font-weight: 500;
            min-width: 80px;
        }

        .price-value {
            font-size: 1rem;
            font-weight: 600;
            color: var(--lokatere-dark);
            text-align: right;
            min-width: 60px;
        }


        .price-value.total {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--lokatere-orange-readable);
        }

        .price-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, #dee2e6, transparent);
            margin: 0.5rem 0;
        }

        .price-period {
            text-align: center;
            font-size: 0.8rem;
            color: #6c757d;
            font-weight: 500;
            margin-top: 0.2rem;
        }

        .price-simple {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.2rem;
            padding: 0.25rem 0;
            min-height: 0;
        }

        .price-simple .price-value.total {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--lokatere-orange-readable);
        }

        .price-simple .price-period {
            font-size: 0.9rem;
            color: #6c757d;
            font-weight: 500;
        }

        .formula-button {
            width: 100%;
            padding: 0.85rem 1rem;
            background: var(--lokatere-gradient);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            transition:
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 0.35rem;
            flex-shrink: 0;
            min-height: 48px;
            box-shadow: 0 4px 14px rgba(255, 107, 53, 0.28);
        }

        .formula.formula--premium .formula-button {
            margin-top: 0.5rem;
        }

        .formula-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: var(--lokatere-shadow-hover);
        }

        .formula-button:disabled {
            background: #6c757d;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .formula-button.disabled {
            background: #6c757d;
            cursor: not-allowed;
            opacity: 0.6;
        }

        /* Capital relais info */
        .capital-relais-info {
            background: #e8f5e8;
            border: 1px solid #4caf50;
            border-radius: 10px;
            padding: 1.5rem;
            margin: 2rem 0;
            display: none;
        }

        /* Titre centré du capital relais */
        .capital-title {
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .capital-relais-info.show {
            display: block;
            animation: slideInDown 0.5s ease;
        }

        .cr-line {
            display: flex;
            justify-content: space-between;
            margin: 0.5rem 0;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .cr-line:last-child {
            border-bottom: none;
        }

        .cr-label {
            font-weight: 600;
            color: var(--lokatere-dark);
        }

        .cr-value {
            font-weight: 700;
            color: var(--lokatere-orange-readable);
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .formulas-grid {
                flex-wrap: wrap;
                gap: 1rem;
            }

            .formula {
                flex: 1 1 calc(50% - 0.5rem);
                min-width: 280px;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .calculator-title,
            .formulas-title {
                font-size: 2rem;
            }

            .formulas-grid {
                flex-direction: column;
                gap: 1rem;
            }

            .formula {
                flex: none;
                width: 100%;
            }

            .formulas-guidance {
                grid-template-columns: 1fr;
            }

            .radio-group {
                flex-direction: column;
            }

            .radio-option {
                min-width: auto;
            }
        }

        /* 🚀 OPTIMISATIONS MOBILE COMPLÈTES */
        @media (max-width: 768px) {

            /* Ajustements généraux */
            .calculator-section,
            .formulas-section {
                padding: 40px 15px;
            }

            .calculator-container,
            .formulas-container {
                max-width: 100%;
            }

            .calculator-container {
                border-radius: 12px;
                padding: 0;
            }

            .calculator-container-inner {
                padding: 1.05rem 0.85rem 1rem;
            }

            .calculator-simulation {
                padding: 1rem 0.72rem 1.08rem;
                margin-top: 0;
            }

            .calculator-title,
            .formulas-title {
                font-size: 1.8rem;
                margin-bottom: 0.8rem;
            }

            .calculator-subtitle,
            .formulas-subtitle {
                font-size: 1rem;
            }

            .guide-chip {
                font-size: 0.84rem;
            }

            .calculator-frais-highlight {
                font-size: 0.95rem;
                padding: 0.6rem 0.8rem;
                max-width: 100%;
            }

            .formulas-frais-rappel {
                font-size: 0.9rem;
                padding: 0.5rem 0.75rem;
                max-width: 100%;
            }

            /* Grille des formules mobile */
            .formulas-grid {
                flex-direction: column;
                gap: 1rem;
                height: auto;
                min-height: 0;
                max-height: none;
            }

            .formula {
                height: auto;
                min-height: 0;
                max-height: none;
                padding: 1.5rem;
            }

            /* Détails des relais mobile */
            .relais-details {
                height: auto;
                min-height: 0;
                max-height: none;
                margin-bottom: 1rem;
            }

            /* Prix mobile */
            .price,
            .price-breakdown,
            .price-simple {
                height: auto;
                min-height: 0;
                max-height: none;
                margin: 0.8rem 0;
            }

            .percentage {
                font-size: 1.5rem;
                margin: 1rem 0;
            }

            /* Boutons mobile */
            .formula-button {
                height: auto;
                min-height: 45px;
                max-height: none;
                padding: 0.8rem;
                font-size: 1rem;
            }

            /* Calculateur mobile */
            .form-group {
                margin-bottom: 1.5rem;
            }

            .form-group.form-group--amount {
                padding: 0.95rem 0.9rem 0.85rem;
            }

            .radio-option label {
                padding: 0.8rem;
                font-size: 0.9rem;
            }

            .form-control {
                font-size: 1rem;
                padding: 0.8rem;
            }

        }

        @media (max-width: 576px) {

            /* Très petits écrans */
            .hero-title {
                font-size: 2rem;
            }

            .calculator-title,
            .formulas-title {
                font-size: 1.6rem;
            }

            .calculator-section,
            .formulas-section {
                padding: 30px 10px;
            }

            .formula {
                padding: 1.2rem;
                margin-bottom: 0.8rem;
            }

            .formula h3 {
                font-size: 1.3rem;
            }

            .relais-info-title {
                font-size: 0.9rem;
            }

            .info-line {
                font-size: 0.85rem;
            }

            .percentage {
                font-size: 1.3rem;
            }

            .price {
                font-size: 1.5rem;
            }

            .formula-button {
                font-size: 0.95rem;
                padding: 0.7rem;
            }

            /* Calculateur très petit écran */
            .radio-option label {
                padding: 0.7rem;
                font-size: 0.85rem;
            }

            .form-label {
                font-size: 0.95rem;
            }

            .form-control {
                padding: 0.7rem;
                font-size: 0.95rem;
            }

        }

        @media (max-width: 480px) {

            /* Écrans ultra-compacts */
            .hero-title {
                font-size: 1.8rem;
            }

            .calculator-title,
            .formulas-title {
                font-size: 1.5rem;
            }

            .formula {
                padding: 1rem;
            }

            .formula h3 {
                font-size: 1.2rem;
            }

            .percentage {
                font-size: 1.2rem;
            }

            .price {
                font-size: 1.3rem;
            }

            .formula-button {
                font-size: 0.9rem;
                padding: 0.6rem;
            }

            /* Tooltips mobile */
            .tooltip-text {
                font-size: 0.75rem;
                padding: 0.8rem;
                min-width: 160px;
                max-width: 280px;
            }
        }

        /* 🎯 CORRECTIONS SPÉCIFIQUES POUR MOBILE */
        @media (max-width: 768px) {

            /* Éviter les débordements horizontaux */
            .formulas-container {
                overflow-x: hidden;
            }

            /* Assurer que les formules s'adaptent */
            .formula {
                overflow: visible;
                word-wrap: break-word;
            }

            /* Optimiser l'espacement des éléments */
            .relais-details .info-line {
                margin-bottom: 0.4rem;
            }

            .separator-ou {
                margin: 0.3rem 0;
                font-size: 0.8rem;
            }

            /* Ajuster les marges pour mobile */
            .calculator-header,
            .formulas-header {
                margin-bottom: 2rem;
            }

            .formulas-header-card {
                padding: 1.2rem 1rem 1.1rem;
            }

            /* Optimiser les boutons radio */
            .radio-group {
                gap: 0.8rem;
            }

            .radio-option label {
                border-radius: 8px;
            }
        }
        /* Correctif P1 : tooltips des formules lisibles (override header global) */
        html,
        body {
            overflow-x: hidden;
        }

        .formulas-section .tooltip-trigger {
            position: relative !important;
            display: inline-block !important;
            z-index: 20 !important;
        }

        .formulas-section .info-icon {
            width: 18px !important;
            height: 18px !important;
            font-size: 0.75rem !important;
            margin-left: 0.5rem !important;
            box-shadow: 0 2px 4px rgba(255, 102, 0, 0.3) !important;
        }

        .formulas-section .tooltip-text {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            bottom: auto !important;
            transform: none !important;
            min-width: 0 !important;
            width: min(320px, calc(100vw - 24px)) !important;
            max-width: calc(100vw - 24px) !important;
            padding: 0.95rem 1rem !important;
            font-size: 0.85rem !important;
            line-height: 1.5 !important;
            white-space: normal !important;
            overflow-wrap: break-word !important;
            word-break: normal !important;
            text-align: center !important;
            z-index: 10000000 !important;
            pointer-events: none !important;
            border-radius: 8px !important;
        }

        .formulas-section .tooltip-text.show {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .formulas-section .tooltip-text::after {
            content: '' !important;
            position: absolute !important;
            top: 100% !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            border: 10px solid transparent !important;
            border-top-color: #252525 !important;
        }

        /* Lot marketing formules 2026 — bande étapes premium */
        .formules-steps-strip--premium.formules-steps-strip {
            position: relative;
            padding: clamp(2rem, 5vw, 3rem) 1.25rem;
            background:
                linear-gradient(180deg, rgba(255, 107, 53, 0.05) 0%, transparent 38%),
                linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
            border-bottom: 1px solid rgba(255, 102, 0, 0.1);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .formules-steps-strip--premium .formules-steps-inner {
            max-width: 1080px;
            margin: 0 auto;
        }

        .formules-steps-header {
            text-align: center;
            margin-bottom: clamp(1.35rem, 3vw, 2rem);
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
        }

        .formules-steps-eyebrow {
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--lokatere-orange-readable);
            margin: 0 0 0.5rem;
        }

        .formules-steps-title {
            font-size: clamp(1.15rem, 2.4vw, 1.45rem);
            font-weight: 700;
            letter-spacing: 0.01em;
            color: var(--lokatere-dark);
            margin: 0;
            line-height: 1.35;
        }

        .formules-steps-strip--premium .formules-steps-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem 1.15rem;
            list-style: none;
            padding: 0;
            margin: 0;
            align-items: stretch;
        }

        .formules-steps-strip--premium .formules-step-card {
            position: relative;
            display: flex;
            flex-direction: column;
            padding: 1.15rem 1.2rem 1.25rem;
            border-radius: 8px;
            background: #fff;
            border: 1px solid rgba(15, 23, 42, 0.08);
            box-shadow:
                0 2px 8px rgba(15, 23, 42, 0.05),
                0 12px 28px rgba(255, 107, 53, 0.07);
            transition:
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-steps-strip--premium .formules-step-card:hover {
            border-color: rgba(255, 107, 53, 0.28);
            box-shadow:
                0 4px 14px rgba(15, 23, 42, 0.07),
                0 16px 36px rgba(255, 107, 53, 0.12);
            transform: translateY(-2px);
        }

        .formules-step-card__accent {
            position: absolute;
            top: 0;
            left: 1rem;
            right: 1rem;
            height: 3px;
            border-radius: 0 0 8px 8px;
            background: linear-gradient(90deg, rgba(255, 107, 53, 0.35), rgba(229, 90, 43, 0.85));
            opacity: 0.95;
        }

        .formules-step-card__head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.65rem;
            margin-bottom: 0.85rem;
            margin-top: 0.35rem;
        }

        .formules-steps-strip--premium .formules-steps-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 2rem;
            height: 2rem;
            padding: 0 0.45rem;
            border-radius: 8px;
            background: linear-gradient(145deg, rgba(255, 107, 53, 0.14), rgba(229, 90, 43, 0.1));
            border: 1px solid rgba(255, 107, 53, 0.22);
            color: var(--lokatere-orange-readable);
            font-weight: 800;
            font-size: 0.95rem;
            flex-shrink: 0;
        }

        .formules-step-card__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.35rem;
            height: 2.35rem;
            border-radius: 8px;
            background: rgba(255, 107, 53, 0.08);
            color: var(--lokatere-orange-fill);
            font-size: 1.05rem;
        }

        .formules-step-card__body {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            text-align: left;
        }

        .formules-step-card__label {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: var(--lokatere-dark);
            line-height: 1.25;
        }

        .formules-step-card__detail {
            font-size: 0.88rem;
            line-height: 1.5;
            color: #5c6370;
        }

        @media (max-width: 900px) {
            .formules-steps-strip--premium .formules-steps-list {
                grid-template-columns: 1fr;
                max-width: 420px;
                margin-left: auto;
                margin-right: auto;
            }

            .formules-steps-strip--premium .formules-step-card:hover {
                transform: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .formules-steps-strip--premium .formules-step-card {
                transition: none;
            }

            .formules-steps-strip--premium .formules-step-card:hover {
                transform: none;
            }
        }

        /* Indication activation formules — carte premium (charte Lokatere) */
        .formulas-cta-hint-card {
            max-width: 44rem;
            margin: 1.5rem auto 0;
        }

        .formulas-cta-hint {
            display: flex;
            align-items: flex-start;
            gap: 0.85rem;
            margin: 0;
            padding: 1rem 1.15rem 1.05rem;
            text-align: left;
            font-size: 0.94rem;
            line-height: 1.55;
            color: #4a5565;
            border-radius: 10px;
            border: 1px solid rgba(255, 107, 53, 0.2);
            background:
                radial-gradient(ellipse 120% 80% at 0% 50%, rgba(255, 107, 53, 0.07) 0%, transparent 55%),
                linear-gradient(165deg, #ffffff 0%, #fffbf8 100%);
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.06),
                0 12px 28px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
            transition:
                border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formulas-cta-hint:hover {
            border-color: rgba(255, 107, 53, 0.28);
            box-shadow:
                0 4px 14px rgba(255, 107, 53, 0.08),
                0 14px 32px rgba(15, 23, 42, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
        }

        .formulas-cta-hint__icon {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.15rem;
            height: 2.15rem;
            margin-top: 0.06rem;
            border-radius: 8px;
            font-size: 1.12rem;
            color: var(--lokatere-orange-readable, #e55a2b);
            background: rgba(255, 107, 53, 0.1);
            border: 1px solid rgba(255, 107, 53, 0.18);
        }

        .formulas-cta-hint__text {
            flex: 1;
            min-width: 0;
        }

        .formulas-cta-hint a {
            color: var(--lokatere-orange-readable);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 1px solid rgba(255, 107, 53, 0.35);
            transition:
                color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formulas-cta-hint a:hover {
            color: #c94a1f;
            border-bottom-color: rgba(229, 90, 43, 0.55);
        }

        .formulas-cta-hint a:focus-visible {
            outline: 2px solid rgba(255, 107, 53, 0.55);
            outline-offset: 3px;
            border-radius: 4px;
            border-bottom-color: transparent;
        }

        @media (prefers-reduced-motion: reduce) {
            .formulas-cta-hint {
                transition: none;
            }

            .formulas-cta-hint a {
                transition: none;
            }
        }

        @media (max-width: 575.98px) {
            .formulas-cta-hint-card {
                margin-top: 1.25rem;
            }

            .formulas-cta-hint {
                padding: 0.9rem 0.95rem;
                font-size: 0.9rem;
                gap: 0.75rem;
            }

            .formulas-cta-hint__icon {
                width: 2rem;
                height: 2rem;
                font-size: 1.02rem;
            }
        }

        /* FAQ Formules — carte premium (charte Lokatere, cf. design-premium-moderne) */
        .formules-faq-section--premium {
            --faq-prem-ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-faq-section {
            padding: 3rem 1.15rem 2.75rem;
            background:
                radial-gradient(ellipse 90% 45% at 50% 0%, rgba(255, 107, 53, 0.07) 0%, transparent 52%),
                linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
            border-top: 1px solid rgba(255, 107, 53, 0.1);
        }

        .formules-faq-inner {
            max-width: 46rem;
            margin: 0 auto;
        }

        .formules-faq-card {
            border-radius: 12px;
            border: 1px solid rgba(255, 107, 53, 0.18);
            background:
                radial-gradient(ellipse 110% 70% at 12% -30%, rgba(255, 107, 53, 0.09) 0%, transparent 50%),
                linear-gradient(165deg, #ffffff 0%, #fffbf8 55%, #fff8f2 100%);
            box-shadow:
                0 2px 8px rgba(255, 107, 53, 0.06),
                0 18px 42px rgba(15, 23, 42, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.92);
            padding: 1.45rem 1.35rem 1.35rem;
            position: relative;
            overflow: hidden;
        }

        .formules-faq-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 52%, #c2410c 100%);
            opacity: 0.96;
        }

        .formules-faq-card-header {
            text-align: center;
            margin-bottom: 1.15rem;
            padding-top: 0.15rem;
        }

        .formules-faq-eyebrow {
            margin: 0 auto 0.45rem;
            display: block;
            width: fit-content;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--lokatere-orange-readable, #e55a2b);
            opacity: 0.95;
        }

        .formules-faq-title {
            font-size: clamp(1.35rem, 2.8vw, 1.75rem);
            font-weight: 700;
            text-align: center;
            margin: 0;
            color: var(--lokatere-dark);
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .formules-faq-list {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .formules-faq-item {
            background: rgba(255, 255, 255, 0.88);
            border: 1px solid rgba(255, 107, 53, 0.14);
            border-radius: 10px;
            padding: 0;
            margin: 0;
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
            transition:
                border-color 0.25s var(--faq-prem-ease, cubic-bezier(0.4, 0, 0.2, 1)),
                box-shadow 0.25s var(--faq-prem-ease, cubic-bezier(0.4, 0, 0.2, 1));
        }

        .formules-faq-item:hover {
            border-color: rgba(255, 107, 53, 0.22);
            box-shadow: 0 6px 18px rgba(255, 107, 53, 0.08);
        }

        .formules-faq-item[open] {
            border-color: rgba(255, 107, 53, 0.28);
            box-shadow:
                0 4px 16px rgba(255, 107, 53, 0.1),
                0 2px 8px rgba(15, 23, 42, 0.05);
        }

        .formules-faq-item summary {
            cursor: pointer;
            font-weight: 600;
            font-size: 0.98rem;
            line-height: 1.4;
            list-style: none;
            color: var(--lokatere-dark);
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 0.85rem;
            padding: 0.95rem 1rem 0.95rem 1.05rem;
            transition: color 0.2s var(--faq-prem-ease, cubic-bezier(0.4, 0, 0.2, 1));
        }

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

        .formules-faq-item summary::after {
            content: '';
            width: 0.55rem;
            height: 0.55rem;
            margin-top: 0.42rem;
            flex-shrink: 0;
            border-right: 2px solid var(--lokatere-orange-readable, #e55a2b);
            border-bottom: 2px solid var(--lokatere-orange-readable, #e55a2b);
            transform: rotate(45deg);
            transition: transform 0.25s var(--faq-prem-ease, cubic-bezier(0.4, 0, 0.2, 1));
            opacity: 0.9;
        }

        .formules-faq-item[open] summary::after {
            transform: rotate(-135deg);
            margin-top: 0.55rem;
        }

        .formules-faq-item-body {
            padding: 0 1.05rem 1.05rem;
            border-top: 1px solid rgba(255, 107, 53, 0.08);
        }

        .formules-faq-item-body p {
            margin: 0.85rem 0 0;
            font-size: 0.95rem;
            line-height: 1.65;
            color: #4a5565;
        }

        .formules-faq-item-body p:last-child {
            margin-bottom: 0;
        }

        .formules-faq-more {
            margin: 1.35rem 0 0;
            padding-top: 1.15rem;
            border-top: 1px solid rgba(255, 107, 53, 0.12);
            font-size: 0.93rem;
            line-height: 1.55;
            color: #5c6570;
            text-align: center;
        }

        .formules-faq-more-link {
            display: inline-block;
            margin-left: 0.35rem;
            font-weight: 600;
            color: var(--lokatere-orange-readable, #e55a2b);
            text-decoration: none;
            border-bottom: 1px solid rgba(255, 107, 53, 0.35);
            transition:
                color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .formules-faq-more-link:hover {
            color: #c94a1f;
            border-bottom-color: rgba(229, 90, 43, 0.55);
        }

        .formules-faq-more-link:focus-visible {
            outline: 2px solid rgba(255, 107, 53, 0.55);
            outline-offset: 3px;
            border-radius: 4px;
            border-bottom-color: transparent;
        }

        .formules-faq-item summary:focus-visible {
            outline: 2px solid rgba(255, 107, 53, 0.55);
            outline-offset: 2px;
            border-radius: 8px;
        }

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

        @media (max-width: 575.98px) {
            .formules-faq-section {
                padding: 2.25rem 0.85rem 2rem;
            }

            .formules-faq-card {
                padding: 1.15rem 1rem 1.05rem;
            }

            .formules-faq-item summary {
                font-size: 0.92rem;
                padding: 0.85rem 0.85rem 0.85rem 0.9rem;
            }

            .formules-faq-item-body {
                padding: 0 0.9rem 0.95rem;
            }
        }
