/* Asolys — socle commun : polices locales, couleurs, typographie, boutons, animations.
   Les styles propres à chaque page sont dans assets/css/pages/, les blocs partagés dans components.css. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/outfit-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/outfit-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/outfit-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/outfit-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/outfit-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/outfit-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/sora-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/sora-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/sora-latin-800-normal.woff2') format('woff2'); }

:root {
    --c-yellow: #FFD166; --c-green: #06D6A0; --c-blue: #118AB2; --c-purple: #9D4EDD; --c-orange: #FF9F1C; --c-rose: #EF476F;
    --bg-body: #FFFFFF; --bg-soft: #FAFAFA; --text-main: #2D3436; --text-light: #636E72;
    --radius-md: 12px; --radius-xl: 24px; --shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --nav-height: 76px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
body { font-family: 'Outfit', system-ui, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Sora', 'Outfit', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img, video, svg { max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
.lucide { flex-shrink: 0; vertical-align: middle; }

/* --- Utilitaires --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-gradient { background: linear-gradient(45deg, var(--c-blue), var(--c-purple), var(--c-rose)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--text-main); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid rgba(17, 138, 178, 0.55); outline-offset: 3px; }

/* --- Boutons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.3s, background 0.3s, color 0.3s; border: none; font-family: inherit; font-size: 1rem; line-height: 1.3; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(45deg, var(--c-blue), var(--c-purple)); color: white; box-shadow: 0 4px 15px rgba(17, 138, 178, 0.3); }
.btn-primary:hover { box-shadow: 0 8px 25px rgba(17, 138, 178, 0.4); }
.btn-outline { border: 2px solid var(--text-main); color: var(--text-main); background: transparent; }
.btn-outline:hover { background: var(--text-main); color: white; }
.btn-white { background: white; color: var(--c-purple); font-weight: 700; }
.btn-cta { background: white; color: var(--c-rose); font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--c-blue); font-weight: 600; }
.text-link:hover { color: var(--c-purple); gap: 0.65rem; }

/* --- Sections --- */
.section { padding: 5rem 0; position: relative; overflow: hidden; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; position: relative; z-index: 2; }
.section-more { text-align: center; margin-top: 2.5rem; position: relative; z-index: 2; }
.badge-section { background: var(--bg-soft); color: var(--c-blue); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 1rem; border: 1px solid rgba(0,0,0,0.05); letter-spacing: 0.02em; }
.site-main { display: block; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.no-js .reveal, .is-editor .reveal { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blob { 0% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; } 100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; } }
.section-blob { position: absolute; z-index: 1; opacity: 0.1; filter: blur(50px); animation: blob 15s infinite alternate; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 3.5rem 0; }
}

/* --- Fonds de section : « plein » (masque les formes d'arrière-plan) ou « fenêtre » (les laisse voir) --- */
.section-plain { background: #fff; }
.section-tinted { background: #fafbfe; }
.section-window { background: transparent !important; }
