      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      :root {
        --bg-page: #f4f6fa;
        --bg-nav: #ffffff;
        --bg-card: #ffffff;
        --bg-input: #f0f2f7;
        --bg-input-focus: #e8ebf2;
        --bg-result: #f0fdf4;
        --bg-param: #f8f9fc;
        --bg-pas: #fffbeb;

        --accent: #10b981;
        --accent-hover: #059669;
        --accent-light: rgba(16, 185, 129, 0.08);
        --accent-border: rgba(16, 185, 129, 0.25);

        --green: #16a34a;
        --green-light: rgba(22, 163, 74, 0.08);
        --green-border: rgba(22, 163, 74, 0.2);

        --amber: #d97706;
        --amber-light: rgba(217, 119, 6, 0.08);
        --amber-border: rgba(217, 119, 6, 0.18);

        --text-1: #111827;
        --text-2: #4b5563;
        --text-3: #6b7280;

        /* Accessible text-only variants (≥4.5:1 on white) */
        --accent-text: #047857;
        --amber-text: #92400e;

        --border: #e5e7eb;
        --border-hover: #d1d5db;

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);

        --radius: 14px;
        --radius-sm: 10px;
        --radius-xs: 6px;

        --font: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
        --mono: "JetBrains Mono", "SF Mono", monospace;
        --nav-height: 56px;

        /* Shared navbar variables */
        --navy-900: #0a1628;
        --navy-800: #1b2b44;
        --slate-50: #f8fafc;
        --slate-200: #e2e8f0;
        --slate-300: #cbd5e1;
        --slate-500: #64748b;
        --slate-700: #334155;
        --slate-800: #1e293b;
        --emerald-50: #ecfdf5;
        --emerald-400: #34d399;
        --emerald-500: #10b981;
        --emerald-600: #059669;
      }

      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--font);
        background: var(--bg-page);
        color: var(--text-1);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
      }
      /* Reserve navbar space to prevent CLS when nav.js injects the navbar */
      #site-nav { min-height: 72px; }

      /* ====== NAV (shared navbar CSS) ====== */
      .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--slate-200);
      }
      .navbar-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
      }
      .navbar-logo {
        font-family: "DM Sans";
        font-size: 20px;
        font-weight: 700;
        color: var(--navy-900);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .logo-icon {
        width: 32px;
        height: 32px;
        background: linear-gradient(
          135deg,
          var(--emerald-500),
          var(--emerald-600)
        );
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
      }
      .navbar-cta {
        background: linear-gradient(
          135deg,
          var(--emerald-500),
          var(--emerald-600)
        );
        color: white;
        padding: 10px 20px;
        border-radius: 100px;
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
      }
      .navbar-menu {
        display: flex;
        align-items: center;
        gap: 8px;
        list-style: none;
      }
      .navbar-item {
        position: relative;
      }
      .navbar-link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        color: var(--slate-700);
        font-weight: 500;
        font-size: 15px;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.2s;
      }
      .navbar-link:hover {
        background: var(--slate-50);
        color: var(--emerald-600);
      }
      .dropdown-icon {
        transition: transform 0.2s;
      }
      .navbar-item:hover .dropdown-icon {
        transform: rotate(180deg);
      }
      .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 8px;
        min-width: 280px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s;
        z-index: 1000;
        margin-top: 8px;
        border: 1px solid var(--slate-200);
      }
      .navbar-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
      .dropdown-item {
        display: block;
        padding: 12px 16px;
        color: var(--slate-700);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.2s;
      }
      .dropdown-item:hover {
        background: var(--emerald-50);
        color: var(--emerald-600);
      }
      .dropdown-item strong {
        display: block;
        font-weight: 600;
        margin-bottom: 2px;
      }
      .dropdown-item small {
        display: block;
        font-size: 13px;
        color: var(--slate-500);
      }
      .dropdown-divider {
        height: 1px;
        background: var(--slate-200);
        margin: 8px 0;
      }
      .mobile-menu-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--slate-700);
        cursor: pointer;
        padding: 8px;
      }
      @media (max-width: 968px) {
        .navbar-menu {
          display: none;
          position: absolute;
          top: 72px;
          left: 0;
          right: 0;
          background: white;
          flex-direction: column;
          align-items: stretch;
          padding: 16px;
          border-top: 1px solid var(--slate-200);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        .navbar-menu.active {
          display: flex;
        }
        .navbar-item {
          width: 100%;
        }
        .navbar-link {
          width: 100%;
          justify-content: space-between;
        }
        .dropdown-menu {
          position: static;
          opacity: 1;
          visibility: visible;
          transform: none;
          box-shadow: none;
          margin-top: 8px;
          display: none;
          border: none;
          background: var(--slate-50);
        }
        .navbar-item.active .dropdown-menu {
          display: block;
        }
        .mobile-menu-toggle {
          display: block;
        }
        .navbar-cta {
          text-align: center;
          margin-top: 8px;
        }
      }

      /* ====== HERO ====== */
      .hero {
        max-width: 720px;
        margin: 0 auto;
        padding: 1.5rem 1rem 2rem;
      }
      .hero__badges {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        animation: fadeIn 0.4s ease;
      }
      .badge {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.25rem 0.65rem;
        border-radius: 99px;
        font-size: 0.72rem;
        font-weight: 600;
      }
      .badge--accent {
        background: var(--accent-light);
        color: var(--accent-text);
        border: 1px solid var(--accent-border);
      }
      .badge--green {
        background: var(--green-light);
        color: var(--green);
        border: 1px solid var(--green-border);
      }
      .badge__pulse {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        animation: pulse 2s ease-in-out infinite;
      }
      .hero__heading {
        text-align: center;
        margin-bottom: 0.5rem;
        animation: fadeIn 0.4s ease 0.05s both;
      }
      .hero__heading h1 {
        font-size: clamp(1.5rem, 4.5vw, 2.1rem);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.02em;
      }
      .hero__heading h1 em {
        font-style: normal;
        color: var(--accent-text);
      }
      .hero__sub {
        text-align: center;
        font-size: 0.88rem;
        color: var(--text-2);
        margin-bottom: 0.4rem;
        animation: fadeIn 0.4s ease 0.1s both;
      }
      .hero__smic {
        text-align: center;
        font-size: 0.78rem;
        color: var(--text-3);
        margin-bottom: 1.25rem;
        animation: fadeIn 0.4s ease 0.12s both;
      }
      .hero__smic strong {
        color: var(--text-2);
        font-weight: 600;
      }

      /* ====== CALC CARD ====== */
      .calc {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        animation: slideUp 0.5s ease 0.15s both;
      }

      /* Inputs */
      .calc__inputs {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }
      .calc__input-col {
        padding: 1.25rem;
      }
      .calc__input-col:first-child {
        border-right: 1px solid var(--border);
      }
      .calc__input-col--active {
        background: rgba(16, 185, 129, 0.02);
      }
      .input-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.45rem;
      }
      .input-label__text {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-2);
      }
      .input-label__arrow {
        font-size: 0.7rem;
        color: var(--accent-text);
        font-weight: 600;
      }
      .field-wrap {
        position: relative;
        display: flex;
        align-items: center;
      }
      .field-wrap__symbol {
        position: absolute;
        left: 0.85rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-3);
        pointer-events: none;
        transition: color 0.2s;
        z-index: 1;
      }
      .field-wrap input[type="number"] {
        width: 100%;
        padding: 0.75rem 0.85rem 0.75rem 2.1rem;
        font-family: var(--mono);
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--text-1);
        background: var(--bg-input);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        outline: none;
        transition: all 0.2s;
        -moz-appearance: textfield;
        min-height: 52px;
      }
      .field-wrap input::-webkit-outer-spin-button,
      .field-wrap input::-webkit-inner-spin-button {
        -webkit-appearance: none;
      }
      .field-wrap input:focus {
        border-color: var(--accent);
        background: var(--bg-input-focus);
        box-shadow: 0 0 0 3px var(--accent-light);
      }
      .field-wrap input:focus ~ .field-wrap__symbol {
        color: var(--accent);
      }

      /* Period toggle */
      .period-toggle {
        display: flex;
        gap: 2px;
        margin-top: 0.5rem;
        background: var(--bg-input);
        border-radius: var(--radius-xs);
        padding: 3px;
      }
      .period-toggle button {
        flex: 1;
        font-family: var(--font);
        font-size: 0.72rem;
        font-weight: 600;
        padding: 0.35rem 0.4rem;
        border: none;
        border-radius: 4px;
        color: var(--text-3);
        background: transparent;
        cursor: pointer;
        transition: all 0.15s;
      }
      .period-toggle button.active {
        background: var(--accent);
        color: #fff;
        box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
      }
      .period-toggle button:hover:not(.active) {
        color: var(--text-2);
      }

      /* ====== PARAMS ====== */
      .calc__params {
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--border);
        background: var(--bg-param);
      }
      /* Statut quick toggle */
      .statut-bar {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.75rem 1.25rem;
        border-top: 1px solid var(--border);
        background: var(--bg-param);
        flex-wrap: wrap;
      }
      .statut-bar__label {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
      }
      .statut-pills {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
      }
      .statut-pill {
        font-family: var(--font);
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.3rem 0.75rem;
        border: 1.5px solid var(--border);
        border-radius: 99px;
        background: var(--bg-card);
        color: var(--text-2);
        cursor: pointer;
        transition: all 0.15s;
        min-height: 32px;
      }
      .statut-pill:hover { border-color: var(--accent); color: var(--accent); }
      .statut-pill.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
      }

      .params-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        user-select: none;
      }
      .params-toggle__label {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-2);
      }
      .params-toggle__icon {
        width: 20px;
        height: 20px;
        color: var(--text-3);
        transition: transform 0.25s;
      }
      .params-toggle__icon.open {
        transform: rotate(180deg);
      }
      .params-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 0.85rem;
        overflow: hidden;
        transition:
          max-height 0.3s ease,
          opacity 0.25s ease;
      }
      .params-grid.collapsed {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
      }
      .param label {
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.3rem;
      }
      .param select {
        width: 100%;
        padding: 0.55rem 2rem 0.55rem 0.65rem;
        font-family: var(--font);
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--text-1);
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-xs);
        outline: none;
        appearance: none;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.65rem center;
        transition: border-color 0.15s;
        min-height: 40px;
      }
      .param select:focus {
        border-color: var(--accent);
      }
      .range-wrap {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      .range-wrap input[type="range"] {
        flex: 1;
        accent-color: var(--accent);
        height: 4px;
        cursor: pointer;
      }
      .range-wrap .range-val {
        font-family: var(--mono);
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--accent);
        min-width: 36px;
        text-align: right;
      }
      .param-check {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.55rem 0.65rem;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-xs);
        cursor: pointer;
        min-height: 40px;
        transition: border-color 0.15s;
      }
      .param-check:hover {
        border-color: var(--border-hover);
      }
      .param-check input[type="checkbox"] {
        accent-color: var(--accent);
        width: 16px;
        height: 16px;
        cursor: pointer;
      }
      .param-check span {
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--text-2);
      }

      /* ====== RESULT ====== */
      .calc__result {
        padding: 1.25rem;
        border-top: 1px solid var(--border);
      }
      .result-main {
        background: var(--bg-result);
        border: 1px solid var(--green-border);
        border-radius: var(--radius-sm);
        padding: 1.1rem;
        text-align: center;
        position: relative;
        overflow: hidden;
      }
      .result-main::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--green), var(--accent));
      }
      .result-main__label {
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--green);
        margin-bottom: 0.25rem;
      }
      .result-main__amount {
        font-family: var(--mono);
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        font-weight: 700;
        color: var(--text-1);
        line-height: 1.15;
        transition: all 0.3s ease;
      }
      .result-main__amount .eur {
        font-size: 0.55em;
        color: var(--text-3);
        font-weight: 500;
      }
      .result-main__sub {
        font-size: 0.8rem;
        color: var(--text-2);
        margin-top: 0.2rem;
      }
      .result-main__sub strong {
        font-weight: 600;
        color: var(--text-1);
      }
      .result-details {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
        margin-top: 0.75rem;
      }
      .result-detail {
        text-align: center;
        padding: 0.55rem 0.25rem;
        background: var(--bg-page);
        border-radius: var(--radius-xs);
      }
      .result-detail__val {
        font-family: var(--mono);
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--text-1);
      }
      .result-detail__label {
        font-size: 0.62rem;
        font-weight: 500;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-top: 0.1rem;
      }

      /* Chart bar */
      .result-chart {
        margin-top: 1rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
      }
      .result-chart__title {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--text-2);
        margin-bottom: 0.5rem;
      }
      .chart-bars {
        display: flex;
        height: 10px;
        border-radius: 99px;
        overflow: hidden;
        gap: 2px;
      }
      .chart-bar--net {
        background: var(--green);
      }
      .chart-bar--csg {
        background: #f59e0b;
      }
      .chart-bar--cotis {
        background: #ef4444;
      }
      .chart-legend {
        display: flex;
        gap: 1rem;
        margin-top: 0.4rem;
        flex-wrap: wrap;
      }
      .chart-legend-item {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.7rem;
        color: var(--text-3);
      }
      .chart-legend-item__dot {
        width: 8px;
        height: 8px;
        border-radius: 2px;
        flex-shrink: 0;
      }

      /* ====== PAS SECTION ====== */
      .calc__pas {
        padding: 1.25rem;
        border-top: 1px solid var(--border);
      }
      .pas-box {
        background: var(--bg-pas);
        border: 1px solid var(--amber-border);
        border-radius: var(--radius-sm);
        padding: 1rem;
      }
      .pas-box__title {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--amber-text);
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
      }
      .pas-row {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
      }
      .pas-row label {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--text-2);
        white-space: nowrap;
      }
      .pas-pills {
        display: flex;
        gap: 3px;
        flex-wrap: wrap;
      }
      .pas-pill {
        font-family: var(--mono);
        font-size: 0.72rem;
        font-weight: 500;
        padding: 0.3rem 0.55rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        background: var(--bg-card);
        color: var(--text-3);
        cursor: pointer;
        transition: all 0.15s;
        min-width: 36px;
        text-align: center;
      }
      .pas-pill:hover {
        border-color: var(--amber-border);
        color: var(--amber);
      }
      .pas-pill.active {
        background: var(--amber);
        color: #fff;
        border-color: var(--amber);
      }
      .pas-result {
        margin-top: 0.75rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
      }
      .pas-result-item {
        padding: 0.5rem 0.65rem;
        background: rgba(255, 255, 255, 0.7);
        border-radius: var(--radius-xs);
      }
      .pas-result-item__label {
        font-size: 0.65rem;
        font-weight: 500;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 0.03em;
      }
      .pas-result-item__val {
        font-family: var(--mono);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-1);
        margin-top: 0.1rem;
      }
      .pas-result-item__val--green {
        color: var(--green);
      }
      .pas-custom {
        display: flex;
        align-items: center;
        gap: 0.35rem;
      }
      .pas-custom input {
        width: 56px;
        font-family: var(--mono);
        font-size: 0.78rem;
        font-weight: 600;
        padding: 0.3rem 0.4rem;
        text-align: center;
        border: 1.5px solid var(--border);
        border-radius: 4px;
        outline: none;
        background: var(--bg-card);
        color: var(--text-1);
        transition: border-color 0.15s;
        -moz-appearance: textfield;
      }
      .pas-custom input::-webkit-outer-spin-button,
      .pas-custom input::-webkit-inner-spin-button {
        -webkit-appearance: none;
      }
      .pas-custom input:focus {
        border-color: var(--amber);
        box-shadow: 0 0 0 2px var(--amber-light);
      }
      .pas-custom span {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-3);
      }

      /* ====== TRUST ====== */
      .trust-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.25rem;
        padding-top: 0.75rem;
        flex-wrap: wrap;
        animation: fadeIn 0.4s ease 0.3s both;
      }
      .trust-item {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.72rem;
        font-weight: 500;
        color: var(--text-3);
      }
      .trust-item svg {
        width: 14px;
        height: 14px;
        color: var(--green);
        flex-shrink: 0;
      }

      /* ====== ANIMATIONS ====== */
      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
      @keyframes slideUp {
        from {
          opacity: 0;
          transform: translateY(12px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      @keyframes pulse {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.4;
        }
      }
      .result-pop {
        animation: pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      }
      @keyframes pop {
        0% {
          transform: scale(0.97);
          opacity: 0.7;
        }
        100% {
          transform: scale(1);
          opacity: 1;
        }
      }

      /* ====== RESPONSIVE ====== */
      @media (max-width: 768px) {
        .hero {
          padding: 0.5rem 0.75rem 1rem;
        }
        .hero__badges {
          margin-bottom: 0.4rem;
        }
        .hero__heading {
          margin-bottom: 0.25rem;
        }
        .hero__heading h1 {
          font-size: 1.25rem;
          line-height: 1.2;
        }
        .hero__sub {
          display: none;
        }
        .hero__smic {
          font-size: 0.72rem;
          margin-bottom: 0.75rem;
        }
        .calc__inputs {
          grid-template-columns: 1fr;
        }
        .calc__input-col:first-child {
          border-right: none;
          border-bottom: 1px solid var(--border);
        }
        .calc__input-col {
          padding: 1rem;
        }
        .field-wrap input[type="number"] {
          font-size: 1.25rem;
          min-height: 52px;
          padding: 0.75rem 0.85rem 0.75rem 2rem;
        }
        .params-grid {
          grid-template-columns: 1fr;
          gap: 0.6rem;
        }
        .params-grid .param[style*="span 2"],
        .params-grid .param-span2 {
          grid-column: span 1 !important;
        }
        .result-main__amount {
          font-size: 1.8rem;
        }
        .result-details {
          grid-template-columns: 1fr 1fr 1fr;
          gap: 0.4rem;
        }
        .result-detail {
          padding: 0.5rem 0.15rem;
        }
        .result-detail__val {
          font-size: 0.8rem;
        }
        .trust-bar {
          gap: 0.6rem;
        }
        .trust-item {
          font-size: 0.68rem;
        }
        .pas-result {
          grid-template-columns: 1fr;
        }
        .pas-row {
          gap: 0.5rem;
        }
        .pas-pills {
          gap: 2px;
        }
      }

      @media (pointer: coarse) {
        .param select {
          min-height: 48px;
          font-size: 0.88rem;
          padding-left: 0.75rem;
        }
        .period-toggle button {
          min-height: 40px;
          padding: 0.5rem;
          font-size: 0.78rem;
        }
        .param-check {
          min-height: 48px;
          gap: 0.65rem;
        }
        .pas-pill {
          min-height: 40px;
          padding: 0.45rem 0.65rem;
        }
        .range-wrap input[type="range"] {
          height: 6px;
        }
      }

      /* ====== DETAIL COTISATIONS (dépliable) ====== */
      .calc__detail {
        padding: 0;
        border-top: 1px solid var(--border);
      }

      /* ====== SIMULATEUR FISCAL ====== */
      .calc__fiscal {
        padding: 1.25rem;
        border-top: 1px solid var(--border);
      }
      .fiscal-box {
        background: linear-gradient(
          135deg,
          rgba(16, 185, 129, 0.03),
          rgba(22, 163, 74, 0.03)
        );
        border: 1px solid var(--accent-border);
        border-radius: var(--radius-sm);
        padding: 1.1rem;
      }
      .fiscal-box__title {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 0.85rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
      }
      .fiscal-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
      }
      .fiscal-field label {
        display: block;
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.25rem;
      }
      .fiscal-field select,
      .fiscal-field input[type="number"] {
        width: 100%;
        padding: 0.5rem 0.6rem;
        font-family: var(--font);
        font-size: 0.82rem;
        font-weight: 500;
        color: var(--text-1);
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-xs);
        outline: none;
        transition: border-color 0.15s;
        min-height: 38px;
      }
      .fiscal-field input[type="number"] {
        font-family: var(--mono);
      }
      .fiscal-field select:focus,
      .fiscal-field input:focus {
        border-color: var(--accent);
      }
      .fiscal-field input::-webkit-outer-spin-button,
      .fiscal-field input::-webkit-inner-spin-button {
        -webkit-appearance: none;
      }
      .fiscal-field input {
        -moz-appearance: textfield;
      }
      .fiscal-field .input-suffix {
        position: relative;
      }
      .fiscal-field .input-suffix input {
        padding-right: 2.5rem;
      }
      .fiscal-field .input-suffix span {
        position: absolute;
        right: 0.6rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-3);
        pointer-events: none;
      }
      .fiscal-children {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      .fiscal-children button {
        width: 32px;
        height: 32px;
        border: 1px solid var(--border);
        border-radius: var(--radius-xs);
        background: var(--bg-card);
        color: var(--text-2);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.12s;
      }
      .fiscal-children button:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .fiscal-children .count {
        font-family: var(--mono);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-1);
        min-width: 20px;
        text-align: center;
      }
      .fiscal-checks {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-top: 0.15rem;
      }
      .fiscal-check {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.78rem;
        color: var(--text-2);
        cursor: pointer;
      }
      .fiscal-check input {
        accent-color: var(--accent);
        width: 14px;
        height: 14px;
      }
      .fiscal-result {
        margin-top: 0.85rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.45rem;
      }
      .fiscal-result-item {
        padding: 0.55rem 0.5rem;
        background: var(--bg-page);
        border-radius: var(--radius-xs);
        text-align: center;
      }
      .fiscal-result-item__label {
        font-size: 0.6rem;
        font-weight: 500;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 0.03em;
      }
      .fiscal-result-item__val {
        font-family: var(--mono);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-1);
        margin-top: 0.1rem;
      }
      .fiscal-result-item__val--green {
        color: var(--green);
      }
      .fiscal-result-item__val--accent {
        color: var(--accent);
      }
      .fiscal-result-full {
        grid-column: span 3;
        background: var(--bg-result);
        border: 1px solid var(--green-border);
        padding: 0.65rem;
        text-align: center;
        border-radius: var(--radius-xs);
      }
      .fiscal-result-full__label {
        font-size: 0.65rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--green);
      }
      .fiscal-result-full__val {
        font-family: var(--mono);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-1);
      }
      @media (max-width: 768px) {
        .fiscal-grid {
          grid-template-columns: 1fr;
        }
        .fiscal-result {
          grid-template-columns: 1fr 1fr 1fr;
        }
        .fiscal-result-full {
          grid-column: span 3;
        }
      }
      .detail-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.85rem 1.25rem;
        cursor: pointer;
        user-select: none;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--accent);
        background: var(--bg-param);
        transition: background 0.15s;
      }
      .detail-toggle:hover {
        background: var(--accent-light);
      }
      .detail-toggle svg {
        width: 16px;
        height: 16px;
        transition: transform 0.25s;
      }
      .detail-toggle.open svg {
        transform: rotate(180deg);
      }
      .detail-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
      }
      .detail-content.open {
        max-height: 800px;
      }
      .detail-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.78rem;
      }
      .detail-table th {
        text-align: left;
        padding: 0.5rem 1.25rem;
        font-size: 0.65rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-3);
        background: var(--bg-param);
        border-bottom: 1px solid var(--border);
      }
      .detail-table th:last-child {
        text-align: right;
      }
      .detail-table td {
        padding: 0.45rem 1.25rem;
        border-bottom: 1px solid var(--border);
        color: var(--text-2);
      }
      .detail-table td:first-child {
        font-weight: 500;
        color: var(--text-1);
      }
      .detail-table td:nth-child(2) {
        font-family: var(--mono);
        font-size: 0.72rem;
        color: var(--text-3);
      }
      .detail-table td:nth-child(3) {
        font-family: var(--mono);
        font-size: 0.72rem;
        color: var(--text-3);
        text-align: center;
      }
      .detail-table td:last-child {
        font-family: var(--mono);
        font-weight: 600;
        text-align: right;
        color: var(--text-1);
      }
      .detail-table tr:last-child td {
        border-bottom: none;
      }
      .detail-table .row-total td {
        font-weight: 700;
        color: var(--text-1);
        background: var(--bg-param);
        border-top: 2px solid var(--border);
      }
      .detail-table .row-total td:last-child {
        color: var(--accent);
      }
      .detail-source {
        padding: 0.65rem 1.25rem;
        font-size: 0.68rem;
        color: var(--text-3);
        background: var(--bg-param);
        border-top: 1px solid var(--border);
      }
      .detail-source a {
        color: var(--accent);
        text-decoration: none;
      }
      .detail-source a:hover {
        text-decoration: underline;
      }

      /* ====== BENCHMARK BAR ====== */
      .result-benchmark {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--border);
      }
      .result-benchmark__title {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--text-2);
        margin-bottom: 1rem;
      }
      .benchmark-track {
        position: relative;
        height: 6px;
        background: var(--bg-page);
        border-radius: 99px;
        margin-bottom: 2.8rem;
        overflow: visible;
      }
      .benchmark-fill {
        position: absolute;
        left: 0; top: 0;
        height: 100%;
        border-radius: 99px;
        background: linear-gradient(90deg, var(--green), var(--accent));
        transition: width 0.55s cubic-bezier(0.34,1.56,0.64,1);
        max-width: 100%;
      }
      .benchmark-marker {
        position: absolute;
        top: -4px;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .benchmark-marker__line {
        width: 1.5px;
        height: 14px;
        background: rgba(0,0,0,0.18);
        border-radius: 1px;
      }
      .benchmark-marker__label {
        font-size: 0.58rem;
        font-weight: 600;
        color: var(--text-3);
        white-space: nowrap;
        text-align: center;
        line-height: 1.4;
        margin-top: 4px;
      }
      .benchmark-you {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        border: 3px solid var(--accent);
        box-shadow: 0 2px 8px rgba(16,185,129,0.45);
        transition: left 0.55s cubic-bezier(0.34,1.56,0.64,1);
        z-index: 2;
      }
      .benchmark-status {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.74rem;
        font-weight: 600;
        padding: 0.38rem 0.7rem;
        border-radius: 99px;
      }
      .bm--up   { color: var(--green);      background: var(--green-light);  border: 1px solid var(--green-border); }
      .bm--mid  { color: var(--accent-text); background: var(--accent-light); border: 1px solid var(--accent-border); }
      .bm--low  { color: var(--amber);       background: var(--amber-light);  border: 1px solid var(--amber-border); }
      .bm--smic  { color: #dc2626;  background: rgba(220,38,38,.07);   border: 1px solid rgba(220,38,38,.18); }
      .bm--top25 { color: #7c3aed; background: rgba(124,58,237,.07);  border: 1px solid rgba(124,58,237,.2); }
      .bm--top10 { color: #b45309; background: rgba(180,83,9,.08);    border: 1px solid rgba(180,83,9,.2); }

      /* ====== BRUT SLIDER ====== */
      .brut-slider-wrap {
        padding: 4px 24px 0;
        background: var(--bg-calc);
        border-bottom: 1px solid var(--border);
      }
      .brut-slider {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        height: 6px;
        border-radius: 3px;
        outline: none;
        cursor: pointer;
        background: linear-gradient(to right, var(--accent) 40%, var(--bg-input) 40%);
        transition: background 0.1s;
      }
      .brut-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: white;
        border: 3px solid var(--accent);
        box-shadow: 0 2px 8px rgba(0,0,0,0.18);
        cursor: grab;
        transition: transform 0.1s, box-shadow 0.1s;
      }
      .brut-slider::-webkit-slider-thumb:active {
        cursor: grabbing;
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(16,185,129,0.35);
      }
      .brut-slider::-moz-range-thumb {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: white;
        border: 3px solid var(--accent);
        box-shadow: 0 2px 8px rgba(0,0,0,0.18);
        cursor: grab;
      }
      .brut-slider-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 11px;
        color: var(--text-3);
        padding: 4px 0 10px;
      }
      .brut-slider-meta .brut-slider-current {
        font-family: var(--mono);
        font-size: 12px;
        font-weight: 600;
        color: var(--accent-text);
        background: var(--accent-light);
        border: 1px solid var(--accent-border);
        padding: 2px 8px;
        border-radius: 100px;
      }

      /* ====== EMPLOYER COST ====== */
      .employer-cost {
        margin-top: 10px;
        background: var(--bg-input);
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 13px;
      }
      .employer-cost__title {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 600;
        color: var(--text-3);
        margin-bottom: 8px;
      }
      .employer-cost__row {
        display: flex;
        justify-content: space-between;
        padding: 3px 0;
        color: var(--text-2);
      }
      .employer-cost__row.total {
        font-weight: 700;
        color: var(--text-1);
        border-top: 1px solid var(--border);
        margin-top: 6px;
        padding-top: 8px;
      }
      .employer-cost__row .val {
        font-family: var(--mono);
        font-weight: 600;
      }
      .employer-cost__row.total .val {
        color: var(--accent-text);
      }

      /* ====== BRUT WARNING ====== */
      .brut-warning {
        margin: 0 1.25rem 0;
        padding: 0.6rem 0.9rem;
        border-radius: var(--radius-xs);
        font-size: 0.8rem;
        font-weight: 600;
        background: #fef3c7;
        color: #92400e;
        border: 1px solid #fcd34d;
      }
      .brut-warning--error {
        background: #fee2e2;
        color: #991b1b;
        border-color: #fca5a5;
      }

      /* ====== TOOLTIP ====== */
      .tooltip-anchor {
        position: relative;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        color: var(--text-3);
        font-size: 0.75em;
        margin-left: 4px;
        vertical-align: middle;
      }
      .tooltip-anchor:focus { outline: none; }
      .tooltip-box {
        display: none;
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        width: 260px;
        background: var(--bg-card, #fff);
        border: 1px solid var(--border);
        border-radius: var(--radius-xs);
        padding: 0.55rem 0.7rem;
        font-size: 0.72rem;
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        color: var(--text-2);
        text-align: left;
        box-shadow: 0 4px 12px rgba(0,0,0,.12);
        z-index: 100;
        line-height: 1.45;
        pointer-events: none;
      }
      .tooltip-anchor:hover .tooltip-box,
      .tooltip-anchor:focus .tooltip-box { display: block; }
      .tooltip-box strong { color: var(--text-1); }

      /* ====== SHARE BUTTON ====== */
      .share-bar {
        display: flex;
        justify-content: flex-end;
        padding: 10px 20px 14px;
        background: var(--bg-calc);
        border-top: 1px solid var(--border);
        border-radius: 0 0 18px 18px;
        gap: 8px;
      }
      .share-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        border-radius: 100px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        border: 1px solid var(--border);
        background: white;
        color: var(--text-2);
        transition: all 0.2s;
      }
      .share-btn:hover {
        border-color: var(--accent);
        color: var(--accent-text);
        background: var(--accent-light);
      }
      .share-btn.copied {
        border-color: var(--accent);
        color: var(--accent-text);
        background: var(--accent-light);
      }

      /* ====== ET MAINTENANT ? ====== */
      .next-steps {
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--border);
        background: var(--bg-param);
      }
      .next-steps__title {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-3);
        margin-bottom: 0.65rem;
      }
      .next-steps__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
      }
      .next-step-card {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.6rem 0.75rem;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-xs);
        text-decoration: none;
        color: var(--text-1);
        transition: all 0.15s;
      }
      .next-step-card:hover {
        border-color: var(--accent);
        background: var(--accent-light);
        text-decoration: none;
        color: var(--text-1);
      }
      .next-step-card__icon { font-size: 1.1rem; flex-shrink: 0; }
      .next-step-card strong { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-1); }
      .next-step-card small { display: block; font-size: 0.68rem; color: var(--text-3); margin-top: 1px; }
      @media (max-width: 768px) {
        .next-steps__links { grid-template-columns: 1fr; }
        .statut-pills { gap: 3px; }
        .statut-pill { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
      }

      /* ====== SEO CONTENT ====== */
      .seo-content {
        max-width: 720px;
        margin: 0 auto;
        padding: 2rem 1rem 3rem;
        content-visibility: auto;
        contain-intrinsic-size: 0 1200px;
      }
      .seo-content h2 {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--text-1);
        margin: 2rem 0 0.75rem;
        line-height: 1.3;
      }
      .seo-content h3 {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-1);
        margin: 1.5rem 0 0.5rem;
      }
      .seo-content h4 {
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--text-2);
        margin: 1.2rem 0 0.4rem;
      }
      .seo-content p {
        font-size: 0.92rem;
        color: var(--text-2);
        line-height: 1.7;
        margin-bottom: 0.75rem;
      }
      .seo-content strong {
        color: var(--text-1);
        font-weight: 600;
      }
      .seo-content ul,
      .seo-content ol {
        padding-left: 1.25rem;
        margin-bottom: 0.75rem;
      }
      .seo-content li {
        font-size: 0.92rem;
        color: var(--text-2);
        line-height: 1.65;
        margin-bottom: 0.3rem;
      }
      .seo-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
        font-size: 0.85rem;
      }
      .seo-content table th {
        background: var(--bg-param);
        padding: 0.6rem 0.75rem;
        text-align: left;
        font-weight: 600;
        border: 1px solid var(--border);
        color: var(--text-1);
        font-size: 0.8rem;
      }
      .seo-content table td {
        padding: 0.5rem 0.75rem;
        border: 1px solid var(--border);
        color: var(--text-2);
      }
      .seo-content table tr:nth-child(even) td {
        background: var(--bg-param);
      }
      .seo-content a {
        color: var(--accent);
        text-decoration: none;
      }
      .seo-content a:hover {
        text-decoration: underline;
      }
      .seo-content .info-box {
        background: var(--accent-light);
        border-left: 3px solid var(--accent);
        padding: 0.75rem 1rem;
        border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
        margin: 1rem 0;
        font-size: 0.88rem;
        color: var(--text-2);
      }
      .seo-content .cta-box {
        text-align: center;
        padding: 1.5rem;
        background: var(--bg-param);
        border-radius: var(--radius-sm);
        margin: 1.5rem 0;
      }
      .seo-content .cta-box a {
        display: inline-block;
        padding: 0.65rem 1.5rem;
        background: var(--accent);
        color: #fff;
        border-radius: 99px;
        font-weight: 600;
        font-size: 0.88rem;
      }
      .seo-content .cta-box a:hover {
        background: var(--accent-hover);
        text-decoration: none;
      }
      .seo-content .sources {
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
      }
      .faq-accordion {
        margin: 1.5rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }
      .faq-accordion details {
        border: 1px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
      }
      .faq-accordion details[open] {
        border-color: var(--accent);
      }
      .faq-accordion summary {
        padding: 1rem 1.25rem;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--surface-2, #f8fafc);
        transition: background 0.15s;
      }
      .faq-accordion summary:hover { background: var(--surface-3, #f1f5f9); }
      .faq-accordion summary::-webkit-details-marker { display: none; }
      .faq-accordion summary::after {
        content: "+";
        font-size: 1.25rem;
        color: var(--accent);
        flex-shrink: 0;
        margin-left: 1rem;
        transition: transform 0.2s;
      }
      .faq-accordion details[open] summary::after { content: "−"; }
      .faq-accordion .faq-body {
        padding: 0.75rem 1.25rem 1rem;
        font-size: 0.9rem;
        line-height: 1.7;
        color: var(--text-2, #475569);
      }
      .seo-content .sources a {
        display: block;
        margin-bottom: 0.3rem;
        font-size: 0.85rem;
        text-decoration: underline;
      }
      .seo-content a {
        text-decoration: underline;
      }
      .seo-content .disclaimer {
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
        background: var(--bg-param);
        border-radius: var(--radius-xs);
        font-size: 0.8rem;
        color: var(--text-3);
      }
