/* =============================================
   Smart Human Solutions — Design System
   Theme clair crème · Poppins · Micro-animations
   ============================================= */

:root {
  --marine: #faf8f4;
  --marine2: #f0ede8;
  --marine3: #e8e4dc;
  --rouge: #c0392b;
  --rouge-m: #a93226;
  --rouge-cl: #c0392b;
  --blanc: #ffffff;
  --texte: #1b2a4a;
  --texte-soft: rgba(27, 42, 74, 0.58);
  --texte-muted: rgba(27, 42, 74, 0.4);
  --gris-mid: #8898aa;
  --blanc-att: #2d3748;
  --ligne: rgba(192, 57, 43, 0.14);
  --nav-h: 80px;
  --pad: clamp(1.4rem, 5vw, 4.8rem);
  --r: 6px;
  --r-lg: 14px;
  --t: 0.22s ease;
  --shadow-sm: 0 2px 12px rgba(27, 42, 74, 0.07);
  --shadow-md: 0 8px 32px rgba(27, 42, 74, 0.11);
  --shadow-lg: 0 20px 56px rgba(27, 42, 74, 0.14);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--blanc-att);
  background: var(--marine);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  color: var(--texte);
}
h1 {
  font-weight: 700;
}
h2 {
  font-weight: 600;
}
h3 {
  font-weight: 600;
}
h4 {
  font-weight: 500;
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--rouge);
  z-index: 400;
  width: 0%;
  transition: width 0.08s linear;
}

/* ── Helpers ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: 6rem 0;
}
.section--dark {
  background: var(--marine3);
}
.section--alt {
  background: var(--marine2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 0;
  height: 1.5px;
  background: var(--rouge);
  transition: width 0.5s ease;
}
.eyebrow.visible::before {
  width: 28px;
}

.section__title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 0.8rem;
}
.section__sub {
  font-size: 0.93rem;
  color: var(--texte-soft);
  line-height: 1.9;
  max-width: 580px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--r);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t),
    transform 0.15s ease,
    box-shadow var(--t);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--rouge);
  color: var(--blanc);
  border: 1.5px solid transparent;
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.2);
}
.btn--primary:hover {
  background: var(--rouge-m);
  box-shadow: 0 6px 24px rgba(192, 57, 43, 0.3);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--texte);
  border: 1.5px solid rgba(27, 42, 74, 0.25);
}
.btn--outline:hover {
  border-color: var(--texte);
  background: rgba(27, 42, 74, 0.04);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}
.reveal-d4 {
  transition-delay: 0.32s;
}
.reveal-d5 {
  transition-delay: 0.4s;
}

/* ── Hero entrance keyframes ── */
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(192, 57, 43, 0.1);
  transition: box-shadow var(--t);
}
.nav.scrolled {
  box-shadow: 0 2px 28px rgba(27, 42, 74, 0.09);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav__logo img {
  height: 58px;
  width: auto;
  display: block;
  filter: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.48);
  transition: color var(--t);
  padding-bottom: 2px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1.5px;
  background: var(--rouge);
  transition: width 0.28s ease;
}
.nav__links a:hover {
  color: var(--texte);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}
.nav__links a.active {
  color: var(--texte);
}
.nav__cta {
  background: var(--rouge) !important;
  color: var(--blanc) !important;
  padding: 0.45rem 1.15rem;
  border-radius: var(--r);
  font-size: 0.68rem !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 3px 12px rgba(192, 57, 43, 0.22) !important;
  transition:
    background var(--t),
    box-shadow var(--t),
    transform 0.15s !important;
}
.nav__cta:hover {
  background: var(--rouge-m) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 18px rgba(192, 57, 43, 0.32) !important;
}
.nav__cta::after {
  display: none !important;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--texte);
  border-radius: 2px;
  transition:
    transform var(--t),
    opacity var(--t);
}
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--blanc);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.nav__mobile.open {
  display: flex;
}
.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--texte);
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.nav__mobile a:hover {
  color: var(--rouge);
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(27, 42, 74, 0.12);
}
.lang-switch__active {
  color: var(--rouge);
}
.lang-switch__sep {
  color: var(--texte-muted);
  font-weight: 300;
}
.lang-switch__link {
  color: var(--texte-muted);
  transition: color var(--t);
}
.lang-switch__link:hover {
  color: var(--texte);
}
.lang-switch--mobile {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
  margin-top: 1rem;
  font-size: 0.75rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4.5rem) var(--pad) 5.5rem;
  background: var(--marine);
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(
      rgba(192, 57, 43, 1) 0,
      rgba(192, 57, 43, 1) 1px,
      transparent 1px,
      transparent 70px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(192, 57, 43, 1) 0,
      rgba(192, 57, 43, 1) 1px,
      transparent 1px,
      transparent 70px
    );
  opacity: 0.045;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}
