/* Collez ici tout votre CSS depuis index.html */
:root {
  --bg: #0a0a0b;
  --bg1: #111113;
  --bg2: #18181c;
  --bg3: #1e1e24;
  --bdr: rgba(255, 255, 255, 0.08);
  --bdr2: rgba(255, 255, 255, 0.05);
  --txt: #f9f8f5;
  --txt2: #b8b5ad;
  --txt3: #88868e;
  --ac: #cc785c;
  --acl: #e8956e;
  --acd: rgba(204, 120, 92, 0.14);
  --acg: rgba(204, 120, 92, 0.24);
  --r1: 8px;
  --r2: 12px;
  --r3: 20px;
  --r4: 28px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6
}

::selection {
  background: var(--ac);
  color: #fff
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: var(--bg3);
  border-radius: 10px
}

:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
  border-radius: 4px
}

/* NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000
}

.ni {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease)
}

header.sc .ni {
  background: rgba(10, 10, 11, .9);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--bdr)
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--txt);
  transition: color .2s
}

.logo-ic {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--ac), var(--acl));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: #fff;
  flex-shrink: 0
}

.logo:hover {
  color: var(--ac)
}

.nl {
  display: flex;
  align-items: center;
  gap: .25rem
}

.nl a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--txt2);
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: var(--r1);
  transition: color .2s, background .2s
}

.nl a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, .05)
}

.nl a.act {
  color: var(--txt)
}

.mbn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r1);
  border: 1px solid var(--bdr);
  background: transparent;
  color: var(--txt2);
  cursor: pointer;
  font-size: .95rem;
  transition: all .2s
}

.mbn:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, .05)
}

.ncta {
  display: flex;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
  border-radius: var(--r2);
  white-space: nowrap;
  position: relative;
  overflow: hidden
}

.btn i {
  font-size: .8rem;
  transition: transform .2s var(--ease)
}

.btn:hover i {
  transform: translateX(2px)
}

.btn-p {
  background: var(--ac);
  color: #fff;
  padding: .65rem 1.4rem
}

.btn-p:hover {
  background: var(--acl);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(204, 120, 92, .3)
}

.btn-s {
  background: var(--bg2);
  color: var(--txt);
  padding: .65rem 1.4rem;
  border: 1px solid var(--bdr)
}

.btn-s:hover {
  background: var(--bg3);
  border-color: rgba(255, 255, 255, .12);
  transform: translateY(-1px)
}

.btn-g {
  background: transparent;
  color: var(--txt2);
  padding: .6rem 1.2rem
}

.btn-g:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, .05)
}

.btnlg {
  padding: .85rem 1.8rem;
  font-size: .95rem;
  border-radius: var(--r3)
}

/* HERO */
#home {
  min-height: 100vh;
  padding: 2rem 1rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center
}

/* Media query pour les écrans de bureau uniquement */
@media (min-width: 1025px) {

  /* Section Hero */
  #home {
    min-height: 95vh;
    padding: 2rem 1rem !important;
  }

  .hi {
    gap: 2.5rem !important;
    margin-top: 0 !important;
  }

  .hh {
    margin-bottom: 1.5rem !important;
    font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
    line-height: 1.15 !important;
  }

  .hs {
    margin: 1rem 0 2rem 0 !important;
    line-height: 1.7 !important;
    font-size: 1.1rem !important;
    max-width: 500px !important;
  }

  .hbadge {
    margin-bottom: 0.75rem !important;
  }

  /* Barre de statistiques améliorée */
  .sbar {
    padding: 1.5rem 0 !important;
    background: var(--bg1);
    margin-top: -3rem !important;
  }

  .sbi {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3.5rem !important;
    justify-content: space-around;
  }

  .sbn {
    font-size: 2.4rem !important;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: var(--ac);
  }

  .sbl {
    font-size: 0.9rem !important;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: var(--txt2);
    font-weight: 500;
  }

  .sdv {
    height: 60px;
    margin: 0 0.5rem;
    background: var(--bdr);
  }

  /* Autres ajustements */
  .ha {
    margin-top: 0.5rem !important;
  }

  .terminal {
    transform: scale(0.95) !important;
    transform-origin: top right !important;
  }
}

#home::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(204, 120, 92, .09) 0%, transparent 65%);
  pointer-events: none
}

#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 30%, rgba(204, 120, 92, .05) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 20% 70%, rgba(100, 80, 200, .04) 0%, transparent 70%);
  pointer-events: none
}

.hi {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2
}

