/* polish-2 (25/10/2026) : lisibilité, grilles, mobile. Produit par scripts/release-patches/2026-10-25-site-polish.py. */
/* ---- Plancher de 13 px (règles lues dans les feuilles du site) */
.ai-flow-step span,
.ai-hero figure figcaption,
.ai-role-number,
.as-of,
.balance-note,
.balance-parts div,
.brand small,
.brand-agency,
.consent,
.cookie,
.cookie .cookie-actions .button,
.cs-clara-voice-notice,
.cta-trial-note,
.currency-rate-note,
.demo-saved,
.eyebrow,
.family-grid p,
.feature-matrix .matrix-group th,
.feature-matrix thead a,
.flow-art li:before,
.footer-bottom,
.footer-title,
.header-actions .cta-trial-note,
.hero-photo figcaption,
.home-story-copy .home-story-kicker,
.home-story-disclosure,
.home-story-links a,
.hub-art figcaption,
.immersive-landing .hero-photo figcaption,
.journey li:before,
.language-switch,
.legal-id,
.locale-switch button,
.matrix-cta .button,
.matrix-cta th small,
.matrix-price small,
.matrix-status,
.offer-clarity-states span,
.offer-clarity-visual figcaption,
.package-table .button,
.package-table small,
.package-table th>a,
.package-table thead th,
.plan-level,
.plan-readiness strong,
.plan-readiness ul,
.process .card:before,
.state-badge,
.summary span,
.trial-assurance,
.utility,
.value-strip,
.voice-offer-footnote,
.voice-offer-status,
[data-page="home"] .hub-art figcaption,
[data-page="home"] .journey li:before,
footer,
th{font-size:13px}
@media (max-width:760px){
.feature-matrix.matrix-two{font-size:13px}
}
@media(max-width:380px){
.currency-toggle button{font-size:13px}
}
@media(max-width:420px){
.feature-matrix tbody th[scope="row"]{font-size:13px}
}
@media(max-width:480px){
.trial-reassurance span{font-size:13px}
}
@media(max-width:520px){
.hub-art figcaption,
.utility .container{font-size:13px}
}
@media(max-width:640px){
.home-story-disclosure{font-size:13px}
}
@media(max-width:760px){
.currency-toggle button{font-size:13px}
}
@media(max-width:800px){
.value-strip .container{font-size:13px}
}
@media(max-width:850px){
.package-table td:before{font-size:13px}
}

/* ---- Notes pâles de l'accueil : la règle prévue pour la section sombre des forfaits touchait aussi les sections claires */
[data-page="home"] #connected-capabilities .pricing-note,
[data-page="home"] #service-scope .pricing-note,
[data-page="home"] #platform-answers .pricing-note{color:#496171}

/* ---- Grilles : plus de carte orpheline */
.sector-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.benefit-grid:has(> :nth-child(10):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
.benefit-grid:has(> :nth-child(7):last-child),.benefit-grid:has(> :nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}

/* ---- Rythme vertical : un peu moins d'air perdu sur les grands écrans */
.plan-selector{padding-bottom:64px}
.offer-clarity{padding-block:56px}
.home-story{padding-block:52px 48px}

/* ---- Mobile */
@media (max-width:760px){
  main{overflow-x:clip}
  /* bandeau de cookies : moins de hauteur, mêmes choix (refuser reste en pleine largeur) */
  .cookie{padding:12px !important;gap:8px !important}
  .cookie p{font-size:13px;line-height:1.4;margin:0}
  .cookie .cookie-actions{grid-template-columns:1fr 1fr !important;gap:8px !important}
  .cookie .cookie-actions [data-cookie-reject-analytics]{grid-column:1 / -1 !important}
  .cookie .cookie-actions .button{min-height:40px !important;padding:8px 10px !important;font-size:13px !important}
  /* piles de cartes : défilement horizontal calé plutôt que 3 000 px d'empilement */
  .plan-preview-grid,.plan-grid,.module-option-grid{
    display:flex !important;grid-template-columns:none !important;overflow-x:auto;gap:14px;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    margin-inline:-20px;padding:2px 20px 16px;scrollbar-width:thin}
  .plan-preview-grid>*,.plan-grid>*,.module-option-grid>*{flex:0 0 84%;max-width:84%;scroll-snap-align:center}
  /* marges verticales resserrées */
  .band,.commercial-section,.feature-matrix-section,.offer-clarity,.package-section,.home-story{padding-block:34px !important}
  .plan-selector{padding-block:36px 40px !important}
  .section-head{margin-bottom:18px}
  .card,.plan-preview{padding:18px}
  /* cibles tactiles de 44 px */
  .footer-links a,.footer-grid a,.utility a,.language-switch{display:inline-flex;align-items:center;min-height:44px}
  .footer-links{gap:0}
  .text-link{padding-block:12px}
  summary{padding-block:12px}
  .button{min-height:44px}
}
