/* ------------------------------------------------------------------ */
/* Design Variables                                                   */
/* ------------------------------------------------------------------ */
:root {
  --color-primary: #e60000;
  --color-primary-dark: #b80000;
  --color-text-dark: #1e1e24;
  --color-text-body: #555b6e;
  --color-bg-light: #f8f9fa;
  --color-border: #e2e8f0;
  --max-width: 1230px;
  --width_header: 1370px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shared "bottom divider" shadow used between stacked sections instead of margins */
  --section-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.18);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-body);
  background-color: #ffffff;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  color: var(--color-text-dark);
  font-weight: 800;
}

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

img {
  height: auto;
  display: block;
}

/* Layout Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #e60000 0%, #b80000 100%);
  color: #ffffff;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 0, 0, 0.4);
}

.btn-outline {
  display: inline-block;
  background: #ffffff;
  color: #3f4347;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-outline:hover {
  background-color: #f9fafb;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}
.container_header{
    max-width: var(--width_header);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Header & Navbar                                                    */
/* ------------------------------------------------------------------ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  background: #ffffff;
}

.logo-img {
  height: 170px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-transform: uppercase;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  min-width: 110px;
  z-index: 100;
}

.lang-switcher:hover .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.lang-dropdown a.active {
  color: var(--color-primary);
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Hero Section                                                       */
/* ------------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  position: relative;
  z-index: 4;
  background: #ffffff;
}
.hero-text{
    width: 110%;
}
.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  margin-top: 1.5rem;
  max-width: 480px;
  font-size: 1rem;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.hero-image img {
  width: 145%;
  margin-left: -30%;
}

/* ------------------------------------------------------------------ */
/* Stats Strip                                                        */
/* ------------------------------------------------------------------ */

.stats-strip {
  background-color: #f5f5f5;
  padding: 1.5rem 0;
  box-shadow: var(--section-shadow);
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* ------------------------------------------------------------------ */
/* Vos Enjeux Timeline Section                                        */
/* ------------------------------------------------------------------ */
.enjeux-section {
    padding: 10rem 7rem;
    background-color: #fcfcfc;
    background-image: url('/images/ban2.png'); /* Replace or retain background */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--section-shadow);
}

.enjeux-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 3.5rem;
    text-align: left;
}

/* Chain Flex Container */
.enjeux-chain-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
}

.enjeux-chain {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 900px;
}

/* Node Column Structure */
.enjeu-node-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
    flex-shrink: 0;
    position: relative;
}

/* Node Title Block (Always Above Circle) */
.node-title-container {
    height: 70px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    margin-bottom: 12px;
    padding: 0 5px;
}

.enjeu-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
}

.text-red {
    color: #d30616;
}

.text-dark {
    color: #2c3036;
}

