
:root{
  --bg:#050a12;
  --bg-2:#07121e;
  --panel:#0b1a2b;
  --panel-2:#0e2236;
  --line:rgba(255,255,255,.085);
  --text:#f2f6fb;
  --muted:#9ab0c2;
  --muted-2:#7f96ab;
  --cyan:#22d8ff;
  --cyan-soft:#79ebff;
  --blue:#1d84ff;
  --orange:#ff9962;
  --green:#65e5ba;
  --radius:24px;
  --shadow:0 28px 90px rgba(0,0,0,.38);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 8%,rgba(34,216,255,.08),transparent 24%),
    radial-gradient(circle at 88% 30%,rgba(255,153,98,.05),transparent 24%),
    linear-gradient(180deg,#04080f 0%,#06111c 45%,#050a12 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit}

.ambient{position:fixed;inset:0;z-index:-5;pointer-events:none;overflow:hidden}
.ambient-stars{
  position:absolute;inset:0;opacity:.34;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.85) 0 1px,transparent 1.2px),
    radial-gradient(circle,rgba(90,222,255,.7) 0 1px,transparent 1.2px);
  background-size:150px 150px,240px 240px;
  background-position:15px 24px,90px 48px;
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.76) 40%,transparent 92%);
}
.ambient-orb{position:absolute;border-radius:50%;filter:blur(120px)}
.orb-cyan{width:420px;height:420px;left:-160px;top:23%;background:rgba(34,216,255,.08)}
.orb-orange{width:520px;height:520px;right:-240px;top:57%;background:rgba(255,153,98,.05)}
.orbit{position:absolute;border:1px solid rgba(82,220,255,.08);border-radius:50%}
.orbit-1{width:980px;height:250px;left:-420px;top:18%;transform:rotate(-16deg)}
.orbit-2{width:1040px;height:260px;right:-520px;top:64%;transform:rotate(15deg)}

.shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}

