/* ========================================
   PAGES - Styles partagés + layouts uniques
   ======================================== */

/* --- Navbar transparent sur hero coloré (pages internes) --- */
.subpage .navbar:not(.scrolled) .nav-links a:not(.mega-item):not(.btn) {
  color: rgba(255, 255, 255, 0.88);
}
.subpage .navbar:not(.scrolled) .nav-links a:not(.mega-item):not(.btn):hover,
.subpage .navbar:not(.scrolled) .nav-links a:not(.mega-item):not(.btn).active {
  color: #fff;
}
.subpage .navbar:not(.scrolled) .mega-item {
  color: var(--grey);
}
.subpage .navbar:not(.scrolled) .mega-cta .btn-white {
  color: var(--teal) !important;
}
.subpage .navbar:not(.scrolled) .nav-hotline {
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal) !important;
}
.subpage .navbar:not(.scrolled) .nav-hotline:hover {
  background: #fff;
}
.subpage .navbar:not(.scrolled) .nav-hotline-icon {
  filter: none;
}
.subpage .navbar:not(.scrolled) .nav-logo-img {
  filter: brightness(0) invert(1);
}
.subpage .navbar:not(.scrolled) .nav-toggle span {
  background: #fff;
}
.subpage .navbar:not(.scrolled) .dropdown-arrow path {
  stroke: rgba(255, 255, 255, 0.88);
}

/* --- Overrides mobile : panneau nav toujours blanc --- */
@media (max-width: 768px) {
  /* Liens dans le panneau : toujours foncés */
  .subpage .navbar:not(.scrolled) .nav-links a:not(.mega-item):not(.btn) { color: var(--grey); }
  .subpage .navbar:not(.scrolled) .nav-links a:not(.mega-item):not(.btn):hover { color: var(--teal); }
  /* Flèche dans le panneau : toujours visible foncée */
  .subpage .navbar:not(.scrolled) .dropdown-arrow path { stroke: var(--grey); }
  /* Hotline : fixe, sans changement au scroll */
  .subpage .navbar .nav-hotline,
  .subpage .navbar.scrolled .nav-hotline { background: var(--cyan-pale) !important; color: var(--teal) !important; border: 1px solid rgba(71,153,163,0.2); }
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 24px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.breadcrumb .current { color: var(--white); font-weight: 500; }

/* --- Page Hero --- */
.page-hero {
  height: 500px;
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}

.page-hero--conseil {
  background: linear-gradient(135deg, var(--teal), #3a8a94);
}
.page-hero--operateur {
  background: linear-gradient(135deg, #3996a4, var(--cyan));
}
.page-hero--services {
  background: linear-gradient(160deg, var(--grey), #4a4a4a);
}
.page-hero--distribution {
  background: linear-gradient(135deg, #2d8a95, var(--teal));
}
.page-hero--ia {
  background: linear-gradient(135deg, var(--cyan), var(--teal) 55%, var(--grey));
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: 400px;
  height: 400px;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.06) 10px,
      rgba(255, 255, 255, 0.06) 11.5px
    );
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.65;
}

/* --- Sections --- */
.page-section {
  padding: 80px 0;
}

.intro-text {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.intro-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
}
.intro-text strong {
  color: var(--teal);
}

/* ========================================
   CONSEIL - Zigzag layout
   ======================================== */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.zigzag-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
}

.zigzag-item--reverse {
  grid-template-columns: 1fr 200px;
}
.zigzag-item--reverse .zigzag-visual {
  order: 2;
}
.zigzag-item--reverse .zigzag-content {
  order: 1;
  text-align: right;
}
.zigzag-item--reverse .zigzag-number {
  margin-left: auto;
}

.zigzag-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 160px;
  background: var(--cyan-pale);
  border-radius: 16px;
}
.zigzag-visual img {
  width: 72px;
  height: 72px;
}

.zigzag-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan-light);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.zigzag-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 10px;
}

