/* ==========================================================================
   TECH SERVICES — Design system & composants
   « La technologie au service de votre performance. »
   Approche mobile-first : les styles de base ciblent le mobile,
   les media queries (min-width) enrichissent pour les écrans plus larges.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs — marque (palette officielle TECH SERVICES) */
  --c-primary: #0077BD;        /* Bleu logo TECH SERVICES */
  --c-primary-600: #0066A4;
  --c-primary-700: #00558A;    /* Hover */
  --c-navy: #262B71;           /* Bleu marine marque */
  --c-primary-900: #0E1135;    /* Fonds sombres profonds */
  --c-primary-100: #D4EBF8;
  --c-primary-50: #EBF5FC;

  --c-accent: #F8962D;         /* Orange chaleureux du logo (CTA & accents) */
  --c-accent-hover: #E5831C;
  --c-accent-fg: #270E01;
  --c-accent-50: #FEF3E6;

  --c-cyan: #0077BD;           /* Harmonisé avec le bleu principal */
  --c-cyan-text: #00629D;      /* Contraste AA sur fond clair */
  --c-cyan-50: #E7F0F8;

  /* Couleurs — neutres doux */
  --c-heading: #0D1528;
  --c-text: #242E42;
  --c-text-muted: #596475;
  --c-border: #DBE2EB;
  --c-bg: #F8FAFD;             /* Fond clair doux */
  --c-bg-alt: #E7F0F8;         /* Sections alternées bleu pâle */

  --c-success: #1E8E5A;
  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #128C4B;

  --gradient-brand: linear-gradient(135deg, #262B71 0%, #0E1135 55%, #00558A 100%);
  --gradient-tech: linear-gradient(135deg, #0077BD 0%, #F8962D 100%);

  /* Typographie */
  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.8125rem;                               /* 13px */
  --fs-sm: 0.9375rem;                               /* 15px */
  --fs-base: 1rem;                                  /* 16px */
  --fs-md: 1.125rem;                                /* 18px */
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-base: 1.65;

  /* Espacements (échelle 4px) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);

  /* Formes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Ombres douces */
  --shadow-xs: 0 1px 2px rgba(14, 17, 53, 0.05);
  --shadow-sm: 0 4px 14px -4px rgba(38, 43, 113, 0.09), 0 1px 3px rgba(14, 17, 53, 0.04);
  --shadow-md: 0 18px 42px -20px rgba(38, 43, 113, 0.26), 0 2px 6px rgba(14, 17, 53, 0.05);
  --shadow-lg: 0 24px 54px -22px rgba(14, 17, 53, 0.36);
  --shadow-glow: 0 14px 34px -12px rgba(248, 150, 45, 0.55);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: 1.25rem;
  --header-h: 68px;

  /* Animations */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 76px; }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-display);
  color: var(--c-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-700); }

ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--c-primary-100); color: var(--c-primary-900); }

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

.skip-link {
  position: absolute;
  top: -100px; left: var(--sp-4);
  z-index: 1000;
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-primary-900);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* Icônes (SVG inline, style Lucide) */
.icon {
  width: 1.25em; height: 1.25em;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--fill { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--dark {
  background: var(--c-primary-900);
  color: rgba(255, 255, 255, 0.85);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* Grilles responsives */
.grid { display: grid; gap: var(--sp-6); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--sp-8); }
}

/* Deux colonnes texte / image */
.split { display: grid; gap: var(--sp-10); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: var(--sp-4); }
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }

