/* Extensions ciblées : intégration Diagnostic Carte de séjour / Préfecture. */
/* Le fichier style.css existant reste inchangé. */
.header-inner .main-nav { gap: 12px; }
.header-inner .nav-link { font-size: .9rem; white-space: nowrap; }
.header-inner .nav-cta { padding: 10px 14px; font-size: .9rem; white-space: nowrap; }
.header-inner .brand-text strong { white-space: nowrap; }
.cs-page h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.cs-page section[id], #diagnostic-carte-sejour { scroll-margin-top: 100px; }
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; align-items: start; }
.cs-hero { padding: 64px 0; }
.cs-independent { border-left: 4px solid var(--blue); padding-left: 16px; }
.cs-price-card { padding: 28px; border-top: 5px solid var(--blue); }
.cs-price-card .btn { width: 100%; }
.cs-price-card .badge { display: inline-flex; white-space: normal; line-height: 1.45; padding: 8px 12px; border-radius: 12px; }
.cs-price { font: 800 clamp(2.8rem, 5vw, 4.3rem)/1.1 Poppins, system-ui, sans-serif; color: var(--blue-dark); margin: 18px 0; }
.cs-small { display: block; font-size: .92rem; line-height: 1.6; color: #475569; }
.cs-text-link { display: inline-block; text-decoration: underline; color: var(--blue-dark); font-weight: 700; }
.cs-page .cs-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #EAF3FF; color: var(--blue-dark); font-weight: 800; margin-bottom: 18px; }
.cs-checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.cs-checklist li { border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; background: var(--light); }
.cs-framework h2 { font-size: 1.6rem; }
.cs-framework p { color: var(--blue-dark); }
.cs-sensitive p { margin: 8px 0 16px; }
.cs-data-notice { margin-top: 24px; }
.cs-data-notice h3 { margin-bottom: 8px; }
.cs-data-notice p { margin-bottom: 0; }
.cs-faq summary { cursor: pointer; font-weight: 800; color: var(--blue-dark); }
.cs-faq details p { margin-bottom: 0; }
.cs-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cs-promotion { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; }
.cs-promotion-price { text-align: center; }
.cs-promotion-price .btn { width: 100%; }
.cs-service-card { border-top: 5px solid var(--blue); }
.cs-compact-list { padding-left: 20px; }
.cs-price-row td { background: #F1F7FF; }
.cs-price-row td:first-child { max-width: 540px; }
.cs-price-row td:nth-child(2) { white-space: nowrap; }
.cs-price-row td:last-child .btn { margin: 4px 0; }
.cs-tariff-note { padding: 16px 18px; background: #EFF6FF; border-left: 4px solid var(--blue); border-radius: 12px; }
.cs-page a:focus-visible, .cs-page summary:focus-visible, .cs-page button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
/* Permet au menu enrichi de rester lisible sur les écrans intermédiaires. */
@media (max-width: 1200px) {
  .header-inner .menu-toggle { display: block; }
  .header-inner .main-nav { display: none; position: absolute; left: 4%; right: 4%; top: 78px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; max-height: calc(100dvh - 160px); overflow-y: auto; }
  .header-inner .main-nav.open { display: flex; }
  .header-inner .nav-link, .header-inner .nav-cta { padding: 10px; }
}
@media (max-width: 920px) {
  .cs-hero-grid, .cs-promotion { grid-template-columns: 1fr; }
  .cs-price-card { max-width: 550px; }
}
@media (max-width: 640px) {
  .cs-hero { padding: 40px 0; }
  .cs-page .hero-actions .btn, .cs-cta-buttons .btn { width: 100%; }
  .cs-cta-buttons { width: 100%; }
  .cs-price-row td:last-child { display: table-cell; }
  .cs-price-row td:first-child { overflow-wrap: anywhere; }
  .cs-price-row td { padding: 10px 8px; }
  .cs-price-row td:last-child .btn { font-size: .82rem; padding: 10px 8px; width: 100%; }
}