/* Center Graphic & Badge Assembly */
.node-graphic-wrap {
    position: relative;
    width: 140px;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Top Pin Dot and Stem Line */
.pin-stem {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 3;
}

.pin-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.main .pin-dot {
    background-color: #d30616;
}

.sub .pin-dot {
    background-color: #1a1a1a;
}

.stem-line {
    width: 2px;
    height: 24px;
}

.main .stem-line {
    background-color: #d30616;
}

.sub .stem-line {
    background-color: #1a1a1a;
}

/* Circular Node Badge Frame */
.circle-frame {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arc-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Adjust alignment if needed */
}

.base-circle {
    fill: none;
    stroke: #eaeaea;
    stroke-width: 2;
}

.accent-arc {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
}

.arc-red {
    stroke: #d30616;
}

.arc-dark {
    stroke: #1a1a1a;
}

/* Icon placement */
.icon-inner {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.enjeu-icon-img {
    width: 150%;
    height: 150%;
    object-fit: contain;
}

/* Horizontal Inter-Node Connector Lines */
.horizontal-connector {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    margin-bottom: 63px; /* Align precisely with center of circular badges */
    min-width: 40px;
    position: relative;
}

.connector-line {
    flex: 1;
    height: 2px;
}

.connector-main .connector-line {
    background-color: #d30616;
}

.connector-sub .connector-line {
    background-color: #1a1a1a;
}

.connector-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.connector-main .connector-dot {
    background-color: #d30616;
}

.connector-sub .connector-dot {
    background-color: #1a1a1a;
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
    .enjeux-chain {
        flex-direction: column;
        min-width: unset;
        align-items: center;
    }

    .horizontal-connector {
        width: 2px;
        height: 40px;
        flex-direction: column;
        margin-bottom: 0;
        margin: 10px 0;
    }

    .connector-line {
        width: 2px;
        height: 100%;
    }
}

.red-banner {
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: var(--section-shadow);
}

.red-banner-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.red-banner-content {
    max-width: 700px;
    text-align: right;
    padding-right: 4rem;
}

.red-banner-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.btn-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: linear-gradient(180deg, #e60000 0%, #b80000 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 6px 18px rgba(230, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 0, 0, 0.45);
}

/* ------------------------------------------------------------------ */
/* Services Section                                                   */
/* ------------------------------------------------------------------ */
.services-section {
  position: relative;
  padding: 5rem 3.75rem;
  background-image: url('/images/ban4.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--section-shadow);
  z-index: 1;
}

.section-title {
  font-size: 2.25rem;
  color: #1a1a2e;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

/* Image wrapper: only top corners rounded, flush with body below */
.service-card-img {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: visible; /* was hidden — this was clipping the badge */
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0; /* round the image itself instead of the wrapper */
}

/* Number badge straddles the image/body boundary */
.service-number {
  position: absolute;
  bottom: -50px;
  right: 140px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;

  display: flex;
  justify-content: center;
  align-items: flex-start; /* Put content at the top */

  padding-top: 12px; /* Adjust as needed */

  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  clip-path: inset(0 0 50% 0); /* Show only the top half */
}

.service-card-body {
  position: relative;
  z-index: 9999;

  padding: 2.25rem 1.25rem 1.5rem;
}


.service-title {
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-section {
    padding: 3rem 1.25rem;
  }
}

/* ------------------------------------------------------------------ */
/* Livrables Section                                                  */
/* ------------------------------------------------------------------ */
.livrables-section {
  position: relative;
  background-image: url('/images/ban5.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1200 / 300; /* match ban5.png ratio so the circle stays aligned at any width */
  min-height: 320px;
  box-shadow: var(--section-shadow);
  z-index: 1;
}

.livrables-container {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Title sits on the plain red area, left side */
.livrables-title {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  max-width: 45%;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0;
  font-size: 2.5rem;
}

/* Content sits inside the white circle baked into ban5.png */
.livrables-content {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 32%;
}

.livrables-content h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
}

.livrables-content ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0;
}

.livrables-content li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Responsive: stack and shrink on small screens */
@media (max-width: 768px) {
  .livrables-section {
    aspect-ratio: auto;
    padding: 3rem 0;
    background-size: cover;
  }
  .livrables-title,
  .livrables-content {
    position: static;
    transform: none;
    max-width: 100%;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .livrables-content {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 1.5rem;
  }
}

/* ------------------------------------------------------------------ */
/* Process / How it works                                             */
/* ------------------------------------------------------------------ */
.process-section {
  background-image: url('/images/ban6.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  box-shadow: var(--section-shadow);
  position: relative;
  z-index: 1;
}

.process-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2b2b2b;
  margin-bottom: 3rem;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.process-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  height: 100%;
}

.process-number {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
}

.process-divider {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 0.6rem auto 1.1rem;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.process-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

/* Responsive: stack cards, arrows rotate to point down */
@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 0.25rem 0;
  }
}

/* ------------------------------------------------------------------ */
/* Pourquoi Direct Veille                                             */
/* ------------------------------------------------------------------ */
.why-section {
  padding: 5rem 0;
  background-image: url('/images/ban7.png');
  background-size: cover;
  background-position: center;
  box-shadow: var(--section-shadow);
  position: relative;
  z-index: 1;
}

.why-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.why-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 66%;
  margin: 0 auto;
}

.why-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  font-size: 0.875rem;
  min-height: 100px;
  display: flex;
  align-items: center;
}

/* ------------------------------------------------------------------ */
/* References Section                                                 */
/* ------------------------------------------------------------------ */
.references-section {
  padding: 4rem 0;
  box-shadow: var(--section-shadow);
  position: relative;
  z-index: 1;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 2rem;
  align-items: center;
}

.reference-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.ref-logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;}

.ref-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.ref-logo-gray {
  opacity: 1;
}

.ref-logo-color {
  opacity: 0;
}

.reference-item:hover .ref-logo-gray {
  opacity: 0;
}

.reference-item:hover .ref-logo-color {
  opacity: 1;
}

@media (max-width: 768px) {
  .references-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ------------------------------------------------------------------ */
/* Contact Section                                                    */
/* ------------------------------------------------------------------ */
.contact-section {
  position: relative;
  background-image: url('/images/banformulaire.png');
  padding: 6rem 0 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--section-shadow);
  z-index: 1;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 6rem;
}

/* ---------------- Left intro column ---------------- */
.contact-intro {
  padding-top: 1rem;
}

.contact-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.contact-title-dark {
  color: #1e2733;
}

.contact-title-red {
  color: var(--color-primary);
}

.contact-title-underline {
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.contact-intro p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 260px;
}

/* ---------------- Form card ---------------- */
.contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.contact-success {
  background: #e6fffa;
  color: #234e52;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.75rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e2733;
  margin-bottom: 0.5rem;
}

.required {
  color: var(--color-primary);
}

/* Icon + input wrapper */
.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  display: flex;
  pointer-events: none;
}

.input-icon-top {
  top: 1rem;
  transform: none;
}

.input-icon-right {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #1e2733;
  pointer-events: none;
}

.input-field {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  color: #1e2733;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.input-field::placeholder {
  color: #9ca3af;
}

.input-field:focus {
  outline: none;
  border-color: var(--color-primary);
}

.select-field {
  appearance: none;
  padding-left: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.textarea-field {
  resize: vertical;
  min-height: 90px;
  padding-left: 2.6rem;
}

.error-msg {
  color: var(--color-primary);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

/* ---------------- Submit button ---------------- */
.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.75rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: #b30f0f;
  transform: translateY(-1px);
}

.btn-primary svg {
  flex-shrink: 0;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .contact-intro p {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */
.footer {
  background-image: url('/images/banpieddepage.png');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 2.5rem 0 0 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
}

.footer-logo {
  height: 150px;
}

.footer-info p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    flex-direction: column;
}

.social-links img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero, .red-banner-container, .livrables-container, .contact-container {
    grid-template-columns: 1fr;
  }
  .services-grid, .why-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .enjeux-chain {
    grid-template-columns: 1fr;
  }
  .why-grid-2 {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .references-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid, .services-grid, .why-grid-4, .why-grid-2, .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

.header {
  z-index: 110;
}

.hero {
  z-index: 100;
}

.stats-strip {
  z-index: 90;
}

.enjeux-section {
  z-index: 80;
}

.red-banner {
  z-index: 70;
}

.services-section {
  z-index: 60;
}

.livrables-section {
  z-index: 50;
}

.process-section {
  z-index: 40;
}

.why-section {
  z-index: 30;
}

.references-section {
  z-index: 20;
}

.contact-section {
  z-index: 10;
}

.footer {
  position: relative;
  z-index: 15; /* higher than .contact-section so the TOP shadow shows over it */
}