/* ─────────────────────────────────────────────
   NYNDRA — Studio de création digitale
   ───────────────────────────────────────────── */

/* Polices hébergées sur le site (pas d'appel à Google : plus rapide, et aucune IP de visiteur transmise à un tiers — RGPD).
   Licence SIL Open Font License : Bebas Neue (Dharma Type), Manrope (Mikhail Sharanda). */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bebas-neue-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bebas-neue-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #140c24;
  --bg-2: #1b1130;
  --surface: rgba(255, 255, 255, .045);
  --border: rgba(255, 255, 255, .1);
  --text: #f7eff8;
  --muted: #b7a6c8;
  --sun: #ff9f6b;
  --rose: #ec4899;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, var(--sun), var(--rose) 40%, var(--violet) 72%, var(--cyan));
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 400; }
p { margin: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
::selection { background: var(--rose); color: #fff; }

/* ── Boutons ── */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px var(--body); letter-spacing: .02em; cursor: pointer; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); background-size: 150% 100%; color: #1b0f2c; box-shadow: 0 10px 30px -10px rgba(240, 130, 120, .7); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(240, 130, 120, .9); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
.btn-whatsapp { background: #25d366; color: #06301a; margin-top: 28px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.is-loading .btn-label { opacity: .5; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(20, 12, 36, .72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1280px, 100% - 40px); margin: auto; height: 76px; }
.nav-links { display: flex; gap: 38px; list-style: none; margin: 0; padding: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav-right { justify-content: flex-end; align-items: center; }
.nav-links a:not(.nav-cta) { position: relative; opacity: .85; transition: opacity .3s; text-shadow: 0 1px 8px rgba(5, 3, 18, .85); }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--sun); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 9px 20px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; transition: background .3s, color .3s; }
.nav-cta:hover { background: #fff; color: var(--bg); }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-mark { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-3px) scale(1.06); }
.burger { display: none; }
.mobile-menu { display: none; }

/* ── Hero ── */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene { background: #140c24; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.scene-nebula { mix-blend-mode: screen; } /* la nébuleuse s'ajoute à la lumière du ciel */
/* Haut assombri (menu lisible) + fondu vers la page en bas */
.scene::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 2, 13, .6) 0%, rgba(3, 2, 13, 0) 16%, rgba(20, 12, 36, 0) 72%, #140c24 100%);
}
/* Grain très léger par-dessus l'aurore : casse le côté « dégradé numérique » */
.scene::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; padding: clamp(120px, 20vh, 200px) 20px 0; text-align: center; }
.hero-title { font: 400 clamp(64px, 13vw, 190px)/.9 var(--display); letter-spacing: .32em; margin-right: -.32em; color: #fff; text-shadow: 0 0 60px rgba(139, 92, 246, .55), 0 6px 30px rgba(10, 5, 30, .5); display: flex; }
.hero-title span { display: inline-block; opacity: 0; transform: translateY(50px) scale(.96); animation: letter 1.2s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .08s); }
@keyframes letter { to { opacity: 1; transform: none; } }
.hero-content::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 44%; width: min(1150px, 120vw); height: min(620px, 78vh); transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 3, 18, .62), rgba(5, 3, 18, .3) 62%, rgba(5, 3, 18, 0)); }
.hero-cta .btn-ghost { background: rgba(10, 6, 28, .55); border-color: rgba(255, 255, 255, .38); color: #fff; backdrop-filter: blur(14px); }
.hero-cta .btn-ghost:hover { background: rgba(10, 6, 28, .7); border-color: rgba(255, 255, 255, .6); }
.hero-sub { margin-top: clamp(12px, 1vw, 16px); font-size: clamp(12px, 1.4vw, 16px); letter-spacing: .55em; text-transform: uppercase; font-weight: 600; color: #fff; text-shadow: 0 1px 10px rgba(5, 3, 18, .95), 0 0 26px rgba(5, 3, 18, .7); opacity: 0; animation: fadeUp 1s var(--ease) 1s forwards; }
.hero-pitch { margin-top: 26px; font-size: clamp(17px, 2vw, 22px); font-weight: 500; color: #fff; opacity: 0; animation: fadeUp 1s var(--ease) 1.2s forwards; text-shadow: 0 1px 12px rgba(5, 3, 18, .95), 0 0 34px rgba(5, 3, 18, .7); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 20px; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Bandeau défilant ── */
/* ── Sections ── */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sun); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section h2 { font: 400 clamp(44px, 6.4vw, 84px)/.98 var(--display); letter-spacing: .02em; }
.section h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-text { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 620px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Lueur au survol (commune aux cartes) */
.service-card, .work-card { position: relative; isolation: isolate; }
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 159, 107, .14), transparent 60%);
}
.service-card:hover::before { opacity: 1; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { padding: 34px 28px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 159, 107, .4); }
.service-card h3 { font: 400 27px var(--display); letter-spacing: .03em; margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Scène animée en tête de carte : chaque service a son illustration et sa couleur */
.service-visual { position: relative; height: 150px; margin: -34px -28px 22px; border-radius: var(--radius) var(--radius) 0 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.service-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% -10%, rgba(255, 255, 255, .35), transparent 60%); mix-blend-mode: overlay; pointer-events: none; }
.service-visual::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -18px 24px -12px rgba(15, 8, 28, .35); pointer-events: none; }
/* Hauteur fixe : le dessin tient TOUJOURS entièrement dans le cadre (il était rogné avant) */
.visual-svg { display: block; height: 118px; width: auto; max-width: 88%; overflow: visible; filter: drop-shadow(0 8px 16px rgba(10, 5, 20, .22)); transition: transform .6s var(--ease); }
.service-card:hover .visual-svg, .service-card:focus-visible .visual-svg { transform: scale(1.07) translateY(-2px); }
.visual-svg [class^="v-"], .visual-svg [class*=" v-"] { transform-box: fill-box; transform-origin: center; }

