/* ══════════════════════════════════════
   VIKTUS — style.css
   Palette : Vert émeraude + Violet
   Fond : #020C08 (dark emerald)
══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
  --bg0:   #020C08;
  --bg1:   #041408;
  --g:     #00CF8A;
  --gd:    #007F56;
  --gdim:  rgba(0,207,138,0.13);
  --gglow: rgba(0,207,138,0.28);
  --ice:   #E8FFF6;
  --txt:   #8ECFB0;
  --muted: #3D6B55;
  --v:     #A78BFA;
  --vd:    #7C5CE6;
  --vdim:  rgba(167,139,250,0.12);
  --vglow: rgba(124,92,230,0.28);
  --glass: rgba(7,26,14,0.6);
  --gb:    rgba(0,207,138,0.12);
  --vb:    rgba(167,139,250,0.12);
  --r:     16px;
  --r-lg:  24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg0);
  color: var(--txt);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 10% 20%, rgba(167,139,250,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 15%, rgba(0,207,138,.07)   0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 85% 85%, rgba(0,207,138,.05)   0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(167,139,250,.05) 0%, transparent 55%);
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 2px; }

/* ══════════════════════════════════════
   ICÔNES — Scale + Glow
══════════════════════════════════════ */
.ico {
  display: inline-block; font-size: inherit;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .35s ease, text-shadow .35s ease;
  will-change: transform, filter;
}
.bc:hover .ico, .fc:hover .ico, .gc:hover .ico, .ps:hover .ico,
.wvRow:hover .ico, .mi:hover .ico, .portCard:hover .ico {
  transform: scale(1.22); filter: brightness(1.15);
  text-shadow: 0 0 20px var(--gglow), 0 0 40px rgba(0,207,138,.2);
}
.bc-v:hover .ico, .fc-v1:hover .ico, .fc-v2:hover .ico {
  text-shadow: 0 0 20px var(--vglow), 0 0 40px rgba(124,92,230,.2);
}

/* ══════════════════════════════════════
   NAV DESKTOP
══════════════════════════════════════ */
nav#nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 500; width: calc(100% - 32px); max-width: 1200px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  background: rgba(7,26,14,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(0,207,138,.18);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
nav#nav.scrolled {
  background: rgba(4,20,8,.92);
  border-color: rgba(0,207,138,.25);
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.n-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.n-logo-img { width: 36px; height: 36px; object-fit: contain; }
.n-logo-txt { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.05rem; color: var(--ice); letter-spacing: .5px; }
.n-logo-txt span { color: var(--g); }

.n-links { display: flex; gap: 2px; list-style: none; }
.n-links a {
  font-size: .82rem; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 7px 14px; border-radius: 100px;
  transition: color .2s, background .2s;
}
.n-links a:hover { color: var(--ice); background: rgba(0,207,138,.08); }

.n-cta {
  font-size: .82rem; font-weight: 700; color: var(--bg0);
  background: var(--g); border: none; padding: 10px 20px;
  border-radius: 100px; text-decoration: none; cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 14px var(--gglow);
  white-space: nowrap; flex-shrink: 0;
}
.n-cta:hover { background: #1FDFAA; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0,207,138,.45); }

/* ══════════════════════════════════════
   NAV BAS MOBILE
══════════════════════════════════════ */
.nav-bottom {
  display: none;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 70vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  position: relative; z-index: 1; text-align: center;
  overflow: hidden;
}

.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: blobF 10s ease-in-out infinite; }
.b1 { width: 500px; height: 500px; background: rgba(167,139,250,.1); top: -100px; left: -100px; animation-delay: 0s; }
.b2 { width: 400px; height: 400px; background: rgba(0,207,138,.08); top: 80px; right: -80px; animation-delay: 3s; }
.b3 { width: 350px; height: 350px; background: rgba(124,92,230,.07); bottom: 40px; left: 5%; animation-delay: 5s; }
@keyframes blobF { 0%,100%{transform:translateY(0) scale(1);} 50%{transform:translateY(-24px) scale(1.06);} }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(7,26,14,.7); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0,207,138,.22);
  border-radius: 100px; padding: 8px 18px;
  font-size: .75rem; font-weight: 700; color: var(--g);
  margin-bottom: 32px; animation: fadeUp .8s ease both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g); box-shadow: 0 0 8px var(--g);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.75);} }

