/* ============================================
   VHF Solution Swiss – Styles
   Palette : accent #0e5a12 ; texte #111827 ; muted #4b5563 ; border #e5e7eb ; fond #f6faf7
   ============================================ */

:root {
  --color-accent: #0e5a12;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-border: #e5e7eb;
  --color-bg-alt: #f6faf7;
  --color-bg-green: #e8f4e9;
  --color-card: #fff;
  --max-width: 1200px;
  --radius: 16px;
  --shadow: 0 2px 8px rgba(14, 90, 18, 0.06);
  --shadow-hover: 0 4px 16px rgba(14, 90, 18, 0.1);
  --transition: 0.2s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-card);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 0; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
  z-index: 100;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
}
.logo:hover { text-decoration: none; color: var(--color-accent); }
.logo img {
  display: block;
  height: 4.25rem;
  width: auto;
  object-fit: contain;
}
.logo:hover img { opacity: 0.9; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-list a {
  color: var(--color-text);
  font-weight: 500;
}
.nav-list a:hover { color: var(--color-accent); }
.nav-item-has-submenu {
  position: relative;
}
.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  display: none;
  z-index: 60;
}
.nav-submenu a {
  display: block;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}
.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
  display: block;
}
.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 8px;
}
.nav-cta:hover { text-decoration: none; background: #0a4710; color: #fff !important; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--color-border); }
  .nav-list li:last-child { border-bottom: none; }
  .nav-list a { display: block; padding: 0.75rem 0; }
  .nav-item-has-submenu .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.6rem 0.85rem;
  }
  .nav-item-has-submenu:hover .nav-submenu,
  .nav-item-has-submenu:focus-within .nav-submenu {
    display: block;
  }
  .nav-item-has-submenu .nav-submenu li {
    border-bottom: 0;
  }
  .nav-item-has-submenu .nav-submenu a {
    padding: 0.45rem 0;
    font-size: 0.95rem;
  }
}

