/*
 * SCIT-HOLDING — système visuel du site vitrine
 * Mobile-first, sans dépendance externe.
 * Les variables de cette section permettent d'ajuster rapidement l'identité.
 */

:root {
  --color-navy-950: #061522;
  --color-navy-900: #09243b;
  --color-navy-800: #103652;
  --color-steel-700: #315d76;
  --color-steel-600: #44758e;
  --color-steel-200: #cbdbe3;
  --color-steel-100: #e7f0f4;
  --color-orange-700: #a84200;
  --color-orange-600: #c65300;
  --color-orange-500: #ed7600;
  --color-orange-400: #f5a11a;
  --color-orange-100: #fff0d5;
  --color-white: #ffffff;
  --color-cloud: #f5f8fa;
  --color-sand: #f7f3ec;
  --color-ink: #132431;
  --color-muted: #536774;
  --color-border: #d7e1e6;
  --color-success: #176b47;
  --color-success-bg: #e8f7ef;
  --color-error: #a32626;
  --color-error-bg: #fff0f0;
  --color-whatsapp: #25d366;

  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.18rem, 1.08rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.48rem, 1.27rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.54rem + 1.45vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.7rem + 2.7vw, 4.35rem);
  --step-5: clamp(2.8rem, 1.85rem + 4vw, 5.75rem);

  --space-1: 0.375rem;
  --space-2: 0.625rem;
  --space-3: 0.875rem;
  --space-4: 1.125rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --space-8: 4rem;
  --space-9: clamp(4.5rem, 8vw, 7.5rem);

  --radius-sm: 0.45rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 100vmax;

  --shadow-sm: 0 0.5rem 1.5rem rgb(6 21 34 / 0.08);
  --shadow-md: 0 1.2rem 3rem rgb(6 21 34 / 0.13);
  --shadow-lg: 0 2rem 5rem rgb(6 21 34 / 0.18);

  --container: 76rem;
  --header-height: 4.75rem;
  --transition: 180ms ease;
  --transition-slow: 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: block;
  min-height: 55vh;
}

img,
picture,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