.hbadge {
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fuA .7s .1s var(--ease) forwards
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--r1);
  background: var(--acd);
  color: var(--acl);
  border: 1px solid rgba(204, 120, 92, .2)
}

.hh {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--txt);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fuA .7s .2s var(--ease) forwards
}

.hh span {
  background: linear-gradient(135deg, var(--acl), #e8b89a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hs {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fuA .7s .3s var(--ease) forwards
}

.hs strong {
  color: var(--txt);
  font-weight: 600
}

.ha {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fuA .7s .4s var(--ease) forwards
}

.hright {
  opacity: 0;
  animation: fuA .9s .5s var(--ease) forwards
}

.tc {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .03)
}

.ttb {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--bdr2)
}

.td {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.td.r {
  background: #ff5f57
}

.td.y {
  background: #febc2e
}

.td.g {
  background: #28c840
}

.ttl {
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--txt3);
  letter-spacing: .04em
}

.tb {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.9;
  min-height: 260px
}

.tl {
  display: flex;
  align-items: flex-start;
  gap: .6rem
}

.tp {
  color: var(--ac);
  user-select: none
}

.tcmd {
  color: #b8d4ff
}

.to {
  color: var(--txt2);
  padding-left: 1.2rem
}

.to.gn {
  color: #7ecf8e
}

.to.dm {
  color: var(--txt3)
}

.to.ac {
  color: var(--acl)
}

.tcur {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--ac);
  vertical-align: text-bottom;
  animation: blk 1.1s step-end infinite;
  border-radius: 1px
}

@keyframes blk {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* STATS */
.sbar {
  background: var(--bg1);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 1.5rem 0
}

.sbi {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem
}

.sbn {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--txt);
  line-height: 1
}

.sbl {
  font-size: .78rem;
  font-weight: 500;
  color: var(--txt3);
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .05em
}

.sdv {
  width: 1px;
  height: 40px;
  background: var(--bdr)
}

/* SECTIONS */
.wrap {
  max-width: 1400px;
  margin: 0 auto
}

section {
  position: relative
}

.ey {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 1rem
}

.ey::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ac);
  border-radius: 2px
}

.stitle {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--txt);
  margin-bottom: 1rem
}

.stitle span {
  color: var(--ac)
}

.slead {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--txt2);
  max-width: 520px;
  line-height: 1.75
}

/* STATS CARD */
.stats-card {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  padding: 2rem;
  transition: border-color .3s, box-shadow .3s
}

.stats-card:hover {
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .3)
}

.stats-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem
}

.stats-header i {
  font-size: 1.5rem;
  color: var(--ac)
}

.stats-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--txt)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg1);
  border-radius: var(--r2);
  border: 1px solid var(--bdr2)
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ac);
  margin-bottom: .5rem
}

.stat-label {
  font-size: .75rem;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: .05em
}

.achievements {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.achievement {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem;
  background: var(--bg1);
  border-radius: var(--r1);
  border: 1px solid var(--bdr2)
}

.achievement i {
  color: var(--ac);
  font-size: .875rem
}

.achievement span {
  font-size: .875rem;
  color: var(--txt2)
}

/* SKILL BARS (remplacement) */
.skcard {
  display: none
}

/* ABOUT */
#about {
  padding: 6rem 1rem 5rem
}

.abgrid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center
}

.abh {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--txt);
  margin-bottom: 1.5rem
}

.abh span {
  color: var(--ac)
}

.abp {
  font-size: 1rem;
  font-weight: 400;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: 1rem
}

.abp strong {
  color: var(--txt);
  font-weight: 600
}

.abtags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem
}

.tp2 {
  font-size: .78rem;
  font-weight: 500;
  padding: .35rem .8rem;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r1);
  color: var(--txt2);
  transition: all .2s
}

.tp2:hover {
  color: var(--txt);
  border-color: var(--ac);
  background: var(--acd)
}

.skcard {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  padding: 1.75rem;
  position: relative;
  overflow: hidden
}

.skcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ac), transparent);
  opacity: .5
}

.skh {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt3);
  margin-bottom: 1.75rem;
  font-family: var(--mono)
}

.skh i {
  color: var(--ac);
  font-size: .75rem
}

.skrows {
  display: flex;
  flex-direction: column;
  gap: 1.25rem
}

.skrt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem
}

.sknm {
  font-size: .875rem;
  font-weight: 500;
  color: var(--txt)
}

.skpc {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ac);
  font-weight: 500
}

.skt {
  height: 4px;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
  overflow: hidden
}

.skf {
  height: 100%;
  background: linear-gradient(90deg, var(--ac), var(--acl));
  border-radius: 10px;
  width: 0;
  transition: width 1.2s var(--ease)
}

