:root {
    --gem-blue: #2F539D;
    --gem-red: #F40000;

    --text: #142033;
    --text-soft: #5F6C80;
    --text-on-dark: #ffffff;

    --bg: #F7F9FD;
    --bg-soft: #EEF3FB;
    --surface: #ffffff;
    --surface-2: #F4F7FC;
    --border: rgba(47, 83, 157, 0.12);

    --shadow-sm: 0 8px 24px rgba(27, 44, 84, 0.08);
    --shadow-md: 0 18px 45px rgba(27, 44, 84, 0.12);
    --shadow-lg: 0 26px 70px rgba(27, 44, 84, 0.16);

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;

    --container: 1200px;
    --header-height: 84px;

    --transition: 240ms ease;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(47, 83, 157, 0.06), transparent 28%),
        linear-gradient(180deg, #F8FAFE 0%, #F4F7FC 100%);
    line-height: 1.6;
}

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

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

code {
    padding: 0.18rem 0.45rem;
    border-radius: 8px;
    background: rgba(47, 83, 157, 0.08);
    color: var(--gem-blue);
    font-size: 0.92em;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin-inline: auto;
}

.section {
    padding: 5.5rem 0;
}

.section--soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(238,243,251,0.9) 100%);
}

.anchor-section {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.anchor-section--placeholder {
    min-height: 0;
    padding: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--gem-blue);
    color: #fff;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 34px rgba(23, 35, 68, 0.08);
}

.header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__logo {
    height: 42px;
    width: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a:not(.btn) {
    position: relative;
    font-weight: 600;
    font-size: 1.10rem;
    /*font-size: 0.98rem;*/
    color: var(--text);
    transition: color var(--transition);
}

.site-nav__list a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.42rem;
    width: 100%;
    height: 2px;
    background: var(--gem-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.site-nav__list a:not(.btn):hover {
    color: var(--gem-blue);
}

.site-nav__list a:not(.btn):hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,0.9);
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gem-blue);
    border-radius: 999px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--gem-red), #E20000);
    color: #fff;
    box-shadow: 0 14px 34px rgba(244, 0, 0, 0.24);
}

.btn--primary:hover {
    box-shadow: 0 18px 40px rgba(244, 0, 0, 0.28);
}

.btn--secondary {
    background: rgba(47, 83, 157, 0.08);
    border-color: rgba(47, 83, 157, 0.14);
    color: var(--gem-blue);
}

.btn--secondary:hover {
    background: rgba(47, 83, 157, 0.12);
}

.btn--sm {
    min-height: 44px;
    padding: 0.82rem 1.1rem;
    font-size: 1.0rem;
    text-transform: uppercase;
    /*font-size: 0.95rem;*/
}

/* TEXT */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--gem-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.92rem;
    /*font-size: 0.82rem;*/
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
    opacity: 0.55;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    line-height: 1.08;
    /*line-height: 1.12;*/
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.55rem);
    max-width: 12ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 18ch;
}

h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p {
    margin: 0 0 1rem;
}

.section-heading {
    margin-bottom: 3rem;
    max-width: 820px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center h2,
.section-heading--center p {
    margin-inline: auto;
    max-width: 900px;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding-top: clamp(3rem, 3vw, 4rem);
  padding-bottom: clamp(4rem, 7vw, 5.75rem);
  /*padding-top: clamp(4rem, 8vw, 6.5rem);*/
  /*padding-top: clamp(3rem, 3vw, 4rem);*/

  background:
    radial-gradient(circle at 78% 18%, rgba(47, 83, 157, 0.18), transparent 30%),
    radial-gradient(circle at 88% 58%, rgba(244, 0, 0, 0.07), transparent 25%),
    linear-gradient(180deg, #E7EEF9 0%, #DCE7F6 100%);

  box-shadow: inset 0 -1px 0 rgba(47, 83, 157, 0.08);
}

.hero > .container {
  position: relative;
  z-index: 5;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.hero__lead {
    font-size: clamp(1.06rem, 1.7vw, 1.25rem);
    color: var(--text-soft);
    max-width: 60ch;
    margin-bottom: 1.35rem;
}

.hero__points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    gap: 0.8rem;
}

.hero__points li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text);
    font-weight: 600;
}