/* ========== Hero ========== */
.hero,
main .hero {
  position: relative;
  width: 100%;
  min-height: 40vh;
  /* background-image défini en inline dans index.html pour résolution correcte du chemin */
  background-size: cover;
  background-position: 50% 35%;
  background-attachment: scroll;
  display: flex;
  align-items: flex-start;
  filter: saturate(1.05) contrast(1.05);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 3rem 4rem;
  text-align: left;
  color: #fff;
}
.hero-content {
  max-width: 960px;
  padding: 0;
}
.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.15;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  white-space: normal;
}
.hero h1 .hero-h1-accent {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: #fff;
  opacity: 0.95;
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero-positioning {
  margin: -0.85rem 0 1.4rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero-proof {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}
.hero .btn-primary {
  background: #0e5a12;
  color: #fff;
  padding: 14px 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.hero .btn-primary:hover {
  background: #0b4a0f;
  text-decoration: none;
  color: #fff;
}
.hero .btn-secondary {
  background: #0e5a12;
  color: #fff;
  border: 1px solid #0e5a12;
}
.hero .btn-secondary:hover {
  background: #0b4a0f;
  border-color: #0b4a0f;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 768px) {
  .hero {
    background-position: 50% 35%;
  }
  .hero-inner {
    padding: 3rem 1.5rem 4rem;
  }
  .hero-content {
    max-width: 92%;
    padding: 0;
    text-align: left;
  }
  .hero-inner {
    padding: 1.5rem 1.5rem 3rem;
  }
  .hero h1 {
    text-align: left;
    font-size: clamp(1.25rem, 4vw, 2.25rem);
    margin-bottom: 1.25rem;
  }
  .hero-lead {
    text-align: left;
  }
  .hero-positioning {
    margin-top: -0.6rem;
  }
  .hero-proof {
    margin-top: 0.7rem;
  }
  .hero-ctas {
    justify-content: flex-start;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: #0a4710; text-decoration: none; color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover { background: var(--color-bg-alt); text-decoration: none; color: var(--color-accent); }
.btn-services-all {
  background: #0e5a12;
  color: #fff;
  font-size: 1.2rem;
  padding: 1rem 2.25rem;
  box-shadow: 0 4px 14px rgba(14, 90, 18, 0.35);
}
.btn-services-all:hover { background: #0b4a0f; text-decoration: none; color: #fff; box-shadow: 0 6px 20px rgba(14, 90, 18, 0.4); }

/* ========== Sections communes ========== */
.section {
  padding: 4rem 1.5rem;
}
/* Alternance vert / blanc entre les sections */
.section-services { background: var(--color-card); }
.section-about { background: #fff; }
.section-posture { background: var(--color-bg-green); }
.section-devweb { background: var(--color-bg-green); }
.section-accompagnement { background: var(--color-card); }
.section-tallentis { background: #f2eeff; }
.section-contact { background: var(--color-card); }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
/* Page Audit : contenu plus large pour moins de sensation de serré */
.page-audit .section-inner {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.page-msp .section-inner,
.page-devweb .section-inner,
.page-accompagnement .section-inner,
.page-suivi-operationnel .section-inner,
.theme-projetos .section-inner,
.theme-infra .section-inner,
.theme-m365 .section-inner,
.theme-cyber .section-inner,
.theme-redes .section-inner,
.theme-suporte .section-inner {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
main h1 {
  text-align: center;
}
main .hero h1 {
  text-align: left;
}
.section h2,
.section-inner h2,
main h2,
.section-services-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

/* ========== Carrousel Services (pleine largeur : ovale gauche + contenu droite) ========== */
.section-services {
  background: #fff;
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  overflow: visible;
}
.section-services .section-inner {
  padding: 0 1.5rem;
}
/* Pulsation légère du titre "Nos services en Suisse romande" */
@keyframes title-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.section-services-title {
  margin: 0 0 1.5rem;
  text-align: center;
  animation: title-pulse 4s ease-in-out infinite;
}
.section-services-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2cm 1.5rem 1rem;
}
.section-services-cta .btn { display: inline-block; }
.carousel-hero {
  position: relative;
  z-index: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  min-height: 380px;
  width: 100%;
}
/* 1/3 image – 2/3 texte */
.carousel-visual {
  flex: 0 0 100%;
  position: relative;
  min-height: 280px;
  background: var(--color-card);
}
.carousel-oval {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-border);
  /* Forme demi-ovale : centre de l’ellipse à droite, courbe à gauche */
  border-radius: 0 50% 50% 0;
}
.carousel-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.9) contrast(0.94);
  border-radius: 0 18px 18px 0;
}
.carousel-oval img[src=""],
.carousel-oval img:not([src]) {
  display: none;
}
.carousel-content {
  flex: 0 0 100%;
  min-width: 280px;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem 3rem;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 42em;
  text-align: left;
}
.carousel-content-title {
  margin: 0 0 1rem;
  font-size: clamp(1.08rem, 2.05vw, 1.32rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.35em;
}
.carousel-content-description {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: left;
  /* Réserve la même hauteur pour éviter le décalage des sous-titres/points */
  min-height: 4.8rem;
}
.carousel-content-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.carousel-content-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.carousel-content-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.carousel-content .btn { align-self: flex-start; }
#carousel-cta {
  font-size: 0.9rem;
  padding: 0.55rem 1.05rem;
  background: #0e5a12;
  color: #fff;
  border-radius: 10px;
}
#carousel-cta:hover {
  background: #0a4710;
  color: #fff;
  text-decoration: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-accent);
  background: var(--color-card);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition), color var(--transition);
  box-shadow: var(--shadow);
}
.carousel-btn:hover {
  background: var(--color-accent);
  color: #fff;
}
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

@media (min-width: 768px) {
  .carousel-hero { flex-wrap: nowrap; min-height: 420px; gap: 2.7rem; }
  /* Zone image plus large (longueur), texte à droite */
  .carousel-visual {
    flex: 0 0 29%;
    width: 29%;
    max-width: 29%;
    min-height: 420px;
  }
  .carousel-content {
    flex: 1 1 71%;
    min-width: 0;
    margin-left: 0;
    margin-right: auto;
    padding: 1.6rem 1.35rem 1.8rem 0.9rem;
    max-width: 58em;
  }
  .carousel-prev { left: 1.5rem; }
  .carousel-next { right: 1.5rem; }
}

/* Section services (accueil CH) : image rectangle coins arrondis, flèches proches du bloc, alignement comme PT */
.section-services .carousel-hero {
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section-services .carousel-visual {
  margin-left: 2rem;
}
.section-services .carousel-oval {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.section-services .carousel-oval img {
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}
.section-services .carousel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.section-services .carousel-btn {
  top: 50%;
  transform: translateY(-50%);
}
.section-services .carousel-prev {
  left: -28px;
  right: auto;
}
.section-services .carousel-next {
  right: -28px;
  left: auto;
}
@media (max-width: 767px) {
  .section-services {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .section-services .carousel-visual {
    margin-left: 0;
  }
  .section-services .carousel-prev {
    left: 0.5rem;
  }
  .section-services .carousel-next {
    right: 0.5rem;
  }
}

/* ========== About (page d'accueil : 2 colonnes, fond blanc, carte) ========== */
.about-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.about-col-text {
  max-width: 520px;
}
.about-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e3a5f;
}
.section-about .about-col-text h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}
.about-lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}
.about-lead:last-of-type {
  margin-bottom: 0;
}
.about-cta {
  margin-top: 1.5rem;
  text-align: center;
}
.about-card {
  background: #fefce8;
  border: 1px solid #fef9c3;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 28px -4px rgba(0, 0, 0, 0.08);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.about-card-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-card-points li {
  padding: 0.625rem 0 0.625rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1f2937;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}
.about-card-points li:last-child {
  border-bottom: none;
}
.about-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.25rem;
  }
  .about-col-text {
    max-width: none;
  }
  .about-card {
    margin-top: 0.5rem;
  }
}

/* About (autres pages : intro + liste simple) ========== */
.about-intro {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  max-width: 65ch;
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.services-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}
.services-list li:last-child { border-bottom: none; }
.services-list a {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Page "Tous nos services" – grille de cartes */
.section-services-page {
  background: #fff;
}
.section-services-page h1 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--color-text);
}
.section-services-page .about-intro {
  margin-bottom: 2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .services-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
/* Animation fondant : les cartes apparaissent une par une avec 0,5 s de délai */
.services-page-grid .services-page-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s ease-out, transform 0.38s ease-out, box-shadow var(--transition), z-index 0s;
}
.services-page-grid.services-page-in-view .services-page-card {
  opacity: 1;
  transform: translateY(0);
}
.services-page-grid.services-page-in-view .services-page-card:nth-child(1) { transition-delay: 0s; }
.services-page-grid.services-page-in-view .services-page-card:nth-child(2) { transition-delay: 0.2s; }
.services-page-grid.services-page-in-view .services-page-card:nth-child(3) { transition-delay: 0.4s; }
.services-page-grid.services-page-in-view .services-page-card:nth-child(4) { transition-delay: 0.6s; }
.services-page-grid.services-page-in-view .services-page-card:nth-child(5) { transition-delay: 0.8s; }
.services-page-grid.services-page-in-view .services-page-card:nth-child(6) { transition-delay: 1s; }
@media (prefers-reduced-motion: reduce) {
  .services-page-grid .services-page-card {
    opacity: 1;
    transform: none;
    transition: box-shadow var(--transition), transform var(--transition), z-index 0s;
  }
}
.services-page-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top-width: 4px;
  border-top-style: solid;
  border-top-color: #334155;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition), z-index 0s;
}
.services-page-card:nth-child(1) { background: #eef2f7; border-top-color: #1f2937; } /* Audit */
.services-page-card:nth-child(2) { background: #f6f2eb; border-top-color: #8b7355; } /* LPD */
.services-page-card:nth-child(3) { background: #f1f5f9; border-top-color: #334155; } /* Externalisation proactive */
.services-page-card:nth-child(4) { background: #eef4ff; border-top-color: #1d4ed8; } /* Developpement Web */
.services-page-card:nth-child(5) { background: #f2f8f3; border-top-color: #0e5a12; } /* Accompagnement */
.services-page-card:nth-child(6) { background: #f1f5f9; border-top-color: #475569; } /* Continuite operationnelle */
.services-page-card:hover {
  z-index: 2;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
  transform: translateY(-4px);
}
.services-page-card:nth-child(1):hover { border-color: #1f2937; }
.services-page-card:nth-child(2):hover { border-color: #8b7355; }
.services-page-card:nth-child(3):hover { border-color: #334155; }
.services-page-card:nth-child(4):hover { border-color: #1d4ed8; }
.services-page-card:nth-child(5):hover { border-color: #0e5a12; }
.services-page-card:nth-child(6):hover { border-color: #475569; }
.services-page-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.services-page-card-text {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  flex-grow: 1;
}
.services-page-card-points {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
}
.services-page-card-points li {
  margin-bottom: 0.35rem;
}
.services-page-card-points li:last-child {
  margin-bottom: 0;
}
.services-page-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ========== Pages service détaillées (ex. Audit) ========== */
.service-hero {
  padding: 3rem 0 3.5rem;
  background: #fff;
}
.service-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  text-align: center;
}
.service-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.4;
}
.service-hero-text {
  margin: 0 0 1.75rem;
  max-width: 65ch;
  line-height: 1.6;
  color: var(--color-text);
}
.page-lpd .service-hero .section-inner,
.page-msp .service-hero .section-inner,
.theme-projetos .service-hero .section-inner,
.theme-infra .service-hero .section-inner,
.theme-m365 .service-hero .section-inner,
.theme-cyber .service-hero .section-inner,
.theme-redes .service-hero .section-inner,
.theme-suporte .service-hero .section-inner {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.page-lpd .service-hero-text,
.page-audit .service-hero-text,
.page-msp .service-hero-text,
.page-devweb .service-hero-text,
.page-accompagnement .service-hero-text,
.page-suivi-operationnel .service-hero-text,
.theme-projetos .service-hero-text,
.theme-infra .service-hero-text,
.theme-m365 .service-hero-text,
.theme-cyber .service-hero-text,
.theme-redes .service-hero-text,
.theme-suporte .service-hero-text {
  max-width: 152ch;
  margin-left: auto;
  margin-right: auto;
}
.page-msp .service-hero .section-inner .service-hero-text,
.page-devweb .service-hero .section-inner .service-hero-text,
.page-accompagnement .service-hero .section-inner .service-hero-text,
.page-suivi-operationnel .service-hero .section-inner .service-hero-text {
  max-width: 152ch;
  margin-left: 0;
  margin-right: auto;
}
.service-hero-text-second {
  display: block;
  margin-top: 0.75rem;
}
.service-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.service-cta-secondary {
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
}

/* Hero Notre approche : fond clair, contenu centré */
.page-approche .service-hero.approche-hero {
  background: #f6f8fb;
  padding-top: 80px;
  padding-bottom: 60px;
}
.page-approche .service-hero.approche-hero .section-inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-approche .approche-hero-label {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0e5a12;
  font-weight: 600;
  margin: 0 0 10px;
}

/* Page Notre approche : section 1 (principes) fond blanc, tuiles avec contour couleur hero (#f6f8fb) */
.page-approche .service-why {
  background: #fff;
}
.page-approche .service-why .service-card {
  border: 1px solid #dce2eb;
  border-radius: var(--radius);
  background: #fff;
}
/* Section 2 blanche, section 3 fond couleur */
.page-approche .service-method {
  background: #f6f8fb;
}
.page-approche .service-deliverables {
  background: #fff;
}

.service-section-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  text-align: center;
}

.service-why {
  background: #e3e8f0;
  padding: 3.5rem 0;
}
.service-why-lead {
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--color-text);
  font-size: 1rem;
  text-align: center;
}
.service-perimeter-intro {
  max-width: 65ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: var(--color-text);
  font-size: 1rem;
  text-align: center;
}
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
/* Animation d'entrée depuis la gauche pour les tuiles "Pourquoi choisir notre audit" */
.service-why .service-card {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.service-why.service-why-in-view .service-card {
  opacity: 1;
  transform: translateX(0);
}
.service-why.service-why-in-view .service-card:nth-child(1) { transition-delay: 0.05s; }
.service-why.service-why-in-view .service-card:nth-child(2) { transition-delay: 0.15s; }
.service-why.service-why-in-view .service-card:nth-child(3) { transition-delay: 0.25s; }
.service-why.service-why-in-view .service-card:nth-child(4) { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .service-why .service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Même animation (entrée depuis la gauche) pour « Périmètre couvert » (page LPD) */
.service-perimeter .service-card {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.service-perimeter.service-perimeter-in-view .service-card {
  opacity: 1;
  transform: translateX(0);
}
.service-perimeter.service-perimeter-in-view .service-card:nth-child(1) { transition-delay: 0.05s; }
.service-perimeter.service-perimeter-in-view .service-card:nth-child(2) { transition-delay: 0.15s; }
.service-perimeter.service-perimeter-in-view .service-card:nth-child(3) { transition-delay: 0.25s; }
.service-perimeter.service-perimeter-in-view .service-card:nth-child(4) { transition-delay: 0.35s; }
.service-perimeter.service-perimeter-in-view .service-card:nth-child(5) { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .service-perimeter .service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.service-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.service-method {
  padding: 3.5rem 0;
}
.service-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .service-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .service-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.service-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 50%;
}
.service-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.service-step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Page Audit : fonds très légers pour les 4 tuiles Notre méthode (ni vert ni violet) */
.service-method-tinted .service-step:nth-child(1) { background: #f7f5f1; }
.service-method-tinted .service-step:nth-child(2) { background: #f2f4f6; }
.service-method-tinted .service-step:nth-child(3) { background: #f5f3ef; }
.service-method-tinted .service-step:nth-child(4) { background: #f0f2f4; }

.service-see-also {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.service-deliverables .service-see-also {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}
.service-see-also-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}
.service-see-also ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-see-also li {
  margin-bottom: 0.35rem;
}
.service-see-also a {
  font-size: 0.9375rem;
}

/* Section Périmètre couvert (page LPD) – même teinte que Pourquoi choisir */
.service-perimeter {
  background: #e3e8f0;
  padding: 3.5rem 0;
}

/* Section Ce que vous obtenez (page LPD) */
.service-deliverables {
  padding: 3.5rem 0;
}
/* Bloc centré « Ce que vous obtenez » avec fond distinct */
.service-deliverables-block {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: #f0f2f5;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.service-deliverables-block.deliverables-in-view {
  opacity: 1;
  transform: translateY(0);
}
.service-deliverables-block-spaced.deliverables-in-view {
  transition-delay: 0.15s;
}
.page-lpd .service-deliverables-block {
  background: #faf6f2;
}
@media (prefers-reduced-motion: reduce) {
  .service-deliverables-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service-deliverables-block-spaced.deliverables-in-view {
    transition-delay: 0;
  }
}
.service-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.service-deliverables-list li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  opacity: 0;
  transition: opacity 0.45s ease-out;
}
/* V (coche) verte à côté de chaque point */
.service-deliverables-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  border-radius: 50%;
  line-height: 1;
}
/* Apparition en fondu au scroll */
.service-deliverables-block.deliverables-in-view .service-deliverables-list li {
  opacity: 1;
}
.service-deliverables-block.deliverables-in-view .service-deliverables-list li:nth-child(1) { transition-delay: 0.1s; }
.service-deliverables-block.deliverables-in-view .service-deliverables-list li:nth-child(2) { transition-delay: 0.25s; }
.service-deliverables-block.deliverables-in-view .service-deliverables-list li:nth-child(3) { transition-delay: 0.4s; }
.service-deliverables-block.deliverables-in-view .service-deliverables-list li:nth-child(4) { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) {
  .service-deliverables-list li {
    opacity: 1;
    transition: none;
  }
}
.service-deliverables-list li:last-child {
  margin-bottom: 0;
}

/* Section FAQ : fond blanc ; la couleur de la page est sur le bloc .faq-wrapper */
.service-faq {
  background: #fff;
  padding: 3rem 0;
}
/* Page Conformité LPD : même couleur de fond que la tuile correspondante (Tous nos services) */
.page-lpd .service-why,
.page-lpd .service-perimeter {
  background: #f5e6dc;
}
.page-lpd .service-faq .faq-wrapper {
  background: #f5e6dc;
}
/* Page Audit : bloc FAQ avec la couleur Audit */
.page-audit .service-faq .faq-wrapper {
  background: #e3e8f0;
}
/* Page MSP / Externalisation : couleurs par section (tuile = #e8e4f0) */
.page-msp .service-perimeter {
  background: #e8e4f0;
}
body.page-msp section.service-method {
  background: #fff !important;
}
body.page-msp section.service-deliverables {
  background: #fff !important;
}
/* Indicateurs de réussite : ton vert clair (distinct du violet) */
.page-msp .service-deliverables-block {
  background: #e8f0e9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
}
/* Responsabilités & cadre : beige / gris clair */
.page-msp .service-deliverables-block-spaced {
  margin-top: 2rem;
  background: #f0ede8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
}
.page-msp .service-faq .faq-wrapper {
  background: #e8e4f0;
}
.page-msp .service-perimeter .service-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Page Développement web : alternance fond coloré / blanc (comme Audit, LPD) */
/* Section 1 : Une approche structurée — fond coloré (#f0e8e4, couleur de la page) */
.page-devweb .service-why {
  background: #f0e8e4;
}
/* Section 2 : Sites web vitrines — fond BLANC, tuiles avec 5 couleurs différentes (pas #f0e8e4) */
.page-devweb .service-perimeter:not(.service-perimeter-apps) {
  background: #fff;
}
.page-devweb .service-perimeter:not(.service-perimeter-apps) .service-card {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.page-devweb .service-perimeter:not(.service-perimeter-apps) .service-card:nth-child(1) { background: #e8f0ed; }
.page-devweb .service-perimeter:not(.service-perimeter-apps) .service-card:nth-child(2) { background: #f0ebe8; }
.page-devweb .service-perimeter:not(.service-perimeter-apps) .service-card:nth-child(3) { background: #e8ecf0; }
.page-devweb .service-perimeter:not(.service-perimeter-apps) .service-card:nth-child(4) { background: #f5f0e8; }
.page-devweb .service-perimeter:not(.service-perimeter-apps) .service-card:nth-child(5) { background: #eef0e8; }
/* Section 3 : Applications métier — fond #f0e8e4, tuiles en blanc */
.page-devweb .service-perimeter-apps {
  background: #f0e8e4;
}
.page-devweb .service-perimeter-apps .service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
/* Section 4 : Notre méthode — fond blanc, 4 tuiles même couleur (pas #f0e8e4), apparition depuis le haut une après l'autre */
.page-devweb .service-method {
  background: #fff;
}
.page-devweb .service-method .service-step {
  background: #e8f0ed;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.page-devweb .service-method.service-method-in-view .service-step {
  opacity: 1;
  transform: translateY(0);
}
.page-devweb .service-method.service-method-in-view .service-step:nth-child(1) { transition-delay: 0.05s; }
.page-devweb .service-method.service-method-in-view .service-step:nth-child(2) { transition-delay: 0.15s; }
.page-devweb .service-method.service-method-in-view .service-step:nth-child(3) { transition-delay: 0.25s; }
.page-devweb .service-method.service-method-in-view .service-step:nth-child(4) { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .page-devweb .service-method .service-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Section 5 : Ce que vous obtenez — fond blanc, bloc avec couleur distincte (points en fondu + V comme Audit/LPD) */
.page-devweb .service-deliverables {
  background: #fff;
}
.page-devweb .service-deliverables-block {
  background: #e8f0ed;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
}
/* FAQ : section blanche, bloc questions coloré */
.page-devweb .service-faq {
  background: #fff;
}
.page-devweb .service-faq .faq-wrapper {
  background: #f0e8e4;
}

/* Page Accompagnement & optimisation : couleur tuile (#dce4ec) */
.page-accompagnement .service-why-lead {
  max-width: 90ch;
}
.page-accompagnement .service-why {
  background: #dce4ec;
}
/* Domaines d'optimisation : fond blanc, tuiles avec couleurs différentes (pas #dce4ec) */
.page-accompagnement .service-perimeter {
  background: #fff;
}
.page-accompagnement .service-perimeter .service-card {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.page-accompagnement .service-perimeter .service-card:nth-child(1) { background: #e8f0ed; }
.page-accompagnement .service-perimeter .service-card:nth-child(2) { background: #f0ebe8; }
.page-accompagnement .service-perimeter .service-card:nth-child(3) { background: #e8ecf0; }
.page-accompagnement .service-perimeter .service-card:nth-child(4) { background: #f5f0e8; }
.page-accompagnement .service-perimeter .service-card:nth-child(5) { background: #eef0e8; }
/* Tuiles Domaines d'optimisation : icône à gauche */
.service-cards-with-icons .service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.service-card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-accent);
  opacity: 0.9;
}
.service-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.service-card-content {
  min-width: 0;
}
.page-accompagnement .service-faq {
  background: #fff;
}
.page-accompagnement .service-faq .faq-wrapper {
  background: #dce4ec;
}
.page-accompagnement .service-deliverables-block {
  background: #e8f0ed;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
}

/* Comment nous intervenons : fond #dce4ec, tuiles blanches, apparition depuis la gauche (0,5 s d'écart) */
.page-accompagnement .service-method {
  background: #dce4ec;
}
.page-accompagnement .service-method .service-step {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.page-accompagnement .service-method.service-method-in-view .service-step {
  opacity: 1;
  transform: translateX(0);
}
.page-accompagnement .service-method.service-method-in-view .service-step:nth-child(1) { transition-delay: 0s; }
.page-accompagnement .service-method.service-method-in-view .service-step:nth-child(2) { transition-delay: 0.5s; }
.page-accompagnement .service-method.service-method-in-view .service-step:nth-child(3) { transition-delay: 1s; }
.page-accompagnement .service-method.service-method-in-view .service-step:nth-child(4) { transition-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) {
  .page-accompagnement .service-method .service-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Page Continuite operationnelle & supervision : couleur tuile (#eee0e8) */
.page-suivi-operationnel .service-why,
.page-suivi-operationnel .service-method {
  background: #eee0e8;
}
.page-suivi-operationnel .service-perimeter,
.page-suivi-operationnel .service-deliverables,
.page-suivi-operationnel .service-faq {
  background: #fff;
}
.page-suivi-operationnel .service-faq .faq-wrapper {
  background: #eee0e8;
}
.page-suivi-operationnel .service-deliverables-block {
  background: #e8f0ed;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
}

/* Harmonisation visuelle des pages services (fonds tres legers par categorie) */
.page-audit .service-hero,
.page-audit .service-why,
.page-audit .service-perimeter,
.page-audit .service-method,
.page-audit .service-deliverables {
  background: #f3f4f6;
}
.page-lpd .service-hero,
.page-lpd .service-why,
.page-lpd .service-perimeter,
.page-lpd .service-method,
.page-lpd .service-deliverables {
  background: #f5f1ea;
}
.page-msp .service-hero,
.page-msp .service-why,
.page-msp .service-perimeter,
.page-msp .service-method,
.page-msp .service-deliverables {
  background: #f3f4f6;
}
.page-devweb .service-hero,
.page-devweb .service-why,
.page-devweb .service-perimeter,
.page-devweb .service-method,
.page-devweb .service-deliverables {
  background: #eef4ff;
}
.page-accompagnement .service-hero,
.page-accompagnement .service-why,
.page-accompagnement .service-perimeter,
.page-accompagnement .service-method,
.page-accompagnement .service-deliverables {
  background: #f2f8f3;
}
.page-suivi-operationnel .service-hero,
.page-suivi-operationnel .service-why,
.page-suivi-operationnel .service-perimeter,
.page-suivi-operationnel .service-method,
.page-suivi-operationnel .service-deliverables {
  background: #f1f5f9;
}

/* FAQ neutres (blanc) sur toutes les pages services detaillees */
.page-audit .service-faq,
.page-lpd .service-faq,
.page-msp .service-faq,
.page-devweb .service-faq,
.page-accompagnement .service-faq,
.page-suivi-operationnel .service-faq {
  background: #fff;
}
.page-audit .service-faq .faq-wrapper,
.page-lpd .service-faq .faq-wrapper,
.page-msp .service-faq .faq-wrapper,
.page-devweb .service-faq .faq-wrapper,
.page-accompagnement .service-faq .faq-wrapper,
.page-suivi-operationnel .service-faq .faq-wrapper {
  background: #fff;
  border: 1px solid #e5e7eb;
}

/* Cartes et blocs de synthese neutres pour eviter les aplats pastel */
.page-audit .service-card,
.page-lpd .service-card,
.page-msp .service-card,
.page-devweb .service-card,
.page-accompagnement .service-card,
.page-suivi-operationnel .service-card,
.page-audit .service-method .service-step,
.page-lpd .service-method .service-step,
.page-msp .service-method .service-step,
.page-devweb .service-method .service-step,
.page-accompagnement .service-method .service-step,
.page-suivi-operationnel .service-method .service-step,
.page-audit .service-deliverables-block,
.page-lpd .service-deliverables-block,
.page-msp .service-deliverables-block,
.page-devweb .service-deliverables-block,
.page-accompagnement .service-deliverables-block,
.page-suivi-operationnel .service-deliverables-block {
  background: #fff;
  border: 1px solid #e5e7eb;
}

/* Même format FAQ que page services : bloc avec fond et bords arrondis */
.service-faq .section-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.service-faq .faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

/* Section FAQ (page Tous nos services) */
/* Bloc CTA page Tous nos services (après la FAQ) – même style que page d’accueil */
.services-cta-block.section-cta-final {
  max-width: 1120px;
  margin: 2rem auto;
  padding: 4rem 1.5rem;
  border-radius: var(--radius);
}
@media (min-width: 640px) {
  .services-cta-block.section-cta-final {
    padding: 5rem 2rem;
  }
}
.section-inner .services-cta-block {
  max-width: 1120px;
}
.services-cta-block .services-cta-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}
.services-cta-block .cta-final-inner {
  text-align: center;
}
.services-cta-block .cta-final-text {
  margin-left: auto;
  margin-right: auto;
}

.faq-wrapper {
  background: var(--color-bg-alt);
  margin: 2rem -1.5rem 2rem;
  padding: 2rem 1.5rem;
  border-radius: 0;
}
@media (min-width: 640px) {
  .faq-wrapper {
    margin-left: 0;
    margin-right: 0;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
  }
}
.section-inner .faq-wrapper {
  max-width: 100%;
}
.faq-title {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
}
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-bottom: none;
  background: var(--color-card);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}
.faq-item:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}
.faq-item:only-child {
  border-radius: var(--radius);
}
.faq-trigger {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding-right: 2.5rem;
  transition: background 0.2s ease;
}
.faq-trigger:hover {
  background: rgba(0, 0, 0, 0.03);
}
.faq-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.faq-trigger::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-trigger::after {
  transform: translateY(-40%) rotate(-135deg);
}
.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-panel {
  max-height: 200px;
}
.faq-panel p {
  margin: 0;
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.faq-panel p:last-child { padding-bottom: 1rem; }
.faq-panel ul {
  margin: 0 1.25rem 1rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.faq-panel li { margin-bottom: 0.25rem; }
.faq-panel li:last-child { margin-bottom: 0; }

.about-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-points li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ========== Notre posture (bloc premium : accroche + explication + carte preuves) ========== */
.posture-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}
.posture-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .posture-grid {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }
}
.posture-text {
  flex: 1 1 60%;
  min-width: 0;
}
.posture-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}
.posture-text h2 {
  text-align: left;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-accent);
  color: var(--color-text);
}
.posture-accroche {
  margin: 0 0 1.25rem !important;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  max-width: 42ch;
}
.posture-text p {
  margin: 0 0 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 52ch;
  font-size: 1rem;
}
.posture-text p:last-of-type { margin-bottom: 0; }
.posture-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 0 1 40%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.posture-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.posture-points li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.posture-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.posture-cta {
  margin: 0.75rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
}
.posture-text .posture-cta {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: none;
  text-align: center;
}
.posture-cta .btn { display: inline-block; }

/* Sections avec intro (devweb, accompagnement) */
.posture-intro, .devweb-intro, .accompagnement-intro {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 65ch;
}
.posture-note {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 65ch;
}

/* ========== Tallentis (fond violet, comme la page dédiée) ========== */
.section-tallentis {
  --tallentis-blue: #7c3aed;
  --tallentis-blue-light: #f2eeff;
  background: var(--tallentis-blue-light);
}
.tallentis-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}
.tallentis-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .tallentis-grid {
    flex-direction: row;
    gap: 11rem;
    align-items: center;
    justify-content: flex-start;
  }
}
/* Colonne gauche : cercle avec logo (plus à gauche) */
.tallentis-logo-wrap {
  flex: 0 0 auto;
  min-width: 0;
}
@media (min-width: 900px) {
  .tallentis-logo-wrap {
    flex: 0 0 32%;
    max-width: 408px;
  }
}
.tallentis-logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 288px;
  aspect-ratio: 1;
  margin: 0 auto;
  background: #fff;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.15);
  text-decoration: none;
  padding: 1.5%;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .tallentis-logo-circle {
    max-width: 408px;
    width: 408px;
    height: 408px;
    aspect-ratio: unset;
    margin: 0;
    margin-right: 0;
    padding: 0.75%;
  }
}
.tallentis-logo-circle:hover { text-decoration: none; }
.tallentis-logo-circle picture {
  display: block;
  width: 100%;
  height: 100%;
}
.tallentis-logo-circle .tallentis-logo {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  object-fit: cover;
}
/* Colonne droite : texte (contraste bleu foncé sur fond clair) */
.tallentis-content {
  flex: 1 1 auto;
  min-width: 0;
}
/* Animation eyebrow : grandit/rétrécit, devient rouge en grandissant */
@keyframes tallentis-eyebrow-pulse {
  0%, 100% { transform: scale(1); color: var(--tallentis-blue); }
  50% { transform: scale(1.08); color: #c41e3a; }
}
.tallentis-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tallentis-blue);
  animation: tallentis-eyebrow-pulse 3s ease-in-out infinite;
}
.tallentis-content h2 {
  text-align: left;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--tallentis-blue);
  color: var(--tallentis-blue);
}
.tallentis-content > p {
  margin: 0 0 1.25rem;
  color: #1e3a5f;
  line-height: 1.65;
  max-width: 72ch;
}
.tallentis-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.tallentis-card {
  background: rgba(252, 246, 252, 0.85);
  border: 1px solid rgba(230, 218, 235, 0.6);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 28px -4px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.75rem;
}
.tallentis-card .tallentis-list-label {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--tallentis-blue);
  text-align: center;
}
.tallentis-card .tallentis-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
.tallentis-card .tallentis-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 1px solid #f3f4f6;
  padding: 0.5rem 0;
  min-height: 2.25rem;
}
.tallentis-card .tallentis-list li:last-child {
  border-bottom: none;
}
.tallentis-card .tallentis-list li::before {
  position: static;
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
}
.tallentis-card .tallentis-list-exemples li::before {
  top: auto;
  left: auto;
  width: 6px;
  height: 6px;
  margin-top: 0;
}
.tallentis-card .tallentis-list-points li::before {
  margin: 0;
}
.tallentis-card .tallentis-list-points li {
  padding-left: 0;
}
@media (max-width: 600px) {
  .tallentis-cards {
    grid-template-columns: 1fr;
  }
}
.tallentis-list-label {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--tallentis-blue);
  text-align: center;
}
.tallentis-list-label:first-of-type { margin-top: 0; }
.tallentis-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem auto 0.75rem;
  max-width: 22em;
}
.tallentis-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #1e3a5f;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.tallentis-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--tallentis-blue);
  border-radius: 50%;
}
/* Exemples : apparition un par un quand la section est visible à l'écran */
.tallentis-list-exemples li {
  opacity: 0;
}
.section-tallentis.tallentis-in-view .tallentis-list-exemples li {
  animation: tallentis-exemple-in 0.5s ease forwards;
}
.section-tallentis.tallentis-in-view .tallentis-list-exemples li:nth-child(1) { animation-delay: 0.2s; }
.section-tallentis.tallentis-in-view .tallentis-list-exemples li:nth-child(2) { animation-delay: 0.4s; }
.section-tallentis.tallentis-in-view .tallentis-list-exemples li:nth-child(3) { animation-delay: 0.6s; }
.section-tallentis.tallentis-in-view .tallentis-list-exemples li:nth-child(4) { animation-delay: 0.8s; }
.section-tallentis.tallentis-in-view .tallentis-list-exemples li:nth-child(5) { animation-delay: 1s; }
@keyframes tallentis-exemple-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Points forts : cases à cocher avec ✓ (même taille / centrage que exemples) */
.tallentis-list-points li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid var(--tallentis-blue);
  border-radius: 3px;
  background: var(--tallentis-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  top: 0.25rem;
  left: 0;
}
.tallentis-list-points li {
  padding-left: 1.85rem;
}
.tallentis-cta-main {
  margin-top: 1.5rem !important;
  text-align: center;
  width: 100%;
}
.tallentis-cta-main .btn { display: inline-block; }
/* Bouton Tallentis : violet page dédiée #7c3aed */
.section-tallentis .btn-primary {
  background: var(--tallentis-blue);
  color: #fff;
  animation: tallentis-btn-pulse 2.5s ease-in-out infinite;
}
.section-tallentis .btn-primary:hover {
  background: #5b21b6;
  text-decoration: none;
  color: #fff;
  animation: none;
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}
@keyframes tallentis-btn-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  }
}

/* ========== Ils nous font confiance (marquee logos) ========== */
.vhf-trust-logos {
  padding: clamp(2.75rem, 5.5vw, 5.5rem) 1.25rem;
  background: var(--color-bg-green);
}
.vhf-trust-logos h2 {
  text-align: center;
  margin: 0 0 2.125rem;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  line-height: 1.2;
  color: #0f172a;
}
.vhf-marquee {
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vhf-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: vhf-marquee 22s linear infinite;
}
.vhf-marquee:hover .vhf-track {
  animation-play-state: paused;
}
.vhf-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  text-decoration: none;
}
.vhf-logo:hover {
  text-decoration: none;
}
.vhf-logo img {
  max-height: 64px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transform: translateZ(0);
}
@keyframes vhf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .vhf-track { gap: 2.625rem; }
  .vhf-logo { min-width: 180px; }
  .vhf-logo img {
    max-height: 52px;
    max-width: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vhf-track {
    animation-duration: 35s;
  }
}

/* Bloc engagement sous les logos (crédibilité) */
.vhf-trust-engagement {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2.5rem, 3.5vw, 3.5rem) 1.25rem;
  text-align: center;
}
.vhf-trust-engagement-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e3a5f;
}
.vhf-trust-engagement-tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #0f172a;
}
.vhf-trust-engagement-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #1e293b;
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}

/* Cas d'etude (homepage) */
.case-study-home {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  background: #f5f7fa;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}
.case-study-home-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e3a5f;
  text-align: center;
}
.case-study-home h3 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.35;
  color: #0f172a;
}
.case-study-home-logo-wrap {
  margin: 0.15rem 0 0.9rem;
  text-align: center;
}
.case-study-home-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.case-study-home-logo {
  width: auto;
  max-width: min(220px, 68vw);
  max-height: 76px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-study-home-logo-link:hover .case-study-home-logo {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
}
.case-study-home-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #1f2937;
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.case-study-home-text + .case-study-home-text {
  margin-top: 0.55rem;
}
.case-study-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.case-study-home-card {
  background: #fff;
  border: 1px solid #d5dde6;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  padding: 1rem 1rem 1.1rem;
}
.case-study-home-card h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: #0f172a;
  text-align: center;
}
.case-study-home-card ul {
  margin: 0;
  padding-left: 1.15rem;
}
.case-study-home-card li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
  color: #374151;
}
.case-study-home-card li:last-child {
  margin-bottom: 0;
}
.case-study-home-cta {
  margin: 1.6rem 0 0;
  text-align: center;
}
.case-study-home-kpis {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.case-study-home-kpi {
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.3;
}
.case-study-home-kpi strong {
  color: #0f172a;
}

@media (max-width: 900px) {
  .case-study-home-grid {
    grid-template-columns: 1fr;
  }
}

/* Page cas d'etude */
.case-study-page {
  background: #fff;
}
.case-study-page .case-study-hero {
  background: #f6faf7;
  padding: 4rem 1.5rem 3rem;
}
.case-study-page .case-study-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.case-study-page .case-study-indicators {
  margin: 1.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 900px;
}
.case-study-page .case-study-indicator-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  padding: 0.85rem 0.9rem;
  text-align: center;
}
.case-study-page .case-study-indicator-value {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}
.case-study-page .case-study-indicator-label {
  margin: 0.22rem 0 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.35;
}
.case-study-page .case-study-company-logo-wrap {
  margin: 1rem 0 0;
  text-align: center;
}
.case-study-page .case-study-company-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.case-study-page .case-study-company-logo {
  width: auto;
  max-width: min(240px, 72vw);
  max-height: 86px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-study-page .case-study-company-logo-link:hover .case-study-company-logo {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}
.case-study-page .case-study-hero h1 {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
  line-height: 1.25;
  color: #0f172a;
}
.case-study-page .case-study-subtitle {
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
}
.case-study-page .case-study-context {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.5;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.case-study-page .case-study-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  gap: 1.2rem;
}
.case-study-page .case-study-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  padding: 1.3rem 1.25rem;
}
.case-study-page .case-study-block h2 {
  margin: 0 0 0.8rem;
  text-align: left;
  font-size: 1.22rem;
  color: #0f172a;
}
.case-study-page .case-study-problem-section {
  background: #fff3f3;
  border-left: 6px solid #d92c2c;
}
.case-study-page .case-study-problems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.case-study-page .case-study-problem-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid #f0cbcb;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.case-study-page .case-study-problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.case-study-page .case-study-problem-card p {
  margin: 0;
  color: #1f2937;
  line-height: 1.45;
}
.case-study-page .case-study-problem-icon {
  color: #d24a4a;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.case-study-page .case-study-intervention-section {
  background: #f6f9ff;
  border-left: 4px solid #2f6edb;
}
.case-study-page .case-study-timeline {
  margin: 0.85rem 0 0;
  padding: 0 0 0 2.6rem;
  list-style: none;
  counter-reset: timeline-step;
  position: relative;
}
.case-study-page .case-study-timeline::before {
  content: "";
  position: absolute;
  left: 0.88rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: #b9cff2;
}
.case-study-page .case-study-timeline-item {
  counter-increment: timeline-step;
  position: relative;
  margin-bottom: 0.75rem;
}
.case-study-page .case-study-timeline-item:last-child {
  margin-bottom: 0;
}
.case-study-page .case-study-timeline-item::before {
  content: counter(timeline-step);
  position: absolute;
  left: -2.55rem;
  top: 0.55rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #2f6edb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(47, 110, 219, 0.15);
}
.case-study-page .case-study-timeline-item p {
  margin: 0;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid #d7e3f8;
  border-radius: 12px;
  line-height: 1.45;
}
.case-study-page .case-study-support-section {
  background: #f3faf5;
  border-left: 4px solid #0e5a12;
}
.case-study-page .case-study-support-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.case-study-page .case-study-support-card {
  background: #fff;
  border: 1px solid #d5e9da;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.case-study-page .case-study-support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.case-study-page .case-study-support-icon {
  color: var(--color-accent);
  display: inline-flex;
}
.case-study-page .case-study-support-card h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 1rem;
  color: #0f172a;
}
.case-study-page .case-study-support-card p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}
.case-study-page .case-study-block p {
  margin: 0 0 0.75rem;
  color: #1f2937;
  line-height: 1.6;
}
.case-study-page .case-study-block p:last-child {
  margin-bottom: 0;
}
.case-study-page .case-study-block ul {
  margin: 0;
  padding-left: 1.15rem;
}
.case-study-page .case-study-block li {
  margin-bottom: 0.4rem;
  color: #374151;
  line-height: 1.5;
}
.case-study-page .case-study-block li:last-child {
  margin-bottom: 0;
}
.case-study-page .case-study-results-highlight {
  background: #eef7f0;
  border-color: #d6ebd8;
  border-left: 4px solid var(--color-accent);
}
.case-study-page .case-study-results-metrics {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.case-study-page .case-study-metric-card {
  background: #fff;
  border: 1px solid #d6ebd8;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.case-study-page .case-study-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.case-study-page .case-study-metric-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.case-study-page .case-study-metric-card p {
  margin: 0;
  line-height: 1.4;
}
.case-study-page .case-study-impact-block {
  background: linear-gradient(135deg, #f8fafc, #eef6f2);
}
.case-study-page .case-study-impact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: center;
}
.case-study-page .case-study-impact-text p {
  margin: 0 0 0.8rem;
}
.case-study-page .case-study-impact-list {
  margin: 0;
  padding-left: 1.15rem;
}
.case-study-page .case-study-impact-list li {
  margin-bottom: 0.45rem;
  color: #374151;
  line-height: 1.5;
}
.case-study-page .case-study-impact-visual {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page Collaborateurs a distance */
.page-remote {
  --remote-violet: #7c3aed;
  --remote-violet-dark: #5b21b6;
  --remote-violet-soft: #f3efff;
  --remote-violet-line: #c4b5fd;
}
.page-remote .remote-hero {
  background-color: #faf9fc;
  background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(250, 249, 252, 0.5)), url("img/tallentis/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-remote .remote-hero h1 {
  text-align: center;
  margin: 0 0 0.5rem;
}
.page-remote .remote-hero-label {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}
.page-remote .remote-hero-lead {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
  color: #0f172a;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  font-weight: 550;
  line-height: 1.62;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.45);
}
.page-remote .remote-hero-ctas {
  margin: 1.5rem 0 0;
  text-align: center;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.page-remote .remote-why {
  background: #fff;
}
.page-remote .remote-process {
  background: #f7f4ff;
}
.page-remote .remote-stories {
  background: #fff;
}
.page-remote .remote-approach {
  background: linear-gradient(180deg, #f7f4ff 0%, #fcfbff 50%, #f7f4ff 100%);
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}
.page-remote .remote-approach-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.page-remote .remote-approach-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--remote-violet);
}
.page-remote .remote-approach h2 {
  margin: 0 0 1.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.page-remote .remote-approach-lead {
  max-width: 38em;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #334155;
  font-weight: 500;
}
.page-remote .remote-approach-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}
@media (min-width: 640px) {
  .page-remote .remote-approach-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.page-remote .remote-approach-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e9e0ff;
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.page-remote .remote-approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(91, 33, 182, 0.12);
  border-color: #ddd6fe;
}
.page-remote .remote-approach-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--remote-violet-soft);
  color: var(--remote-violet);
  margin-bottom: 1.25rem;
}
.page-remote .remote-approach-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.page-remote .remote-approach-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #475569;
}
@media (max-width: 639px) {
  .page-remote .remote-approach-lead {
    margin-bottom: 2rem;
    font-size: 1.0625rem;
  }
  .page-remote .remote-approach-card {
    padding: 1.5rem 1.25rem;
  }
}
.page-remote main .section + .section {
  margin-top: 1.2rem;
}
.page-remote .remote-section-text {
  max-width: 72ch;
  margin: 0 auto 0.75rem;
  text-align: center;
  color: #475569;
}
.page-remote .remote-why-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.page-remote .remote-card {
  background: #fff;
  border: 1px solid #ddd6fe;
  border-top: 4px solid var(--remote-violet);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.page-remote .remote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}