/* TOOLS */
#tools {
  padding: 5rem 1rem;
  border-top: 1px solid var(--bdr)
}

.tlh {
  max-width: 1400px;
  margin: 0 auto 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap
}

.tlhn {
  font-size: .88rem;
  color: var(--txt2);
  font-weight: 400;
  max-width: 320px;
  line-height: 1.7
}

.tlgrid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.tlp {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r3);
  padding: 1.5rem;
  transition: border-color .25s, background .25s, transform .25s var(--ease)
}

.tlp:hover {
  border-color: rgba(255, 255, 255, .13);
  background: var(--bg2);
  transform: translateY(-2px)
}

.tlpi {
  width: 28px;
  height: 28px;
  background: var(--acd);
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac);
  font-size: .75rem;
  margin-right: .5rem
}

.tlpc {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt3);
  margin-bottom: 1rem;
  font-family: var(--mono);
  display: flex;
  align-items: center
}

.tlitems {
  display: flex;
  flex-direction: column;
  gap: .55rem
}

.tlrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .75rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--bdr2);
  border-radius: var(--r1);
  transition: background .2s, border-color .2s
}

.tlrow:hover {
  background: rgba(255, 255, 255, .05);
  border-color: var(--bdr)
}

.tlrn {
  font-size: .85rem;
  font-weight: 500;
  color: var(--txt)
}

.tlrl {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ac);
  background: var(--acd);
  padding: .18rem .55rem;
  border-radius: 4px
}

/* EXPERTISE */
#expertise {
  padding: 5rem 1rem;
  background: var(--bg1);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  position: relative
}

.expwrap {
  max-width: 1400px;
  margin: 0 auto
}

.exph {
  margin-bottom: 3.5rem
}

.expgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

.expc {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  padding: 1.75rem
}

.expic {
  width: 44px;
  height: 44px;
  background: var(--acd);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac);
  font-size: 1.05rem;
  margin-bottom: 1.5rem
}

.exptit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: .65rem
}

.expdesc {
  font-size: .875rem;
  color: var(--txt2);
  line-height: 1.75;
  margin-bottom: 1.5rem
}

.exptags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem
}

.exptg {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .25rem .6rem;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 4px;
  color: var(--txt3)
}

/* SERVICES */
#services {
  padding: 5rem 1rem
}

.svwrap {
  max-width: 1400px;
  margin: 0 auto
}

.svtop {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap
}

.svn {
  font-size: .88rem;
  color: var(--txt2);
  max-width: 280px;
  line-height: 1.7
}

.svgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem
}

.svc {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  padding: 2rem;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.svc:hover {
  border-color: rgba(255, 255, 255, .13);
  background: var(--bg2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transform: translateY(-3px)
}

.svc::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--acg) 0%, transparent 70%);
  transition: opacity .4s;
  opacity: 0;
  pointer-events: none
}

.svc:hover::before {
  opacity: 1
}

.svcic {
  width: 48px;
  height: 48px;
  background: var(--acd);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  transition: all .25s
}

.svc:hover .svcic {
  background: rgba(204, 120, 92, .22);
  box-shadow: 0 0 24px rgba(204, 120, 92, .2)
}

.svctit {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: .75rem
}

.svcdesc {
  font-size: .9rem;
  color: var(--txt2);
  line-height: 1.75;
  margin-bottom: 2rem;
  flex: 1
}

.svco {
  border-top: 1px solid var(--bdr2);
  padding-top: 1.5rem
}

.svcol {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt3);
  margin-bottom: .85rem;
  font-family: var(--mono)
}

.svcolist {
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.svcopt {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  color: var(--txt2);
  padding: .5rem 0;
  border-bottom: 1px solid var(--bdr2);
  transition: color .2s
}

.svcopt:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.svcopt:hover {
  color: var(--txt)
}

.svcopt::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ac);
  flex-shrink: 0;
  opacity: .6
}

.svcopt strong {
  color: var(--txt);
  font-weight: 600
}

/* CONTACT */
#contact {
  padding: 5rem 1rem;
  border-top: 1px solid var(--bdr);
  position: relative;
  overflow: hidden
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(204, 120, 92, .07) 0%, transparent 65%);
  pointer-events: none
}

.ctwrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1
}

.cth {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--txt);
  margin-bottom: 1.25rem
}

.cth span {
  color: var(--ac)
}

.ctsub {
  font-size: 1rem;
  color: var(--txt2);
  line-height: 1.75;
  margin-bottom: 2.5rem
}