.hero__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gem-blue), var(--gem-red));
    transform: translateY(-50%);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.hero__microcopy {
    color: var(--text-soft);
    font-size: 0.96rem;
}

.hero__visual {
    position: relative;
}

.hero-tech-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 38%;

  background-image: url("../images/hero-rv-lot-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  opacity: 0.15;

  transform: translateY(-30px) scale(1.03);

  filter: grayscale(0.3) saturate(0.7) contrast(0.96);

  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.25) 20%,
    rgba(0,0,0,0.85) 55%,
    rgba(0,0,0,1) 100%
  );
}

.hero-tech-photo {
  z-index: 0;
}

.hero-tech-glow {
  z-index: 1;
}

.hero-tech-dot {
  z-index: 2;
}

.hero-tech-line {
  z-index: 3;
}

.image-placeholder {
    position: relative;
    background:
        linear-gradient(180deg, rgba(47, 83, 157, 0.12), rgba(47, 83, 157, 0.06)),
        var(--surface);
    border: 1px solid rgba(47, 83, 157, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(47,83,157,0.08), transparent 48%),
        radial-gradient(circle at 85% 15%, rgba(244,0,0,0.14), transparent 30%);
    pointer-events: none;
}

.image-placeholder__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(47, 83, 157, 0.10);
    color: var(--gem-blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.image-placeholder h3,
.image-placeholder p {
    position: relative;
    z-index: 1;
}

.image-placeholder p:last-child {
    margin-bottom: 0;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(47, 83, 157, 0.12);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-md);
    max-width: 260px;
    backdrop-filter: blur(10px);
}

.floating-card__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
    /*font-size: 0.78rem;*/
    line-height: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gem-red);
}

.floating-card strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--gem-blue);
    font-size: 1rem;
}

.floating-card span:last-child {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.floating-card--top {
    top: -18px;
    left: -18px;
}

.floating-card--bottom {
    right: -20px;
    bottom: -18px;
}

/* BENEFITS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(47, 83, 157, 0.2);
}

.info-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(47,83,157,0.14), rgba(244,0,0,0.08));
    color: var(--gem-blue);
    font-weight: 900;
}

.info-card p {
    color: var(--text-soft);
    margin-bottom: 0;
}

.ecosystem-callout {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, var(--gem-blue), #24427E);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 3vw, 2.75rem);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.ecosystem-callout::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    right: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(244,0,0,0.24) 0%, rgba(244,0,0,0) 70%);
}

.ecosystem-callout__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.ecosystem-callout .eyebrow {
    color: rgba(255,255,255,0.9);
}

.ecosystem-callout h3 {
    max-width: 18ch;
}

.ecosystem-callout p {
    color: rgba(255,255,255,0.92);
}

.ecosystem-callout__accent {
    margin-top: 1.2rem;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay {
    transition-delay: 120ms;
}

.reveal--delay-1 {
    transition-delay: 80ms;
}

.reveal--delay-2 {
    transition-delay: 160ms;
}

.reveal--delay-3 {
    transition-delay: 240ms;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
    .hero__grid,
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__grid {
        align-items: start;
    }

    h1 {
        max-width: 14ch;
    }
}

@media (max-width: 1200px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 1rem;
        right: 1rem;
        background: rgba(255,255,255,0.97);
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .site-nav__list li {
        width: 100%;
    }

    .site-nav__list a:not(.btn) {
        display: block;
        padding: 0.85rem 0.95rem;
        border-radius: 14px;
    }

    .site-nav__list a:not(.btn):hover {
        background: rgba(47, 83, 157, 0.06);
    }

    .site-nav__list a:not(.btn)::after {
        display: none;
    }

    .site-nav__cta {
        margin-top: 0.5rem;
    }

    .site-nav__cta .btn {
        width: 100%;
    }

    .hero__grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 1rem;
        max-width: none;
    }

    .image-placeholder {
        min-height: 420px;
        padding: 1.6rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }

    .header__inner {
        min-height: 74px;
    }

    .brand__logo {
        height: 36px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .image-placeholder {
        min-height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-tech-dot {
      animation: none !important;
    }

    .hero-tech-glow,
    .hero-tech-line {
      transform: none !important;
    }
}

/* =========================================================
   TRANCHE 2 — FONCTIONNALITÉS / PILIERS
   ========================================================= */

.features-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(47, 83, 157, 0.06), transparent 22%),
    radial-gradient(circle at 92% 78%, rgba(244, 0, 0, 0.045), transparent 22%),
    #ffffff;
}