.page-remote .remote-card h3 {
  margin: 0 0 0.45rem;
  color: #0f172a;
}
.page-remote .remote-card-symbol {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--remote-violet-soft);
  color: var(--remote-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}
.page-remote .remote-card-symbol svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.page-remote .remote-card p {
  margin: 0;
  color: #475569;
}
.page-remote .remote-process-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  position: relative;
}
.page-remote .remote-process-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}
.page-remote .remote-process-arrow {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid #c4b5fd;
  background: #ffffff;
  color: var(--remote-violet-dark);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(91, 33, 182, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.page-remote #remote-process-prev {
  left: calc(33.333% - 0.1rem);
}
.page-remote #remote-process-next {
  left: calc(66.666% + 0.1rem);
}
.page-remote .remote-process-arrow:hover {
  transform: translate(-50%, calc(-50% - 2px));
  box-shadow: 0 12px 24px rgba(91, 33, 182, 0.28);
  background: var(--remote-violet-soft);
}
.page-remote .remote-process-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
/* Flèche gauche invisible à l'étape 1 */
.page-remote .remote-process-workflow.is-start #remote-process-prev {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* Flèche droite invisible à l'étape 6 */
.page-remote .remote-process-workflow.is-end #remote-process-next {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}
.page-remote .remote-process-card {
  background: #fff;
  border: 1px solid #ddd6fe;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(91, 33, 182, 0.12);
  padding: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
  position: relative;
  overflow: visible;
  cursor: pointer;
  opacity: 0.88;
  min-height: 292px;
}
.page-remote .remote-process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.14);
}
.page-remote .remote-process-card:focus-visible {
  outline: 2px solid var(--remote-violet);
  outline-offset: 2px;
}
.page-remote .remote-process-step-num {
  position: absolute;
  top: -0.65rem;
  right: -0.55rem;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: #8b5cf6;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(91, 33, 182, 0.28);
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.page-remote .remote-process-icon {
  margin: 0 0 0.75rem;
  height: 154px;
  border-radius: 10px;
  background: #f3efff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-remote .remote-process-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-remote .remote-process-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.page-remote .remote-process-card h3 {
  margin: 0 0 0.38rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #0f172a;
}
.page-remote .remote-process-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #475569;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.page-remote .remote-process-card.remote-process-card-active {
  opacity: 1;
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 42px rgba(91, 33, 182, 0.24);
  border-color: #c4b5fd;
  background: #f7f3ff;
}
.page-remote .remote-process-card.remote-process-card-active .remote-process-desc {
  margin-top: 0.25rem;
  max-height: 5.5rem;
  opacity: 1;
}
.page-remote .remote-process-card.remote-process-card-active .remote-process-step-num {
  background: var(--remote-violet-dark);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 12px 26px rgba(91, 33, 182, 0.36);
}
/* Workflow visuel : lignes et fleches entre les cartes (desktop) */
.page-remote .remote-process-workflow .remote-process-card:nth-child(1)::after,
.page-remote .remote-process-workflow .remote-process-card:nth-child(2)::after,
.page-remote .remote-process-workflow .remote-process-card:nth-child(4)::after,
.page-remote .remote-process-workflow .remote-process-card:nth-child(5)::after {
  content: none;
}
.page-remote .remote-process-workflow .remote-process-card:nth-child(1)::before,
.page-remote .remote-process-workflow .remote-process-card:nth-child(2)::before,
.page-remote .remote-process-workflow .remote-process-card:nth-child(4)::before,
.page-remote .remote-process-workflow .remote-process-card:nth-child(5)::before {
  content: none;
}
.page-remote .remote-process-workflow::after {
  content: none;
}
.page-remote .remote-process-workflow::before {
  content: none;
}
/* Workflow interactif : prev / active / next */
.page-remote .remote-process-workflow .remote-process-card {
  display: none;
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-prev,
.page-remote .remote-process-workflow .remote-process-card.remote-process-card-active,
.page-remote .remote-process-workflow .remote-process-card.remote-process-next {
  display: block;
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-prev {
  grid-column: 1;
  opacity: 0.62;
  transform: scale(0.97);
  box-shadow: 0 5px 12px rgba(91, 33, 182, 0.12);
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-next {
  grid-column: 3;
  opacity: 0.62;
  transform: scale(0.97);
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.08);
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-card-active {
  grid-column: 2;
}
.page-remote .remote-process-workflow.is-end .remote-process-card.remote-process-card-active {
  grid-column: 2;
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-prev .remote-process-desc,
.page-remote .remote-process-workflow .remote-process-card.remote-process-next .remote-process-desc {
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-prev::after,
.page-remote .remote-process-workflow .remote-process-card.remote-process-card-active::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.35rem;
  width: 1.35rem;
  height: 2px;
  background: var(--remote-violet-line);
  transform: translateY(-50%);
}
.page-remote .remote-process-workflow .remote-process-card.remote-process-prev::before,
.page-remote .remote-process-workflow .remote-process-card.remote-process-card-active::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--remote-violet-line);
  border-right: 2px solid var(--remote-violet-line);
  transform: translateY(-50%) rotate(45deg);
}
.page-remote .remote-process-workflow.is-end .remote-process-card.remote-process-card-active::before,
.page-remote .remote-process-workflow.is-end .remote-process-card.remote-process-card-active::after {
  content: none;
}
.page-remote .remote-process-workflow.is-start .remote-process-card.remote-process-prev::before,
.page-remote .remote-process-workflow.is-start .remote-process-card.remote-process-prev::after {
  content: none;
}
.page-remote .remote-story-carousel {
  --story-card-width: 460px;
  --story-gap: 1.5rem;
  margin-top: 1.35rem;
  overflow: hidden;
  width: min(100%, calc((var(--story-card-width) * 2) + var(--story-gap)));
  max-width: calc((var(--story-card-width) * 2) + var(--story-gap));
  margin-left: auto;
  margin-right: auto;
  padding: 0.35rem 0;
}
.page-remote .remote-story-list {
  display: flex;
  align-items: stretch;
  gap: var(--story-gap);
  width: max-content;
}
.page-remote .remote-story-track {
  animation: remote-stories-scroll 28s linear infinite;
}
.page-remote .remote-story-carousel:hover .remote-story-track {
  animation-play-state: paused;
}
.page-remote .remote-story-card {
  width: var(--story-card-width);
  flex: 0 0 var(--story-card-width);
  min-height: 220px;
  background: #fff;
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(91, 33, 182, 0.12);
  padding: 1.5rem 1.25rem 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}
.page-remote .remote-story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(91, 33, 182, 0.2);
}
.page-remote .remote-story-card:focus-visible {
  outline: 2px solid var(--remote-violet);
  outline-offset: 2px;
}
.page-remote .remote-story-photo {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.15);
}
.page-remote .remote-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
}
.page-remote .remote-story-card:hover .remote-story-photo img {
  transform: scale(1.05);
}
.page-remote .remote-story-card .remote-story-card-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  text-align: center;
  width: 100%;
}
.page-remote .remote-story-card h3 {
  margin: 0;
  color: #111827;
  font-size: 1.06rem;
}
.page-remote .remote-story-role {
  margin: 0;
  width: 100%;
  color: var(--remote-violet-dark);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.3;
}
.page-remote .remote-story-card::after {
  content: "›";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--remote-violet-dark);
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.7;
  transform: rotate(90deg);
}
@keyframes remote-stories-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.page-remote .remote-story-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.page-remote .remote-story-modal.is-open {
  display: flex;
}
.page-remote .remote-story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}
.page-remote .remote-story-modal-card {
  position: relative;
  z-index: 1;
  width: min(720px, 95vw);
  max-height: 88vh;
  overflow: auto;
  background: #ffffff;
  border: 1px solid #d7c9ff;
  border-radius: 18px;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.35);
  padding: 1.2rem;
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.page-remote .remote-story-modal.is-open .remote-story-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.page-remote .remote-story-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid #d1c4ff;
  background: #fff;
  color: var(--remote-violet-dark);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.page-remote .remote-story-modal-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e3d8ff;
  background: #f3efff;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.12);
  margin: 0 0 0.9rem;
}
.page-remote .remote-story-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-remote .remote-story-modal-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.32rem;
  color: #111827;
}
.page-remote .remote-story-modal-role {
  margin: 0 0 0.35rem;
  color: var(--remote-violet-dark);
  font-weight: 700;
}
.page-remote .remote-story-modal-summary {
  margin: 0 0 0.75rem;
  color: #334155;
}
.page-remote .remote-story-modal-details p {
  margin: 0 0 0.55rem;
  color: #334155;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .page-remote .remote-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .page-remote .remote-why-grid,
  .page-remote .remote-process-grid {
    grid-template-columns: 1fr;
  }
  .page-remote .remote-process-nav {
    display: none;
  }
  .page-remote .remote-process-card {
    min-height: 256px;
  }
  .page-remote .remote-process-icon {
    height: 130px;
  }
  .page-remote .remote-process-workflow .remote-process-card {
    display: block;
  }
  .page-remote .remote-process-workflow .remote-process-card.remote-process-prev,
  .page-remote .remote-process-workflow .remote-process-card.remote-process-next,
  .page-remote .remote-process-workflow .remote-process-card.remote-process-card-active {
    grid-column: auto;
    transform: none;
  }
  .page-remote .remote-process-workflow .remote-process-card.remote-process-prev,
  .page-remote .remote-process-workflow .remote-process-card.remote-process-next {
    opacity: 0.88;
  }
  .page-remote .remote-process-workflow .remote-process-card::before,
  .page-remote .remote-process-workflow .remote-process-card::after {
    content: none;
  }
  .page-remote .remote-process-workflow .remote-process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.85rem;
    width: 2px;
    height: 0.85rem;
    background: #b9cff2;
    transform: translateX(-50%);
  }
  .page-remote .remote-process-workflow .remote-process-card:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.1rem;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #b9cff2;
    border-bottom: 2px solid #b9cff2;
    transform: translateX(-50%) rotate(45deg);
  }
  .page-remote .remote-story-card {
    width: min(var(--story-card-width), 88vw);
    flex-basis: min(var(--story-card-width), 88vw);
  }
}
/* Apparition douce au scroll (fade + slide) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 820px) {
  .case-study-page .case-study-indicators {
    grid-template-columns: 1fr;
  }
  .case-study-page .case-study-problems-grid {
    grid-template-columns: 1fr;
  }
  .case-study-page .case-study-support-grid,
  .case-study-page .case-study-results-metrics,
  .case-study-page .case-study-impact-layout {
    grid-template-columns: 1fr;
  }
  .case-study-page .case-study-impact-visual svg {
    width: 130px;
    height: 130px;
  }
}

/* ========== CTA final (avant footer) ========== */
.section-cta-final {
  background: var(--color-accent);
  padding: 5rem 1.5rem;
  margin-bottom: 0;
}
.page-remote .section-cta-final {
  padding: 6rem 1.5rem;
  margin-top: 0;
}
.page-remote .section-cta-final .cta-final-inner h2 {
  font-size: clamp(1.6rem, 3.2vw, 2rem);
}
.page-remote .section-cta-final .btn-cta-final {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}
.cta-final-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.cta-final-inner h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}
.cta-final-text {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-btn {
  margin: 0;
}
.btn-cta-final {
  display: inline-block;
  background: #fff;
  color: var(--color-accent);
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-cta-final:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  text-decoration: none;
}

/* ========== Partenariats (grille logos) ========== */
.section-partenariats {
  background: #fff;
  padding: 4rem 1.5rem;
}
.partenariats-title {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #0f172a;
}
.partenariats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.partenariats-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 12px;
}
.partenariats-logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
}
.partenariats-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 900px) {
  .partenariats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .partenariats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .partenariats-logo { min-height: 70px; }
}

