/* ==========================================================================
   HostAura — sections de l'accueil et des pages d'expertise
   ========================================================================== */

/* ---------- Aura (fond lumineux de marque) ---------- */
.aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--aura-opacity); will-change: transform; }
.aura i:nth-child(1) { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: -8%; top: -18%; background: radial-gradient(circle, #2f5fe6, transparent 68%); animation: drift 22s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 38vw; height: 38vw; max-width: 600px; max-height: 600px; right: -6%; top: 2%; background: radial-gradient(circle, #8b5cf6, transparent 68%); animation: drift 26s ease-in-out -6s infinite alternate-reverse; }
.aura i:nth-child(3) { width: 30vw; height: 30vw; max-width: 480px; max-height: 480px; left: 38%; bottom: -14%; background: radial-gradient(circle, #06b6d4, transparent 68%); animation: drift 30s ease-in-out -12s infinite alternate; }
@keyframes drift { to { transform: translate3d(6vw, 4vw, 0) scale(1.12); } }
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); margin-top: 1.4rem; letter-spacing: -0.035em; line-height: 1.02; }
.hero .lead { margin-top: 1.5rem; max-width: 34rem; color: var(--text-dim); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 2.2rem; color: var(--text-mute); font-size: 0.9rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.6rem; }
/* Puce hexagonale : reprend la forme du logo */
.hero-proof li::before { content: ""; flex: none; width: 0.92rem; height: 0.8rem; background: var(--grad-brand); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }

/* Les mots inactifs restent à opacity 0.01 (et non 0) : ils sont peints dès le premier rendu, donc la surface
   du H1 (candidat LCP) ne change plus quand un mot plus large apparaît. */
.rotator { display: inline-grid; vertical-align: baseline; }
.rotator > span {
  grid-area: 1 / 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.08em; opacity: 0.01; transform: translateY(0.45em); filter: blur(8px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease);
}
.rotator > span.on { opacity: 1; transform: none; filter: none; }

/* Mini-fenêtres et squelettes : partagés avec les cartes d'expertise (vis-web) */
.win-bar { display: flex; align-items: center; gap: 1.1cqw; height: 7.4cqw; padding-inline: 2.4cqw; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.win-bar i { width: 1.7cqw; height: 1.7cqw; border-radius: 50%; background: var(--line-strong); }
.win-bar i:nth-child(1) { background: #ff6058; } .win-bar i:nth-child(2) { background: #ffbd2e; } .win-bar i:nth-child(3) { background: #27c93f; }
.win-bar .url { margin-left: 2cqw; flex: 1; height: 4.2cqw; border-radius: 99px; background: var(--bg); color: var(--text-mute); font: 500 1.9cqw/4.2cqw var(--font-mono); padding-inline: 2.2cqw; white-space: nowrap; overflow: hidden; }
.sk { height: 1.9cqw; border-radius: 99px; background: var(--line-strong); }
.sk.w40 { width: 40%; } .sk.w60 { width: 60%; } .sk.w80 { width: 80%; }
.sk.h { height: 4.2cqw; width: 72%; background: var(--grad-text); }
.sk.btn-sk { height: 4.4cqw; width: 22%; margin-top: 1cqw; background: var(--grad-brand); }

/* ---------- Hero : constellation hexagonale (identité HostAura) ----------
   Le logo (un nuage dans un hexagone, deux nœuds reliés) rayonne au centre : l'« aura ».
   Les quatre expertises sont des satellites reliés au cœur, posés sur les sommets d'un hexagone. */
.hero { --px: 0; --py: 0; }

/* Réseau d'hexagones, qui s'estompe autour de la constellation */
.hex-bg {
  position: absolute; inset: -4%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 74% 46%, #000 8%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 70% at 74% 46%, #000 8%, transparent 70%);
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -14px), 0); transition: transform 0.6s var(--ease);
}
.hex-bg::before {
  content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--brand) 26%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='34.64' viewBox='0 0 60 34.64'%3E%3Cpath d='M10 0L20 17.32L40 17.32L50 0M20 17.32L10 34.64M40 17.32L50 34.64M0 0H10M50 0H60M0 34.64H10M50 34.64H60' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 84px 48.5px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='34.64' viewBox='0 0 60 34.64'%3E%3Cpath d='M10 0L20 17.32L40 17.32L50 0M20 17.32L10 34.64M40 17.32L50 34.64M0 0H10M50 0H60M0 34.64H10M50 34.64H60' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 84px 48.5px;
}

.constel {
  position: relative; container-type: inline-size; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center;
  transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * 12px), 0); transition: transform 0.6s var(--ease);
}
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings polygon { fill: none; stroke: var(--brand); transform-origin: 50% 50%; transform-box: view-box; }
.rings .frame { stroke-width: 1; opacity: 0.16; }
.rings .ring { stroke-width: 1.2; opacity: 0.32; stroke-dasharray: 2 9; stroke-linecap: round; animation: spin 140s linear infinite reverse; }
/* Ondes d'aura : des hexagones qui rayonnent depuis le logo */
.rings .wave { stroke-width: 1.6; opacity: 0; animation: wave 7s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.rings .wave:nth-of-type(2) { animation-delay: -2.33s; }
.rings .wave:nth-of-type(3) { animation-delay: -4.66s; }
@keyframes wave { 0% { transform: scale(0.28); opacity: 0.6; } 100% { transform: scale(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit { position: absolute; inset: 0; animation: spin 110s linear infinite; will-change: transform; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-svg .hexline { fill: none; stroke: var(--brand); stroke-width: 1.2; opacity: 0.42; }
.orbit-svg .spoke { stroke: var(--brand); stroke-width: 1.2; opacity: 0.28; }
/* Le flux : une impulsion part du cœur vers chaque satellite (comme un déploiement) */
.orbit-svg .flow { stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 94; opacity: 0.95; animation: flow 3.4s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.orbit-svg .node { fill: var(--bg); stroke: var(--brand); stroke-width: 2; }
.orbit-svg .node.on { fill: var(--brand-solid); stroke: none; }

/* Satellites : posés sur un sommet, contre-rotation pour rester droits ; la rotation s'arrête au survol / focus */
.sat { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.counter { position: absolute; left: 0; top: 0; animation: spin 110s linear infinite reverse; will-change: transform; }
.constel:hover .orbit, .constel:hover .counter, .constel:focus-within .orbit, .constel:focus-within .counter { animation-play-state: paused; }
.chip {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 0.6em; padding: 0.5em 1.05em 0.5em 0.5em; border-radius: 99px; white-space: nowrap;
  font: 600 max(12px, 2.5cqw)/1 var(--font-body); color: var(--text); background: var(--glass); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%); transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.chip:hover, .chip:focus-visible { transform: translate(-50%, -50%) scale(1.07); border-color: var(--brand); box-shadow: 0 14px 34px -10px rgb(47 95 230 / 0.55); }
.chip .ic { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; color: #fff; background: var(--grad-brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3); }
.chip .ic .i { width: 1.05em; height: 1.05em; stroke-width: 2; }

/* Cœur : le logo, entouré de son aura */
.core { position: absolute; left: 50%; top: 50%; width: 27cqw; height: 27cqw; transform: translate(-50%, -50%); z-index: 2; }
.core img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 12px 30px rgb(47 95 230 / 0.45)); }
.core-glow {
  position: absolute; inset: -65%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-solid) 50%, transparent), color-mix(in srgb, var(--violet) 18%, transparent) 42%, transparent 66%);
  animation: breathe 5.5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.8; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .constel { max-width: 480px; margin-top: 1rem; }
  .hex-bg { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 78%, #000 8%, transparent 70%); mask-image: radial-gradient(ellipse 80% 40% at 50% 78%, #000 8%, transparent 70%); }
}
/* Téléphone : hero simple, texte et boutons seulement (ni constellation, ni hexagones) */
@media (max-width: 640px) {
  .constel, .hex-bg { display: none; }
  .hero { padding-bottom: clamp(2rem, 8vw, 3rem); }
}

/* ---------- Bandeau de confiance & marquees ---------- */
.trust { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); position: relative; }
.trust-label { text-align: center; font: 500 0.8rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1.8rem; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); min-width: 100%; justify-content: space-around; animation: slide var(--speed, 40s) linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.logo-item { display: grid; place-items: center; height: 56px; flex: none; opacity: 0.72; transition: opacity 0.3s; }
.logo-item:hover { opacity: 1; }
.logo-item img { height: var(--h, 38px); width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.05); transition: filter 0.3s; }
.logo-item:hover img { filter: none; }
:root[data-theme="dark"] .logo-item img, :root[data-theme="dark"] .logo-item:hover img { filter: brightness(0) invert(1); }

/* ---------- Piliers (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.pillar { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); min-height: 27rem; }
.pillar > * { position: relative; z-index: 1; }
.pillar .kicker { font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-mute); }
.pillar h3 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.pillar p { color: var(--text-dim); max-width: 34rem; }
.pillar .more { margin-top: 0.4rem; }
.pillar.a { grid-column: span 7; } .pillar.b { grid-column: span 5; } .pillar.c { grid-column: span 5; } .pillar.d { grid-column: span 7; }
.pillar .vis { margin-top: auto; padding-top: 1.2rem; }
@media (max-width: 900px) { .pillar.a, .pillar.b, .pillar.c, .pillar.d { grid-column: 1 / -1; min-height: 0; } }

/* Mini-visuels réutilisés (accueil + expertises) */
.vis-web { border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--bg); overflow: hidden; box-shadow: var(--shadow-md); }
.vis-web .win-bar { height: 2rem; padding-inline: 0.8rem; gap: 0.35rem; }
.vis-web .win-bar i { width: 0.5rem; height: 0.5rem; }
.vis-web .win-bar .url { height: 1.2rem; font-size: 0.62rem; line-height: 1.2rem; padding-inline: 0.7rem; margin-left: 0.6rem; }
.vis-web .body { padding: 1.1rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; align-items: center; }
.vis-web .sk { height: 0.5rem; margin-bottom: 0.45rem; } .vis-web .sk.h { height: 1.05rem; margin-bottom: 0.7rem; } .vis-web .sk.btn-sk { height: 1.35rem; width: 38%; margin: 0.5rem 0 0; }
.vis-web .art { height: 5.6rem; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-solid) 60%, transparent), color-mix(in srgb, var(--violet) 45%, transparent) 60%, color-mix(in srgb, var(--cyan) 45%, transparent)); }
.vis-apps { display: flex; justify-content: center; gap: 1rem; align-items: flex-start; height: 13rem; overflow: hidden; }
.vis-apps .ph { width: 8.6rem; flex: none; height: 16rem; border-radius: 1.6rem 1.6rem 0 0; padding: 0.4rem 0.4rem 0; background: var(--surface-2); border: 1px solid var(--line-strong); border-bottom: 0; box-shadow: var(--shadow-md); }
.vis-apps .ph:nth-child(2) { margin-top: 1.8rem; }
.vis-apps .scr { height: 100%; border-radius: 1.25rem 1.25rem 0 0; background: var(--bg); padding: 0.9rem 0.7rem; display: grid; align-content: start; gap: 0.5rem; }
.vis-apps .scr .sk { height: 0.4rem; } .vis-apps .scr .sk.h { height: 0.8rem; }
.vis-apps .scr .blk { height: 3.1rem; border-radius: 0.7rem; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-solid) 55%, transparent), color-mix(in srgb, var(--cyan) 40%, transparent)); }
.vis-apps .ph:nth-child(2) .blk { background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 50%, transparent), color-mix(in srgb, var(--brand-solid) 40%, transparent)); }
.vis-apps .scr .row { display: flex; gap: 0.4rem; align-items: center; } .vis-apps .scr .row b { width: 1.1rem; height: 1.1rem; border-radius: 0.35rem; background: var(--surface-2); border: 1px solid var(--line); flex: none; } .vis-apps .scr .row .sk { flex: 1; }

