/* Blessing Digital — site public */
:root {
  --primary: #0073B1;
  --accent: #00B1DB;
  --night: #0B2A4A;
  --sky: #A9D6EB;
  --mist: #EEF1F4;
  --paper: #FFFFFF;
  --soft: #5A6B7D;
  --line: #DCE4EB;
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --notch: 28px;
  --shadow: 0 30px 60px -38px rgba(11, 42, 74, .45);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 1.65; color: var(--night); background: var(--mist); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, .bi, .step .n, .stat b, .day b, .success .ref, .values span, .eco span { font-family: var(--font-title); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--maxw), calc(100% - 32px)); margin-inline: auto; }

/* ---------- Titres bicolores ---------- */
.bi { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .015em; line-height: 1.02; font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.bi .a { display: block; color: var(--primary); }
.bi .b { display: block; color: var(--night); }
.on-dark .bi .a { color: var(--sky); }
.on-dark .bi .b { color: #fff; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); font-weight: 300; color: var(--soft); max-width: 62ch; margin: 14px 0 0; }
.sub { font-weight: 600; color: var(--primary); margin: 12px 0 0; font-size: 1.05rem; max-width: 60ch; }
p { max-width: 70ch; }

/* ---------- Boutons, pastilles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 24px -14px var(--primary); }
.btn-primary:hover { background: var(--night); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--sky); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .85rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; background: var(--sky); color: var(--night); font-size: .8rem; font-weight: 600; line-height: 1.3; }
.pill.line { background: transparent; border: 1px solid var(--line); color: var(--soft); font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Encoche (signature visuelle) ---------- */
.notch { position: absolute; z-index: 3; background: var(--notch-bg, #fff); }
.notch::before, .notch::after { content: ""; position: absolute; width: var(--notch); height: var(--notch); pointer-events: none; }
.notch.tl { top: -1px; left: -1px; border-bottom-right-radius: var(--notch); padding: 0 calc(var(--notch) + 4px) 22px 0; }
.notch.tl::before { top: 0; left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--notch-bg, #fff) var(--notch)); }
.notch.tl::after { top: 100%; left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--notch-bg, #fff) var(--notch)); }
.notch.br { bottom: -1px; right: -1px; border-top-left-radius: var(--notch); padding: 16px 0 0 16px; }
.notch.br::before { bottom: 100%; right: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--notch-bg, #fff) var(--notch)); }
.notch.br::after { bottom: 0; right: 100%; background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--notch-bg, #fff) var(--notch)); }

/* Coins cachés sous l'encoche : on retire l'arrondi pour éviter un liseré */
.visual:has(> .notch.tl) { border-top-left-radius: 0; }
.visual:has(> .notch.br) { border-bottom-right-radius: 0; }

/* ---------- Visuels de marque (en attendant les photos) ---------- */
.visual { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--night) 0%, var(--primary) 70%, var(--accent) 120%); color: #fff; isolation: isolate; }
.visual > .pattern { position: absolute; inset: 0; z-index: -1; opacity: .5; background-size: 220px 220px; }
.visual .duo, .duo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--night), var(--primary)); }
.duo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; mix-blend-mode: luminosity; opacity: .92; }
.duo.natural img { mix-blend-mode: normal; opacity: 1; }
.duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,42,74,0) 40%, rgba(11,42,74,.55)); }
.motif { position: absolute; pointer-events: none; }

