*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #10141c;
  --bg2:     #161b26;
  --bg3:     #1c2230;
  --bg4:     #0c1018;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --text:    #F0EDE8;
  --text2:   #a8a6b0;
  --text3:   #4a4a54;
  --accent:  #de744c;
  --accent2: #e8896a;
  --alight:  rgba(222,116,76,0.12);
  --aborder: rgba(222,116,76,0.22);
  --r:       16px;
  --r-sm:    10px;
  --max:     1160px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(12,16,24,0.72) !important; backdrop-filter: blur(24px) saturate(180%) !important; -webkit-backdrop-filter: blur(24px) saturate(180%) !important; border-bottom: none !important; box-shadow: 0 0.5px 0 rgba(255,255,255,0.07), inset 0 0.5px 0 rgba(255,255,255,0.04) !important; overflow: visible; }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; height: 64px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: visible; }
.logo { display: flex; align-items: center; text-decoration: none; position: relative; z-index: 10; margin-bottom: -20px; }
.logo img { height: 70px; width: auto; display: block; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5)); border-radius: 5px; mix-blend-mode: screen; }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; height: 100%; }
.nav-links li { display: flex; align-items: center; height: 100%; }
.nav-links a { font-size: 12px; color: var(--text2); text-decoration: none; transition: color .2s; white-space: nowrap; line-height: 1; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--accent); color: #fff; border: none; padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer; font-family: inherit; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-assist {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text2);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  padding: 7px 13px; text-decoration: none;
  transition: all .2s; font-family: inherit;
  background: rgba(255,255,255,0.04);
}
.nav-assist svg { flex-shrink: 0; }
.nav-assist:hover { color: var(--text); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); }