.heading-accent {
  color: var(--gem-blue);
}

.feature-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(47, 83, 157, 0.11);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,253,0.98));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gem-blue), var(--gem-red));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 83, 157, 0.20);
  box-shadow: var(--shadow-md);
}

.pillar-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.pillar-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pillar-card__number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(47,83,157,0.13), rgba(244,0,0,0.07));
  color: var(--gem-blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.pillar-card__tag {
  color: var(--gem-red);
  font-size: 0.90rem;
  /*font-size: 0.76rem;*/
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-align: right;
}

.pillar-card h3 {
  margin-bottom: 0.8rem;
}

.pillar-card > p {
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}

.pillar-list {
  list-style: none;
  margin: auto 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(47, 83, 157, 0.09);
  display: grid;
  gap: 0.55rem;
}

.pillar-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  /*font-size: 0.93rem;*/
  font-weight: 600;
}

.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gem-red);
  transform: translateY(-50%);
}

.capabilities-strip {
  margin-top: 2.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(47, 83, 157, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      135deg,
      rgba(47,83,157,0.06),
      rgba(255,255,255,0.96) 42%,
      rgba(244,0,0,0.035)
    );
  box-shadow: var(--shadow-sm);
}

.capabilities-strip__intro {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.capabilities-strip__intro h3 {
  margin-bottom: 0;
}

.capabilities-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.capabilities-strip__items span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(47, 83, 157, 0.12);
  box-shadow: 0 5px 15px rgba(27, 44, 84, 0.05);
  color: var(--gem-blue);
  font-size: 0.92rem;
  /*font-size: 0.9rem;*/
  font-weight: 700;
}

.features-cta {
  margin-top: 2.5rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #172A50 0%, var(--gem-blue) 68%, #3B3F78 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.features-cta__eyebrow {
  margin: 0 0 0.45rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  font-weight: 800;
}

.features-cta h3 {
  max-width: 26ch;
  margin-bottom: 0;
  color: #fff;
}

/* Responsive */
@media (max-width: 1080px) {
  .feature-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .feature-pillars {
    grid-template-columns: 1fr;
  }

  .features-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .features-cta .btn {
    width: 100%;
  }
}

/* =========================================================
   TRANCHE 3 — RÉALITÉ DES CONCESSIONNAIRES VR
   ========================================================= */

.rv-workflow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(47,83,157,0.07), transparent 25%),
    linear-gradient(180deg, #F7F9FD 0%, #EEF3FB 100%);
}

/* WORKFLOW */
.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 3.5rem;
  padding-top: 1rem;
}

.workflow__line {
  position: absolute;
  top: 35px;
  left: 7%;
  right: 7%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      rgba(47,83,157,0.15),
      var(--gem-blue),
      var(--gem-red),
      rgba(244,0,0,0.15)
    );
}

.workflow-step {
  position: relative;
  padding: 0 0.8rem;
  text-align: center;
}

.workflow-step__marker {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gem-blue);
  color: var(--gem-blue);
  box-shadow: 0 8px 22px rgba(27,44,84,0.12);
  font-size: 1.2rem;
  /*font-size: 0.82rem;*/
  font-weight: 900;
}

.workflow-step:nth-child(even) .workflow-step__marker {
  border-color: var(--gem-red);
  color: var(--gem-red);
}

.workflow-step__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gem-red);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.9rem;
  /*font-size: 0.72rem;*/
  font-weight: 900;
}

.workflow-step h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.workflow-step p {
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.55;
}

/* SPÉCIFICITÉS VR */
.rv-specialties {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.75rem;
  align-items: start;
}

