/* ==========================================================================
   GROWTH STRATEGY - FEUILLE DE STYLE PRINCIPALE
   Direction Artistique : Premium, Moderne, Minimaliste & Centré Performance
   Palette :
     --primary: #E6EF0E (Accent Jaune/Vert)
     --secondary: #2C2E1D (Vert Sombre / Couleur Secondaire Officielle)
     --background: #F3F4F4
     --white: #FFFFFF
   Taille de police du texte : 17px
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ==========================================
   VARIABLES CSS
   ========================================== */
:root {
  --primary: #E6EF0E;
  --primary-hover: #d3dc08;
  --primary-light: rgba(230, 239, 14, 0.15);
  --primary-glow: rgba(230, 239, 14, 0.35);

  --secondary: #2C2E1D; /* Vraie couleur secondaire */
  --secondary-dark: #242617;
  --secondary-card: #2C2E1D;
  --secondary-border: rgba(230, 239, 14, 0.2);
  --footer-bg: #14170b; /* Vert très sombre conservé exclusivement pour le footer */

  --background: #F3F4F4;
  --background-alt: #EBECEB;
  --white: #FFFFFF;
  --text: #2C2E1D;
  --text-muted: #5e6154;
  --text-white-muted: #c8ccbe;

  --border-subtle: rgba(44, 46, 29, 0.1);
  --border-white: rgba(255, 255, 255, 0.12);

  --radius-button: 14px;
  --radius-card: 22px;
  --radius-section: 30px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 14px rgba(44, 46, 29, 0.05);
  --shadow-card: 0 12px 32px rgba(44, 46, 29, 0.07);
  --shadow-hover: 0 18px 40px rgba(44, 46, 29, 0.12);

  --font-main: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1240px;
  --transition-fast: 0.2s ease;
  --transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================
   RESET & BASE (TEXTE = 17px)
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px; /* Règle demandée : 17px */
  background-color: var(--background);
  color: var(--text);
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 17px;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-wrapper {
  padding: 56px 0;
}

/* ==========================================
   TYPOGRAPHIE
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.2;
  color: var(--secondary);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-dark {
  background-color: var(--secondary);
  color: var(--primary);
}

.badge-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.badge-outline {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.7);
  color: var(--secondary);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 17px;
  transition: var(--transition);
  position: relative;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 14px rgba(230, 239, 14, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 239, 14, 0.45);
}

.btn-dark {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #1f2113;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 1000;
  margin-bottom: 16px;
  padding: 0 24px;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(44, 46, 29, 0.08);
  border-radius: 20px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 28px rgba(44, 46, 29, 0.04);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 4px 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--background);
  color: var(--secondary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 10000;
  padding: 32px 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 46, 29, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
}

/* ==========================================
   SECTION 1: HERO SECTION
   ========================================== */
.hero-section {
  padding-top: 8px;
  padding-bottom: 48px;
}

.hero-card {
  background-color: var(--primary);
  border-radius: var(--radius-section);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(230, 239, 14, 0.25);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 560px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 46, 29, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-title {
  color: var(--secondary);
  font-size: 32px; /* 32px strict */
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-star {
  display: inline-block;
  color: var(--secondary);
  vertical-align: middle;
  transform: translateY(-2px);
  margin-left: 4px;
}

.hero-description {
  color: rgba(44, 46, 29, 0.88);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-btn-main {
  background: var(--secondary);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(44, 46, 29, 0.25);
}

.hero-btn-main:hover {
  transform: translateY(-3px);
  color: var(--primary);
}

.hero-link-sub {
  color: var(--secondary);
  font-weight: 700;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.hero-link-sub:hover {
  transform: translateY(2px);
}

.hero-arrow-curved {
  position: absolute;
  bottom: -40px;
  right: -50px;
  width: 140px;
  pointer-events: none;
  opacity: 0.9;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 500px;
  z-index: 2;
}

/* Un seul smartphone à écran blanc : affiché sur ordinateur et tablette, masqué sur mobile */
.hero-phone {
  display: block;
  width: 100%;
  max-width: 268px;
  height: auto;
  transform: rotate(3deg);
  filter: drop-shadow(0 24px 32px rgba(44, 46, 29, 0.28));
}

/* Éléments flottants autour du téléphone : bougent doucement de haut en bas, en continu */
.hero-float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.hf-inner {
  animation: hero-bob var(--dur, 4.5s) ease-in-out var(--delay, 0s) infinite alternate;
  will-change: transform;
}

@keyframes hero-bob {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px); }
}

.hf-chip {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(44, 46, 29, 0.22);
}

.hf-chip svg {
  width: 56%;
  height: 56%;
}

.hf-notif {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 208px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(44, 46, 29, 0.24);
}

.hf-notif-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-notif-ico svg {
  width: 20px;
  height: 20px;
}

.hf-green { background: #1fa463; color: #fff; }
.hf-dark  { background: var(--secondary); color: var(--primary); }

.hf-notif-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.hf-notif-txt strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary);
}

.hf-notif-txt small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5e6154;
  white-space: nowrap;
}

/* Positions (en % de la colonne du visuel) : les cartes évitent la barre de recherche et le texte des annonces */
.hf-n1 { top: 0;      left: 0; }
.hf-n2 { top: 56%;    right: 0; }
.hf-n3 { bottom: 4%;  right: 0; }
.hf-g1 { top: 5%;     right: 14%; }
.hf-g2 { top: 24%;    left: 4%; }
.hf-g3 { top: 50%;    left: 0; }
.hf-g4 { bottom: 9%;  left: 12%; }
.hf-g5 { top: 27%;    right: 0; }
.hf-g2 .hf-chip, .hf-g5 .hf-chip { width: 46px; height: 46px; }
.hf-g3 .hf-chip { width: 44px; height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .hf-inner { animation: none; }
}

/* ==========================================
   SECTION 2: SERVICES (Carrousel Responsive)
   ========================================== */
.services-section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
}