.hero-h1 {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  font-size: clamp(3rem,7.5vw,6rem);
  line-height: 1.06; letter-spacing: -2px;
  color: var(--ice); margin-bottom: 20px;
  animation: fadeUp .8s .1s ease both;
}
.hl-g { color: var(--g); }
.hl-v { color: var(--v); }

.hero-sub {
  font-size: clamp(1rem,1.8vw,1.15rem);
  color: var(--txt); max-width: 560px; margin: 0 auto 48px;
  line-height: 1.85; font-weight: 500;
  animation: fadeUp .8s .2s ease both;
}
.hero-sub strong { color: var(--ice); font-weight: 700; }

.hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .8s .3s ease both;
}

.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .6rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted); margin-top: 40px;
  animation: fadeUp .8s .8s ease both;
}
.sh-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--g), transparent);
  animation: shA 2s ease-in-out infinite;
}
@keyframes shA { 0%,100%{opacity:1;transform:scaleY(1);} 50%{opacity:.3;transform:scaleY(.35);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px);} to{opacity:1;transform:translateY(0);} }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.btn-p {
  font-size: .92rem; font-weight: 700; color: var(--bg0);
  background: var(--g); padding: 14px 32px; border-radius: 100px;
  border: none; text-decoration: none; cursor: pointer; display: inline-block;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 20px var(--gglow);
}
.btn-p:hover { background: #1FDFAA; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,207,138,.5); }

.btn-g {
  font-size: .92rem; font-weight: 600; color: var(--txt);
  background: rgba(0,207,138,.07); border: 1.5px solid rgba(0,207,138,.2);
  padding: 14px 32px; border-radius: 100px;
  text-decoration: none; cursor: pointer; display: inline-block;
  transition: background .25s, border-color .25s, color .25s;
}
.btn-g:hover { background: rgba(0,207,138,.14); border-color: var(--g); color: var(--ice); }

/* ══════════════════════════════════════
   TAGS
══════════════════════════════════════ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.tag-g { background: var(--gdim); color: var(--g); border: 1px solid rgba(0,207,138,.2); }
.tag-v { background: var(--vdim); color: var(--v); border: 1px solid rgba(167,139,250,.2); }

/* ══════════════════════════════════════
   SHARED
══════════════════════════════════════ */
.sec  { position: relative; z-index: 1; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }

h2 {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  font-size: clamp(1.9rem,3.5vw,2.9rem);
  color: var(--ice); line-height: 1.12;
  letter-spacing: -1px; margin-bottom: 16px;
}

.sintro {
  font-size: .98rem; line-height: 1.9; color: var(--txt);
  max-width: 540px; margin-bottom: 52px; font-weight: 500;
}
.sintro strong { color: var(--ice); font-weight: 700; }

.gc {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1.5px solid var(--gb);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.gc:hover {
  border-color: rgba(0,207,138,.3); transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 40px rgba(0,207,138,.06);
}

/* ══════════════════════════════════════
   POUR QUI — BENTO
══════════════════════════════════════ */
#pourqui { background: linear-gradient(to bottom,transparent,rgba(7,26,14,.3),transparent); }
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.bc {
  padding: 36px 30px; border-radius: var(--r-lg);
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s; cursor: default;
}
.bc:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.bc-g  { background: linear-gradient(135deg,rgba(0,207,138,.1),rgba(0,127,86,.07)); border: 1.5px solid rgba(0,207,138,.18); }
.bc-v  { background: linear-gradient(135deg,rgba(167,139,250,.1),rgba(124,92,230,.07)); border: 1.5px solid rgba(167,139,250,.18); }
.bc-vd { background: linear-gradient(135deg,rgba(124,92,230,.15),rgba(90,60,200,.08)); border: 1.5px solid rgba(124,92,230,.2); }
.bc::after { content:''; position:absolute; bottom:-40px; right:-40px; width:130px; height:130px; border-radius:50%; opacity:.15; transition:opacity .3s; }
.bc-g::after  { background: var(--g); }
.bc-v::after  { background: var(--v); }
.bc-vd::after { background: var(--vd); }
.bc:hover::after { opacity: .3; }
.bc-ico-wrap { font-size: 2.6rem; margin-bottom: 18px; display: block; }
.bc-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--ice); margin-bottom: 10px; }
.bc-desc  { font-size: .88rem; color: var(--txt); line-height: 1.75; margin-bottom: 20px; font-weight: 500; }
.chips  { display: flex; flex-wrap: wrap; gap: 7px; }
.chip   { font-size: .65rem; font-weight: 800; border-radius: 100px; padding: 4px 11px; }
.chip-g { background: rgba(0,207,138,.14); color: var(--g); }
.chip-v { background: rgba(167,139,250,.14); color: var(--v); }