.zigzag-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   OPERATEUR - Stack cards
   ======================================== */
.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s ease;
}
.stack-card:hover {
  border-color: rgba(87, 199, 212, 0.3);
  box-shadow: 0 4px 24px rgba(71, 153, 163, 0.06);
}

.stack-card--highlight {
  background: var(--cyan-pale);
  border-color: rgba(87, 199, 212, 0.25);
}

.stack-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.stack-card-body h2,
.stack-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 8px;
}

.stack-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.stack-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-card-tags span {
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--cyan-pale);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
}

.stack-card--highlight .stack-card-tags span {
  background: rgba(255,255,255,0.7);
}

/* ========================================
   SERVICES - Features grid with metrics
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: rgba(87, 199, 212, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(71, 153, 163, 0.06);
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.feature-top h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--grey);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

.feature-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.feature-metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}

.feature-metric-label {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ========================================
   DISTRIBUTION - Timeline
   ======================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--dark));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.timeline-item .timeline-card {
  grid-column: 1;
}

.timeline-item--right .timeline-card {
  grid-column: 2;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.timeline-card:hover {
  border-color: rgba(87, 199, 212, 0.3);
  box-shadow: 0 4px 20px rgba(71, 153, 163, 0.06);
}

.timeline-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.timeline-card-head h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--grey);
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ========================================
   CTA sections
   ======================================== */
.page-cta {
  padding: 80px 0;
  background: var(--bg);
}
.page-cta--teal {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}
.page-cta--teal h2, .page-cta--teal p { color: var(--white); }
.page-cta--grey {
  background: var(--grey);
}
.page-cta--grey h2, .page-cta--grey p { color: var(--white); }

.page-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.page-cta-inner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-cta-inner p {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 28px;
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  padding: 14px 36px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-white:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .page-hero { height: auto; padding: 120px 0 56px; }
  .page-hero h1 { font-size: 1.8rem; }

  .zigzag-item,
  .zigzag-item--reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .zigzag-item--reverse .zigzag-visual { order: 0; }
  .zigzag-item--reverse .zigzag-content { order: 0; text-align: left; }
  .zigzag-item--reverse .zigzag-number { margin-left: 0; }
  .zigzag-visual { width: 100%; height: 120px; }

  .stack-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stack-card-icon {
    width: 48px;
    height: 48px;
  }

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

  .timeline-line { left: 20px; }
  .timeline-item,
  .timeline-item--right {
    grid-template-columns: 1fr;
    padding-left: 48px;
  }
  .timeline-item .timeline-card,
  .timeline-item--right .timeline-card {
    grid-column: 1;
  }
  .timeline-dot {
    left: 20px;
  }
}

/* ========================================
   CONFIDENTIALITE
   ======================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 0 80px;
}
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan-pale);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content strong { color: var(--grey); }
.legal-content a { color: var(--teal); }
.legal-content a:hover { text-decoration: underline; }
  

/* ========================================
   CONSEIL
   ======================================== */
/* ---- Conseil cards grid ---- */
.conseil-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.conseil-card {
  grid-column: span 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.conseil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}
.conseil-card:hover {
  box-shadow: 0 8px 32px rgba(71,153,163,0.10);
  transform: translateY(-4px);
  border-color: rgba(87,199,212,0.3);
}
.conseil-card:hover::before { opacity: 1; }

/* Cards 4 & 5 centred in last row (6-col grid trick) */
.conseil-card:nth-child(4) { grid-column: 2 / span 2; }
.conseil-card:nth-child(5) { grid-column: 4 / span 2; }