.visual-sites       { background: linear-gradient(135deg, #ffb27a, #e0708f); }
.visual-apps        { background: linear-gradient(135deg, #6fd8ec, #4b6bd6); }
.visual-ecom        { background: linear-gradient(135deg, #ffd479, #ff9a4d); }
.visual-identite    { background: linear-gradient(135deg, #f78ad0, #9b6bd6); }
.visual-conseil     { background: linear-gradient(135deg, #85eec0, #2fae8a); }
.visual-maintenance { background: linear-gradient(135deg, #9ab4ff, #6b6bd6); }
.visual-plus        { background: var(--grad); }

/* Sites vitrines : la page se construit, puis le curseur clique sur le bouton */
.visual-sites .v-frame { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .85); stroke-width: 2; }
.visual-sites .v-sep { stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; }
.visual-sites .v-dot { fill: rgba(255, 255, 255, .9); }
.visual-sites .v-url { fill: rgba(255, 255, 255, .35); }
.visual-sites .v-hero { fill: rgba(255, 255, 255, .9); transform-origin: left center; animation: siteBuild 4.4s var(--ease) infinite; }
.visual-sites .v-txt { fill: #fff; transform-origin: left center; animation: siteBuild 4.4s var(--ease) infinite; }
.visual-sites .v-txt-1 { animation-delay: .25s; }
.visual-sites .v-txt-2 { animation-delay: .4s; }
.visual-sites .v-btn { fill: #fff; animation: siteBtn 4.4s ease-in-out infinite; }
.visual-sites .v-pointer { fill: #fff; stroke: #c25670; stroke-width: 1; transform-box: view-box; transform-origin: 0 0; animation: sitePointer 4.4s var(--ease) infinite; }
@keyframes siteBuild { 0% { transform: scaleX(.08); opacity: 0; } 22%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes siteBtn { 0%, 40% { transform: scale(0); } 50%, 62% { transform: scale(1); } 66% { transform: scale(.88); fill: #ffe3c4; } 72%, 88% { transform: scale(1); } 100% { transform: scale(1); opacity: 0; } }
@keyframes sitePointer { 0%, 40% { transform: translate(62px, 96px); opacity: 0; } 46% { opacity: 1; } 62% { transform: translate(118px, 68px); } 66% { transform: translate(118px, 68px) scale(.82); } 72%, 88% { transform: translate(118px, 68px); opacity: 1; } 100% { transform: translate(118px, 68px); opacity: 0; } }

/* Applications & jeux vidéo : les applis apparaissent sur le téléphone, la manette flotte */
.visual-apps .v-phone { fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .9); stroke-width: 2.2; }
.visual-apps .v-notch, .visual-apps .v-homebar { fill: rgba(255, 255, 255, .7); }
.visual-apps .v-tile { fill: #fff; animation: appTile 4s var(--ease) infinite; }
.visual-apps .v-tile-2 { animation-delay: .12s; } .visual-apps .v-tile-3 { animation-delay: .24s; }
.visual-apps .v-tile-4 { animation-delay: .36s; } .visual-apps .v-tile-5 { animation-delay: .48s; } .visual-apps .v-tile-6 { animation-delay: .6s; }
.visual-apps .v-pad { animation: floaty 3s ease-in-out infinite; }
.visual-apps .v-pad-body { fill: #fff; }
.visual-apps .v-dpad { fill: #4b6bd6; }
.visual-apps .v-key { fill: #4b6bd6; }
.visual-apps .v-key-a { animation: keyPress 1.6s steps(1) infinite; }
.visual-apps .v-key-b { animation: keyPress 1.6s steps(1) .8s infinite; }
.visual-apps .v-star { fill: #fff; animation: twinkle 2.2s ease-in-out infinite; }
@keyframes appTile { 0% { transform: scale(0); opacity: 0; } 18%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes keyPress { 0%, 49% { fill: #4b6bd6; } 50%, 100% { fill: #ff8fb1; } }
@keyframes twinkle { 0%, 100% { transform: scale(.5) rotate(0deg); opacity: .4; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

/* E-commerce : un article tombe dans le sac, l'étiquette se balance, le paiement est validé */
.visual-ecom .v-bag { fill: rgba(255, 255, 255, .96); }
.visual-ecom .v-handle { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; }
.visual-ecom .v-item { fill: #c4581f; animation: ecomDrop 3.4s cubic-bezier(.5, 0, .75, 0) infinite; }
.visual-ecom .v-tag { animation: swing 2.6s ease-in-out infinite; transform-origin: 0% 50%; }
.visual-ecom .v-tag path, .visual-ecom .v-tag rect { fill: rgba(255, 255, 255, .95); }
.visual-ecom .v-tag circle { fill: #ff9a4d; }
.visual-ecom .v-tag rect { fill: #ffb27a; }
.visual-ecom .v-badge { fill: #2fae8a; stroke: #fff; stroke-width: 2; animation: ecomPop 3.4s var(--ease) infinite; }
.visual-ecom .v-badge-check { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; animation: ecomCheck 3.4s ease-in-out infinite; }
@keyframes ecomDrop { 0% { transform: translateY(-30px); opacity: 0; } 15% { opacity: 1; } 45%, 100% { transform: translateY(26px); opacity: 0; } 44% { opacity: 1; } }
@keyframes swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes ecomPop { 0%, 45% { transform: scale(0); } 55% { transform: scale(1.15); } 62%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes ecomCheck { 0%, 55% { stroke-dashoffset: 16; } 70%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 16; } }

/* Identité visuelle : le logo se dessine, la typographie et le nuancier apparaissent */
.visual-identite .v-ring { fill: rgba(255, 255, 255, .14); stroke: #fff; stroke-width: 3; stroke-dasharray: 190; animation: idDraw 4.6s ease-in-out infinite; }
.visual-identite .v-mark { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; animation: idDraw2 4.6s ease-in-out infinite; }
.visual-identite .v-type { font: 700 32px Manrope, system-ui, sans-serif; fill: #fff; letter-spacing: -.5px; animation: idFade 4.6s ease-in-out infinite; }
.visual-identite .v-baseline { stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; stroke-dasharray: 3 3; }
.visual-identite .v-sw { animation: idSwatch 4.6s var(--ease) infinite; }
.visual-identite .v-sw-1 { fill: #ffe0b0; animation-delay: .9s; }
.visual-identite .v-sw-2 { fill: #ffffff; animation-delay: 1.05s; }
.visual-identite .v-sw-3 { fill: #3b2a6e; animation-delay: 1.2s; }
@keyframes idDraw { 0% { stroke-dashoffset: 190; } 30%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes idDraw2 { 0%, 15% { stroke-dashoffset: 80; } 40%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes idFade { 0%, 20% { opacity: 0; transform: translateY(6px); } 35%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes idSwatch { 0% { transform: scale(0); } 12%, 70% { transform: scale(1); } 80% { transform: scale(1.12); } 90% { transform: scale(1); } 100% { transform: scale(0); } }

/* Conseil & stratégie : les barres poussent, la tendance grimpe */
.visual-conseil .v-axis { stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-linecap: round; }
.visual-conseil .v-chartbar { fill: rgba(255, 255, 255, .9); transform-origin: bottom center; animation: growY 3.6s var(--ease) infinite; }
.visual-conseil .v-chartbar-2 { animation-delay: .12s; } .visual-conseil .v-chartbar-3 { animation-delay: .24s; } .visual-conseil .v-chartbar-4 { animation-delay: .36s; }
.visual-conseil .v-trend { fill: none; stroke: #1f6f57; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 130; animation: trendDraw 3.6s ease-in-out infinite; }
.visual-conseil .v-arrow { fill: none; stroke: #1f6f57; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: trendArrow 3.6s ease-in-out infinite; }
@keyframes growY { 0%, 100% { transform: scaleY(.3); } 35%, 85% { transform: scaleY(1); } }
@keyframes trendDraw { 0%, 25% { stroke-dashoffset: 130; } 65%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes trendArrow { 0%, 60% { opacity: 0; transform: translate(-4px, 4px); } 70%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Maintenance & SEO : recherche Google, votre site remonte de la 3e à la 1re place ; l'engrenage tourne */
.visual-maintenance .v-search, .visual-maintenance .v-panel { fill: #fff; }
.visual-maintenance .v-mag { fill: none; stroke: #6b6bd6; stroke-width: 2; stroke-linecap: round; }
.visual-maintenance .v-query { fill: #b9b9f3; transform-origin: left center; animation: seoType 5s steps(8) infinite; }
.visual-maintenance .v-row { fill: #d4d6f4; animation: seoDown 5s var(--ease) infinite; }
.visual-maintenance .v-me { fill: #6b6bd6; animation: seoUp 5s var(--ease) infinite; }
.visual-maintenance .v-me-bg { fill: #fff4dc; stroke: #ffb547; stroke-width: 1.4; }
.visual-maintenance .v-me circle { fill: #ffb547; }
.visual-maintenance .v-up { fill: none; stroke: #2fae8a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: seoArrow 5s ease-in-out infinite; }
.visual-maintenance .v-gear { animation: spin 6s linear infinite; }
.visual-maintenance .v-gear-teeth { fill: #8f8fe6; }
.visual-maintenance .v-gear-core { fill: #fff; }
@keyframes seoType { 0% { transform: scaleX(0); } 20%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes seoUp { 0%, 25% { transform: translateY(0); } 55%, 90% { transform: translateY(-32px); } 100% { transform: translateY(0); } }
@keyframes seoDown { 0%, 25% { transform: translateY(0); } 55%, 90% { transform: translateY(16px); } 100% { transform: translateY(0); } }
@keyframes seoArrow { 0%, 25% { opacity: 0; transform: translateY(3px); } 40% { opacity: 1; transform: translateY(-2px); } 55%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
/* Bannière « et bien plus encore » */
.service-more {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 26px; padding: 22px 30px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 159, 107, .1), rgba(139, 92, 246, .1)); border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .4s;
}
.service-more:hover { transform: translateY(-4px); border-color: rgba(255, 159, 107, .4); }
.service-more .service-visual { flex: none; width: 120px; height: 88px; margin: 0; border-radius: 16px; }
.service-more-text { flex: 1; }
.service-more h3 { font: 400 24px var(--display); letter-spacing: .03em; margin-bottom: 4px; }
.service-more p { color: var(--muted); font-size: 14.5px; }
.service-more-arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 18px; transition: background .4s, color .4s, transform .5s var(--ease); }
.service-more:hover .service-more-arrow { background: var(--sun); color: var(--bg); transform: rotate(45deg); }
.visual-plus .v-core { fill: rgba(255, 255, 255, .2); stroke: #fff; stroke-width: 2; }
.visual-plus .v-core-plus { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.visual-plus .v-orbit { fill: #fff; transform-origin: 60px 45px; animation: spin linear infinite; }
.visual-plus .v-orbit-1 { animation-duration: 5s; }
.visual-plus .v-orbit-2 { animation-duration: 8s; animation-direction: reverse; }
.visual-plus .v-orbit-3 { animation-duration: 11s; }

@media (max-width: 700px) {
  .service-more { flex-wrap: wrap; }
  .service-more-arrow { display: none; }
}

/* ── Réalisations (piste horizontale) ── */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.work-counter { font: 400 22px var(--display); letter-spacing: .12em; color: var(--muted); margin-bottom: clamp(44px, 6vw, 72px); min-width: 150px; text-align: right; }
.work-counter b { font-weight: 400; color: var(--text); font-size: 40px; }
.work-progress { height: 2px; background: var(--border); margin-top: 10px; overflow: hidden; }
.work-progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.work-track {
  --gutter: max(20px, (100vw - 1180px) / 2);
  position: relative; display: flex; gap: 28px; padding: 0 var(--gutter) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-card { flex: 0 0 min(82vw, 620px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: border-color .4s; }
.work-card:hover { border-color: rgba(255, 159, 107, .35); }
.work-visual { aspect-ratio: 16 / 10; padding: 34px 34px 0; background: linear-gradient(140deg, var(--c1), var(--c2)); display: flex; align-items: flex-end; overflow: hidden; position: relative; }
.work-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .25), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.work-card:hover .work-visual::after { opacity: 1; }
.browser { width: 100%; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.browser-body { transform: translateY(8px); transition: transform .8s var(--ease); }
.work-card:hover .browser-body { transform: translateY(-6px); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #eee; }
.browser-url { margin-left: 10px; padding: 2px 12px; border-radius: 20px; background: #f3eff6; color: #6b5f78; font-size: 11px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e3dce8; }
.browser-body { padding: 0; overflow: hidden; }
.browser-body img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8.6; object-fit: cover; object-position: top center; }
.work-info em { font-style: normal; color: var(--sun); }
.work-card.is-soon .browser-body img { filter: saturate(.85); }
.work-info { padding: 22px 26px; display: flex; align-items: center; gap: 18px; }
.work-info > div { flex: 1; }
.work-num { font: 400 18px var(--display); color: var(--sun); letter-spacing: .1em; }
.work-info h3 { font: 400 30px var(--display); letter-spacing: .05em; }
.work-info p { color: var(--muted); font-size: 14px; }
.work-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 18px; transition: background .4s, color .4s, transform .5s var(--ease); }
.work-card:hover .work-arrow { background: var(--sun); color: var(--bg); transform: rotate(45deg); }
.work-next { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 50px; flex-basis: min(82vw, 460px); background: linear-gradient(160deg, rgba(255, 159, 107, .12), rgba(139, 92, 246, .12)); }
.work-next b { font: 400 clamp(64px, 8vw, 110px)/.9 var(--display); letter-spacing: .02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.work-next .eyebrow { margin: 0; }
@media (min-width: 901px) {
  .has-gsap .work-section { padding: 0; }
  .has-gsap .work-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .has-gsap .work-track { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .has-gsap .work-card { flex-basis: min(46vw, 640px); }
  .has-gsap .work-next { flex-basis: min(34vw, 460px); }
  .has-gsap .work-visual { aspect-ratio: 16 / 9.5; }
}

/* ── Chiffres ── */
.stats { padding: 20px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); }
.stat { padding: 46px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat b { display: block; font: 400 clamp(48px, 6vw, 76px)/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .03em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ── Méthode ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 0 0; border-top: 1px solid var(--border); }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--grad); transition: width 1.2s var(--ease) .3s; }
.step.is-in::before { width: 100%; }
.step-num { font: 400 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); display: block; margin-bottom: 18px; }
.step h3 { font: 400 30px var(--display); letter-spacing: .04em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .3s; }
.faq-item[open] { border-color: rgba(255, 159, 107, .4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; background: var(--sun); transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 26px 24px; color: var(--muted); }

/* ── Contact ── */
.contact { overflow: hidden; }
.contact-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -30%); background: radial-gradient(circle, rgba(236, 72, 153, .22), rgba(139, 92, 246, .08) 45%, transparent 70%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); }
.contact-form { padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: rgba(27, 17, 48, .75); border: 1px solid var(--border); backdrop-filter: blur(20px); display: grid; gap: 18px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .04);
  color: var(--text); font: 15px var(--body); transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b7a6c8' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(255, 159, 107, .15); }
.field.has-error input, .field.has-error textarea { border-color: #ff6b7d; }
.hp { position: absolute; left: -9999px; }

.field-consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.field-consent input { appearance: none; width: 20px; height: 20px; padding: 0; min-width: 0; margin-top: 1px; border-radius: 6px; border: 1px solid var(--border); background: rgba(255, 255, 255, .04); cursor: pointer; transition: border-color .3s, background .3s; position: relative; }
.field-consent input:checked { background: var(--grad); border-color: transparent; }
.field-consent input:checked::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3 6.5 11.3 12.5 4.5' fill='none' stroke='%231b0f2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/60% no-repeat; }
.field-consent input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255, 159, 107, .2); }
.field-consent span { font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.field-consent a { color: var(--sun); text-decoration: underline; text-underline-offset: 2px; }
.field-consent.has-error input { border-color: #ff6b7d; box-shadow: 0 0 0 4px rgba(255, 107, 125, .15); }
.form-status { min-height: 1.4em; font-size: 14px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-status.is-ok { color: #8ee6b0; }
.form-status.is-error, .form-error { color: #ff8a98; }
.status-check { width: 0; height: 20px; flex: none; opacity: 0; overflow: visible; transition: width .3s var(--ease); }
.status-check circle { fill: none; stroke: #8ee6b0; stroke-width: 2; stroke-dasharray: 63; stroke-dashoffset: 63; }
.status-check path { fill: none; stroke: #8ee6b0; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; }
.form-status.is-ok .status-check {
  width: 20px; opacity: 1;
  animation: statusCheckIn .25s var(--ease) forwards;
}
.form-status.is-ok .status-check circle { animation: statusCircle .5s ease-out .05s forwards; }
.form-status.is-ok .status-check path { animation: statusTick .35s ease-out .35s forwards; }
@keyframes statusCheckIn { from { transform: scale(.6); } to { transform: scale(1); } }
@keyframes statusCircle { to { stroke-dashoffset: 0; } }
@keyframes statusTick { to { stroke-dashoffset: 0; } }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color .3s, color .3s; }
.footer-link:hover { color: var(--text); text-decoration-color: currentColor; }
.footer-legal { text-align: right; }

/* ── Pages légales (mentions, confidentialité) ── */
.legal-page { padding: clamp(120px, 16vw, 170px) 0 100px; }
.legal-page h1 { font: 400 clamp(36px, 6vw, 56px) var(--display); letter-spacing: .02em; margin-bottom: 8px; }
.legal-page .muted { margin-bottom: 48px; }
.legal-page h2 { font: 400 24px var(--display); letter-spacing: .03em; margin: 40px 0 14px; color: var(--sun); }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal-page p { margin-bottom: 14px; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal-page strong { color: var(--text); font-weight: 600; }
.legal-page a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .fill-in { background: rgba(255, 159, 107, .12); border: 1px dashed rgba(255, 159, 107, .5); border-radius: 6px; padding: 1px 8px; color: var(--sun); font-style: normal; }
.legal-page .back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 50px; font-size: 14px; }
.footer-logo span { font: 400 26px var(--display); letter-spacing: .3em; }
.footer-logo .logo-mark { width: 26px; height: 26px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; z-index: 40; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 1; }
.wa-float::before, .wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.6s ease-out infinite; }
.wa-float::after { animation-delay: 1.3s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ── Admin ── */
.admin { min-height: 100vh; background: radial-gradient(1000px 600px at 50% -10%, #3e2a6e, var(--bg)); }
.admin-login { width: min(380px, 100% - 40px); margin: 18vh auto 0; display: grid; gap: 16px; text-align: center; padding: 40px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.admin-login .logo-mark { width: 46px; height: 46px; margin: 0 auto; color: #fff; }
.admin-login h1, .admin-head h1 { font: 400 34px var(--display); letter-spacing: .08em; }
.admin-login input { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .05); color: var(--text); font: 15px var(--body); }
.admin-head { width: min(980px, 100% - 40px); margin: 40px auto 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pill { font: 700 13px var(--body); letter-spacing: 0; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #1b0f2c; vertical-align: middle; }
.admin-list { width: min(980px, 100% - 40px); margin: 0 auto 60px; display: grid; gap: 14px; }
.lead { padding: 24px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--sun); }
.lead.is-done { opacity: .55; border-left-color: var(--border); }
.lead-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.lead h2 { font: 700 19px var(--body); }
.lead h2 small { font-weight: 400; color: var(--muted); }
.lead-top .muted { font-size: 13px; margin-top: 4px; }
.lead-msg { margin: 16px 0 18px; white-space: normal; }
.lead-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────
   MOTION (GSAP) — chargement, curseur, plongée…
   ───────────────────────────────────────────── */
html.is-smooth, html.lenis { scroll-behavior: auto; }
html.lenis.lenis-stopped { overflow: hidden; }

/* Écran de chargement */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
  will-change: transform; animation: loaderFailsafe .6s 9s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 500px at 50% 60%, rgba(139, 92, 246, .26), rgba(34, 211, 238, .06) 45%, transparent 70%); }
.loader-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.loader-mark { width: 54px; height: 54px; color: #fff; overflow: visible; }
/* Entrée du logo en CSS : démarre dès le premier affichage, sans attendre les scripts */
.loader-mark rect { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: loaderDraw 1s .1s cubic-bezier(.6, 0, .3, 1) forwards, loaderFill .6s .9s ease forwards; }
.loader-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: loaderDraw .7s .55s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes loaderFill { to { fill-opacity: .16; } }
@keyframes loaderDraw { to { stroke-dashoffset: 0; } }
.loader-word { display: flex; overflow: hidden; font: 400 clamp(42px, 7vw, 84px)/1 var(--display); letter-spacing: .4em; margin-right: -.4em; }
.loader-word span { display: inline-block; transform: translateY(115%); animation: loaderRise .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.2s + var(--i) * .06s); }
@keyframes loaderRise { to { transform: none; } }
.js:not(.fonts-ok) .loader-word { opacity: 0; }
.js:not(.fonts-ok) .loader-word span { animation-play-state: paused; }
.loader-count { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(30px, 5vw, 56px); font: 400 clamp(56px, 9vw, 120px)/1 var(--display); color: rgba(255, 255, 255, .08); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.loader-bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
/* Les animations du hero attendent la fin du chargement */
.js body:not(.is-loaded) .hero-title span,
.js body:not(.is-loaded) .hero-sub,
.js body:not(.is-loaded) .hero-pitch,
.js body:not(.is-loaded) .hero-cta { animation-play-state: paused; }

/* Avec GSAP, l'entrée du hero est gérée en JS */
.has-gsap .hero-title span, .has-gsap .hero-sub, .has-gsap .hero-pitch, .has-gsap .hero-cta { animation: none; }

/* Rideau : la suite du site glisse par-dessus le hero figé */
.has-gsap main, .has-gsap .footer { position: relative; z-index: 2; background: var(--bg); }
.hero-spacer { position: relative; z-index: 2; pointer-events: none; }
.hero-spacer::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38vh; background: linear-gradient(180deg, rgba(20, 12, 36, 0), rgba(20, 12, 36, .75) 60%, var(--bg)); }

/* Plongée du hero */
.hero-dive-text {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; padding: 0 20px;
  font: 400 clamp(46px, 7.5vw, 120px)/.95 var(--display); letter-spacing: .02em; opacity: 0; pointer-events: none;
}
.hero-dive-inner { display: block; filter: drop-shadow(0 10px 40px rgba(40, 10, 70, .55)); }
.hero-dive-text em { font-style: normal; }
.hero-dive-text em .wi { background: linear-gradient(100deg, #ffe0b0, var(--sun) 40%, #ffb3c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-veil { position: absolute; inset: 0; z-index: 2; background: var(--bg); opacity: 0; pointer-events: none; }

/* Mots découpés */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; will-change: transform; }
.section h2 em .wi, .contact-intro h2 em .wi { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.section h2 em:has(.wi) { background: none; color: inherit; }

/* Transitions : GSAP pilote les transformations */
.has-gsap .btn { transition: box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s; }
.has-gsap .btn:hover { transform: none; }
.has-gsap .service-card { transition: border-color .4s; }
.has-gsap .service-card:hover { transform: none; }
.has-gsap .step-num {
  background: linear-gradient(90deg, var(--sun), var(--rose) 50%, transparent 50%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
}

/* Navigation masquée en descendant */
.nav { transition: background .4s, backdrop-filter .4s, border-color .4s, transform .6s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }

/* Curseur personnalisé */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label, .has-cursor select { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; background: #fff; transition: opacity .3s, width .3s, height .3s; }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .55); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .45s, border-color .45s, opacity .3s;
}
.cursor-label { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bg); opacity: 0; transform: scale(.5); transition: opacity .3s, transform .45s var(--ease); }
.cursor-hover .cursor-ring { width: 64px; height: 64px; background: rgba(255, 159, 107, .12); border-color: var(--sun); }
.cursor-hover .cursor-dot { background: var(--sun); }
.cursor-view .cursor-ring { width: 96px; height: 96px; background: #fff; border-color: #fff; }
.cursor-view .cursor-label { opacity: 1; transform: none; }
.cursor-view .cursor-dot, .cursor-out .cursor-dot, .cursor-out .cursor-ring { opacity: 0; }

/* Grand logo en pied de page */
.footer { overflow: hidden; }
.footer-giant { pointer-events: none; /* décoratif : ne doit jamais bloquer les liens du pied de page */
  font: 400 clamp(90px, 26vw, 400px)/.8 var(--display); letter-spacing: .12em; text-align: center; margin: 20px 0 40px; padding-left: .12em;
  background: linear-gradient(180deg, rgba(255, 159, 107, .9), rgba(139, 92, 246, .15) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .logo { justify-self: start; }
  .burger { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; justify-self: end; }
  .burger span { width: 26px; height: 1.5px; background: #fff; transition: transform .35s var(--ease); }
  .menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .mobile-menu { display: flex; flex-direction: column; gap: 6px; padding: 10px 20px 30px; background: rgba(20, 12, 36, .96); backdrop-filter: blur(16px); position: absolute; inset: 76px 0 auto; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease); height: calc(100vh - 76px); }
  .mobile-menu a:not(.btn) { font: 400 38px var(--display); letter-spacing: .06em; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin-top: 20px; }
  .menu-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .nav { background: rgba(20, 12, 36, .96); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .container, .container-narrow { width: calc(100% - 32px); }
  .services-grid, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: .18em; margin-right: -.18em; }
  .hero-sub { letter-spacing: .3em; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { width: 100%; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html:not(.force-motion) .reveal { opacity: 1; transform: none; }
}

/* ── Accessibilité & SEO : texte lu par Google et les lecteurs d'écran, invisible à l'écran ── */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-about { order: 9; flex-basis: 100%; max-width: 760px; font-size: 13px; line-height: 1.6; }

/* ── Page 404 ── */
.error-page { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 140px 20px 80px; gap: 18px; }
.error-page b { font: 400 clamp(110px, 22vw, 240px)/.85 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font: 400 clamp(30px, 4vw, 46px) var(--display); letter-spacing: .04em; }
.error-page .btn { justify-self: center; margin-top: 10px; }

/* ── Cartes de services cliquables → formulaire pré-rempli ── */
a.service-card { display: block; color: inherit; }
.service-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--sun); }
.service-cta i { font-style: normal; transition: transform .45s var(--ease); }
.service-card:hover .service-cta i, .service-card:focus-visible .service-cta i { transform: translate(3px, -3px); }

/* Petit éclat sur les champs remplis automatiquement, pour montrer ce qui a été pris en compte */
.is-flash select { animation: fieldFlash 1.4s var(--ease); }
@keyframes fieldFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 159, 107, 0); } 30% { box-shadow: 0 0 0 5px rgba(255, 159, 107, .35); border-color: var(--sun); } }
