/* ==========================================================================
   Cabinet COREFOV Consulting — site public
   Couleurs du logo : bleu du « C » (#2558c9 → #3e9ed8), violet de l’anneau (#714695 → #8a4fc0), marine du texte (#1c1a5e).
   Animations : apparition au défilement, compteurs, carrousels, défilements continus.
   Elles sont coupées si le visiteur a demandé « réduire les animations ».
   ========================================================================== */
:root {
    --blue: #2558c9;
    --blue-deep: #1c1a5e;
    --blue-soft: #e8f0fb;
    --ink: #14123f;
    --ink-2: #231b5e;
    --green: #714695;
    --green-mid: #8a4fc0;
    --leaf: #3e9ed8;
    --leaf-soft: #f1eaf7;
    --paper: #f6f5fb;
    --white: #fff;
    --line: #e3e0ee;
    --text: #24223f;
    --muted: #5f5d7a;
    --star: #f4b71e;
    --grad: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 45%, var(--green) 100%);
    --grad-green: linear-gradient(120deg, var(--green) 0%, var(--leaf) 100%);
    --radius: 14px;
    --shadow: 0 18px 40px -22px rgba(20, 18, 63, .35);
    --shadow-lg: 0 30px 60px -28px rgba(20, 18, 63, .45);
    --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
    --wrap: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--leaf); color: var(--ink); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--leaf); color: var(--ink); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- barre de progression de lecture ----- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: var(--grad-green); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ----- boutons ----- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 700 .98rem var(--font-body); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(37, 88, 201, .8); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(113, 70, 149, .8); }
