/* ==========================================================================
   LC2TECH - feuille de styles principale
   Site statique, aucune dependance externe.
   ========================================================================== */

/* ---------- Polices auto-hebergees (RGPD : pas de CDN tiers) ---------- */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */

:root {
  --fond: #040d18;
  --fond-2: #061320;
  --surface: #081726;
  --surface-2: #0c1f33;
  --bordure: #123049;
  --bordure-claire: #1b476b;

  --accent: #5cc6f5;
  --accent-sombre: #2b9fd4;
  --accent-voile: rgba(92, 198, 245, 0.12);

  --texte: #f2f6fa;
  --texte-doux: #b8c0c9;
  --texte-faible: #7d8894;

  --titre: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --corps: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --largeur: 1200px;
  --rayon: 2px;
  --transition: 0.22s ease;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte-doux);
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--titre);
  color: var(--texte);
  line-height: 1.14;
  letter-spacing: -0.5px;
  margin: 0 0 0.55em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.section {
  padding: 104px 0;
  position: relative;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
}

.section__entete {
  max-width: 640px;
  margin-bottom: 60px;
}

.section__entete p {
  color: var(--texte-faible);
  margin: 0;
}

.surtitre {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.surtitre::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.centre {
  text-align: center;
}

.centre .surtitre {
  justify-content: center;
}

.centre.section__entete {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  white-space: nowrap;
  font-family: var(--corps);
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--rayon);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition), border-color var(--transition);
}

.btn--principal {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--principal:hover {
  background: var(--accent-voile);
  box-shadow: 0 0 24px rgba(92, 198, 245, 0.22);
}

.btn--plein {
  background: var(--accent);
  color: #041019;
  border-color: var(--accent);
}

.btn--plein:hover {
  background: #7ed4fb;
  border-color: #7ed4fb;
  box-shadow: 0 0 28px rgba(92, 198, 245, 0.3);
}

.btn--discret {
  background: transparent;
  color: var(--texte-doux);
  border-color: var(--bordure-claire);
}

.btn--discret:hover {
  color: var(--texte);
  border-color: var(--accent);
}

/* ---------- Decors ---------- */

.grille-fond {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(92, 198, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 198, 245, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
}

.halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.42;
}

.halo--hero {
  width: 620px;
  height: 620px;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(92, 198, 245, 0.4), transparent 68%);
}

.halo--page {
  width: 460px;
  height: 460px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(92, 198, 245, 0.38), transparent 68%);
}

.filigrane {
  position: absolute;
  top: -14%;
  right: -14%;
  width: 78%;
  height: 128%;
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 0 16px rgba(92, 198, 245, 0.4));
}

/* Bandeaux de pages internes : plus courts que le hero.
   Taille fixe en pixels (pas de pourcentage) pour que le motif garde les
   memes proportions que son viewBox (900x700) quelle que soit la largeur
   d'ecran, et ne soit jamais rogne. */
.entete-page .filigrane {
  top: 32px;
  right: 16px;
  width: 560px;
  height: 436px;
}

/* ---------- En-tete ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 13, 24, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bordure);
}

.entete .conteneur {
  max-width: 1650px;
}

.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--texte);
  flex-shrink: 0;
}

.pied .logo__signe {
  height: 54px;
}

.logo__signe {
  width: auto;
  height: 58px;
  filter: drop-shadow(0 0 16px rgba(92, 198, 245, 0.45));
}

.entete .logo__signe {
  height: 100px;
}

/* la signature reste lisible a cote du signe, sur deux lignes */
.entete .logo__texte {
  max-width: 6.5em;
  font-size: 1rem;
}

.logo__texte {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.4;
  color: var(--texte-doux);
  max-width: 7em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--texte-doux);
  font-size: 1.38rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.entete__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--bordure-claire);
  padding: 9px 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--texte);
  margin: 4px 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 112px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--bordure);
}

.hero__grille {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero__intro {
  font-size: 1.06rem;
  color: var(--texte-doux);
  max-width: 33em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__chiffres {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--bordure);
}

.hero__chiffres strong {
  display: block;
  font-family: var(--titre);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--texte);
  letter-spacing: -0.02em;
}