.rv-specialties__intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.rv-specialties__intro h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.rv-specialties__intro h3 span {
  display: block;
  color: var(--gem-blue);
}

.rv-specialties__intro > p:last-child {
  color: var(--text-soft);
  max-width: 46ch;
}

.rv-specialties__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.specialty-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(47,83,157,0.11);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,83,157,0.2);
}

.specialty-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(47,83,157,0.13), rgba(244,0,0,0.07));
  color: var(--gem-blue);
  font-size: 0.98rem;
  /*font-size: 0.78rem;*/
  font-weight: 900;
}

.specialty-card h4 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.specialty-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.91rem;
}

/* SUMMARY */
.rv-summary {
  margin-top: 3.25rem;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #172A50 0%, var(--gem-blue) 70%, #423D72 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.rv-summary__badge {
  flex-shrink: 0;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.rv-summary__content p {
  margin: 0 0 0.35rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.rv-summary__content h3 {
  max-width: 28ch;
  margin: 0;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .workflow__line {
    display: none;
  }

  .rv-specialties {
    grid-template-columns: 1fr;
  }

  .rv-specialties__intro {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .workflow {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .workflow-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1rem;
    text-align: left;
    padding: 0;
  }

  .workflow-step__marker {
    margin: 0;
  }

  .rv-specialties__grid {
    grid-template-columns: 1fr;
  }

  .rv-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   TRANCHE 4 — FAQ
   ========================================================= */

.faq-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(47,83,157,0.05), transparent 22%),
    radial-gradient(circle at 92% 78%, rgba(244,0,0,0.04), transparent 20%),
    #ffffff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-intro {
  position: static;
  align-self: start;
}

.faq-intro__lead {
  color: var(--text-soft);
  max-width: 48ch;
}

.faq-info-card {
  margin-top: 1.6rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,253,0.98));
  border: 1px solid rgba(47,83,157,0.11);
  box-shadow: var(--shadow-sm);
}

.faq-info-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.faq-checklist li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-weight: 600;
}

.faq-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gem-blue), var(--gem-red));
  transform: translateY(-50%);
}

.faq-side-note {
  margin-top: 1.25rem;
  padding: 1.2rem 1.3rem;
  border-left: 3px solid var(--gem-red);
  background: rgba(47,83,157,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.faq-side-note strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gem-blue);
}

.faq-side-note p {
  margin: 0;
  color: var(--text-soft);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(47,83,157,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(47,83,157,0.2);
  transform: translateY(-2px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(47,83,157,0.08);
  color: var(--gem-blue);
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: rgba(244,0,0,0.08);
  color: var(--gem-red);
}

.faq-item__content {
  padding: 0 1.35rem 1.3rem;
}

.faq-item__content p {
  margin: 0;
  color: var(--text-soft);
}

.faq-cta {
  margin-top: 3rem;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(47,83,157,0.07), rgba(255,255,255,0.95) 45%, rgba(244,0,0,0.05));
  border: 1px solid rgba(47,83,157,0.12);
  box-shadow: var(--shadow-sm);
}

.faq-cta__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--gem-red);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  font-weight: 900;
}

.faq-cta__content h3 {
  margin-bottom: 0.65rem;
  max-width: 24ch;
}

.faq-cta__content p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
  max-width: 58ch;
}

.faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-cta__actions {
    width: 100%;
  }

  .faq-cta__actions .btn {
    width: 100%;
  }
}

/* =========================================================
   TRANCHE 5 — DÉMONSTRATION / CALENDLY
   ========================================================= */

.demo-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(47,83,157,0.07), transparent 24%),
    radial-gradient(circle at 90% 75%, rgba(244,0,0,0.045), transparent 23%),
    linear-gradient(180deg, #F7F9FD 0%, #EEF3FB 100%);
}

.demo-highlights {
  max-width: 900px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.demo-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(47,83,157,0.10);
  box-shadow: var(--shadow-sm);
}

.demo-highlight__value,
.demo-highlight__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  padding: 0;
  margin: 0;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(47,83,157,0.14),
      rgba(244,0,0,0.07)
    );

  color: var(--gem-blue);

  font-size: 1.45rem;
  /*font-size: 1.15rem;*/
  font-weight: 900;
  line-height: 1;

  text-align: center;
}