/* --------------------------------------------------------------------------
   4. Typographie de section
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-cyan-text);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--gradient-tech);
  border-radius: 2px;
}
.section--dark .eyebrow, .cta-band .eyebrow, .page-hero .eyebrow { color: #FDBA74; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--c-text-muted);
}
.section--dark .lead { color: rgba(255, 255, 255, 0.78); }

.section-head { max-width: 720px; margin-bottom: var(--sp-10); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
@media (min-width: 1024px) { .section-head { margin-bottom: var(--sp-12); } }

.text-gradient {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;                      /* Cible tactile confortable */
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-full);
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.125em; height: 1.125em; transition: transform var(--t-base) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--primary:hover { --btn-bg: var(--c-primary-700); box-shadow: 0 10px 24px -10px rgba(0, 119, 189, 0.55); }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-border: var(--c-primary); }
.btn--secondary:hover { --btn-bg: var(--c-primary-50); --btn-fg: var(--c-primary-700); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-border: transparent; padding-inline: var(--sp-3); }
.btn--ghost:hover { --btn-bg: var(--c-primary-50); }

/* Sur fonds sombres — accent orange TECH SERVICES */
.btn--white { --btn-bg: var(--c-accent); --btn-fg: var(--c-accent-fg); --btn-border: var(--c-accent); box-shadow: var(--shadow-glow); }
.btn--white:hover { --btn-bg: var(--c-accent-hover); --btn-border: var(--c-accent-hover); --btn-fg: var(--c-accent-fg); box-shadow: 0 16px 36px -10px rgba(248, 150, 45, 0.7); }

.btn--outline-white { --btn-bg: rgba(255, 255, 255, 0.06); --btn-fg: #F1F5FC; --btn-border: rgba(241, 245, 252, 0.35); }
.btn--outline-white:hover { --btn-bg: rgba(255, 255, 255, 0.14); --btn-border: #fff; }

.btn--whatsapp { --btn-bg: var(--c-whatsapp-dark); --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: #0E7A40; }

.btn--sm { min-height: 40px; padding: 0.5rem 1.15rem; font-size: var(--fs-sm); border-radius: var(--radius-full); }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-group--center { justify-content: center; }
@media (max-width: 479px) {
  .btn-group--stack-mobile { flex-direction: column; }
  .btn-group--stack-mobile .btn { width: 100%; }
}

/* Lien texte avec flèche */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  text-decoration: none;
  color: var(--c-primary);
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--header-h);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 0;
  text-decoration: none;
  color: var(--c-heading);
}
.brand:hover { color: var(--c-heading); }
.brand__logo {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 768px) { .brand__logo { height: 44px; } }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-size: 0.9375rem; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.brand__name span { color: var(--c-primary); }
.brand__tagline { display: none; font-size: 0.6875rem; font-weight: 500; color: var(--c-text-muted); white-space: nowrap; }
@media (min-width: 640px) { .brand__tagline { display: block; } }
@media (min-width: 768px) { .brand__mark { width: 42px; height: 42px; } .brand__name { font-size: 1.1875rem; } }

/* Actions (CTA + burger) — toujours visibles */
.site-header__actions { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.site-header__cta {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-fg);
  --btn-border: var(--c-accent);
  padding-inline: 0.85rem;
  box-shadow: var(--shadow-glow);
}
.site-header__cta:hover {
  --btn-bg: var(--c-accent-hover);
  --btn-border: var(--c-accent-hover);
  --btn-fg: var(--c-accent-fg);
}
.site-header__cta .icon { display: none; }
.site-header__cta .cta-short { display: none; }
@media (min-width: 480px) { .site-header__cta { padding-inline: 1rem; } }
@media (max-width: 419px) {
  /* Petits mobiles : libellé court */
  .site-header__cta .cta-full { display: none; }
  .site-header__cta .cta-short { display: inline; }
}
@media (max-width: 339px) {
  /* Très petits écrans : CTA réduit à l'icône téléphone */
  .site-header__cta { padding-inline: 0.625rem; }
  .site-header__cta .icon { display: block; }
  .site-header__cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  color: var(--c-heading);
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
}
.nav-burger:hover { background: var(--c-bg-alt); }
.nav-burger .icon { width: 22px; height: 22px; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

/* Navigation desktop */
.main-nav { display: none; }

@media (min-width: 1080px) {
  .nav-burger, .mobile-menu { display: none !important; }
  .main-nav { display: block; }
  .main-nav__list { display: flex; align-items: center; gap: var(--sp-1); list-style: none; }
  .main-nav__item { position: relative; }

  .main-nav__link,
  .main-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-text);
    text-decoration: none;
    background: none;
    border: 0;
    border-radius: var(--radius-sm);
    transition: color var(--t-fast), background-color var(--t-fast);
  }
  .main-nav__link:hover, .main-nav__toggle:hover { color: var(--c-primary); background: var(--c-primary-50); }
  .main-nav__link[aria-current="page"],
  .main-nav__toggle.is-active { color: var(--c-primary); font-weight: 600; }
  .main-nav__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.75rem; right: 0.75rem; bottom: -2px;
    height: 2px;
    background: var(--gradient-tech);
    border-radius: 2px;
  }
  .main-nav__toggle .icon { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
  .main-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

  /* Menu déroulant Expertises */
  .dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 560px;
    padding: var(--sp-3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-1);
    list-style: none;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
  }
  .dropdown::before { /* zone tampon pour le survol */
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }
  .main-nav__item.is-open .dropdown {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--c-border); margin-top: var(--sp-2); padding-top: var(--sp-2); }
  .dropdown__all a { padding: var(--sp-2) var(--sp-3); font-size: var(--fs-sm); }
}

