/* ===== DURABILITE.CSS - Sustainability page specific styles ===== */

/* ===== BUTTON VARIANTS (page-specific) ===== */
.btn--primary:hover,
.btn--outline:hover {
  color: var(--text-light);
}

/* Horizontal scroll styles now in blocs/hscroll-actions.css */

/* ===== ENGAGEMENT SECTION (fond creme) ===== */
.engagement-section {
  background: var(--bg-cream);
  color: var(--text-dark);
  padding: 8rem 4rem 10rem;
  position: relative;
  overflow: hidden;
}

.engagement-section__content-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100%;
  clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
}

.engagement-section__x-deco {
  position: absolute;
  left: -35px;
  top: 0;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
}

.engagement-section__x-deco svg {
  height: 100%;
  width: auto;
  display: block;
}

.engagement-section__x-deco svg path {
  fill: var(--accent);
  stroke: none;
}

.engagement-section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.engagement-section__intro {
  max-width: 500px;
}

.engagement-section__intro p {
  color: var(--text-muted-dark);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ===== MISSION STATEMENT ===== */
.mission-statement {
  margin: 3rem 0 3rem;
  position: relative;
  z-index: 1;
}

.mission-statement__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--abenex-orange);
  margin-bottom: 1.25rem;
}

.mission-statement__text {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ===== SDG POSTER (17 ODD) ===== */
.sdg-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 2rem 2rem 3rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.sdg-icon {
  width: calc((100% - 8 * 10px) / 9);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.2s ease, z-index 0s;
  transform-origin: center center;
  will-change: transform;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* ===== SPLIT SECTION MISSION (fond bleu spécifique durabilité) ===== */
.split-section {
  background: rgb(40, 62, 98);
}
.split-section .split-section__content--dark {
  background: rgb(40, 62, 98);
}

/* Immo/bcorp section styles now in blocs/immo-section.css and blocs/bcorp-section.css */

/* Pledge section styles now in blocs/pledge-grid.css */

/* ===== DIVERSITY ITEMS ===== */
.diversity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s ease;
}

.diversity-item:hover {
  border-color: var(--accent);
}

.diversity-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abenex-orange);
}

.diversity-item__icon svg {
  width: 24px;
  height: 24px;
}

.diversity-item__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.diversity-item__text strong {
  color: var(--text-light);
  font-weight: 700;
}

/* Impact section styles now in blocs/impact-section.css */

/* ===== CTA SECTION (page-specific overrides) ===== */
.cta-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 4rem;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.cta-section__pattern {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  opacity: 0.15;
}

.cta-section__pattern svg {
  width: 200px;
  height: 400px;
}

.cta-section__pattern svg path {
  stroke: var(--text-light);
  stroke-width: 1;
  fill: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  margin-bottom: 1.5rem;
}

.cta-section__text {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

/* CTA animation initial states */
.cta-section__pattern svg {
  will-change: transform, opacity;
}
.cta-section__pattern svg:nth-child(1) { transform: translateX(-150px) scale(0.8); opacity: 0; }
.cta-section__pattern svg:nth-child(2) { transform: translateX(-80px) scale(0.85); opacity: 0; }
.cta-section__pattern svg:nth-child(3) { transform: translateX(0) scale(0.9); opacity: 0; }
.cta-section__pattern svg:nth-child(4) { transform: translateX(80px) scale(0.85); opacity: 0; }
.cta-section__pattern svg:nth-child(5) { transform: translateX(150px) scale(0.8); opacity: 0; }

.cta-section__title,
.cta-section__text {
  will-change: transform, opacity;
  opacity: 0;
  transform: scale(0.92);
}

.cta-section__actions {
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(30px);
}

/* Reveal animations now in blocs/immo-section.css */

/* ===== RESPONSIVE: 1024px ===== */
@media (max-width: 1024px) {
  .engagement-section__header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sdg-grid {
    gap: 8px;
  }

  .sdg-icon {
    width: calc((100% - 5 * 8px) / 6);
  }

  .mission-statement__text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
  .engagement-section {
    padding: 4rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

  .cta-section__actions {
    flex-direction: column;
  }

  .sdg-icon {
    width: calc((100% - 4 * 6px) / 5);
  }

  .diversity-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-section__actions .btn {
    white-space: normal;
    height: auto;
    min-height: var(--btn-height);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .cta-section__actions .btn .btn-chevron-out {
    height: 100%;
  }
}

/* ===== RESPONSIVE: 480px ===== */
@media (max-width: 480px) {
  .sdg-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .sdg-grid__item { width: 52px; height: 52px; }
}