.hero__badge {
  display: inline-block;
  background: rgba(192, 57, 43, 0.08);
  color: var(--rouge);
  border: 1px solid rgba(192, 57, 43, 0.22);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  margin-bottom: 1.6rem;
  animation: heroFade 0.6s 0.05s ease both;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  max-width: 760px;
  margin-bottom: 1.4rem;
  animation: heroUp 0.7s 0.15s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--rouge);
}
.hero__sub {
  font-size: 0.97rem;
  color: var(--texte-soft);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 2.2rem;
  animation: heroUp 0.6s 0.3s ease both;
}
.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: heroUp 0.6s 0.44s ease both;
}

/* Hero stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  animation: heroFade 0.8s 0.6s ease both;
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 2.5rem;
}
.hero__stat:first-child {
  padding-left: 0;
}
.hero__stat-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--rouge);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--texte-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(27, 42, 74, 0.14);
  align-self: center;
}

/* ── Qui sommes-nous ── */
.qui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.principes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.principes-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--texte-soft);
  line-height: 1.75;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(192, 57, 43, 0.08);
}
.principes-list li:last-child {
  border-bottom: none;
}
.principes-num {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rouge);
  margin-top: 0.25rem;
  min-width: 20px;
}

/* ── Cards expertise ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.09);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--rouge);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
  border-radius: 0 0 0 var(--r-lg);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192, 57, 43, 0.18);
}
.card:hover::before {
  transform: scaleY(1);
}
.card__num {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.75rem;
}
.card__title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.card__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card__item {
  font-size: 0.81rem;
  color: var(--texte-soft);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}
.card__item::before {
  content: "→";
  color: var(--rouge);
  flex-shrink: 0;
  font-size: 0.72rem;
  margin-top: 0.07rem;
  transition: transform 0.2s ease;
}
.card:hover .card__item::before {
  transform: translateX(3px);
}

/* Expertise page */
.expertise-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.expertise-detail__intro {
  color: var(--texte-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}
.expertise-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.expertise-item {
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: var(--r);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--t),
    border-color var(--t);
}
.expertise-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 57, 43, 0.18);
}
.expertise-item__title {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--texte);
  margin-bottom: 0.4rem;
}
.expertise-item__desc {
  font-size: 0.79rem;
  color: var(--texte-soft);
  line-height: 1.6;
}

/* ── Méthodologie ── */
.methode-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.methode-step {
  text-align: center;
  padding: 2.2rem 1rem;
  position: relative;
  overflow: hidden;
}
.methode-step__ghost-num {
  position: absolute;
  font-size: 7rem;
  font-weight: 800;
  color: rgba(192, 57, 43, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  transition: opacity 0.3s ease;
}
.methode-step:hover .methode-step__ghost-num {
  opacity: 2;
  color: rgba(192, 57, 43, 0.1);
}
.methode-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 2.8rem;
  color: rgba(192, 57, 43, 0.3);
  font-size: 1rem;
  z-index: 2;
}
.methode-step__num {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.25);
}
.methode-step:hover .methode-step__num {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.38);
}
.methode-step__title {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--texte);
  margin-bottom: 0.45rem;
}
.methode-step__desc {
  position: relative;
  z-index: 1;
  font-size: 0.73rem;
  color: var(--texte-muted);
  line-height: 1.65;
}

/* ── Team ── */
.team-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.team-member {
  text-align: center;
  padding: 1.75rem 0.75rem;
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--t),
    box-shadow var(--t),
    transform var(--t);
}
.team-member:hover {
  border-color: rgba(192, 57, 43, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.team-member__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.team-member:hover .team-member__circle {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(192, 57, 43, 0.38);
}
.team-member__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texte);
  margin-bottom: 0.3rem;
}
.team-member__role {
  font-size: 0.66rem;
  color: var(--texte-muted);
  letter-spacing: 0.03em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192, 57, 43, 0.22);
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--marine2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}
.team-card__initials {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--texte);
  opacity: 0.18;
}
.team-card__body {
  padding: 1.3rem;
}
.team-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--texte);
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.65rem;
}
.team-card__bio {
  font-size: 0.79rem;
  color: var(--texte-soft);
  line-height: 1.62;
}