.dropdown__link {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3);
  text-decoration: none;
  color: var(--c-text);
  border-radius: var(--radius-md);
  transition: background-color var(--t-fast);
}
.dropdown__link:hover, .dropdown__link[aria-current="page"] { background: var(--c-bg-alt); color: var(--c-text); }
.dropdown__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--c-primary);
  background: var(--c-primary-50);
  border-radius: var(--radius-sm);
}
.dropdown__icon .icon { width: 20px; height: 20px; }
.dropdown__title { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-heading); line-height: 1.3; }
.dropdown__desc { display: block; font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.4; margin-top: 2px; }

/* Navigation mobile */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-top: 1px solid var(--c-border);
}
.mobile-menu.is-open { display: block; animation: menu-in var(--t-base) var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Sans JavaScript : menu affiché en flux normal */
html:not(.js) .mobile-menu { display: block; position: static; }
html:not(.js) .nav-burger { display: none; }

.mobile-menu__inner { padding: var(--sp-4) var(--gutter) var(--sp-10); }
.mobile-menu__list { list-style: none; }
.mobile-menu__list > li { border-bottom: 1px solid var(--c-border); }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding-block: var(--sp-3);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-heading);
  text-decoration: none;
}
.mobile-menu__link[aria-current="page"] { color: var(--c-primary); }
.mobile-menu__sub { list-style: none; padding: 0 0 var(--sp-3) var(--sp-3); border-left: 2px solid var(--c-primary-100); margin-left: var(--sp-1); }
.mobile-menu__sub a {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 44px;
  padding-left: var(--sp-3);
  color: var(--c-text);
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu__sub a .icon { width: 18px; height: 18px; color: var(--c-primary); }
.mobile-menu__sub a[aria-current="page"] { color: var(--c-primary); font-weight: 600; }
.mobile-menu__contact { margin-top: var(--sp-8); display: grid; gap: var(--sp-3); }
.mobile-menu__meta { margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--c-text-muted); }

/* --------------------------------------------------------------------------
   7. Page hero (pages intérieures) & fil d'Ariane
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
  color: rgba(255, 255, 255, 0.85);
  background: var(--gradient-brand);
  isolation: isolate;
}
.page-hero::before { /* motif de réseau discret */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero::after { /* halo cyan */
  content: "";
  position: absolute; z-index: -1;
  width: 520px; height: 520px;
  right: -160px; top: -200px;
  background: radial-gradient(closest-side, rgba(25, 182, 214, 0.35), transparent);
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 680px; }