/* Bandeau CTA « Prêt à structurer » : centré */
.cta-final-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.cta-final-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}
.cta-final-band .cta-final-text {
  margin: 0 auto 1.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  max-width: 40ch;
}
.cta-final-band .cta-final-btn {
  margin: 0;
}
.section-cta-final .cta-final-inner:not(.cta-final-band) {
  text-align: center;
}

/* ========== Footer (bandeau de fin) ========== */
.footer {
  background: #1f2937;
  color: #e5e7eb;
  padding: 0;
  margin-top: 0;
}
.footer-inner.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
}
.footer-col-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 0.5rem;
}
.footer-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  line-height: 1;
}
.footer-icon svg {
  display: block;
  color: currentColor;
  opacity: 0.9;
}
.footer-nav a {
  color: #d1d5db;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-nav a:hover .footer-icon svg {
  opacity: 1;
}
.footer-address {
  color: #d1d5db;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
}
.footer-address .footer-icon {
  flex-shrink: 0;
}
.footer-region {
  font-size: 0.8125rem;
  color: #9ca3af;
}
.footer-region-text {
  margin: 0;
  line-height: 1.5;
}
.footer-region-text a {
  color: #d1d5db;
  text-decoration: none;
}
.footer-region-text a:hover {
  text-decoration: underline;
}
.footer-sub {
  background: #111827;
  padding: 1rem 1.5rem;
}
.footer-sub-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-legal {
  margin: 0;
  font-size: 0.875rem;
}
.footer-legal a {
  color: #9ca3af;
}
.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
}
.footer-back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  transition: background 0.2s ease;
}
.footer-back-top:hover {
  background: #4b5563;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 600px) {
  .footer-sub-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== Page Organisation (/organisation) ========== */
.org-hero {
  background: #fff;
  padding: 4rem 1.5rem 5rem;
}
.org-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.org-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}
.org-hero-lead {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #374151;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.org-hero-lead:last-of-type {
  margin-bottom: 1.5rem;
}
.org-hero-cta {
  margin: 0;
}