.ctrows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem
}

.ctrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bdr2);
  transition: padding-left .2s
}

.ctrow:first-child {
  border-top: 1px solid var(--bdr2)
}

.ctrow:hover {
  padding-left: .75rem
}

.ctrowi {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--acd);
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac);
  font-size: .8rem
}

.ctrowt {
  font-size: .875rem;
  color: var(--txt2);
  text-decoration: none;
  transition: color .2s
}

.ctrowt:hover {
  color: var(--ac)
}

.socrow {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap
}

.socbtn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r1);
  border: 1px solid var(--bdr);
  color: var(--txt2);
  font-size: .875rem;
  text-decoration: none;
  transition: all .22s var(--ease)
}

.socbtn:hover {
  border-color: var(--ac);
  color: var(--ac);
  background: var(--acd);
  transform: translateY(-2px)
}

.ctform {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: block
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--ac), var(--acl));
  border-radius: 1px;
}

.required {
  color: var(--ac);
  font-weight: 700;
  margin-left: 2px;
}

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--txt3);
  margin-top: 0.25rem;
}

.ctform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 120, 92, .4), transparent)
}

.ff {
  margin-bottom: 1rem
}

.fl {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--txt2);
  margin-bottom: .45rem
}

.ff input,
.ff textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: .8rem 1rem;
  color: var(--txt);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 400;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical
}

.ff input::placeholder,
.ff textarea::placeholder {
  color: var(--txt3);
  font-size: .875rem
}

.ff input:focus,
.ff textarea:focus {
  border-color: rgba(204, 120, 92, .45);
  background: rgba(204, 120, 92, .03);
  box-shadow: 0 0 0 3px rgba(204, 120, 92, .1)
}

.ff select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: .8rem 1rem;
  color: var(--txt);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 400;
  outline: none;
  transition: border-color .2s, background .2s;
  cursor: pointer
}

.ff select:focus {
  border-color: rgba(204, 120, 92, .45);
  background: rgba(204, 120, 92, .03);
  box-shadow: 0 0 0 3px rgba(204, 120, 92, .1)
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.radio-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--txt2);
  cursor: pointer;
  transition: color .2s
}

.radio-label input[type="radio"] {
  margin: 0
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--txt2);
  cursor: pointer;
  transition: color .2s
}

.checkbox-label input[type="checkbox"] {
  margin: 0
}

/* FORM ERRORS */
.field-error {
  color: #ef4444;
  font-size: .75rem;
  margin-top: .25rem;
  display: none
}

.field-error.show {
  display: block
}

.ff input.error,
.ff textarea.error,
.ff select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1)
}

/* TERMINAL CARD */
.terminal-card {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r4);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  opacity: 0;
  transition: opacity .5s var(--ease);
  display: none
}

.terminal-card.show {
  opacity: 1;
  display: block
}

.terminal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 120, 92, .4), transparent)
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem
}

.terminal-dots {
  display: flex;
  gap: .4rem
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%
}

.terminal-dot.red {
  background: #ef4444
}

.terminal-dot.yellow {
  background: #f59e0b
}

.terminal-dot.green {
  background: #10b981
}

.terminal-title {
  font-size: .875rem;
  color: var(--txt3);
  font-family: 'JetBrains Mono', monospace;
  margin-left: auto
}

.terminal-content {
  font-family: 'JetBrains Mono', monospace;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--txt2)
}

.terminal-line {
  margin-bottom: .5rem;
  opacity: 0;
  transform: translateX(-10px);
  animation: terminalLineIn .3s forwards
}

.terminal-line.command {
  color: var(--ac)
}

.terminal-line.command i {
  margin-right: .5rem;
  width: 16px;
  text-align: center
}

.terminal-line.success {
  color: #10b981
}

.terminal-line.error {
  color: #ef4444
}

.terminal-line.info {
  color: #3b82f6
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background: var(--ac);
  animation: blink 1s infinite
}

@keyframes terminalLineIn {
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes blink {

  0%,
  50% {
    opacity: 1
  }

  51%,
  100% {
    opacity: 0
  }
}

.terminal-form-transition {
  transition: opacity .5s var(--ease);
  opacity: 0
}

.terminal-form-transition.hide {
  display: none
}

@media(max-width:768px) {
  .fsub {
    width: 100%;
    justify-content: center;
    margin-top: .5rem;
    padding: .9rem;
    font-size: .9rem;
    border-radius: var(--r2)
  }
}

/* FOOTER */
footer {
  position: relative;
  border-top: 1px solid var(--bdr);
  padding: 4rem 1rem 0;
  background: var(--bg1);
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(204, 120, 92, .06) 0%, transparent 70%);
  pointer-events: none;
}