.breadcrumb { margin-bottom: var(--sp-6); font-size: var(--fs-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); opacity: 0.5; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   8. Cartes
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 768px) { .card { padding: var(--sp-8); } }

/* Carte de service */
.service-card {
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.service-card::before { /* liseré dégradé au survol */
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--gradient-tech);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.service-card:hover, .service-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--c-primary-100);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }

.service-card__icon, .icon-box {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--sp-5);
  color: var(--c-primary);
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-cyan-50));
  border-radius: var(--radius-md);
}
.service-card__icon .icon, .icon-box .icon { width: 26px; height: 26px; stroke-width: 1.75; }

.service-card__title { margin-bottom: var(--sp-3); font-size: var(--fs-h4); }
.service-card__text { flex-grow: 1; color: var(--c-text-muted); font-size: var(--fs-sm); line-height: 1.6; }
.service-card__list { list-style: none; margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.service-card__list li { display: flex; gap: var(--sp-2); }
.service-card__list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--c-success); }
.service-card__link { margin-top: var(--sp-5); }
/* Lien étiré : toute la carte est cliquable, un seul lien pour les lecteurs d'écran */
.service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Carte de valeur / argument (sans lien) */
.feature {
  display: flex;
  gap: var(--sp-4);
}
.feature .icon-box { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.feature .icon-box .icon { width: 22px; height: 22px; }
.feature__title { margin-bottom: var(--sp-1); font-size: var(--fs-md); }
.feature__text { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* Liste à puces cochées */
.check-list { list-style: none; display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--c-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__value {
  display: block;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-primary);
}
.section--dark .stat__value { color: #fff; }
.stat__label { display: block; margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-muted); }
.section--dark .stat__label { color: rgba(255, 255, 255, 0.72); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-primary-700);
  background: var(--c-primary-50);
  border-radius: var(--radius-full);
}
.badge--cyan { color: var(--c-cyan-text); background: var(--c-cyan-50); }
.badge-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }

/* Média (photos) */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--c-bg-alt);
  aspect-ratio: 4 / 3;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1; }
.media--placeholder {
  display: grid; place-items: center;
  color: var(--c-primary);
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-cyan-50));
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
  padding: var(--sp-6);
}
.media--placeholder .icon { width: 40px; height: 40px; margin: 0 auto var(--sp-2); stroke-width: 1.5; }

/* --------------------------------------------------------------------------
   9. Section CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--sp-6);
  color: rgba(255, 255, 255, 0.85);
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; z-index: -1;
  width: 420px; height: 420px;
  right: -120px; bottom: -220px;
  background: radial-gradient(closest-side, rgba(25, 182, 214, 0.45), transparent);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%);
  mask-image: linear-gradient(270deg, #000, transparent 70%);
}
.cta-band h2 { color: #fff; max-width: 680px; }
.cta-band p { max-width: 600px; font-size: var(--fs-md); }
.cta-band .btn-group { margin-top: var(--sp-8); }
.cta-band--center { text-align: center; }
.cta-band--center h2, .cta-band--center p { margin-inline: auto; }
.cta-band--center .btn-group { justify-content: center; }
.cta-band--center .eyebrow { justify-content: center; }
@media (min-width: 768px) { .cta-band { padding-inline: var(--sp-16); } }

/* Variante claire */
.cta-band--light {
  color: var(--c-text);
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-cyan-50));
  border: 1px solid var(--c-primary-100);
}
.cta-band--light h2 { color: var(--c-heading); }
.cta-band--light::after { display: none; }
.cta-band--light .eyebrow { color: var(--c-cyan-text); }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  color: rgba(241, 245, 252, 0.72);
  background: var(--c-primary-900);
  font-size: var(--fs-sm);
}
.site-footer a { color: rgba(241, 245, 252, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__grid { display: grid; gap: var(--sp-10); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--sp-12); } }