.hero__chiffres span {
  font-size: 0.82rem;
  color: var(--texte-faible);
  line-height: 1.4;
  display: block;
  max-width: 9em;
}

/* ---------- Mockup supervision ---------- */

.mockup {
  position: relative;
  padding-bottom: 140px;
  margin-top: 151px;
}

.fenetre {
  background: #f4f7fa;
  border: 1px solid #d6dee6;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  color: #16212e;
}

.fenetre__barre {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #e8edf3;
  border-bottom: 1px solid #d6dee6;
}

.pastille {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd3dc;
}

.pastille--r {
  background: #ff5f57;
}

.pastille--j {
  background: #febc2e;
}

.pastille--v {
  background: #28c840;
}

.fenetre__titre {
  margin-left: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a5867;
}

.fenetre__corps {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.ligne-etat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 4px;
  font-size: 0.86rem;
  color: #33414f;
}

.ligne-etat b {
  font-weight: 600;
  font-size: 0.84rem;
}

.etat-ok {
  color: #1a8f4c;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.etat-ok::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a8f4c;
  animation: etat-pulse 2.2s ease-in-out infinite;
}

@keyframes etat-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(26, 143, 76, 0.45);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(26, 143, 76, 0);
  }
}

.histogramme {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 74px;
  padding: 0 2px;
}

.histogramme i {
  flex: 1;
  background: #9dc0ee;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: histogramme-vie 4s ease-in-out infinite;
}

.histogramme i.fort {
  background: #2f5fa8;
}

.histogramme i:nth-child(1) { animation-delay: 0s; }
.histogramme i:nth-child(2) { animation-delay: 0.45s; }
.histogramme i:nth-child(3) { animation-delay: 0.9s; }
.histogramme i:nth-child(4) { animation-delay: 1.35s; }
.histogramme i:nth-child(5) { animation-delay: 1.8s; }
.histogramme i:nth-child(6) { animation-delay: 2.25s; }

@keyframes histogramme-vie {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .etat-ok::before,
  .histogramme i {
    animation: none;
  }
}

.carte-ia {
  position: absolute;
  right: -26px;
  bottom: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  color: #33414f;
}

.carte-ia__titre {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #2f5fa8;
  margin-bottom: 10px;
}

.carte-ia__titre::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f5fa8;
}

.carte-ia p {
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0 0 12px;
}

.carte-ia button {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  background: #2f5fa8;
  border: 0;
  border-radius: 4px;
  padding: 8px 14px;
  cursor: default;
}

/* ---------- Grille services ---------- */

.grille-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.service {
  position: relative;
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}

.service:hover {
  background: var(--surface-2);
}

.service__icone {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--bordure-claire);
  color: var(--accent);
  margin-bottom: 22px;
}

.service__icone svg {
  width: 19px;
  height: 19px;
}

.service p {
  font-size: 0.92rem;
  color: var(--texte-faible);
  margin: 0 0 18px;
}

.service__lien {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.service__lien::after {
  content: " \2192";
}

.marqueur {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 9px;
}

.service--large {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, var(--surface-2) 0%, var(--surface) 62%);
  box-shadow: inset 0 0 0 1px rgba(92, 198, 245, 0.22);
}

.service--large p {
  max-width: 62ch;
}

/* ---------- Atouts ---------- */

.grille-atouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.atout__num {
  font-family: var(--titre);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bordure);
}

.atout h3 {
  margin-bottom: 10px;
}

.atout p {
  font-size: 0.92rem;
  color: var(--texte-faible);
  margin: 0;
}

/* ---------- Bloc IA ---------- */

.bloc-ia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--bordure);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(12, 31, 51, 0.55) 100%);
  padding: 56px;
}

.etapes {
  display: grid;
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.etape {
  background: var(--fond-2);
  padding: 22px 24px;
}

.etape strong {
  display: block;
  font-family: var(--titre);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.etape span {
  font-size: 0.9rem;
  color: var(--texte-doux);
}

/* ---------- Partenaires ---------- */

.partenaires {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 56px;
  align-items: center;
}

.partenaire {
  font-family: var(--titre);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--texte-faible);
  border: 1px solid var(--bordure);
  padding: 14px 30px;
}

/* ---------- Contact ---------- */

.contact-grille {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.coordonnees {
  display: grid;
  gap: 26px;
}

.coordonnee strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texte-faible);
  margin-bottom: 6px;
}