iframe {
  border: 0;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

a {
  color: var(--color-steel-700);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-orange-700);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-block-start: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

p {
  margin-block-end: var(--space-4);
}

ul,
ol {
  padding-inline-start: 1.25rem;
}

::selection {
  color: var(--color-navy-950);
  background: var(--color-orange-400);
}

:focus-visible {
  outline: 0.2rem solid var(--color-orange-600);
  outline-offset: 0.2rem;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

[hidden],
.is-hidden {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: var(--space-3);
  left: var(--space-3);
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  background: var(--color-navy-950);
  box-shadow: var(--shadow-md);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.container--narrow {
  max-width: 52rem;
}

.container--wide {
  max-width: 90rem;
}

.section {
  position: relative;
  padding-block: var(--space-9);
}

.section--compact {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.section--alt {
  background: var(--color-cloud);
}

.section--sand {
  background: var(--color-sand);
}

.section--dark {
  color: rgb(255 255 255 / 0.82);
  background:
    linear-gradient(135deg, rgb(9 36 59 / 0.97), rgb(6 21 34 / 0.99)),
    var(--color-navy-950);
}

.section--dark :is(h1, h2, h3, h4),
.section--dark .section-title {
  color: var(--color-white);
}

.section--dark a:not(.button) {
  color: #ffe0a4;
}

.section--accent {
  color: var(--color-navy-950);
  background: var(--color-orange-400);
}

.section-heading,
.section-header {
  max-width: 46rem;
  margin-block-end: clamp(2rem, 4vw, 3.5rem);
}

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

.section-title {
  margin-block-end: var(--space-4);
}

.section-intro,
.lead {
  max-width: 44rem;
  color: var(--color-muted);
  font-size: var(--step-1);
  line-height: 1.6;
}

.section-heading--center .section-intro,
.section-header--center .section-intro {
  margin-inline: auto;
}

.eyebrow,
.kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-block-end: var(--space-3);
  color: var(--color-orange-700);
  font-size: var(--step--1);
  font-weight: 850;
  letter-spacing: 0.115em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before,
.section-kicker::before {
  width: 1.75rem;
  height: 0.2rem;
  content: "";
  background: currentColor;
}

.section--dark :is(.eyebrow, .kicker, .section-kicker) {
  color: #ffc55b;
}

.text-accent {
  color: var(--color-orange-600);
}

.text-center {
  text-align: center;
}

.flow > * + * {
  margin-block-start: var(--flow-space, var(--space-4));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.grid,
.card-grid,
.project-grid,
.video-grid,
.contact-grid,
.services-grid {
  display: grid;
  gap: var(--space-5);
}

.split-layout,
.split {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split-layout__media,
.split__media {
  position: relative;
}

.split-layout__content {
  min-width: 0;
}

.split-layout--compact {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.split-layout__media img,
.split__media img {
  width: 100%;
  min-height: 18rem;
  max-height: 38rem;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.button,
.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.2rem;
  border: 0.125rem solid transparent;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: var(--color-navy-900);
  box-shadow: 0 0.5rem 1.2rem rgb(6 21 34 / 0.14);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--transition),
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.btn:hover {
  color: var(--color-white);
  background: var(--color-navy-800);
  box-shadow: 0 0.8rem 1.6rem rgb(6 21 34 / 0.2);
  transform: translateY(-0.125rem);
}

.button:active,
.btn:active {
  transform: translateY(0);
}

.button--primary,
.btn--primary {
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  box-shadow: 0 0.65rem 1.6rem rgb(237 118 0 / 0.25);
}

.button--primary:hover,
.btn--primary:hover {
  color: var(--color-navy-950);
  background: #ffb52f;
}

.button--secondary,
.btn--secondary {
  background: var(--color-steel-700);
}

.button--outline,
.btn--outline {
  border-color: var(--color-navy-900);
  color: var(--color-navy-900);
  background: transparent;
  box-shadow: none;
}

.button--outline:hover,
.btn--outline:hover {
  color: var(--color-white);
  background: var(--color-navy-900);
}

.button--ghost,
.btn--ghost {
  border-color: rgb(255 255 255 / 0.55);
  color: var(--color-white);
  background: rgb(255 255 255 / 0.05);
  box-shadow: none;
}

.button--ghost:hover,
.btn--ghost:hover {
  border-color: var(--color-white);
  background: rgb(255 255 255 / 0.13);
}

.button--small {
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  font-size: var(--step--1);
}

.button--block {
  width: 100%;
}

.button svg,
.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

/* En-tête et navigation */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgb(9 36 59 / 0.08);
  background: rgb(255 255 255 / 0.96);
  transition:
    box-shadow var(--transition),
    background-color var(--transition);
}

@supports (backdrop-filter: blur(1rem)) {
  .site-header {
    background: rgb(255 255 255 / 0.88);
    backdrop-filter: saturate(140%) blur(1rem);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 0.6rem 2rem rgb(6 21 34 / 0.12);
}

.header-inner,
.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.js .header-inner,
.js .site-header__inner {
  flex-wrap: nowrap;
}

.site-logo,
.brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  color: var(--color-navy-900);
  text-decoration: none;
}

.site-logo img,
.brand img,
.site-logo svg,
.brand svg {
  width: clamp(10rem, 46vw, 13.5rem);
  height: auto;
}

.nav-toggle,
.menu-toggle {
  position: relative;
  display: none;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-navy-900);
  background: var(--color-white);
  box-shadow: none;
}

.js .nav-toggle,
.js .menu-toggle {
  display: inline-grid;
}

.nav-toggle:hover,
.menu-toggle:hover {
  border-color: var(--color-steel-600);
  background: var(--color-cloud);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after,
.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 1.25rem;
  height: 0.13rem;
  border-radius: var(--radius-pill);
  background: currentColor;
  content: "";
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-toggle__icon::before,
.menu-toggle__icon::before {
  transform: translateY(-0.4rem);
}

.nav-toggle__icon::after,
.menu-toggle__icon::after {
  transform: translateY(0.27rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon,
.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after,
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: translateY(-0.13rem) rotate(-45deg);
}

.site-nav {
  position: static;
  z-index: 999;
  inset: var(--header-height) 0 auto;
  width: 100%;
  flex-basis: 100%;
  max-height: calc(100dvh - var(--header-height));
  padding: var(--space-4) 1rem var(--space-6);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.js .site-nav {
  position: fixed;
  width: auto;
  flex-basis: auto;
}

.js .site-nav:not(.is-open) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.75rem);
  pointer-events: none;
}

.js .site-nav {
  transition:
    visibility var(--transition),
    opacity var(--transition),
    transform var(--transition);
}

.nav-list,
.site-nav ul {
  display: grid;
  gap: 0.15rem;
  max-width: var(--container);
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.nav-link,
.site-nav a:not(.button) {
  display: flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--color-navy-900);
  font-weight: 720;
  text-decoration: none;
}

.nav-link:hover,
.site-nav a:not(.button):hover {
  color: var(--color-orange-700);
  background: var(--color-orange-100);
}

.nav-link[aria-current="page"],
.site-nav a[aria-current="page"] {
  color: var(--color-orange-700);
  background: var(--color-orange-100);
}

.header-cta {
  display: none;
}

/* Hero d'accueil et en-têtes intérieurs */

.hero {
  position: relative;
  display: grid;
  min-height: clamp(37rem, 87svh, 49rem);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: rgb(255 255 255 / 0.86);
  background:
    linear-gradient(90deg, rgb(6 21 34 / 0.97) 0%, rgb(9 36 59 / 0.92) 58%, rgb(9 36 59 / 0.72) 100%),
    var(--color-navy-950);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.28;
  background:
    linear-gradient(120deg, transparent 0 60%, rgb(245 161 26 / 0.7) 60% 61%, transparent 61%),
    linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: auto, 4rem 4rem, 4rem 4rem;
  mask-image: linear-gradient(to right, transparent, #000);
}

.hero-media,
.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.hero__content {
  max-width: 48rem;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero h1 {
  max-width: 14ch;
  margin-block-end: var(--space-5);
  color: var(--color-white);
  font-size: var(--step-5);
}

.hero-text,
.hero__lead {
  max-width: 38rem;
  margin-block-end: var(--space-6);
  color: rgb(255 255 255 / 0.82);
  font-size: var(--step-1);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-actions .button {
  width: 100%;
}

.hero-badge,
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-block-start: var(--space-6);
  color: rgb(255 255 255 / 0.76);
  font-size: var(--step--1);
  font-weight: 700;
}

.hero-badge::before,
.hero-note::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  content: "";
  background: var(--color-orange-400);
  box-shadow: 0 0 0 0.3rem rgb(245 161 26 / 0.18);
}

.page-hero {
  position: relative;
  min-height: 18rem;
  padding-block: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  color: rgb(255 255 255 / 0.8);
  background-color: var(--color-navy-950);
  background-image: var(--page-hero-image, none);
  background-position: var(--page-hero-position, center);
  background-size: cover;
}

.page-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgb(6 21 34 / 0.94) 0%, rgb(9 36 59 / 0.86) 52%, rgb(9 36 59 / 0.54) 100%),
    linear-gradient(to top, rgb(6 21 34 / 0.45), transparent 58%);
}

.page-hero::after {
  position: absolute;
  z-index: 0;
  right: -7rem;
  bottom: -12rem;
  width: 25rem;
  height: 25rem;
  border: 4.5rem solid rgb(245 161 26 / 0.16);
  content: "";
  transform: rotate(35deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 16ch;
  margin-block-end: var(--space-4);
  color: var(--color-white);
}

.page-hero p {
  max-width: 44rem;
  margin: 0;
  font-size: var(--step-1);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0;
  margin-block-end: var(--space-5);
  color: rgb(255 255 255 / 0.7);
  font-size: var(--step--1);
  list-style: none;
}

.breadcrumbs a {
  color: var(--color-white);
}

.breadcrumbs li + li::before {
  margin-inline-end: 0.35rem;
  content: "/";
  color: var(--color-orange-400);
}

.anchor-nav {
  position: relative;
  z-index: 5;
  overflow-x: auto;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  scrollbar-width: thin;
}

.anchor-nav ul {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: var(--space-2);
  padding: var(--space-3) 1rem;
  margin: 0;
  list-style: none;
}

.anchor-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 1rem;
  border-radius: var(--radius-pill);
  color: var(--color-navy-900);
  background: var(--color-cloud);
  font-size: var(--step--1);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.anchor-nav a:hover {
  color: var(--color-orange-700);
  background: var(--color-orange-100);
}

/* Éléments de confiance, cartes et services */

.trust-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.trust-list {
  display: grid;
  padding: var(--space-5) 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  color: var(--color-navy-900);
  font-size: var(--step--1);
  font-weight: 800;
}

.trust-list svg,
.trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  color: var(--color-orange-600);
}

.card,
.service-card,
.contact-card,
.value-card,
.commitment-card {
  position: relative;
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-slow),
    border-color var(--transition),
    box-shadow var(--transition-slow);
}

.card:hover,
.service-card:hover,
.contact-card:hover,
.value-card:hover,
.commitment-card:hover {
  border-color: var(--color-steel-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.3rem);
}

.card h3,
.service-card h3,
.contact-card h3 {
  margin-block-end: var(--space-3);
}

.card p:last-child,
.service-card p:last-child,
.contact-card p:last-child {
  margin-block-end: 0;
}

.card-icon,
.service-card__icon,
.contact-card__icon {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-block-end: var(--space-5);
  border-radius: var(--radius-md);
  color: var(--color-orange-700);
  background: var(--color-orange-100);
}

.card-icon svg,
.service-card__icon svg,
.contact-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card {
  padding-top: calc(clamp(1.35rem, 3vw, 2rem) + 0.3rem);
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4rem;
  height: 0.28rem;
  content: "";
  background: var(--color-orange-500);
  transition: width var(--transition-slow);
}

.service-card:hover::before {
  width: 100%;
}

.service-card__link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-start: var(--space-3);
  color: var(--color-navy-900);
  font-weight: 850;
  text-decoration: none;
}

.service-card__link::after,
.card-link::after {
  content: "→";
  color: var(--color-orange-600);
  transition: transform var(--transition);
}

.service-card__link:hover::after,
.card-link:hover::after {
  transform: translateX(0.2rem);
}

.check-list,
.feature-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-inline-start: 2rem;
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  top: 0.18rem;
  left: 0;
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-success);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.quote-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 0.3rem solid var(--color-orange-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--color-cloud);
}

.quote-card p {
  color: var(--color-navy-900);
  font-size: var(--step-1);
  font-weight: 700;
}

.quote-card cite {
  color: var(--color-muted);
  font-size: var(--step--1);
  font-style: normal;
}

/* Projets et galerie filtrable */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-block-end: var(--space-6);
}

