:root {
  --noir:        #000000;
  --noir-panel:  #0d1117;
  --blanc:       #e8edf2;
  --gris:        #6b7a8a;
  --bordure:     #1c2530;

  --vert:        #00ff9c;
  --cyan:        #29e7ff;

  --police-titre: 'Space Grotesk', system-ui, sans-serif;
  --police-mono:  'JetBrains Mono', ui-monospace, monospace;

  --largeur-max: 1160px;
  --rayon:       14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background-color: var(--noir);
  color: var(--blanc);
  font-family: var(--police-titre);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
}

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--police-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 16px;
  display: inline-block;
}

.titre-section {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.intro-section {
  color: var(--gris);
  max-width: 620px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--police-mono);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: var(--rayon);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  background: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-cyan {
  background: var(--cyan);
  color: var(--noir);
  box-shadow: 0 0 0 rgba(41, 231, 255, 0);
}
.btn-cyan:hover { box-shadow: 0 8px 30px rgba(41, 231, 255, 0.35); }

.btn-vert {
  border-color: var(--vert);
  color: var(--vert);
}
.btn-vert:hover { background: rgba(0, 255, 156, 0.08); box-shadow: 0 8px 30px rgba(0, 255, 156, 0.18); }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0;
  background: none; border: 1px solid var(--bordure);
  border-radius: 10px; cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  background: var(--blanc);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.logo-marque .point { color: var(--cyan); }

.nav-liens { display: flex; align-items: center; gap: 75px; }
.nav-liens a {
  font-family: var(--police-mono);
  font-size: 0.9rem;
  color: var(--gris);
  transition: color 0.2s;
}
.nav-liens a:hover { color: var(--blanc); }

.point-statut {
  width: 8px; height: 8px; border-radius: 50%; background: var(--vert);
  box-shadow: 0 0 8px var(--vert);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.intro-simple {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0 80px;
}
.intro-simple .phrase {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin: 0 auto 16px;
}
.intro-simple .phrase-sous {
  font-family: var(--police-mono);
  font-size: 0.95rem;
  color: var(--gris);
}
.intro-simple .btn { margin-top: 35px; }
.lien-contact {
  color: var(--cyan);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.lien-contact:hover { border-bottom-color: var(--cyan); }

.grille-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.carte {
  background: var(--noir-panel);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.carte:hover { transform: translateY(-4px); }
.carte::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.carte.code::before     { background: var(--vert); }
.carte.code:hover       { border-color: var(--vert); }
.carte.wordpress::before{ background: var(--cyan); }
.carte.wordpress:hover  { border-color: var(--cyan); }

.carte-tag {
  font-family: var(--police-mono); font-size: 0.78rem;
  padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 18px;
}
.carte.code .carte-tag      { color: var(--vert); background: rgba(0,255,156,0.1); }
.carte.wordpress .carte-tag { color: var(--cyan); background: rgba(41,231,255,0.1); }

.carte h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.carte .pour-qui { color: var(--gris); font-size: 0.98rem; margin-bottom: 24px; }

.liste-inclus { list-style: none; }
.liste-inclus li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; font-size: 0.96rem; color: var(--blanc);
  border-top: 1px solid var(--bordure);
}
.liste-inclus li:first-child { border-top: none; }
.liste-inclus .coche { flex-shrink: 0; font-family: var(--police-mono); }
.carte.code .coche      { color: var(--vert); }
.carte.wordpress .coche { color: var(--cyan); }

.grille-tarifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.tarif {
  background: var(--noir-panel);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.tarif:hover { transform: translateY(-4px); border-color: var(--gris); }
.tarif.populaire { border-color: var(--cyan); box-shadow: 0 0 40px rgba(41,231,255,0.12); }
.badge-populaire {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: var(--noir);
  font-family: var(--police-mono); font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; letter-spacing: 0.04em;
}
.tarif { position: relative; }

.tarif .nom { font-family: var(--police-mono); font-size: 0.95rem; color: var(--gris); margin-bottom: 8px; }
.tarif .prix { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.tarif .prix .devise { font-size: 1.3rem; vertical-align: super; }
.tarif .a-partir { font-family: var(--police-mono); font-size: 0.78rem; color: var(--gris); margin-bottom: 22px; }
.tarif .desc-tarif { color: var(--gris); font-size: 0.92rem; margin-bottom: 24px; }
.tarif .btn { width: 100%; justify-content: center; margin-top: auto; }

.note {
  margin-top: 36px; text-align: center;
  font-family: var(--police-mono); font-size: 0.86rem; color: var(--gris);
  border: 1px dashed var(--bordure); border-radius: var(--rayon);
  padding: 18px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.note .vert { color: var(--vert); }

.grille-projets {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px;
}
.projet {
  background: var(--noir-panel); border: 1px solid var(--bordure);
  border-radius: var(--rayon); overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.projet:hover { transform: translateY(-4px); border-color: var(--cyan); }
.projet-image {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--noir) 0 10px, var(--noir-panel) 10px 20px);
  color: var(--gris); font-family: var(--police-mono); font-size: 0.82rem;
  border-bottom: 1px solid var(--bordure);
}
.projet-image img {
  width:100%; 
  height:100%; 
  display:block;
}
.projet-info { padding: 22px 24px; }
.projet-info h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.projet-info p { color: var(--gris); font-size: 0.9rem; }
.projet-info .tech {
  font-family: var(--police-mono); font-size: 0.76rem; color: var(--vert); margin-top: 12px;
}

.grille-contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px;
  align-items: start;
}
.champ { margin-bottom: 20px; }
.champ label {
  display: block; font-family: var(--police-mono);
  font-size: 0.82rem; color: var(--gris); margin-bottom: 8px;
}
.champ input, .champ select, .champ textarea {
  width: 100%;
  background: var(--noir-panel);
  border: 1px solid var(--bordure);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--blanc);
  font-family: var(--police-titre);
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ textarea { resize: vertical; min-height: 130px; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,231,255,0.15);
}
.champ select { cursor: pointer; }

.bloc-reseaux {
  background: var(--noir-panel); border: 1px solid var(--bordure);
  border-radius: var(--rayon); padding: 32px;
}
.bloc-reseaux h3 { font-size: 1.25rem; margin-bottom: 8px; }
.bloc-reseaux p { color: var(--gris); font-size: 0.95rem; margin-bottom: 24px; }

.lien-reseau {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--bordure); border-radius: 12px;
  margin-bottom: 14px;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.lien-reseau:hover { transform: translateX(4px); border-color: var(--cyan); background: rgba(41,231,255,0.04); }
.lien-reseau .ico { width: 26px; height: 26px; flex-shrink: 0; }
.lien-reseau .nom-reseau { font-weight: 600; }
.lien-reseau .pseudo { font-family: var(--police-mono); font-size: 0.82rem; color: var(--gris); }

.dispo-rapide {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--bordure);
  font-family: var(--police-mono); font-size: 0.85rem; color: var(--gris);
  display: flex; align-items: center; gap: 10px;
}

footer {
  border-top: 1px solid var(--bordure);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-inner .copy { font-family: var(--police-mono); font-size: 0.85rem; color: var(--gris); }
.footer-inner .copy .vert { color: var(--vert); }
.footer-liens { display: flex; gap: 22px; }
.footer-liens a { font-family: var(--police-mono); font-size: 0.85rem; color: var(--gris); transition: color 0.2s; }
.footer-liens a:hover { color: var(--cyan); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-liens {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--noir);
    border-bottom: 1px solid var(--bordure);
    padding: 0 24px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  }
  .nav-liens.ouvert {
    max-height: 420px; opacity: 1; pointer-events: auto;
    padding: 8px 24px 20px;
  }
  .nav-liens a { padding: 14px 0; border-top: 1px solid var(--bordure); font-size: 1rem; }
  .nav-liens a:first-child { border-top: none; }
  .nav-liens .btn { margin-top: 12px; justify-content: center; }

  .grille-services,
  .grille-tarifs,
  .grille-projets,
  .grille-contact { grid-template-columns: 1fr; }
  .section { padding-top: 80px; padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .carte, .tarif { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