.coordonnee span,
.coordonnee a {
  font-size: 1rem;
  color: var(--texte);
}

.coordonnee a:hover {
  color: var(--accent);
}

.formulaire {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 36px;
}

.champs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.champ--large {
  grid-column: 1 / -1;
}

.champ label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-faible);
}

.champ input,
.champ select,
.champ textarea {
  font-family: var(--corps);
  font-size: 0.95rem;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid var(--bordure-claire);
  border-radius: var(--rayon);
  padding: 13px 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.champ select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--texte-faible) 50%),
    linear-gradient(135deg, var(--texte-faible) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92, 198, 245, 0.14);
}

.champ textarea {
  resize: vertical;
  min-height: 140px;
}

.rgpd {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--texte-faible);
  line-height: 1.55;
}

.rgpd input {
  margin-top: 5px;
  accent-color: var(--accent);
}

.pot-de-miel {
  position: absolute;
  left: -9999px;
}

.formulaire .btn {
  width: 100%;
  margin-top: 24px;
}

/* ---------- Bandeau d'appel ---------- */

.appel {
  border: 1px solid var(--bordure);
  background: var(--surface);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.appel h2 {
  margin-bottom: 12px;
}

.appel p {
  color: var(--texte-faible);
  margin: 0;
}

/* ---------- Messages ---------- */

.message {
  border: 1px solid var(--bordure-claire);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 22px 26px;
  margin-bottom: 28px;
}

.message--erreur {
  border-left-color: #ff6b5f;
}

.message p {
  margin: 0;
  font-size: 0.94rem;
}

/* ---------- Pied de page ---------- */

.pied {
  background: var(--fond-2);
  border-top: 1px solid var(--bordure);
  padding: 72px 0 30px;
  font-size: 0.9rem;
}

.pied__grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--bordure);
}

.pied h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texte-faible);
  margin-bottom: 18px;
}

.pied ul {
  display: grid;
  gap: 11px;
}

.pied a {
  color: var(--texte-doux);
  transition: color var(--transition);
}

.pied a:hover {
  color: var(--accent);
}

.pied__intro {
  color: var(--texte-faible);
  font-size: 0.88rem;
  margin: 18px 0 0;
  max-width: 30em;
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 0.82rem;
  color: var(--texte-faible);
}

/* ---------- Pages internes ---------- */

.entete-page {
  position: relative;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--bordure);
  overflow: hidden;
}

.entete-page__inner {
  position: relative;
  z-index: 2;
}

.entete-page__inner > * {
  max-width: 760px;
}

.entete-page p {
  color: var(--texte-doux);
  font-size: 1.03rem;
  margin: 0;
}

.fil {
  font-size: 0.8rem;
  color: var(--texte-faible);
  margin-bottom: 22px;
}

.fil a {
  color: var(--texte-faible);
}

.fil a:hover {
  color: var(--accent);
}

.contenu {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  gap: 64px;
  align-items: start;
}

.contenu h2 {
  margin-top: 48px;
}

.contenu h2:first-child {
  margin-top: 0;
}

.contenu h3 {
  margin-top: 30px;
}

.contenu p,
.contenu li {
  color: var(--texte-doux);
}

.liste-check {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
}

.liste-check li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
}

.liste-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.encart {
  position: sticky;
  top: 106px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 30px 28px;
}

.encart h3 {
  margin-top: 0;
  font-size: 1rem;
}

.encart p {
  font-size: 0.9rem;
  color: var(--texte-faible);
}

.encart .btn {
  width: 100%;
}

.tableau {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 30px;
  font-size: 0.93rem;
}

