/* Alizé Pixel Studio — DA : mode sombre, dégradés néon violet / cyan / rose */
:root {
  --bg: #07070D;
  --bg-2: #0F0F19;
  --card: #12121D;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --txt: #F3F3F8;
  --muted: #9A9AB0;
  --v: #7C3AED;
  --c: #22D3EE;
  --p: #F472B6;
  --c-ink: #07070D;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--txt); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Unbounded", sans-serif; font-weight: 500; line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.head { max-width: 760px; margin-bottom: 48px; }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-row h2 { margin: 0; }
.tag { font: 500 .85rem "Unbounded", sans-serif; color: var(--c); margin-bottom: 1rem; }
.muted { color: var(--muted); }
.grad-txt { color: var(--c); }

main, .nav, .foot { position: relative; z-index: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; font: 500 .95rem/1.2 "Inter", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s cubic-bezier(.22,1,.36,1), border-color .15s cubic-bezier(.22,1,.36,1), transform .12s cubic-bezier(.22,1,.36,1); color: var(--txt); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-grad { background: #EDEDF3; color: var(--c-ink); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.btn-grad:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,7,13,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 500 1.2rem "Unbounded", sans-serif; }
.logo b { font-weight: 500; color: var(--c); }
.logo-mark { display: grid; grid-template-columns: 10px 10px; gap: 3px; }
.logo-mark i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.logo-mark i:nth-child(2) { border-radius: 50%; background: #fff; }
.logo-mark i:nth-child(3) { grid-column: 2; }
.menu { display: flex; align-items: center; gap: 2rem; }
.menu a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .2s; }
.menu a:not(.btn):hover { color: var(--txt); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--txt); transition: transform .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero-in { position: relative; text-align: center; }
.pill { font-size: .95rem; color: var(--muted); margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); font-weight: 500; letter-spacing: -.03em; }
.lead { font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: var(--muted); max-width: 620px; margin: 0 auto; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin: 2.4rem 0 4rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.stats div { padding: 22px 12px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font: 500 clamp(1.5rem, 3vw, 2.2rem) "Unbounded", sans-serif; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; color: var(--muted); font-size: .85rem; }

/* Bandeau clients */
.ticker { border-block: 1px solid var(--line); padding: 20px 0; }
.ticker-in { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 3rem; padding: 0 16px; }
.ticker span { font: 500 1.05rem "Unbounded", sans-serif; color: #7A7A90; white-space: nowrap; }

/* Cartes "spot" : halo qui suit la souris */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.05), transparent 45%); opacity: 0; transition: opacity .3s; z-index: -1; pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; overflow: hidden; transition: border-color .18s cubic-bezier(.22,1,.36,1); }
.card:hover { border-color: var(--line-2); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); margin-bottom: 24px; }
.ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.c-web { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.c-brand { grid-column: span 2; }
.c-social { grid-column: span 1; grid-row: span 1; }
.mock { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; transform: perspective(900px) rotateX(10deg); transform-origin: bottom; transition: transform .5s; }
.c-web:hover .mock { transform: perspective(900px) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A2A3B; }
.mock-bar span { margin-left: 10px; font-size: .72rem; color: #5E5E74; }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.mock-body b { height: 12px; border-radius: 6px; background: var(--c); opacity: .9; width: 70%; }
.mock-body b + b { opacity: .35; width: 90%; background: #fff; }
.mock-body b.short { width: 40%; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.mock-grid u { height: 64px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.swatches { display: flex; gap: 8px; margin-top: 1.4rem; }
.swatches i { width: 38px; height: 38px; border-radius: 50%; background: var(--c); border: 2px solid var(--bg); transition: transform .3s; }
.c-brand:hover .swatches i { transform: translateY(-6px); }
.c-brand:hover .swatches i:nth-child(2) { transition-delay: .05s; } .c-brand:hover .swatches i:nth-child(3) { transition-delay: .1s; } .c-brand:hover .swatches i:nth-child(4) { transition-delay: .15s; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 1.2rem; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #34344A; transform-origin: bottom; transform: scaleY(.3); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.c-social.in .bars i, .c-social:hover .bars i { transform: scaleY(1); }
.bars i:last-child { background: var(--c); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; } .bars i:nth-child(5) { transition-delay: .32s; }

/* Projets */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; }
.filters button { font: 500 .9rem "Inter", sans-serif; padding: .5rem 1.1rem; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: all .25s; }
.filters button.on { background: var(--txt); color: var(--bg); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { text-decoration: none; display: block; transition: opacity .4s, transform .4s; }
.proj.hide { display: none; }
.proj.fade { opacity: 0; transform: scale(.96); }
.proj-img { border-radius: 16px; overflow: hidden; aspect-ratio: 7/5; border: 1px solid var(--line); position: relative; }
.proj-img::after { content: "Voir le projet ↗"; position: absolute; inset: auto 14px 14px auto; background: rgba(7,7,13,.8); backdrop-filter: blur(8px); padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; opacity: 0; transform: translateY(8px); transition: all .35s; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: filter .18s cubic-bezier(.22,1,.36,1); filter: saturate(.85); }
.proj:hover img { filter: saturate(1); }
.proj:hover .proj-img::after { opacity: 1; transform: none; }
.proj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.proj-meta h3 { margin: 0; font-size: 1rem; white-space: nowrap; }
.proj-meta span { color: var(--muted); font-size: .85rem; text-align: right; }

/* Studio */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.studio-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.studio-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.studio p { color: var(--muted); font-size: 1.04rem; }
.studio b { color: var(--txt); }
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 12px; }
.values li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--muted); font-size: .95rem; }
.values b { display: block; font-family: "Unbounded", sans-serif; font-weight: 500; font-size: .95rem; margin-bottom: .2rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 56px); overflow: hidden; }
.coords { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.coords li { display: grid; color: #D2D2E0; }
.coords span { font: 500 .85rem "Unbounded", sans-serif; color: var(--c); }
.coords a { text-decoration: none; }
.form { display: grid; gap: 16px; position: relative; grid-template-columns: minmax(0, 1fr); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; color: #D2D2E0; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea { font: inherit; color: var(--txt); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: .8rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.opts { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { font-size: .9rem; font-weight: 500; color: #D2D2E0; margin-bottom: .5rem; }
.opts label { display: block; cursor: pointer; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; transition: all .2s; }
.opts input:checked + span { background: #EDEDF3; border-color: #EDEDF3; color: var(--c-ink); }
.opts input:focus-visible + span { outline: 2px solid var(--c); outline-offset: 2px; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .88rem; }
.form .consent input { margin-top: .3rem; accent-color: var(--c); }
.form-msg.ok { background: rgba(52,211,153,.1); color: #6EE7B7; border-color: rgba(52,211,153,.3); }
.form-msg.err { background: rgba(244,114,182,.1); color: #F9A8D4; border-color: rgba(244,114,182,.3); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--muted); font-size: .88rem; overflow: hidden; }
.foot-big { font: 500 clamp(3rem, 14vw, 11rem)/1 "Unbounded", sans-serif; letter-spacing: -.05em; margin: 0 0 1.5rem; color: rgba(255,255,255,.06); }
.foot-big b { font-weight: 500; color: rgba(34,211,238,.16); }
.foot p:last-child { margin: 0; }
.foot a { color: var(--txt); }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .c-web, .c-brand { grid-column: span 2; }
  .c-web { grid-row: auto; }
  .projects { grid-template-columns: 1fr 1fr; }
  .studio, .contact { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7,7,13,.97); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--txt); }
  .menu .btn { margin-top: 14px; }
  .bento, .projects { grid-template-columns: 1fr; }
  .c-web, .c-brand, .c-social { grid-column: auto; }
  .form .row { grid-template-columns: 1fr; }
}