.services-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  transition: transform 0.4s ease;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 290px;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(44, 46, 29, 0.15);
}

.service-card-inner {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.service-main-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-top {
  margin-bottom: 24px;
}

.service-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  background: var(--primary);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--secondary);
  margin-top: 20px;
  transition: var(--transition-fast);
}

.service-link:hover {
  gap: 14px;
}

.service-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-graphic svg {
  width: 100px;
  height: 100px;
}

/* Service Card 02 Highlighted */
.service-card.card-featured {
  background: var(--secondary);
  border-color: var(--secondary-border);
}

.service-card.card-featured .service-title {
  color: var(--white);
}

.service-card.card-featured .service-desc {
  color: var(--text-white-muted);
}

.service-card.card-featured .service-link {
  color: var(--primary);
}

.services-carousel-nav {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* ==========================================
   SECTION 3: STRATÉGIE (Méthode)
   ========================================== */
.method-section {
  padding: 60px 0;
}

.method-card-container {
  background: var(--white);
  border-radius: var(--radius-section);
  padding: 56px 48px;
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  box-shadow: var(--shadow-sm);
}

.method-intro {
  display: flex;
  flex-direction: column;
}

.method-title {
  font-size: 30px; /* 30px strict */
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--secondary);
}

.method-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

.method-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(44, 46, 29, 0.06);
}

.method-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(230, 239, 14, 0.4);
}

.method-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--secondary);
}

.method-item-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.method-item-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.method-pill-btn {
  background: var(--background);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.method-item:hover .method-pill-btn {
  background: var(--secondary);
  color: var(--primary);
}

/* ==========================================
   SECTION 4: MES RÉSULTATS (Études de Cas - Fiches Réelles)
   ========================================== */
.cases-section {
  padding: 60px 0;
}

/* 4 cartes verticales : la carte active s'agrandit, les autres rétrécissent */
.cases-viewport {
  width: 100%;
}

.cases-panels {
  display: flex;
  gap: 16px;
  height: 580px;
}

.case-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--secondary);
  cursor: pointer;
  transition: flex-grow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-panel.is-active {
  flex-grow: 2.7;
}

.case-panel:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.case-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s ease;
}

.case-panel.is-active .case-panel-img {
  transform: scale(1.04);
}

.case-panel-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(20, 23, 11, 0.32) 0%, rgba(20, 23, 11, 0) 24%),
    linear-gradient(to top, rgba(20, 23, 11, 0.82) 0%, rgba(20, 23, 11, 0.4) 40%, rgba(20, 23, 11, 0) 66%);
}

