:root {
  --jh-cyan: #00d4f5;
  --jh-cyan-dim: rgba(0, 212, 245, 0.14);
  --jh-blue: #1b4dff;
  --jh-ink: #0a0a0c;
  --jh-anthracite: #141418;
  --jh-surface: #1c1c22;
  --jh-cream: #f5f7fa;
  --jh-white: #ffffff;
  --jh-muted: #9aa3b2;
  --jh-text-dark: #12141a;
  --jh-border: rgba(255, 255, 255, 0.1);
  --jh-radius: 2px;
  --jh-font: "Sora", system-ui, sans-serif;
  --jh-script: "Great Vibes", cursive;
  --jh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jh-header-h: 5.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--jh-font);
  font-weight: 400;
  color: var(--jh-white);
  background: var(--jh-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.jh-skip {
  position: absolute;
  left: -9999px;
}

.jh-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--jh-cyan);
  color: var(--jh-ink);
  padding: 0.5rem 1rem;
}

/* ——— Header ——— */
.jh-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--jh-header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background 0.35s var(--jh-ease), backdrop-filter 0.35s;
}

.jh-header.is-scrolled {
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--jh-border);
}

.jh-header__inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.jh-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jh-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.jh-logo span {
  font-family: var(--jh-script);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
  .jh-logo img {
    width: 48px;
    height: 48px;
  }

  .jh-logo span {
    font-size: 1.45rem;
  }
}

.jh-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.jh-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.jh-nav a:hover,
.jh-nav a:focus-visible {
  color: var(--jh-cyan);
}

.jh-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: var(--jh-cyan);
  color: var(--jh-ink) !important;
  font-weight: 600;
  border-radius: var(--jh-radius);
}

.jh-nav__cta:hover {
  filter: brightness(1.08);
  color: var(--jh-ink) !important;
}

.jh-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--jh-border);
  background: transparent;
  color: var(--jh-white);
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.jh-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.jh-burger span::before,
.jh-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.jh-burger span::before {
  top: -6px;
}

.jh-burger span::after {
  top: 6px;
}

.jh-mobile-nav {
  display: none;
  position: fixed;
  inset: var(--jh-header-h) 0 0;
  background: rgba(10, 10, 12, 0.96);
  padding: 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 49;
}

.jh-mobile-nav.is-open {
  display: flex;
}

.jh-mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
}

@media (min-width: 860px) {
  .jh-nav {
    display: flex;
  }

  .jh-burger {
    display: none;
  }
}

/* ——— Buttons ——— */
.jh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--jh-radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--jh-ease), filter 0.2s, background 0.2s, border-color 0.2s;
}

.jh-btn:hover {
  transform: translateY(-1px);
}

.jh-btn--primary {
  background: var(--jh-cyan);
  color: var(--jh-ink);
}

.jh-btn--primary:hover {
  filter: brightness(1.06);
}

.jh-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--jh-white);
}

.jh-btn--ghost:hover {
  border-color: var(--jh-cyan);
  color: var(--jh-cyan);
}

.jh-btn--dark {
  background: var(--jh-ink);
  color: var(--jh-white);
}

/* ——— Hero ——— */
.jh-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--jh-ink);
}

.jh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c0c12;
}

.jh-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  opacity: 0;
  animation: jh-hero-fade 12s linear infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.jh-hero__slide img,
img.jh-hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

@media (min-width: 960px) {
  .jh-hero__slide img,
  img.jh-hero__slide {
    object-position: 55% 40%;
  }
}

.jh-hero__slide:nth-child(1) {
  opacity: 1;
  animation-delay: 0s;
}

.jh-hero__slide:nth-child(2) {
  animation-delay: 6s;
}

.jh-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.86) 0%, rgba(8, 8, 12, 0.55) 42%, rgba(8, 8, 12, 0.2) 70%, rgba(8, 8, 12, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.25) 0%, transparent 40%, rgba(8, 8, 12, 0.4) 100%);
  pointer-events: none;
}

.jh-hero__shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: calc(var(--jh-header-h) + 1.5rem) 1.25rem 2.75rem;
}

@media (min-width: 960px) {
  .jh-hero__shell {
    padding: calc(var(--jh-header-h) + 2rem) clamp(1.75rem, 5vw, 4.5rem) 3.5rem;
  }
}

.jh-hero__content {
  width: min(100%, 36rem);
  margin-inline: 0;
  text-align: left;
  animation: jh-rise 1s var(--jh-ease) both;
}

@media (min-width: 960px) {
  .jh-hero__content {
    width: min(100%, 40rem);
  }
}