.conseil-num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -2px;
  opacity: 0.35;
}
.conseil-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 12px;
  line-height: 1.3;
}
.conseil-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 24px;
}
.conseil-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.conseil-tags span {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--cyan-pale);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ---- Méthode section ---- */
.methode-section {
  padding: 88px 0;
  background: var(--bg);
}
.methode-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.methode-steps::after {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  z-index: 0;
}
.methode-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.methode-step-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(71,153,163,0.25);
  flex-shrink: 0;
}
.methode-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 10px;
}
.methode-step p {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .conseil-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .conseil-card,
  .conseil-card:nth-child(4),
  .conseil-card:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 600px) {
  .conseil-grid {
    grid-template-columns: 1fr;
  }
  .conseil-card,
  .conseil-card:nth-child(4),
  .conseil-card:nth-child(5) {
    grid-column: span 1;
  }
  .methode-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .methode-steps::after { display: none; }
}
  

/* ========================================
   CONTACT
   ======================================== */
.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  max-width: 600px;
}
.info-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s ease;
}
.info-pill:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(71,153,163,0.08); }
.info-pill-icon {
  width: 44px; height: 44px;
  background: var(--cyan-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-pill-icon img { width: 22px; height: 22px; }
.info-pill-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-pill-value { font-size: 0.92rem; color: var(--grey); font-weight: 600; }
.info-pill-value a { color: inherit; }
.info-pill-value a:hover { color: var(--teal); }

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(71,153,163,0.06);
}
.contact-side {
  background: linear-gradient(160deg, var(--teal), var(--cyan));
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-side::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  background: repeating-linear-gradient(-55deg, transparent, transparent 10px, rgba(255,255,255,0.08) 10px, rgba(255,255,255,0.08) 11.5px);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.contact-side h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; color: var(--white); }
.contact-side p { font-size: 0.92rem; opacity: 0.92; line-height: 1.65; margin-bottom: 32px; }
.contact-commitments { list-style: none; padding: 0; position: relative; z-index: 1; }
.contact-commitments li {
  padding: 10px 0 10px 28px;
  font-size: 0.88rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-commitments li:last-child { border-bottom: none; }
.contact-commitments li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--white);
}

.contact-form-pane { padding: 48px 44px; }
.contact-form-pane h3 { font-size: 1.2rem; font-weight: 600; color: var(--grey); margin-bottom: 8px; }
.contact-form-pane .form-intro { font-size: 0.88rem; color: var(--text-light); margin-bottom: 28px; }
.contact-form-pane textarea { min-height: 140px; }
.contact-form-pane .btn-primary { width: 100%; justify-content: center; padding: 15px; font-size: 0.95rem; margin-top: 8px; }

/* Feedback formulaire de contact */
#form-feedback {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
  border: 1px solid transparent;
  animation: feedback-in 0.32s cubic-bezier(.21,.91,.42,1);
}
#form-feedback.success {
  background: linear-gradient(135deg, #ecfaf6 0%, #e6f7f9 100%);
  border-color: #b8e6dc;
  color: #126b5f;
}
#form-feedback.error {
  background: #fff3f3;
  border-color: #fac5c5;
  color: #b3261e;
}
.form-feedback-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.7);
  margin-top: 1px;
}
#form-feedback.success .form-feedback-icon { color: #138a6e; box-shadow: 0 0 0 2px rgba(19,138,110,0.15); }
#form-feedback.error   .form-feedback-icon { color: #c0392b; box-shadow: 0 0 0 2px rgba(192,57,43,0.15); }
.form-feedback-icon svg { width: 14px; height: 14px; display: block; }
.form-feedback-text { flex: 1; }

@keyframes feedback-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Spinner du bouton "Envoi en cours" */
#contact-submit.is-loading { cursor: wait; opacity: 0.85; }
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -2px;
  animation: btn-spin 0.65s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* État "Message envoyé" - bouton verrouillé après succès */