.case-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.case-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: opacity 0.3s ease;
}

.case-panel:not(.is-active) .case-tags {
  display: none;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(20, 23, 11, 0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.case-tag i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.case-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.case-panel.is-active .case-arrow {
  background: var(--primary);
}

.case-panel-bottom {
  display: flex;
  flex-direction: column;
}

.case-panel-title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  transition: font-size 0.5s ease;
}

.case-panel.is-active .case-panel-title {
  font-size: 2.1rem;
}

.case-panel-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.case-panel.is-active .case-panel-desc {
  max-height: 110px;
  opacity: 1;
  margin-bottom: 16px;
}

.case-panel-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
  transition: background 0.25s ease, color 0.25s ease, font-size 0.4s ease;
}

.case-panel.is-active .case-panel-btn {
  font-size: 0.95rem;
}

.case-panel-btn svg {
  flex-shrink: 0;
}

.case-panel:not(.is-active) .case-panel-btn {
  justify-content: center;
  padding: 13px 10px;
  text-align: center;
}

.case-panel:not(.is-active) .case-panel-btn svg {
  display: none;
}

.case-panel-btn:hover {
  background: var(--primary);
}

/* Badge « budget » superposé à la couverture du popup */
.case-budget-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-budget-tag span.badge-inner {
  background: var(--secondary);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
}

/* Éléments partagés avec le popup (pastilles, listes) */
.case-title-capsule {
  background: var(--secondary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  display: inline-block;
  align-self: flex-start;
}

.case-objective {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.case-objective span.obj-label {
  font-weight: 800;
}

.case-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: auto;
  border-top: 1px solid rgba(44, 46, 29, 0.08);
  padding-top: 18px;
}

.case-col h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--secondary);
  line-height: 1.45;
}

.case-check-icon-yellow,
.case-check-icon-dark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.case-check-icon-yellow {
  background: var(--primary);
  color: var(--secondary);
}

.case-check-icon-dark {
  background: var(--secondary);
  color: var(--white);
}

/* Popup d'une étude de cas */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.case-modal[hidden] {
  display: none;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 11, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: modal-fade 0.25s ease;
}

.case-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: modal-rise 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--secondary);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.case-modal-close:hover {
  background: var(--primary);
}

.case-modal-media {
  position: relative;
  aspect-ratio: 2.6 / 1;
  background: var(--secondary);
  overflow: hidden;
}

.case-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-modal-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
}

.case-modal-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.case-modal-cta {
  align-self: flex-start;
  margin-top: 26px;
}

body.modal-open {
  overflow: hidden;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.cases-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.cases-nav-controls.cases-mobile-controls {
  display: none;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(44, 46, 29, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--secondary);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================
   SECTION 5: NOS PARTENAIRES
   ========================================== */
.partners-section {
  padding: 48px 0;
}

.partners-container {
  background: var(--white);
  border-radius: var(--radius-section);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.partners-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.partners-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
}

/* Bande défilante : une seule ligne, de droite à gauche, vitesse modérée */
.partners-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.partners-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
}

.partners-track.is-animated {
  animation: partners-scroll var(--marquee-duration, 30s) linear infinite;
}

.partners-marquee:hover .partners-track.is-animated {
  animation-play-state: paused;
}

.partners-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--marquee-shift, -50%)); }
}

.partner-logo-pill {
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--background);
  border-radius: 16px;
  padding: 12px 28px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(44, 46, 29, 0.08);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--secondary);
  transition: var(--transition-fast);
}

.partner-logo-pill:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(44, 46, 29, 0.08);
}

.partner-wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--secondary);
}

.partner-dot {
  color: var(--primary);
}

.partner-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: contrast(1.2);
}

/* Logos ronds ou avec pictogramme : un peu plus hauts pour rester lisibles */
.partner-logo-img--lg {
  height: 38px;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .partners-track.is-animated {
    animation: none;
  }
}

/* ==========================================
   SECTION 10: À PROPOS (Photo HD + WhatsApp)
   ========================================== */
.about-section {
  padding: 60px 0;
}