@media (min-width: 1200px) {
  .jh-hero__content {
    width: min(100%, 44rem);
  }
}

.jh-hero__local {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0, 212, 245, 0.35);
  background: rgba(0, 212, 245, 0.1);
  color: var(--jh-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jh-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 28ch;
}

.jh-hero h1 em {
  font-style: normal;
  color: var(--jh-cyan);
}

.jh-hero__lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 40rem;
}

.jh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes jh-hero-fade {
  0%,
  42% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes jh-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.jh-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.jh-section__inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.jh-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jh-cyan);
}

.jh-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.jh-section__intro {
  margin: 0 0 2.5rem;
  color: var(--jh-muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.jh-section--dark {
  background: var(--jh-anthracite);
}

.jh-section--cream {
  background: var(--jh-cream);
  color: var(--jh-text-dark);
}

.jh-section--cream .jh-section__intro,
.jh-section--cream .jh-faq__a {
  color: #5a6475;
}

.jh-section--cream .jh-eyebrow {
  color: var(--jh-blue);
}

/* ——— Prestations ——— */
.jh-prestas {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .jh-prestas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .jh-prestas {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.jh-presta {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  color: var(--jh-white);
  isolation: isolate;
}

.jh-presta picture,
.jh-presta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  z-index: -2;
}

.jh-presta picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--jh-ease);
}

.jh-presta > img {
  object-fit: cover;
  transition: transform 0.7s var(--jh-ease);
}

.jh-presta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10, 10, 12, 0.92) 100%);
  z-index: -1;
}

.jh-presta:hover img,
.jh-presta:hover picture img {
  transform: scale(1.06);
}

.jh-presta__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem;
}

.jh-presta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.jh-presta p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ——— Steps ——— */
.jh-steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .jh-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.jh-step {
  position: relative;
  padding-top: 0.25rem;
}

.jh-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--jh-cyan);
  line-height: 1;
}

.jh-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.jh-step p {
  margin: 0;
  color: var(--jh-muted);
  font-size: 0.95rem;
}

/* ——— Gallery / proof ——— */
.jh-proof {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .jh-proof {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
    min-height: 420px;
  }
}

.jh-proof__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.jh-proof__media picture,
.jh-proof__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.jh-proof__media picture img,
.jh-proof__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jh-proof__panel {
  background: var(--jh-surface);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(0, 212, 245, 0.08), transparent 50%),
    url("../images/motif-spirale.jpg");
  background-image: linear-gradient(135deg, rgba(0, 212, 245, 0.08), transparent 50%),
    image-set(
      url("../images/motif-spirale.webp") type("image/webp"),
      url("../images/motif-spirale.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-blend-mode: soft-light;
}

.jh-proof__panel h2 {
  margin-bottom: 1rem;
}

.jh-proof__panel p {
  margin: 0 0 1.5rem;
  color: var(--jh-muted);
}

.jh-video-slot {
  margin-top: 0.25rem;
  color: var(--jh-muted);
  font-size: 0.9rem;
}

.jh-ig-embed {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 0 0;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.jh-ig-embed .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.jh-ig-embed a {
  display: inline-block;
  padding: 1rem 1.15rem;
  color: var(--jh-cyan);
}

/* ——— Rassurance ——— */
.jh-why {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .jh-why {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.jh-why__portrait {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.jh-why__portrait picture,
.jh-why__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 360px;
}

.jh-why__portrait picture img,
.jh-why__portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.jh-why__points {
  display: grid;
  gap: 1.75rem;
}

.jh-why__points h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--jh-cyan);
}

.jh-why__points p {
  margin: 0;
  color: var(--jh-muted);
}

/* ——— Devis form (charte sombre) ——— */
.jh-section--devis {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 212, 245, 0.16), transparent 48%),
    radial-gradient(ellipse at 88% 100%, rgba(27, 77, 255, 0.22), transparent 42%),
    linear-gradient(180deg, #101016 0%, var(--jh-ink) 100%);
  color: var(--jh-white);
  overflow: hidden;
}

.jh-section--devis::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/motif-spirale.jpg") center / cover;
  opacity: 0.07;
  pointer-events: none;
  mix-blend-mode: screen;
}

.jh-section--devis > .jh-section__inner {
  position: relative;
  z-index: 1;
}

.jh-section--devis .jh-section__intro {
  color: var(--jh-muted);
}

.jh-devis__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .jh-devis__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
  }
}

.jh-devis-aside__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.jh-devis-aside__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.jh-devis-aside__list li::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--jh-cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 245, 0.18);
}