.site-footer .brand {
  color: #fff;
  background: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.site-footer .brand__logo { height: 34px; }
.site-footer .brand__name span { color: var(--c-accent); }
.site-footer .brand__tagline { display: block; color: rgba(255, 255, 255, 0.6); }
.site-footer__slogan { margin-top: var(--sp-5); font-size: var(--fs-md); font-weight: 600; color: #fff; line-height: 1.4; }
.site-footer__about { margin-top: var(--sp-3); }

.site-footer__title {
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer__links { list-style: none; display: grid; gap: var(--sp-3); }

.contact-list { list-style: none; display: grid; gap: var(--sp-4); }
.contact-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-accent); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-12);
  padding-block: var(--sp-6);
  padding-bottom: calc(var(--sp-6) + 72px);     /* espace pour le bouton WhatsApp sur mobile */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 768px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; padding-bottom: var(--sp-6); }
}

/* --------------------------------------------------------------------------
   11. Bouton WhatsApp flottant
   -------------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 56px;
  min-width: 56px;
  padding: 0 1rem;
  justify-content: center;
  color: #fff;
  background: var(--c-whatsapp-dark);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -8px rgba(18, 140, 75, 0.6), 0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--t-base) var(--ease), background-color var(--t-base);
}
.whatsapp-fab:hover { color: #fff; background: #0E7A40; transform: translateY(-2px) scale(1.03); }
.whatsapp-fab .icon { width: 28px; height: 28px; }
.whatsapp-fab__label { display: none; font-size: var(--fs-sm); }
@media (min-width: 768px) {
  .whatsapp-fab { right: 1.5rem; bottom: 1.5rem; padding: 0 1.25rem 0 1rem; }
  .whatsapp-fab__label { display: inline; }
}
.whatsapp-fab::before { /* pulsation discrète */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.8s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   12. Animations au scroll
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   PAGES — Accueil
   ========================================================================== */