#contact-submit.is-sent,
#contact-submit.is-sent:hover,
#contact-submit.is-sent:focus {
  cursor: default;
  opacity: 1;
  background: linear-gradient(135deg, #2faa8a 0%, #3fbf95 100%);
  box-shadow: 0 4px 14px rgba(47,170,138,0.35);
  transform: none;
  pointer-events: none;
}
#contact-submit.is-sent .btn-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  animation: btn-check-pop 0.4s cubic-bezier(.21,.91,.42,1.4);
}
#contact-submit.is-sent .btn-check svg { width: 11px; height: 11px; display: block; }
@keyframes btn-check-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}

@media (max-width: 900px) {
  .contact-info-strip { grid-template-columns: 1fr; max-width: 100%; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-side { padding: 36px 28px; }
  .contact-form-pane { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .contact-info-strip { grid-template-columns: 1fr; }
}
  

/* ========================================
   DISTRIBUTION
   ======================================== */
.domains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.domain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.domain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.domain-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(71,153,163,0.10); }
.domain-card:hover::before { transform: scaleX(1); }
.domain-icon {
  width: 52px; height: 52px;
  background: var(--cyan-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.domain-icon img { width: 28px; height: 28px; }
.domain-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--grey); margin-bottom: 10px; }
.domain-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin-bottom: 14px; }
.domain-list { list-style: none; padding: 0; }
.domain-list li {
  font-size: 0.82rem;
  color: var(--grey);
  padding: 6px 0 6px 20px;
  position: relative;
}
.domain-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.process-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px 24px;
  transition: all 0.3s ease;
}
.process-card:hover {
  border-color: rgba(87, 199, 212, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(71, 153, 163, 0.08);
}
.process-num {
  position: absolute;
  top: -14px; left: 24px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
}
.process-card img { width: 40px; height: 40px; margin-bottom: 14px; }
.process-card h3 { font-size: 1rem; font-weight: 600; color: var(--grey); margin-bottom: 10px; }
.process-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; }
.engagements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.engagement-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.engagement-value {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.engagement-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}
.partners-section { background: var(--bg); padding: 72px 0; }
.partners-marquee-wrap {
  overflow: hidden;
  margin-top: 48px;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.partners-marquee-wrap:hover .partners-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 160px;
  flex: 0 0 160px;
  border-radius: 16px;
  flex-shrink: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.partner-logo:hover {
  transform: translateY(-3px);
}
.partner-logo img {
  height: 38px;
  width: auto;
  max-width: 120px;
  filter: grayscale(100%) contrast(0.7) brightness(1.1);
  transition: filter 0.3s ease;
  object-fit: contain;
}
.partner-logo:hover img { filter: none; }
@media (max-width: 900px) {
  .domains-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .engagements { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .domains-grid, .process-grid { grid-template-columns: 1fr; }
}
  

/* ========================================
   EQUIPE
   ======================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(71,153,163,0.1); }
.team-photo { width: 100%; padding: 24px 0 0; display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); }
.team-initials { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #4799a3, #57c7d4); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; font-family: 'Poppins', sans-serif; letter-spacing: 1px; }
.team-info { padding: 16px 20px 20px; text-align: center; }
.team-info h3 { font-size: 1rem; font-weight: 600; color: var(--grey); margin-bottom: 4px; }
.team-info .team-role { font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.team-info p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
  


.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.page-section--tight { padding-top: 32px; }
.apropos-bg { background-image: url("../assets/bg-pattern-blue.jpg"); }

@media (max-width: 900px) {
  .conseil-grid { grid-template-columns: repeat(2, 1fr); }
  .conseil-card, .conseil-card:nth-child(4), .conseil-card:nth-child(5) { grid-column: span 1; }
  .methode-steps { grid-template-columns: 1fr; gap: 40px; }
  .methode-steps::after { display: none; }
  .contact-info-strip { grid-template-columns: 1fr; max-width: 100%; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-side { padding: 36px 28px; }
  .contact-form-pane { padding: 36px 28px; }
  .domains-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .engagements { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .conseil-grid { grid-template-columns: 1fr; } .domains-grid, .process-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-info-strip { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