.filter-button,
.filter-btn {
  min-height: 2.8rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-navy-900);
  background: var(--color-white);
  font-size: var(--step--1);
  font-weight: 800;
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.filter-button:hover,
.filter-btn:hover {
  border-color: var(--color-steel-600);
  background: var(--color-cloud);
}

.filter-button.is-active,
.filter-button[aria-pressed="true"],
.filter-btn.is-active,
.filter-btn[aria-pressed="true"] {
  border-color: var(--color-navy-900);
  color: var(--color-white);
  background: var(--color-navy-900);
}

.filter-status {
  min-height: 1.6em;
  margin-block: calc(var(--space-5) * -1) var(--space-5);
  color: var(--color-muted);
  font-size: var(--step--1);
}

.project-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow);
}

.project-grid--gallery {
  align-items: stretch;
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-0.35rem);
}

.project-card__media,
.project-card figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--color-steel-100), var(--color-steel-200));
}

.project-card__media::after,
.project-card figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgb(6 21 34 / 0.35), transparent 45%);
  pointer-events: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-5);
}

.project-card__category,
.project-category,
.card-tag {
  align-self: flex-start;
  margin-block-end: var(--space-3);
  color: var(--color-orange-700);
  font-size: var(--step--1);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-block-end: var(--space-3);
  font-size: var(--step-1);
}

.project-card__meta,
.project-meta {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  margin: auto 0 0;
  color: var(--color-muted);
  font-size: var(--step--1);
  list-style: none;
}

.project-card__meta strong,
.project-meta strong {
  color: var(--color-navy-900);
}

/* Vidéos et bouton YouTube */

.video-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow);
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-0.3rem);
}

.video-card__poster,
.video-card figure {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--color-navy-900);
}