/* ---------- Hero plein écran ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--sp-16) calc(var(--sp-16) + 3rem);   /* + chevauchement du bandeau */
  color: rgba(255, 255, 255, 0.88);
  background: var(--c-primary-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero::before { /* overlay bleu marine profond — palette officielle */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 17, 53, 0.86) 0%, rgba(14, 17, 53, 0.94) 100%);
}
.hero::after { /* trame tech discrète */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}
@media (min-width: 960px) {
  .hero::before {
    background: linear-gradient(100deg, rgba(14, 17, 53, 0.95) 0%, rgba(38, 43, 113, 0.84) 48%, rgba(0, 119, 189, 0.32) 100%);
  }
}
.hero__content { max-width: 720px; }
.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FDBA74;
  background: rgba(248, 150, 45, 0.12);
  border: 1px solid rgba(248, 150, 45, 0.32);
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__brand::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(248, 150, 45, 0.25);
}
.hero h1 {
  margin-bottom: var(--sp-5);
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  color: #fff;
}
.hero h1 .text-gradient { background: linear-gradient(90deg, #F8962D, #FDBA74); -webkit-background-clip: text; background-clip: text; }
.hero__subtitle {
  margin-bottom: var(--sp-5);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: #FDBA74;
}
.hero__text { max-width: 640px; font-size: var(--fs-base); line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
@media (min-width: 768px) { .hero__text { font-size: var(--fs-md); } }
.hero .btn-group { margin-top: var(--sp-8); }

/* Animation d'entrée du hero (au chargement) */
.js .hero__content > * { animation: hero-in 0.8s var(--ease) both; }
.js .hero__content > :nth-child(2) { animation-delay: 80ms; }
.js .hero__content > :nth-child(3) { animation-delay: 160ms; }
.js .hero__content > :nth-child(4) { animation-delay: 240ms; }
.js .hero__content > :nth-child(5) { animation-delay: 320ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau d'atouts (chevauche le hero) ---------- */
.highlights { position: relative; z-index: 2; margin-top: -3.5rem; }
.highlights__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.highlight {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
}
.highlight:nth-child(odd) { border-right: 1px solid var(--c-border); }
.highlight:nth-child(-n+2) { border-bottom: 1px solid var(--c-border); }
.highlight .icon-box { width: 44px; height: 44px; margin: 0; }
.highlight .icon-box .icon { width: 22px; height: 22px; }
.highlight__value { display: block; font-size: var(--fs-md); font-weight: 800; line-height: 1.2; color: var(--c-heading); letter-spacing: -0.01em; }
.highlight__label { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.45; }
@media (min-width: 640px) {
  .highlight { flex-direction: row; align-items: center; gap: var(--sp-4); padding: var(--sp-6); }
}
@media (min-width: 1024px) {
  .highlights__list { grid-template-columns: repeat(4, 1fr); }
  .highlight { border-bottom: 0 !important; border-right: 1px solid var(--c-border); padding: var(--sp-8) var(--sp-6); }
  .highlight:last-child { border-right: 0; }
  .highlight__value { font-size: 1.1875rem; }
}

/* ---------- Cartes d'expertise (accueil) ---------- */
.expertise-card .service-card__icon {
  width: 60px; height: 60px;
  color: #fff;
  background: var(--gradient-tech);
  box-shadow: 0 10px 20px -10px rgba(31, 95, 168, 0.7);
}
.expertise-card .service-card__icon .icon { width: 28px; height: 28px; }
.expertise-card .service-card__title { font-size: var(--fs-h3); }
.expertise-card .service-card__text { font-size: var(--fs-base); }

/* ---------- Spotlight Noalyss ---------- */
.spotlight {
  position: relative;
  display: grid;
  gap: var(--sp-10);
  align-items: center;
  padding: clamp(2rem, 1rem + 4vw, 4rem);
  color: rgba(255, 255, 255, 0.85);
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}
.spotlight::before {
  content: "";
  position: absolute; z-index: -1;
  width: 600px; height: 600px;
  left: -200px; bottom: -340px;
  background: radial-gradient(closest-side, rgba(248, 150, 45, 0.28), transparent);
}
.spotlight h2 { color: #fff; }
.spotlight .eyebrow { color: #FDBA74; }
.spotlight .check-list { margin-block: var(--sp-6) var(--sp-8); }
.spotlight .check-list li::before { background-color: rgba(248, 150, 45, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8962D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (min-width: 960px) { .spotlight { grid-template-columns: 1.05fr 1fr; gap: var(--sp-16); } }

/* Maquette de tableau de bord (décorative, sans chiffres) */
.dashboard-mock {
  padding: var(--sp-5);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
  color: var(--c-text);
}
.dashboard-mock__bar { display: flex; align-items: center; gap: 6px; margin-bottom: var(--sp-4); }
.dashboard-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border); }
.dashboard-mock__bar strong { margin-left: auto; font-size: var(--fs-xs); color: var(--c-primary); }
.dashboard-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-4); }
.dashboard-mock__kpi { padding: var(--sp-3); background: var(--c-bg-alt); border-radius: var(--radius-sm); }
.dashboard-mock__kpi small { display: block; font-size: 0.6875rem; color: var(--c-text-muted); }
.dashboard-mock__kpi i { display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--c-primary-100); }
.dashboard-mock__kpi i::after { content: ""; display: block; height: 100%; width: var(--w, 60%); border-radius: inherit; background: var(--gradient-tech); }
.dashboard-mock__chart {
  display: flex; align-items: flex-end; gap: 6%;
  height: 140px;
  padding: var(--sp-4) var(--sp-3) 0;
  background: linear-gradient(var(--c-border) 1px, transparent 1px) 0 0 / 100% 25%;
  border-radius: var(--radius-sm);
}
.dashboard-mock__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--c-cyan), var(--c-primary));
  transform-origin: bottom;
}
.js .is-visible .dashboard-mock__chart span { animation: bar-grow 1s var(--ease) both; }
.dashboard-mock__chart span:nth-child(2) { animation-delay: 60ms !important; }
.dashboard-mock__chart span:nth-child(3) { animation-delay: 120ms !important; }
.dashboard-mock__chart span:nth-child(4) { animation-delay: 180ms !important; }
.dashboard-mock__chart span:nth-child(5) { animation-delay: 240ms !important; }
.dashboard-mock__chart span:nth-child(6) { animation-delay: 300ms !important; }
.dashboard-mock__chart span:nth-child(7) { animation-delay: 360ms !important; }
@keyframes bar-grow { from { transform: scaleY(0.1); } to { transform: scaleY(1); } }