.demo-highlight__icon {
  font-size: 1.85rem;
  /*font-size: 1.2rem;*/
}

.demo-highlight > div > strong,
.demo-highlight > div > span {
  display: block;
}

.demo-highlight strong {
  color: var(--text);
}

.demo-highlight div > span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.calendly-card {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(47,83,157,0.12);
  box-shadow: var(--shadow-lg);
}

.calendly-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(47,83,157,0.09);
}

.calendly-card__header h3 {
  margin: 0;
}

.calendly-card__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--gem-red);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.75rem;
  font-weight: 900;
}

.calendly-card__external {
  flex-shrink: 0;
  color: var(--gem-blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.calendly-card__external:hover {
  text-decoration: underline;
}

.calendly-card__body {
  min-height: 700px;
  background: #fff;
}

.calendly-inline-widget {
  width: 100%;
}

.demo-alternative {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-soft);
}

.demo-alternative a {
  margin-left: 0.35rem;
  color: var(--gem-blue);
  font-weight: 800;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  position: relative;
  background: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      135deg,
      rgba(47,83,157,0.06),
      rgba(255,255,255,0.98) 48%,
      rgba(244,0,0,0.035)
    );
  border: 1px solid rgba(47,83,157,0.12);
  box-shadow: var(--shadow-md);
}

.contact-panel__intro {
  padding: clamp(1.8rem, 3vw, 2.8rem);
  background:
    linear-gradient(145deg, rgba(47,83,157,0.06), rgba(47,83,157,0.015));
}

.contact-panel__intro h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.contact-panel__intro > p {
  color: var(--text-soft);
  max-width: 46ch;
}

.contact-note {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(47,83,157,0.1);
}

.contact-note strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gem-blue);
}

.contact-note p {
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}

.contact-note a {
  color: var(--gem-red);
  font-weight: 800;
}