/* ══════════════════════════════════════
   FORMATION
══════════════════════════════════════ */
.fLayout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.fCards  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fc { padding: 26px 22px; border-radius: var(--r); transition: transform .3s, box-shadow .3s; cursor: default; }
.fc:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.fc-v1 { background: linear-gradient(135deg,rgba(167,139,250,.1),rgba(124,92,230,.06)); border: 1.5px solid rgba(167,139,250,.15); }
.fc-g1 { background: linear-gradient(135deg,rgba(0,207,138,.1),rgba(0,127,86,.06)); border: 1.5px solid rgba(0,207,138,.15); }
.fc-v2 { background: linear-gradient(135deg,rgba(124,92,230,.1),rgba(90,60,200,.06)); border: 1.5px solid rgba(124,92,230,.15); }
.fc-g2 { background: linear-gradient(135deg,rgba(0,207,138,.07),rgba(0,180,120,.04)); border: 1.5px solid rgba(0,207,138,.1); }
.fc-ico-wrap { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.fc-title    { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .88rem; color: var(--ice); margin-bottom: 5px; }
.fc-desc     { font-size: .82rem; color: var(--txt); line-height: 1.65; font-weight: 500; }

/* ══════════════════════════════════════
   3 FAMILLES
══════════════════════════════════════ */
.fam-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; align-items: start;
}
.fam-card {
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.fam-card:hover { transform: translateY(-4px); }
.fam-v  { background: linear-gradient(160deg,rgba(124,92,230,.18),rgba(167,139,250,.08)); border: 1.5px solid rgba(167,139,250,.22); }
.fam-g  { background: linear-gradient(160deg,rgba(0,207,138,.14),rgba(0,127,86,.06)); border: 1.5px solid rgba(0,207,138,.2); }
.fam-vd { background: linear-gradient(160deg,rgba(90,60,200,.2),rgba(124,92,230,.08)); border: 1.5px solid rgba(124,92,230,.25); }

.fam-header {
  display: flex; align-items: center; gap: 16px;
  padding: 28px; transition: background .25s; min-height: 180px;
}
.fam-card:hover .fam-header { background: rgba(255,255,255,.03); }
.fam-ico {
  font-size: 2.2rem; flex-shrink: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .35s ease;
}
.fam-card:hover .fam-ico, .fam-card.open .fam-ico {
  transform: scale(1.22); filter: brightness(1.15) drop-shadow(0 0 12px var(--gglow));
}
.fam-num   { font-size: .62rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fam-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.3rem; color: var(--ice); line-height: 1; margin-bottom: 4px; }
.fam-sub   { font-size: .82rem; color: var(--txt); font-weight: 500; }
.fam-arrow {
  margin-left: auto; flex-shrink: 0;
  font-size: 1.4rem; color: var(--muted);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .25s; line-height: 1;
}
.fam-card.open .fam-arrow { transform: rotate(90deg); color: var(--g); }
.fam-v.open .fam-arrow     { color: var(--v); }

.fam-body {
  max-height: 0; overflow: hidden; padding: 0 28px; opacity: 0;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), padding .4s ease, opacity .4s ease;
}
.fam-card.open .fam-body { max-height: 1200px; padding: 0 28px 28px; opacity: 1; }
.fam-intro { font-size: .9rem; color: var(--txt); line-height: 1.8; font-weight: 500; margin-bottom: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); }
.fam-items { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.fam-item  { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); transition: padding-left .2s; }
.fam-item:last-child { border-bottom: none; }
.fam-item:hover { padding-left: 6px; }
.fam-item-ico { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .35s ease; }
.fam-item:hover .fam-item-ico { transform: scale(1.22); filter: brightness(1.15) drop-shadow(0 0 10px var(--gglow)); }
.fam-item-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .88rem; color: var(--ice); margin-bottom: 3px; }
.fam-item-desc  { font-size: .82rem; color: var(--muted); line-height: 1.65; font-weight: 500; }
.fam-card.open { box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 40px rgba(0,207,138,.06); transform: translateY(-4px); }
.fam-v.open    { box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 40px rgba(167,139,250,.08); }
.fam-vd.open   { box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 40px rgba(124,92,230,.08); }

