/* =================================================================================
   pages-enhancements.css — Styles pour pages internes
   (À propos, Réalisations, Blog, Catégories) — extraits/améliorés depuis _pages.scss
   Chargé après ui-enhancements.css.
   ================================================================================= */

/* ════════════════════════════════════════════════════════════════════════════════
   1. ABOUT-HERO (utilisé par Réalisations + À propos)
   ════════════════════════════════════════════════════════════════════════════════ */

.about-hero {
  position: relative;
  color: #fcfbfa;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #282c34 0%, #3a2418 50%, #5a2f1e 100%);
}

.about-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: heroZoomIn 14s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 44, 52, 0.85) 0%, rgba(40, 44, 52, 0.55) 50%, rgba(151, 81, 54, 0.55) 100%);
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero__content {
  max-width: 700px;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.about-hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #f5a623;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.25);
  animation: pulseDot 2s ease-in-out infinite;
}

.about-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero__accent {
  color: #d8a285;
  font-style: italic;
}

.about-hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.about-hero__lead strong {
  color: #ffffff;
  font-weight: 600;
}

.about-hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 580px) {
  .about-hero { min-height: 360px; padding-block: 3rem; }
  .about-hero__actions { flex-direction: column; align-items: stretch; }
  .about-hero__actions .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════════════════════
   2. SECTION VALUES (À propos — "Ce qui nous distingue")
   ════════════════════════════════════════════════════════════════════════════════ */

.section--values { background: #ffffff; }

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

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

.value-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid #eeeceb;
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #975136;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left;
}

.value-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(40, 44, 52, 0.10);
  transform: translateY(-6px);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover .value-card__icon { transform: scale(1.08) rotate(-4deg); }

.value-card--accent-primary::before { background: linear-gradient(90deg, #975136, #b8704f); }
.value-card--accent-danger::before  { background: linear-gradient(90deg, #d32f2f, #ef5350); }
.value-card--accent-success::before { background: linear-gradient(90deg, #2e7d32, #4caf50); }
.value-card--accent-info::before    { background: linear-gradient(90deg, #0288d1, #29b6f6); }

.value-card--accent-primary .value-card__icon { background: rgba(151, 81, 54, 0.10); color: #975136; }
.value-card--accent-danger  .value-card__icon { background: rgba(211, 47, 47, 0.10); color: #d32f2f; }
.value-card--accent-success .value-card__icon { background: rgba(46, 125, 50, 0.10); color: #2e7d32; }
.value-card--accent-info    .value-card__icon { background: rgba(2, 136, 209, 0.10); color: #0288d1; }

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(151, 81, 54, 0.08);
  color: #975136;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #282c34;
  line-height: 1.35;
}

.value-card__desc {
  font-size: 0.88rem;
  color: #6b645e;
  line-height: 1.6;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════════════════
   3. STORY SECTION (À propos)
   ════════════════════════════════════════════════════════════════════════════════ */

.section--story { background: #faf7f4; }

.story-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.story-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  color: #282c34;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}

.story-content p {
  color: #6b645e;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.story-content p strong {
  color: #282c34;
  font-weight: 600;
}

.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eeeceb;
}

.story-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #4d4843;
}

.story-highlight .svg-icon,
.story-highlight svg {
  color: #2e7d32;
  flex-shrink: 0;
}

.story-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(40, 44, 52, 0.14);
}

.story-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 380px;
  background: #eeeceb;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-image:hover .story-image__img { transform: scale(1.04); }

.story-image__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(40, 44, 52, 0.85));
  color: #ffffff;
  font-size: 0.85rem;
  padding: 2rem 1rem 1rem;
  font-weight: 500;
}

.story-image__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ffffff;
  border-radius: 14px;
  padding: 0.6rem 1rem;
  box-shadow: 0 8px 24px rgba(40, 44, 52, 0.18);
  text-align: center;
  line-height: 1;
}

.story-image__badge-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #975136;
  letter-spacing: -0.02em;
}

.story-image__badge-text {
  display: block;
  font-size: 0.62rem;
  color: #8a837d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════════════════════
   4. STATS BAR (À propos — section--stats sur fond sombre)
   ════════════════════════════════════════════════════════════════════════════════ */

.section--stats {
  background: linear-gradient(135deg, #282c34 0%, #3a2418 60%, #5a2f1e 100%);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.section--stats::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) { .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 360px) { .stats-bar { grid-template-columns: 1fr; } }

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 162, 133, 0.18);
  color: #d8a285;
  border-radius: 12px;
}

.stat-card__number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat-card__label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════════════════
   5. GALLERY (À propos — section--gallery)
   ════════════════════════════════════════════════════════════════════════════════ */

.section--gallery { background: #ffffff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #eeeceb;
  aspect-ratio: 4 / 3;
}

.gallery-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

@media (max-width: 480px) {
  .gallery-item--large { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(40, 44, 52, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item__label {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform 0.3s ease;
  letter-spacing: 0.02em;
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item:hover .gallery-item__label { transform: translateY(0); }

/* Toujours afficher le label sur mobile (pas de hover) */
@media (max-width: 768px) {
  .gallery-item__overlay { opacity: 1; background: linear-gradient(transparent 60%, rgba(40, 44, 52, 0.65) 100%); }
  .gallery-item__label { transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════════════════════════
   6. TEAM (À propos)
   ════════════════════════════════════════════════════════════════════════════════ */

.section--team { background: #faf7f4; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
}

@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 320px;
  border: 1px solid #eeeceb;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover {
  box-shadow: 0 16px 40px rgba(40, 44, 52, 0.10);
  transform: translateY(-6px);
}

.team-card__photo {
  width: 130px;
  height: 130px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(151, 81, 54, 0.25), 0 0 0 4px rgba(151, 81, 54, 0.12);
  background: #eeeceb;
  position: relative;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-card__photo img { transform: scale(1.08); }

.team-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #282c34;
}

.team-card__role {
  font-size: 0.85rem;
  color: #975136;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-card__detail {
  font-size: 0.82rem;
  color: #6b645e;
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════════════════
   7. CLIENTS / PARTNERS (À propos + Réalisations) — fond clair, texte sombre
   ════════════════════════════════════════════════════════════════════════════════ */

.section--clients { background: #faf7f4; }
.section--partners {
  background: #ffffff;
  border-top: 1px solid #eeeceb;
  border-bottom: 1px solid #eeeceb;
}

.clients-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .clients-grid, .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .clients-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

.client-card,
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #eeeceb;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  min-height: 76px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.partner-card { background: #faf7f4; }

.client-card:hover,
.partner-card:hover {
  background: #ffffff;
  border-color: #975136;
  box-shadow: 0 8px 22px rgba(151, 81, 54, 0.12);
  transform: translateY(-3px);
}

.client-card__name,
.partner-card__name {
  font-weight: 700;
  font-size: 0.78rem;
  color: #4d4843; /* sombre — JAMAIS orange */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.client-card:hover .client-card__name,
.partner-card:hover .partner-card__name {
  color: #975136;
}

/* ════════════════════════════════════════════════════════════════════════════════
   8. SERVICES (À propos)
   ════════════════════════════════════════════════════════════════════════════════ */

.section--services { background: #ffffff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #eeeceb;
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #975136;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(40, 44, 52, 0.10);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-4deg); }

.service-card--accent-primary .service-card__icon { background: rgba(151, 81, 54, 0.10); color: #975136; }
.service-card--accent-primary::before { background: linear-gradient(180deg, #975136, #b8704f); }
.service-card--accent-info .service-card__icon { background: rgba(2, 136, 209, 0.10); color: #0288d1; }
.service-card--accent-info::before { background: linear-gradient(180deg, #0288d1, #29b6f6); }
.service-card--accent-danger .service-card__icon { background: rgba(211, 47, 47, 0.10); color: #d32f2f; }
.service-card--accent-danger::before { background: linear-gradient(180deg, #d32f2f, #ef5350); }
.service-card--accent-success .service-card__icon { background: rgba(46, 125, 50, 0.10); color: #2e7d32; }
.service-card--accent-success::before { background: linear-gradient(180deg, #2e7d32, #4caf50); }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(151, 81, 54, 0.08);
  color: #975136;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card__content { flex: 1; min-width: 0; }

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #282c34;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.88rem;
  color: #6b645e;
  line-height: 1.6;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════════════════
   9. TECH (À propos)
   ════════════════════════════════════════════════════════════════════════════════ */

.section--tech { background: #faf7f4; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 768px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1rem;
  border: 1px solid #eeeceb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(40, 44, 52, 0.08);
}

.tech-item__title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #975136;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(151, 81, 54, 0.18);
}

.tech-item__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-item__list li {
  padding: 0.6rem 0 0.6rem 1.25rem;
  color: #4d4843;
  font-size: 0.88rem;
  border-bottom: 1px solid #eeeceb;
  position: relative;
  line-height: 1.5;
}

.tech-item__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #975136;
  box-shadow: 0 0 0 3px rgba(151, 81, 54, 0.15);
}

.tech-item__list li:last-child { border-bottom: none; }

/* ════════════════════════════════════════════════════════════════════════════════
   10. PROJECT SHOWCASE (Réalisations — projets phares alternés)
   ════════════════════════════════════════════════════════════════════════════════ */

.project-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(40, 44, 52, 0.04);
  border: 1px solid #eeeceb;
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.project-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #975136, #b8704f);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-showcase:hover {
  box-shadow: 0 16px 48px rgba(40, 44, 52, 0.10);
  border-color: rgba(151, 81, 54, 0.18);
  transform: translateY(-3px);
}

.project-showcase:hover::before { opacity: 1; }

.project-showcase--reverse { grid-template-columns: 0.9fr 1.1fr; }
.project-showcase--reverse .project-showcase__gallery { order: 2; }
.project-showcase--reverse .project-showcase__content { order: 1; }

.project-showcase__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.project-showcase__main-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f7f6f5;
  position: relative;
}

.project-showcase__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.project-showcase__main-img:hover img { transform: scale(1.06); }

.project-showcase__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.project-showcase__thumbs img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  background: #f7f6f5;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-showcase__thumbs img:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(40, 44, 52, 0.14);
}

.project-showcase__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-showcase__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(151, 81, 54, 0.08);
  color: #975136;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(151, 81, 54, 0.15);
}

.project-showcase__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: #282c34;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.project-showcase__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #6b645e;
  margin-bottom: 1.5rem;
}

.project-showcase__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eeeceb;
}

.project-showcase__meta-item strong {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a837d;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.project-showcase__meta-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #282c34;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .project-showcase, .project-showcase--reverse { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-showcase--reverse .project-showcase__gallery,
  .project-showcase--reverse .project-showcase__content { order: unset; }
}

@media (max-width: 580px) {
  .project-showcase {
    padding: 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
  }
  .project-showcase__meta { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ════════════════════════════════════════════════════════════════════════════════
   11. PROCESS STEPS (Réalisations — "Notre méthode")
   POLICE INTER FORCÉE — c'est le point critique signalé
   ════════════════════════════════════════════════════════════════════════════════ */

.section--process { background: #faf7f4; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 2rem;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 2.85rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ddd9d6 15%, #ddd9d6 85%, transparent);
  z-index: 0;
}

@media (max-width: 992px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eeeceb;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.process-step:hover {
  box-shadow: 0 14px 36px rgba(40, 44, 52, 0.10);
  border-color: rgba(151, 81, 54, 0.25);
  transform: translateY(-4px);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ddd9d6;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #8a837d;
  margin-bottom: 1rem;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  letter-spacing: -0.02em;
}

.process-step:hover .process-step__number {
  background: #975136;
  border-color: #975136;
  color: #ffffff;
  transform: scale(1.05);
}

/* ⚠️ CORRECTION POLICE — force Inter sur les titres process (au lieu d'un fallback) */
.process-step__title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #282c34 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  font-style: normal !important;
}

.process-step__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #6b645e;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════════════════
   12. SECTION CTA (fix bouton "Demander un devis" sur fond sombre)
   Le user signale : "fond orange + texte orange" illisible.
   Correction : fond blanc + texte orange.
   ════════════════════════════════════════════════════════════════════════════════ */

/* Quand le bouton primary est dans une section sombre (CTA), on l'inverse */
.section--cta .btn--primary,
.section--portfolio-cta .btn--primary {
  background: #ffffff !important;
  color: #975136 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
}

.section--cta .btn--primary:hover:not(:disabled),
.section--portfolio-cta .btn--primary:hover:not(:disabled) {
  background: #fcfbfa !important;
  color: #7a3f28 !important;
  border-color: #fcfbfa !important;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.32) !important;
  transform: translateY(-2px) !important;
}

/* Bouton outline dans CTA sombre : version light */
.section--cta .btn--outline,
.section--portfolio-cta .btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.section--cta .btn--outline:hover:not(:disabled),
.section--portfolio-cta .btn--outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════════════════════
   13. BLOG INDEX — bouton "Lire l'article" sur cartes
   ════════════════════════════════════════════════════════════════════════════════ */

.page-blog .container > h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  color: #282c34;
  line-height: 1.2;
}

.blog-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--kms-shadow-card);
  transition: transform 0.35s var(--kms-ease-out), box-shadow 0.35s var(--kms-ease-out);
  display: flex;
  flex-direction: column;
  border: 1px solid #f0ece9;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kms-shadow-card-hover);
}

/* Le wrapper image (lien <a>) */
.blog-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f7f6f5;
  position: relative;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--kms-ease-out);
}

.blog-card:hover .blog-card__image img { transform: scale(1.05); }

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7f3ef 0%, #efe7df 100%);
  color: #b8b2ad;
}
.blog-card__placeholder svg { width: 48px; height: 48px; }

.blog-card__content {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(151, 81, 54, 0.10);
  color: #975136;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.blog-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
}

.blog-card__title a {
  color: #282c34;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover { color: #975136; }

.blog-card__excerpt {
  font-size: 0.88rem;
  color: #6b645e;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: #8a837d;
  margin-bottom: 1rem;
  align-items: center;
}

.blog-card__meta time::before { content: '🕒  '; }

/* ⭐ Nouveau bouton "Lire l'article" */
.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  background: rgba(151, 81, 54, 0.08);
  color: #975136;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease, padding 0.25s ease, transform 0.25s ease;
}

.blog-card__cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s var(--kms-ease-out);
  font-size: 1.1em;
  line-height: 1;
}

.blog-card__cta:hover {
  background: #975136;
  color: #ffffff;
  padding-right: 1.25rem;
}

.blog-card__cta:hover::after { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════════════════════════
   14. BLOG SHOW (article) — typographie soignée
   ════════════════════════════════════════════════════════════════════════════════ */

.page-blog article h1,
.page-blog article .blog-post__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #282c34;
}

/* ════════════════════════════════════════════════════════════════════════════════
   15. CATALOGUE PAGE — h1 + sidebar mobile + breadcrumb
   ════════════════════════════════════════════════════════════════════════════════ */

.page-catalog .catalog-main__title,
.page-catalog h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-bottom: 1rem;
  color: #282c34;
  line-height: 1.2;
}

.category-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 200px;
  margin-bottom: 1.5rem;
  isolation: isolate;
}

.category-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.category-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 44, 52, 0) 30%, rgba(40, 44, 52, 0.7) 100%);
}

.category-banner__title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin: 0;
  z-index: 1;
}

.category-description {
  margin-bottom: 1.5rem;
  color: #6b645e;
  line-height: 1.7;
  max-width: 720px;
  font-size: 0.95rem;
}

@media (max-width: 580px) {
  .category-banner img { height: 200px; }
  .category-banner__title { font-size: 1.25rem; bottom: 1rem; left: 1rem; }
}

/* ════════════════════════════════════════════════════════════════════════════════
   16. CATEGORIES BUTTONS GROUP (about page bottom + autres)
   Le user signale : "blocs orange avec texte orange (illisible)"
   On force outline visible — fond blanc translucide, texte sombre lisible
   ════════════════════════════════════════════════════════════════════════════════ */

.section--cta .btn--outline,
.section--portfolio-cta .btn--outline {
  /* Déjà géré au point 12 */
}

/* Section CTA finale d'À propos contient des btn--outline en bas qui sont sur fond sombre */
.section--cta .cta-section + div .btn--outline,
.section--cta div[style*="margin-top:2rem"] .btn--outline {
  background: rgba(255, 255, 255, 0.95);
  color: #975136;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.section--cta .cta-section + div .btn--outline:hover,
.section--cta div[style*="margin-top:2rem"] .btn--outline:hover {
  background: #ffffff;
  color: #7a3f28;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.32);
}

/* ════════════════════════════════════════════════════════════════════════════════
   17. SECTION-HEADER amélioration (used on all pages)
   ════════════════════════════════════════════════════════════════════════════════ */

.section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

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

/* Quand le section-header est centré ET dans une section sombre */
.section--stats .section-header__title,
.section--cta .section-header__title { color: #ffffff; }

.section--stats .section-header__desc,
.section--cta .section-header__desc { color: rgba(255, 255, 255, 0.78); }

/* Sur fond sombre, le tag a un autre style */
.section--stats .section-header__tag,
.section--cta .section-header__tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.section--stats .section-header__tag::before,
.section--cta .section-header__tag::before {
  background: #d8a285;
}

/* ════════════════════════════════════════════════════════════════════════════════
   18. RESPONSIVE — protection finale anti-overflow
   ════════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .container { max-width: 100%; }
  .about-hero__bg-img,
  .story-image__img,
  .gallery-item img,
  .project-showcase__main-img img,
  .project-showcase__thumbs img {
    max-width: 100%;
  }
  /* Cards padding réduit sur mobile pour gain d'espace */
  .value-card,
  .service-card,
  .process-step,
  .tech-item,
  .team-card,
  .stat-card { padding: 1.25rem 1rem; }
  .team-card { padding: 1.5rem 1rem 1rem; }
  .blog-card__content { padding: 1rem; }
}

/* ════════════════════════════════════════════════════════════════════════════════
   19. FAQ / CONTACT pages (complétion cohérence)
   ════════════════════════════════════════════════════════════════════════════════ */

.page-contact h1,
.page-faq h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #282c34;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* ════════════════════════════════════════════════════════════════════════════════
   END
   ════════════════════════════════════════════════════════════════════════════════ */