/* ── Equipe page — member layout ── */
.member-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* Colonne gauche */
.member-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.member-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  background: #f0ece6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--t);
}
.member-portrait:hover {
  box-shadow: var(--shadow-lg);
}
.member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.member-left__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--texte);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.member-left__role {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--rouge);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Colonne droite */
.member-right {
  padding-top: 0.25rem;
}
.member-bio {
  color: var(--texte-soft);
  line-height: 1.95;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.member-quote {
  position: relative;
  padding-left: 2.8rem;
  color: var(--texte);
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
.member-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  color: var(--rouge);
  opacity: 0.18;
  line-height: 1;
  font-style: normal;
  pointer-events: none;
}

@media (max-width: 768px) {
  .member-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .member-left {
    position: static;
    flex-direction: column;
    text-align: center;
    gap: 0;
    align-items: center;
  }
  .member-portrait {
    width: 160px;
    margin-bottom: 1rem;
  }
  .member-left__info {
    flex: 1;
  }
}

/* ── Card icon ── */
.card-icon {
  width: 28px;
  height: 28px;
  color: var(--rouge);
  margin-bottom: 1.1rem;
  opacity: 0.88;
  flex-shrink: 0;
}

/* ── Zone intervention ── */
.zone-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}
.zone-map img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid rgba(192, 57, 43, 0.12);
}
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.zone-tag {
  background: rgba(192, 57, 43, 0.07);
  color: var(--rouge);
  border: 1px solid rgba(192, 57, 43, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition:
    background var(--t),
    transform var(--t);
}
.zone-tag:hover {
  background: rgba(192, 57, 43, 0.13);
  transform: translateY(-1px);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.contact-form-wrap {
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: var(--r-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.contact-form-wrap p {
  font-size: 0.82rem;
  color: var(--texte-soft);
  margin-bottom: 1.6rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--texte);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(27, 42, 74, 0.15);
  border-radius: var(--r);
  background: var(--marine);
  color: var(--texte);
  font-family: "Poppins", sans-serif;
  font-size: 0.86rem;
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}
.form-group select option {
  background: var(--blanc);
  color: var(--texte);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--r);
  padding: 1rem;
  color: #0d6e50;
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
}
.form-error {
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.22);
  border-radius: var(--r);
  padding: 1rem;
  color: var(--rouge);
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
}
.form-rgpd {
  font-size: 0.72rem;
  color: var(--texte-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
  text-align: center;
}
.form-rgpd a {
  color: var(--texte-muted);
  text-decoration: underline;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.contact-info__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-info__icon {
  width: 38px;
  height: 38px;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.16);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.contact-info__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gris-mid);
  margin-bottom: 0.2rem;
}
.contact-info__value {
  font-size: 0.87rem;
  color: var(--blanc-att);
  line-height: 1.5;
}
.contact-info__value a {
  color: var(--rouge);
  transition: color var(--t);
}
.contact-info__value a:hover {
  color: var(--rouge-m);
}

/* ── Bouton pleine largeur ── */
.btn--full {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
}

/* ── Engagements contact ── */
.contact-engagements {
  background: var(--marine2);
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  padding: 1.5rem 0;
}
.contact-engagements__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.contact-engagement {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 2.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--texte-soft);
}
.contact-engagement svg {
  color: var(--rouge);
  flex-shrink: 0;
}
.contact-engagement__sep {
  width: 1px;
  height: 24px;
  background: rgba(27, 42, 74, 0.14);
}

/* ── Sidebar contact ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Interlocuteur */
.contact-person {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.09);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.contact-person__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--marine2);
  border: 2px solid rgba(192, 57, 43, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.contact-person__initials {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--texte);
  opacity: 0.4;
}
.contact-person__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texte);
  margin-bottom: 0.15rem;
}
.contact-person__role {
  font-size: 0.7rem;
  color: var(--rouge);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.contact-person__note {
  font-size: 0.68rem;
  color: var(--texte-muted);
  font-style: italic;
}

/* Coordonnées */
.contact-details {
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.09);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
  transition: background var(--t);
}
.contact-detail:last-child {
  border-bottom: none;
}
.contact-detail:hover {
  background: rgba(27, 42, 74, 0.02);
}
.contact-detail__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(192, 57, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rouge);
}
.contact-detail__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-mid);
  margin-bottom: 0.2rem;
}
.contact-detail__value {
  font-size: 0.84rem;
  color: var(--texte);
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: color var(--t);
}
a.contact-detail__value:hover {
  color: var(--rouge);
}

/* Zone intervention sidebar */
.contact-zone {
  background: var(--blanc);
  border: 1px solid rgba(27, 42, 74, 0.09);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.contact-zone__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--texte);
  margin-bottom: 0.9rem;
}
.contact-zone .zone-tags {
  margin-top: 0;
}