.contact-form-card {
  padding: clamp(1.8rem, 3vw, 2.8rem);
  background: rgba(255,255,255,0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field label span {
  color: var(--gem-red);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(47,83,157,0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 0.9rem 1rem;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.form-field input {
  min-height: 52px;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gem-blue);
  box-shadow: 0 0 0 4px rgba(47,83,157,0.09);
}

.form-field textarea::placeholder {
  color: #9199A8;
}

.contact-form__footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-form__footer p {
  margin: 0;
  max-width: 55ch;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.contact-form__footer .btn {
  flex-shrink: 0;
}

.contact-phone {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47, 83, 157, 0.12);
}

.contact-phone span {
  display: block;
  margin-bottom: 0.35rem;

  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-phone a {
  display: inline-block;

  color: var(--gem-blue);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;

  text-decoration: none;
}

.contact-phone a:hover {
  color: var(--gem-red);
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .demo-highlights {
    grid-template-columns: 1fr;
  }

  .calendly-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

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

  .form-field--full {
    grid-column: auto;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__footer .btn {
    width: 100%;
  }

  .demo-alternative span,
  .demo-alternative a {
    display: block;
    margin-left: 0;
  }
}

/* =========================================================
   TRANCHE 6 — FOOTER
   ========================================================= */

.site-footer {
  padding: 2.4rem 0 1.5rem;
  background: #14233f;
  color: rgba(255,255,255,0.78);
}

.site-footer__main {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.site-footer__brand {
  display: inline-flex;
}

.site-footer__logo {
  width: auto;
  height: 42px;
  filter: brightness(0) invert(1);
}

.site-footer__message {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer__message strong {
  color: #fff;
  font-size: 1rem;
}

.site-footer__message span {
  font-size: 0.88rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.site-footer__nav a,
.site-footer__links a {
  color: rgba(255,255,255,0.76);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color var(--transition);
}

.site-footer__nav a:hover,
.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.56);
}

.site-footer__links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 860px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   HERO — AMBIANCE TECHNOLOGIQUE
   ========================================================= */

.hero-tech-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;

  --mouse-x: 0px;
  --mouse-y: 0px;
}


/* ---------------------------------------------------------
   LUEURS DIFFUSES
   --------------------------------------------------------- */

.hero-tech-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  z-index: 0;

  transform:
    translate3d(
      calc(var(--mouse-x) * 0.08),
      calc(var(--mouse-y) * 0.08),
      0
    );

  transition: transform 900ms ease-out;
}

.hero-tech-glow--blue {
  top: -140px;
  right: 6%;
  background: rgba(47, 83, 157, 0.22);
}

.hero-tech-glow--red {
  right: 22%;
  bottom: -210px;
  background: rgba(244, 0, 0, 0.12);
}


/* ---------------------------------------------------------
   PETITS POINTS / PARTICULES
   --------------------------------------------------------- */

.hero-tech-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  z-index: 1;

  background: rgba(47, 83, 157, 0.42);

  box-shadow:
    0 0 0 4px rgba(47, 83, 157, 0.035),
    0 0 18px rgba(47, 83, 157, 0.16);

  animation: heroTechFloat 5.4s ease-in-out infinite;
}

.hero-tech-dot::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  transform: translate(-50%, -50%);
}


/* Positions volontairement irrégulières */

.hero-tech-dot--1 {
  top: 19%;
  left: 7%;
  animation-delay: -1s;
}

.hero-tech-dot--2 {
  top: 71%;
  left: 12%;
  width: 4px;
  height: 4px;
  animation-delay: -4s;
}

.hero-tech-dot--3 {
  top: 28%;
  right: 38%;
  animation-delay: -6s;
}

.hero-tech-dot--4 {
  top: 16%;
  right: 9%;
  width: 4px;
  height: 4px;
  animation-delay: -3s;
}

.hero-tech-dot--5 {
  right: 5%;
  bottom: 25%;
  animation-delay: -7s;
}

.hero-tech-dot--6 {
  left: 44%;
  bottom: 12%;
  width: 3px;
  height: 3px;
  animation-delay: -2s;
}

.hero-tech-dot--1 { animation-duration: 4.8s; }
.hero-tech-dot--2 { animation-duration: 6.1s; }
.hero-tech-dot--3 { animation-duration: 5.2s; }
.hero-tech-dot--4 { animation-duration: 6.4s; }
.hero-tech-dot--5 { animation-duration: 4.9s; }
.hero-tech-dot--6 { animation-duration: 5.8s; }

/* Quelques particules légèrement rouges */

.hero-tech-dot--3,
.hero-tech-dot--5 {
  background: rgba(244, 0, 0, 0.35);

  box-shadow:
    0 0 0 4px rgba(244, 0, 0, 0.025),
    0 0 18px rgba(244, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   LIGNES TECHNOLOGIQUES TRÈS SUBTILES
   --------------------------------------------------------- */

.hero-tech-line {
  position: absolute;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(47, 83, 157, 0.34),
      rgba(47, 83, 157, 0.22),
      rgba(244, 0, 0, 0.18),
      transparent
    );

  opacity: 0.75;

  transition: transform 1200ms ease-out;
}

.hero-tech-line--1 {
  width: 420px;
  top: 27%;
  right: -40px;
  transform: rotate(-14deg);
  opacity: 0.55;
  height: 1.5px;
}

.hero-tech-line--2 {
  width: 320px;
  left: -30px;
  bottom: 20%;
  transform: rotate(12deg);
  opacity: 0.42;
  height: 1.5px;
}

.hero-tech-line--3 {
  width: 240px;
  top: 18%;
  left: 42%;
  transform: rotate(8deg);
  opacity: 0.38;
}

.hero-tech-line--4 {
  width: 280px;
  right: 10%;
  bottom: 18%;
  transform: rotate(6deg);
  opacity: 0.32;
}

.hero-tech-line--5 {
  width: 220px;
  left: 18%;
  bottom: 26%;
  transform: rotate(-10deg);
  opacity: 0.28;
}

/* ---------------------------------------------------------
   MOUVEMENT
   --------------------------------------------------------- */

@keyframes heroTechFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.48;
  }

  50% {
    transform: translate3d(0, -12px, 0);
    opacity: 0.95;
  }
}


/* ---------------------------------------------------------
   PETITE TEXTURE TRÈS FINE
   --------------------------------------------------------- */

.hero-tech-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(
      circle,
      rgba(47,83,157,0.075) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
  opacity: 0.18;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.15) 82%,
      transparent
    );
}