.jh-devis-card {
  background:
    linear-gradient(160deg, rgba(0, 212, 245, 0.06), transparent 40%),
    var(--jh-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(0, 212, 245, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.45);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(8px);
}

.jh-devis-card--success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.jh-devis-success__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(0, 212, 245, 0.18);
  color: var(--jh-cyan);
  font-size: 1.35rem;
  font-weight: 700;
}

.jh-devis-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  color: var(--jh-white);
}

.jh-devis-success p {
  margin: 0 0 1.5rem;
  color: var(--jh-muted);
}

.jh-devis-progress {
  margin-bottom: 1.5rem;
}

.jh-devis-progress__track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.jh-devis-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--jh-cyan), var(--jh-blue));
  transition: width 0.35s var(--jh-ease);
  box-shadow: 0 0 12px rgba(0, 212, 245, 0.45);
}

.jh-devis-progress__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jh-muted);
}

.jh-form--wizard {
  display: block;
}

.jh-form-step[hidden] {
  display: none !important;
}

.jh-form-step__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--jh-white);
}

.jh-form-step__lead {
  margin: 0 0 1.25rem;
  color: var(--jh-muted);
  font-size: 0.95rem;
}

.jh-form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .jh-form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.jh-field {
  margin-bottom: 0.15rem;
}

.jh-field label,
.jh-fieldset legend {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.jh-optional {
  font-weight: 500;
  color: rgba(154, 163, 178, 0.85);
  text-transform: lowercase;
  letter-spacing: 0;
}

.jh-field input,
.jh-field select,
.jh-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 12, 0.55);
  color: var(--jh-white);
  border-radius: var(--jh-radius);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  color-scheme: dark;
}

.jh-field input::placeholder,
.jh-field textarea::placeholder {
  color: rgba(154, 163, 178, 0.75);
}

.jh-field input:hover,
.jh-field textarea:hover {
  border-color: rgba(0, 212, 245, 0.35);
}

.jh-field input:focus,
.jh-field select:focus,
.jh-field textarea:focus {
  outline: none;
  background: rgba(10, 10, 12, 0.8);
  border-color: var(--jh-cyan);
  box-shadow: 0 0 0 3px var(--jh-cyan-dim);
}

.jh-field textarea {
  min-height: 96px;
  resize: vertical;
}

.jh-field-error {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: #ff8e85;
}

.jh-field.is-invalid input,
.jh-field.is-invalid textarea {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.18);
}

.jh-choice-grid.is-invalid .jh-choice {
  border-color: rgba(240, 68, 56, 0.55);
}

.jh-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.jh-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--jh-ease), box-shadow 0.2s;
  min-height: 4.5rem;
}

.jh-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jh-choice__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--jh-white);
}

.jh-choice__hint {
  font-size: 0.78rem;
  color: var(--jh-muted);
  line-height: 1.35;
}

.jh-choice:hover {
  border-color: rgba(0, 212, 245, 0.45);
  transform: translateY(-1px);
}

.jh-choice:has(input:checked),
.jh-choice.is-selected {
  border-color: var(--jh-cyan);
  background: linear-gradient(180deg, rgba(0, 212, 245, 0.18), rgba(27, 77, 255, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(0, 212, 245, 0.25),
    0 0 24px rgba(0, 212, 245, 0.12);
}

.jh-choice:has(input:focus-visible) {
  box-shadow: 0 0 0 3px var(--jh-cyan-dim);
}

.jh-fieldset {
  margin: 1.15rem 0 0;
  padding: 0;
  border: 0;
}

.jh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.jh-pill {
  position: relative;
  cursor: pointer;
}

.jh-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jh-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 12, 0.4);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.jh-pill:hover span {
  border-color: rgba(0, 212, 245, 0.45);
  color: var(--jh-white);
}

.jh-pill:has(input:checked) span {
  border-color: var(--jh-cyan);
  background: rgba(0, 212, 245, 0.16);
  color: var(--jh-cyan);
}

.jh-format-grid {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 560px) {
  .jh-format-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jh-format {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.jh-format input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jh-format__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--jh-white);
}

.jh-format__hint {
  font-size: 0.75rem;
  color: var(--jh-muted);
}

.jh-format:hover {
  border-color: rgba(0, 212, 245, 0.45);
}

.jh-format:has(input:checked) {
  border-color: var(--jh-cyan);
  background: rgba(0, 212, 245, 0.14);
}

.jh-summary {
  display: none;
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 212, 245, 0.08);
  border-left: 3px solid var(--jh-cyan);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.jh-summary.is-visible {
  display: block;
}

.jh-summary strong {
  color: var(--jh-cyan);
}

.jh-form-nav {
  margin-top: 1.5rem;
}

.jh-form-nav--split {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.jh-form-nav--split .jh-btn--primary {
  flex: 1 1 auto;
  min-width: 12rem;
}

.jh-btn--block {
  width: 100%;
}

.jh-btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
}

.jh-btn--ghost-light:hover {
  border-color: var(--jh-cyan);
  color: var(--jh-cyan);
}

.jh-form__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--jh-muted);
}