.org-section {
  padding: 4rem 1.5rem;
}
.org-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.org-inner-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.org-section-title {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #0f172a;
}

/* Section 2 : Modèle Suisse–Portugal (2 colonnes) */
.org-modele {
  background: var(--color-card);
}

/* Page Notre organisation : alternance vert / blanc (comme À propos) */
.page-organisation .org-hero {
  background-color: #e8f2e8;
  padding: 5rem 1.5rem 5.5rem;
}
.page-organisation .org-modele {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 5rem;
}
.page-organisation .org-modele .org-bloc {
  background-color: #f5faf5;
  border: 1px solid #e2edd9;
}
.page-organisation .org-piliers {
  background-color: #e0ede0;
}
.page-organisation .org-piliers .org-carte {
  background-color: #fff;
  border: 1px solid #dce8dc;
}
.page-organisation .org-positionnement {
  background-color: #ffffff;
}
.page-organisation .org-experience {
  background-color: #e5f0e5;
}

.org-modele-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.org-modele-text h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: #0f172a;
  text-align: left;
}
.org-modele-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}
.org-modele-text p:last-child {
  margin-bottom: 0;
}
.org-modele-blocs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.org-bloc {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.75rem;
}
.org-bloc-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.org-bloc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.org-bloc-list li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #374151;
  position: relative;
  padding-left: 1.25rem;
}
.org-bloc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Section 3 : Piliers (3 cartes) */
.org-piliers {
  background: var(--color-bg-green);
}
.org-piliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.org-carte {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
}
.org-carte-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.org-carte p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #374151;
}

/* Sections 4 & 5 : Texte centré */
.org-positionnement {
  background: #fff;
}
.org-positionnement .org-inner-narrow p,
.org-experience .org-inner-narrow p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
  text-align: center;
}
.org-positionnement .org-inner-narrow p:last-child,
.org-experience .org-inner-narrow p:last-child {
  margin-bottom: 0;
}
.org-experience {
  background: var(--color-card);
}
.page-organisation .org-positionnement .org-inner-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem;
  background-color: #f5faf5;
  border-radius: 12px;
  border: 1px solid #e2edd9;
}
.page-organisation .org-experience .org-inner-narrow {
  background-color: #fff;
  border: 1px solid #dce8dc;
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
}

/* CTA final (réutilise .section-cta-final) */
.org-cta-final {
  padding: 5rem 1.5rem;
}

@media (max-width: 768px) {
  .org-modele-grid {
    grid-template-columns: 1fr;
  }
  .org-piliers-grid {
    grid-template-columns: 1fr;
  }
  .org-hero {
    padding: 3rem 1.25rem 4rem;
  }
  .org-section {
    padding: 3rem 1.25rem;
  }
}

/* ========== Page À propos (corporate) ========== */
/* Alternance stricte vert / blanc : chaque section a une couleur distincte */
.page-a-propos .about-page-hero {
  position: relative;
  background-color: #e8f2e8;
  padding: 5rem 1.5rem 5.5rem;
  overflow: hidden;
}
.page-a-propos .about-page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
}
.page-a-propos .about-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.page-a-propos .about-page-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}
.page-a-propos .about-page-hero-intro {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #374151;
}
.page-a-propos .about-page-hero-intro:last-of-type {
  margin-bottom: 0;
}

/* Blocs génériques */
.page-a-propos .about-page-block {
  padding: 4.5rem 1.5rem;
}
/* Section 2 : BLANC (séparée du hero vert) */
.page-a-propos .about-page-intro {
  padding-top: 5rem;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
/* Section 3 : VERT (nuance différente du hero) */
.page-a-propos .about-page-approche {
  background-color: #e0ede0;
}
/* Section Fundador : BLANC */
.page-a-propos .about-page-founder {
  background-color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.page-a-propos .about-page-founder-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .page-a-propos .about-page-founder-inner {
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: center;
  }
}
.page-a-propos .about-page-founder-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8f2e8;
  min-height: 400px;
  /* Taille suffisante pour exploiter une image haute résolution (évite le downscale excessif) */
}
.page-a-propos .about-page-founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
  /* Rendu net : éviter l’adoucissement du redimensionnement */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}