.video-card__poster img,
.video-card figure img {
  width: 100%;
  height: 100%;
  opacity: 0.82;
  object-fit: cover;
  transition:
    transform var(--transition-slow),
    opacity var(--transition);
}

.video-card:hover .video-card__poster img,
.video-card:hover figure img {
  opacity: 0.68;
  transform: scale(1.035);
}

.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.7rem;
  color: var(--color-white);
  background: #e62117;
  box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 0.3);
  transform: translate(-50%, -50%);
}

.youtube-play::after {
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.78rem solid var(--color-white);
  content: "";
}

.video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-5);
}

.video-card h3 {
  margin-block-end: var(--space-3);
  font-size: var(--step-1);
}

.video-card__body p {
  color: var(--color-muted);
}

.youtube-link,
.button--youtube {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  align-self: flex-start;
  padding: 0.68rem 1rem;
  margin-block-start: auto;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: #c91e16;
  font-size: var(--step--1);
  font-weight: 850;
  text-decoration: none;
}

.youtube-link:hover,
.button--youtube:hover {
  color: var(--color-white);
  background: #a81711;
}

.youtube-link svg,
.button--youtube svg {
  width: 1.3rem;
  height: 1.3rem;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-navy-950);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
}

/* Méthode de travail */

.steps,
.process-steps {
  display: grid;
  gap: var(--space-5);
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.step,
.steps > li,
.process-step {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem 5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  counter-increment: step;
}

.step::before,
.steps > li::before,
.process-step::before {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  content: counter(step, decimal-leading-zero);
  font-weight: 900;
}

.step h3,
.steps > li h3,
.process-step h3 {
  margin-block-end: var(--space-2);
  font-size: var(--step-1);
}

.step p:last-child,
.steps > li p:last-child,
.process-step p:last-child {
  margin: 0;
  color: var(--color-muted);
}

/* CTA et coordonnées */

.cta-band {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: rgb(255 255 255 / 0.8);
  background: linear-gradient(125deg, var(--color-navy-950), var(--color-navy-800));
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  position: absolute;
  z-index: 0;
  right: -4rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 3.5rem solid rgb(245 161 26 / 0.17);
  content: "";
  transform: rotate(24deg);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2,
.cta-band h3 {
  max-width: 18ch;
  color: var(--color-white);
}

.cta-band p {
  max-width: 42rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block-start: var(--space-5);
}

.contact-card a:not(.button) {
  color: var(--color-navy-900);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card address {
  color: var(--color-muted);
  font-style: normal;
}

.contact-list {
  display: grid;
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
}

.contact-list__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--color-orange-700);
  background: var(--color-orange-100);
}

.map-embed,
.map-container {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-steel-100);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe,
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
}

/* Formulaires */

.form-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: var(--space-5);
}

.field,
.form-field {
  min-width: 0;
}

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

.field label,
.form-field label,
.field-label,
legend {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--color-navy-900);
  font-size: var(--step--1);
  font-weight: 820;
}

.required,
[aria-hidden="true"].required-marker {
  color: var(--color-error);
}

.field-hint,
.form-hint {
  display: block;
  margin-block-start: var(--space-2);
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]),
select,
textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #9aafb9;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgb(6 21 34 / 0.03);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

select {
  padding-right: 2.5rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]):hover,