/* ---------- Pourquoi nous choisir ---------- */
.why-grid { display: grid; gap: var(--sp-6); }
.why-grid__intro { align-self: center; }
.why-grid__intro .section-head { margin-bottom: 0; }
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid__intro { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
  .why-grid__intro { grid-column: auto; padding-right: var(--sp-6); }
}
.why-card .icon-box { margin-bottom: var(--sp-5); }
.why-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.why-card p { color: var(--c-text-muted); font-size: var(--fs-sm); }
.why-card { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ==========================================================================
   PAGES INTÉRIEURES — Composants dédiés
   ========================================================================== */

/* ---------- Barre d'ancres rapides (expertises) ---------- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.anchor-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}
.anchor-nav__num {
  color: var(--c-accent);
  font-weight: 700;
}

/* ---------- Cartes numérotées (étapes / prestations) ---------- */
.step-list {
  list-style: none;
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 640px) {
  .step-list--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .step-list--3 { grid-template-columns: repeat(3, 1fr); }
}
.step-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5) var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base);
}
.step-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary-100);
  box-shadow: var(--shadow-sm);
}
.step-item__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--c-primary);
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-cyan-50));
  border-radius: var(--radius-md);
}
.step-item__body h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-1);
}
.step-item__body p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

/* ---------- Cartes secteurs avec photo (Noalyss) ---------- */
.sector-card {
  padding: 0;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base);
}
.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary-100);
  box-shadow: var(--shadow-md);
}
.sector-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.sector-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.sector-card:hover .sector-card__media img { transform: scale(1.04); }
.sector-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sector-card__body h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.sector-card__body p { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ---------- Encadré d'information / note ---------- */
.info-box {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-6);
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-cyan-50));
  border: 1px solid var(--c-primary-100);
  border-radius: var(--radius-lg);
}
.info-box .icon-box {
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
  background: #fff;
}
.info-box p { color: var(--c-text); font-size: var(--fs-sm); }

/* ---------- Page Contact : formulaire & coordonnées ---------- */
.contact-layout {
  display: grid;
  gap: var(--sp-10);
  align-items: start;
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1fr 1.35fr; gap: var(--sp-12); }
}
.contact-panel {
  padding: var(--sp-8);
  background: var(--gradient-brand);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(closest-side, rgba(25, 182, 214, 0.35), transparent);
}
.contact-panel h2 { color: #fff; font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.contact-panel p { color: rgba(255, 255, 255, 0.8); font-size: var(--fs-sm); }
.contact-panel .contact-list { margin-top: var(--sp-6); }
.contact-panel .contact-list a { color: #fff; text-decoration: none; font-weight: 500; }
.contact-panel .contact-list a:hover { text-decoration: underline; }
.contact-panel__actions {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: var(--sp-3);
}

.form-card {
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: var(--sp-10); } }
.form-grid {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 640px) {
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
@media (max-width: 639px) {
  .form-row { display: grid; gap: var(--sp-5); }
}
.form-field { display: grid; gap: var(--sp-2); }
.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-heading);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-50);
}
.form-status {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-success);
  min-height: 1.4em;
}
.form-status.is-error { color: #C0392B; }

/* --------------------------------------------------------------------------
   13. Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .whatsapp-fab, .mobile-menu, .cta-band .btn-group { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  body { color: #000; }
}