.page-a-propos .about-page-founder-title {
  text-align: left;
  margin-bottom: 0.35rem !important;
}
.page-a-propos .about-page-founder-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 1.25rem !important;
  letter-spacing: 0.02em;
}
.page-a-propos .about-page-founder-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}
.page-a-propos .about-page-founder-text p:last-child {
  margin-bottom: 0;
}

/* Section 4 : BLANC */
.page-a-propos .about-page-experience {
  background-color: #ffffff;
}
.page-a-propos .about-page-experience-list-title {
  margin: 1.25rem 0 0.75rem !important;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.page-a-propos .about-page-experience-list {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}
.page-a-propos .about-page-experience-list li {
  margin-bottom: 0.35rem;
}

/* Section Intervenções : VERT */
.page-a-propos .about-page-interventions {
  background-color: #e0ede0;
}
.page-a-propos .about-page-interventions-subtitle {
  margin: 0 auto 1.5rem !important;
  max-width: 680px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
}
.page-a-propos .about-page-interventions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}
@media (min-width: 640px) {
  .page-a-propos .about-page-interventions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 900px) {
  .page-a-propos .about-page-interventions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-a-propos .about-page-intervention-card {
  background: #fff;
  border: 1px solid #dce8dc;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease;
}
.page-a-propos .about-page-intervention-card:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
.page-a-propos .about-page-intervention-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #0f172a;
}

/* Section 5 : VERT */
.page-a-propos .about-page-pme {
  background-color: #e5f0e5;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}
.page-a-propos .about-page-pme .about-page-compare {
  margin-top: 2rem;
}
.page-a-propos .about-page-pme .about-page-compare-col {
  padding: 1.75rem 1.75rem;
}
.page-a-propos .about-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.page-a-propos .about-page-block-title {
  margin: 0 0 2rem;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  text-align: center;
}
.page-a-propos .about-page-lead {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #374151;
  text-align: center;
}

/* Section 1 — Intro (2 colonnes) */
.page-a-propos .about-page-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .page-a-propos .about-page-intro-grid {
    grid-template-columns: 1fr 320px;
  }
}
/* Section intro (fond blanc) : tuiles avec vert très léger pour les distinguer */
.page-a-propos .about-page-intro .about-page-card {
  background: #f5faf5;
  border: 1px solid #e2edd9;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: 1.75rem 1.5rem;
}
.page-a-propos .about-page-card-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}
.page-a-propos .about-page-card-text p:last-child {
  margin-bottom: 0;
}
.page-a-propos .about-page-keypoints {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-a-propos .about-page-intro .about-page-keypoint {
  background: #f5faf5;
  border: 1px solid #e2edd9;
  border-radius: 10px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
}
.page-a-propos .about-page-keypoint-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  opacity: 0.9;
}
.page-a-propos .about-page-keypoint-icon svg {
  width: 22px;
  height: 22px;
}
.page-a-propos .about-page-keypoint-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: calc(100% - 36px);
}
.page-a-propos .about-page-keypoint p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
  width: 100%;
}
.page-a-propos .about-page-keypoint-label + p {
  margin-top: -0.25rem;
}

/* Section 2 — Approche (3 tuiles) */
.page-a-propos .about-page-cards-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .page-a-propos .about-page-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Section approche (fond vert) : tuiles blanches pour contraste */
.page-a-propos .about-page-approche .about-page-tile {
  background: #fff;
  border: 1px solid #dce8dc;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.page-a-propos .about-page-tile-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
}
.page-a-propos .about-page-tile p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

/* Section 3 — Expérience (texte + encart) */
.page-a-propos .about-page-experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .page-a-propos .about-page-experience-grid {
    grid-template-columns: 1fr 340px;
  }
}
.page-a-propos .about-page-experience-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}
.page-a-propos .about-page-experience-text p:last-child {
  margin-bottom: 0;
}
/* Section experience (fond blanc) : encart avec vert léger */
.page-a-propos .about-page-experience .about-page-callout {
  position: relative;
  background: linear-gradient(135deg, #f0f9f0 0%, #f5faf5 100%);
  border: 1px solid #d4e6d4;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(14, 90, 18, 0.08);
}
.page-a-propos .about-page-callout-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  opacity: 0.7;
}
.page-a-propos .about-page-callout-icon svg {
  width: 22px;
  height: 22px;
}
.page-a-propos .about-page-callout-title {
  margin: 0 2rem 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}