/* Points décoratifs */
.footer-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--ac);
  opacity: 0.07;
  filter: blur(1px);
}

.dot-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
}

.dot-2 {
  width: 50px;
  height: 50px;
  top: 60%;
  left: 15%;
}

.dot-3 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 8%;
  opacity: 0.05;
}

.dot-4 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  right: 25%;
}

.dot-5 {
  width: 60px;
  height: 60px;
  bottom: 10%;
  left: 40%;
  opacity: 0.04;
}

.dot-6 {
  width: 30px;
  height: 30px;
  top: 20%;
  left: 55%;
}

.dot-7 {
  width: 90px;
  height: 90px;
  bottom: 5%;
  right: 5%;
  opacity: 0.05;
}

.dot-8 {
  width: 20px;
  height: 20px;
  top: 50%;
  left: 30%;
}

/* Layout principal footer */
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

/* Colonne brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  font-size: .875rem;
  color: var(--txt2);
  line-height: 1.75;
}

.footer-tagline strong {
  color: var(--txt2);
  font-weight: 600;
}

.footer-socials {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.fsoc {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r1);
  border: 1px solid var(--bdr);
  color: var(--txt3);
  font-size: .85rem;
  text-decoration: none;
  transition: all .22s var(--ease);
}

.fsoc:hover {
  border-color: var(--ac);
  color: var(--ac);
  background: var(--acd);
  transform: translateY(-2px);
}

/* Colonnes génériques */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt);
  font-family: var(--mono);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--bdr2);
}

/* Nav footer */
.fnav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.fnav a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--txt2);
  text-decoration: none;
  padding: .4rem .5rem;
  border-radius: var(--r1);
  transition: color .2s, background .2s, padding-left .2s;
}

.fnav a i {
  font-size: .55rem;
  color: var(--ac);
  opacity: 0;
  transition: opacity .2s, transform .2s;
}

.fnav a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, .04);
  padding-left: .85rem;
}

.fnav a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Contact footer */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: var(--txt2);
  text-decoration: none;
  padding: .5rem .6rem;
  border-radius: var(--r1);
  transition: color .2s, background .2s;
}

.footer-contact-item:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, .04);
}

.footer-contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--acd);
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac);
  font-size: .75rem;
}

/* Newsletter col */
.footer-newsletter-col {
  gap: .85rem;
}

.footer-nl-desc {
  font-size: .8rem;
  color: var(--txt2);
  line-height: 1.65;
}

.fnform {
  width: 100%;
}

.fninput {
  display: flex;
  gap: .4rem;
}

.fninput input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: .65rem .9rem;
  color: var(--txt);
  font-size: .82rem;
  outline: none;
  transition: border-color .2s, background .2s;
  min-width: 0;
}

.fninput input::placeholder {
  color: var(--txt3);
  font-size: .78rem;
}

.fninput input:focus {
  border-color: rgba(204, 120, 92, .45);
  background: rgba(204, 120, 92, .03);
}

.fnbtn {
  background: var(--ac);
  color: #fff;
  border: none;
  border-radius: var(--r2);
  padding: .65rem .9rem;
  cursor: pointer;
  transition: all .25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fnbtn:hover {
  background: var(--acl);
  transform: translateY(-1px);
}

.fnbtn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.fnbtn i {
  font-size: .78rem;
}

.fnerror {
  font-size: .72rem;
  color: #ef4444;
  min-height: 1rem;
  display: none;
  margin-top: .2rem;
}

.fnerror.show {
  display: block;
}

/* Section feedback dédiée */
.footer-feedback-section {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r3);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  position: relative;
  overflow: hidden;
}

.footer-feedback-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 120, 92, .35), transparent);
}

.footer-feedback-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--txt);
}

.footer-feedback-header i {
  color: var(--ac);
  font-size: .9rem;
}

.footer-feedback-desc {
  font-size: .78rem;
  color: var(--txt2);
  line-height: 1.5;
}

.footer-feedback-form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-feedback-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: .65rem .85rem;
  color: var(--txt);
  font-family: var(--font);
  font-size: .82rem;
  outline: none;
  resize: none;
  transition: border-color .2s, background .2s;
  line-height: 1.55;
}

.footer-feedback-textarea::placeholder {
  color: var(--txt3);
}

.footer-feedback-textarea:focus {
  border-color: rgba(204, 120, 92, .45);
  background: rgba(204, 120, 92, .03);
  box-shadow: 0 0 0 3px rgba(204, 120, 92, .08);
}

