/* ==========================================================================
   AIRCOFOX — thème sombre et chaud
   Fond anthracite, accent orange renard, cartes arrondies à l'ombre franche
   dont la bordure est parcourue par un reflet discret.
   Espacements : 4 8 12 16 20 24 32 40 56 80 112. Rayons : 10 / 14 / 20 / 28.
   ========================================================================== */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --edge-1 { syntax: "<color>"; inherits: false; initial-value: rgba(255, 148, 64, 0.34); }
@property --edge-2 { syntax: "<color>"; inherits: false; initial-value: rgba(255, 210, 160, 0.34); }

:root {
  color-scheme: dark;

  --bg: #0c0d11;
  --card: #13151b;
  --card-2: #181b22;
  --text: #f3efe9;
  --text-2: #aaa69e;
  --text-3: #7d7a74;
  --line: rgba(235, 225, 210, 0.14);
  --line-strong: rgba(235, 225, 210, 0.32);

  --blue: #ff7a1a;
  --blue-hover: #ff9440;
  --cyan: #ffc27a;
  --link: #ffb070;
  --ok: #30d158;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;
  --pill: 980px;

  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", "Segoe UI", Arial, sans-serif;
  --ink: #1d1006;            /* texte posé sur l'orange */

  --shell: 1120px;
  --gutter: 24px;
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 70% 520px at 50% -140px, rgba(255, 122, 26, 0.13), rgba(255, 122, 26, 0) 100%);
  background-repeat: no-repeat;
}