select:hover,
textarea:hover {
  border-color: var(--color-steel-600);
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]):focus,
select:focus,
textarea:focus {
  border-color: var(--color-navy-800);
  outline: 0;
  box-shadow: 0 0 0 0.22rem rgb(68 117 142 / 0.22);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
.is-invalid {
  border-color: var(--color-error) !important;
  background: var(--color-error-bg);
}

input[aria-invalid="true"]:focus,
select[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 0.22rem rgb(163 38 38 / 0.18);
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-group,
.radio-group,
.checkbox-group {
  display: grid;
  gap: var(--space-3);
}

.choice,
.checkbox,
.radio,
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.choice label,
.checkbox label,
.radio label,
.consent-field label {
  margin: 0;
  font-weight: 580;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin-top: 0.16rem;
  accent-color: var(--color-navy-800);
}

.field-error,
.error-message,
.form-error {
  display: block;
  margin-block-start: var(--space-2);
  color: var(--color-error);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.4;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-block-start: var(--space-6);
}

.form-actions .button {
  width: 100%;
}

.form-disclaimer {
  color: var(--color-muted);
  font-size: var(--step--1);
}

.honeypot,
.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.alert,
.error-summary,
.success-message,
.status-message {
  position: relative;
  padding: 1rem 1.1rem;
  margin-block-end: var(--space-5);
  border: 1px solid;
  border-left-width: 0.35rem;
  border-radius: var(--radius-md);
  font-size: var(--step--1);
}

.alert p:last-child,
.error-summary p:last-child,
.success-message p:last-child {
  margin-block-end: 0;
}

.alert--error,
.alert-error,
.error-summary {
  border-color: #dc8f8f;
  color: #781b1b;
  background: var(--color-error-bg);
}

.alert--success,
.alert-success,
.success-message {
  border-color: #77b99a;
  color: #0f5d3a;
  background: var(--color-success-bg);
}

.alert--info {
  border-color: var(--color-steel-600);
  color: var(--color-navy-900);
  background: var(--color-steel-100);
}

.error-summary:focus {
  outline: 0.2rem solid var(--color-error);
  outline-offset: 0.2rem;
}

.error-summary h2,
.error-summary h3 {
  margin-block-end: var(--space-2);
  color: #781b1b;
  font-size: var(--step-1);
}

.error-summary ul {
  margin-block-end: 0;
}

.error-summary a {
  color: #781b1b;
  font-weight: 720;
}

/* Mentions légales, confirmations et pages d'état */

.legal-content {
  max-width: 54rem;
}

.legal-page {
  background: var(--color-white);
}

.legal-content h2 {
  margin-block-start: var(--space-7);
  font-size: var(--step-2);
}

.legal-content h3 {
  margin-block-start: var(--space-6);
  font-size: var(--step-1);
}

.legal-content :is(p, li) {
  color: #324957;
}

.legal-content a {
  overflow-wrap: anywhere;
}

.status-page,
.error-page,
.thank-you {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  padding-block: var(--space-9);
  background: var(--color-cloud);
}

.status-card,
.error-card,
.thank-you__card {
  max-width: 42rem;
  padding: clamp(1.5rem, 6vw, 3.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.status-icon,
.error-icon,
.thank-you__icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  color: var(--color-success);
  background: var(--color-success-bg);
  font-size: 2rem;
}

/* Pied de page */

.site-footer {
  color: rgb(255 255 255 / 0.72);
  background: var(--color-navy-950);
}

.footer-main {
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.footer-brand {
  max-width: 26rem;
}

.footer-logo {
  display: inline-flex;
  padding: 0.5rem;
  margin-block-end: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.footer-logo img {
  width: 12rem;
}

.footer-title {
  margin-block-end: var(--space-4);
  color: var(--color-white);
  font-size: var(--step-1);
}

.footer-links,
.footer-contact,
.social-links {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  color: rgb(255 255 255 / 0.75);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-orange-400);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-block-start: var(--space-5);
}

.social-links a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  color: var(--color-white);
  background: rgb(255 255 255 / 0.04);
}

.social-links a:hover {
  color: var(--color-white);
}

.social-links svg {
  width: 1.2rem;
  height: 1.2rem;
}

.social-link--facebook:hover {
  border-color: #1877f2;
  background: #1877f2;
}

.social-link--youtube:hover {
  border-color: #ff0000;
  background: #ff0000;
}

.social-link--tiktok:hover {
  border-color: #111827;
  background: #111827;
}

.social-links--brand {
  margin-block-start: var(--space-4);
}

.social-links--contact {
  margin: 0;
}

.footer-bottom {
  padding-block: var(--space-4);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--step--1);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-legal a {
  color: rgb(255 255 255 / 0.72);
}

/* Bouton WhatsApp flottant */

.whatsapp-float,
.floating-whatsapp {
  position: fixed;
  z-index: 950;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 0.125rem solid var(--color-white);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: var(--color-whatsapp);
  box-shadow: 0 0.8rem 2rem rgb(6 21 34 / 0.28);
  font-size: 0;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.whatsapp-float:hover,
.floating-whatsapp:hover {
  color: var(--color-white);
  background: #128c4a;
  box-shadow: 0 1rem 2.3rem rgb(6 21 34 / 0.35);
  transform: translateY(-0.18rem);
}

.whatsapp-float svg,
.floating-whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
  filter: drop-shadow(0 1px 1px rgb(6 21 34 / 0.65));
}

.whatsapp-float__label {
  display: none;
}

/* Apparition progressive : le contenu reste visible sans JavaScript. */

.js .reveal-on-scroll.is-pending {
  opacity: 0;
  transform: translateY(1.25rem);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Intégration des composants utilisés par les gabarits PHP */

.brand {
  gap: 0.7rem;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  color: var(--color-navy-900);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  display: grid;
  color: var(--color-navy-900);
  line-height: 1;
}

.brand-name strong {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brand-name > span {
  margin-top: 0.24rem;
  color: var(--color-steel-700);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.25em;
}

.brand-placeholder {
  display: block;
  width: clamp(7rem, 16vw, 9rem);
  height: 2.75rem;
}

.nav-toggle-lines {
  display: grid;
  width: 1.3rem;
  gap: 0.27rem;
}

.nav-toggle-lines > span {
  display: block;
  width: 100%;
  height: 0.13rem;
  border-radius: var(--radius-pill);
  background: currentColor;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines > span:first-child {
  transform: translateY(0.4rem) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-lines > span:last-child {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.button-group .button {
  width: 100%;
}

.button--accent {
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  box-shadow: 0 0.65rem 1.6rem rgb(237 118 0 / 0.25);
}

.button--accent:hover {
  color: var(--color-navy-950);
  background: #ffb52f;
}

.button--light {
  border-color: rgb(255 255 255 / 0.75);
  color: var(--color-navy-950);
  background: var(--color-white);
}

.button--light:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  background: rgb(255 255 255 / 0.14);
}

.section:not(.section--dark) .button--light {
  border-color: var(--color-navy-900);
  color: var(--color-navy-900);
  background: transparent;
  box-shadow: none;
}

.section:not(.section--dark) .button--light:hover {
  color: var(--color-white);
  background: var(--color-navy-900);
}

.button--large {
  min-height: 3.35rem;
  padding: 0.9rem 1.4rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-navy-900);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  color: var(--color-orange-700);
}

.hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(6 21 34 / 0.97) 0%, rgb(9 36 59 / 0.9) 58%, rgb(9 36 59 / 0.62) 100%),
    linear-gradient(to top, rgb(6 21 34 / 0.45), transparent 45%);
}

.hero--home .eyebrow {
  color: #ffc55b;
}

.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #ffc55b;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

.page-hero__lead {
  color: rgb(255 255 255 / 0.78);
}

.page-hero__shape {
  position: absolute;
  z-index: 0;
  right: -7rem;
  bottom: -10rem;
  width: 22rem;
  height: 22rem;
  border: 3.8rem solid rgb(245 161 26 / 0.15);
  transform: rotate(35deg);
}

.page-hero--compact {
  min-height: 14rem;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.page-hero--form {
  --page-hero-position: center 58%;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0;
  margin-block-end: var(--space-5);
  color: rgb(255 255 255 / 0.7);
  font-size: var(--step--1);
  list-style: none;
}

.breadcrumb a {
  color: var(--color-white);
}

.breadcrumb li + li::before {
  margin-inline-end: 0.35rem;
  content: "/";
  color: var(--color-orange-400);
}

.section-heading--split {
  max-width: none;
}

.section-heading--split > p {
  max-width: 38rem;
  color: var(--color-muted);
}

.section--dark .section-heading--split > p {
  color: rgb(255 255 255 / 0.72);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-block-start: var(--space-7);
}

.media-frame,
.service-detail__visual {
  position: relative;
  margin: 0;
}

.media-frame img,
.service-detail__visual img {
  width: 100%;
  min-height: 19rem;
  max-height: 38rem;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.media-frame--portrait img {
  aspect-ratio: 4 / 5;
  max-height: 42rem;
}

.media-frame__note {
  position: relative;
  z-index: 2;
  width: calc(100% - 1.5rem);
  padding: 0.7rem 0.85rem;
  margin: -1.6rem auto 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: rgb(255 255 255 / 0.96);
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  line-height: 1.35;
}

.service-card__number,
.value-card__mark {
  display: inline-grid;
  min-width: 2.65rem;
  height: 2.2rem;
  place-items: center;
  padding-inline: 0.55rem;
  margin-block-end: var(--space-5);
  border-radius: var(--radius-pill);
  color: var(--color-orange-700);
  background: var(--color-orange-100);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.trust-list__icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--color-orange-700);
  background: var(--color-orange-100);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-card--accent {
  border-color: var(--color-navy-800);
  color: rgb(255 255 255 / 0.76);
  background: var(--color-navy-900);
}

.service-card--accent h3,
.service-card--accent .text-link {
  color: var(--color-white);
}

.service-card--accent .service-card__number {
  color: var(--color-navy-950);
  background: var(--color-orange-400);
}

.service-detail__number {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border: 0.15rem solid rgb(255 255 255 / 0.75);
  border-radius: var(--radius-md);
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  box-shadow: var(--shadow-md);
  font-weight: 900;
}

.project-card__demo-label {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--color-navy-950);
  background: rgb(255 255 255 / 0.92);
  font-size: 0.68rem;
  font-weight: 850;
}

.project-meta > div {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-top: 1px solid var(--color-border);
}

.project-meta dt {
  color: var(--color-navy-900);
  font-weight: 820;
}

.project-meta dd {
  margin: 0;
}

.demo-notice,
.legal-notice {
  padding: 0.9rem 1rem;
  margin-block-end: var(--space-5);
  border: 1px solid #e6b65d;
  border-left: 0.3rem solid var(--color-orange-600);
  border-radius: var(--radius-md);
  color: #5c3d08;
  background: #fff8e9;
  font-size: var(--step--1);
}

.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-navy-950);
}

.video-card__platform {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.85rem 1rem;
  color: #ff0000;
  background: var(--color-white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card__platform svg {
  width: 1.8rem;
  height: auto;
}

.section--dark .video-card__platform {
  border-bottom: 1px solid var(--color-border);
}

.video-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgb(6 21 34 / 0.45), transparent 55%);
  pointer-events: none;
}

.video-card__media img {
  width: 100%;
  height: 100%;
  opacity: 0.85;
  object-fit: cover;
  transition:
    opacity var(--transition),
    transform var(--transition-slow);
}

.video-card:hover .video-card__media img {
  opacity: 0.68;
  transform: scale(1.035);
}

.video-card__category {
  margin-block-end: var(--space-2);
  color: var(--color-orange-700) !important;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4rem;
  height: 2.85rem;
  place-items: center;
  border-radius: 0.7rem;
  color: var(--color-white);
  background: #c91e16;
  box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 0.3);
  transform: translate(-50%, -50%);
}

.video-card__pending {
  display: block;
  padding: 0.55rem 0.7rem;
  margin-block-start: auto;
  border-radius: var(--radius-sm);
  color: var(--color-muted) !important;
  background: var(--color-cloud);
  font-size: 0.75rem;
  font-weight: 760;
  text-align: center;
}

.video-card__media > .video-card__pending {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  margin: 0;
  color: var(--color-white) !important;
  background: rgb(6 21 34 / 0.82);
}

.youtube-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  align-self: flex-start;
  padding: 0.68rem 1rem;
  margin-block-start: auto;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: #c91e16;
  font-size: var(--step--1);
  font-weight: 850;
  text-decoration: none;
}

.youtube-button:hover {
  color: var(--color-white);
  background: #a81711;
}

.youtube-button--disabled,
.youtube-button--disabled:hover {
  cursor: not-allowed;
  color: var(--color-white);
  background: #a7332d;
  box-shadow: none;
  opacity: 0.88;
}

.youtube-button--overlay {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  margin: 0;
}

.step-card {
  position: relative;
  min-height: 100%;
  padding: 1.5rem 1.25rem 1.5rem 5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.steps > .step-card::before {
  content: none;
}

.step-card__number {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  font-weight: 900;
}

.step-card h3 {
  margin-block-end: var(--space-2);
  font-size: var(--step-1);
}

.step-card p {
  margin: 0;
  color: var(--color-muted);
}

.cta-band {
  padding: var(--space-9) 0;
  border-radius: 0;
  box-shadow: none;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.cta-band__inner > .button,
.cta-band__inner > .button-group {
  justify-self: start;
}

.fact-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  color: rgb(255 255 255 / 0.78);
  background: var(--color-navy-900);
  box-shadow: var(--shadow-md);
}

.statement {
  padding: var(--space-5);
  margin: var(--space-6) 0 0;
  border-left: 0.3rem solid var(--color-orange-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--color-navy-900);
  background: var(--color-orange-100);
}

.statement p {
  margin: 0;
  font-size: var(--step-1);
  font-weight: 750;
}

.fact-panel__label {
  color: #ffc55b;
  font-size: var(--step--1);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-panel__statement {
  color: var(--color-white);
  font-size: var(--step-1);
  font-weight: 750;
  line-height: 1.45;
}

.fact-panel__list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.fact-panel__list > div,
.contact-details > div,
.legal-details > div {
  padding-block: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 0.16);
}

.fact-panel__list dt,
.contact-details dt,
.legal-details dt {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-panel__list dd,
.contact-details dd,
.legal-details dd {
  margin: 0.15rem 0 0;
}

.value-grid,
.commitment-grid {
  display: grid;
  gap: var(--space-5);
}

.value-card__mark {
  margin-block-end: var(--space-4);
}

.commitment-card h3 {
  padding-block-end: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.form-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.form-layout__main {
  min-width: 0;
}

.form-layout__aside {
  display: grid;
  gap: var(--space-5);
}

.form-section + .form-section {
  padding-block-start: var(--space-7);
  margin-block-start: var(--space-7);
  border-top: 1px solid var(--color-border);
}

.form-section__heading {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  margin-block-end: var(--space-6);
}

.form-section__number {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  font-size: 0.8rem;
  font-weight: 900;
}

.form-section__heading h3 {
  margin-block-end: var(--space-1);
}

.form-section__heading p {
  margin: 0;
  color: var(--color-muted);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field--checkbox {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0 var(--space-3);
  align-items: start;
  padding-block-start: var(--space-6);
  margin-block-start: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.field--checkbox label {
  margin: 0;
  font-weight: 580;
}

.field--checkbox .field-error {
  grid-column: 2;
}

.optional {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 560;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  margin-block-start: var(--space-6);
}

.form-submit p {
  max-width: 34rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.aside-card {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.aside-card h2 {
  font-size: var(--step-1);
}

.aside-card--accent {
  color: rgb(255 255 255 / 0.76);
  background: var(--color-navy-900);
}

.aside-card--accent h2,
.aside-card--accent h3,
.aside-card--accent .text-link {
  color: var(--color-white);
}

.aside-card--accent .eyebrow {
  color: #ffc55b;
}

.mini-steps {
  display: grid;
  gap: var(--space-4);
  padding: 0;
  margin: 0;
  counter-reset: none;
  list-style: none;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
}

.mini-steps li > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  color: var(--color-navy-950);
  background: var(--color-orange-400);
  font-size: 0.72rem;
  font-weight: 900;
}

.mini-steps p {
  margin: 0;
}

.contact-details,
.legal-details {
  margin: 0;
}

.contact-details > div,
.legal-details > div {
  border-color: var(--color-border);
}

.contact-details dt,
.legal-details dt {
  color: var(--color-muted);
}

.contact-card__label {
  margin-block-end: var(--space-2);
  color: var(--color-orange-700);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card--whatsapp .contact-card__icon {
  color: #0b6133;
  background: #dcf8e8;
}

.contact-social-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-block-start: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-navy-950), var(--color-navy-800));
  box-shadow: var(--shadow-sm);
}

.contact-social-panel h3 {
  margin: 0;
  color: var(--color-white);
  font-size: var(--step-1);
}

.contact-social-panel .eyebrow {
  margin-block-end: var(--space-1);
  color: #ffc55b;
}

.contact-social-panel .social-links a {
  border-color: rgb(255 255 255 / 0.24);
  background: rgb(255 255 255 / 0.08);
}

.map-section {
  padding-block: var(--space-9);
  background: var(--color-white);
}

.map-frame,
.map-placeholder {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-steel-100);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  width: 100%;
  min-height: 28rem;
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--color-steel-700);
  text-align: center;
}

.map-placeholder p {
  margin: 0;
}

.legal-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.legal-nav {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-cloud);
}

.legal-nav__title {
  margin-block-end: var(--space-3);
  color: var(--color-navy-900);
  font-weight: 850;
}

.legal-nav nav {
  display: grid;
  gap: var(--space-2);
}

.legal-nav a {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-navy-900);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--color-orange-700);
  background: var(--color-orange-100);
}