.footer-feedback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  background: var(--ac);
  border: none;
  border-radius: var(--r2);
  padding: .6rem 1rem;
  cursor: pointer;
  transition: all .22s var(--ease);
  align-self: flex-end;
}

.footer-feedback-submit:hover {
  background: var(--acl);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(204, 120, 92, .25);
}

.footer-feedback-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.footer-feedback-submit i {
  font-size: .75rem;
}

.footer-feedback-success {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: #10b981;
  padding: .5rem .75rem;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: var(--r1);
}

.footer-feedback-success i {
  font-size: .9rem;
}

/* BOUTON FLOTTANT FORMULAIRE (PC uniquement) */
.form-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.form-toggle-btn {
  background: rgba(204, 120, 92, 0.1);
  border: 1px solid rgba(204, 120, 92, 0.3);
  border-radius: var(--r2);
  color: var(--ac);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 48px;
}

.form-toggle-btn:hover {
  background: rgba(204, 120, 92, 0.2);
  border-color: rgba(204, 120, 92, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(204, 120, 92, 0.2);
  color: var(--acl);
}

.form-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--r3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

.form-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.form-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--bdr2);
}

.form-popup-header h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--txt);
  margin: 0;
}

.form-popup-close {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--txt3);
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: var(--r1);
  transition: all 0.2s;
}

.form-popup-close:hover {
  color: var(--txt);
  background: var(--bg2);
}

.form-popup-content {
  padding: 1rem 1.25rem 1.25rem;
}

.ff-small {
  margin-bottom: 0.75rem;
}

.fl-small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--txt2);
  margin-bottom: 0.35rem;
}

.ff-small input,
.ff-small textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r1);
  padding: 0.5rem 0.75rem;
  color: var(--txt);
  font-family: var(--font);
  font-size: 0.8rem;
  transition: all 0.2s;
  outline: none;
}

.ff-small input::placeholder,
.ff-small textarea::placeholder {
  color: var(--txt3);
  font-size: 0.8rem;
}

.ff-small input:focus,
.ff-small textarea:focus {
  border-color: rgba(204, 120, 92, 0.45);
  background: rgba(204, 120, 92, 0.03);
  box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.1);
}

.field-error-small {
  color: #ef4444;
  font-size: 0.7rem;
  margin-top: 0.25rem;
  min-height: 1rem;
  display: none;
}

.field-error-small.show {
  display: block;
}

.char-count-small {
  text-align: right;
  font-size: 0.7rem;
  color: var(--txt3);
  margin-top: 0.2rem;
}

.form-popup-submit {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  margin-top: 0.5rem;
}

/* Terminal dans le popup */
.form-popup .terminal-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg1);
  border-radius: var(--r3);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition: all 0.3s var(--ease);
}

.form-popup .terminal-card.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.form-popup .terminal-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bdr2);
}

.form-popup .terminal-title {
  font-size: 0.8rem;
}

.form-popup .terminal-content {
  padding: 1rem;
  font-size: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
}

.form-popup .terminal-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.3s ease forwards;
}

.form-popup .terminal-line.command {
  color: var(--ac);
}

.form-popup .terminal-line.info {
  color: var(--txt2);
}

.form-popup .terminal-line.success {
  color: #10b981;
}

.form-popup .terminal-line.error {
  color: #ef4444;
}

.form-popup .terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--ac);
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Terminal flottant pour le formulaire */
.floating-terminal {
  position: absolute !important;
  bottom: 70px !important;
  right: 0 !important;
  width: 360px !important;
  min-height: 300px !important;
  padding: 1.5rem !important;
  background: var(--bg1) !important;
  border: 1px solid var(--bdr) !important;
  border-radius: var(--r4) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) scale(0.9) !important;
  transition: all 0.3s var(--ease) !important;
  overflow: hidden !important;
  z-index: 1001 !important;
}

.floating-terminal.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.floating-terminal::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(204, 120, 92, .4), transparent) !important;
}

.floating-terminal .terminal-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

.floating-terminal .terminal-dots {
  display: flex !important;
  gap: 0.4rem !important;
}

.floating-terminal .terminal-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
}

.floating-terminal .terminal-dot.red {
  background: #ef4444 !important;
}

.floating-terminal .terminal-dot.yellow {
  background: #f59e0b !important;
}

.floating-terminal .terminal-dot.green {
  background: #10b981 !important;
}

.floating-terminal .terminal-title {
  color: var(--txt3) !important;
  font-family: var(--mono) !important;
  font-size: 0.8rem !important;
}