.btn-green:hover { background: #5b3780; color: #fff; }
.btn-leaf { background: var(--leaf); color: var(--ink); }
.btn-leaf:hover { background: #6cb6e4; color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-line { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }

/* ----- barre d'information ----- */
.topbar { background: var(--ink); color: #d3cfe8; font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: #ece8f8; text-decoration: none; }
.topbar a:hover { color: var(--leaf); }
.topbar-info { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-info svg { width: 15px; height: 15px; color: var(--leaf); }

/* ----- réseaux sociaux ----- */
.socials { display: inline-flex; gap: .45rem; }
.socials a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .25s var(--ease); }
.socials a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.socials svg { width: 15px; height: 15px; }

/* ----- en-tête ----- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s, background .3s; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(20, 18, 63, .45); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; transition: min-height .3s var(--ease); }
.site-header.is-stuck .header-row { min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand { gap: .65rem; }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease), transform .4s var(--ease); }
.site-header.is-stuck .brand img { height: 42px; }
.brand:hover img { transform: scale(1.04); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 800 1.22rem var(--font-head); color: var(--blue-deep); text-transform: uppercase; letter-spacing: .01em; }
.brand-text small { font-weight: 800; color: var(--green); letter-spacing: .42em; text-transform: uppercase; font-size: .66rem; margin-top: .25rem; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.main-nav a { position: relative; display: block; padding: .55rem .8rem; color: var(--ink); font-weight: 600; font-size: .96rem; text-decoration: none; border-radius: 8px; transition: color .2s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 3px; border-radius: 3px; background: var(--grad-green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:not(.btn):hover { color: var(--blue); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav .header-cta { margin-left: .6rem; padding: .7rem 1.2rem; color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--blue-soft); color: var(--blue); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ----- bandeau d'actualités défilant ----- */
.ticker { background: var(--grad-green); color: #fff; font-size: .92rem; }
.ticker .wrap { display: flex; align-items: center; gap: 1rem; min-height: 44px; overflow: hidden; }
.ticker-label { flex-shrink: 0; background: var(--ink); color: #fff; font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 6px; }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-move { display: inline-flex; gap: 3rem; white-space: nowrap; animation: defile 38s linear infinite; }
.ticker-move a { color: #fff; font-weight: 600; text-decoration: none; }
.ticker-move a::before { content: "●"; color: var(--ink); margin-right: .7rem; font-size: .6rem; vertical-align: 2px; }
.ticker-move a:hover { text-decoration: underline; }
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----- héros (diaporama de photos) ----- */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: -2; }
.hero-slide { background: center / cover no-repeat; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7.5s linear; }
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(100deg, rgba(20, 18, 63, .94) 0%, rgba(35, 26, 96, .82) 42%, rgba(37, 88, 201, .35) 70%, rgba(113, 70, 149, .25) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3rem; align-items: center; padding: 5rem 0 6.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem .4rem .45rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .86rem; font-weight: 600; color: #f0ecfb; backdrop-filter: blur(6px); margin-bottom: 1.4rem; }
.eyebrow i { width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; }
.eyebrow i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,18,63,.6); } 70% { box-shadow: 0 0 0 8px rgba(20,18,63,0); } 100% { box-shadow: 0 0 0 0 rgba(20,18,63,0); } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.04; margin-bottom: 1.2rem; }
.hero h1 .rotator { display: inline-grid; vertical-align: bottom; }
.hero h1 .rotator span { grid-area: 1 / 1; background: linear-gradient(90deg, var(--leaf), #bfe2f6); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(.45em); transition: opacity .55s var(--ease), transform .55s var(--ease); white-space: nowrap; }
.hero h1 .rotator span.on { opacity: 1; transform: none; }
.hero h1 .rotator span.out { opacity: 0; transform: translateY(-.45em); }
.hero .lead { font-size: 1.18rem; color: #e1dcf3; max-width: 36rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-dots { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.hero-dots button { width: 34px; height: 5px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; overflow: hidden; position: relative; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--leaf); transform-origin: left; animation: fill 6.5s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-hint { position: absolute; right: 2rem; bottom: 1.5rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 2; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: molette 1.6s infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* globe en orbite, repris du logo */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 420px); margin-inline: auto; }
.orbit-core { position: absolute; inset: 24%; width: 52%; height: 52%; border-radius: 50%; filter: drop-shadow(0 0 40px rgba(62, 158, 216, .55)); }
.orbit-ring { position: absolute; inset: 8%; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.orbit-ring.r2 { inset: -2%; border-style: dashed; border-color: rgba(62, 158, 216, .35); animation: tourne 40s linear infinite; }
.orbit-ellipse { position: absolute; inset: 30% -4%; border-radius: 50%; border: 3px solid transparent; border-top-color: #c18af0; border-right-color: rgba(155, 92, 230, .5); transform: rotate(-18deg); animation: ellipse 6s linear infinite; }
@keyframes ellipse { to { transform: rotate(342deg); } }
@keyframes tourne { to { transform: rotate(360deg); } }
.orbit-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-lg); animation: flotte 6s ease-in-out infinite; }
.orbit-chip svg { width: 20px; height: 20px; color: var(--blue); }
.orbit-chip.c1 { top: 6%; left: -2%; }
.orbit-chip.c2 { top: 40%; right: -8%; animation-delay: -2s; }
.orbit-chip.c2 svg { color: var(--green); }
.orbit-chip.c3 { bottom: 6%; left: 8%; animation-delay: -4s; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.pixels { position: absolute; top: 18%; right: 14%; width: 70px; height: 50px; background-image: radial-gradient(#b48ae6 2px, transparent 2.5px); background-size: 10px 10px; opacity: .7; animation: flotte 5s ease-in-out infinite; }

/* ----- chiffres clés ----- */
.figures { position: relative; z-index: 3; margin-top: -3.6rem; }
.figures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.figures li { position: relative; padding: 1.6rem 1.2rem; text-align: center; }
.figures li + li::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.figures b { display: block; font: 800 2.6rem/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figures span { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ----- sections ----- */
.section { padding: 6rem 0; position: relative; overflow-x: clip; }
.section.tight { padding: 4rem 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: #d3cfe8; overflow: hidden; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.green-band { background: linear-gradient(120deg, #5b3780, var(--green) 40%, var(--green-mid)); color: #efe6f7; overflow: hidden; }
.section.green-band h2, .section.green-band h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head p, .section.green-band .section-head p { color: inherit; opacity: .85; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-green); }
.section.dark .kicker, .section.green-band .kicker { color: var(--leaf); }
.section.green-band .kicker { color: #fff; }
.section.green-band .kicker::before { background: #fff; }
.section-foot { margin: 2.8rem 0 0; text-align: center; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section.dark .text-grad { background: linear-gradient(90deg, #8fd0ff, var(--leaf)); -webkit-background-clip: text; background-clip: text; }

/* anneaux décoratifs (forme de l'anneau du logo) */
.swoosh { position: absolute; pointer-events: none; z-index: 0; opacity: .14; }
.swoosh svg { width: 100%; height: 100%; }
.section > .wrap { position: relative; z-index: 1; }

/* ----- présentation (accueil) ----- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.intro-media { position: relative; }
.intro-media .photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; }
.intro-media .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-media:hover .photo img { transform: scale(1.05); }
.intro-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 60%; height: 70%; border-radius: 24px; background: var(--grad-green); z-index: -1; }
.intro-badge { position: absolute; right: -1.2rem; bottom: -1.6rem; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.3rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); animation: flotte 6s ease-in-out infinite; }
.intro-badge b { font: 800 2.2rem/1 var(--font-head); color: var(--blue); }
.intro-badge span { font-weight: 600; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.intro-logo { position: absolute; left: -1.2rem; top: -1.4rem; background: #fff; padding: .7rem .9rem; border-radius: 16px; box-shadow: var(--shadow); }
.intro-logo img { height: 46px; width: auto; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist svg { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--leaf-soft); color: var(--green); }

/* ----- services ----- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.8rem 1.8rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .45s var(--ease); z-index: 0; }
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: #e6e1f5; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover h3 { color: #fff; }
.svc-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--blue-soft); color: var(--blue); margin-bottom: 1.4rem; transition: transform .6s var(--ease), background .3s, color .3s; }
.svc-ico svg { width: 30px; height: 30px; }
.svc-card:nth-child(even) .svc-ico, .svc-grid li:nth-child(even) .svc-ico { background: var(--leaf-soft); color: var(--green); }
.svc-card:hover .svc-ico { background: rgba(255,255,255,.15); color: var(--leaf); transform: rotate(-8deg) scale(1.08); }
.svc-card h3 { font-size: 1.32rem; transition: color .3s; }
.svc-card p { flex: 1; color: inherit; opacity: .92; }
.svc-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue); transition: color .3s, gap .3s var(--ease); }
.svc-more svg { width: 18px; height: 18px; }
.svc-card:hover .svc-more { color: var(--leaf); gap: .75rem; }
.svc-num { position: absolute; top: 1.2rem; right: 1.4rem; font: 800 3.4rem/1 var(--font-head); color: var(--paper); transition: color .4s; }
.svc-card:hover .svc-num { color: rgba(255,255,255,.08); }

/* ----- technologies (défilement continu) ----- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-move { display: flex; width: max-content; gap: 1.2rem; animation: defile 34s linear infinite; }
.marquee:hover .marquee-move { animation-play-state: paused; }
.marquee.reverse .marquee-move { animation-direction: reverse; }
.tech { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.4rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 700; white-space: nowrap; transition: background .3s, transform .3s var(--ease); }
.tech:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.tech i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 800 .78rem var(--font-head); font-style: normal; color: #fff; }

/* ----- réalisations ----- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.section-head.center + .filters { justify-content: center; }
.filters a, .filters button { padding: .65rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 .92rem var(--font-body); text-decoration: none; cursor: pointer; transition: all .25s var(--ease); }
.filters a:hover, .filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters a.on, .filters button.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 20px -12px rgba(37, 88, 201, .8); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.proj { display: flex; flex-direction: column; border-radius: 20px; background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .4s, scale .4s; }
.proj:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--text); }
.proj.is-hidden { display: none; }
.proj-thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper); }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3.5s ease, transform .6s var(--ease); }
.proj:hover .proj-thumb img { object-position: bottom; }
.proj-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 18, 63, .55)); opacity: 0; transition: opacity .4s; }
.proj:hover .proj-thumb::after { opacity: 1; }
.proj-open { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: var(--ink); transform: translateY(20px) scale(.6); opacity: 0; transition: all .4s var(--ease); }
.proj-open svg { width: 20px; height: 20px; }
.proj:hover .proj-open { transform: none; opacity: 1; }
.thumb-mock { width: 100%; height: 100%; display: grid; place-items: center; font: 800 2.6rem var(--font-head); color: #fff; letter-spacing: .04em; }
.tone-0 { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.tone-1 { background: linear-gradient(135deg, var(--green), var(--leaf)); }
.tone-2 { background: linear-gradient(135deg, var(--ink), var(--blue)); }
.tone-3 { background: linear-gradient(135deg, var(--blue), var(--green)); }
.tone-4 { background: linear-gradient(135deg, var(--ink-2), var(--green)); }
.proj-body { padding: 1.3rem 1.4rem 1.5rem; }
.proj-body h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.proj-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.chip { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--leaf-soft); color: var(--green); font-weight: 700; font-size: .78rem; margin-bottom: .7rem; }

/* ----- formations ----- */
.train-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.train-grid li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.3rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .35s var(--ease), border-color .3s; }
.train-grid li:hover { background: rgba(255,255,255,.12); border-color: rgba(62, 158, 216, .6); transform: translateX(6px); }
.train-grid .n { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--leaf); color: var(--ink); font: 800 .95rem var(--font-head); }
.train-grid b { display: block; color: #fff; font-weight: 700; line-height: 1.35; }
.train-grid small { display: block; color: #b7b1d6; margin-top: .25rem; font-size: .9rem; }
.section:not(.dark) .train-grid li { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.section:not(.dark) .train-grid b { color: var(--ink); }
.section:not(.dark) .train-grid small { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: center; }
.split-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(20, 18, 63, .78); backdrop-filter: blur(8px); color: #fff; font-weight: 600; font-size: .95rem; }
.split-photo figcaption b { color: var(--leaf); }

/* ----- équipe ----- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 2rem; }
.member { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.6rem 1.7rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.member:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.member-cover { position: absolute; inset: 0 0 auto; height: 112px; background: var(--grad); }
.member-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% -20%, rgba(62, 158, 216, .55), transparent 55%), radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 2px) 0 0 / 14px 14px; }
.member-ph { position: relative; width: 168px; height: 168px; margin-top: 30px; margin-bottom: 1.1rem; }
.member-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, var(--leaf), var(--blue), var(--green), var(--leaf)); animation: tourne 8s linear infinite; }
.member .ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 5px solid #fff; background: var(--grad); display: grid; place-items: center; color: #fff; font: 800 2.6rem var(--font-head); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s var(--ease); }
.member:hover .ph img { transform: scale(1.08); }
.member h3 { margin: 0 0 .45rem; font-size: 1.18rem; color: var(--ink); }
.member-role { display: inline-block; margin: 0 0 .9rem; padding: .3rem .85rem; border-radius: 999px; background: var(--leaf-soft); color: var(--green); font-weight: 700; font-size: .86rem; }
.member-bio { color: var(--muted); font-size: .94rem; margin: 0 0 1rem; }
.member-links { display: flex; gap: .5rem; margin-top: auto; }
.member-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); transition: all .3s var(--ease); }
.member-links a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.member-links svg { width: 17px; height: 17px; }
.section.green-band .member h3 { color: var(--ink); }

/* ----- actualités ----- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.post { display: flex; flex-direction: column; border-radius: 20px; background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-img { position: relative; aspect-ratio: 16 / 10; background: var(--grad); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-img img { transform: scale(1.07); }
.post-date { position: absolute; left: 1rem; top: 1rem; display: grid; text-align: center; padding: .45rem .7rem; border-radius: 12px; background: #fff; color: var(--ink); line-height: 1; box-shadow: var(--shadow); }
.post-date b { font: 800 1.4rem var(--font-head); color: var(--blue); }
.post-date small { font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-top: .2rem; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.post-body h3 { font-size: 1.12rem; line-height: 1.3; transition: color .3s; }
.post:hover .post-body h3 { color: var(--blue); }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-body .svc-more { font-size: .92rem; }

/* ----- partenaires (défilement de logos) ----- */
.logos-title { text-align: center; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.4rem; font-family: var(--font-body); font-weight: 800; }
.logos-title + .marquee { margin-bottom: 2.6rem; }
.logo-chip { flex-shrink: 0; display: grid; place-items: center; width: 190px; height: 110px; padding: 1rem 1.3rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 800; text-align: center; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.logo-chip img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.logo-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--leaf); }
.logo-chip:hover img { transform: scale(1.08); }
.logos-static { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }

/* ----- témoignages ----- */
.quotes { position: relative; max-width: 54rem; margin-inline: auto; }
.quote-track { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; padding: 2.6rem 2.8rem 2.2rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); text-align: center; opacity: 0; transform: translateY(18px) scale(.98); visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.quote.on { opacity: 1; transform: none; visibility: visible; }
.quote .stars { color: var(--star); letter-spacing: .25em; font-size: 1.15rem; margin-bottom: 1rem; }
.quote p { font-size: 1.18rem; color: var(--ink); line-height: 1.6; }
.quote p::before { content: "“"; display: block; font: 800 4.5rem/0.6 var(--font-head); color: var(--leaf); margin-bottom: .6rem; }
.quote footer { margin-top: 1.4rem; }
.quote footer b { display: block; font: 800 1.1rem var(--font-head); color: var(--blue); }
.quote footer span { color: var(--muted); font-size: .92rem; }
.quote-nav { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.quote-nav button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: all .3s; padding: 0; }
.quote-nav button.on { width: 32px; border-radius: 8px; background: var(--green); }

/* ----- appel à l'action ----- */
.cta-band { position: relative; padding: 4.5rem 0; background: var(--grad); background-size: 200% 200%; animation: degrade 12s ease infinite; color: #ebe7f7; overflow: hidden; }
@keyframes degrade { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(62, 158, 216, .18); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -200px; animation: tourne 30s linear infinite; border-left-color: transparent; }
.cta-band::after { width: 260px; height: 260px; left: -80px; bottom: -150px; border-color: rgba(255,255,255,.08); border-top-color: transparent; animation: tourne 22s linear infinite reverse; }
.cta-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ----- en-tête des pages intérieures ----- */
.page-head { position: relative; padding: 5rem 0 4.5rem; background: var(--ink); color: #d3cfe8; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('../img/site/entretien.jpg') center / cover; opacity: .18; transform: scale(1.1); animation: lent 20s ease-in-out infinite alternate; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(20, 18, 63, .96) 30%, rgba(37, 88, 201, .75) 75%, rgba(113, 70, 149, .65)); }
@keyframes lent { to { transform: scale(1); } }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .5rem; }
.page-head p { max-width: 42rem; font-size: 1.12rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; margin-bottom: 1.2rem; color: #aba5d0; }
.crumbs a { color: var(--leaf); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.page-head .swoosh { right: -60px; top: -40px; width: 380px; height: 380px; opacity: .28; }

/* ----- contenu ----- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.prose { max-width: 46rem; }
.prose p { font-size: 1.08rem; }
.prose h2 { font-size: 2rem; }
.side-box { position: sticky; top: 110px; padding: 2rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.side-box h3 { font-size: 1.25rem; }
.side-box ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.side-box ul a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .9rem; border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; transition: all .25s var(--ease); }
.side-box ul a:hover { background: var(--blue); color: #fff; transform: translateX(4px); }
.side-box ul a svg { width: 16px; height: 16px; flex-shrink: 0; }
.side-box.dark { background: var(--grad); color: #ebe7f7; border: 0; }
.side-box.dark h3 { color: #fff; }
.article-img { border-radius: 20px; overflow: hidden; margin: 0 0 2rem; box-shadow: var(--shadow); }
.article-img img { width: 100%; }
.empty { padding: 3rem; text-align: center; border-radius: 20px; background: var(--paper); color: var(--muted); }

/* valeurs */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.value { position: relative; padding: 2rem; border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--ease); }
.value:hover { transform: translateY(-6px); }
.value::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-green); }
.value .svc-ico { margin-bottom: 1.1rem; }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted); margin: 0; }

/* ----- contact ----- */
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-cards li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.contact-cards li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-cards .ico { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; }
.contact-cards .ico svg { width: 24px; height: 24px; }
.contact-cards b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.08rem; margin-bottom: .2rem; }
.contact-cards a { font-weight: 600; text-decoration: none; }
.map { margin-top: 1rem; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ----- formulaires ----- */
.form-box { padding: 2.4rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-box h2 { font-size: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); font-size: .94rem; margin-bottom: .4rem; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 12px; font: inherit; color: var(--text); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 88, 201, .12); }
.field textarea { min-height: 160px; resize: vertical; }
.field .is-bad { border-color: #c62828; background: #fff6f6; }
.err { color: #c62828; font-size: .88rem; font-weight: 600; margin-top: .35rem; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.check { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .94rem; transition: all .2s; }
.check:hover { border-color: var(--leaf); }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.check:has(input:checked) { border-color: var(--green); background: var(--leaf-soft); color: var(--ink); }
.flash { padding: 1rem 1.2rem; border-radius: 14px; background: var(--leaf-soft); color: #4a2a6b; border: 1px solid #d9c6ea; font-weight: 600; margin-bottom: 1.4rem; animation: entre .6s var(--ease); }
@keyframes entre { from { opacity: 0; transform: translateY(-10px); } }
.hp { position: absolute; left: -9999px; }

/* ----- pagination ----- */
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; }
.pager-item { padding: .65rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); transition: all .2s; }
a.pager-item:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-item.is-off { opacity: .45; }
.pager-info { color: var(--muted); font-weight: 600; }

/* ----- pied de page ----- */
.site-footer { position: relative; background: var(--ink); color: #b7b1d6; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green), var(--leaf)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; padding: 5rem 0 3.5rem; }
.foot-logo { display: inline-block; padding: .7rem 1rem; border-radius: 16px; background: #fff; margin-bottom: 1.2rem; }
.foot-logo img { height: 92px; width: auto; }
.site-footer h2 { color: #fff; font-size: 1.12rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--leaf); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #ddd8f0; text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.site-footer ul:not(.foot-contact) a:hover { color: var(--leaf); padding-left: .35rem; }
.foot-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.foot-contact svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--leaf); margin-top: .25rem; }
.foot-contact a:hover { color: var(--leaf); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; }

/* ----- boutons flottants ----- */
.wa { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 80; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.15rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .8); transition: transform .3s var(--ease); }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: onde 2.2s infinite; }
@keyframes onde { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.wa:hover { color: #fff; transform: translateY(-3px); }
.wa svg { width: 22px; height: 22px; }
.to-top { position: fixed; right: 1.4rem; bottom: 5.2rem; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .35s var(--ease); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ----- apparition au défilement ----- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-anim] { opacity: 0; transform: translateY(28px); animation: monte .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes monte { to { opacity: 1; transform: none; } }

/* ----- adaptatif ----- */
@media (max-width: 1100px) {
    .main-nav a { padding: .55rem .55rem; font-size: .92rem; }
    .main-nav a:not(.btn)::after { left: .55rem; right: .55rem; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .topbar-info .hide-sm { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    /* sans flou : le flou ferait du menu latéral un enfant positionné de l'en-tête */
    .site-header { backdrop-filter: none; background: #fff; }
    .main-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: #fff; box-shadow: -20px 0 60px -20px rgba(20,18,63,.4); padding: 5.5rem 1.4rem 2rem; transform: translateX(105%); transition: transform .45s var(--ease); overflow-y: auto; z-index: 95; }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
    .main-nav a { padding: .9rem 1rem; font-size: 1.05rem; }
    .main-nav a:not(.btn)::after { bottom: .4rem; left: 1rem; right: auto; width: 40px; }
    .main-nav .header-cta { margin: 1rem 0 0; }
    .nav-close { position: absolute; top: 1.2rem; right: 1.2rem; }
    .nav-shade { position: fixed; inset: 0; background: rgba(20, 18, 63, .45); z-index: 94; opacity: 0; pointer-events: none; transition: opacity .3s; }
    .nav-shade.on { opacity: 1; pointer-events: auto; }
    .hero-grid, .intro-grid, .split, .two-col { grid-template-columns: 1fr; gap: 3rem; }
    .hero-grid { padding: 4rem 0 6rem; }
    .orbit { width: min(80%, 340px); }
    .svc-grid, .proj-grid, .post-grid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .side-box { position: static; }
    .scroll-hint { display: none; }
    .intro-media { margin: 0 1rem 1.5rem; }
}
@media (min-width: 961px) { .nav-close, .nav-shade { display: none; } }
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .topbar { display: none; }
    .header-row { min-height: 70px; }
    .brand img { height: 44px; }
    .section { padding: 4.2rem 0; }
    .hero { min-height: auto; }
    .hero-grid { padding: 3.2rem 0 5.5rem; }
    .hero .orbit { display: none; }
    .svc-grid, .proj-grid, .post-grid, .values, .train-grid, .form .row, .checks { grid-template-columns: 1fr; }
    .figures { margin-top: -2.6rem; }
    .figures ul { grid-template-columns: repeat(2, 1fr); }
    .figures li + li::before { display: none; }
    .figures li { border-bottom: 1px solid var(--line); }
    .figures b { font-size: 2rem; }
    .foot-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .form-box { padding: 1.5rem; }
    .quote { padding: 2rem 1.4rem 1.6rem; }
    .quote p { font-size: 1.05rem; }
    .wa span { display: none; }
    .intro-badge { right: 0; }
    .ticker-label { display: none; }
    .logo-chip { width: 150px; height: 92px; }
}

/* ----- animations réduites ----- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js .hero [data-anim] { opacity: 1; transform: none; }
    .marquee-move, .ticker-move { animation: none !important; flex-wrap: wrap; justify-content: center; }
    .ticker-move [aria-hidden] { display: none; }
}

/* ----- puces du pied de page ----- */
.site-footer ul:not(.foot-contact) li { display: flex; align-items: baseline; gap: .55rem; }
.site-footer ul:not(.foot-contact) li::before { content: "»"; flex-shrink: 0; color: var(--leaf); font-weight: 800; font-size: 1.25rem; line-height: 1; transform: translateY(1px); transition: transform .25s var(--ease); }
.site-footer ul:not(.foot-contact) li:hover::before { transform: translate(4px, 1px); }
.site-footer ul:not(.foot-contact) a:hover { padding-left: 0; }

/* ----- devis : précision « Autre » ----- */
.field-autre:not([hidden]) { animation: entre .45s var(--ease); }
.field-autre input { border-color: var(--leaf); background: #fff; }

.field .check { display: flex; align-items: center; margin: 0; color: var(--ink); font-size: .94rem; }
.field .check input { width: 18px; height: 18px; flex-shrink: 0; padding: 0; }


/* ==========================================================================
   COREFOV — compléments
   ========================================================================== */
/* emblème du logo en orbite (héros) */
.orbit-halo { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.42) 0%, rgba(255,255,255,.16) 48%, rgba(255,255,255,0) 72%); }
.orbit-emblem { position: absolute; left: 14%; top: 26%; width: 72%; height: auto; filter: drop-shadow(0 18px 30px rgba(20, 18, 63, .45)); animation: flotte 6s ease-in-out infinite; }
.orbit-ring { border-color: rgba(255,255,255,.22); }
.orbit-chip.c1 { top: 4%; left: -4%; }
.orbit-chip.c2 { top: 30%; right: -10%; animation-delay: -1.5s; }
.orbit-chip.c3 { bottom: 14%; left: -8%; animation-delay: -3s; }
.orbit-chip.c4 { bottom: 0; right: 0; animation-delay: -4.5s; }
.orbit-chip svg { color: var(--green); }
.orbit-chip.c2 svg, .orbit-chip.c4 svg { color: var(--blue); }
@media (max-width: 1100px) { .orbit-chip.c2 { right: -2%; } .orbit-chip.c3 { left: 0; } }

/* vision / mission */
.duo { display: grid; gap: 1rem; margin: 1.6rem 0 2rem; }
.duo-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.duo-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.duo-item .svc-ico { width: 48px; height: 48px; margin: 0; flex-shrink: 0; }
.duo-item .svc-ico svg { width: 24px; height: 24px; }
.duo-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.duo-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.duo-item:nth-child(2) .svc-ico { background: var(--leaf-soft); color: var(--green); }

/* carte « besoin spécifique » */
.svc-card-cta { background: var(--grad); color: #e6e1f5; border-color: transparent; }
.svc-card-cta h3 { color: #fff; }
.svc-card-cta .svc-ico { background: rgba(255,255,255,.15); color: #fff; }
.svc-card-cta .svc-more { color: var(--leaf); }
.svc-grid li:nth-child(even) .svc-card-cta .svc-ico { background: rgba(255,255,255,.15); color: #fff; }

/* valeur ajoutée */
.atouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.atout { position: relative; padding: 1.8rem 1.3rem 1.5rem; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: center; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.atout:hover { transform: translateY(-8px); background: rgba(255,255,255,.1); border-color: rgba(62, 158, 216, .6); }
.atout-ico { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--grad-green); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 12px 26px -12px rgba(62, 158, 216, .9); }
.atout-ico svg { width: 28px; height: 28px; }
.atout h3 { font-size: 1.05rem; color: #fff; }
.atout p { margin: 0; color: #c9c4e3; font-size: .95rem; text-align: center; text-align-last: center; }

/* photo remplacée par l'emblème */
.split-logo { background: radial-gradient(circle at 50% 40%, #fff 0%, var(--paper) 60%, var(--leaf-soft) 100%); display: grid; place-items: center; }
.split-logo img { width: 62%; height: auto; object-fit: contain; animation: flotte 7s ease-in-out infinite; }
.split-logo figcaption { font-style: italic; }

/* clients cibles */
.cibles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.cible { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.cible:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--leaf); }
.cible .svc-ico { width: 46px; height: 46px; margin: 0; flex-shrink: 0; border-radius: 14px; }
.cible .svc-ico svg { width: 22px; height: 22px; }
.cible:nth-child(even) .svc-ico { background: var(--leaf-soft); color: var(--green); }

/* ambition et formes de collaboration */
.ambition { margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.4rem; border-radius: 26px; background: var(--grad); color: #e6e1f5; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.ambition::after { content: ""; position: absolute; right: -80px; top: -90px; width: 300px; height: 160px; border: 22px solid rgba(255,255,255,.08); border-radius: 50%; transform: rotate(-25deg); }
.ambition-texte { flex: 1 1 520px; position: relative; z-index: 1; }
.ambition .kicker { color: #fff; }
.ambition .kicker::before { background: var(--leaf); }
.ambition-citation { font: 700 1.35rem/1.45 var(--font-head); color: #fff; text-align: left; }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; }
.puces span { padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; font-size: .9rem; }
.ambition .btn { position: relative; z-index: 1; }

/* listes à puces des domaines */
.liste-prestations { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.liste-prestations li { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .3s var(--ease), border-color .3s; }
.liste-prestations li:hover { transform: translateX(4px); border-color: var(--leaf); }
.liste-prestations svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--leaf-soft); color: var(--green); }
.svc-card ul.mini { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; font-size: .92rem; }
.svc-card ul.mini li::before { content: "•"; color: var(--green); font-weight: 800; margin-right: .45rem; }
.svc-card:hover ul.mini li::before { color: var(--leaf); }

@media (max-width: 1100px) { .atouts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .liste-prestations { grid-template-columns: 1fr; } .ambition { padding: 1.6rem; } }
@media (max-width: 480px) { .atouts { grid-template-columns: 1fr; } .brand-text b { font-size: 1rem; } .brand img { height: 40px; } }

.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
@media (max-width: 640px) {
    .hero h1 .rotator { display: grid; }
    .hero h1 .rotator span { white-space: normal; }
}

/* ----- mise en page : contact et formations ----- */
.contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.photo-collante { position: sticky; top: 110px; }
.train-grid small { line-height: 1.5; }
@media (max-width: 960px) {
    .contact-grid { grid-template-columns: 1fr; }
    .photo-collante { position: relative; top: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
    .contact-cards li { padding: 1.1rem; gap: .9rem; }
    .contact-cards .ico { width: 44px; height: 44px; }
    .contact-cards a { overflow-wrap: anywhere; }
    .form-box h2 { font-size: 1.4rem; }
    .form .btn { width: 100%; }
}

/* ----- textes justifiés ----- */
p, .contact-cards div, .train-grid small, .duo-item p, .liste-prestations li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.section-head.center p, .quote p, .member p, .cta-band p, .atout p, .empty, .pager, .flash, .figures span { text-align: justify; text-align-last: center; }
.crumbs, .btn, .chip, .member-role, .post-date, .stars, .section-foot, .hero .eyebrow { text-align: center; text-align-last: auto; }

.foot-bottom span { text-align: left; text-align-last: auto; }

.foot-bottom .credit { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px dashed currentColor; }
.foot-bottom .credit:hover { color: var(--gold, #f5b82e); }