.svc-vis .vis-apps .ph { width: min(10.4rem, 44%); flex: 0 1 auto; }
.code { margin: 0; padding: 1.1rem 1.25rem; border-radius: var(--r-m); background: #060a16; border: 1px solid rgb(255 255 255 / 0.12); color: #d7def5; font: 500 0.82rem/1.75 var(--font-mono); overflow-x: auto; box-shadow: var(--shadow-md); tab-size: 2; }
.code .k { color: #b39dff; } .code .s { color: #5eead4; } .code .f { color: #7ea6ff; } .code .c { color: #62709a; font-style: italic; } .code .n { color: #fbbf24; } .code .t { color: #f9a8d4; }
.code-head { display: flex; gap: 0.35rem; margin-bottom: 0.8rem; align-items: center; } .code-head i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ff6058; } .code-head i:nth-child(2) { background: #ffbd2e; } .code-head i:nth-child(3) { background: #27c93f; } .code-head span { margin-left: 0.6rem; color: #62709a; font-size: 0.72rem; }

.vis-infra { display: grid; gap: 0.6rem; }
.vis-infra .row { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 0.9rem; }
.vis-infra .row .i { color: var(--brand); width: 1.15rem; height: 1.15rem; }
.vis-infra .row em { margin-left: auto; font: 600 0.74rem/1 var(--font-mono); font-style: normal; color: var(--ok); display: inline-flex; gap: 0.45rem; align-items: center; }
.vis-infra .row em::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }

/* ---------- Tuiles « et aussi » ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.1rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { padding: 1.4rem; display: grid; gap: 0.7rem; align-content: start; }
.tile h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
.tile p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.55; }
.tile .icon-chip { width: 2.6rem; height: 2.6rem; border-radius: 12px; }
.tile .icon-chip .i { width: 1.25rem; height: 1.25rem; }

/* ---------- Technologies ---------- */
.stack-band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.stack-item { display: inline-flex; align-items: center; gap: 0.75rem; flex: none; color: var(--text-mute); font: 600 1.05rem/1 var(--font-display); letter-spacing: -0.01em; transition: color 0.25s; }
.stack-item .bi { width: 1.7rem; height: 1.7rem; }
.stack-item:hover { color: var(--text); }
.stack-note { text-align: center; color: var(--text-dim); margin: 0 auto 2.5rem; max-width: 38rem; }

/* ---------- Méthode ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.method-aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.method-aside h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 1rem; }
.method-aside p { margin-top: 1.1rem; color: var(--text-dim); max-width: 26rem; }
.method-aside .btn { margin-top: 1.8rem; }
.steps { counter-reset: step; position: relative; display: grid; gap: 1rem; }
.steps::before { content: ""; position: absolute; left: 1.55rem; top: 1.6rem; bottom: 1.6rem; width: 1px; background: linear-gradient(var(--line-strong), var(--line-strong)); }
.step { position: relative; display: grid; grid-template-columns: 3.1rem 1fr; gap: 1.3rem; padding: 1.4rem 1.5rem 1.4rem 1.1rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  font: 600 0.88rem/1 var(--font-mono); color: var(--brand); background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; z-index: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.step:hover::before { background: var(--grad-brand); color: #fff; border-color: transparent; }
.step h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.step p { margin-top: 0.55rem; color: var(--text-dim); font-size: 0.98rem; }
.step .tag { margin-top: 0.9rem; display: inline-block; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; } .method-aside { position: static; } }

/* ---------- Pourquoi HostAura ---------- */
.why { background: var(--bg-soft); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); gap: 1rem; }
.why-card { padding: 1.7rem; display: grid; gap: 0.9rem; align-content: start; }
.why-card h3 { font-size: 1.25rem; }
.why-card p { color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.2rem; }
.member { padding: 0.8rem 0.8rem 1.6rem; display: grid; gap: 1.2rem; align-content: start; }
.member .photo { position: relative; aspect-ratio: 1 / 1; border-radius: calc(var(--r-l) - 8px); overflow: hidden; background: var(--surface-2); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.4s; filter: saturate(0.9); }
.member:hover .photo img { transform: scale(1.04); filter: none; }
.member .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(5 9 20 / 0.55)); }
.member .skills { position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 1; display: flex; gap: 0.4rem; }
.member .skills span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; color: #fff; background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.member .skills .i { width: 1.05rem; height: 1.05rem; }
.member .info { padding-inline: 0.8rem; }
.member h3 { font-size: 1.5rem; }
.member .role { display: block; margin-top: 0.45rem; font: 600 0.76rem/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.member p { margin-top: 0.9rem; color: var(--text-dim); font-size: 0.96rem; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: stretch; }
.quote { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.2rem; align-content: space-between; }
.quote .stars { display: flex; gap: 0.15rem; color: #f5b301; }
.quote .stars .i { fill: currentColor; stroke: none; width: 1.1rem; height: 1.1rem; }
.quote blockquote { font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.5 var(--font-display); letter-spacing: -0.015em; }
.quote.small blockquote { font-size: 1.15rem; }
.quote .who { display: flex; align-items: center; gap: 0.85rem; }
.quote .who img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 0.2rem; }
.quote .who strong { display: block; font-weight: 600; }
.quote .who span { color: var(--text-mute); font-size: 0.88rem; }
.reviews-side { display: grid; gap: 1.2rem; }
.review-cta { padding: 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.review-cta h3 { font-size: 1.2rem; }
.review-cta p { color: var(--text-dim); font-size: 0.92rem; margin: 0.4rem 0 1rem; }
.review-cta img { width: 6.2rem; height: 6.2rem; border-radius: 12px; background: #fff; padding: 0.35rem; border: 1px solid var(--line); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); text-align: center; color: #fff; background: #0a1230; border: 1px solid rgb(255 255 255 / 0.12); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 15% 0%, rgb(47 95 230 / 0.85), transparent 70%), radial-gradient(50% 80% at 90% 100%, rgb(139 92 246 / 0.7), transparent 70%), radial-gradient(40% 60% at 60% 20%, rgb(6 182 212 / 0.35), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 40rem; margin-inline: auto; }
.cta-band p { margin: 1.2rem auto 0; max-width: 34rem; color: rgb(255 255 255 / 0.78); font-size: 1.1rem; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2.2rem; }
.cta-band .btn-light { background: #fff; color: #0a1230; }
.cta-band .btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgb(255 255 255 / 0.4); }
.cta-band .btn-outline { color: #fff; border-color: rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.06); }
.cta-band .btn-outline:hover { background: rgb(255 255 255 / 0.14); }

/* ---------- Pages internes : héros compact ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin-top: 1.2rem; max-width: 52rem; letter-spacing: -0.032em; }
.page-hero .lead { margin-top: 1.3rem; max-width: 40rem; color: var(--text-dim); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.anchor-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.anchor-chips a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-radius: 99px; font-size: 0.9rem; font-weight: 500; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s, transform 0.25s var(--ease); }
.anchor-chips a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.anchor-chips .i { width: 1.05em; height: 1.05em; color: var(--brand); }

/* ---------- Expertises détaillées ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc.flip .svc-vis { order: -1; }
.svc-copy .icon-chip { margin-bottom: 1.4rem; }
.svc-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.svc-copy > p { margin-top: 1rem; color: var(--text-dim); font-size: 1.05rem; }
.svc-copy h3 { font: 600 0.78rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); margin: 1.8rem 0 1rem; }
.svc-copy .tags { margin-top: 1.2rem; }
.svc-vis { position: relative; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; }
.svc-vis::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.7; background: radial-gradient(60% 70% at 80% 0%, color-mix(in srgb, var(--brand-solid) 22%, transparent), transparent 70%), radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--violet) 18%, transparent), transparent 70%); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc.flip .svc-vis { order: 0; } }

.stack-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.stack-cat { padding: 1.5rem; }
.stack-cat h3 { font: 600 0.8rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1.2rem; display: flex; gap: 0.6rem; align-items: center; }
.stack-cat h3 .i { color: var(--brand); }
.stack-cat ul { display: grid; gap: 0.85rem; }
.stack-cat li { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; }
.stack-cat li .bi { width: 1.35rem; height: 1.35rem; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 52rem; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; font: 600 1.08rem/1.35 var(--font-display); letter-spacing: -0.01em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; color: var(--brand); transition: transform 0.3s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .ans { padding: 0 1.4rem 1.3rem; color: var(--text-dim); }
.faq .ans a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages d'expertise détaillées ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem; color: var(--text-mute); font-size: 0.9rem; }
.crumbs a { color: var(--text-dim); transition: color 0.2s; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--text); font-weight: 500; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); align-items: start; }
.split h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 1.1rem 0 1.3rem; letter-spacing: -0.03em; }
.split h3 { font-size: 1.2rem; }
.prose p { color: var(--text-dim); font-size: clamp(1.02rem, 1.3vw, 1.14rem); line-height: 1.72; }
.prose p + p { margin-top: 1.1rem; }
.prose a, .faq .ans a, .more-links a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.why-card { color: inherit; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
a.why-card:hover { transform: translateY(-3px); }
a.why-card:hover h3 { color: var(--brand); }
.method-note { padding: clamp(1.6rem, 3.5vw, 2.6rem); max-width: 56rem; }
.method-note h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.8rem 0 1rem; letter-spacing: -0.03em; }
.method-note p { color: var(--text-dim); line-height: 1.7; }
.method-note p + p { margin-top: 0.9rem; }
.more-links { margin-top: 1rem; color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Avis supplémentaires ---------- */
.rating-line { margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; color: var(--text-dim); font-size: 0.98rem; }
.rating-line .stars { display: flex; gap: 0.1rem; color: #f5b301; }
.rating-line .stars .i { fill: currentColor; stroke: none; width: 1.05rem; height: 1.05rem; }
.rating-line a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.reviews-more { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.2rem; }
.quote .who .avatar { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font: 700 1.1rem var(--font-display); }
.reviews-foot { margin-top: 1.4rem; }
.why-card p a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