.about-card-exact {
  background-color: var(--secondary);
  border-radius: var(--radius-section);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  color: var(--white);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.about-content-exact {
  display: flex;
  flex-direction: column;
}

.about-title-exact {
  color: var(--primary);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.about-text-exact {
  color: var(--white);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-text-exact p {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 18px;
}

.about-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 17px;
  transition: var(--transition);
  align-self: flex-start;
  box-shadow: 0 6px 20px rgba(230, 239, 14, 0.3);
}

.about-whatsapp-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 239, 14, 0.45);
}

.about-whatsapp-btn .btn-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.about-visual-exact {
  display: flex;
  justify-content: center;
}

.about-img-frame-exact {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 460px;
}

.about-img-frame-exact img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   SECTION 11: TÉMOIGNAGES (6 Avis en Carrousel)
   ========================================== */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonial-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.rating-stars {
  color: var(--secondary);
  background: var(--primary);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
}

.testimonials-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease-in-out;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  border: 1px solid var(--border-subtle);
  flex: 0 0 calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-stars-row {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: #ffc107;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 17px;
  line-height: 1.7;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(44, 46, 29, 0.08);
  padding-top: 18px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  background: var(--background);
}

.testimonial-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--secondary);
}

.author-role {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================
   SECTION 12: CONTACT (Sans Numéro ❌)
   ========================================== */
.contact-section {
  padding: 60px 0;
}

.contact-card {
  background: var(--secondary);
  border-radius: var(--radius-section);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.contact-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-badge {
  align-self: flex-start;
  margin-bottom: 20px;
}

.contact-title {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.contact-desc {
  color: var(--text-white-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-reassurance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

.reassurance-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(230, 239, 14, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.contact-direct-links {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direct-link-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 17px;
}

/* Formulaire sans débordement */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--secondary);
}

.form-input, .form-select, .form-textarea {
  background: var(--background);
  border: 1px solid rgba(44, 46, 29, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 17px;
  color: var(--secondary);
  transition: var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(230, 239, 14, 0.4);
}

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

.form-submit-btn {
  background: var(--primary);
  color: var(--secondary);
  padding: 16px;
  border-radius: var(--radius-button);
  font-weight: 800;
  font-size: 17px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(230, 239, 14, 0.35);
  margin-top: 8px;
  width: 100%;
}

.form-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==========================================
   SECTION 13: FAQ (15 Questions Complètes)
   ========================================== */
.faq-section {
  padding: 60px 0;
}

.faq-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(44, 46, 29, 0.2);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--secondary);
  cursor: pointer;
  background: transparent;
}

.faq-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--background);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.faq-item.open .faq-icon-toggle {
  background: var(--primary);
  color: var(--secondary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ==========================================
   SECTION 14: FOOTER (Vert Sombre, sans mentions ❌)
   ========================================== */
.site-footer {
  padding: 32px 24px 48px 24px;
}

.footer-card-exact {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--footer-bg); /* Vert très sombre */
  border-radius: var(--radius-section);
  padding: 60px 48px 40px 48px;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.footer-main-grid-exact {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-exact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-title-exact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
}

.footer-logo-dot-exact {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

.footer-desc-exact {
  color: #a2a698;
  font-size: 17px;
  line-height: 1.65;
  max-width: 360px;
}

.footer-col-title-exact {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer-links-list-exact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-exact {
  color: #8c9082;
  font-size: 17px;
  transition: var(--transition-fast);
}

.footer-link-exact:hover {
  color: var(--primary);
  padding-left: 3px;
}

.footer-newsletter-exact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-input-pill-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
}

.footer-input-pill-container:focus-within {
  border-color: var(--primary);
}

.footer-email-field {
  background: transparent;
  color: var(--white);
  width: 100%;
  font-size: 17px;
  outline: none;
}

.footer-email-field::placeholder {
  color: #717567;
}

.footer-arrow-submit-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-arrow-submit-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Réseaux sociaux : Uniquement LinkedIn & Facebook */
.footer-social-icons-exact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-icon-btn {
  color: var(--white);
  opacity: 0.85;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icon-btn:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-social-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-bottom-bar-exact {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6d7162;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLETTE puis MOBILE)
   ========================================== */

/* ---------- TABLETTE (et petits écrans d'ordinateur) ---------- */
@media (max-width: 1080px) {
  /* NAVIGATION : le menu à tiroir remplace la barre de liens dès la tablette (évite le défilement horizontal) */
  .nav-links, .nav-cta .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* HERO : le texte reste à gauche, le téléphone reste à droite */
  .hero-card {
    grid-template-columns: 1.2fr 1fr;
    padding: 44px 32px;
    gap: 24px;
    min-height: 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-phone {
    max-width: 200px;
  }

  .hf-notif {
    width: 164px;
    gap: 8px;
    padding: 8px 10px 8px 8px;
    border-radius: 14px;
  }

  .hf-notif-ico { width: 28px; height: 28px; border-radius: 9px; }
  .hf-notif-ico svg { width: 16px; height: 16px; }
  .hf-notif-txt strong { font-size: 0.72rem; }
  .hf-notif-txt small { font-size: 0.64rem; }
  .hf-chip { width: 42px; height: 42px; }
  .hf-g2 .hf-chip, .hf-g5 .hf-chip, .hf-g3 .hf-chip { width: 38px; height: 38px; }
  .hf-n3, .hf-g3, .hf-g4 { display: none; }
  .hf-notif { width: 176px; }
  .hf-notif-txt strong { white-space: nowrap; }
  .hf-n2 { top: 71%; }

  .hero-arrow-curved {
    display: none;
  }

  /* À PROPOS : l'image reste à droite */
  .about-card-exact {
    grid-template-columns: 1.2fr 1fr;
    padding: 44px 32px;
    gap: 32px;
  }

  .about-title-exact {
    font-size: 32px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 44px 32px;
  }

  .footer-main-grid-exact {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services en carrousel */
  .services-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .service-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
  }

  .services-carousel-nav {
    display: flex;
  }

  /* Études de cas : mêmes cartes, plus compactes */
  .cases-panels {
    height: 520px;
    gap: 12px;
  }

  .case-panel {
    padding: 14px;
  }

  .case-panel.is-active {
    flex-grow: 2.3;
  }

  .case-panel-title {
    font-size: 1.05rem;
  }

  .case-panel.is-active .case-panel-title {
    font-size: 1.7rem;
  }

  .case-arrow {
    width: 40px;
    height: 40px;
  }

  .case-panel-btn {
    padding: 12px 12px;
    font-size: 0.72rem;
  }

  .case-panel.is-active .case-panel-btn {
    font-size: 0.88rem;
  }

  /* Témoignages en carrousel */
  .testimonials-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* HERO : le bloc visuel (téléphone) est supprimé sur mobile */
  .hero-card {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    border-radius: 24px;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 26px;
  }

  /* SERVICES : illustration en arrière-plan à 50 % d'opacité, le texte prend toute la place */
  .service-card {
    flex: 0 0 86vw;
    padding: 28px 24px;
    min-height: 270px;
  }

  .service-card-inner {
    display: block;
  }

  .service-graphic {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 190px;
    height: 190px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
  }

  .service-graphic svg {
    width: 100%;
    height: 100%;
  }

  .service-main-content {
    position: relative;
    z-index: 1;
  }

  /* STRATÉGIE : le bloc texte en haut, les 5 étapes en bas (jamais côte à côte) */
  .method-card-container {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 32px;
  }

  .method-title {
    font-size: 24px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  /* ÉTUDES DE CAS : carrousel, une étude à la fois */
  .cases-viewport {
    overflow: hidden;
    border-radius: 28px;
    touch-action: pan-y;
  }

  .cases-panels {
    height: auto;
    gap: 12px;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .case-panel,
  .case-panel.is-active {
    flex: 0 0 100%;
    height: 540px;
    padding: 18px;
    transition: none;
  }

  .case-panel .case-tags,
  .case-panel:not(.is-active) .case-tags {
    opacity: 1;
    pointer-events: auto;
  }

  .case-panel .case-arrow {
    background: var(--primary);
  }

  .case-panel .case-panel-title,
  .case-panel.is-active .case-panel-title {
    font-size: 1.9rem;
  }

  .case-panel .case-panel-desc {
    max-height: 120px;
    opacity: 1;
    margin-bottom: 16px;
  }

  .case-panel .case-panel-btn {
    font-size: 0.95rem;
    padding: 14px 18px;
    justify-content: space-between;
    text-align: left;
  }

  .case-panel .case-panel-btn svg {
    display: block;
  }

  .case-panel .case-panel-img {
    transform: none;
  }

  .cases-nav-controls.cases-mobile-controls {
    display: flex;
  }

  .case-columns-grid {
    grid-template-columns: 1fr;
  }

  .case-modal {
    padding: 12px;
  }

  .case-modal-media {
    aspect-ratio: 16 / 10;
  }

  .case-modal-body {
    padding: 22px 20px 26px;
  }

  .case-modal-title {
    font-size: 1.4rem;
  }

  .case-modal-cta {
    align-self: stretch;
    justify-content: center;
  }

  /* À PROPOS : l'image passe en haut */
  .about-card-exact {
    grid-template-columns: 1fr;
    padding: 36px 20px;
    border-radius: 24px;
    gap: 28px;
  }

  .about-visual-exact {
    order: -1;
  }

  /* Photo de profil un peu plus grande sur mobile : elle déborde légèrement du padding de la carte */
  .about-img-frame-exact {
    max-width: none;
    width: calc(100% + 24px);
    margin: 0 -12px;
  }

  .about-img-frame-exact img {
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
    object-position: 50% 18%;
  }

  .about-title-exact {
    font-size: 30px;
  }

  .contact-card, .footer-card-exact, .partners-container {
    padding: 36px 20px;
    border-radius: 24px;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main-grid-exact {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   FORMULAIRES : erreurs, consentement, anti-spam
   ========================================== */
.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #d93025;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.15);
}

/* Champ piège anti-spam : sorti de l'écran (jamais display:none, certains robots l'ignorent alors) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--secondary);
}

.form-consent a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
}

.form-feedback {
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-feedback.is-error {
  background: #fdecea;
  color: #8c1d18;
  border: 1px solid #f5c2be;
}

.footer-newsletter-note {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-white-muted);
}

.footer-newsletter-note a {
  color: var(--primary);
  text-decoration: underline;
}

.footer-newsletter-feedback {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-newsletter-feedback.is-success { color: var(--primary); }
.footer-newsletter-feedback.is-error { color: #ffb4ab; }

/* ==========================================
   MOBILE COMPACT : marges réduites + formulaire qui s'adapte à TOUS les écrans
   (ce bloc est le dernier du fichier : il l'emporte sur les règles précédentes)
   ========================================== */

/* 1) Cause du formulaire coupé : une colonne « 1fr » ne peut pas devenir plus étroite que son contenu
      (le menu déroulant « Type de projet »). « minmax(0, 1fr) » + « min-width: 0 » l'autorisent à rétrécir. */
.contact-card > *,
.hero-card > *,
.about-card-exact > *,
.method-card-container > *,
.footer-main-grid-exact > * {
  min-width: 0;
}

.form-row > *,
.form-group {
  min-width: 0;
}

.form-input,
.form-select,
.form-textarea {
  max-width: 100%;
  min-width: 0;
}

/* Les liens longs (e-mail) passent à la ligne au lieu d'être coupés */
.contact-card a,
.contact-card span,
.footer-card-exact a {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 2) Marges entre le contenu et le bord de l'écran, réduites sur mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* En-tête et pied de page ont leurs propres marges : alignées sur celles du reste du site */
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-card,
  .method-card-container,
  .about-card-exact {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row,
  .footer-main-grid-exact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card,
  .about-card-exact,
  .method-card-container,
  .contact-card,
  .footer-card-exact,
  .partners-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-form-wrapper {
    padding: 22px 14px;
  }
}

@media (max-width: 480px) {
  .container,
  .site-header,
  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-card,
  .about-card-exact,
  .method-card-container,
  .contact-card,
  .footer-card-exact,
  .partners-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-form-wrapper {
    padding: 20px 12px;
  }

  /* 16 px minimum : évite que le téléphone zoome automatiquement dans les champs */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
}

@media (max-width: 360px) {
  .container,
  .site-header,
  .site-footer {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-title {
    font-size: 24px;
  }
}
