    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
      background: linear-gradient(135deg, #f5f7fc 0%, #eef2f7 100%);
      color: #1a2634;
      line-height: 1.5;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header */
    .header {
      padding: 16px 0;
      background: #2A6E88;
      border-bottom: 3px solid #b84a58;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .header-left {
      flex: 1;
    }

    .header-right {
      flex-shrink: 0;
    }

    .logo {
      font-size: 1.75rem;
      font-weight: 700;
      background: linear-gradient(135deg, #e8eef4, #c9cfda);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      display: inline-block;
    }

    .subhead {
      font-size: 0.9rem;
      color: #d4e2ef;
      margin-top: 4px;
    }

    .header-tagline {
      font-size: 0.9rem;
      color: #d4e2ef;
      font-weight: 500;
      white-space: nowrap;
      display: none !important;
    }

    /* Alignement spécifique pour la page d'accueil */
    header.home-page .container {
      align-items: flex-end !important;
    }

    header.home-page .header-left,
    header.home-page .header-right {
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-end !important;
    }

    header.home-page .header-right {
      align-items: flex-end !important;
    }

    header.home-page .header-tagline {
      display: inline-block !important;
    }

    .header-back-btn {
      background: white;
      color: #2A6E88;
      border: none;
      padding: 8px 16px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 0.85rem;
      transition: opacity 0.2s;
      white-space: nowrap;
    }

    .header-back-btn:hover {
      opacity: 0.8;
    }

    /* Hide old page-content buttons since navigation is now in sticky header */
    .btn-back {
      display: none !important;
    }

    /* Pages */


    /* Hero */
    .hero {
      padding: 72px 0 36px;
      text-align: center;
    }

    .hero h1 {
      font-size: 2.2rem;
      font-weight: 700;
      background: linear-gradient(135deg, #0a2a3b 0%, #2c1e2a 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      max-width: 900px;
      margin: 0 auto 16px;
    }

    .hero p {
      font-size: 1.2rem;
      color: #2c3e4e;
      max-width: 700px;
      margin: 0 auto;
    }

    /* ── Hero page d'accueil — Version A ── */
    .hero-accueil {
      background: linear-gradient(135deg, #1b4d6b 0%, #2a6e88 55%, #2a7a9c 100%);
      padding: 72px 24px 64px;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .hero-accueil::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 50% at 50% 110%, rgba(184,74,88,0.22) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-accueil-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
    .surtitre-accueil {
      display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
    }
    .surtitre-accueil::before, .surtitre-accueil::after {
      content: ''; width: 18px; height: 2px;
      background: rgba(255,255,255,0.4); border-radius: 2px;
    }
    .surtitre-accueil-text {
      font-size: 1.05rem; font-weight: 700;
      color: rgba(255,255,255,0.9); letter-spacing: 0.04em;
    }
    .surtitre-accueil-text .vbar {
      display: inline-block; width: 1.5px; height: 0.95em;
      background: rgba(255,255,255,0.35); border-radius: 2px;
      margin: 0 10px; vertical-align: middle; position: relative; top: -1px;
    }
    .hero-accueil h1 {
      font-size: 3rem; font-weight: 900; line-height: 1.08;
      letter-spacing: -0.03em; color: white; margin-bottom: 22px;
    }
    .hero-accueil h1 .accent-word {
      color: #B84A58; font-style: italic; font-weight: 800;
      position: relative; display: inline-block;
    }
    .hero-accueil h1 .accent-word::after {
      content: ''; position: absolute;
      left: 0; right: 0; bottom: 4px;
      height: 6px; background: rgba(184,74,88,0.18);
      border-radius: 6px; z-index: -1;
    }
    .hero-accueil-sub {
      font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.7;
      font-style: italic; max-width: 560px; margin: 0 auto 40px;
    }
    .hero-accueil-stat {
      display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
      margin-top: 52px; padding-top: 32px;
      border-top: 1px solid rgba(255,255,255,0.15);
    }
    .hero-accueil-stat-item { text-align: center; }
    .hero-accueil-stat-num { font-size: 1.8rem; font-weight: 900; color: white; letter-spacing: -0.03em; }
    .hero-accueil-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

    .badge {
      display: inline-block;
      background: linear-gradient(135deg, #e8eef4 0%, #dce3ec 100%);
      padding: 6px 14px;
      border-radius: 40px;
      font-size: 0.8rem;
      font-weight: 500;
      color: #2c1e2a;
      margin-bottom: 20px;
      border: 1px solid rgba(184, 74, 88, 0.2);
    }

    /* Offres cards layout */
    .offers-row {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      margin: 48px 0 0 0;
    }

    .offre-card {
      flex: 1;
      min-width: 280px;
      background: white;
      border-radius: 32px;
      padding: 40px 32px;
      border: 1px solid rgba(184, 74, 88, 0.15);
      box-shadow: 0 8px 20px rgba(0,0,0,0.04);
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .offre-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    }

    .section-title {
      font-size: 1.9rem;
      font-weight: 700;
      background: linear-gradient(135deg, #0a2a3b 0%, #2c1e2a 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      margin-bottom: 12px;
    }

    .title-row {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 8px;
    }

    .title-row .section-title {
      margin-bottom: 0;
    }

    .title-subtle {
      font-size: 1rem;
      font-weight: 400;
      font-style: italic;
      color: #6B2A3A;
      letter-spacing: 0.3px;
    }

    .keywords {
      font-size: 1rem;
      color: #9A3A46;
      font-weight: 500;
      margin: 8px 0 32px 0;
      line-height: 1.4;
    }

    .btn-outline {
      display: inline-block;
      background: transparent;
      border: 1.5px solid #2a7a9c;
      color: #2a7a9c;
      padding: 12px 24px;
      border-radius: 60px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
      text-decoration: none;
      align-self: flex-start;
      margin-top: auto;
    }

    .btn-outline:hover {
      background: #2a7a9c;
      color: white;
    }

    /* Grille 3 cartes (offres dirigeants) */
    .cards-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: center;
      margin: 16px 0;
    }

    .card {
      flex: 1;
      min-width: 280px;
      background: white;
      border-radius: 32px;
      box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
      transition: transform 0.2s;
      overflow: hidden;
      border: 1px solid rgba(184, 74, 88, 0.15);
      display: flex;
      flex-direction: column;
      cursor: pointer;
      padding: 24px 20px;
    }

    .card:hover {
      transform: translateY(-6px);
    }

    .card-header {
      padding: 16px 0 12px;
      border-bottom: 3px solid #2a7a9c;
    }

    .card-header h3 {
      font-size: 1.7rem;
      font-weight: 700;
      margin: 0;
    }

    .card-content {
      padding: 12px 0;
      flex-grow: 1;
    }

    .card-content p {
      color: #2c3e4e;
      margin-bottom: 12px;
      font-weight: 500;
    }

    .card-footer {
      padding: 0 0 0;
      margin-top: auto;
    }

    .btn-outline-card {
      width: 100%;
      text-align: center;
      background: 0;
      border: 1.5px solid #2a7a9c;
      border-radius: 60px;
      padding: 12px 0;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
      color: #2a7a9c;
      margin-top: 16px;
    }

    .btn-outline-card:hover {
      background: #2a7a9c;
      color: white;
    }

    /* Bouton retour */
    .btn-back {
      background: transparent;
      border: 1.5px solid #4b6b7e;
      color: #4b6b7e;
      padding: 10px 20px;
      border-radius: 60px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
      margin-top: 40px;
      margin-bottom: 24px;
      display: inline-block;
    }

    .btn-back:hover {
      background: #4b6b7e;
      color: white;
    }

    /* Section valeurs */
    .values {
      background: linear-gradient(135deg, #eef2f7, #e2e8f0);
      padding: 64px 0;
      border-radius: 48px;
      margin: 20px 0 40px;
    }

    .values h2 {
      text-align: center;
      font-size: 1.9rem;
      margin-bottom: 48px;
      background: linear-gradient(135deg, #0a2a3b, #2c1e2a);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    .grid-values {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: center;
    }

    .value-item {
      flex: 1;
      min-width: 200px;
      background: white;
      border-radius: 24px;
      padding: 24px 20px;
      text-align: center;
      border: 1px solid rgba(184, 74, 88, 0.12);
      position: relative;
      overflow: hidden;
    }

    .value-initial {
      position: absolute;
      top: -10px;
      right: 8px;
      font-size: 6rem;
      font-weight: 800;
      color: rgba(42, 122, 156, 0.07);
      line-height: 1;
      pointer-events: none;
      font-family: 'Inter', sans-serif;
    }

    .value-item h4 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 12px;
      background: linear-gradient(135deg, #2a7a9c, #b84a58);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    /* Info panel */
    .info-panel {
      background: white;
      border-radius: 32px;
      padding: 32px 28px;
      margin: 40px 0;
      border: 1px solid rgba(184, 74, 88, 0.15);
    }

    .info-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      justify-content: space-between;
    }

    .info-block strong {
      font-size: 1.1rem;
      background: linear-gradient(135deg, #2a7a9c, #b84a58);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      display: block;
      margin-bottom: 8px;
    }

    /* CTA section */
    .cta-section {
      text-align: center;
      background: #2a6e88;
      color: white;
      padding: 56px 32px;
      border-radius: 48px;
      margin: 48px 0 64px;
    }

    .cta-section h2 {
      font-size: 1.8rem;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .cta-section p {
      font-size: 1.1rem;
      max-width: 650px;
      margin: 0 auto 32px;
      opacity: 0.95;
    }

    .btn-primary {
      background: linear-gradient(135deg, #b84a58, #9a3a46);
      color: white;
      border: none;
      padding: 14px 36px;
      font-size: 1.1rem;
      font-weight: 700;
      border-radius: 60px;
      cursor: pointer;
      transition: 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: inherit;
    }

    .btn-primary:hover {
      transform: scale(1.02);
    }

    /* Accordéons */
    .accordion-item {
      background: white;
      border-radius: 28px;
      margin-bottom: 16px;
      border: 1px solid rgba(184, 74, 88, 0.12);
      overflow: hidden;
    }

    .accordion-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 28px;
      cursor: pointer;
      font-size: 1.1rem;
      font-weight: 700;
      color: #0a2a3b;
      letter-spacing: 0.3px;
      text-transform: uppercase;
    }

    .accordion-header:hover {
      background: #eef2f7;
      color: #2A7A9C;
    }

    .accordion-icon {
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .accordion-icon svg {
      width: 22px;
      height: 22px;
      stroke-width: 2.5;
    }

    .accordion-icon .minus-icon {
      display: none;
    }

    .accordion-item.open .accordion-icon .plus-icon {
      display: none;
    }

    .accordion-item.open .accordion-icon .minus-icon {
      display: block;
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      padding: 0 28px;
    }

    .accordion-item.open .accordion-content {
      max-height: 1500px;
      padding: 0 28px 24px 28px;
    }

    .accordion-toggle {
      transition: transform 0.3s;
      display: inline-block;
    }

    .accordion-item.open .accordion-toggle {
      transform: rotate(180deg);
    }

    .offer-details {
      border-top: 2px solid;
      padding-top: 20px;
      margin-top: 8px;
    }

    .offer-details ul {
      list-style: none;
      margin-left: 0;
    }

    .offer-details li {
      margin-bottom: 10px;
      padding-left: 20px;
      position: relative;
    }

    .offer-details li::before {
      content: "•";
      position: absolute;
      left: 4px;
      font-weight: 700;
    }

    .offer-details .optionnel {
      margin-top: 12px;
      padding-left: 20px;
      font-style: italic;
      color: #5c6f87;
      position: relative;
    }

    .offer-details .optionnel::before {
      content: "◇";
      position: absolute;
      left: 0;
      color: #2a7a9c;
    }

    .offer-badge {
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .offer-subtitle-bold {
      font-weight: 700;
      color: #5c6f87;
      margin-top: 4px;
    }

    .offre-surtitre {
      font-family: 'Inter', sans-serif;
      font-size: 17px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .offre-titre {
      font-family: 'Inter', sans-serif;
      font-size: 30px;
      font-weight: 700;
      text-transform: uppercase;
      line-height: 1.1;
      margin: 0.5rem 0;
    }

    .offre-sous-titre {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.4;
      color: #6b7280;
      margin-top: 4px;
    }

    /* Modales */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
      z-index: 1000;
      overflow-y: auto;
      padding: 20px;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal-content {
      background: white;
      max-width: 900px;
      width: 100%;
      border-radius: 40px;
      padding: 32px;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
    }

    .close-modal {
      position: absolute;
      top: 20px;
      right: 24px;
      background: 0;
      border: none;
      font-size: 28px;
      cursor: pointer;
      color: #b84a58;
    }

    /* Formulaire */
    .form-group {
      margin-bottom: 20px;
      text-align: left;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #1a2634;
    }

    .form-group label .required {
      color: #b84a58;
      margin-left: 4px;
    }

    .form-group input,
    .form-group select {
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      border: 1px solid #ccc;
      font-family: inherit;
      font-size: 0.95rem;
    }

    .checkbox-group {
      margin-bottom: 12px;
    }

    .checkbox-group label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 400;
      cursor: pointer;
    }

    .checkbox-group input {
      width: auto;
      margin-right: 8px;
    }

    .availability-checkboxes input[type="checkbox"] {
      width: auto !important;
      padding: 0 !important;
      flex-shrink: 0;
      margin: 0;
    }

    .availability-checkboxes label {
      white-space: nowrap;
      overflow: visible;
    }

    .offer-checkboxes {
      background: #f9fbfd;
      padding: 16px;
      border-radius: 16px;
      margin-bottom: 20px;
      border: 1px solid #e2e8f0;
    }

    .offer-checkboxes h4 {
      margin-bottom: 12px;
      font-size: 1rem;
      color: #2a7a9c;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 32px 0 48px;
      border-top: 1px solid rgba(184, 74, 88, 0.2);
      font-size: 0.85rem;
      color: #4b6b7e;
      background: #f8fafc;
      margin-top: 80px;
    }

    /* Responsive Grid Class */
    .responsive-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

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

      /* Responsive Typography */
      .hero h1 {
        font-size: 1.8rem;
      }
      .hero p {
        font-size: 1rem;
      }
      .hero-accueil { padding: 48px 20px 44px; }
      .hero-accueil h1 { font-size: 2rem; }
      .hero-accueil-stat { gap: 28px; margin-top: 36px; padding-top: 24px; }
      .surtitre-accueil-text { font-size: 0.9rem; }
      .section-title {
        font-size: 1.5rem;
      }
      .card-header h3 {
        font-size: 1.4rem;
      }
      .offer-badge {
        font-size: 0.7rem;
      }

      /* Layout Adjustments */
      .offers-row {
        flex-direction: column;
      }
      .title-row {
        flex-direction: column;
        gap: 4px;
      }
      .cards-grid {
        grid-template-columns: 1fr;
      }

      /* Grid to Single Column */
      [style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
      }

      /* Padding Adjustments */
      .container {
        padding: 0 16px;
      }

      .hero {
        padding: 32px 0 24px;
      }

      /* Hero min-height */
      [style*="min-height: 550px"] {
        min-height: 400px !important;
      }

      /* Accordion and Forms */
      .accordion-header {
        padding: 16px 20px;
        font-size: 1rem;
      }

      .form-group {
        margin-bottom: 16px;
      }

      .modal-content {
        padding: 24px 16px;
        margin: 40px 16px;
      }

      /* Button adjustments */
      button {
        padding: 12px 20px;
        font-size: 0.95rem;
      }
    }

    /* Extra small screens (< 480px) */
    @media (max-width: 480px) {
      .hero h1 {
        font-size: 1.5rem;
      }
      .hero p {
        font-size: 0.9rem;
      }
      .section-title {
        font-size: 1.2rem;
      }
      .card-header h3 {
        font-size: 1.1rem;
      }
      .accordion-header {
        font-size: 0.9rem;
        padding: 12px 16px;
      }
      .container {
        padding: 0 12px;
      }
      [style*="padding: 40px 32px"] {
        padding: 24px 16px !important;
      }
      [style*="padding: 48px 32px"] {
        padding: 24px 16px !important;
      }
      button {
        padding: 10px 16px;
        font-size: 0.9rem;
      }
      [style*="min-height: 550px"] {
        min-height: 300px !important;
      }
      /* Hero image fixes for mobile : background-size: cover handles responsiveness */
      /* Retraite image position fix on mobile */
      [style*="Image1lj consulting retraite"] {
        background-position: center -30px !important;
      }
      /* Dirigeant TPE image fix on mobile */
      [style*="image offre dirigeant"] {
        background-size: 150% !important;
        background-position: center 0px !important;
      }

      /* Fix for availability days checkboxes on mobile */
      .availability-checkboxes {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
      }
      .availability-checkboxes label {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        margin-bottom: 0px !important;
        min-width: 0 !important;
        white-space: nowrap !important;
        overflow: visible !important;
      }

      /* Fix for date selection fields on mobile */
      .date-selectors {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: column !important;
        gap: 12px !important;
      }
      .date-selectors select {
        width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
      }
      /* Safari specific fix */
      @supports (-webkit-appearance: none) {
        .date-selectors {
          -webkit-flex-direction: column !important;
          flex-direction: column !important;
        }
        .date-selectors select {
          -webkit-appearance: none !important;
          appearance: none !important;
        }
      }
    }

    /* ===== RESPONSIVE DESIGN ===== */
    /* Tablettes et petits écrans (max 768px) */
    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }

      /* Header */
      .logo {
        font-size: 1.3rem;
      }

      .subhead {
        font-size: 0.8rem;
      }

      .header-tagline {
        font-size: 0.75rem;
        white-space: normal;
      }

      /* Typography */
      .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
      }

      .hero p {
        font-size: 1rem;
      }

      .section-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
      }

      .title-row h2 {
        font-size: 1.3rem;
      }

      /* Spacing */
      .offers-row {
        gap: 20px;
        margin: 32px 0 0 0;
      }

      .offre-card {
        padding: 24px 20px;
        min-width: unset;
      }

      /* Sections spacing */
      .faq-section {
        padding: 40px 0;
      }

      .cta-section {
        padding: 40px 20px;
      }

      .comparison-section {
        padding: 40px 0;
      }
    }

    /* Téléphones (max 480px) */
    @media (max-width: 480px) {
      .container {
        padding: 0 12px;
      }

      /* Header adaptations */
      .header .container {
        flex-wrap: wrap;
      }

      .logo {
        font-size: 1.1rem;
      }

      .subhead {
        font-size: 0.7rem;
      }

      .header-tagline {
        font-size: 0.65rem;
        white-space: normal;
        margin-top: 4px;
      }

      .header-back-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
      }

      /* Hero */
      .hero {
        padding: 2px 0 4px;
      }

      .hero h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
      }

      .hero p {
        font-size: 0.9rem;
      }

      .badge {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 12px;
      }

      /* Offers cards - stack vertically */
      .offers-row {
        flex-direction: column;
        gap: 16px;
        margin: 24px 0 0 0;
      }

      .offre-card {
        padding: 20px 16px;
      }

      .offre-card h3 {
        font-size: 1.1rem;
      }

      .offre-card p {
        font-size: 0.9rem;
      }

      /* Section titles */
      .section-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
      }

      .title-row h2 {
        font-size: 1.1rem;
      }

      .title-row p {
        font-size: 0.85rem;
      }

      /* Buttons */
      .btn-discover, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
      }

      /* Spacing reductions */
      .faq-section {
        padding: 32px 0;
      }

      .cta-section {
        padding: 32px 16px;
      }

      .comparison-section {
        padding: 32px 0;
      }

      .accordion-item {
        margin-bottom: 12px;
      }

      /* Forms */
      .form-section {
        padding: 24px 16px;
      }

      select, input, textarea {
        font-size: 16px;
      }

      .form-row {
        flex-direction: column;
        gap: 12px;
      }

      .form-group {
        width: 100% !important;
      }
    }

    /* ========== HERO style FAB Group (page Relais opérationnel uniquement) ========== */
    .hero-fab {
      position: relative;
      background: linear-gradient(135deg, #f5f7fc 0%, #eef2f7 100%);
      border-radius: 32px;
      padding: 64px 60px;
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      gap: 48px;
      align-items: center;
      min-height: 520px;
      margin-bottom: 56px;
    }
    .hero-fab .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero-fab .hero-surtitre {
      display: inline-block;
      background: white;
      color: #2A7A9C;
      font-size: 0.78rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 40px;
      margin-bottom: 22px;
      border: 1px solid rgba(184, 74, 88, 0.18);
    }
    .hero-fab .hero-title {
      font-size: 3.4rem;
      font-weight: 800;
      line-height: 1.05;
      color: #0a2a3b;
      letter-spacing: -0.025em;
      margin-bottom: 18px;
      background: none;
      -webkit-background-clip: initial;
      background-clip: initial;
    }
    .hero-fab .hero-title .accent {
      color: #B84A58;
      font-style: italic;
      font-weight: 800;
      position: relative;
      display: inline-block;
    }
    .hero-fab .hero-title .accent::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 4px;
      height: 6px;
      background: rgba(184, 74, 88, 0.18);
      border-radius: 6px;
      z-index: -1;
    }
    .hero-fab .hero-subtitle {
      font-size: 0.95rem;
      color: #2A7A9C;
      font-weight: 600;
      margin-bottom: 14px;
      letter-spacing: 0.02em;
    }
    .hero-fab .hero-tagline {
      font-size: 1.1rem;
      color: #2C3E4E;
      line-height: 1.55;
      margin-bottom: 36px;
      max-width: 480px;
    }
    .hero-fab .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      max-width: 640px;
    }
    .hero-fab .hero-cta-pill {
      display: inline-flex;
      align-items: stretch;
      background: var(--cta-color);
      color: white;
      text-decoration: none;
      border-radius: 999px;
      overflow: hidden;
      box-shadow: 0 6px 16px rgba(10, 42, 59, 0.14);
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      cursor: pointer;
    }
    .hero-fab .hero-cta-pill:hover {
      background: var(--cta-color-dark);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(10, 42, 59, 0.20);
    }
    .hero-fab .cta-text {
      padding: 14px 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      line-height: 1.2;
    }
    .hero-fab .cta-main {
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: 0.01em;
    }
    .hero-fab .cta-sub {
      font-size: 0.74rem;
      margin-top: 3px;
      opacity: 0.92;
      font-weight: 400;
    }
    .hero-fab .cta-icon {
      background: var(--cta-color-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 22px;
      min-width: 60px;
    }
    .hero-fab .cta-icon svg {
      width: 22px;
      height: 22px;
      display: block;
    }
    .hero-fab .hero-cta-pill:hover .cta-icon {
      background: var(--cta-color);
    }
    .hero-fab .cta-bordeaux {
      --cta-color: #B84A58;
      --cta-color-dark: #9A3A46;
    }
    .hero-fab .cta-bleu {
      --cta-color: #2A7A9C;
      --cta-color-dark: #1A5A7A;
    }
    .hero-fab .hero-image-wrap {
      position: relative;
      z-index: 2;
      height: 460px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-fab .hero-image-shape {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50% 22% 50% 22% / 38% 50% 38% 50%;
      overflow: hidden;
      object-fit: cover;
      object-position: center;
      box-shadow: 0 24px 48px rgba(10, 42, 59, 0.15);
      animation: morphHeroFab 14s ease-in-out infinite;
    }
    @keyframes morphHeroFab {
      0%, 100% { border-radius: 50% 22% 50% 22% / 38% 50% 38% 50%; }
      50%      { border-radius: 30% 50% 28% 50% / 50% 30% 50% 30%; }
    }
    @media (max-width: 980px) {
      .hero-fab {
        grid-template-columns: 1fr;
        padding: 40px 28px;
      }
      .hero-fab .hero-title { font-size: 2.4rem; }
      .hero-fab .hero-image-wrap {
        height: 320px;
        order: -1;
        margin-bottom: 8px;
      }
    }
    @media (max-width: 560px) {
      .hero-fab .hero-title { font-size: 2rem; }
      .hero-fab { padding: 32px 22px; border-radius: 24px; }
    }
  /* ========== GRILLE COMPARATIF FORMULES ========== */
  .offregrille-wrap { text-align: center; margin: 40px 0 48px; scroll-margin-top: 140px; }
  .offregrille-titre {
    font-size: 1.25rem; font-weight: 700; color: #0a2a3b;
    margin-bottom: 20px; text-align: center;
  }
  .offregrille {
    width: fit-content; max-width: 100%; margin: 0 auto;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(10,42,59,0.20);
    display: inline-grid;
    grid-template-columns: auto 140px 150px 162px;
  }
  .og-h-label {
    background: #2a6e88; padding: 24px 24px 20px;
    color: white; font-size: 0.9rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em;
    display: flex; align-items: flex-end;
  }
  .og-h-col {
    padding: 12px 8px 0; display: flex;
    flex-direction: column; align-items: stretch; justify-content: flex-end;
    background: #1e3d52;
  }
  .og-h-pill {
    width: 100%; border-radius: 12px 12px 0 0;
    padding: 16px 8px 14px; text-align: center;
    color: white; display: flex; flex-direction: column; gap: 8px;
    flex: 1; justify-content: flex-start;
  }
  .og-h-pill.cap    { background: #2a7a9c; }
  .og-h-pill.relais { background: #b84a58; }
  .og-h-pill.cle    { background: #7a5060; }
  .og-pill-name { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3; }
  .og-pill-desc { font-size: 0.67rem; font-weight: 400; opacity: 0.88; line-height: 1.3; }
  .og-d-label {
    background: #1e3d52; color: #cde3ef;
    padding: 12px 16px 12px 24px; font-size: 0.83rem; line-height: 1.5;
    display: flex; align-items: flex-start; gap: 9px;
    border-bottom: 1px solid #28506a; text-align: left;
  }
  .og-d-label .og-bullet { color: #5aaccf; font-size: 0.5rem; margin-top: 5px; flex-shrink: 0; }
  .og-d-label.og-sub { background: #1a3547; padding-left: 38px; font-size: 0.79rem; color: #a8c8d8; }
  .og-d-label.og-sub .og-bullet { color: #3a8aaa; font-size: 0.42rem; }
  .og-d-label.og-parent { font-weight: 600; color: #ddeef5; padding-bottom: 5px; border-bottom: none; }
  .og-d-label.og-alt { background: #182e3d; }
  .og-d-label.og-sub.og-alt { background: #152838; }
  .og-d-label.og-last { border-bottom: none; }
  .og-d-val {
    border-left: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    padding: 10px 6px;
  }
  .og-d-val.og-last { border-bottom: none; }
  .og-d-val.cap-col    { background: #2a7a9c; }
  .og-d-val.relais-col { background: #b84a58; }
  .og-d-val.cle-col    { background: #7a5060; }
  .og-d-val.cap-col.og-alt    { background: #236880; }
  .og-d-val.relais-col.og-alt { background: #9e3e4a; }
  .og-d-val.cle-col.og-alt    { background: #664050; }
  .og-ic { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: white; box-shadow: 0 1px 4px rgba(0,0,0,0.22); }
  .og-ic svg { display: block; }
  .og-freq { display: inline-block; font-size: 0.66rem; font-weight: 700; padding: 4px 8px; border-radius: 20px; line-height: 1.3; text-align: center; background: white; color: #1b5e20; box-shadow: 0 1px 4px rgba(0,0,0,0.22); }
  @media (max-width: 640px) {
    .offregrille { grid-template-columns: auto 90px 95px 100px; max-width: 100%; }
    .og-d-label { font-size: 0.75rem; padding-left: 14px; }
    .og-d-label.og-sub { padding-left: 26px; }
    .og-pill-name { font-size: 0.62rem; }
    .og-pill-desc { display: none; }
  }
  /* ================================================ */

  /* === Grille Retraite sérénité === */
  .rg-wrap { text-align: center; margin: 28px 0 8px; scroll-margin-top: 90px; }
  .rg {
    width: fit-content; max-width: 100%; margin: 0 auto;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(10,42,59,0.20);
    display: inline-grid;
    grid-template-columns: auto 138px 148px 148px;
  }
  .rg-h-label { background: #2a6e88; padding: 24px 24px 20px; color: white; font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: flex-end; }
  .rg-h-col { padding: 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: #1e3d52; }
  .rg-h-pill { width: 100%; border-radius: 12px 12px 0 0; padding: 16px 8px 14px; text-align: center; color: white; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; flex: 1; }
  .rg-h-pill.ess  { background: #2a7a9c; }
  .rg-h-pill.prem { background: #7a4a88; }
  .rg-h-pill.elit { background: #b84a58; }
  .rg-pill-name { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
  .rg-pill-desc { font-size: 0.67rem; font-weight: 400; opacity: 0.88; line-height: 1.3; }
  .rg-d-label {
    background: #1e3d52; color: #cde3ef;
    padding: 11px 16px 11px 24px; font-size: 0.8rem; line-height: 1.5;
    display: flex; align-items: flex-start; gap: 9px;
    border-bottom: 1px solid #28506a; text-align: left;
  }
  .rg-d-label .rg-bullet { color: #5aaccf; font-size: 0.5rem; margin-top: 5px; flex-shrink: 0; }
  .rg-d-label.rg-parent { font-weight: 700; color: #ffffff; background: #142d3e; border-bottom: none; font-size: 0.82rem; }
  .rg-d-label.rg-alt { background: #182e3d; }
  .rg-d-label.rg-last { border-bottom: none; }
  .rg-d-val {
    border-left: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    display: flex; align-items: center; justify-content: center;
    padding: 10px 8px;
  }
  .rg-d-val.rg-last { border-bottom: none; }
  .rg-d-val.ess-col  { background: #2a7a9c; }
  .rg-d-val.prem-col { background: #7a4a88; }
  .rg-d-val.elit-col { background: #b84a58; }
  .rg-d-val.ess-col.rg-alt  { background: #236880; }
  .rg-d-val.prem-col.rg-alt { background: #673a74; }
  .rg-d-val.elit-col.rg-alt { background: #9e3e4a; }
  .rg-d-val.rg-parent { background: #142d3e !important; border-bottom: none; }
  .rg-d-val.rg-summary { align-items: flex-start; padding: 12px 10px; }
  .rg-ic { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: white; box-shadow: 0 1px 4px rgba(0,0,0,0.22); }
  .rg-sum-text { color: white; font-size: 0.68rem; line-height: 1.8; text-align: left; list-style: none; padding: 0; margin: 0; }
  .rg-sum-text li::before { content: "✦ "; }
  @media (max-width: 640px) {
    .rg { grid-template-columns: auto 85px 88px 88px; }
    .rg-d-label { font-size: 0.72rem; padding-left: 14px; }
    .rg-pill-name { font-size: 0.62rem; }
    .rg-pill-desc { display: none; }
    .rg-ic { width: 22px; height: 22px; }
  }

  /* ========================================================
     VOTRE BESOIN — Relais opérationnel & Retraite maîtrisée
     ======================================================== */
  .besoin-title {
    font-size: 1.6rem; font-weight: 800; color: #0a2a3b;
    border-left: 5px solid #b84a58; padding-left: 18px;
    margin-bottom: 32px;
  }
  .intro-text { font-size: 0.95rem; line-height: 1.75; color: #2c3e4e; margin-bottom: 20px; }

  /* Cartes alerte (relais) */
  .alert-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 36px; }
  .alert-card { background: white; border-radius: 16px; padding: 20px 18px; border-top: 4px solid #b84a58; box-shadow: 0 2px 12px rgba(184,74,88,0.08); display: flex; gap: 14px; align-items: flex-start; }
  .alert-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff0f2; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .alert-card p { font-size: 0.95rem; line-height: 1.6; color: #2c3e4e; }

  /* Cartes profil (retraite) */
  .profile-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 32px; }
  .profile-card { background: #f9fbfd; border-radius: 16px; padding: 20px 18px; border-top: 4px solid #B84A58; box-shadow: 0 2px 12px rgba(184,74,88,0.08); display: flex; gap: 14px; align-items: flex-start; }
  .profile-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff0f2; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .profile-card p { font-size: 0.95rem; line-height: 1.6; color: #2c3e4e; }

  /* Séparateur */
  .sep { display: flex; align-items: center; gap: 14px; margin: 32px 0 36px; color: #0a2a3b; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
  .sep::before, .sep::after { content: ''; flex: 1; height: 1px; background: rgba(10,42,59,0.12); }

  /* Grille essentiel 2×2 (relais) */
  .essential-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
  .essential-card { background: white; border-radius: 16px; padding: 20px 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 2px 10px rgba(10,42,59,0.06); border-left: 4px solid transparent; }
  .essential-card:nth-child(1) { border-left-color: #2a7a9c; }
  .essential-card:nth-child(2) { border-left-color: #5a8a6c; }
  .essential-card:nth-child(3) { border-left-color: #7a5090; }
  .essential-card:nth-child(4) { border-left-color: #b84a58; }
  .ess-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ess-icon.blue   { background: #e8f3f9; }
  .ess-icon.green  { background: #e8f5ee; }
  .ess-icon.purple { background: #f0eaf7; }
  .ess-icon.red    { background: #fdf0f2; }
  .ess-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .ess-label.blue   { color: #2a7a9c; }
  .ess-label.green  { color: #5a8a6c; }
  .ess-label.purple { color: #7a5090; }
  .ess-label.red    { color: #b84a58; }
  .ess-text { font-size: 0.95rem; line-height: 1.55; color: #4a5e6e; }

  /* Bloc efficacité (relais) */
  .efficacy-block { background: linear-gradient(135deg, #0a2a3b 0%, #1e3d52 100%); border-radius: 20px; padding: 28px 24px; margin-bottom: 28px; }
  .efficacy-title { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
  .efficacy-sub { color: #a8c8d8; font-size: 0.95rem; margin-bottom: 22px; line-height: 1.5; }
  .efficacy-pills { display: flex; flex-wrap: wrap; gap: 12px; }
  .efficacy-pill { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 14px 18px; flex: 1; min-width: 180px; }
  .pill-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
  .pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
  .pill-name { color: white; font-size: 0.95rem; font-weight: 700; }
  .pill-desc { color: #a8c8d8; font-size: 0.95rem; line-height: 1.5; }

  /* Cartes objectifs (retraite) */
  .objective-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 28px; }
  .obj-card { background: #f9fbfd; border-radius: 16px; padding: 20px 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 2px 10px rgba(10,42,59,0.06); }
  .obj-card.blue   { border-left: 4px solid #2a7a9c; }
  .obj-card.purple { border-left: 4px solid #7a4a88; }
  .obj-card.red    { border-left: 4px solid #B84A58; }
  .obj-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .obj-icon.blue   { background: #e8f3f9; }
  .obj-icon.purple { background: #f0eaf7; }
  .obj-icon.red    { background: #fdf0f2; }
  .obj-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .obj-card.blue   .obj-label { color: #2a7a9c; }
  .obj-card.purple .obj-label { color: #7a4a88; }
  .obj-card.red    .obj-label { color: #B84A58; }
  .obj-text { font-size: 0.95rem; line-height: 1.55; color: #4a5e6e; }

  /* Clôture */
  .closing { background: linear-gradient(135deg, #fdf0f2 0%, #fff5f6 100%); border-radius: 16px; padding: 20px 24px; border-left: 4px solid #b84a58; font-size: 0.95rem; font-weight: 600; color: #6B2A3A; font-style: italic; line-height: 1.7; }

  /* ── Frise de progression horizontale — "Votre priorité" ── */
  .essential-timeline {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: relative; margin-bottom: 36px; padding-top: 4px;
  }
  .essential-timeline.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .essential-timeline::before {
    content: ''; position: absolute;
    top: 26px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0;
    background: linear-gradient(to right, #2a7a9c, #5a8a6c, #7a5090, #b84a58);
  }
  .essential-timeline.cols-3::before  { left: 16.67%; right: 16.67%; }
  .essential-timeline.gradient-bgpr::before { background: linear-gradient(to right, #2a7a9c, #7a5090, #b84a58); }
  .essential-timeline.gradient-rbp::before  { background: linear-gradient(to right, #b84a58, #2a7a9c, #7a5090); }
  .ess-tl-item {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 0 10px; position: relative; z-index: 1;
  }
  .ess-tl-ring {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; box-shadow: 0 0 0 6px white;
  }
  .ess-tl-ring.on-tinted { box-shadow: 0 0 0 6px #f9fbfd; }
  .ess-tl-ring.blue   { background: #e8f3f9; border: 2.5px solid #2a7a9c; }
  .ess-tl-ring.green  { background: #e8f5ee; border: 2.5px solid #5a8a6c; }
  .ess-tl-ring.purple { background: #f0eaf7; border: 2.5px solid #7a5090; }
  .ess-tl-ring.red    { background: #fdf0f2; border: 2.5px solid #b84a58; }
  .ess-tl-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
  .ess-tl-label.blue   { color: #2a7a9c; }
  .ess-tl-label.green  { color: #5a8a6c; }
  .ess-tl-label.purple { color: #7a5090; }
  .ess-tl-label.red    { color: #b84a58; }
  .ess-tl-text { font-size: 0.95rem; line-height: 1.55; color: #4a5e6e; }

  /* Grille retraite — scroll-margin pour le bouton */
  #rg-formules-section { scroll-margin-top: 80px; }

  @media (max-width: 560px) {
    .essential-grid { grid-template-columns: 1fr; }
    .objective-cards { grid-template-columns: 1fr; }
    .essential-timeline { grid-template-columns: 1fr 1fr; gap: 20px 0; }
    .essential-timeline.cols-3 { grid-template-columns: 1fr; }
    .essential-timeline::before, .essential-timeline.cols-3::before { display: none; }
    .ess-tl-ring { box-shadow: none !important; }
    .efficacy-pills { flex-direction: column; }
  }

  /* =====================================================
     CORRECTIFS RESPONSIVE GLOBAUX
     ===================================================== */

  /* CRITIQUE 1 — Grilles comparatives : scroll horizontal activé
     + textes des labels autorisés à wrapper                      */
  @media (max-width: 640px) {
    .offregrille-wrap,
    .rg-wrap,
    .ef-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .og-d-label,
    .rg-d-label { overflow-wrap: break-word; word-break: break-word; }
  }

  /* CRITIQUE 1 (suite) — colonnes réduites davantage à 480px */
  @media (max-width: 480px) {
    .offregrille { grid-template-columns: auto 68px 70px 72px; }
    .rg          { grid-template-columns: auto 65px 68px 68px; }
  }

  /* CRITIQUE 2 — Blocs inline padding: 40px 36px non couverts */
  @media (max-width: 480px) {
    [style*="padding: 40px 36px"] { padding: 24px 16px !important; }
  }

  /* CRITIQUE 3 — hero-fab : image et min-height entre 560-980px */
  @media (max-width: 560px) {
    .hero-fab { min-height: 0; }
    .hero-fab .hero-image-wrap { height: 200px !important; }
  }

  /* MINEUR 4 — white-space: nowrap sur textes CTA longs */
  @media (max-width: 480px) {
    [style*="white-space: nowrap"] { white-space: normal !important; }
  }

  /* MINEUR 5 — border-radius: 48px disproportionné sur mobile */
  @media (max-width: 480px) {
    .values    { border-radius: 24px; }
    .cta-section { border-radius: 24px; }
  }

  /* MINEUR 6 — border-radius: 40px modal non réduit */
  @media (max-width: 480px) {
    .modal-content { border-radius: 20px; }
  }

  /* MINEUR 7 — .hero-fab min-height: 520px sans media query
     (déjà couvert par le bloc CRITIQUE 3 ci-dessus)             */

  /* MINEUR 8 — .offre-titre / .offre-surtitre sans media query */
  @media (max-width: 480px) {
    .offre-titre    { font-size: 22px; }
    .offre-surtitre { font-size: 14px; }
  }

  /* BONUS — hero-accueil h1 : affinage entre 480px et 780px */
  @media (max-width: 480px) {
    .hero-accueil h1 { font-size: 1.65rem; }
    .hero-accueil-stat-num { font-size: 1.4rem; }
  }

  /* =====================================================
     FORMATS D'ACCOMPAGNEMENT — Écoute stratégique
     ===================================================== */
  .ef-title { font-size: 1.6rem; color: #0a2a3b; margin-bottom: 8px; text-align: center; }
  .ef-sub   { color: #2c3e4e; margin-bottom: 28px; text-align: center; font-size: 0.95rem; }
  .ef-outer {
    background: #1e3d52;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 12px 40px rgba(10,42,59,0.22);
    max-width: 700px;
    margin: 0 auto;
  }
  .ef-grid  {
    display: grid; grid-template-columns: 1fr 1fr;
    border-radius: 12px; overflow: hidden;
  }
  /* Séparateur vertical entre colonnes */
  .ef-grid > *:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.12); }
  .ef-header { background: #1e3d52; padding: 12px 8px 0; }
  .ef-pill { border-radius: 12px 12px 0 0; padding: 16px 14px 14px; color: white; display: flex; flex-direction: column; gap: 6px; justify-content: flex-start; }
  .ef-pill.unite   { background: #2a7a9c; }
  .ef-pill.forfait { background: #b84a58; }
  .ef-pill-type { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.82; }
  .ef-pill-name { font-size: 0.9rem; font-weight: 800; line-height: 1.25; }
  /* Colonnes colorées */
  .ef-col-unite   { background: #2a7a9c; }
  .ef-col-forfait { background: #b84a58; }
  .ef-col-unite.ef-alt   { background: #236880; }
  .ef-col-forfait.ef-alt { background: #9e3e4a; }
  .ef-desc-cell {
    padding: 16px 16px 18px;
    font-size: 0.88rem; color: rgba(255,255,255,0.88); line-height: 1.6; font-style: italic;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .ef-bullet-cell {
    padding: 10px 16px;
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 0.88rem; color: white; line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ef-bullet-cell.ef-last { border-bottom: none; }
  .ef-bullet-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; background: white; opacity: 0.75; }
  @media (max-width: 480px) {
    .ef-outer { padding: 12px; border-radius: 18px; }
    .ef-grid { grid-template-columns: 1fr; border-radius: 8px; }
    .ef-grid > *:nth-child(even) { border-left: none; border-top: 1px solid rgba(10,42,59,0.08); }
  }


/* Cartes cliquables sur la page d'accueil
   display: contents fait disparaître le <a> du flow visuel,
   pour que la grille flex parente continue de positionner les .card */
.card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}
.card-link:focus-visible .card {
  outline: 3px solid #B84A58;
  outline-offset: 4px;
}
.card-link .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -10px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Adaptation .hero-image-shape pour balises <img> */
img.hero-image-shape {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   CORRECTIFS RESPONSIVE (réparation débordements horizontaux)
   ============================================================ */

/* Filet de sécurité global : aucun débordement horizontal possible */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Toute image doit rester dans son conteneur */
img, video, svg {
  max-width: 100%;
  height: auto;
}

/* Hero CTAs : autoriser le retour à la ligne fluide */
.hero-fab .hero-cta-pill {
  max-width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.hero-fab .hero-ctas {
  flex-wrap: wrap;
  max-width: 100%;
}

/* Sous-titres et taglines : retour à la ligne autorisé */
.hero-fab .hero-subtitle,
.hero-fab .hero-tagline,
.hero-surtitre {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* Titres H1 hero : retour à la ligne propre */
.hero-fab .hero-title {
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

/* Conteneur principal : ne jamais déborder */
.container,
main,
section,
.hero-fab,
.cards-grid {
  max-width: 100%;
  box-sizing: border-box;
}

/* Header : adaptation tablette (entre 481 et 760px) */
@media (max-width: 760px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
  }
  .header-left,
  .header-right {
    width: 100%;
    box-sizing: border-box;
  }
  .header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .header-back-btn {
    align-self: flex-start;
    white-space: nowrap;
    max-width: 100%;
  }
  .header-tagline {
    font-size: 0.85rem;
  }
}

/* Hero fab : adaptation tablette (entre 481 et 980px) */
@media (max-width: 980px) {
  .hero-fab {
    padding: 36px 20px;
  }
  .hero-fab .hero-image-wrap {
    width: 100%;
    max-width: 100%;
    height: 340px;
    order: -1;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
  }
  img.hero-image-shape {
    width: 100%;
    height: 100%;
  }
}

/* Hero CTAs : layout vertical en tablette/mobile */
@media (max-width: 720px) {
  .hero-fab .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-fab .hero-cta-pill {
    width: 100%;
    justify-content: space-between;
  }
}

/* Cartes d'accueil : 1 colonne forcée sur très petit mobile */
@media (max-width: 380px) {
  .card {
    min-width: 100%;
  }
}

/* ============================================================
   CORRECTIFS RESPONSIVE V2 (issus du diagnostic des captures)
   ============================================================ */

/* ----- Bug B & C : tableaux .offregrille (dirigeant) et .rg (retraite) ----- */
/* Permettre le scroll horizontal interne pour ces tableaux,
   même si le body a overflow-x: hidden */
.offregrille-wrap,
.rg-wrap,
#rg-retraite-section {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  scrollbar-width: thin;
}

/* En mobile/tablette : forcer largeur fixe en pixels sur les tableaux pour garantir
   le scroll horizontal interne, et désactiver le centrage qui empêche de voir les colonnes */
@media (max-width: 720px) {
  .offregrille-wrap,
  .rg-wrap,
  #rg-retraite-section {
    text-align: left !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 0 4px;
  }
  .offregrille {
    display: grid !important;
    width: 760px !important;
    max-width: none !important;
    min-width: 760px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-template-columns: minmax(180px, auto) 150px 170px 180px !important;
  }
  .rg {
    display: grid !important;
    width: 720px !important;
    max-width: none !important;
    min-width: 720px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-template-columns: minmax(180px, auto) 150px 150px 150px !important;
  }
  /* Restaurer la visibilité du descriptif des pills (caché par règle 640px) */
  .og-pill-desc,
  .rg-pill-desc {
    display: block !important;
  }
  /* Indicateur visuel "swipez pour voir plus" sous les tableaux */
  .offregrille-wrap::after,
  .rg-wrap::after {
    content: "← Faites glisser pour voir toutes les colonnes →";
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #2A6E88;
    font-style: italic;
    margin-top: 8px;
    padding: 8px;
    opacity: 0.7;
  }
}

/* ----- Bug D : Tableau écoute (.ef-grid) ne doit empiler qu'en très petit mobile ----- */
/* Annuler le passage 1 colonne à ≤480px et le décaler à ≤420px seulement */
@media (max-width: 480px) and (min-width: 421px) {
  .ef-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .ef-grid > *:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.12) !important;
    border-top: none !important;
  }
}

/* ----- Bug E : Boutons CTA pill (texte trop long qui déborde) ----- */
/* Permettre au texte du CTA pill de rétrécir et de wrapper */
.hero-fab .hero-cta-pill {
  min-width: 0;
  max-width: 100%;
}
.hero-fab .cta-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-fab .cta-main,
.hero-fab .cta-sub {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Pour les CTAs très étroits, réduire un peu la taille du texte */
@media (max-width: 420px) {
  .hero-fab .cta-text {
    padding: 12px 16px;
  }
  .hero-fab .cta-main {
    font-size: 0.92rem;
    line-height: 1.25;
  }
  .hero-fab .cta-sub {
    font-size: 0.7rem;
  }
  .hero-fab .cta-icon {
    min-width: 50px;
    padding: 0 14px;
  }
}

/* ----- Bug F : Grilles 2 colonnes "Votre besoin", "Notre accompagnement" ----- */
/* Force ces grilles à passer en 1 colonne sur mobile/petite tablette */
@media (max-width: 720px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  .responsive-grid {
    grid-template-columns: 1fr !important;
  }
  /* Force aussi .profile-cards à passer en 1 colonne en mobile,
     même si un style inline tente de forcer 2 colonnes */
  .profile-cards {
    grid-template-columns: 1fr !important;
  }
}

/* ----- Affiner aussi la cohérence de l'image hero centrée en mode empilé ----- */
@media (max-width: 980px) {
  .hero-fab .hero-image-wrap {
    /* L'image vient AU-DESSUS du texte (order: -1 déjà défini ailleurs) */
    /* On centre l'image dans son wrap */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  img.hero-image-shape {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
}

/* ============================================================
   HERO SPLIT-SCREEN AVEC COURBE SVG CLIP-PATH (mai 2026)
   ============================================================
   Nouveau hero pour les pages dirigeant.html et retraite.html
   - Photo en arrière-plan plein cadre
   - Bloc texte crème à gauche avec découpe en courbe concave (SVG #curve-original)
   - Sommet à 55%, base à 40% (variante A originale)
   - Responsive : sur mobile, layout vertical classique (image au-dessus du texte)
   - L'ancien .hero-fab reste disponible (utilisé par ecoute.html)
   ============================================================ */

.hero-split {
  position: relative;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 32px;
  background: #2A7A9C;
  box-shadow: 0 12px 32px rgba(10, 42, 59, 0.12);
}
.hero-split .hero-image-bg {
  position: absolute;
  inset: 0;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-split .hero-text-clip {
  position: relative;
  z-index: 2;
  background: #f5f7fc;
  min-height: 520px;
  width: 100%;
  padding: 56px 32px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: url(#curve-original);
}
.hero-split .text-inner {
  max-width: 40%;
}

/* === TEXTES (repris à l'identique des styles .hero-fab existants) === */
.hero-split .hero-surtitre {
  display: inline-block;
  background: white;
  color: #2A7A9C;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 22px;
  border: 1px solid rgba(184, 74, 88, 0.18);
}
.hero-split .hero-title {
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1.05;
  color: #0a2a3b;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.hero-split .hero-title .accent {
  color: #B84A58;
  font-style: italic;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.hero-split .hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  background: rgba(184, 74, 88, 0.18);
  border-radius: 6px;
  z-index: -1;
}
.hero-split .hero-subtitle {
  font-size: 0.95rem;
  color: #2A7A9C;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hero-split .hero-tagline {
  font-size: 1.05rem;
  color: #2C3E4E;
  line-height: 1.55;
  margin-bottom: 28px;
}

/* === BOUTONS CTA (repris à l'identique du .hero-fab) === */
.hero-split .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-split .hero-cta-pill {
  display: inline-flex;
  align-items: stretch;
  background: var(--cta-color);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(10, 42, 59, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.hero-split .hero-cta-pill:hover {
  background: var(--cta-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 42, 59, 0.20);
}
.hero-split .cta-text {
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.hero-split .cta-main {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.hero-split .cta-sub {
  font-size: 0.74rem;
  margin-top: 3px;
  opacity: 0.92;
  font-weight: 400;
}
.hero-split .cta-icon {
  background: var(--cta-color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  min-width: 60px;
}
.hero-split .cta-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.hero-split .hero-cta-pill:hover .cta-icon {
  background: var(--cta-color);
}
.hero-split .cta-bordeaux {
  --cta-color: #B84A58;
  --cta-color-dark: #9A3A46;
}
.hero-split .cta-bleu {
  --cta-color: #2A7A9C;
  --cta-color-dark: #1A5A7A;
}

/* === RESPONSIVE MOBILE (≤768px) === */
@media (max-width: 768px) {
  .hero-split {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero-split .hero-image-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    order: 1;
  }
  .hero-split .hero-text-clip {
    clip-path: none !important;
    position: relative;
    z-index: auto;
    min-height: auto;
    width: 100%;
    padding: 40px 24px;
    order: 2;
  }
  .hero-split .text-inner {
    max-width: 100%;
  }
  .hero-split .hero-title { font-size: 2rem; }
  .hero-split .hero-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hero-split .hero-cta-pill { width: 100%; }
}

/* === RESPONSIVE TABLETTE (≤1024px) === */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-split .text-inner {
    max-width: 50%;
  }
  .hero-split .hero-title { font-size: 2.4rem; }
}

/* ============================================================
   HERO ACCUEIL — Option 4 : carte blanche flottante sur photo (mai 2026)
   ============================================================
   Réécriture des règles .hero-accueil et enfants pour adopter
   le style "carte blanche flottante à gauche sur photo de fond".
   - Photo : images/lj-consulting-accueil-hero.webp
   - Carte avec ombre portée et bordure bordeaux gauche
   - Textes en couleurs foncées (lisibles sur fond blanc)
   Les anciennes règles plus haut dans le fichier restent présentes
   mais sont écrasées par celles-ci (cascade CSS).
   ============================================================ */

.hero-accueil {
  background: linear-gradient(135deg, rgba(10, 42, 59, 0.05) 0%, rgba(10, 42, 59, 0.15) 100%),
              url('images/lj-consulting-accueil-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  min-height: 580px;
  display: flex;
  align-items: center;
  border-radius: 16px;
  margin: 16px 24px 32px;
  max-width: calc(1280px - 48px);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  text-align: left;
}

/* Désactivation du ::before teal/bordeaux de l'ancien hero */
.hero-accueil::before {
  content: none;
}

.hero-accueil-inner {
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 480px;
  margin: 0;
  box-shadow: 0 16px 48px rgba(10, 42, 59, 0.25);
  border-left: 4px solid #B84A58;
  position: relative;
  z-index: 2;
}

/* Surtitre : pastille teal sur fond clair */
.hero-accueil .surtitre-accueil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 110, 136, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-accueil .surtitre-accueil::before,
.hero-accueil .surtitre-accueil::after {
  content: none;
}
.hero-accueil .surtitre-accueil-text {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2A6E88;
}
.hero-accueil .surtitre-accueil-text .vbar {
  display: inline-block;
  width: 1px;
  height: 0.8em;
  background: #B84A58;
  margin: 0 8px;
  vertical-align: middle;
}

/* Titre principal */
.hero-accueil h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0a2a3b;
  margin-bottom: 12px;
}
.hero-accueil h1 .accent-word {
  color: #B84A58;
  font-style: italic;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.hero-accueil h1 .accent-word::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  background: rgba(184, 74, 88, 0.18);
  border-radius: 6px;
  z-index: -1;
}

/* Sous-titre */
.hero-accueil-sub {
  font-size: 0.95rem;
  color: #2c3e4e;
  line-height: 1.55;
  font-style: normal;
  margin: 0 0 20px;
  max-width: 100%;
}

/* Stats : alignées à gauche, couleurs adaptées au fond clair */
.hero-accueil-stat {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 110, 136, 0.15);
}
.hero-accueil-stat-item {
  text-align: left;
}
.hero-accueil-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #B84A58;
  letter-spacing: -0.02em;
}
.hero-accueil-stat-label {
  font-size: 0.68rem;
  color: #2A6E88;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
  font-weight: 600;
}

/* === RESPONSIVE MOBILE (≤768px) === */
@media (max-width: 768px) {
  .hero-accueil {
    padding: 20px;
    min-height: 480px;
    background-position: right center;
    margin: 12px 12px 24px;
    align-items: flex-end;
  }
  .hero-accueil-inner {
    padding: 24px 20px;
    max-width: 100%;
  }
  .hero-accueil h1 {
    font-size: 1.6rem;
  }
  .hero-accueil-sub {
    font-size: 0.88rem;
  }
  .hero-accueil-stat {
    gap: 18px;
  }
  .hero-accueil-stat-num {
    font-size: 1.4rem;
  }
}