.legal-content > section {
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.legal-content__updated {
  padding: var(--space-4);
  margin-block-start: var(--space-6);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  background: var(--color-cloud);
  font-size: var(--step--1);
}

.confirmation-section {
  min-height: calc(100svh - var(--header-height));
  background: var(--color-cloud);
}

.confirmation-card {
  padding: clamp(1.5rem, 6vw, 3.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.confirmation-icon {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  margin: 0 auto var(--space-5);
  color: var(--color-success);
}

.confirmation-card .button-group {
  justify-content: center;
  margin-block-start: var(--space-6);
}

.footer-grid {
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.brand--footer .brand-mark,
.brand--footer .brand-name strong {
  color: var(--color-white);
}

.brand--footer .brand-name > span {
  color: var(--color-steel-200);
}

.footer-brand > p {
  margin-block-start: var(--space-4);
}

.footer-column h2 {
  margin-block-end: var(--space-4);
  color: var(--color-white);
  font-size: var(--step-1);
}

.footer-column ul {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  color: rgb(255 255 255 / 0.75);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--color-orange-400);
}

.footer-column address {
  font-style: normal;
}

.footer-column address p {
  margin-block-end: var(--space-2);
}

.footer-column .social-links {
  display: flex;
  margin-block-start: var(--space-4);
}

.footer-column .social-links a {
  width: auto;
  height: auto;
  min-height: 2.5rem;
  padding-inline: 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 750;
}

.site-footer > .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  justify-content: space-between;
  padding-inline-end: 4.75rem;
}

.whatsapp-float > span:not(.sr-only) {
  display: none;
  color: var(--color-navy-950);
}

/* Tablettes */

@media (min-width: 36rem) {
  .container,
  .container--narrow,
  .container--wide {
    width: min(100% - 3rem, var(--container));
  }

  .hero-actions .button,
  .form-actions .button,
  .button-group .button {
    width: auto;
  }

  .grid--2,
  .card-grid,
  .project-grid,
  .video-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .choice-group,
  .radio-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-float,
  .floating-whatsapp {
    width: auto;
    min-width: 3.5rem;
    padding-inline: 0.9rem 1.1rem;
    gap: 0.55rem;
    font-size: var(--step--1);
  }

  .whatsapp-float__label {
    display: inline;
  }

  .whatsapp-float > span:not(.sr-only) {
    display: inline;
  }

  .site-footer > .footer-bottom {
    padding-inline-end: 10.5rem;
  }
}

@media (min-width: 48rem) {
  :root {
    --header-height: 5.25rem;
  }

  .grid--3,
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split-layout--wide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .split-layout--reverse > :first-child,
  .split--reverse > :first-child {
    order: 2;
  }

  .steps,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step,
  .steps > li,
  .process-step {
    padding: 5.25rem 1.5rem 1.5rem;
  }

  .step::before,
  .steps > li::before,
  .process-step::before {
    top: 1.35rem;
    left: 1.5rem;
  }

  .footer-main {
    grid-template-columns: minmax(14rem, 1.5fr) repeat(2, minmax(10rem, 1fr));
  }

  .cta-band__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 0.7fr);
    gap: var(--space-6);
    align-items: center;
  }

  .cta-band__inner > .button,
  .cta-band__inner > .button-group,
  .cta-band__actions {
    justify-self: end;
    justify-content: flex-end;
    margin: 0;
  }

  .value-grid,
  .commitment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(14rem, 1.5fr) repeat(2, minmax(10rem, 1fr));
  }
}