/* ══════════════════════════════════════
   WEB + PORTFOLIO
══════════════════════════════════════ */
.webTop {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 64px;
}
.wvList { display: flex; flex-direction: column; gap: 12px; }
.wvRow {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(7,26,14,.7); border: 1.5px solid var(--gb);
  transition: border-color .25s, background .25s, transform .25s;
}
.wvRow:hover { border-color: rgba(0,207,138,.3); background: rgba(0,207,138,.06); transform: translateX(4px); }
.wvIco-wrap { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.wvT { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .88rem; color: var(--ice); margin-bottom: 3px; }
.wvD { font-size: .83rem; color: var(--muted); line-height: 1.6; font-weight: 500; }

.portGrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.portGrid a { text-decoration: none; color: inherit; display: block; border-radius: var(--r-lg); overflow: hidden; }
.portCard { overflow: hidden; border-radius: var(--r-lg); border: 1.5px solid var(--gb); transition: background .4s, border-color .4s, box-shadow .4s, transform .3s; height: 100%; }

.portGrid a:nth-child(1) .portCard { background: linear-gradient(135deg,rgba(0,207,138,.1),rgba(0,127,86,.06)); border-color: rgba(0,207,138,.2); }
.portGrid a:nth-child(1) .portCard:hover { background: linear-gradient(135deg,rgba(167,139,250,.15),rgba(124,92,230,.08)); border-color: rgba(167,139,250,.35); box-shadow: 0 20px 60px rgba(167,139,250,.12); transform: translateY(-5px); }
.portGrid a:nth-child(2) .portCard { background: linear-gradient(135deg,rgba(167,139,250,.1),rgba(124,92,230,.06)); border-color: rgba(167,139,250,.2); }
.portGrid a:nth-child(2) .portCard:hover { background: linear-gradient(135deg,rgba(0,207,138,.15),rgba(0,127,86,.08)); border-color: rgba(0,207,138,.35); box-shadow: 0 20px 60px rgba(0,207,138,.12); transform: translateY(-5px); }
.portGrid a:nth-child(3) .portCard { background: linear-gradient(135deg,rgba(0,207,138,.1),rgba(0,127,86,.06)); border-color: rgba(0,207,138,.2); }
.portGrid a:nth-child(3) .portCard:hover { background: linear-gradient(135deg,rgba(124,92,230,.15),rgba(90,60,200,.08)); border-color: rgba(124,92,230,.35); box-shadow: 0 20px 60px rgba(124,92,230,.12); transform: translateY(-5px); }

.portTop { height: 150px; display: flex; align-items: center; justify-content: center; transition: background .4s; }
.portGrid a:nth-child(1) .portTop { background: linear-gradient(135deg,rgba(0,207,138,.18),rgba(0,127,86,.12)); }
.portGrid a:nth-child(1):hover .portTop { background: linear-gradient(135deg,rgba(167,139,250,.2),rgba(124,92,230,.12)); }
.portGrid a:nth-child(2) .portTop { background: linear-gradient(135deg,rgba(167,139,250,.18),rgba(124,92,230,.12)); }
.portGrid a:nth-child(2):hover .portTop { background: linear-gradient(135deg,rgba(0,207,138,.2),rgba(0,127,86,.12)); }
.portGrid a:nth-child(3) .portTop { background: linear-gradient(135deg,rgba(0,207,138,.18),rgba(0,127,86,.12)); }
.portGrid a:nth-child(3):hover .portTop { background: linear-gradient(135deg,rgba(124,92,230,.2),rgba(90,60,200,.12)); }

.portLbl { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; transition: color .4s; }
.portGrid a:nth-child(1) .portLbl { color: var(--g); } .portGrid a:nth-child(1):hover .portLbl { color: var(--v); }
.portGrid a:nth-child(2) .portLbl { color: var(--v); } .portGrid a:nth-child(2):hover .portLbl { color: var(--g); }
.portGrid a:nth-child(3) .portLbl { color: var(--g); } .portGrid a:nth-child(3):hover .portLbl { color: var(--vd); }

.portInfo { padding: 18px 20px 22px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.portBadge { font-size: .6rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g); background: var(--gdim); border-radius: 100px; padding: 3px 9px; display: inline-block; margin-bottom: 8px; }
.portName  { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .88rem; color: var(--ice); margin-bottom: 5px; }
.portDesc  { font-size: .8rem; color: var(--muted); line-height: 1.6; font-weight: 500; }

.ownBanner { margin-top: 28px; padding: 26px 32px; border-radius: var(--r-lg); background: linear-gradient(135deg,rgba(167,139,250,.08),rgba(124,92,230,.04)); border: 1.5px solid rgba(167,139,250,.18); display: flex; align-items: flex-start; gap: 18px; }
.ownIco-wrap { font-size: 2rem; flex-shrink: 0; }
.ownTitle    { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1rem; color: var(--ice); margin-bottom: 7px; }
.ownDesc     { font-size: .86rem; color: var(--txt); line-height: 1.75; font-weight: 500; }
.ownDesc strong { color: var(--ice); font-weight: 700; }

/* ══════════════════════════════════════
   PHILOSOPHIE
══════════════════════════════════════ */
.philoGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.philoQA-label { font-size: .7rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.qa-list { display: flex; flex-direction: column; }
.qa-item { padding: 16px 0; border-bottom: 1px solid rgba(0,207,138,.08); transition: background .25s, padding-left .25s; }
.qa-item:last-child { border-bottom: none; }
.qa-item:hover { padding-left: 8px; background: rgba(0,207,138,.03); }
.qa-q { font-size: .88rem; font-weight: 800; color: var(--v); margin-bottom: 7px; line-height: 1.4; }
.qa-r { font-size: .87rem; font-weight: 500; color: var(--txt); line-height: 1.65; display: flex; gap: 8px; }
.qa-arrow { color: var(--g); font-weight: 900; flex-shrink: 0; margin-top: 1px; }

.philoIce { display: flex; flex-direction: column; align-items: center; }
.ice-label { font-size: .7rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.ice-visible { width: 100%; border: 1.5px solid rgba(0,207,138,.22); border-bottom: none; border-radius: 14px 14px 0 0; padding: 16px 20px; background: rgba(0,207,138,.05); text-align: center; }
.ice-visible-tag { font-size: .6rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: rgba(0,207,138,.65); margin-bottom: 8px; }
.ice-visible-txt { font-size: .83rem; font-weight: 600; color: var(--txt); line-height: 1.7; }

.ice-surface-line { width: 100%; display: flex; align-items: center; gap: 6px; }
.ice-surface-bar  { flex: 1; height: 2px; background: linear-gradient(to right,rgba(0,207,138,.12),rgba(0,207,138,.55)); opacity: .85; }
.ice-surface-bar:last-child { background: linear-gradient(to left,rgba(0,207,138,.12),rgba(0,207,138,.55)); }
.ice-surface-txt { font-size: .58rem; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; color: rgba(0,207,138,.55); background: var(--bg0); padding: 0 6px; white-space: nowrap; }

.ice-rect { width: 100%; position: relative; border: 1.5px solid rgba(167,139,250,.22); border-top: none; border-radius: 0 0 14px 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); transform: translateZ(0); }
.ice-rect-bg { position: absolute; inset: 0; background: rgba(7,26,14,.55); }
.ice-fill { position: absolute; bottom: 0; left: 0; right: 0; height: 0%; background: linear-gradient(to top,rgba(0,207,138,.16),rgba(124,92,230,.22)); border-radius: 0 0 12px 12px; transition: none; }
.ice-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 0; z-index: 3; transition: transform .15s linear, opacity .4s ease; }
.ice-wave-inner { height: 3px; background: linear-gradient(90deg,transparent,rgba(0,207,138,.7),rgba(167,139,250,.8),rgba(0,207,138,.7),transparent); border-radius: 2px; animation: iceWaveAnim 2.2s ease-in-out infinite; }
@keyframes iceWaveAnim { 0%,100%{transform:scaleX(1);} 50%{transform:scaleX(1.05);} }
.ice-rows { position: relative; z-index: 2; }
.ice-row { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid rgba(0,207,138,.07); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.ice-row:last-child { border-bottom: none; }
.ice-row.show { opacity: 1; transform: translateY(0); }
.ice-row-txt { font-size: .82rem; font-weight: 700; }

#philoIce:not(.active) .ice-fill { height: 0% !important; }
#philoIce:not(.active) .ice-wave { opacity: 0 !important; }
#philoIce.active .ice-wave { opacity: 1; }

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.procGrid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 52px; }
.ps { padding: 26px 18px 22px; border-radius: var(--r); text-align: center; background: var(--glass); border: 1.5px solid var(--gb); transition: transform .3s, border-color .3s, box-shadow .3s; cursor: default; }
.ps:hover { transform: translateY(-6px); border-color: rgba(0,207,138,.3); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.psIco-wrap { font-size: 2rem; margin-bottom: 12px; display: block; }
.psN { font-size: .6rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; background: var(--gdim); color: var(--g); padding: 3px 9px; border-radius: 100px; display: inline-block; margin-bottom: 8px; }
.psT { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .84rem; color: var(--ice); margin-bottom: 6px; }
.psD { font-size: .78rem; color: var(--muted); line-height: 1.6; font-weight: 500; }

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.ctaBox {
  padding: 80px 60px; border-radius: var(--r-lg); text-align: center;
  background: linear-gradient(135deg,rgba(124,92,230,.3) 0%,rgba(0,207,138,.2) 100%);
  border: 1.5px solid rgba(0,207,138,.2); position: relative; overflow: hidden;
}
.ctaBox::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(ellipse 60% 60% at 20% 30%,rgba(167,139,250,.15) 0%,transparent 60%),
              radial-gradient(ellipse 50% 50% at 80% 70%,rgba(0,207,138,.12) 0%,transparent 55%);
}
.ctaBox h2 { color: var(--ice); margin-bottom: 16px; position: relative; }
.ctaBox > p { font-size: .97rem; color: var(--txt); max-width: 440px; margin: 0 auto 40px; line-height: 1.9; font-weight: 500; position: relative; }
.ctaRe { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: .78rem; font-weight: 700; color: var(--muted); position: relative; }
.ctaRe span::before { content: '✓  '; color: var(--g); }

/* ── CTA Grid ── */
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start; margin-top: 48px; text-align: left; position: relative;
}
.cta-contact-label, .cta-form-label {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.cta-link {
  display: flex; align-items: center; gap: 12px;
  color: var(--ice); text-decoration: none; font-size: 1rem; font-weight: 700;
  margin-bottom: 12px; transition: color .2s;
}
.cta-link:hover { color: var(--g); }

/* ══════════════════════════════════════
   FORMULAIRE
══════════════════════════════════════ */
.contactForm { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.form-group  { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .78rem; font-weight: 700; color: var(--txt); text-transform: uppercase; letter-spacing: 1px; }
.form-group input,
.form-group textarea {
  background: rgba(7,26,14,.7); border: 1.5px solid var(--gb);
  border-radius: 12px; padding: 13px 16px; color: var(--ice);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .9rem; font-weight: 500;
  width: 100%; transition: border-color .25s, box-shadow .25s;
  outline: none; resize: none; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(0,207,138,.12); }
.form-group textarea { min-height: 110px; }
.cf-turnstile { display: flex; justify-content: center; margin: 4px 0; overflow: hidden; }
.cf-turnstile iframe { border-radius: 10px; }
#btnSend { width: 100%; border: none; cursor: pointer; display: block; }
.form-success { padding: 14px 16px; border-radius: 12px; background: rgba(0,207,138,.1); border: 1px solid rgba(0,207,138,.3); color: var(--g); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.form-error   { padding: 14px 16px; border-radius: 12px; background: rgba(251,113,133,.1); border: 1px solid rgba(251,113,133,.3); color: #FB7185; font-size: .88rem; font-weight: 600; margin-top: 4px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { padding: 60px 24px 36px; border-top: 1px solid rgba(0,207,138,.08); position: relative; z-index: 1; }
.footWrap { max-width: 1200px; margin: 0 auto; }
.footTop { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footLogo { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--ice); margin-bottom: 10px; }
.footLogo span { color: var(--g); }
.footTag  { font-size: .82rem; color: var(--muted); line-height: 1.7; max-width: 200px; margin-bottom: 14px; font-weight: 500; }
.footLoc  { font-size: .78rem; color: var(--muted); font-weight: 600; }
.fcTitle  { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fcList   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fcList a { font-size: .83rem; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s; }
.fcList a:hover { color: var(--g); }
.footBot  { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(0,207,138,.07); font-size: .72rem; color: var(--muted); flex-wrap: wrap; gap: 10px; font-weight: 600; }
.footSlogan { color: rgba(0,207,138,.4); }

/* ══════════════════════════════════════
   REVEAL
══════════════════════════════════════ */
.rv    { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.rv.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE TABLET (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Nav desktop → masquée, nav-bottom affichée */
  nav#nav { top: 12px; width: calc(100% - 24px); padding: 10px 14px; border-radius: 20px; }
  .n-links { display: none; }
  .n-cta   { display: none; }

  /* Nav bas mobile */
  .nav-bottom {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 500;
    background: rgba(4,20,8,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(0,207,138,.15);
    align-items: stretch;
    justify-content: space-around;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    will-change: transform;
  }

  /* Espace pour que le footer ne soit pas caché par la nav-bottom */
  body { padding-bottom: 72px; }
  
    .nav-bottom::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: env(safe-area-inset-bottom, 0px);
    background: rgba(4,20,8,.97);
    z-index: -1;
  }

  .nb-item {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px; text-decoration: none;
    font-size: .58rem; font-weight: 700;
    color: var(--muted); letter-spacing: .5px;
    text-transform: uppercase;
    padding: 10px 0;
    height: 60px;
    transition: color .2s;
    text-align: center;
    flex: 1;
  }
  .nb-item:hover { color: var(--g); }
  .nb-item span:first-child { font-size: 1.2rem; }

  .nb-cta {
    font-size: .72rem; font-weight: 800;
    color: var(--bg0); background: var(--g);
    padding: 10px 16px; border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 16px var(--gglow);
    white-space: nowrap;
    align-self: center;
    height: auto;
  }

  /* Layouts */
  .wrap     { padding: 72px 20px; }
  .bento    { grid-template-columns: 1fr; }
  .fLayout  { grid-template-columns: 1fr; gap: 40px; }
  .fCards   { grid-template-columns: 1fr 1fr; }
  .webTop   { grid-template-columns: 1fr; gap: 40px; }
  .philoGrid { grid-template-columns: 1fr; gap: 52px; }
  .sGrid    { grid-template-columns: 1fr; }
  .portGrid { grid-template-columns: 1fr; }
  .tGrid    { grid-template-columns: 1fr; }
  .procGrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fam-grid { grid-template-columns: 1fr; }
  .footTop  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ctaBox   { padding: 40px 20px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  footer    { padding: 48px 20px 32px; }

  .ice-visible, .ice-surface-line, .ice-rect { width: 100%; max-width: 100%; }
}

/* ══════════════════════════════════════
   RESPONSIVE MOBILE (≤600px)
══════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-h1 { font-size: 2.4rem; letter-spacing: -1px; }
  h2       { font-size: 1.8rem; }
  .fCards  { grid-template-columns: 1fr; }
  .procGrid { grid-template-columns: 1fr 1fr; }
  .footTop { grid-template-columns: 1fr; }
  .bento   { grid-template-columns: 1fr; }
  .ctaBox  { padding: 28px 16px; }
  .fam-header { min-height: auto; padding: 20px; }
}