/* Styles généraux et accessibilité */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; min-width: 320px; color: var(--color-ink); background: var(--color-paper); font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
img { display: block; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #ffdfc8; color: var(--color-navy); }
.skip-link { position: fixed; z-index: 5000; left: 14px; top: -100px; padding: 12px 18px; background: var(--color-paper); color: var(--color-navy); border-radius: 9px; box-shadow: var(--shadow-light); }
.skip-link:focus { top: 14px; }
.container { width: min(var(--container-max), calc(100% - 56px)); margin-inline: auto; }
/* Aperçu transitoire : supprimé au fur et à mesure du développement des pages */
.dev-preview { min-height: clamp(430px, 65vh, 720px); display: flex; align-items: center; padding: 72px 0 100px; background: radial-gradient(ellipse at 84% 20%, #e6f1f8 0%, transparent 39%), linear-gradient(160deg, #fff 0%, #f7fafd 100%); }
.dev-preview__inner { max-width: 820px; }
.dev-preview__eyebrow { margin: 0 0 18px; color: var(--color-blue); letter-spacing: 0.17em; text-transform: uppercase; font-size: .76rem; font-weight: 800; }
.dev-preview h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); color: var(--color-navy); line-height: 1.12; letter-spacing: -.04em; margin: 0 0 20px; }
.dev-preview p:not(.dev-preview__eyebrow) { max-width: 680px; color: var(--color-muted); font-size: clamp(1rem, 1.4vw, 1.17rem); margin: 0 0 25px; }
.dev-preview__line { width: 65px; height: 5px; border-radius: 6px; background: var(--color-accent); margin-bottom: 30px; }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Bloc 10 — prise en charge RTL pour l'arabe. */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .site-header__inner,
html[dir="rtl"] .site-header__actions,
html[dir="rtl"] .main-nav__list,
html[dir="rtl"] .home-hero__actions,
html[dir="rtl"] .contact-card__actions,
html[dir="rtl"] .expertise-hero__actions,
html[dir="rtl"] .institutional-cta__actions,
html[dir="rtl"] .product-order-box__actions { direction: rtl; }
html[dir="rtl"] .chevron { transform: scaleX(-1); }
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select { text-align: right; }

/* Bloc 16A : éviter le flash du contenu de secours SEO pendant le montage JS.
   Ce contenu reste visible quand JS est désactivé et réapparaît si le JS échoue. */
html.seo-booting [data-seo-fallback] { visibility: hidden; }