.tableau th,
.tableau td {
  border: 1px solid var(--bordure);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.tableau th {
  background: var(--surface);
  color: var(--texte);
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.tableau td {
  color: var(--texte-doux);
}

.tableau-enveloppe {
  overflow-x: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .grille-atouts {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

@media (max-width: 1460px) {
  .nav {
    display: none;
  }

  .nav.est-ouvert {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--fond);
    border-bottom: 1px solid var(--bordure);
    padding: 8px 28px 20px;
    margin: 0;
  }

  .nav.est-ouvert a {
    padding: 14px 0;
    border-bottom: 1px solid var(--bordure);
  }

  .burger {
    display: block;
  }

  .hero__grille,
  .contact-grille,
  .bloc-ia,
  .contenu,
  .appel {
    grid-template-columns: 1fr;
  }

  .bloc-ia,
  .appel {
    padding: 40px 32px;
  }

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

  .mockup {
    padding-bottom: 0;
    margin-top: 0;
  }

  .carte-ia {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .encart {
    position: static;
  }

  .filigrane {
    width: 100%;
    right: -12%;
    opacity: 0.5;
  }

  .entete-page .filigrane {
    width: 380px;
    height: 296px;
    top: 20px;
    right: -8%;
    opacity: 0.6;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

  .entete__actions > .btn {
    display: none;
  }

  .surtitre {
    align-items: flex-start;
    font-size: 0.7rem;
  }

  .surtitre::before {
    margin-top: 8px;
    flex: 0 0 5px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .grille-services,
  .grille-atouts,
  .villes {
    grid-template-columns: 1fr;
  }

  .champs {
    grid-template-columns: 1fr;
  }

  .formulaire,
  .bloc-ia,
  .appel {
    padding: 28px 22px;
  }

  .pied__grille {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__chiffres {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }
}

/* ==========================================================================
   Assistant de site
   ========================================================================== */

.assistant {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 14px;
  font-family: var(--corps);
}

.assistant__bulle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--corps);
  font-size: 0.9rem;
  font-weight: 600;
  color: #041019;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--rayon);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(4, 13, 24, 0.55), 0 0 26px rgba(92, 198, 245, 0.24);
  transition: background var(--transition), transform var(--transition);
}

.assistant__bulle:hover {
  background: #7ed4fb;
  transform: translateY(-2px);
}

.assistant__bulle .robot-figure {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.assistant.est-ouvert .assistant__bulle span {
  display: none;
}

.assistant__panneau[hidden] {
  display: none;
}

.assistant__panneau {
  width: 370px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: var(--surface);
  border: 1px solid var(--bordure-claire);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: assistant-apparition 0.22s ease;
}

@keyframes assistant-apparition {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.assistant__entete {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--fond-2);
  border-bottom: 1px solid var(--bordure);
}

.assistant__entete-titre {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assistant__entete strong {
  display: block;
  font-family: var(--titre);
  font-size: 0.95rem;
  color: var(--texte);
}

.assistant__entete span {
  font-size: 0.76rem;
  color: var(--texte-faible);
}

.assistant__avatar {
  display: block;
  flex-shrink: 0;
  width: 54px;
  height: 66px;
}

.assistant__avatar .robot-figure {
  width: 100%;
  height: 100%;
}

/* ---------- Mascotte Jarvis ---------- */

.robot-figure {
  position: relative;
  display: block;
  line-height: 0;
  filter: drop-shadow(0 6px 14px rgba(2, 8, 16, 0.55));
  animation: robot-flotte 2.6s ease-in-out infinite;
}

.robot-image {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes robot-flotte {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(-2deg);
  }
}

.assistant--parle .robot-figure {
  animation: robot-parle 0.6s ease-in-out infinite;
}

@keyframes robot-parle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.05);
  }
}

/* Calques d'expression, positionnes en % sur les yeux et la bouche
   de la photo (423x513 : yeux a 34,4/65,4% x 27,7%, bouche a 49,8% x 36,6%). */

.robot-oeil-overlay {
  position: absolute;
  top: 27.7%;
  width: 9.8%;
  height: 5.4%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.robot-oeil-overlay-g {
  left: 34.4%;
}

.robot-oeil-overlay-d {
  left: 65.4%;
}

.robot-oeil-overlay__forme {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #2b3a4e;
  transform: scaleY(0);
  transform-origin: center;
  animation: robot-clignement 8.4s ease-in-out infinite;
}

.robot-oeil-overlay-d .robot-oeil-overlay__forme {
  animation-delay: 0.08s;
}

@keyframes robot-clignement {
  0%, 92%, 100% {
    transform: scaleY(0);
  }
  96% {
    transform: scaleY(1);
  }
}

.robot-bouche-overlay {
  position: absolute;
  top: 36.6%;
  left: 49.8%;
  width: 7.8%;
  height: 3.6%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.robot-bouche-overlay__forme {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #b7e9f7;
  transform: scaleY(0.35);
  transform-origin: center;
  animation: robot-bouche-idle 2.8s ease-in-out infinite;
}

@keyframes robot-bouche-idle {
  0%, 100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

.assistant--parle .robot-oeil-overlay__forme {
  animation: robot-clignement-actif 2.8s ease-in-out infinite;
}

@keyframes robot-clignement-actif {
  0%, 78%, 100% {
    transform: scaleY(0);
  }
  88% {
    transform: scaleY(1);
  }
}

.assistant--parle .robot-bouche-overlay__forme {
  animation: robot-bouche-parle 0.5s ease-in-out infinite;
}

@keyframes robot-bouche-parle {
  0%, 100% {
    transform: scale(0.85, 0.3);
  }
  50% {
    transform: scale(1.25, 1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot-figure,
  .assistant--parle .robot-figure,
  .robot-oeil-overlay__forme,
  .robot-bouche-overlay__forme,
  .assistant--parle .robot-oeil-overlay__forme,
  .assistant--parle .robot-bouche-overlay__forme {
    animation: none;
  }

  .robot-bouche-overlay__forme {
    transform: scaleY(0);
  }
}

.assistant__fermer {
  background: none;
  border: 0;
  color: var(--texte-faible);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  transition: color var(--transition);
}

.assistant__fermer:hover {
  color: var(--texte);
}

.assistant__fil {
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.assistant__msg {
  background: var(--fond-2);
  border: 1px solid var(--bordure);
  border-left: 2px solid var(--accent);
  padding: 13px 16px;
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--texte-doux);
  max-width: 92%;
}

.assistant__msg--moi {
  justify-self: end;
  background: var(--accent-voile);
  border-color: rgba(92, 198, 245, 0.35);
  border-left-width: 1px;
  color: var(--texte);
  font-weight: 600;
  font-size: 0.86rem;
}

.assistant__curseur {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: assistant-curseur-clignote 0.8s steps(1) infinite;
}

@keyframes assistant-curseur-clignote {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}

.assistant__lien {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 600;
}

.assistant__lien::after {
  content: " \2192";
}

.assistant__points {
  display: inline-flex;
  gap: 5px;
  padding: 3px 0;
}

.assistant__points i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: assistant-pulse 1s infinite;
}

.assistant__points i:nth-child(2) {
  animation-delay: 0.15s;
}

.assistant__points i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes assistant-pulse {
  0%, 60%, 100% {
    opacity: 0.35;
  }
  30% {
    opacity: 1;
  }
}

.assistant__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}

.assistant__option {
  font-family: var(--corps);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--bordure-claire);
  border-radius: var(--rayon);
  padding: 9px 14px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.assistant__option:hover {
  border-color: var(--accent);
  background: var(--accent-voile);
}

.assistant__note {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--bordure);
  background: var(--fond-2);
  font-size: 0.76rem;
  color: var(--texte-faible);
  line-height: 1.5;
}

@media (max-width: 560px) {
  .assistant {
    right: 16px;
    bottom: 16px;
    left: 16px;
    align-items: flex-end;
  }

  .assistant__panneau {
    width: 100%;
    max-width: none;
    height: 78vh;
    max-height: 78vh;
  }

  .assistant__msg {
    max-width: 100%;
  }
}

/* ---------- Avis clients ---------- */

.avis {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.avis__note {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.avis__note strong {
  font-family: var(--titre);
  font-size: 3rem;
  font-weight: 600;
  color: var(--texte);
  line-height: 1;
  letter-spacing: -0.03em;
}

.avis__etoiles {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.avis__source {
  font-size: 0.85rem;
  color: var(--texte-faible);
}

.avis__lien {
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 600;
}

.avis__lien::after {
  content: " \2192";
}

.avis__citation {
  background: var(--surface);
  margin: 0;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.avis__citation p {
  font-family: var(--titre);
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--texte);
  margin: 0 0 18px;
  letter-spacing: -0.2px;
}

.avis__citation cite {
  font-style: normal;
  font-size: 0.84rem;
  color: var(--texte-faible);
}

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

  .avis__citation {
    padding: 28px 24px;
  }
}

.avis__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.avis__points li {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--bordure-claire);
  padding: 6px 12px;
}

/* ---------- Animation du fond : impulsions le long des circuits ---------- */

.impulsion {
  stroke-dasharray: 9 91;
  stroke-dashoffset: 100;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(138, 217, 255, 0.9));
  animation: impulsion-course 9s linear infinite;
}

.impulsion--1 { animation-duration: 11s; animation-delay: 0s; }
.impulsion--2 { animation-duration: 9s;  animation-delay: 2.4s; }
.impulsion--3 { animation-duration: 8s;  animation-delay: 1.2s; }
.impulsion--4 { animation-duration: 6s;  animation-delay: 3.6s; }
.impulsion--5 { animation-duration: 10s; animation-delay: 4.8s; }

@keyframes impulsion-course {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  8% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.noeud {
  animation: noeud-pulse 4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.noeud--2 { animation-delay: 1.3s; }
.noeud--3 { animation-delay: 2.6s; }

@keyframes noeud-pulse {
  0%, 100% {
    transform: scale(1);
    fill-opacity: 0.35;
  }
  50% {
    transform: scale(1.5);
    fill-opacity: 0.9;
  }
}

/* la grille de fond derive tres lentement */
.hero .grille-fond {
  animation: grille-derive 42s linear infinite;
}

@keyframes grille-derive {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 64px 64px, 64px 64px;
  }
}

/* respect du reglage systeme "reduire les animations" */
@media (prefers-reduced-motion: reduce) {
  .impulsion,
  .noeud,
  .hero .grille-fond {
    animation: none;
  }

  .impulsion {
    opacity: 0;
  }
}

/* ---------- Audit gratuit ---------- */

.audit {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--bordure);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(12, 31, 51, 0.5) 100%);
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.audit::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 198, 245, 0.16), transparent 68%);
  pointer-events: none;
}

.audit__texte {
  position: relative;
  z-index: 1;
}

.audit__texte p {
  color: var(--texte-doux);
}

.audit__texte .btn {
  margin-top: 10px;
}

.audit__points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.audit__points li {
  background: var(--fond-2);
  padding: 24px 26px;
}

.audit__points strong {
  display: block;
  font-family: var(--titre);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.audit__points span {
  font-size: 0.92rem;
  color: var(--texte-doux);
}

@media (max-width: 1040px) {
  .audit {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
}

@media (max-width: 680px) {
  .audit {
    padding: 28px 22px;
  }
}

.note-parc {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--bordure-claire);
  border-left: 3px solid var(--accent);
  background: var(--accent-voile);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--texte-doux);
}

.note-parc[hidden] {
  display: none;
}

.note-parc strong {
  color: var(--texte);
}

/* ---------- Comparatif deux colonnes ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.compare__carte {
  background: var(--surface);
  padding: 34px 32px;
}

.compare__carte--forte {
  background: linear-gradient(150deg, var(--surface-2) 0%, var(--surface) 70%);
  box-shadow: inset 0 0 0 1px rgba(92, 198, 245, 0.22);
}

.compare__etiquette {
  display: block;
  font-family: var(--titre);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texte-faible);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--bordure);
}

.compare__carte--forte .compare__etiquette {
  color: var(--accent);
}

.compare ul {
  display: grid;
  gap: 14px;
}

.compare li {
  position: relative;
  padding-left: 26px;
  font-size: 0.93rem;
  color: var(--texte-faible);
  line-height: 1.6;
}

.compare li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 11px;
  height: 1.5px;
  background: var(--texte-faible);
}

.compare__carte--forte li {
  color: var(--texte-doux);
}

.compare__carte--forte li::before {
  content: "";
  top: 9px;
  width: 11px;
  height: 6px;
  background: none;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

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

  .compare__carte {
    padding: 28px 24px;
  }
}