.topbar{
  position:fixed;top:16px;left:50%;transform:translateX(-50%);
  z-index:50;
  width:min(1180px,calc(100% - 40px));height:72px;padding:0 17px 0 20px;
  display:flex;align-items:center;justify-content:space-between;
  border:1px solid var(--line);border-radius:20px;
  background:rgba(4,10,17,.76);backdrop-filter:blur(20px);
  box-shadow:0 16px 45px rgba(0,0,0,.20)
}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  font-weight:900;font-size:.8rem;color:#03101a;background:linear-gradient(135deg,#82eeff,#23d8ff)
}
.brand-copy{display:flex;flex-direction:column;gap:2px}
.brand-copy strong{font-size:.9rem}
.brand-copy small{font-size:.66rem;color:#7d93a9}
.desktop-nav{display:flex;align-items:center;gap:26px;color:#c4d2de;font-size:.88rem}
.desktop-nav a:hover{color:#fff}
.nav-cta{padding:10px 15px;border:1px solid rgba(34,216,255,.23);border-radius:12px;background:rgba(34,216,255,.06)}
.menu-btn{display:none;background:none;border:0;color:#fff;font-size:1.35rem}
.mobile-nav{display:none}

.hero{position:relative;min-height:760px;display:flex;align-items:center;overflow:hidden}
.hero-bg{
  position:absolute;inset:0;
  background:url("assets/hero-bg.png") center/cover no-repeat;
  filter:saturate(.96) brightness(.55);
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(3,7,14,.96) 0%,rgba(4,10,17,.84) 42%,rgba(4,10,17,.26) 75%,rgba(4,10,17,.40) 100%),
    linear-gradient(180deg,rgba(4,9,16,.16),rgba(4,10,18,.88) 95%);
}
.hero-grid{
  position:relative;z-index:2;
  padding-top:140px;padding-bottom:82px;
  display:grid;grid-template-columns:1.25fr .75fr;gap:72px;align-items:center
}
.eyebrow{
  margin:0;color:var(--cyan);
  font-size:.72rem;font-weight:850;letter-spacing:.15em;text-transform:uppercase
}
.hero h1{
  margin:16px 0 20px;max-width:740px;
  font-size:clamp(2.95rem,4.55vw,4.9rem);
  line-height:1.02;letter-spacing:-.047em;
  text-wrap:balance;
}
.hero-text{
  max-width:610px;margin:0;
  color:var(--muted);font-size:1rem;line-height:1.73
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{
  min-height:50px;padding:0 20px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:14px;font-weight:800;transition:.22s ease
}
.btn.primary{color:#041019;background:linear-gradient(135deg,#78ebff,#22d8ff);box-shadow:0 14px 36px rgba(34,216,255,.16)}
.btn.primary:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(34,216,255,.23)}
.btn.secondary{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.045)}
.btn.secondary:hover{background:rgba(255,255,255,.08)}
.hero-status{margin-top:30px;display:flex;align-items:flex-start;gap:11px}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--green);margin-top:6px;box-shadow:0 0 14px rgba(101,229,186,.72)}
.hero-status strong{display:block;font-size:.89rem}
.hero-status small{display:block;margin-top:4px;color:var(--muted-2);font-size:.75rem;line-height:1.5}
.hero-card{
  width:320px;justify-self:end;
  padding:10px;border:1px solid rgba(255,255,255,.11);border-radius:28px;
  background:rgba(7,16,28,.60);backdrop-filter:blur(12px);box-shadow:var(--shadow)
}
.hero-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:20px}
.hero-card-caption{padding:14px 8px 6px}
.hero-card-caption span{display:block;font-weight:800}
.hero-card-caption small{display:block;margin-top:4px;color:#8598aa}

.tools-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(4,12,21,.92)}
.tools-strip-inner{min-height:108px;display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:center}
.strip-label{display:flex;align-items:center;gap:8px;color:#7f95aa;font-size:.72rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.label-dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 14px var(--cyan)}
.tool-list{display:flex;gap:10px;overflow-x:auto;padding:15px 0;scrollbar-width:none}
.tool-list::-webkit-scrollbar{display:none}
.tool-card{
  min-width:96px;height:72px;padding:10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.02)
}
.tool-card img{width:29px;height:29px;object-fit:contain}
.tool-card small{color:#90a4b7;font-size:.66rem}
.text-tool span{
  width:29px;height:29px;display:grid;place-items:center;border-radius:7px;
  color:#fff;font-weight:900;background:linear-gradient(135deg,#173b60,#0f2238)
}

.section{padding:102px 0}
.section-head{
  display:flex;justify-content:space-between;align-items:end;gap:40px;
  margin-bottom:38px
}
.section-head h2{
  margin:10px 0 0;
  font-size:clamp(1.95rem,3.15vw,3rem);
  line-height:1.08;letter-spacing:-.036em;text-wrap:balance
}
.section-intro{
  max-width:445px;margin:0;color:var(--muted);font-size:.92rem;line-height:1.68
}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.audience-card{
  min-height:230px;padding:26px;border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(145deg,rgba(14,37,60,.65),rgba(255,255,255,.018))
}
.audience-icon{display:block;margin-bottom:28px;color:var(--cyan);font-size:1.5rem}
.audience-card h3{margin:0 0 10px;font-size:1.18rem}
.audience-card p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.64}
.service-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px}
.service-pill{padding:18px 19px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.02)}
.service-pill strong{display:block;font-size:.95rem}
.service-pill span{display:block;margin-top:6px;color:#869aac;font-size:.82rem;line-height:1.5}

.project-section{
  background:
    radial-gradient(circle at 86% 12%,rgba(34,216,255,.06),transparent 22%),
    linear-gradient(180deg,rgba(10,27,45,.38),rgba(5,11,19,.12));
  border-top:1px solid rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.04)
}
.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project-card{
  cursor:pointer;overflow:hidden;
  border:1px solid var(--line);border-radius:24px;background:#091827;
  transition:.24s ease
}
.project-card:hover{transform:translateY(-5px);border-color:rgba(34,216,255,.21);box-shadow:0 18px 48px rgba(0,0,0,.24)}
.project-card.wide{grid-column:auto}
.project-cover{height:255px;position:relative;overflow:hidden;background:#071422}
.project-card.wide .project-cover{height:320px}
.project-cover img{width:100%;height:100%;object-fit:cover}
.project-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(4,10,18,.62))}
.project-tag{
  position:absolute;left:16px;bottom:16px;z-index:2;
  padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);
  background:rgba(4,13,23,.75);backdrop-filter:blur(10px);
  color:#e7f6ff;font-size:.64rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase
}
.logo-cover-real{
  background:#f0f1f4;
  display:flex;align-items:center;justify-content:center;
}
.logo-cover-real img{
  width:100%;height:100%;object-fit:contain;padding:18px;background:#f0f1f4
}
.project-body{
  min-height:150px;padding:20px;
  display:flex;justify-content:space-between;align-items:end;gap:16px
}
.project-meta{display:block;margin-bottom:7px;color:#6f879a;font-size:.66rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.project-body h3{margin:0 0 6px;font-size:1.12rem}
.project-body p{margin:0;color:#879caf;font-size:.84rem;line-height:1.45}
.project-open{border:0;background:none;color:var(--cyan-soft);cursor:pointer;white-space:nowrap;font-size:.79rem;font-weight:800}

.skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.skill-card{padding:22px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.015))}
.skill-icon{color:var(--cyan);font-size:1.28rem}
.skill-card h3{margin:22px 0 8px;font-size:1.06rem}
.skill-card p{margin:0;color:#8ba1b5;font-size:.84rem;line-height:1.58}
.soft-skills{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.soft-skills span{padding:8px 12px;border:1px solid var(--line);border-radius:999px;color:#a4b7c9;background:rgba(255,255,255,.02);font-size:.77rem}

.journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px}
.journey-title{display:block;margin-bottom:14px;color:#748ca2;font-size:.68rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.journey-col{border-top:1px solid var(--line)}
.journey-item{padding:22px 0;display:grid;grid-template-columns:112px 1fr;gap:18px;border-bottom:1px solid var(--line)}
.journey-date{color:var(--cyan);font-size:.74rem;font-weight:850}
.journey-item h3{margin:0 0 6px;font-size:1rem}
.journey-item p{margin:0;color:#879caf;font-size:.84rem;line-height:1.58}
.interest-row{
  margin-top:24px;padding:16px 20px;display:flex;align-items:center;justify-content:center;gap:17px;flex-wrap:wrap;
  border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.02);color:#8399ae;font-size:.79rem
}
.interest-row i{width:4px;height:4px;border-radius:50%;background:var(--cyan)}

.contact-section{padding-bottom:84px}
.contact-box{
  padding:42px 44px;border:1px solid rgba(34,216,255,.15);border-radius:30px;
  background:
    radial-gradient(circle at 90% 10%,rgba(255,153,98,.16),transparent 24%),
    radial-gradient(circle at 10% 0%,rgba(34,216,255,.12),transparent 28%),
    linear-gradient(145deg,#0a1f35,#07141f);
  box-shadow:var(--shadow)
}
.contact-box h2{margin:10px 0 10px;font-size:clamp(1.95rem,3.2vw,3rem);letter-spacing:-.04em;text-wrap:balance}
.contact-box p:not(.eyebrow){max-width:690px;margin:0;color:var(--muted);font-size:.93rem;line-height:1.68}
.contact-grid{margin-top:26px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.contact-card{
  padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.03);
  transition:.22s ease
}
.contact-card:hover{transform:translateY(-2px);border-color:rgba(34,216,255,.22);background:rgba(34,216,255,.04)}
.contact-card strong{display:block;font-size:.9rem}
.contact-card span{display:block;margin-top:6px;color:#90a4b7;font-size:.8rem;line-height:1.5}
.muted-card{opacity:.8}

.footer{
  padding:30px 0 44px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;align-items:center;color:#71869b;font-size:.78rem
}
.footer div{display:flex;gap:9px}
.footer strong{color:#ccd7e2}

.project-modal{
  width:min(1020px,calc(100% - 28px));max-height:90vh;padding:0;overflow:auto;
  border:1px solid rgba(255,255,255,.12);border-radius:28px;background:#081522;color:var(--text);
  box-shadow:0 35px 110px rgba(0,0,0,.65)
}
.project-modal::backdrop{background:rgba(1,6,11,.78);backdrop-filter:blur(7px)}
.modal-close{
  position:sticky;top:14px;left:calc(100% - 58px);z-index:3;
  width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.13);
  background:rgba(6,15,26,.82);backdrop-filter:blur(10px);color:#fff;font-size:1.42rem;cursor:pointer
}
.modal-grid{margin-top:-42px;display:grid;grid-template-columns:1.05fr .95fr;min-height:600px}
.modal-media{min-height:600px;background:#07111d}
.modal-media img{width:100%;height:100%;object-fit:cover}
.modal-content{padding:54px 44px;display:flex;flex-direction:column;justify-content:center}
.modal-content h2{margin:10px 0 24px;font-size:2.15rem;letter-spacing:-.04em}
.modal-section{padding:16px 0;border-top:1px solid var(--line)}
.modal-section>span{display:block;margin-bottom:8px;color:#70879c;font-size:.67rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.modal-section p{margin:0;color:#9cb0c2;font-size:.9rem;line-height:1.66}
.modal-tools{display:flex;flex-wrap:wrap;gap:7px}
.modal-tools span{padding:8px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025);color:#c2d1de;font-size:.75rem}
.modal-link-wrap{margin-top:24px}
.modal-link-wrap.hidden{display:none}

.reveal{opacity:0;transform:translateY(17px);transition:opacity .62s ease,transform .62s ease}
.reveal.visible{opacity:1;transform:none}

@media(max-width:980px){
  .desktop-nav{display:none}.menu-btn{display:block}
  .mobile-nav{
    position:fixed;z-index:49;top:98px;left:20px;right:20px;padding:13px;display:none;flex-direction:column;gap:4px;
    border:1px solid var(--line);border-radius:18px;background:rgba(4,11,18,.96);backdrop-filter:blur(18px)
  }
  .mobile-nav.open{display:flex}
  .mobile-nav a{padding:12px;border-radius:11px}
  .hero-grid{grid-template-columns:1fr;gap:44px}
  .hero-card{justify-self:start}
  .tools-strip-inner{grid-template-columns:1fr;gap:0;padding:15px 0}
  .audience-grid,.journey-grid,.contact-grid,.modal-grid{grid-template-columns:1fr}
  .service-row{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr 1fr}
  .project-card.wide{grid-column:auto}
  .skills-grid{grid-template-columns:1fr 1fr}
  .modal-media{min-height:360px;height:360px}
}
@media(max-width:680px){
  .shell{width:calc(100% - 28px)}
  .topbar{width:calc(100% - 24px);top:10px}
  .brand-copy small{display:none}
  .hero{min-height:auto}
  .hero-grid{padding-top:126px;padding-bottom:68px}
  .hero h1{font-size:2.7rem}
  .hero-card{width:min(320px,100%)}
  .section{padding:78px 0}
  .section-head{display:block;margin-bottom:28px}
  .section-intro{margin-top:14px}
  .projects-grid,.skills-grid,.contact-grid{grid-template-columns:1fr}
  .project-card.wide{grid-column:span 1}
  .project-cover,.project-card.wide .project-cover{height:250px}
  .project-body{display:block}
  .project-open{margin-top:15px}
  .journey-item{grid-template-columns:1fr;gap:8px}
  .contact-box{padding:30px 22px}
  .footer{flex-direction:column;align-items:flex-start;gap:12px}
  .modal-content{padding:34px 24px}
  .modal-content h2{font-size:1.9rem}
  .modal-media{height:280px;min-height:280px}
}


/* V6 — adjustments requested by Nils */
.projects-grid-four{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.projects-grid-four .project-card{
  grid-column:auto;
}
.projects-grid-four .project-cover{
  height:300px;
}
.projects-grid-four .project-body{
  min-height:145px;
}
.journey-split{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:18px;
  align-items:start;
}
.journey-panel{
  padding:24px 25px 8px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.012));
}
.digital-panel{
  border-color:rgba(34,216,255,.16);
  background:
    radial-gradient(circle at 100% 0%,rgba(34,216,255,.08),transparent 28%),
    linear-gradient(145deg,rgba(10,35,57,.70),rgba(255,255,255,.012));
}
.general-panel{
  background:
    radial-gradient(circle at 100% 0%,rgba(255,153,98,.05),transparent 28%),
    linear-gradient(145deg,rgba(14,27,43,.72),rgba(255,255,255,.012));
}
.journey-panel .journey-item{
  grid-template-columns:108px 1fr;
}
.second-title{
  margin-top:28px;
  padding-top:4px;
}
.contact-grid-clean{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.social-card{
  background:linear-gradient(145deg,rgba(34,216,255,.045),rgba(255,255,255,.02));
}
@media(max-width:980px){
  .journey-split{
    grid-template-columns:1fr;
  }
}
@media(max-width:680px){
  .projects-grid-four,
  .contact-grid-clean{
    grid-template-columns:1fr;
  }
  .projects-grid-four .project-cover{
    height:250px;
  }
}


/* V7 — logos et couverture Figma */
.shopify-tool{
  min-width:112px;
}
.brand-logo-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:100%;
}
.brand-logo-row img{
  width:25px!important;
  height:25px!important;
  object-fit:contain;
}
.brand-logo-row strong{
  color:#fff;
  font-size:.77rem;
  font-weight:800;
  letter-spacing:-.02em;
}
.ai-tool img{
  width:29px!important;
  height:29px!important;
  object-fit:contain;
}
.claude-tool img{
  border-radius:7px;
}
.projects-grid-four .project-card[data-project="figma"] .project-cover img{
  object-fit:cover;
  object-position:center;
}


/* V8 — corrections hero title + ChatGPT logo */
.hero-grid{
  grid-template-columns: 1.48fr .52fr;
  gap: 56px;
}
.hero h1{
  max-width: 1020px;
  font-size: clamp(3.4rem, 5.9vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.06em;
}
.hero-copy{
  max-width: 980px;
}
.hero-text{
  max-width: 760px;
}
.hero-card{
  width: 300px;
}
.gpt-tool img{
  width: 31px !important;
  height: 31px !important;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}
@media(max-width:980px){
  .hero-grid{
    grid-template-columns:1fr;
    gap:44px;
  }
}
@media(max-width:680px){
  .hero h1{
    font-size: 2.95rem;
    line-height: .98;
  }
  .hero-card{
    width:min(320px,100%);
  }
}


/* V9 — titre hero plus fin et plus étiré horizontalement */
.hero-grid{
  grid-template-columns: 1.62fr .38fr;
  gap: 38px;
}

.hero-copy{
  max-width: 1080px;
}

.hero h1{
  max-width: 1080px;
  margin: 16px 0 20px;
  font-size: clamp(3.15rem, 5.1vw, 5.35rem);
  line-height: .97;
  letter-spacing: -.035em;
  font-weight: 620;
  text-wrap: initial;
}

.hero-title-line{
  display:block;
  white-space:nowrap;
}

.hero-text{
  max-width: 760px;
}

.hero-card{
  width: 270px;
}

@media(max-width:1100px){
  .hero-grid{
    grid-template-columns: 1.48fr .52fr;
  }
  .hero-title-line{
    white-space:normal;
  }
}

@media(max-width:980px){
  .hero-grid{
    grid-template-columns:1fr;
    gap:44px;
  }
  .hero h1{
    max-width: 900px;
  }
}

@media(max-width:680px){
  .hero h1{
    font-size: 2.7rem;
    line-height: 1;
    font-weight: 620;
    letter-spacing: -.025em;
  }
  .hero-title-line{
    white-space:normal;
  }
  .hero-card{
    width:min(320px,100%);
  }
}