@media (max-width: 960px) {
  .contact-engagement {
    padding: 0.5rem 1.2rem;
  }
}
@media (max-width: 640px) {
  .contact-engagement__sep {
    display: none;
  }
  .contact-engagement {
    padding: 0.4rem 1rem;
    font-size: 0.74rem;
  }
  .contact-engagements__row {
    justify-content: flex-start;
  }
}

/* ── CTA banner ── */
.cta-banner {
  padding: 5.5rem 0;
  text-align: center;
  background: var(--rouge);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      rgba(255, 255, 255, 1) 0,
      rgba(255, 255, 255, 1) 1px,
      transparent 1px,
      transparent 70px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0,
      rgba(255, 255, 255, 1) 1px,
      transparent 1px,
      transparent 70px
    );
  opacity: 0.05;
}
.cta-banner h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 0.8rem;
  color: var(--blanc);
  position: relative;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  max-width: 500px;
  margin: 0 auto 2.2rem;
  line-height: 1.85;
  position: relative;
}
.cta-banner .btn--primary {
  background: var(--blanc);
  color: var(--rouge);
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  position: relative;
}
.cta-banner .btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
}

/* ── Footer ── */
.footer {
  background: #1c2b3a;
  padding: 5rem var(--pad) 2.2rem;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 2.8rem;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer__logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer__logo {
  width: 150px;
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 0.7rem;
}
.footer__brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer__brand-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.footer__zones {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.footer__zone {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
}
.footer__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e87b6e;
  border: 1px solid rgba(232, 123, 110, 0.4);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  transition:
    color var(--t),
    border-color var(--t),
    background var(--t);
}
.footer__cta:hover {
  color: #fff;
  border-color: #e87b6e;
  background: rgba(232, 123, 110, 0.15);
}
.footer__col-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__col a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--t);
}
.footer__col a:hover {
  color: #fff;
}
.footer__col .rouge {
  color: #e87b6e;
}
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  transition: color var(--t);
}
.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  opacity: 0.6;
}
.footer__contact-item.rouge {
  color: #e87b6e;
}
.footer__contact-item.rouge svg {
  opacity: 1;
}
a.footer__contact-item:hover {
  color: #fff;
}
.footer__legal {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer__legal-sep {
  opacity: 0.3;
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--t);
}
.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Mentions légales ── */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  background: var(--marine2);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}
.legal-nav__title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-muted);
  margin-bottom: 1rem;
}
.legal-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-nav a {
  font-size: 0.82rem;
  color: var(--texte-soft);
  transition: color var(--t);
}
.legal-nav a:hover {
  color: var(--rouge);
}
.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--marine3);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 1.2rem;
}
.legal-section p {
  font-size: 0.88rem;
  color: var(--texte-soft);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section a {
  color: var(--rouge);
  font-weight: 500;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.legal-table tr {
  border-bottom: 1px solid var(--marine3);
}
.legal-table tr:last-child {
  border-bottom: none;
}
.legal-table th {
  text-align: left;
  padding: 0.75rem 1rem 0.75rem 0;
  color: var(--texte);
  font-weight: 600;
  width: 38%;
  vertical-align: top;
}
.legal-table td {
  padding: 0.75rem 0;
  color: var(--texte-soft);
  vertical-align: top;
}
.legal-table a {
  color: var(--rouge);
}
.legal-list {
  margin: 0.8rem 0 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-list li {
  font-size: 0.87rem;
  color: var(--texte-soft);
  line-height: 1.7;
}
.legal-update {
  font-size: 0.78rem !important;
  color: var(--texte-muted) !important;
  font-style: italic;
  margin-top: 1.5rem !important;
}

/* ── Page hero (sous-pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) var(--pad) 3.5rem;
  background: var(--marine2);
  position: relative;
  overflow: hidden;
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(
      rgba(192, 57, 43, 1) 0,
      rgba(192, 57, 43, 1) 1px,
      transparent 1px,
      transparent 70px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(192, 57, 43, 1) 0,
      rgba(192, 57, 43, 1) 1px,
      transparent 1px,
      transparent 70px
    );
  opacity: 0.035;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .qui-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .zone-layout {
    grid-template-columns: 1fr;
  }
  .methode-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .methode-step:not(:last-child)::after {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .expertise-detail {
    grid-template-columns: 1fr;
  }
  .member-layout {
    grid-template-columns: 1fr;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
  }
  .hero__stats {
    gap: 0;
  }
  .hero__stat {
    padding: 0 1.5rem;
  }
}
@media (max-width: 640px) {
  .hero__stats {
    gap: 1.5rem 0;
  }
  .hero__stat-sep {
    display: none;
  }
  .hero__stat {
    padding: 0;
  }
  .team-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }
  .methode-steps {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .expertise-items-grid {
    grid-template-columns: 1fr;
  }
}