.floating-terminal .terminal-content {
  font-family: var(--mono) !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  max-height: 200px !important;
  overflow-y: auto !important;
}

.floating-terminal .terminal-line {
  margin-bottom: 0.5rem !important;
  opacity: 0 !important;
  animation: fadeInUp 0.3s ease forwards !important;
}

.floating-terminal .terminal-line.command {
  color: var(--ac) !important;
}

.floating-terminal .terminal-line.info {
  color: var(--txt2) !important;
}

.floating-terminal .terminal-line.success {
  color: #10b981 !important;
}

.floating-terminal .terminal-line.error {
  color: #ef4444 !important;
}

.floating-terminal .terminal-cursor {
  display: inline-block !important;
  width: 8px !important;
  height: 16px !important;
  background: var(--ac) !important;
  margin-left: 2px !important;
  animation: blink 1s infinite !important;
}

/* Responsive : cacher sur mobile */
@media (max-width: 768px) {
  .form-floating {
    display: none;
  }
}

/* FEEDBACK SIMPLE INPUT */
.feedback-input-simple {
  display: flex;
  gap: .4rem;
  padding: .5rem;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all .3s var(--ease);
  pointer-events: none;
}

.feedback-input-simple.show {
  opacity: 1;
  max-height: 60px;
  pointer-events: auto;
}

.feedback-input-simple input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--txt);
  font-size: .8rem;
  outline: none;
  min-width: 0;
}

.feedback-input-simple input::placeholder {
  color: var(--txt3);
}

.feedback-input-simple button {
  background: var(--ac);
  color: #fff;
  border: none;
  border-radius: var(--r1);
  padding: .4rem .6rem;
  cursor: pointer;
  transition: all .25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feedback-input-simple button:hover:not(:disabled) {
  background: var(--acl);
}

.feedback-input-simple button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.feedback-input-simple button i {
  font-size: .7rem;
}

/* Bottom bar */
.fbottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: 1px solid var(--bdr2);
  position: relative;
  z-index: 1;
}

.fcp {
  font-size: .78rem;
  color: var(--txt2);
}

.footer-back-top {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r1);
  border: 1px solid var(--bdr);
  color: var(--txt3);
  font-size: .75rem;
  text-decoration: none;
  transition: all .22s var(--ease);
}

.footer-back-top:hover {
  border-color: var(--ac);
  color: var(--ac);
  background: var(--acd);
  transform: translateY(-2px);
}

/* Logo footer */
.flogo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--txt);
  letter-spacing: -.01em;
  transition: color .2s;
  width: fit-content;
}

.flogo:hover {
  color: var(--ac);
}

.flic {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--ac), var(--acl));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: #fff;
  flex-shrink: 0;
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    gap: 1rem;
  }

  .footer-col-title {
    font-size: .65rem;
  }

  .fnav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .25rem;
  }

  .fnav a {
    font-size: .8rem;
    padding: .35rem .6rem;
  }

  .footer-contact-item {
    font-size: .8rem;
  }

  .fbottom {
    flex-direction: column;
    gap: .75rem;
    text-align: center;
    padding: 1rem 0;
  }
}


/* SCROLL-TOP */
.stbtn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--r1);
  color: var(--txt2);
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s var(--ease);
  z-index: 500
}

.stbtn.show {
  opacity: 1;
  transform: translateY(0)
}

.stbtn:hover {
  color: var(--ac);
  border-color: var(--ac);
  background: var(--acd);
  transform: translateY(-2px)
}

/* ANIMATIONS */
@keyframes fuA {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden
}

.rv.in {
  opacity: 1;
  transform: translateY(0)
}