/* Ordinateurs */

@media (min-width: 64rem) {
  body.nav-open {
    overflow: visible;
  }

  .nav-toggle,
  .menu-toggle,
  .js .nav-toggle,
  .js .menu-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    position: static;
    display: flex;
    width: auto;
    flex-basis: auto;
    max-height: none;
    align-items: center;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .js .site-nav:not(.is-open) {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-list,
  .site-nav ul {
    display: flex;
    width: auto;
    align-items: center;
    gap: 0.1rem;
    margin: 0;
  }

  .nav-link,
  .site-nav a:not(.button) {
    position: relative;
    min-height: 2.8rem;
    padding-inline: 0.65rem;
    background: transparent;
    font-size: 0.88rem;
  }

  .nav-link::after,
  .site-nav a:not(.button)::after {
    position: absolute;
    right: 0.65rem;
    bottom: 0.38rem;
    left: 0.65rem;
    height: 0.16rem;
    content: "";
    background: var(--color-orange-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
  }

  .nav-link:hover,
  .site-nav a:not(.button):hover,
  .nav-link[aria-current="page"],
  .site-nav a[aria-current="page"] {
    background: transparent;
  }

  .nav-link:hover::after,
  .site-nav a:not(.button):hover::after,
  .nav-link[aria-current="page"]::after,
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-cta {
    display: inline-flex;
    min-height: 2.8rem;
    padding-inline: 1rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: min(52rem, calc(100svh - var(--header-height)));
  }

  .trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-list li + li {
    border-left: 1px solid var(--color-border);
  }

  .section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.75fr);
    gap: var(--space-7);
    align-items: end;
  }

  .section-heading--split > p {
    margin-block-end: 0.3rem;
  }

  .grid--4,
  .steps,
  .process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step-card {
    padding: 5.25rem 1.5rem 1.5rem;
  }

  .step-card__number {
    top: 1.35rem;
    left: 1.5rem;
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .commitment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.38fr);
  }

  .form-layout__aside {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }

  .legal-layout {
    grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 1fr);
  }

  .legal-nav {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }

  .anchor-nav ul {
    width: min(100% - 3rem, var(--container));
    justify-content: center;
    padding-inline: 0;
    margin-inline: auto;
  }

  .footer-main {
    grid-template-columns: minmax(17rem, 1.7fr) repeat(3, minmax(10rem, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(17rem, 1.7fr) repeat(3, minmax(10rem, 1fr));
  }
}

@media (min-width: 75rem) {
  .nav-link,
  .site-nav a:not(.button) {
    padding-inline: 0.82rem;
    font-size: 0.92rem;
  }

  .nav-link::after,
  .site-nav a:not(.button)::after {
    right: 0.82rem;
    left: 0.82rem;
  }
}

/* Préférences d'accessibilité et impression */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal-on-scroll.is-pending {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .btn,
  .filter-button,
  .nav-toggle {
    border: 2px solid ButtonText;
  }
}

@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .floating-whatsapp,
  .anchor-nav,
  .hero-actions,
  .cta-band,
  .filter-bar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .page-hero {
    padding-block: 1.5rem;
    color: #000;
    background: #fff;
  }

  .page-hero h1 {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .service-card,
  .project-card,
  .video-card,
  .form-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
