/* Nicholas Goudes — tokens repris de bectube.com. Thème sombre unique, voulu. */
:root {
  --bg-0: #07080b;
  --bg-1: #0b0c10;
  --glass: rgba(255,255,255,0.045);
  --glass-hi: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.10);
  --ink: #eeece8;
  --ink-dim: #8b8d94;
  --salmon: #e8846c;
  --salmon-dim: rgba(232,132,108,0.35);
  --salmon-ink: #1a0d09;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg-0); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--salmon); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1.03; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.1; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
.dim { color: var(--ink-dim); }
.salmon { color: var(--salmon); }
.label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--salmon); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

#bubbles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
main, header, footer { position: relative; z-index: 1; }
.glass { background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding-block: 14px; }
.brand { border-radius: 999px; padding: 8px 20px 8px 22px; text-decoration: none; display: grid; line-height: 1.15; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 1rem; }
.brand span { font-size: .72rem; color: var(--ink-dim); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: 12px 22px; font: 700 .92rem var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-salmon { background: var(--salmon); color: var(--salmon-ink); }
.btn-ghost { background: var(--glass); border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--salmon-dim); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

section { scroll-margin-top: 80px; }
.sec { padding-block: clamp(44px, 7vw, 88px) 0; }
.sec-head { display: grid; gap: 12px; max-width: 700px; margin-bottom: 28px; }
.sec-head p { font-size: 1.05rem; color: var(--ink-dim); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.row-head > div { display: grid; gap: 8px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(16px, 4vw, 40px) 0; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-copy .lede { font-size: 1.12rem; color: var(--ink-dim); max-width: 44ch; }
.hero-art { position: relative; min-width: 0; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,132,108,.28), rgba(232,132,108,0) 68%); }
.hero-art img { position: relative; width: 100%; max-width: 560px; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { max-width: 380px; } }

/* Cartes créateurs */
.creator-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .creator-row-scroll { overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; } .creator-row { grid-template-columns: repeat(7, 150px); } .creator-row .ccard { scroll-snap-align: start; } }
.ccard { --c: var(--salmon); position: relative; border-radius: 20px; padding: 20px 12px 18px; display: grid; justify-items: center; gap: 10px; text-align: center; min-width: 0; font: inherit; color: var(--ink); cursor: pointer; transition: transform .3s cubic-bezier(.2,.9,.3,1.2), border-color .3s, background .3s, box-shadow .3s; }
.ccard:hover, .ccard:focus-visible { transform: scale(1.07); border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: 0 18px 44px color-mix(in srgb, var(--c) 30%, transparent); z-index: 2; outline: none; }
.av { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .95rem; background-size: cover; background-position: center; flex: none; transition: border-color .3s, box-shadow .3s; }
.ccard:hover .av, .ccard:focus-visible .av { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.ccard b { font-size: .88rem; line-height: 1.25; word-break: break-word; }
.ccard span { font-size: .76rem; color: var(--ink-dim); line-height: 1.2; }
.creator-row-scroll { padding-block: 10px; margin-block: -10px; }

/* Fenêtre de projets */
html.lock { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none !important; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,5,7,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .2s ease; }
.modal-box { --c: var(--salmon); position: relative; width: min(980px, 100%); max-height: 100%; overflow-y: auto; border-radius: 28px; background: #0f1015; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--border)); box-shadow: 0 30px 100px color-mix(in srgb, var(--c) 22%, transparent); padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--glass); color: var(--ink); font-size: 1rem; cursor: pointer; }
.modal-x:hover { border-color: var(--c); }
.modal-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-right: 48px; }
.modal-head .av { width: 68px; height: 68px; border-color: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.m-id { display: grid; gap: 2px; margin-right: auto; min-width: 0; }
.m-id h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.m-id span { color: var(--ink-dim); font-size: .9rem; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px 14px; }
.work { display: grid; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.w-thumb { aspect-ratio: 16/9; max-width: 100%; border-radius: 14px; background-size: cover; background-position: center; border: 1px solid var(--border); transition: transform .25s, border-color .25s; }
a.work:hover .w-thumb { transform: scale(1.03); border-color: var(--c); }
.w-meta { display: grid; gap: 3px; min-width: 0; }
.w-meta b { font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.w-meta span { font-size: .82rem; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.w-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.w-tags em { font-style: normal; font-size: .7rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* Pourquoi */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.why { border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.why p { color: var(--ink-dim); }
.w-7 { grid-column: span 7; } .w-5 { grid-column: span 5; } .w-4 { grid-column: span 4; }
.big-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1; color: var(--salmon); font-variant-numeric: tabular-nums; }
.funnel { display: grid; gap: 8px; margin-top: 6px; }
.funnel div { border-radius: 999px; padding: 9px 16px; font-size: .85rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; background: var(--glass-hi); border: 1px solid var(--border); min-width: 0; }
.funnel div:nth-child(2) { width: 84%; background: var(--salmon-dim); border-color: var(--salmon); }
.funnel div:nth-child(3) { width: 68%; }
.funnel div:nth-child(4) { width: 52%; }
.funnel span { color: var(--ink-dim); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .w-7, .w-5, .w-4 { grid-column: span 12; } .funnel div { width: 100% !important; } }

/* Témoignages : 3 côte à côte */
.testis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.testi { border-radius: var(--r); padding: 26px; display: grid; gap: 22px; align-content: space-between; min-width: 0; }
.stars { color: var(--salmon); letter-spacing: 2px; font-size: .9rem; }
.quote { font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.45; }
.quote::before { content: "« "; color: var(--salmon); }
.quote::after { content: " »"; color: var(--salmon); }
.who { display: flex; align-items: center; gap: 12px; }
.who .av { width: 44px; height: 44px; font-size: .72rem; border-width: 1px; }
.who b { display: block; font-size: .92rem; }
.who span { font-size: .8rem; color: var(--ink-dim); }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* Contact final */
.cta-band { border-radius: var(--r); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; background: var(--salmon); color: var(--salmon-ink); }
.cta-band h2 { font-size: clamp(1.8rem, 4.4vw, 3.2rem); }
.mailbox { border-radius: 20px; padding: 22px; display: grid; gap: 12px; background: var(--salmon-ink); color: var(--ink); min-width: 0; }
.mail { font-weight: 700; font-size: 1.05rem; word-break: break-all; user-select: all; }
.mail-row { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Page portfolio */
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.back { display: inline-flex; gap: .4rem; text-decoration: none; color: var(--ink-dim); font-weight: 600; font-size: .9rem; }
.back:hover { color: var(--salmon); }

footer .wrap { padding-block: 40px 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--ink-dim); }