/* HERO */
.hero {
  text-align: center; position: relative; overflow: hidden;
  border-bottom: 0.5px solid var(--border);
}
.hero-bg {
  background: url('fond_hero.webp') center center / cover no-repeat;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-bg-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(16,20,28,0.45) 0%,
    rgba(16,20,28,0.30) 40%,
    rgba(16,20,28,0.55) 75%,
    rgba(16,20,28,0.90) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 120px; padding-bottom: 80px;
}
.hero-location {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(240,237,232,0.6);
  margin-top: 48px; font-weight: 300;
}
.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--alight); color: var(--accent2); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 32px; border: 0.5px solid var(--aborder); }
.badge::before { content:''; width:5px; height:5px; background:var(--accent); border-radius:50%; }
h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 300; line-height: 1.05; color: #fff; max-width: 820px; margin: 0 auto 20px; letter-spacing: -.03em; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
h1 strong { font-weight: 600; }
.hero-sub { font-size: 16px; color: var(--text2); font-weight: 300; max-width: 460px; margin: 0 auto 36px; line-height: 1.75; }
.btns { display: flex; gap: 10px; justify-content: center; margin-bottom: 56px; }
.btn-a { background: var(--accent); color: #fff; border: none; padding: 12px 24px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; transition: opacity .2s, transform .15s; }
.btn-a:hover { opacity: .88; transform: translateY(-1px); }
.btn-g { background: transparent; color: var(--text2); border: 0.5px solid var(--border2); padding: 12px 20px; border-radius: var(--r-sm); font-size: 14px; cursor: pointer; font-family: inherit; transition: all .2s; }
.btn-g:hover { color: var(--text); border-color: rgba(255,255,255,.2); }

/* CAROUSEL BOXED */
.carousel-section {
  max-width: var(--max); margin: 48px auto 0; padding: 0 40px;
}
.carousel-wrap {
  overflow: hidden;
  border-radius: var(--r);
  border: 0.5px solid var(--border);
  background: rgba(22,27,38,0.4);
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.carousel-track {
  display: flex; gap: 12px;
  width: max-content; padding: 0 20px;
}
.track-1 { animation: scroll-left 35s linear infinite; }
.track-2 { animation: scroll-right 42s linear infinite; margin-top: 12px; }
.carousel-track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.ci {
  width: 220px; flex-shrink: 0;
  background: rgba(16,20,28,0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 0.5px solid rgba(255,255,255,0.09);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
  text-decoration: none; display: block;
}
.ci:hover { border-color: rgba(255,255,255,0.18); }
.ci-chrome {
  background: rgba(10,14,20,0.9); padding: 7px 10px;
  display: flex; align-items: center; gap: 5px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.ci-dot { width: 7px; height: 7px; border-radius: 50%; }
.ci-dot:nth-child(1){background:#FF5F56}.ci-dot:nth-child(2){background:#FFBD2E}.ci-dot:nth-child(3){background:#27C93F}
.ci-url {
  flex: 1; background: rgba(255,255,255,0.05); border-radius: 4px;
  height: 14px; margin: 0 6px;
  display: flex; align-items: center; padding: 0 7px;
}
.ci-url span { font-size: 9px; color: var(--text2); }
.ci-shot { height: 130px; overflow: hidden; }
.ci-shot img { width: 100%; display: block; object-fit: cover; object-position: top; }
.ci-foot { padding: 8px 11px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ci-name { font-size: 11px; font-weight: 500; color: var(--text); }
.ci-tag { font-size: 9px; padding: 2px 7px; border-radius: 6px; background: var(--alight); color: var(--accent2); border: 0.5px solid var(--aborder); white-space: nowrap; }

/* HERO BROWSER MOCK */
.hero-browser-mock { max-width: 820px; margin: 0 auto; background: rgba(22,27,38,0.6); backdrop-filter: blur(16px); border-radius: var(--r); border: 0.5px solid rgba(255,255,255,0.12); overflow: hidden; box-shadow: 0 0 60px rgba(222,116,76,0.07); }
.hbm-chrome { background: rgba(10,14,20,0.9); padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 0.5px solid var(--border); }
.hbm-dot { width: 9px; height: 9px; border-radius: 50%; }
.hbm-dot:nth-child(1){background:#FF5F56}.hbm-dot:nth-child(2){background:#FFBD2E}.hbm-dot:nth-child(3){background:#27C93F}
.hbm-url { flex:1; background: rgba(255,255,255,0.05); border-radius: 5px; height: 20px; margin: 0 12px; display: flex; align-items: center; padding: 0 9px; }
.hbm-url span { font-size: 10px; color: var(--text2); }
.hbm-body { height: 220px; padding: 16px; display: grid; grid-template-columns: 160px 1fr; gap: 14px; }
.hbm-sidebar { background: rgba(12,16,24,0.6); border-radius: 8px; border: 0.5px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.hbm-si { height: 22px; border-radius: 4px; background: var(--border); }
.hbm-si.on { background: rgba(222,116,76,0.5); }
.hbm-main { display: flex; flex-direction: column; gap: 10px; }
.hbm-hero { background: rgba(12,16,24,0.6); border-radius: 8px; border: 0.5px solid var(--border); flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.hbm-t { height: 13px; background: rgba(240,237,232,.1); border-radius: 3px; width: 50%; }
.hbm-s { height: 8px; background: rgba(240,237,232,.05); border-radius: 3px; }
.hbm-btn { height: 24px; background: rgba(222,116,76,0.5); border-radius: 5px; width: 80px; margin-top: 4px; }
.hbm-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; height: 56px; }
.hbm-card { background: rgba(12,16,24,0.6); border-radius: 6px; border: 0.5px solid var(--border); }

/* HERO PHOTO */
.hero-photo {
  max-width: 860px; margin: 0 auto;
  height: 300px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 60px rgba(0,0,0,0.4);
}
.hero-photo-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  position: absolute; inset: 0; display: block; filter: blur(2px) brightness(0.55);
  transform: scale(1.05);
}
.hero-photo-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,20,28,0.2) 0%, rgba(16,20,28,0.6) 100%);
}
.hero-photo-placeholder {
  position: absolute; inset: 0;
}

/* VALS SECTION — boxed large, glass cards, lueur unique */
.vals-section {
  max-width: 1320px; margin: 0 auto;
  padding: 48px 40px;
  position: relative;
}
.vals-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(222,116,76,0.09) 0%, transparent 70%);
  border-radius: 20px;
}
.vals-cards {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
  position: relative; z-index: 1;
}
.val-card {
  padding: 28px 24px; border-radius: var(--r);
  background: rgba(20,25,36,0.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.09),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.25);
}
.val-n { font-size: 40px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 8px; letter-spacing: -.03em; }
.val-t { font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.val-d { font-size: 12px; color: var(--text2); font-weight: 300; line-height: 1.6; }

/* CLIENTS */
.clients-bar { border-bottom: 0.5px solid var(--border); }
.clients-inner { max-width: var(--max); margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; gap: 32px; }
.clients-lbl { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.clients-list { display: flex; gap: 28px; flex-wrap: wrap; }
.cname { font-size: 12px; color: var(--text3); font-weight: 500; }

/* VALS */
.vals-bar { border-bottom: 0.5px solid var(--border); }
.vals-inner { max-width: var(--max); margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(4,1fr); }
.val { padding: 32px 0; border-right: 0.5px solid var(--border); padding-right: 32px; margin-right: 32px; }
.val:last-child { border-right: none; margin-right: 0; }
.val-n { font-size: 36px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 6px; letter-spacing: -.03em; }
.val-t { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.val-d { font-size: 12px; color: var(--text2); font-weight: 300; line-height: 1.6; }

/* SECTIONS */
.section { padding: 80px 0; border-bottom: 0.5px solid var(--border); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 300; line-height: 1.12; letter-spacing: -.025em; color: var(--text); margin-bottom: 14px; }
h2 strong { font-weight: 600; }
.sec-sub { font-size: 15px; color: var(--text2); font-weight: 300; line-height: 1.75; max-width: 480px; }

/* SERVICES */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.svc { background: var(--bg2); border-radius: var(--r); border: 0.5px solid var(--border); padding: 32px; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: var(--border2); transform: translateY(-2px); }
.svc-tag { font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: .05em; text-transform: uppercase; }
.svc-title { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.svc-desc { font-size: 14px; color: var(--text2); line-height: 1.75; font-weight: 300; }
.svc-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.svc-li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text2); }
.svc-li::before { content:''; width:3px; height:3px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.svc-lnk { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; font-size: 13px; color: var(--accent); font-weight: 500; cursor: pointer; }

/* PORTFOLIO */
.port-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }

/* Grid portfolio avec vraies images */
.port-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.port-card { background: var(--bg2); border-radius: var(--r); border: 0.5px solid var(--border); overflow: hidden; cursor: pointer; transition: border-color .25s, transform .3s; text-decoration: none; display: block; }
.port-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.port-card.wide { grid-column: span 2; }

.p-chrome { background: var(--bg4); padding: 9px 12px; display: flex; align-items: center; gap: 5px; border-bottom: 0.5px solid var(--border); }
.pd { width: 8px; height: 8px; border-radius: 50%; }
.pd:nth-child(1){background:#FF5F56}.pd:nth-child(2){background:#FFBD2E}.pd:nth-child(3){background:#27C93F}
.p-url-bar { flex:1; background: var(--bg3); border-radius: 4px; height: 17px; margin: 0 8px; border: 0.5px solid var(--border); display: flex; align-items: center; padding: 0 8px; }
.p-url-bar span { font-size: 9px; color: var(--text2); }

/* Screenshot scrolling */
.p-shot { overflow: hidden; position: relative; }
.p-shot.h-tall { height: 220px; }
.p-shot.h-short { height: 160px; }
.p-shot.h-feature { height: 280px; }
.p-shot { position: relative; }
.p-shot::after { content: ''; position: absolute; inset: 0; background: rgba(16,20,28,0.40); transition: opacity .3s ease; pointer-events: none; z-index: 1; }
.port-card:hover .p-shot::after { opacity: 0; }
.p-shot img { width: 100%; display: block; object-fit: cover; object-position: top; transition: object-position 6s ease; }
.port-card:hover .p-shot img { object-position: bottom; }

/* Split card pour Champvalgo */
.port-card-split { background: var(--bg2); border-radius: var(--r); border: 0.5px solid var(--border); overflow: hidden; cursor: pointer; transition: border-color .25s, transform .3s; grid-column: span 2; }
.port-card-split:hover { border-color: var(--border2); transform: translateY(-4px); }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; }
.split-shot { overflow: hidden; height: 240px; }
.split-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.split-shot:first-child { border-right: 0.5px solid var(--border); }

.p-info { padding: 16px 18px; }
.p-name { font-size: 14px; font-weight: 500; margin-bottom: 3px; color: var(--text); }
.p-meta { font-size: 11px; color: var(--text2); line-height: 1.5; }
.p-tags { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.ptag { font-size: 10px; padding: 2px 8px; border-radius: 6px; background: var(--bg3); color: var(--text2); border: 0.5px solid var(--border2); }
.ptag.special { background: var(--alight); color: var(--accent2); border-color: var(--aborder); }

/* Grille tous les projets */
.port-card, .port-card-split, .ci { color: var(--text); }
.port-all-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 20px; }
.pa-card { background: var(--bg2); border-radius: var(--r-sm); border: 0.5px solid var(--border); padding: 14px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, transform .2s; }
.pa-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.pa-name { font-size: 13px; font-weight: 500; color: var(--text); }
.pa-url { font-size: 11px; color: var(--text3); }
.pa-tag { font-size: 10px; color: var(--accent2); margin-top: 4px; font-weight: 500; }

/* DEV SUR MESURE */
.dev-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 44px; background: rgba(20,25,36,0.55); backdrop-filter: blur(16px); border-radius: var(--r); box-shadow: 0 0 0 1px rgba(255,255,255,0.09), inset 0 1px 0 rgba(255,255,255,0.12); padding: 32px; }
.dev-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dev-browser { border-radius: var(--r-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.dev-right { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.dev-tag { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.dev-name { font-size: 22px; font-weight: 500; color: var(--text); }
.dev-desc { font-size: 14px; color: var(--text2); line-height: 1.7; font-weight: 300; }
.dev-items { display: flex; flex-direction: column; gap: 8px; }
.dev-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text2); }
.dev-check { color: var(--accent); font-weight: 600; flex-shrink: 0; }
.dev-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--accent); font-weight: 500; text-decoration: none; margin-top: 4px; transition: opacity .2s; }
.dev-link:hover { opacity: .75; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-card { background: var(--bg2); border-radius: var(--r); border: 0.5px solid var(--border); padding: 40px; }
.big-q { font-size: clamp(17px, 2vw, 22px); font-weight: 300; line-height: 1.55; color: var(--text); margin-bottom: 24px; letter-spacing: -.01em; }
.big-q strong { font-weight: 600; color: var(--accent2); }
.q-sig { font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 10px; }
.q-line { width: 18px; height: 1px; background: var(--text3); }
.loc-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--alight); color: var(--accent2); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 20px; margin-bottom: 18px; border: 0.5px solid var(--aborder); }
.loc-pip { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.about-title { font-size: 19px; font-weight: 500; margin-bottom: 12px; line-height: 1.35; }
.about-txt { font-size: 14px; color: var(--text2); line-height: 1.8; font-weight: 300; margin-bottom: 22px; }
.stags { display: flex; flex-wrap: wrap; gap: 7px; }
.stag { font-size: 11px; padding: 4px 11px; border-radius: 7px; background: var(--bg3); border: 0.5px solid var(--border2); color: var(--text2); }

/* CTA */
.cta-card { background: var(--bg2); border-radius: var(--r); border: 0.5px solid var(--border); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; bottom: -160px; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(ellipse, rgba(222,116,76,0.08) 0%, transparent 65%); pointer-events: none; }
.cta-card h2 { max-width: 480px; margin: 0 auto 12px; }
.cta-card p { font-size: 14px; color: var(--text2); margin-bottom: 32px; font-weight: 300; }
.cta-btns { display: flex; gap: 10px; justify-content: center; }
.btn-phone { background: var(--bg3); color: var(--text); border: 0.5px solid var(--border2); padding: 12px 20px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; transition: border-color .2s; display: flex; align-items: center; gap: 8px; }
.btn-phone svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; }
.btn-phone:hover { border-color: rgba(255,255,255,.22); }

/* CONTACT FORM */
.contact-card {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px;
  background: rgba(20,25,36,0.60);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.09), inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.25);
  padding: 48px;
}
.contact-intro { font-size: 14px; color: var(--text2); line-height: 1.75; font-weight: 300; margin-bottom: 28px; }
.contact-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); }
.cf-check { color: var(--accent); font-weight: 600; font-size: 14px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 500; color: var(--text2); letter-spacing: .03em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(12,16,24,0.6);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-size: 14px; color: var(--text); font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(222,116,76,0.5);
  box-shadow: 0 0 0 3px rgba(222,116,76,0.10), inset 0 1px 3px rgba(0,0,0,0.2);
}
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235c5a60' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group select option { background: #161b26; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-submit {
  background: var(--accent); color: #fff; border: none;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: opacity .2s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 4px;
}
.form-submit:hover { opacity: .88; transform: translateY(-1px); }
.h-captcha { margin-top: 4px; }
.form-note { font-size: 11px; color: var(--text3); text-align: center; margin-top: 4px; }