/* ---------------------------------------------------------
   FADE VERS LA SECTION SUIVANTE
   --------------------------------------------------------- */

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(238,243,251,0.92)
    );

  pointer-events: none;
  z-index: 1;
}

/* =========================================================
   HERO — IMAGE PRINCIPALE
   ========================================================= */

.hero-media {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 540px;

  border-radius: var(--radius-lg);
  overflow: hidden;

  border: 1px solid rgba(47, 83, 157, 0.12);

  box-shadow: var(--shadow-lg);

  background: #dfe7f3;
}

.hero-media img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 540px;

  object-fit: cover;
  object-position: 58% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(47, 83, 157, 0.14),
      transparent 45%,
      rgba(244, 0, 0, 0.055)
    );

  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-media,
  .hero-media img {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .hero-media,
  .hero-media img {
    min-height: 400px;
  }
}

/* =========================================================
   APERÇU GEM-VR
   ========================================================= */

.product-preview {
  margin: 2rem 0 0;
}

.product-preview__button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;

  overflow: hidden;
  border: 1px solid rgba(47, 83, 157, 0.12);
  border-radius: 20px;

  background: #fff;
  box-shadow: var(--shadow-md);

  cursor: zoom-in;
}

.product-preview__button img {
  display: block;
  width: 100%;
  height: auto;

  transition:
    transform 350ms ease,
    filter 350ms ease;
}

.product-preview__button:hover img {
  transform: scale(1.018);
  filter: brightness(0.96);
}

.product-preview__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.6rem 0.8rem;
  border-radius: 999px;

  background: rgba(20, 32, 51, 0.88);
  color: #fff;

  font-size: 0.78rem;
  font-weight: 800;

  backdrop-filter: blur(8px);
}

.product-preview figcaption {
  padding: 0.8rem 0.2rem 0;
}

.product-preview figcaption strong,
.product-preview figcaption span {
  display: block;
}

.product-preview figcaption strong {
  color: var(--text);
  font-size: 0.92rem;
}

.product-preview figcaption span {
  margin-top: 0.15rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}


/* =========================================================
   MODAL DASHBOARD
   ========================================================= */

.dashboard-modal {
  width: min(1400px, calc(100% - 3rem));
  max-width: none;

  padding: 0;
  border: 0;
  border-radius: 22px;

  background: transparent;
  overflow: visible;
}

.dashboard-modal::backdrop {
  background: rgba(11, 20, 38, 0.82);
  backdrop-filter: blur(5px);
}

.dashboard-modal__inner {
  position: relative;

  overflow: hidden;
  border-radius: 22px;

  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.dashboard-modal__inner img {
  display: block;
  width: 100%;
  height: auto;
}

.dashboard-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  background: rgba(20, 32, 51, 0.9);
  color: #fff;

  font-size: 1.6rem;
  line-height: 1;

  cursor: pointer;
}

/* ========================================
   BANNIÈRE BROCHURE GEM-VR
======================================== */

.brochure-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);

  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);

  background: linear-gradient(
    135deg,
    #F7FAFF 0%,
    #E4ECF8 100%
  );

  border: 1px solid rgba(47, 83, 157, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);

  position: relative;
  overflow: hidden;
}

/* CONTENU TEXTE */