.page-a-propos .about-page-callout p:last-child {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

/* Section 4 — PME (2 colonnes comparatives) */
.page-a-propos .about-page-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .page-a-propos .about-page-compare {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
/* Section PME (fond vert) : colonnes blanches avec bordure verte */
.page-a-propos .about-page-pme .about-page-compare-col {
  background: #fff;
  border: 1px solid #dce8dc;
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.page-a-propos .about-page-compare-heading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-a-propos .about-page-compare-col p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

/* CTA final page À propos */
/* Bloc domaines (rappel concret) */
.page-a-propos .about-page-domaines {
  padding: 2rem 1.5rem;
  background: #f8faf8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.page-a-propos .about-page-domaines-line {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Bloc repères (3 cartes) */
.page-a-propos .about-page-reperes {
  background-color: #ffffff;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}
.page-a-propos .about-page-reperes-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}
.page-a-propos .about-page-reperes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .page-a-propos .about-page-reperes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.page-a-propos .about-page-repere-card {
  background: #f8faf8;
  border: 1px solid #e2edd9;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.page-a-propos .about-page-repere-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #374151;
}

.page-a-propos .about-page-cta.section-cta-final {
  padding: 5rem 1.5rem;
}

@media (max-width: 768px) {
  .page-a-propos .about-page-hero {
    padding: 3.5rem 1.25rem 4rem;
  }
  .page-a-propos .about-page-block {
    padding: 3rem 1.25rem;
  }
  .page-a-propos .about-page-cta.section-cta-final {
    padding: 4rem 1.25rem;
  }
}

/* ========== Consentement cookies (première visite) ========== */
.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(17, 24, 39, 0.6);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cookie-consent-overlay.cookie-consent-hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
}
.cookie-consent-title {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
}
.cookie-consent-text {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #374151;
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cookie-consent-accept {
  background: #1e40af;
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-consent-accept:hover {
  background: #1e3a8a;
}
.cookie-consent-refuse,
.cookie-consent-prefs,
.cookie-consent-show-prefs,
.cookie-consent-save-prefs {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}
.cookie-consent-refuse:hover,
.cookie-consent-prefs:hover,
.cookie-consent-show-prefs:hover,
.cookie-consent-save-prefs:hover {
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
}
/* Panneau préférences (caché par défaut) */
.cookie-consent-preferences {
  display: none;
  margin: 1.25rem 0 1rem;
}
.cookie-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fafafa;
}
.cookie-consent-row:last-of-type { margin-bottom: 0; }
.cookie-consent-cat-name {
  font-weight: 600;
  color: #111827;
}
.cookie-consent-always-on {
  font-size: 0.875rem;
  color: #059669;
  font-weight: 500;
}
/* Toggle (interrupteur) */
.cookie-consent-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-consent-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-consent-toggle-slider {
  position: absolute;
  inset: 0;
  background: #dc2626;
  border-radius: 24px;
  transition: 0.25s ease;
}
.cookie-consent-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-consent-toggle-input:checked + .cookie-consent-toggle-slider {
  background: #059669;
}
.cookie-consent-toggle-input:checked + .cookie-consent-toggle-slider::before {
  transform: translateX(20px);
}
.cookie-consent-toggle-input:focus-visible + .cookie-consent-toggle-slider {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}
.cookie-consent-buttons-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0;
}
.cookie-consent-links {
  margin: 0;
  font-size: 0.875rem;
}
.cookie-consent-links a {
  color: #1e40af;
  text-decoration: underline;
}
.cookie-consent-links a:hover {
  color: #1e3a8a;
}

/* Page contenu légal (politique cookies, etc.) */
.page-legal { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-legal h2 { margin: 1.5rem 0 0.5rem; font-size: 1.125rem; color: #0f172a; }
.page-legal ul { margin: 0.5rem 0 1rem; padding-left: 1.5rem; }
.page-legal-intro { margin-bottom: 1.5rem; }
.page-legal .cookie-table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--color-border); border-radius: var(--radius); }
.page-legal .cookie-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.page-legal .cookie-table th,
.page-legal .cookie-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.page-legal .cookie-table th { background: var(--color-bg-alt); font-weight: 600; color: var(--color-text); }
.page-legal .cookie-table tr:last-child td { border-bottom: 0; }
.page-legal .cookie-table .cookie-cat { font-weight: 600; }
.page-legal .cookie-table .cookie-note { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.page-legal .page-legal-contact { margin: 0.75rem 0 1.5rem; padding: 1rem 1.25rem; background: var(--color-bg-alt); border-radius: var(--radius); line-height: 1.7; }
.page-legal h3 { margin: 1rem 0 0.35rem; font-size: 1rem; font-weight: 600; color: var(--color-text); }

/* Home simplifiee : plus lisible, moins dense */
.section-services .carousel-content-description {
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.section-posture .posture-inner,
.section-tallentis .tallentis-inner,
.section-about .about-inner {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.posture-impact {
  text-align: center;
  max-width: 100% !important;
}

.posture-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.section-posture .posture-card {
  background: #f3f6fb;
  border: 1px solid #d9e2ee;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.posture-card-strong {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #111827;
  font-weight: 600;
  max-width: 34ch;
}

.tallentis-logo-wrap {
  display: flex;
  justify-content: center;
}

.tallentis-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.tallentis-logo-link .tallentis-logo {
  width: min(100%, 360px);
  height: auto;
}

.tallentis-logo-svg {
  width: min(100%, 360px);
  height: auto;
  display: block;
}

.tallentis-content > p {
  max-width: 62ch;
}

.tallentis-list.tallentis-list-points {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.section-about .about-inner {
  grid-template-columns: 1fr;
  max-width: 860px;
  padding: 4.5rem clamp(1.5rem, 4vw, 3rem);
  background: #f5f7fa;
  border: 1px solid #dbe4eb;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.section-about .about-col-text {
  max-width: 100%;
}

.section-about {
  background: #fff;
}

@media (max-width: 768px) {
  .section-posture .posture-inner,
  .section-tallentis .tallentis-inner,
  .section-about .about-inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-about .about-inner {
    padding: 3rem 1.25rem;
  }
}

/* ==========================================================
   THEMES SERVICES : cohesion listing + pages detaillees
   ========================================================== */

/* Page listing services : tuiles teintees par service */
.page-services-list .section-services-page {
  background: #fff !important;
}

.page-services-list .section-services-page .section-inner {
  max-width: min(1200px, 100%);
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Grille : 1 col mobile, 2 cols tablette, max 3 cols desktop */
.page-services-list .services-page-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .page-services-list .section-services-page .section-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .page-services-list .services-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .page-services-list .services-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 2.5vw, 2.5rem);
  }
}

.page-services-list .services-page-card {
  border: 1px solid #e5e7eb;
  border-top-width: 4px;
  border-top-style: solid;
  border-radius: 18px;
  min-height: clamp(280px, 50vh, 560px);
  min-width: 0;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .page-services-list .services-page-card {
    padding: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .page-services-list .services-page-card {
    min-height: clamp(380px, 55vh, 560px);
    padding: 2rem;
  }
}

.page-services-list .services-page-card-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}

.page-services-list .services-page-card:nth-child(1) { background: #eef4ff; border-top-color: #2563eb; }
.page-services-list .services-page-card:nth-child(2) { background: #fff7ed; border-top-color: #f59e0b; }
.page-services-list .services-page-card:nth-child(3) { background: #f5f3ff; border-top-color: #7c3aed; }
.page-services-list .services-page-card:nth-child(4) { background: #ecfeff; border-top-color: #06b6d4; }
.page-services-list .services-page-card:nth-child(5) { background: #ecfdf5; border-top-color: #10b981; }
.page-services-list .services-page-card:nth-child(6) { background: #f1f5f9; border-top-color: #334155; }

.page-services-list .services-page-card:nth-child(1):hover { border-color: #2563eb; }
.page-services-list .services-page-card:nth-child(2):hover { border-color: #f59e0b; }
.page-services-list .services-page-card:nth-child(3):hover { border-color: #7c3aed; }
.page-services-list .services-page-card:nth-child(4):hover { border-color: #06b6d4; }
.page-services-list .services-page-card:nth-child(5):hover { border-color: #10b981; }
.page-services-list .services-page-card:nth-child(6):hover { border-color: #334155; }

.page-services-list .services-page-card .btn-secondary {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
}

.page-services-list .services-page-card .btn-secondary:hover {
  background: #0a4710;
  border-color: #0a4710;
  color: #fff;
}

/* Variables de theme par page service */
.theme-audit {
  --theme-bg: #eef4ff;
  --theme-accent: #2563eb;
  --theme-accent-soft: rgba(37, 99, 235, 0.14);
}

.theme-lpd {
  --theme-bg: #fff7ed;
  --theme-accent: #f59e0b;
  --theme-accent-soft: rgba(245, 158, 11, 0.16);
}

.theme-msp {
  --theme-bg: #f5f3ff;
  --theme-accent: #7c3aed;
  --theme-accent-soft: rgba(124, 58, 237, 0.14);
}

.theme-devweb {
  --theme-bg: #ecfeff;
  --theme-accent: #06b6d4;
  --theme-accent-soft: rgba(6, 182, 212, 0.15);
}

.theme-accompagnement {
  --theme-bg: #ecfdf5;
  --theme-accent: #10b981;
  --theme-accent-soft: rgba(16, 185, 129, 0.14);
}

.theme-suivi {
  --theme-bg: #f1f5f9;
  --theme-accent: #334155;
  --theme-accent-soft: rgba(51, 65, 85, 0.16);
}

.theme-projetos {
  --theme-bg: #e0e7ff;
  --theme-accent: #4f46e5;
  --theme-accent-soft: rgba(79, 70, 229, 0.14);
}
.theme-infra {
  --theme-bg: #dbeafe;
  --theme-accent: #2563eb;
  --theme-accent-soft: rgba(37, 99, 235, 0.14);
}
.theme-m365 {
  --theme-bg: #e0f2fe;
  --theme-accent: #0284c7;
  --theme-accent-soft: rgba(2, 132, 199, 0.14);
}
.theme-cyber {
  --theme-bg: #fee2e2;
  --theme-accent: #dc2626;
  --theme-accent-soft: rgba(220, 38, 38, 0.14);
}
.theme-redes {
  --theme-bg: #f1f5f9;
  --theme-accent: #475569;
  --theme-accent-soft: rgba(71, 85, 105, 0.16);
}
.theme-suporte {
  --theme-bg: #d1fae5;
  --theme-accent: #059669;
  --theme-accent-soft: rgba(5, 150, 105, 0.14);
}
/* Pages secteurs (PME, Startups, etc.) : même rendu que les pages services */
.theme-setores {
  --theme-bg: #dcfce7;
  --theme-accent: #0e5a12;
  --theme-accent-soft: rgba(14, 90, 18, 0.12);
}
.theme-setores .section-inner {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.theme-setores .service-hero {
  padding: 4rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--theme-bg) 0%, #ffffff 170%) !important;
}
.theme-setores .service-hero .section-inner {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.theme-setores .service-hero h1 {
  text-align: center;
}
.theme-setores .service-hero-text {
  max-width: 152ch;
  margin-left: auto;
  margin-right: auto;
}
.theme-setores .service-section-title {
  position: relative;
  padding-bottom: 0.55rem;
  color: #111827;
  text-align: center;
}
.theme-setores .service-section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: var(--theme-accent);
}
.theme-setores main .section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.theme-setores main .section:nth-of-type(2),
.theme-setores main .section:nth-of-type(4),
.theme-setores main .section:nth-of-type(6) {
  background: var(--theme-bg) !important;
}
.theme-setores main .section:nth-of-type(3),
.theme-setores main .section:nth-of-type(5) {
  background: #fff !important;
}

/* Alternance et rythme des sections */
.theme-audit .service-hero,
.theme-lpd .service-hero,
.theme-msp .service-hero,
.theme-devweb .service-hero,
.theme-accompagnement .service-hero,
.theme-suivi .service-hero,
.theme-projetos .service-hero,
.theme-infra .service-hero,
.theme-m365 .service-hero,
.theme-cyber .service-hero,
.theme-redes .service-hero,
.theme-suporte .service-hero,
.theme-audit .service-why,
.theme-lpd .service-why,
.theme-msp .service-why,
.theme-devweb .service-why,
.theme-accompagnement .service-why,
.theme-suivi .service-why,
.theme-projetos .service-why,
.theme-infra .service-why,
.theme-m365 .service-why,
.theme-cyber .service-why,
.theme-redes .service-why,
.theme-suporte .service-why,
.theme-audit .service-method,
.theme-lpd .service-method,
.theme-msp .service-method,
.theme-devweb .service-method,
.theme-accompagnement .service-method,
.theme-suivi .service-method,
.theme-projetos .service-method,
.theme-infra .service-method,
.theme-m365 .service-method,
.theme-cyber .service-method,
.theme-redes .service-method,
.theme-suporte .service-method {
  background: var(--theme-bg) !important;
}

.theme-audit .service-perimeter,
.theme-lpd .service-perimeter,
.theme-msp .service-perimeter,
.theme-devweb .service-perimeter,
.theme-accompagnement .service-perimeter,
.theme-suivi .service-perimeter,
.theme-projetos .service-perimeter,
.theme-infra .service-perimeter,
.theme-m365 .service-perimeter,
.theme-cyber .service-perimeter,
.theme-redes .service-perimeter,
.theme-suporte .service-perimeter,
.theme-audit .service-deliverables,
.theme-lpd .service-deliverables,
.theme-msp .service-deliverables,
.theme-devweb .service-deliverables,
.theme-accompagnement .service-deliverables,
.theme-suivi .service-deliverables,
.theme-projetos .service-deliverables,
.theme-infra .service-deliverables,
.theme-m365 .service-deliverables,
.theme-cyber .service-deliverables,
.theme-redes .service-deliverables,
.theme-suporte .service-deliverables,
.theme-audit .service-faq,
.theme-lpd .service-faq,
.theme-msp .service-faq,
.theme-devweb .service-faq,
.theme-accompagnement .service-faq,
.theme-suivi .service-faq,
.theme-projetos .service-faq,
.theme-infra .service-faq,
.theme-m365 .service-faq,
.theme-cyber .service-faq,
.theme-redes .service-faq,
.theme-suporte .service-faq {
  background: #fff !important;
}

.theme-audit .service-perimeter + .service-perimeter,
.theme-lpd .service-perimeter + .service-perimeter,
.theme-msp .service-perimeter + .service-perimeter,
.theme-devweb .service-perimeter + .service-perimeter,
.theme-accompagnement .service-perimeter + .service-perimeter,
.theme-suivi .service-perimeter + .service-perimeter,
.theme-projetos .service-perimeter + .service-perimeter,
.theme-infra .service-perimeter + .service-perimeter,
.theme-m365 .service-perimeter + .service-perimeter,
.theme-cyber .service-perimeter + .service-perimeter,
.theme-redes .service-perimeter + .service-perimeter,
.theme-suporte .service-perimeter + .service-perimeter {
  background: var(--theme-bg) !important;
}

/* LPD : section périmètre en blanc, tuiles en teinte LPD */
.theme-lpd .service-perimeter {
  background: #fff !important;
}
.theme-lpd .service-perimeter .service-card {
  background: var(--theme-bg);
  border-color: var(--theme-accent-soft);
}

.theme-audit .service-hero,
.theme-lpd .service-hero,
.theme-msp .service-hero,
.theme-devweb .service-hero,
.theme-accompagnement .service-hero,
.theme-suivi .service-hero,
.theme-projetos .service-hero,
.theme-infra .service-hero,
.theme-m365 .service-hero,
.theme-cyber .service-hero,
.theme-redes .service-hero,
.theme-suporte .service-hero,
.theme-audit .service-why,
.theme-lpd .service-why,
.theme-msp .service-why,
.theme-devweb .service-why,
.theme-accompagnement .service-why,
.theme-suivi .service-why,
.theme-projetos .service-why,
.theme-infra .service-why,
.theme-m365 .service-why,
.theme-cyber .service-why,
.theme-redes .service-why,
.theme-suporte .service-why,
.theme-audit .service-perimeter,
.theme-lpd .service-perimeter,
.theme-msp .service-perimeter,
.theme-devweb .service-perimeter,
.theme-accompagnement .service-perimeter,
.theme-suivi .service-perimeter,
.theme-projetos .service-perimeter,
.theme-infra .service-perimeter,
.theme-m365 .service-perimeter,
.theme-cyber .service-perimeter,
.theme-redes .service-perimeter,
.theme-suporte .service-perimeter,
.theme-audit .service-method,
.theme-lpd .service-method,
.theme-msp .service-method,
.theme-devweb .service-method,
.theme-accompagnement .service-method,
.theme-suivi .service-method,
.theme-projetos .service-method,
.theme-infra .service-method,
.theme-m365 .service-method,
.theme-cyber .service-method,
.theme-redes .service-method,
.theme-suporte .service-method,
.theme-audit .service-deliverables,
.theme-lpd .service-deliverables,
.theme-msp .service-deliverables,
.theme-devweb .service-deliverables,
.theme-accompagnement .service-deliverables,
.theme-suivi .service-deliverables,
.theme-projetos .service-deliverables,
.theme-infra .service-deliverables,
.theme-m365 .service-deliverables,
.theme-cyber .service-deliverables,
.theme-redes .service-deliverables,
.theme-suporte .service-deliverables,
.theme-audit .service-faq,
.theme-lpd .service-faq,
.theme-msp .service-faq,
.theme-devweb .service-faq,
.theme-accompagnement .service-faq,
.theme-suivi .service-faq,
.theme-projetos .service-faq,
.theme-infra .service-faq,
.theme-m365 .service-faq,
.theme-cyber .service-faq,
.theme-redes .service-faq,
.theme-suporte .service-faq {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Titres : barre de theme sous H2/H3 */
.theme-audit .service-section-title,
.theme-lpd .service-section-title,
.theme-msp .service-section-title,
.theme-devweb .service-section-title,
.theme-accompagnement .service-section-title,
.theme-suivi .service-section-title,
.theme-projetos .service-section-title,
.theme-infra .service-section-title,
.theme-m365 .service-section-title,
.theme-cyber .service-section-title,
.theme-redes .service-section-title,
.theme-suporte .service-section-title {
  position: relative;
  padding-bottom: 0.55rem;
  color: #111827;
}

.theme-audit .service-section-title::after,
.theme-lpd .service-section-title::after,
.theme-msp .service-section-title::after,
.theme-devweb .service-section-title::after,
.theme-accompagnement .service-section-title::after,
.theme-suivi .service-section-title::after,
.theme-projetos .service-section-title::after,
.theme-infra .service-section-title::after,
.theme-m365 .service-section-title::after,
.theme-cyber .service-section-title::after,
.theme-redes .service-section-title::after,
.theme-suporte .service-section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: var(--theme-accent);
}

/* Cartes internes harmonisees avec la page Services */
.theme-audit .service-card,
.theme-lpd .service-card,
.theme-msp .service-card,
.theme-devweb .service-card,
.theme-accompagnement .service-card,
.theme-suivi .service-card,
.theme-projetos .service-card,
.theme-infra .service-card,
.theme-m365 .service-card,
.theme-cyber .service-card,
.theme-redes .service-card,
.theme-suporte .service-card,
.theme-audit .service-step,
.theme-lpd .service-step,
.theme-msp .service-step,
.theme-devweb .service-step,
.theme-accompagnement .service-step,
.theme-suivi .service-step,
.theme-projetos .service-step,
.theme-infra .service-step,
.theme-m365 .service-step,
.theme-cyber .service-step,
.theme-redes .service-step,
.theme-suporte .service-step,
.theme-audit .service-deliverables-block,
.theme-lpd .service-deliverables-block,
.theme-msp .service-deliverables-block,
.theme-devweb .service-deliverables-block,
.theme-accompagnement .service-deliverables-block,
.theme-suivi .service-deliverables-block,
.theme-projetos .service-deliverables-block,
.theme-infra .service-deliverables-block,
.theme-m365 .service-deliverables-block,
.theme-cyber .service-deliverables-block,
.theme-redes .service-deliverables-block,
.theme-suporte .service-deliverables-block {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.theme-audit .service-card::before,
.theme-lpd .service-card::before,
.theme-msp .service-card::before,
.theme-devweb .service-card::before,
.theme-accompagnement .service-card::before,
.theme-suivi .service-card::before,
.theme-projetos .service-card::before,
.theme-infra .service-card::before,
.theme-m365 .service-card::before,
.theme-cyber .service-card::before,
.theme-redes .service-card::before,
.theme-suporte .service-card::before,
.theme-audit .service-step::before,
.theme-lpd .service-step::before,
.theme-msp .service-step::before,
.theme-devweb .service-step::before,
.theme-accompagnement .service-step::before,
.theme-suivi .service-step::before,
.theme-projetos .service-step::before,
.theme-infra .service-step::before,
.theme-m365 .service-step::before,
.theme-cyber .service-step::before,
.theme-redes .service-step::before,
.theme-suporte .service-step::before,
.theme-audit .service-deliverables-block::before,
.theme-lpd .service-deliverables-block::before,
.theme-msp .service-deliverables-block::before,
.theme-devweb .service-deliverables-block::before,
.theme-accompagnement .service-deliverables-block::before,
.theme-suivi .service-deliverables-block::before,
.theme-projetos .service-deliverables-block::before,
.theme-infra .service-deliverables-block::before,
.theme-m365 .service-deliverables-block::before,
.theme-cyber .service-deliverables-block::before,
.theme-redes .service-deliverables-block::before,
.theme-suporte .service-deliverables-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--theme-accent);
}

.theme-audit .service-card-icon,
.theme-lpd .service-card-icon,
.theme-msp .service-card-icon,
.theme-devweb .service-card-icon,
.theme-accompagnement .service-card-icon,
.theme-suivi .service-card-icon,
.theme-projetos .service-card-icon,
.theme-infra .service-card-icon,
.theme-m365 .service-card-icon,
.theme-cyber .service-card-icon,
.theme-redes .service-card-icon,
.theme-suporte .service-card-icon {
  color: var(--theme-accent);
}

.theme-audit .service-step-num,
.theme-lpd .service-step-num,
.theme-msp .service-step-num,
.theme-devweb .service-step-num,
.theme-accompagnement .service-step-num,
.theme-suivi .service-step-num,
.theme-projetos .service-step-num,
.theme-infra .service-step-num,
.theme-m365 .service-step-num,
.theme-cyber .service-step-num,
.theme-redes .service-step-num,
.theme-suporte .service-step-num {
  background: var(--theme-accent);
  box-shadow: 0 0 0 4px var(--theme-accent-soft);
}

/* Priorite lisibilite : sections avec cartes blanches sur fond teinte */
.theme-audit .service-hero,
.theme-lpd .service-hero,
.theme-msp .service-hero,
.theme-devweb .service-hero,
.theme-accompagnement .service-hero,
.theme-suivi .service-hero,
.theme-projetos .service-hero,
.theme-infra .service-hero,
.theme-m365 .service-hero,
.theme-cyber .service-hero,
.theme-redes .service-hero,
.theme-suporte .service-hero {
  background: linear-gradient(180deg, var(--theme-bg) 0%, #ffffff 170%) !important;
}

.theme-audit .service-why,
.theme-lpd .service-why,
.theme-msp .service-why,
.theme-devweb .service-why,
.theme-accompagnement .service-why,
.theme-suivi .service-why,
.theme-projetos .service-why,
.theme-infra .service-why,
.theme-m365 .service-why,
.theme-cyber .service-why,
.theme-redes .service-why,
.theme-suporte .service-why,
.theme-audit .service-perimeter,
.theme-lpd .service-perimeter,
.theme-msp .service-perimeter,
.theme-devweb .service-perimeter,
.theme-accompagnement .service-perimeter,
.theme-suivi .service-perimeter,
.theme-projetos .service-perimeter,
.theme-infra .service-perimeter,
.theme-m365 .service-perimeter,
.theme-cyber .service-perimeter,
.theme-redes .service-perimeter,
.theme-suporte .service-perimeter,
.theme-audit .service-method,
.theme-lpd .service-method,
.theme-msp .service-method,
.theme-devweb .service-method,
.theme-accompagnement .service-method,
.theme-suivi .service-method,
.theme-projetos .service-method,
.theme-infra .service-method,
.theme-m365 .service-method,
.theme-cyber .service-method,
.theme-redes .service-method,
.theme-suporte .service-method,
.theme-audit .service-deliverables,
.theme-lpd .service-deliverables,
.theme-msp .service-deliverables,
.theme-devweb .service-deliverables,
.theme-accompagnement .service-deliverables,
.theme-suivi .service-deliverables,
.theme-projetos .service-deliverables,
.theme-infra .service-deliverables,
.theme-m365 .service-deliverables,
.theme-cyber .service-deliverables,
.theme-redes .service-deliverables,
.theme-suporte .service-deliverables {
  background: var(--theme-bg) !important;
}

/* Toutes pages service : sections "Pourquoi" + "Ce que vous obtenez" en blanc */
.theme-audit .service-why,
.theme-lpd .service-why,
.theme-msp .service-why,
.theme-devweb .service-why,
.theme-accompagnement .service-why,
.theme-suivi .service-why,
.theme-projetos .service-why,
.theme-infra .service-why,
.theme-m365 .service-why,
.theme-cyber .service-why,
.theme-redes .service-why,
.theme-suporte .service-why,
.theme-audit .service-deliverables,
.theme-lpd .service-deliverables,
.theme-msp .service-deliverables,
.theme-devweb .service-deliverables,
.theme-accompagnement .service-deliverables,
.theme-suivi .service-deliverables,
.theme-projetos .service-deliverables,
.theme-infra .service-deliverables,
.theme-m365 .service-deliverables,
.theme-cyber .service-deliverables,
.theme-redes .service-deliverables,
.theme-suporte .service-deliverables {
  background: #fff !important;
}

/* Toutes pages service : tuiles/bloc de ces sections avec couleur du theme */
.theme-audit .service-why .service-card,
.theme-lpd .service-why .service-card,
.theme-msp .service-why .service-card,
.theme-devweb .service-why .service-card,
.theme-accompagnement .service-why .service-card,
.theme-suivi .service-why .service-card,
.theme-projetos .service-why .service-card,
.theme-infra .service-why .service-card,
.theme-m365 .service-why .service-card,
.theme-cyber .service-why .service-card,
.theme-redes .service-why .service-card,
.theme-suporte .service-why .service-card,
.theme-audit .service-deliverables .service-deliverables-block,
.theme-lpd .service-deliverables .service-deliverables-block,
.theme-msp .service-deliverables .service-deliverables-block,
.theme-devweb .service-deliverables .service-deliverables-block,
.theme-accompagnement .service-deliverables .service-deliverables-block,
.theme-suivi .service-deliverables .service-deliverables-block,
.theme-projetos .service-deliverables .service-deliverables-block,
.theme-infra .service-deliverables .service-deliverables-block,
.theme-m365 .service-deliverables .service-deliverables-block,
.theme-cyber .service-deliverables .service-deliverables-block,
.theme-redes .service-deliverables .service-deliverables-block,
.theme-suporte .service-deliverables .service-deliverables-block {
  background: var(--theme-bg);
  border-color: var(--theme-accent-soft);
}

/* Override final LPD : "Périmètre couvert" blanc + tuiles teintees */
.theme-lpd .service-perimeter {
  background: #fff !important;
}

.theme-lpd .service-perimeter .service-card {
  background: var(--theme-bg) !important;
  border-color: var(--theme-accent-soft);
}

/* FAQ de chaque page service : fond colore selon le theme */
.theme-audit .service-faq,
.theme-lpd .service-faq,
.theme-msp .service-faq,
.theme-devweb .service-faq,
.theme-accompagnement .service-faq,
.theme-suivi .service-faq,
.theme-projetos .service-faq,
.theme-infra .service-faq,
.theme-m365 .service-faq,
.theme-cyber .service-faq,
.theme-redes .service-faq,
.theme-suporte .service-faq {
  background: #fff !important;
}

.theme-audit .service-faq .faq-wrapper,
.theme-lpd .service-faq .faq-wrapper,
.theme-msp .service-faq .faq-wrapper,
.theme-devweb .service-faq .faq-wrapper,
.theme-accompagnement .service-faq .faq-wrapper,
.theme-suivi .service-faq .faq-wrapper,
.theme-projetos .service-faq .faq-wrapper,
.theme-infra .service-faq .faq-wrapper,
.theme-m365 .service-faq .faq-wrapper,
.theme-cyber .service-faq .faq-wrapper,
.theme-redes .service-faq .faq-wrapper,
.theme-suporte .service-faq .faq-wrapper {
  background: var(--theme-bg);
  border: 1px solid var(--theme-accent-soft);
}

/* Externalisation proactive : alternance demandee blanc / couleur / blanc */
.theme-msp .service-perimeter {
  background: #fff !important;
}
.theme-msp .service-method {
  background: var(--theme-bg) !important;
}
.theme-msp .service-deliverables {
  background: #fff !important;
}

/* Override final MSP : modalites colorees + tuiles perimetre colorees */
body.page-msp.theme-msp section.service-method {
  background: var(--theme-bg) !important;
}

.theme-msp .service-perimeter .service-card {
  background: var(--theme-bg) !important;
  border-color: var(--theme-accent-soft);
}

/* Externalisation : "Modalités de collaboration" -> entrée depuis la gauche */
.theme-msp .service-method .service-step {
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.theme-msp .service-method.service-method-in-view .service-step {
  opacity: 1;
  transform: translateX(0);
}

.theme-msp .service-method.service-method-in-view .service-step:nth-child(1) { transition-delay: 0s; }
.theme-msp .service-method.service-method-in-view .service-step:nth-child(2) { transition-delay: 0.16s; }
.theme-msp .service-method.service-method-in-view .service-step:nth-child(3) { transition-delay: 0.32s; }
.theme-msp .service-method.service-method-in-view .service-step:nth-child(4) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .theme-msp .service-method .service-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Audit : "Notre méthode" -> entrée depuis la gauche */
.theme-audit .service-method .service-step {
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.theme-audit .service-method.service-method-in-view .service-step {
  opacity: 1;
  transform: translateX(0);
}

.theme-audit .service-method.service-method-in-view .service-step:nth-child(1) { transition-delay: 0s; }
.theme-audit .service-method.service-method-in-view .service-step:nth-child(2) { transition-delay: 0.16s; }
.theme-audit .service-method.service-method-in-view .service-step:nth-child(3) { transition-delay: 0.32s; }
.theme-audit .service-method.service-method-in-view .service-step:nth-child(4) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .theme-audit .service-method .service-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Dev Web : même principe que Audit/LPD/MSP avec code couleur cyan */
.theme-devweb .service-why {
  background: #fff !important;
}

.theme-devweb .service-perimeter:not(.service-perimeter-apps) {
  background: var(--theme-bg) !important;
}

.theme-devweb .service-perimeter:not(.service-perimeter-apps) .service-card {
  background: #fff !important;
  border-color: var(--theme-accent-soft);
}

.theme-devweb .service-perimeter-apps {
  background: #fff !important;
}

.theme-devweb .service-perimeter-apps .service-card {
  border-color: var(--theme-accent-soft);
}

.theme-devweb .service-perimeter-apps .service-card:nth-child(1) {
  background: #ecfeff !important;
}

.theme-devweb .service-perimeter-apps .service-card:nth-child(2) {
  background: #e8f9ff !important;
}

.theme-devweb .service-perimeter-apps .service-card:nth-child(3) {
  background: #eefdf7 !important;
}

.theme-devweb .service-perimeter-apps .service-card:nth-child(4) {
  background: #f0f9ff !important;
}

.theme-devweb .service-perimeter-apps .service-card:nth-child(5) {
  background: #f0fdfa !important;
  border-color: var(--theme-accent-soft);
}

/* Dev Web - Applications metier : fond blanc section + tuiles couleur unique de la page */
.theme-devweb .service-perimeter-apps {
  background: #fff !important;
}

.theme-devweb .service-perimeter-apps .service-card,
.theme-devweb .service-perimeter-apps .service-card:nth-child(1),
.theme-devweb .service-perimeter-apps .service-card:nth-child(2),
.theme-devweb .service-perimeter-apps .service-card:nth-child(3),
.theme-devweb .service-perimeter-apps .service-card:nth-child(4),
.theme-devweb .service-perimeter-apps .service-card:nth-child(5) {
  background: var(--theme-bg) !important;
  border-color: var(--theme-accent-soft);
}

.theme-devweb .service-method {
  background: var(--theme-bg) !important;
}

.theme-devweb .service-method .service-step {
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.theme-devweb .service-method.service-method-in-view .service-step {
  opacity: 1;
  transform: translateX(0);
}

.theme-devweb .service-method.service-method-in-view .service-step:nth-child(1) { transition-delay: 0s; }
.theme-devweb .service-method.service-method-in-view .service-step:nth-child(2) { transition-delay: 0.16s; }
.theme-devweb .service-method.service-method-in-view .service-step:nth-child(3) { transition-delay: 0.32s; }
.theme-devweb .service-method.service-method-in-view .service-step:nth-child(4) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .theme-devweb .service-method .service-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* VERROU FINAL DEV-WEB (priorite max) */
body.page-devweb.theme-devweb section.service-perimeter.service-perimeter-apps {
  background: #fff !important;
}

body.page-devweb.theme-devweb section.service-perimeter.service-perimeter-apps .service-card {
  background: var(--theme-bg) !important;
  border-color: var(--theme-accent-soft) !important;
}

/* Accompagnement : "Comment nous intervenons" -> section blanche, tuiles couleur de page */
body.page-accompagnement.theme-accompagnement section.service-method {
  background: #fff !important;
}

body.page-accompagnement.theme-accompagnement section.service-method .service-step {
  background: var(--theme-bg) !important;
  border-color: var(--theme-accent-soft) !important;
}

/* Accompagnement : Domaines d'optimisation -> tuiles blanches avec accents de page */
body.page-accompagnement.theme-accompagnement section.service-perimeter .service-card {
  background: #fff !important;
  border-color: var(--theme-accent-soft) !important;
}

/* Suivi operationnel : "Comment nous intervenons" -> section blanche, tuiles couleur de page */
body.page-suivi-operationnel.theme-suivi section.service-method {
  background: #fff !important;
}

body.page-suivi-operationnel.theme-suivi section.service-method .service-step {
  background: var(--theme-bg) !important;
  border-color: var(--theme-accent-soft) !important;
}