.jh-form__trust {
  margin: 1.15rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--jh-muted);
  text-align: center;
}

.jh-form__trust a {
  color: var(--jh-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jh-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.jh-alert {
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  border-radius: var(--jh-radius);
  font-size: 0.95rem;
}

.jh-alert--ok {
  background: rgba(0, 212, 245, 0.12);
  color: #9aeffc;
  border: 1px solid rgba(0, 212, 245, 0.35);
}

.jh-alert--err {
  background: rgba(240, 68, 56, 0.14);
  color: #ffb4ae;
  border: 1px solid rgba(240, 68, 56, 0.4);
}

/* ——— FAQ ——— */
.jh-faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--jh-border);
}

.jh-faq details {
  border-bottom: 1px solid var(--jh-border);
}

.jh-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.jh-faq summary::-webkit-details-marker {
  display: none;
}

.jh-faq summary::after {
  content: "+";
  color: var(--jh-cyan);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.jh-faq details[open] summary::after {
  content: "−";
}

.jh-faq__a {
  margin: 0 0 1.25rem;
  color: var(--jh-muted);
  max-width: 42rem;
}

/* ——— Footer ——— */
.jh-footer {
  background: var(--jh-ink);
  border-top: 1px solid var(--jh-border);
  padding: 3rem 0 2rem;
}

.jh-footer__inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .jh-footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.jh-footer__brand img {
  width: 56px;
  margin-bottom: 0.75rem;
}

.jh-footer p {
  margin: 0;
  color: var(--jh-muted);
  font-size: 0.92rem;
}

.jh-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jh-cyan);
}

.jh-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.jh-footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.jh-footer a:hover {
  color: var(--jh-cyan);
}

.jh-footer__bar {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jh-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--jh-muted);
  font-size: 0.82rem;
}

.jh-footer__cookies {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--jh-cyan);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.jh-footer__cookies:hover {
  color: #fff;
}

/* ——— Legal pages ——— */
.jh-page {
  padding: calc(var(--jh-header-h) + 3rem) 0 4rem;
}

.jh-page__inner {
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
}

.jh-page h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.jh-page .entry-content {
  color: rgba(255, 255, 255, 0.82);
}

.jh-page .entry-content h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--jh-cyan);
}

.jh-page .entry-content p,
.jh-page .entry-content li {
  color: var(--jh-muted);
}

/* ——— Reveal motion ——— */
.jh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--jh-ease), transform 0.7s var(--jh-ease);
}

.jh-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .jh-hero__slide,
  .jh-reveal,
  .jh-hero__content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .jh-hero__slide:not(:first-child) {
    display: none;
  }
}

/* ——— Zone IDF ——— */
.jh-zone-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .jh-zone-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.jh-zone-item {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.jh-zone-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--jh-cyan);
  font-size: 0.95rem;
}

.jh-zone-item span {
  color: var(--jh-muted);
  font-size: 0.85rem;
}

#devis,
#jh-devis-result {
  scroll-margin-top: calc(var(--jh-header-h, 4.5rem) + 1rem);
}

/* ——— Cookies RGPD ——— */
.jh-cookies {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 1rem;
  pointer-events: none;
}

.jh-cookies__panel {
  pointer-events: auto;
  width: min(640px, 100%);
  margin-inline: auto;
  padding: 1.25rem 1.35rem 1.35rem;
  background: #12121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
}

.jh-cookies__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.jh-cookies__text {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

.jh-cookies__text a {
  color: var(--jh-cyan);
  text-decoration: underline;
}

.jh-cookies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.jh-cookies__actions .jh-btn {
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}

.jh-cookies__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.jh-cookies__row strong {
  display: block;
  font-size: 0.92rem;
}

.jh-cookies__row small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.jh-cookies__row input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--jh-cyan);
}

@media (max-width: 640px) {
  .jh-cookies {
    padding: 0;
  }

  .jh-cookies__panel {
    width: 100%;
    border-radius: 0;
  }

  .jh-cookies__actions .jh-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}