.brochure-banner__content {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.brochure-banner__content .eyebrow {
  margin-bottom: 1rem;
}

.brochure-banner__content h3 {
  max-width: 100%;
  margin-bottom: 1.5rem;

  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;

  color: var(--text);
}

.brochure-banner__brand {
  color: var(--gem-blue);
  white-space: nowrap;
}

.brochure-banner__hyphen {
  color: var(--gem-red);
}


.brochure-banner__content > p:not(.eyebrow) {
  max-width: 58ch;
  margin-bottom: 1.5rem;

  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* BOUTON BROCHURE */

.btn--brochure {
  background: var(--gem-blue);
  color: #ffffff;

  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-weight: 800;
  font-size: 0.9rem;

  box-shadow: 0 10px 25px rgba(47, 83, 157, 0.18);
}

.btn--brochure:hover {
  background: #24427E;
  color: #ffffff;

  box-shadow: 0 14px 30px rgba(47, 83, 157, 0.24);
}

/* PETITE MENTION PDF */

.brochure-banner__meta {
  display: block;
  margin-top: 0.9rem;

  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ZONE VISUELLE */

.brochure-banner__visual {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  width: 100%;

  background: transparent;
  border: 0;
  box-shadow: none;
}

/* IMAGE CLIQUABLE */

.brochure-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 440px;

  background: transparent;
  border: 0;
  box-shadow: none;

  cursor: pointer;
  text-decoration: none;
  outline-offset: 6px;
}

.brochure-card__visual img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  /* Ombre qui suit la silhouette du PNG/WebP */
  filter: drop-shadow(
    0 16px 22px rgba(20, 32, 51, 0.14)
  );

  transform: rotate(2deg);
  transform-origin: center center;

  transition:
    transform 350ms ease,
    filter 350ms ease;
}

/* ANIMATION AU SURVOL */

.brochure-card__visual:hover img,
.brochure-card__visual:focus-visible img {
  transform: rotate(0deg) translateY(-6px) scale(1.025);

  filter: drop-shadow(
    0 22px 28px rgba(20, 32, 51, 0.20)
  );
}

/* ADAPTATION TABLETTES */

@media (max-width: 900px) {
  .brochure-banner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 1.5rem;
  }

  .brochure-card__visual {
    max-width: 360px;
  }
}

/* ADAPTATION MOBILES */

@media (max-width: 700px) {
  .brochure-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .brochure-banner__content .eyebrow {
    justify-content: center;
  }

  .brochure-banner__content h3,
  .brochure-banner__content > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .brochure-banner__visual {
    justify-content: center;
  }

  .brochure-card__visual {
    max-width: 290px;
  }

  .brochure-card__visual img {
    transform: rotate(0deg);
  }
}

/* ACCESSIBILITÉ : MOUVEMENT RÉDUIT */

@media (prefers-reduced-motion: reduce) {
  .brochure-card__visual img,
  .brochure-card__visual:hover img,
  .brochure-card__visual:focus-visible img {
    transform: none;
    transition: none;
  }
}

/* ========================================
   SÉLECTEUR DE LANGUE FR / EN
======================================== */

.site-nav__language {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.language-switch__active {
    color: var(--gem-blue);
    font-weight: 900;
}

.language-switch__separator {
    color: rgba(20, 32, 51, 0.35);
    font-weight: 400;
}

.site-nav__language .language-switch a {
    color: var(--text-soft);
    font-weight: 700;
    text-decoration: none;
    transition: color 240ms ease;
}

.site-nav__language .language-switch a:hover,
.site-nav__language .language-switch a:focus-visible {
    color: var(--gem-red);
}

/* VERSION MOBILE */

@media (max-width: 1200px) {
    .site-nav__language {
        justify-content: center;
        width: 100%;
        padding: 0.9rem 0 0.25rem;
        border-top: 1px solid rgba(47, 83, 157, 0.12);
    }

    .language-switch {
        font-size: 1.05rem;
        gap: 0.75rem;
    }
}


/* ========================================
   SÉLECTEUR DE LANGUE - PIED DE PAGE
======================================== */

.site-footer__language {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer__language .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.site-footer__language .language-switch__active {
  color: var(--gem-blue);
  font-weight: 900;
}

.site-footer__language .language-switch__separator {
  color: var(--text-soft);
  opacity: 0.6;
}

.site-footer__language .language-switch a {
  color: var(--text-soft);
  font-weight: 700;
}

.site-footer__language .language-switch a:hover,
.site-footer__language .language-switch a:focus-visible {
  color: var(--gem-red);
}

/* ADAPTATION MOBILE */

@media (max-width: 700px) {
  .site-footer__language {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(47, 83, 157, 0.12);
  }

  .site-footer__language .language-switch {
    font-size: 1.05rem;
    gap: 0.75rem;
  }
}