:target { scroll-margin-top: calc(var(--bar-h) + 24px); }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 600; color: #fff; }
::selection { background: rgba(255, 122, 26, 0.45); color: #fff; }

a { color: var(--link); text-decoration: none; }
a:hover { color: #ffd0a3; }

:focus-visible {
  outline: 2px solid var(--blue-hover);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--blue);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 8px; color: var(--ink); }

.ico { width: 20px; height: 20px; flex: none; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* --------------------------------------------------------------------------
   Barre du haut
   -------------------------------------------------------------------------- */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 17, 0.82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}
.top-bar-inner {
  max-width: calc(var(--shell) + 2 * var(--gutter));
  min-height: var(--bar-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: #fff;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand-name b { color: var(--blue); font-weight: 700; }
.brand-mark { display: block; flex: none; width: 40px; height: 40px; }
.brand-mark svg { width: 100%; height: 100%; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-s);
  color: var(--text-2);
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links > a:hover { color: #fff; }
.nav-links > a.active { color: #fff; font-weight: 500; }
.nav-links > a.lang-switch {
  min-height: 36px;
  margin: 0 8px 0 4px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.nav-links > a.lang-switch:hover { border-color: var(--blue-hover); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: transparent;
}
.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-big { min-height: 54px; padding: 0 26px; font-size: 17px; }

.btn-main {
  background: linear-gradient(180deg, #ff9440 0%, #ff7a1a 100%);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-main:hover { color: var(--ink); transform: translateY(-1px); background: linear-gradient(180deg, #ffa257 0%, #ff8b33 100%); }
/* reflet qui traverse le bouton */
.btn-main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-14deg);
  animation: shine 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 58% { transform: translateX(0) skewX(-14deg); }
  100% { transform: translateX(460%) skewX(-14deg); }
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(235, 225, 210, 0.04);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--blue-hover); background: rgba(255, 122, 26, 0.12); color: #fff; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  text-align: left;
}
.link-btn:hover { color: #ffd0a3; }

/* --------------------------------------------------------------------------
   Titres
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-hover);
}
.eyebrow.center { text-align: center; }

.hero-title {
  font-family: var(--display);
  margin-top: 16px;
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero-lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-2);
  text-wrap: pretty;
}

/* passage de lumière dans le texte */
.shimmer-text {
  background: linear-gradient(100deg, #ff8b33 0%, #ff8b33 42%, #ffe9cf 50%, #ff8b33 58%, #ff8b33 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%, 30% { background-position: 100% 0; }
  75%, 100% { background-position: 0 0; }
}

.section-title {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: #fff;
  text-align: center;
  text-wrap: balance;
}
.eyebrow + .section-title {
  font-family: var(--display); margin-top: 12px; }
.section-lead {
  max-width: 40em;
  margin: 16px auto 0;
  color: var(--text-2);
  text-align: center;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */
.band { padding-top: 112px; }
.band-tight { padding-top: 56px; }
.band > .grid, .band > .steps { margin-top: 48px; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.stack { display: grid; gap: 20px; }
.stack-tight { gap: 12px; margin-top: 40px; }
.center-row { margin-top: 32px; text-align: center; }

@media (min-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* --------------------------------------------------------------------------
   Cartes : bordure parcourue par un reflet tournant
   -------------------------------------------------------------------------- */
.card {
  --edge-base: rgba(235, 225, 210, 0.13);
  position: relative;
  min-width: 0;
  padding: 32px;
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, #181b22 0%, var(--card) 100%) padding-box,
    conic-gradient(from var(--spin), transparent 0%, transparent 62%, var(--edge-1) 76%, var(--edge-2) 86%, transparent 94%) border-box,
    linear-gradient(var(--edge-base), var(--edge-base)) border-box;
  color: var(--text-2);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease, --edge-1 0.5s ease, --edge-2 0.5s ease;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }

.grid > .card:nth-child(2n) { animation-delay: -1.5s; }
.grid > .card:nth-child(3n) { animation-delay: -3s; }
.grid > .card:nth-child(5n) { animation-delay: -4.2s; }

.card h2, .card h3 {
  font-family: var(--display);
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.016em;
}
.card p { margin-top: 10px; }

a.card:hover, .card.service-detail:hover, .grid > .card:hover {
  --edge-1: #ff7a1a;
  --edge-2: #ffc27a;
  --edge-base: rgba(255, 148, 64, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.95);
  color: var(--text-2);
}

/* surfaces mises en avant : la lumière reste allumée */
.card-lit {
  --edge-1: #ff7a1a;
  --edge-2: #ffc27a;
  --edge-base: rgba(255, 148, 64, 0.3);
  background:
    linear-gradient(180deg, #241b15 0%, #18171a 52%, #121318 100%) padding-box,
    conic-gradient(from var(--spin), transparent 0%, transparent 62%, var(--edge-1) 76%, var(--edge-2) 86%, transparent 94%) border-box,
    linear-gradient(var(--edge-base), var(--edge-base)) border-box;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.95);
}

.card-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: rgba(255, 122, 26, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 148, 64, 0.28);
  color: #ffb070;
}
.card-ico .ico { width: 26px; height: 26px; }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--link);
  font-size: 15px;
  font-weight: 500;
}
.card-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
a.card:hover .card-more::after { transform: translateX(4px) rotate(45deg); }
.service-card { display: flex; flex-direction: column; }
.service-card .card-more { margin-top: auto; padding-top: 20px; }

/* --------------------------------------------------------------------------
   Accueil : héros
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 72px;
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; padding-top: 96px; }
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  color: var(--text-2);
  font-size: 15px;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* Héros : aperçu d'une conversation avec l'agent, entouré des emblèmes des services */
.hero-art { position: relative; padding: 46px 30px 52px; }
.talk {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 400px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1e2129 0%, #14161b 100%);
  box-shadow: 0 0 0 1px rgba(235, 225, 210, 0.16), 0 44px 80px -30px rgba(0, 0, 0, 0.95), 0 0 110px -30px rgba(255, 122, 26, 0.5);
}
.talk-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.talk-head b { display: block; color: #fff; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.2; }
.talk-head i { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13px; font-style: normal; }
.talk-head i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.talk-msg { max-width: 86%; margin: 0; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.42; }
.talk-user { justify-self: end; border-bottom-right-radius: 6px; background: linear-gradient(140deg, #ff9440, #f06a0c); color: var(--ink); font-weight: 500; }
.talk-bot { justify-self: start; border-bottom-left-radius: 6px; background: rgba(235, 225, 210, 0.09); color: var(--text); }
.talk-typing { display: flex; gap: 5px; justify-self: start; margin: 0; padding: 14px 16px; border-radius: 18px; border-bottom-left-radius: 6px; background: rgba(235, 225, 210, 0.09); }
.talk-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typing 1.3s ease-in-out infinite; }
.talk-typing span:nth-child(2) { animation-delay: 0.16s; }
.talk-typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.35; translate: 0 0; } 30% { opacity: 1; translate: 0 -4px; } }

.tile { display: block; width: 72px; height: 72px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.6)); }
.tile text { font-family: var(--display); }
.float { position: absolute; z-index: 2; animation: drift 7s ease-in-out infinite; }
.float.f1 { top: 0; left: 0; rotate: -10deg; }
.float.f2 { top: 8px; right: 0; width: 64px; height: 64px; rotate: 9deg; animation-delay: -2.4s; }
.float.f3 { bottom: 78px; left: -6px; width: 60px; height: 60px; rotate: 8deg; animation-delay: -4.2s; }
.float.f4 { bottom: 0; right: 10px; rotate: -7deg; animation-delay: -1.2s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.page-hero { padding-top: 80px; text-align: center; }
.page-hero .hero-title {
  font-family: var(--display); max-width: 16em; margin-inline: auto; font-size: clamp(36px, 5vw, 60px); }
.page-hero .hero-lead { margin-inline: auto; }
.page-hero + .stack { padding-top: 64px; }

/* bloc mis en avant */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
}
@media (min-width: 900px) { .feature:not(.feature-single) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; } }
.feature-single { max-width: 860px; margin-inline: auto; }
.card .feature-title {
  margin-top: 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.feature-single .feature-title { margin-top: 0; }
.feature-lead { margin-top: 16px; max-width: 38em; }
.feature .btn { margin-top: 28px; }

.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ff9440' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.8 10.3 2.8 2.8 5.6-6'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* étapes */
.steps { counter-reset: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 148, 64, 0.28);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: #ffb070;
}
.step-extra {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
}

/* détail des services */
.service-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 40px); }
@media (min-width: 900px) { .service-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.service-head { display: flex; gap: 20px; align-items: flex-start; }
.service-head .card-ico { margin-bottom: 0; }
.card.service-detail h2 { font-size: clamp(22px, 2.6vw, 28px); }
.mini-h {
  margin-bottom: 16px;
  font-family: var(--font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--blue-hover) !important;
}
.service-body .btn { margin-top: 24px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-list li {
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(255, 122, 26, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 148, 64, 0.3);
  color: #ffe2c4;
  font-size: 13px;
  font-weight: 500;
}

.use { display: flex; gap: 20px; align-items: flex-start; }
.use .card-ico { margin-bottom: 0; }

/* FAQ */
.faq { padding: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 14px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 28px 24px; }

/* appel final */
.end-cta { text-align: center; }
.end-cta .cta-row { justify-content: center; }

/* contact */
.way { display: flex; flex-direction: column; align-items: flex-start; }
.way p { overflow-wrap: anywhere; }
.way .btn { margin-top: auto; }
.way p + .btn { margin-top: 24px; }
.contact-grid { align-items: start; }

.quote-form { display: grid; gap: 16px; }
.quote-form .form-lead { margin-top: -6px; font-size: 15px; }
.quote-form label { display: grid; gap: 8px; color: var(--text); font-size: 14px; font-weight: 500; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  background: var(--card-2);
  color: #fff;
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quote-form textarea { resize: vertical; min-height: 130px; }
.quote-form input:focus-visible, .quote-form select:focus-visible, .quote-form textarea:focus-visible {
  outline: none;
  border-color: var(--blue-hover);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.28);
}
.quote-form .btn { justify-self: start; margin-top: 4px; }

.company-list { display: grid; margin-top: 12px; }
.company-list > div { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.company-list > div:first-child { border-top: 0; }
.company-list dt { color: var(--text-3); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.company-list dd { color: #fff; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { margin-top: 128px; padding: 64px 0 120px; border-top: 1px solid var(--line); background: rgba(9, 10, 13, 0.7); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.3fr 0.7fr 1fr 1.2fr; } }
.footer-tag { max-width: 22em; margin-top: 16px; color: var(--text-2); font-size: 15px; }
.footer-h {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-list { display: grid; gap: 10px; margin-top: 16px; color: var(--text-2); font-size: 15px; }
.footer-list a, .footer-list .link-btn { color: var(--text); font-size: 15px; }
.footer-list a:hover, .footer-list .link-btn:hover { color: var(--link); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }

/* --------------------------------------------------------------------------
   Agent IA : bouton flottant et fenêtre
   -------------------------------------------------------------------------- */
.chat-launcher {
  --edge-base: rgba(255, 122, 26, 0.6);
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 22px 8px 8px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background:
    linear-gradient(180deg, #2a1e15 0%, #18171a 100%) padding-box,
    conic-gradient(from var(--spin), transparent 0%, transparent 55%, #ff7a1a 72%, #ffc27a 86%, transparent 96%) border-box,
    linear-gradient(var(--edge-base), var(--edge-base)) border-box;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.95), 0 6px 18px rgba(0, 0, 0, 0.5);
  animation: spin 4s linear infinite;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff9440, #ff7a1a);
  color: var(--ink);
}
.chat-launcher-short { display: none; }
body.chat-open .chat-launcher { opacity: 0; pointer-events: none; transform: translateY(10px); }

.chat-panel {
  --edge-base: rgba(255, 122, 26, 0.5);
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(410px, calc(100vw - 32px));
  height: min(640px, calc(100dvh - 48px));
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #1e1b1a 0%, #13151b 34%) padding-box,
    conic-gradient(from var(--spin), transparent 0%, transparent 62%, #ff7a1a 76%, #ffc27a 86%, transparent 94%) border-box,
    linear-gradient(var(--edge-base), var(--edge-base)) border-box;
  box-shadow: 0 40px 100px -24px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  animation: spin 6s linear infinite, chat-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes chat-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; border-bottom: 1px solid var(--line); }
.chat-avatar { display: block; flex: none; width: 40px; height: 40px; }
.chat-avatar svg { width: 100%; height: 100%; }
.chat-head-text { flex: 1 1 auto; min-width: 0; }
.chat-head-text h2 { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.25; }
.chat-head-text p { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12.5px; line-height: 1.3; }
.live-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.chat-icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chat-icon-btn:hover { background: rgba(235, 225, 210, 0.12); color: #fff; }

.chat-log {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(235, 225, 210, 0.3) transparent;
}
.msg {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg-bot { align-self: flex-start; border-bottom-left-radius: 6px; background: #1c1f27; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.msg-user { align-self: flex-end; border-bottom-right-radius: 6px; background: linear-gradient(180deg, #ff9440, #ff7a1a); color: var(--ink); }
.msg-error { align-self: stretch; max-width: none; background: rgba(255, 159, 10, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.35); color: #ffd9a0; }
.msg-error a { display: block; margin-top: 6px; color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.msg-typing { display: inline-flex; align-items: center; gap: 5px; padding: 15px 16px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hover); animation: dots 1.2s ease-in-out infinite; }
.msg-typing i:nth-child(2) { animation-delay: 0.15s; }
.msg-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-chip {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.25;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.chat-chip:hover { border-color: var(--blue-hover); background: rgba(255, 122, 26, 0.14); }

.chat-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 14px; padding: 6px 6px 6px 16px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--card-2); }
.chat-form:focus-within { border-color: var(--blue-hover); box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.24); }
.chat-form textarea {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 120px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  resize: none;
  outline: none;
  scrollbar-width: none;
}
.chat-form textarea::-webkit-scrollbar { display: none; }
.chat-form textarea::placeholder { color: var(--text-3); }
.chat-send {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.chat-send:hover { background: var(--blue-hover); }
.chat-send:disabled { opacity: 0.45; cursor: default; }
.chat-note { padding: 10px 18px 14px; color: var(--text-3); font-size: 11.5px; line-height: 1.4; text-align: center; }

/* --------------------------------------------------------------------------
   Apparition au défilement (seulement si JavaScript est actif)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease, --edge-1 0.5s ease, --edge-2 0.5s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* --------------------------------------------------------------------------
   Petits écrans
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { min-height: 48px; padding: 0 12px; font-size: 17px; }
  .nav-links > a.lang-switch { align-self: flex-start; margin: 8px 0 8px 12px; }
  .nav-links .btn { min-height: 48px; font-size: 16px; }
}

@media (max-width: 719px) {
  :root { --gutter: 16px; --bar-h: 60px; }
  body { font-size: 16px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .hero { padding-top: 48px; gap: 36px; }
  .page-hero { padding-top: 56px; }
  .band { padding-top: 80px; }
  .band-tight { padding-top: 40px; }
  .band > .grid, .band > .steps { margin-top: 32px; }
  .grid, .stack { gap: 14px; }
  .card { padding: 24px 22px; border-radius: 24px; }
  .faq { padding: 0; }
  .faq summary { padding: 18px 20px; font-size: 17px; }
  .faq p { padding: 0 20px 20px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-facts { flex-direction: column; gap: 10px; }
  .service-head, .use { flex-direction: column; gap: 16px; }
  .hero-art { padding: 40px 14px 46px; }
  .tile { width: 58px; height: 58px; }
  .float.f2, .float.f3 { width: 52px; height: 52px; }
  .site-footer { margin-top: 96px; padding: 48px 0 110px; }

  .chat-launcher { right: 16px; bottom: 16px; min-height: 56px; padding: 6px 18px 6px 6px; }
  .chat-launcher-text { display: none; }
  .chat-launcher-short { display: inline; }
  .chat-panel { right: 8px; left: 8px; bottom: 8px; width: auto; height: min(640px, calc(100dvh - 16px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .shimmer-text { background-position: 50% 0; }
}

/* --------------------------------------------------------------------------
   Illustrations des services (dessins dans art.py)
   -------------------------------------------------------------------------- */
.svg-defs { position: absolute; }
.card-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 180;
  margin-bottom: 24px;
  border-radius: 18px;
  background: radial-gradient(ellipse 80% 90% at 50% 0%, #1d2028 0%, #0f1115 100%);
  box-shadow: inset 0 0 0 1px rgba(235, 225, 210, 0.08);
}
.card-art text { font-family: var(--display); }
.card-art .art-main, .card-art .art-l, .card-art .art-r { transition: translate 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card-art .art-main { translate: 0 -6px; }
.card:hover .card-art .art-l { translate: -6px 2px; }
.card:hover .card-art .art-r { translate: 6px -2px; }

/* grande carte IA locale en tête de grille */
.service-wide { grid-column: 1 / -1; padding: clamp(24px, 4vw, 44px); }
.service-wide .card-art { margin-bottom: 0; order: -1; }
.card.service-wide h3 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
.service-wide .check-list { margin-top: 20px; }
.service-wide > div { display: flex; flex-direction: column; margin-top: 24px; }
@media (min-width: 900px) {
  .service-wide { flex-direction: row; align-items: center; gap: 48px; }
  .service-wide > div { flex: 1 1 52%; margin-top: 0; }
  .service-wide .card-art { flex: 1 1 48%; width: auto; min-width: 0; order: 1; }
}

/* page Services : illustration au-dessus du titre */
.service-head { flex-direction: column; gap: 0; }
.service-head .card-art { max-width: 420px; }

/* logo : le nom seul, point orange */
.brand-name { font-size: 27px; font-weight: 700; letter-spacing: -0.03em; }
.brand-name b { color: var(--blue); }

/* pastilles colorées (IA locale, Contact) : la tuile remplace l'ancienne icône au trait */
.card-ico { width: 60px; height: 60px; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.55)); }
.card-ico .tile { width: 100%; height: 100%; filter: none; }

/* --- audit du 19 nov. 2026 --- */
/* Services : illustration d'un côté, tout le texte de l'autre, centrés en hauteur */
@media (min-width: 900px) { .service-detail { align-items: center; } }
.service-head .card-art { max-width: none; margin-bottom: 0; }
.service-lead { margin: 10px 0 24px; color: var(--text-2); }
/* Contact : les trois boutons sur la même ligne, et moins de vide avant le formulaire */
.way p { margin-bottom: 24px; }
.way p + .btn { margin-top: auto; }
.band-near { padding-top: 64px; }
/* accueil : l'emblème vert ne recouvre plus la bulle « en train d'écrire » */
.float.f3 { left: -22px; bottom: 96px; }
@media (max-width: 719px) { .float.f3 { left: -8px; bottom: 100px; } }
.band-near > .grid { margin-top: 0; }

/* visuel d'en-tête des pages IA locale et Méthode : rangée d'emblèmes sous le titre */
.hero-strip { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; gap: clamp(12px, 3.4vw, 30px); margin-top: 52px; }
.hero-strip::before { content: ""; position: absolute; z-index: -1; inset: -56px 12%; background: radial-gradient(closest-side, rgba(255, 122, 26, 0.24), transparent); }
.hero-strip .tile { width: clamp(46px, 10vw, 70px); height: auto; aspect-ratio: 1; animation: drift 7s ease-in-out infinite; }
.hero-strip .tile:nth-child(2) { animation-delay: -1.6s; }
.hero-strip .tile:nth-child(3) { animation-delay: -3.2s; }
.hero-strip .tile:nth-child(4) { animation-delay: -4.8s; }
.hero-strip .tile:nth-child(5) { animation-delay: -6s; }
.hero-arc .tile.big { width: clamp(78px, 17vw, 116px); }
.hero-arc .tile:nth-child(1) { rotate: -12deg; margin-top: 34px; }
.hero-arc .tile:nth-child(2) { rotate: -6deg; }
.hero-arc .tile:nth-child(4) { rotate: 6deg; }
.hero-arc .tile:nth-child(5) { rotate: 12deg; margin-top: 34px; }
.hero-path { gap: clamp(26px, 8vw, 72px); }
.hero-path::after { content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; width: min(460px, 72%); translate: -50% 0; border-top: 2px dashed rgba(235, 225, 210, 0.32); }

/* photos des services : coins arrondis, ombre franche, léger zoom au survol */
.card-photo { display: block; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 24px; border-radius: 18px; background: #101216; box-shadow: 0 0 0 1px rgba(235, 225, 210, 0.1), 0 22px 36px -18px rgba(0, 0, 0, 0.9); }
.card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card-photo img { scale: 1.05; }
.service-head .card-photo { margin-bottom: 0; }
.service-wide .card-photo { margin-bottom: 0; order: -1; }
@media (min-width: 900px) { .service-wide .card-photo { flex: 1 1 48%; min-width: 0; order: 1; } }

/* accueil sur téléphone : cartes compactes, photo en vignette à gauche et texte à droite */
@media (max-width: 719px) {
  .service-card:not(.service-wide) { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px; }
  .service-card:not(.service-wide) .card-photo { grid-row: 1 / span 3; aspect-ratio: 1; margin-bottom: 0; border-radius: 14px; }
  .service-card:not(.service-wide) > :not(.card-photo) { grid-column: 2; }
  .service-card:not(.service-wide) h3 { margin-top: 2px; }
  .service-card:not(.service-wide) .card-more { margin-top: 12px; }
}