.rvl {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.rvl.in {
  opacity: 1;
  transform: translateX(0)
}

.rvr {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.rvr.in {
  opacity: 1;
  transform: translateX(0)
}

.d1 {
  transition-delay: .08s
}

.d2 {
  transition-delay: .15s
}

.d3 {
  transition-delay: .22s
}

.d4 {
  transition-delay: .30s
}

.d5 {
  transition-delay: .38s
}

.d6 {
  transition-delay: .46s
}

/* FORM TOGGLE (mobile uniquement) */
.form-toggle {
  display: none;
  pointer-events: none
}

.form-hint-mobile {
  display: none;
  font-size: .8rem;
  color: var(--txt2);
  text-align: center;
  margin-bottom: .5rem;
  font-style: italic
}

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

  /* Navigation pour tablettes */
  header {
    padding: 0.8rem 1.5rem;
  }

  .nl {
    gap: 0.5rem;
  }

  .nl a {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    white-space: nowrap;
  }

  .ncta .btn-p {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }

  /* Layout général */
  .hi {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hright {
    max-width: 520px;
  }

  .tlgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ctwrap {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Ajustements spécifiques pour les tablettes moyennes */
@media (max-width: 900px) and (min-width: 769px) {
  .nl a {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
  }

  .ncta .btn-p {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
}

/* Ajustements pour les petites tablettes */
@media (max-width: 820px) {
  .nl a {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }

  .ncta .btn-p {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
}

@media(max-width:768px) {
  header {
    display: none
  }

  .mbn {
    display: flex
  }

  .nl {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 82vw);
    height: 100vh;
    background: var(--bg1);
    border-left: 1px solid var(--bdr);
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(110%);
    transition: transform .4s var(--ease);
    z-index: 999
  }

  .nl.open {
    transform: translateX(0)
  }

  .nl a {
    width: 100%;
    padding: .8rem 1rem;
    font-size: .9rem;
    border-radius: var(--r2)
  }

  .ncta .btn-p {
    display: none
  }

  #home {
    padding: 4rem 1.5rem 3rem
  }

  .abgrid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .svgrid {
    grid-template-columns: 1fr
  }

  .svc {
    padding: 1.75rem
  }

  .svcic {
    display: none
  }

  .tlgrid {
    grid-template-columns: 1fr
  }

  .sbi {
    gap: 1.5rem
  }

  .sdv {
    display: none
  }

  #about,
  #tools,
  #expertise,
  #services,
  #contact {
    padding: 5rem 1.25rem
  }

  .expgrid {
    grid-template-columns: 1fr
  }

  .svtop,
  .tlh {
    flex-direction: column;
    align-items: center
  }

  .fi {
    flex-direction: column;
    gap: 1rem
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
  }

  .stat-item {
    padding: 1rem
  }

  .stat-number {
    font-size: 1.5rem
  }

  .stats-card {
    padding: 1.5rem
  }

  .stats-header {
    margin-bottom: 1rem
  }

  .stats-header h3 {
    font-size: 1.1rem
  }

  .achievements {
    gap: .5rem
  }

  .achievement {
    padding: .6rem;
    font-size: .8rem
  }

  .tlh {
    text-align: center
  }

  .svtop {
    text-align: center;
    align-items: center
  }

  .ctwrap {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .form-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg1);
    border: 1px solid var(--bdr);
    border-radius: var(--r2);
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all .2s;
    pointer-events: auto
  }

  .form-toggle:hover {
    border-color: var(--ac);
    background: var(--acd)
  }

  .form-toggle-text {
    font-size: .9rem;
    font-weight: 600;
    color: var(--txt)
  }

  .form-toggle-icon {
    transition: transform .3s
  }

  .form-toggle.open .form-toggle-icon {
    transform: rotate(180deg)
  }

  .ctform {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out
  }

  .ctform.open {
    display: block;
    max-height: 1000px
  }

  .form-hint-mobile {
    display: block
  }

  .fi {
    text-align: center;
    padding: .75rem 1rem;
    gap: .75rem
  }

  .fcol {
    text-align: center;
    align-items: center;
    gap: .5rem
  }

  .flogo {
    font-size: .95rem;
    margin-bottom: .5rem
  }

  .fnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .5rem
  }

  .fnav a {
    font-size: .75rem;
    padding: .35rem .7rem;
    background: var(--bg1);
    border: 1px solid var(--bdr);
    border-radius: var(--r1);
    transition: all .2s
  }

  .fnav a:hover {
    border-color: var(--ac);
    color: var(--ac);
    background: var(--acd)
  }

  .fcp {
    font-size: .7rem;
    margin-top: .5rem
  }

  .fbottom {
    margin-top: .5rem;
    padding-top: .5rem
  }

  .fnewsletter {
    text-align: center;
    margin-top: .75rem
  }

  .fnform {
    max-width: 100%
  }

  .fnh {
    font-size: .9rem;
    margin-bottom: .35rem
  }

  .fninput input {
    padding: .6rem .8rem;
    font-size: .8rem
  }

  .fnbtn {
    padding: .6rem .8rem
  }

  .fndesc {
    font-size: .75rem;
    margin-top: .5rem
  }
}

@media(max-width:480px) {
  .tlgrid {
    grid-template-columns: 1fr 1fr;
    overflow-x: auto;
    max-width: 100vw
  }

  .ha {
    flex-direction: column
  }

  .btnlg {
    width: 100%;
    justify-content: center
  }

  .hh {
    font-size: 2.1rem
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }
}