/* LIGHTBOX SCROLLING PREVIEW */
.lb-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,10,16,0.92);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
  padding: 24px;
}
.lb-overlay.open { display: flex; }

.lb-box {
  width: 100%; max-width: 900px;
  display: grid; grid-template-rows: auto 1fr auto;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 32px 80px rgba(0,0,0,0.6);
  animation: lbIn .25s ease;
}
@keyframes lbIn {
  from { opacity:0; transform: scale(0.96) translateY(12px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

.lb-header {
  background: rgba(12,16,24,0.95);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.lb-dots { display: flex; gap: 6px; }
.lb-dot { width: 10px; height: 10px; border-radius: 50%; }
.lb-dot:nth-child(1){background:#FF5F56}.lb-dot:nth-child(2){background:#FFBD2E}.lb-dot:nth-child(3){background:#27C93F}
.lb-url {
  flex: 1; background: rgba(255,255,255,0.06); border-radius: 6px;
  height: 24px; margin: 0 12px;
  display: flex; align-items: center; padding: 0 12px;
  font-size: 12px; color: var(--text2);
}
.lb-close {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  color: var(--text2); font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,0.15); color: var(--text); }

.lb-viewport {
  overflow-y: auto; position: relative;
  height: 520px; background: #fff;
  scroll-behavior: smooth;
}
.lb-viewport::-webkit-scrollbar { width: 6px; }
.lb-viewport::-webkit-scrollbar-track { background: #0c1018; }
.lb-viewport::-webkit-scrollbar-thumb { background: #de744c; border-radius: 3px; }
.lb-viewport::-webkit-scrollbar-thumb:hover { background: #e8896a; }
* { scrollbar-width: thin; scrollbar-color: #de744c #0c1018; }
.lb-scroller {
  width: 100%;
}
.lb-scroller img { width: 100%; display: block; }

.lb-footer {
  background: rgba(14,18,26,0.97);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.lb-info-name { font-size: 15px; font-weight: 500; color: var(--text); }
.lb-info-meta { font-size: 12px; color: var(--text2); margin-top: 2px; }
.lb-visit {
  background: var(--accent); color: #fff; border: none;
  padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: inherit; text-decoration: none;
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  transition: opacity .2s;
}
.lb-visit:hover { opacity: .85; }

/* FOOTER */
footer { border-top: 0.5px solid var(--border); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; }
.ft-l { display: flex; align-items: center; gap: 14px; }
.ft-brand { font-size: 14px; font-weight: 600; }
.ft-sep { width: 1px; height: 14px; background: var(--border2); }
.ft-copy { font-size: 12px; color: var(--text3); }
.ft-links { display: flex; gap: 20px; }
.ft-links a { font-size: 12px; color: var(--text2); text-decoration: none; transition: color .2s; }
.ft-links a:hover { color: var(--text); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* GLOW ORBS */
.glow-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: transform;
  filter: blur(80px);
}
.glow-orange { background: radial-gradient(ellipse, rgba(222,116,76,0.20) 0%, transparent 70%); }
.glow-blue   { background: radial-gradient(ellipse, rgba(80,120,220,0.14) 0%, transparent 70%); }
.glow-teal   { background: radial-gradient(ellipse, rgba(40,160,180,0.11) 0%, transparent 70%); }
.glow-gray   { background: radial-gradient(ellipse, rgba(160,158,170,0.10) 0%, transparent 70%); }
.glow-orange-soft { background: radial-gradient(ellipse, rgba(222,116,76,0.10) 0%, transparent 70%); }

/* GLASSMORPHISM cards */
.glass {
  background: rgba(22,27,38,0.55) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 0.5px solid rgba(255,255,255,0.10) !important;
}
.glass-light {
  background: rgba(28,34,48,0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.5px solid rgba(255,255,255,0.09);
}

/* NAV glass renforcé */
nav {
  background: rgba(12,16,24,0.72) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: none !important;
  box-shadow: 0 0.5px 0 rgba(255,255,255,0.07), inset 0 0.5px 0 rgba(255,255,255,0.04) !important;
}

/* Mixin effet verre fin — simule un bord lumineux comme Superlist */
.glass-edge {
  border: none !important;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.07),
    inset 0 0.5px 0 rgba(255,255,255,0.10),
    inset 0 -0.5px 0 rgba(0,0,0,0.25),
    inset 0.5px 0 rgba(255,255,255,0.04),
    inset -0.5px 0 rgba(0,0,0,0.15) !important;
}

/* Cards glass — sans overflow:hidden */
.svc, .about-card, .cta-card, .pa-card, .carousel-wrap {
  background: rgba(20,25,36,0.60) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border: none !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.35),
    inset 1px 0 rgba(255,255,255,0.06),
    inset -1px 0 rgba(0,0,0,0.2) !important;
}

/* Port cards — overflow:hidden bloque box-shadow externe */
.port-card, .port-card-split, .ci {
  background: rgba(20,25,36,0.60) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border: 1px solid rgba(255,255,255,0.11) !important;
  position: relative !important;
}
.port-card::after, .port-card-split::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -1px 0 rgba(0,0,0,0.25);
  z-index: 2;
}

.svc:hover, .pa-card:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.20),
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -1px 0 rgba(0,0,0,0.35),
    0 8px 32px rgba(0,0,0,0.25) !important;
  background: rgba(24,30,44,0.70) !important;
}
.port-card:hover, .port-card-split:hover, .ci:hover {
  border-color: rgba(255,255,255,0.22) !important;
  background: rgba(24,30,44,0.70) !important;
}

/* Hero browser mock glass */
.hero-browser-mock {
  background: rgba(16,20,30,0.55) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: none !important;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.09),
    inset 0 0.5px 0 rgba(255,255,255,0.14),
    inset 0 -0.5px 0 rgba(0,0,0,0.3),
    0 0 60px rgba(222,116,76,0.06),
    0 0 100px rgba(80,120,220,0.05) !important;
}

/* vals bar */
.vals-bar {
  box-shadow: 0 0.5px 0 rgba(255,255,255,0.06), 0 -0.5px 0 rgba(255,255,255,0.06);
}

/* Section positions pour orbs */
.hero, .section, .vals-bar { position: relative; overflow: hidden; }
/* COOKIE NOTICE */
.cookie-notice {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 999; width: calc(100% - 48px); max-width: 700px;
  background: rgba(20,25,36,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.4);
  animation: cookieIn .4s ease;
}
.cookie-notice.hidden { display: none; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 18px;
}
.cookie-text {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text2); font-weight: 300; line-height: 1.5;
}
.cookie-text svg { flex-shrink: 0; color: var(--accent2); }
.cookie-text a { color: var(--accent2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-close {
  background: rgba(255,255,255,0.07); border: 0.5px solid rgba(255,255,255,0.12);
  color: var(--text2); width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.cookie-close:hover { background: rgba(255,255,255,0.14); color: var(--text); }

/* ============================================
   RESPONSIVE — MOBILE FIRST
   Breakpoints: 768px (tablet), 480px (mobile)
   ============================================ */

/* NAV HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer; background: none; border: none;
  padding: 4px; border-radius: 8px; transition: background .2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger span {
  display: block; height: 1.5px; background: var(--text);
  border-radius: 2px; transition: all .3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none; position: fixed; inset: 62px 0 0 0; z-index: 99;
  background: rgba(12,16,24,0.97); backdrop-filter: blur(20px);
  flex-direction: column; padding: 32px 24px; gap: 8px;
  border-top: 0.5px solid var(--border);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 18px; color: var(--text2); text-decoration: none;
  padding: 14px 0; border-bottom: 0.5px solid var(--border);
  font-weight: 300; transition: color .2s;
}
.nav-mobile-menu a:hover { color: var(--text); }
.nav-mobile-menu .nav-mobile-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 16px;
}
.nav-mobile-menu .nav-assist { justify-content: center; }
.nav-mobile-menu .nav-cta { width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  /* HERO */
  .hero-bg { min-height: 100svh; }
  .hero-content { padding-top: 100px; padding-bottom: 60px; }
  h1 { font-size: clamp(32px, 8vw, 52px); }
  .hero-sub { font-size: 15px; }
  .btns { flex-direction: column; align-items: center; gap: 10px; }
  .btn-a, .btn-g { width: 100%; max-width: 280px; justify-content: center; }
  .hero-location { font-size: 12px; margin-top: 32px; }

  /* VALS */
  .vals-section { padding: 32px 16px; }
  .vals-cards { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* SECTIONS */
  .section { padding: 56px 0; }
  .wrap { padding: 0 20px; }

  /* SERVICES */
  .svc-grid { grid-template-columns: 1fr; }

  /* PORTFOLIO */
  .port-grid { grid-template-columns: 1fr; }
  .port-card.wide { grid-column: span 1; }
  .p-shot.h-feature { height: 180px; }
  .p-shot.h-tall { height: 160px; }

  /* CAROUSEL */
  .carousel-section { padding: 0 20px; }
  .ci { width: 180px; }
  .ci-shot { height: 72px; }

  /* DEV SUR MESURE */
  .dev-card { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .dev-split { grid-template-columns: 1fr 1fr; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; }
  .about-l, .about-r { padding: 40px 20px; }
  .about-l { border-right: none; border-bottom: 0.5px solid var(--border); }

  /* CONTACT */
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* LIGHTBOX */
  .lb-box { max-width: 100%; }
  .lb-viewport { height: 60svh; }
  .lb-footer { flex-direction: column; gap: 10px; align-items: flex-start; }
  .lb-visit { width: 100%; justify-content: center; }

  /* FOOTER */
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .ft-l { flex-direction: column; gap: 6px; }
  .ft-sep { display: none; }

  /* COOKIE */
  .cookie-notice { bottom: 12px; width: calc(100% - 24px); }
  .cookie-inner { flex-wrap: wrap; }
  .cookie-text { font-size: 12px; }
}

@media (max-width: 480px) {
  .vals-cards { grid-template-columns: 1fr 1fr; }
  .val-n { font-size: 28px; }
  .port-all-grid { grid-template-columns: 1fr 1fr; }
  .dev-split { grid-template-columns: 1fr; }
  .lb-viewport { height: 50svh; }
}

/* FORM NOTIFICATION */
.form-notif {
  padding: 14px 18px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; margin-bottom: 16px;
  transition: opacity .6s ease;
}
.form-notif--success {
  background: rgba(40,160,100,0.15);
  border: 1px solid rgba(40,160,100,0.3);
  color: #5dd4a0;
}
.form-notif--error {
  background: rgba(220,60,60,0.15);
  border: 1px solid rgba(220,60,60,0.3);
  color: #f08080;
}

/* TESTIMONIALS */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 44px;
}
.testi-card {
  padding: 28px; border-radius: var(--r);
  background: rgba(20,25,36,0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.09), inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s;
}
.testi-card:hover { transform: translateY(-3px); }
.testi-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.testi-text {
  font-size: 14px; color: var(--text2); line-height: 1.75;
  font-weight: 300; font-style: italic; flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--alight); border: 1px solid var(--aborder);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--accent2);
}
.testi-name { font-size: 13px; font-weight: 500; color: var(--text); }
.testi-role { font-size: 11px; color: var(--text2); margin-top: 2px; }

@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; }
}

.grecaptcha-badge { visibility: hidden !important; }

/* Dev browser cliquable */
.dev-browser[data-lb-img] { transition: transform .25s, box-shadow .25s; }
.dev-browser[data-lb-img]:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.dev-browser[data-lb-img] .p-shot::after { content: ''; position: absolute; inset: 0; background: rgba(16,20,28,0.35); transition: opacity .3s; pointer-events: none; z-index: 1; }
.dev-browser[data-lb-img]:hover .p-shot::after { opacity: 0; }

/* DEV SLIDER */
.dev-slider { position: relative; margin-top: 44px; display: flex; align-items: center; gap: 16px; }
.dev-slides { flex: 1; overflow: hidden; position: relative; }
.dev-slide {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; pointer-events: none;
  transform: translateX(60px);
  transition: opacity .4s ease, transform .4s ease;
}
.dev-slide.active {
  position: relative; opacity: 1; pointer-events: all;
  transform: translateX(0);
}
.dev-slide.slide-out-left { transform: translateX(-60px); opacity: 0; }
.dev-slide.slide-out-right { transform: translateX(60px); opacity: 0; }

.dev-chevron {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(20,25,36,0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); color: var(--accent);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 2;
}
.dev-chevron:hover { background: rgba(222,116,76,0.15); border-color: var(--accent); transform: scale(1.05); }

.dev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer;
  transition: all .25s;
}
.dev-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
  .dev-slide.active { grid-template-columns: 1fr; }
  .dev-chevron { width: 36px; height: 36px; }
  .dev-slider { gap: 8px; }
}

/* NETWORK LINES SVG */
.network-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: hidden;
}

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  font-size: 12px; color: var(--text2); text-decoration: none; line-height: 1;
  padding: 0; margin: 0;
}
.nav-dropdown-toggle svg { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  padding-top: 12px;
  transform: translateX(-50%);
  background: transparent;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  min-width: 200px;
}
.nav-dropdown-menu::before {
  content: '';
  display: block;
  margin: 0 0 0 0;
}
.nav-dropdown-menu-inner {
  background: rgba(16,20,30,0.97); backdrop-filter: blur(20px);
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.12), 0 16px 48px rgba(0,0,0,0.5);
  padding: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 7px;
  font-size: 13px; color: var(--text2); text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-dropdown-item svg { flex-shrink: 0; color: var(--accent); }
.nav-dropdown-badge {
  margin-left: auto; font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 10px;
  background: var(--alight); color: var(--accent2);
  border: 0.5px solid var(--aborder);
}