.theme-digital { background: linear-gradient(140deg, #072F66 0%, #0A5BB5 55%, var(--primary) 100%); }
.theme-digital > .pattern { opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' fill='none' stroke='%2300AEDB' stroke-width='1.2'%3E%3Cpath d='M0 40h60l20 20h60M40 0v30l30 30v60M220 150h-50l-20-20h-40M150 220v-40l-25-25v-35M0 190h40l15-15'/%3E%3Ccircle cx='140' cy='60' r='4'/%3E%3Ccircle cx='70' cy='120' r='4'/%3E%3Ccircle cx='110' cy='130' r='4'/%3E%3Ccircle cx='55' cy='175' r='3'/%3E%3C/svg%3E"); }
.theme-communication { background: linear-gradient(140deg, #0077B0 0%, var(--accent) 60%, #53D1EF 100%); }
.theme-communication > .pattern { opacity: .35; background-size: 180px 180px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='40' cy='40' r='22'/%3E%3Cpath d='M120 20l30 52h-60z'/%3E%3Crect x='100' y='110' width='44' height='44' rx='8'/%3E%3Cpath d='M20 130h50M45 105v50'/%3E%3C/svg%3E"); }
.theme-evenementiel { background: radial-gradient(60% 70% at 78% 18%, rgba(0,174,219,.55), transparent 60%), radial-gradient(45% 55% at 12% 90%, rgba(0,137,198,.5), transparent 65%), linear-gradient(160deg, #081F38, var(--night) 60%, #12406E); }
.theme-evenementiel > .pattern { opacity: .25; background-size: 140px 140px; background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 1.2px, transparent 1.6px); }
.theme-audiovisuel { background: linear-gradient(180deg, #04111F, #0B2A4A); }
.theme-audiovisuel > .pattern { opacity: .6; background-size: auto; background-image: repeating-linear-gradient(90deg, rgba(0,174,219,.28) 0 38px, transparent 38px 46px, rgba(0,137,198,.2) 46px 110px, transparent 110px 118px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); background-position: 0 78%, 0 0; background-repeat: repeat-x, repeat; background-size: auto 26px, 120px 120px; }
.theme-conseil { background: linear-gradient(150deg, #FFFFFF, #E7EEF4); color: var(--night); }
.theme-conseil > .pattern { opacity: .8; background-size: 36px 36px; background-image: linear-gradient(rgba(11,42,74,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,42,74,.07) 1px, transparent 1px); }

/* ---------- En-tête ---------- */
.topbar { position: fixed; inset: 12px 0 auto; z-index: 50; transition: transform .35s var(--ease); }
.topbar .bar { display: flex; align-items: center; gap: 20px; padding: 10px 12px 10px 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; box-shadow: 0 10px 40px -24px rgba(11,42,74,.5); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night); flex-shrink: 0; }
.logo svg { width: 36px; height: 36px; }
.logo img { height: 42px; width: auto; }
.footer .logo img { height: 52px; }
.logo .word { display: flex; flex-direction: column; line-height: .95; letter-spacing: .14em; font-size: .95rem; }
.logo .word b { color: var(--accent); font-weight: 800; }
.logo .word span { color: var(--primary); font-weight: 400; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .85rem; font-weight: 500; color: #8195A8; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--primary); background: #EAF4FA; }
.bar-ctas { display: flex; gap: 8px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--night); margin: 4px auto; transition: transform .3s; }
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(11,42,74,.5); display: none; }
.sheet.open { display: block; }
.sheet .panel { position: absolute; inset: 10px 10px auto; background: #fff; border-radius: var(--r-xl); padding: 22px; display: grid; gap: 6px; animation: drop .35s var(--ease); }
.sheet .panel a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 1.25rem; padding: 10px 6px; text-transform: uppercase; color: var(--night); }
.sheet .close { justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; font-size: 1.3rem; }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } }

/* ---------- Cartes de section ---------- */
main { padding-top: 92px; }
.sec { margin: 18px auto 0; }
.card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(24px, 4.5vw, 60px); position: relative; }
.card.flat { background: transparent; box-shadow: none; --notch-bg: var(--mist); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(26px, 4vw, 44px); }
.head > div { max-width: 720px; }

/* ---------- Accueil ---------- */
.hero { padding: 14px; }
.hero .visual { min-height: clamp(560px, 82vh, 780px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero h1 { margin: 0; font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: .01em; font-size: clamp(2.1rem, 4.3vw, 3.9rem); padding: 18px 0 0 18px; }
.hero h1 span { display: block; white-space: nowrap; opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero h1 .l1 { color: var(--primary); }
.hero h1 .l2 { color: var(--night); animation-delay: .12s; }
.hero h1 .l3 { color: var(--night); animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .accroche { position: absolute; z-index: 2; top: clamp(250px, 29vw, 330px); left: 26px; max-width: 420px; }
.glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-radius: var(--r-lg); color: #fff; }
.hero .accroche.glass { padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: .98rem; }
.hero .intro { position: relative; z-index: 2; max-width: 560px; margin: 0 0 26px 26px; padding: 24px 26px; }
.hero .intro p { margin: 0 0 18px; font-weight: 300; line-height: 1.6; }
.hero .intro .row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .badge { max-width: 440px; }
.hero .badge .box { display: flex; align-items: center; gap: 16px; background: var(--sky); border-radius: 20px; padding: 18px 22px; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.hero .badge .ring { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; flex-shrink: 0; }
.hero .big-motif { right: -70px; top: 30px; width: min(600px, 62vw); opacity: .16; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-30px, 20px) rotate(6deg); } }
.hero .grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

.trust { overflow: hidden; margin-top: 18px; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.trust .track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.trust:hover .track { animation-play-state: paused; }
.trust .item { display: flex; align-items: center; gap: 46px; font-weight: 700; color: #7D93A8; letter-spacing: .06em; white-space: nowrap; font-size: .95rem; }
.trust .item img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; }
.trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bienvenue / Agence ---------- */
.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 70px); align-items: start; }
.welcome .big { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 300; line-height: 1.45; margin: 18px 0 0; max-width: 34ch; }
.stack { display: grid; gap: 14px; }
.note-card { border-radius: var(--r-lg); padding: 24px 26px; background: var(--mist); }
.note-card h3 { margin: 0 0 6px; font-size: .92rem; font-weight: 700; color: var(--primary); }
.note-card p { margin: 0; font-weight: 500; line-height: 1.55; }
.note-card.dark { background: var(--night); color: #fff; }
.note-card.dark h3 { color: var(--sky); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.about .text p { margin: 0 0 14px; color: var(--soft); }
.verbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px 0 16px; }
.verbs span { padding: 16px 10px; border-radius: var(--r-md); background: var(--mist); text-align: center; font-weight: 700; font-size: .95rem; transition: background .5s, color .5s; }
.verbs span.lit { background: var(--primary); color: #fff; }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pillar { border-radius: var(--r-lg); padding: 22px 20px; background: var(--mist); position: relative; }
.pillar h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.pillar p { margin: 0; font-size: .92rem; color: var(--soft); line-height: 1.5; }
.pillar::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 16px; }
.conviction { margin-top: 18px; border-radius: var(--r-lg); padding: 26px 30px; background: var(--night); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.conviction strong { color: var(--sky); font-size: .95rem; }
.conviction p { margin: 0; font-weight: 300; font-size: 1.08rem; }

/* ---------- Pôles ---------- */
.poles-sec { transition: background-color .7s var(--ease); }
.poles { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 18px; align-items: start; }
.pole-list { display: grid; gap: 10px; position: sticky; top: 100px; }
.pole-btn { display: grid; grid-template-columns: 44px 1fr 38px; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .25s; }
.pole-btn:hover { transform: translateX(3px); }
.pole-btn .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--primary); }
.pole-btn .ic svg { width: 22px; height: 22px; }
.pole-btn b { display: block; font-size: .95rem; line-height: 1.25; }
.pole-btn small { display: block; font-size: .78rem; color: var(--soft); line-height: 1.35; margin-top: 3px; }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .3s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.pole-btn[aria-selected="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.pole-btn[aria-selected="true"] small { color: #B8C7D6; }
.pole-btn[aria-selected="true"] .ic { background: #fff; }
.pole-btn[aria-selected="true"] .toggle { background: var(--accent); }
.pole-btn[aria-selected="true"] .toggle::after { transform: translateX(16px); }
.pole-panel { border-radius: var(--r-xl); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -45px rgba(11,42,74,.6); animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } }
.pole-panel .visual { border-radius: 0; min-height: 260px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.pole-panel .visual .num { position: absolute; top: 24px; right: 28px; font-weight: 800; font-size: 1rem; opacity: .8; }
.pole-panel .visual h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; max-width: 16ch; }
.pole-panel .visual p { margin: 10px 0 0; font-weight: 500; max-width: 46ch; }
.pole-panel .body { padding: clamp(22px, 3.2vw, 36px); display: grid; gap: 22px; }
.pole-panel .body > p { margin: 0; color: var(--soft); }
.pole-panel h4 { margin: 0 0 12px; font-size: .9rem; font-weight: 700; color: var(--primary); }
.flow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; counter-reset: f; }
.flow span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: .86rem; }
.flow.seq span::before { counter-increment: f; content: counter(f); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: .7rem; }
.pole-panel blockquote { margin: 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: #F4F9FC; border-radius: 0 var(--r-md) var(--r-md) 0; font-weight: 500; }

/* ---------- Secteurs ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sectors .intro-cell { grid-column: span 2; }
.sectors .intro-cell { padding: 8px 10px 8px 0; align-self: center; }
.sector { background: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sector .ic { width: 50px; height: 50px; border-radius: 50%; background: #EAF4FA; color: var(--primary); display: grid; place-items: center; }
.sector .ic svg { width: 24px; height: 24px; }
.sector h3 { margin: 4px 0 0; font-size: 1.02rem; font-weight: 700; }
.sector p { margin: 0; font-size: .9rem; color: var(--soft); line-height: 1.5; }

/* ---------- Méthode ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding-top: 34px; }
.steps .rail { position: absolute; top: 9px; left: 10px; right: 10px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.steps .rail i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -34px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--line); transition: border-color .3s, background .3s; }
.step.done::before { border-color: var(--primary); background: var(--primary); }
.step .n { font-size: .8rem; font-weight: 700; color: var(--primary); }
.step h3 { margin: 2px 0 6px; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; }
.step p { margin: 0; font-size: .9rem; color: var(--soft); line-height: 1.5; }
.signature { margin: 34px 0 0; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; max-width: none; }
.signature b { font-weight: 700; color: var(--primary); }

/* ---------- Études de cas ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case { display: flex; flex-direction: column; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: pointer; text-align: left; padding: 0; transition: transform .35s var(--ease), box-shadow .35s; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case .top { padding: 24px 26px 20px; display: grid; gap: 10px; }
.case .meta { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--soft); font-weight: 600; }
.case h3 { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.case .top p { margin: 0; color: var(--soft); font-size: .93rem; }
.case .visual { align-self: stretch; width: calc(100% - 20px); flex: 1; margin: 0 10px 10px; min-height: 220px; border-radius: 24px; display: flex; align-items: flex-end; padding: 18px; }
.case .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; padding: 10px 16px; border-radius: 999px; }
.case .go svg { width: 16px; height: 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; cursor: pointer; }
.filter .toggle { width: 30px; height: 18px; }
.filter .toggle::after { width: 12px; height: 12px; }
.filter[aria-pressed="true"] { border-color: var(--night); }
.filter[aria-pressed="true"] .toggle { background: var(--primary); }
.filter[aria-pressed="true"] .toggle::after { transform: translateX(12px); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 22px; }
.work { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); display: flex; flex-direction: column; text-align: left; border: 0; padding: 0; }
.work[data-open] { cursor: pointer; }
.work .visual { border-radius: 0; aspect-ratio: 16/10; width: 100%; }
.work .info { width: 100%; }
.work .info { padding: 16px 18px 18px; }
.work h4 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.work .info small { display: block; color: var(--soft); margin-top: 4px; font-size: .82rem; }
.work .info span { display: block; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--primary); }
.work.hide { display: none; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; }
.member .visual { position: absolute; inset: 0; border-radius: 0; }
.member .mono { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 800; color: rgba(255,255,255,.22); letter-spacing: .04em; }
.member .id { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; background: var(--primary); color: #fff; border-radius: 20px; transition: transform .4s var(--ease); }
.member .id b { display: block; font-size: 1rem; line-height: 1.25; }
.member .id span { display: block; font-size: .85rem; opacity: .9; }
.member .id small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: .82rem; line-height: 1.4; transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.member:hover .id small, .member:focus-within .id small { max-height: 80px; opacity: 1; margin-top: 8px; }
.profiles { margin-top: 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.profiles blockquote { margin: 0; max-width: 40ch; font-style: italic; color: var(--primary); font-weight: 500; }

/* ---------- Références ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.logo-tile { min-height: 104px; border-radius: var(--r-lg); background: var(--mist); display: grid; place-items: center; padding: 16px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--night); line-height: 1.3; text-decoration: none; }
.logo-tile img { max-height: 58px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.values { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.values span { padding: 10px 18px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .04em; }

/* ---------- Témoignages ---------- */
.testi { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; min-height: 360px; }
.testi .portrait { position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; }
.testi .portrait .visual { position: absolute; inset: 0; border-radius: 0; }
.testi .portrait .mono { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.5rem; font-weight: 800; color: rgba(255,255,255,.3); }
.testi figure { margin: 0; animation: fadein .5s var(--ease); }
.testi blockquote { margin: 0; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 300; line-height: 1.55; font-style: italic; position: relative; }
.testi blockquote::before { content: "“"; position: absolute; top: -.55em; left: -.1em; font-size: 4.5em; line-height: 1; color: var(--sky); font-style: normal; z-index: -1; }
.testi figcaption { margin-top: 22px; }
.testi figcaption b { display: block; font-size: 1.05rem; }
.testi figcaption span { color: var(--primary); font-weight: 600; font-size: .92rem; }
.t-nav { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.round:hover { background: var(--night); color: #fff; border-color: var(--night); }
.round svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 6px; margin-left: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 28px; border-radius: 6px; background: var(--primary); }

/* ---------- Pourquoi nous ---------- */
.reasons .visual { padding: clamp(24px, 4vw, 44px); padding-top: clamp(150px, 16vw, 190px); --notch-bg: #fff; }
.reasons .notch.tl { padding: 22px 40px 24px 22px; }
.reasons .notch h2 { padding: 0; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reason { padding: 24px; display: grid; gap: 10px; align-content: start; }
.reason .plus { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.reason .plus svg { width: 20px; height: 20px; }
.reason h3 { margin: 6px 0 0; font-size: 1.05rem; font-weight: 700; }
.reason p { margin: 0; font-size: .92rem; font-weight: 300; line-height: 1.55; opacity: .95; }
.reasons .concl { margin: 26px 0 0; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; text-align: center; max-width: none; }
.reasons .concl b { font-weight: 700; }

/* ---------- Contact ---------- */
.contact > *, .poles > *, .about > *, .welcome > *, .testi > * { min-width: 0; }
.contact { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(24px, 4vw, 56px); }
.coords { display: grid; gap: 10px; margin-top: 26px; }
.coord { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: var(--mist); text-decoration: none; }
.coord .ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; }
.coord .ic svg { width: 18px; height: 18px; }
.coord small { display: block; color: var(--soft); font-size: .78rem; }
.coord b a { text-decoration: none; }
.coord b a:hover { color: var(--primary); }
.coord b { display: block; font-size: .95rem; font-weight: 600; word-break: break-word; }
a.coord:hover { background: #E3EFF6; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.tabs { display: flex; gap: 4px; padding: 5px; background: var(--mist); border-radius: 999px; margin-bottom: 26px; overflow-x: auto; }
.tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap; padding: 0 16px; color: var(--soft); transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--night); color: #fff; }

.progress { height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .45s var(--ease); }
.step-label { font-size: .82rem; color: var(--soft); font-weight: 600; margin-bottom: 18px; }
.fstep { display: none; animation: fadein .4s var(--ease); }
.fstep.on { display: grid; gap: 18px; }
.fstep h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.field { display: grid; gap: 7px; }
.field > label, .field > .lbl { font-size: .86rem; font-weight: 600; }
.field .hint { font-size: .8rem; color: var(--soft); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,137,198,.12); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; transition: all .2s; background: #fff; }
.choice input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pole-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pole-choice { position: relative; }
.pole-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.pole-choice .box { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; transition: all .25s; min-height: 72px; }
.pole-choice .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--primary); display: grid; place-items: center; }
.pole-choice .ic svg { width: 20px; height: 20px; }
.pole-choice b { font-size: .9rem; line-height: 1.25; }
.pole-choice input:checked + .box { border-color: var(--primary); background: #EAF4FA; }
.pole-choice input:checked + .box .ic { background: var(--primary); color: #fff; }
.pole-choice input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .85rem; color: var(--soft); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.err { color: #B42318; font-size: .88rem; font-weight: 600; min-height: 1.2em; margin: 0; }
.files-list { font-size: .82rem; color: var(--soft); }
.success { text-align: center; padding: 30px 10px; display: grid; gap: 12px; justify-items: center; animation: fadein .5s var(--ease); }
.success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.success .ok svg { width: 32px; height: 32px; }
.success h3 { margin: 6px 0 0; font-size: 1.4rem; font-weight: 800; }
.success p { margin: 0 auto; color: var(--soft); }
.success .ref { font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; color: var(--night); background: var(--mist); padding: 10px 18px; border-radius: 12px; }

.types { display: grid; gap: 10px; }
.type-btn { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; text-align: left; padding: 16px 18px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .2s; }
.type-btn b { font-size: 1rem; }
.type-btn .dur { grid-row: span 2; align-self: center; font-weight: 700; color: var(--primary); background: #EAF4FA; border-radius: 999px; padding: 6px 12px; font-size: .85rem; }
.type-btn small { color: var(--soft); font-size: .85rem; }
.type-btn:hover, .type-btn[aria-pressed="true"] { border-color: var(--primary); background: #F2F9FD; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 76px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.day small { font-size: .72rem; color: var(--soft); font-weight: 600; text-transform: capitalize; }
.day b { font-size: 1.35rem; line-height: 1.1; }
.day[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.day[aria-pressed="true"] small { color: #B8C7D6; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.time { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; }
.time[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.recap { padding: 14px 18px; border-radius: var(--r-md); background: var(--mist); font-size: .92rem; }
.recap b { color: var(--primary); }
.empty { color: var(--soft); font-size: .92rem; padding: 14px 0; }

/* ---------- Pied de page ---------- */
.footer { margin: 18px auto 18px; background: var(--night); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 60px); position: relative; overflow: hidden; }
.footer .motif { right: -80px; bottom: -80px; width: 380px; opacity: .12; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 30px; position: relative; }
.footer .logo { color: #fff; }
.footer .logo .word span { color: var(--sky); }
.footer h4 { margin: 0 0 14px; font-size: .9rem; color: var(--sky); font-weight: 700; }
.footer p, .footer li { color: #C8D6E3; font-size: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: #C8D6E3; }
.footer a:hover { color: #fff; }
.news { display: flex; gap: 6px; margin-top: 12px; background: rgba(255,255,255,.08); padding: 5px; border-radius: 999px; }
.news input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; min-height: 44px; padding: 0 14px; border-radius: 999px; }
.news input::placeholder { color: #9FB3C6; }
.news input:focus { box-shadow: none; outline: 2px solid var(--accent); }
.news-msg { font-size: .85rem; margin: 8px 0 0; min-height: 1.2em; color: var(--sky); }
.f-bottom { position: relative; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #9FB3C6; }
.f-bottom nav { display: flex; gap: 18px; }
.soc { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--night); }
.footer .soc { background: rgba(255,255,255,.1); color: #fff; }
.soc svg { width: 18px; height: 18px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: none; place-items: center; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Fenêtre de détail (étude de cas) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(11,42,74,.55); backdrop-filter: blur(6px); overflow-y: auto; padding: 16px; display: none; }
.modal.open { display: block; }
.modal .sheet-card { width: min(1120px, 100%); margin: 0 auto; background: #fff; border-radius: var(--r-xl); padding: 14px; animation: fadein .4s var(--ease); position: relative; }
.modal .x { position: absolute; top: 26px; right: 26px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.modal .x svg { width: 18px; height: 18px; }
.cs-hero { min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.cs-hero h2 { color: var(--night); margin: 0; padding: 16px 0 0 16px; font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; max-width: 20ch; }
.cs-hero h2 .a { color: var(--primary); display: block; }
.cs-hero .sub2 { position: relative; z-index: 2; font-weight: 500; font-size: 1.1rem; }
.cs-body { padding: clamp(20px, 4vw, 44px); display: grid; gap: 30px; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-block h3 { margin: 0 0 10px; font-size: .92rem; font-weight: 700; color: var(--primary); }
.cs-block p { margin: 0; color: var(--night); }
.cs-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cs-block li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.cs-block li svg { width: 18px; height: 18px; color: var(--primary); margin-top: 3px; }
.eco { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; padding: 26px; border-radius: var(--r-lg); background: var(--night); color: #fff; }
.eco span { padding: 12px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); font-weight: 700; text-transform: uppercase; font-size: .88rem; letter-spacing: .03em; }
.eco span.core { background: var(--primary); border-color: var(--primary); }
.eco svg { width: 22px; height: 22px; color: var(--accent); }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vals div { padding: 18px; border-radius: var(--r-md); background: var(--mist); }
.vals b { display: block; color: var(--primary); }
.vals span { font-size: .88rem; color: var(--soft); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat { padding: 20px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--night), var(--primary)); color: #fff; }
.stat b { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stat span { font-size: .85rem; opacity: .9; }
.cs-links { display: flex; flex-wrap: wrap; gap: 14px; }
.cs-link { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px 18px 12px 12px; border-radius: var(--r-lg); background: var(--mist); text-decoration: none; }
.cs-link .qr { width: 84px; height: 84px; background: #fff; border-radius: 10px; display: grid; place-items: center; padding: 6px; }
.cs-link .qr img, .cs-link .qr svg { width: 100%; height: 100%; }
.cs-link b { display: block; }
.cs-link small { color: var(--primary); font-weight: 600; word-break: break-all; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery button { border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4,17,31,.94); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; border-radius: 12px; }
.lightbox .x, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox .x { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; }
.lightbox .lb-next { right: 20px; top: 50%; }
.lightbox svg { width: 20px; height: 20px; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Pages simples (mentions, devis) ---------- */
.simple { width: min(900px, calc(100% - 32px)); margin: 110px auto 40px; }
.simple .card p { white-space: pre-line; color: var(--soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .bar-ctas .btn-ghost { display: none; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .steps .rail { display: none; }
  .step::before { top: -30px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .welcome, .about, .poles, .contact, .testi, .cs-cols { grid-template-columns: 1fr; }
  .pole-list { position: static; }
  .cases { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sectors .intro-cell { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .vals { grid-template-columns: 1fr 1fr; }
  .testi .portrait { max-width: 260px; }
  .profiles { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --notch: 22px; }
  .topbar { inset: 8px 0 auto; }
  .topbar .bar { padding: 8px 8px 8px 16px; }
  .bar-ctas { display: none; }
  .logo .word { font-size: .82rem; }
  main { padding-top: 80px; }
  .hero { padding: 8px; }
  .hero .visual { min-height: 0; padding-top: 0; }
  .hero .notch.tl { position: relative; padding-right: 20px; }
  .hero h1 { padding: 16px 0 0 12px; font-size: clamp(1.6rem, 8.2vw, 2.6rem); overflow-wrap: anywhere; }
  .tabs { flex-wrap: wrap; border-radius: 22px; }
  .tabs button { flex: 1 1 auto; }
  .coord b { font-size: .88rem; overflow-wrap: anywhere; }
  .hero .accroche { position: relative; top: auto; left: auto; margin: 22px 16px 0; border-radius: 18px !important; }
  .hero .intro { margin: 18px 12px 12px; padding: 20px; }
  .hero .notch.br { position: relative; margin: 0 0 0 auto; }
  .hero .big-motif { top: 150px; width: 320px; opacity: .45; }
  .card { border-radius: 24px; }
  .verbs { grid-template-columns: 1fr 1fr; }
  .pillars, .reason-grid, .team, .steps, .vals, .sectors { grid-template-columns: 1fr; }
  .hero h1 span { white-space: normal; }
  .member { aspect-ratio: 5/4; }
  .member .id small { max-height: 80px; opacity: 1; margin-top: 8px; }
  .conviction { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .reasons .visual { padding-top: 130px; }
  .f-grid { grid-template-columns: 1fr; }
  .wa-float { display: grid; }
  .cs-hero { min-height: 300px; padding: 18px; }
  .modal { padding: 0; }
  .modal .sheet-card { border-radius: 0; min-height: 100%; padding: 8px; }
  .modal .x { top: 16px; right: 16px; }
  .actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 span { opacity: 1; transform: none; }
}


/* ---------- Pages intérieures ---------- */
.page-head .visual { min-height: clamp(260px, 32vw, 340px); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.page-head .notch.tl { padding: 0 44px 24px 0; }
.page-head .crumb { margin: 0; padding: 18px 0 6px 18px; font-size: .82rem; font-weight: 600; color: var(--soft); }
.page-head .crumb a { color: var(--primary); text-decoration: none; }
.page-head .crumb a:hover { text-decoration: underline; }
.page-head h1.bi { padding-left: 18px; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.page-sub { position: relative; z-index: 2; align-self: flex-start; margin: 0; max-width: 560px; padding: 14px 22px; font-weight: 500; }
.legal-text p { white-space: pre-line; color: var(--soft); }
.legal-text p:first-child { margin-top: 0; }

/* ---------- Accueil ---------- */
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.home-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
.home-intro .big { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 300; line-height: 1.5; margin: 0; }
.home-intro .lead { margin: 16px 0 22px; }
.pole-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pole-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--mist); text-decoration: none; color: var(--night); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pole-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pole-card .visual { display: block; border-radius: 0; aspect-ratio: 5/4; }
.pole-card .visual .ic { position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); }
.pole-card .visual.theme-conseil .ic { background: var(--night); }
.pole-card .visual .ic svg { width: 24px; height: 24px; }
.pole-card .visual .num { position: absolute; top: 14px; right: 16px; font-family: var(--font-title); font-weight: 700; font-size: .85rem; opacity: .85; }
.pole-card .txt { padding: 16px 16px 18px; display: grid; gap: 6px; }
.pole-card b { font-family: var(--font-title); font-size: 1rem; line-height: 1.25; }
.pole-card small { color: var(--soft); font-size: .85rem; line-height: 1.45; }
.cases.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.case { text-decoration: none; color: inherit; }
.home-quote { text-align: center; padding-block: clamp(36px, 6vw, 72px); }
.home-quote .avatar { isolation: isolate; background: var(--night); position: relative; display: block; width: 104px; height: 104px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--mist); }
.home-quote .avatar .duo::after { display: none; }
.home-quote .avatar img { object-position: center 20%; }
.home-quote blockquote { margin: 0 auto; max-width: 46ch; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 300; font-style: italic; line-height: 1.55; position: relative; }
.home-quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--sky); font-style: normal; font-family: var(--font-title); }
.home-quote .who { margin: 22px auto 18px; max-width: none; }
.home-quote .who b { display: block; }
.home-quote .who span { color: var(--primary); font-weight: 600; font-size: .92rem; }
.cta-band { padding: clamp(24px, 4vw, 44px); padding-top: clamp(170px, 17vw, 210px); }
.cta-band .notch.tl { padding: 22px 44px 24px 22px; max-width: 72%; }
.cta-band .cta-txt { position: relative; z-index: 2; max-width: 60ch; font-weight: 300; font-size: 1.05rem; margin: 0 0 20px; }
.cta-band .row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1100px) {
  .pole-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-intro, .cases.three { grid-template-columns: 1fr; }
  .pole-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .page-head .notch.tl { position: relative; padding-right: 20px; }
  .page-head .visual { min-height: 0; padding: 0 0 16px; }
  .page-sub { margin: 16px 12px 0; }
  .cta-band { padding: 0 12px 20px; }
  .cta-band .notch.tl { position: relative; max-width: none; padding-right: 20px; margin: 0 -12px 20px; }
  .pole-cards { grid-template-columns: 1fr; gap: 8px; }
  .pole-card { flex-direction: row; align-items: center; }
  .pole-card .visual { width: 88px; aspect-ratio: 1; flex-shrink: 0; }
  .pole-card .visual .num { display: none; }
  .pole-card .visual .ic { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
  .pole-card .txt { padding: 12px 14px; }
  .logo img { height: 34px; }
}

/* ---------- Photos du site ---------- */
.visual.has-img > .pattern { opacity: .18; }
.visual.has-img .grid-lines { opacity: .5; }
.visual.has-img.theme-conseil { color: #fff; }
.hero .visual.has-img .duo::after { background: linear-gradient(95deg, rgba(11,42,74,.72) 0%, rgba(11,42,74,.35) 45%, rgba(11,42,74,0) 75%), linear-gradient(180deg, rgba(11,42,74,0) 55%, rgba(11,42,74,.45)); }
.page-head .visual.has-img .duo::after { background: linear-gradient(95deg, rgba(11,42,74,.65), rgba(11,42,74,.1) 70%); }
.pole-panel .visual.has-img .duo::after, .pole-card .visual.has-img .duo::after { background: linear-gradient(180deg, rgba(11,42,74,.1), rgba(11,42,74,.7)); }

/* ---------- Animations ---------- */
body { animation: pagein .55s var(--ease) both; }
@keyframes pagein { from { opacity: 0; } }
body.leaving { opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease; }

/* Zoom lent des photos de bandeau */
.duo.kb img { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

/* Entrée échelonnée du bandeau d'accueil */
.hero .accroche, .hero .intro, .hero .badge { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.hero .accroche { animation-delay: .38s; }
.hero .intro { animation-delay: .52s; }
.hero .badge { animation-delay: .7s; }
.hero .accroche.glass { animation: rise .9s var(--ease) .38s forwards, floaty 6s ease-in-out 1.4s infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.hero .badge .ring { position: relative; }
.hero .badge .ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #fff; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* Bandeau des pages intérieures */
.page-head h1.bi span { display: block; opacity: 0; transform: translateY(26px); animation: rise .85s var(--ease) forwards; }
.page-head h1.bi .b { animation-delay: .12s; }
.page-head .crumb { opacity: 0; animation: rise .6s var(--ease) .05s forwards; }
.page-head .page-sub { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) .32s forwards; }

/* Titres de section : révélation ligne par ligne */
h2.bi.rt span { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path .9s var(--ease), transform .9s var(--ease); }
h2.bi.rt .b { transition-delay: .12s; }
h2.bi.rt.in span { clip-path: inset(0 0 -10% 0); transform: none; }

/* Survols : les images respirent */
.case .duo img, .pole-card .duo img, .work .duo img, .member .duo img { transition: transform 1s var(--ease); }
.case:hover .duo img, .pole-card:hover .duo img, .work:hover .duo img, .member:hover .duo img { transform: scale(1.07); }
.pole-card .visual .ic { transition: transform .5s var(--ease), background .3s; }
.pole-card:hover .visual .ic { transform: scale(1.12) rotate(-6deg); background: var(--accent); }
.more svg, .case .go svg { transition: transform .3s var(--ease); }
.case:hover .go svg { transform: translateX(4px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.member .id { transform: translateY(0); }
.member:hover .id { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .hero .accroche, .hero .intro, .hero .badge, .page-head h1.bi span, .page-head .crumb, .page-head .page-sub { opacity: 1; transform: none; }
  h2.bi.rt span { clip-path: none; transform: none; }
  .duo.kb img { animation: none; }
}
@media (max-width: 680px) {
  .hero .visual.has-img .duo::after { background: linear-gradient(180deg, rgba(11,42,74,.5), rgba(11,42,74,.82)); }
  .hero .duo img { object-position: 80% center; }
}

/* ---------- Traitement des photos : teinte légère de marque ---------- */
.duo.tint, .duo.natural { background: var(--night); }
.duo.tint img, .duo.natural img { mix-blend-mode: normal; opacity: 1; }
.duo.tint::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, var(--night), var(--primary)); mix-blend-mode: color; opacity: .22; }
.duo::after { z-index: 2; }
.duo.deep:not(.tint):not(.natural) img { filter: grayscale(1) brightness(.72) contrast(1.18); }
.duo.deep.tint img, .duo.deep.natural img { filter: brightness(.88) saturate(1.05); }
.cs-hero.has-img .duo::after { background: linear-gradient(180deg, rgba(11,42,74,0) 40%, rgba(11,42,74,.7)); }
.cs-hero.has-img .sub2 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.gallery button.contain { background: #fff; border: 1px solid var(--line); }
.gallery button.contain img { object-fit: contain; padding: 8px; }
.lightbox img { background: #fff; }
.page-head .visual.has-img > .pattern, .cs-hero.has-img > .pattern { opacity: .08; }

/* ---------- Finitions ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--primary), var(--accent)); pointer-events: none; }
.hero .spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: radial-gradient(460px circle at var(--mx, 70%) var(--my, 40%), rgba(0,177,219,.32), rgba(0,177,219,0) 62%); mix-blend-mode: screen; }
.hero .visual.lit .spot { opacity: 1; }

.big-marquee { overflow: hidden; margin: 26px 0 8px; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bm-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.big-marquee:hover .bm-track { animation-play-state: paused; }
.bm-track span { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 1; letter-spacing: .01em; color: var(--night); white-space: nowrap; }
.bm-track span.o { color: transparent; -webkit-text-stroke: 1.6px var(--primary); }
.bm-track i { display: grid; place-items: center; width: clamp(38px, 4.4vw, 64px); height: clamp(38px, 4.4vw, 64px); border-radius: 50%; background: var(--night); flex-shrink: 0; }
.bm-track i img, .bm-track i svg { width: 62%; height: 62%; position: static; opacity: .95; }

.intro-curtain { position: fixed; inset: 0; z-index: 200; background: var(--night); display: grid; place-items: center; transition: transform .8s cubic-bezier(.7,0,.2,1); }
.intro-curtain img { width: min(340px, 64vw); opacity: 0; transform: scale(.92); animation: introLogo .9s cubic-bezier(.2,.7,.2,1) .05s forwards; }
.intro-curtain::after { content: ""; position: absolute; left: 50%; bottom: 36%; width: 120px; height: 2px; margin-left: -60px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: scaleX(0); animation: introLine .9s ease .25s forwards; }
.intro-curtain.lift { transform: translateY(-100%); }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introLine { to { transform: scaleX(1.6); } }
body.intro-run .hero h1 span, body.intro-run .hero .accroche, body.intro-run .hero .intro, body.intro-run .hero .badge { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .bm-track { animation: none; } .intro-curtain { display: none; } }
