/* Styles pour les pages "Notre promesse" / "Our Promise" */

:root {
  --promise-dark: #1a3a2e;
  --promise-mid: #2c5530;
  --promise-light: #f2f7f4;
  --promise-ink: #0f231a;
}

.promise-hero {
  background-image: url('../img/header.png');
  background-color: rgba(26, 58, 46, 0.95);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 1.25rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.promise-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 180, 108, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(74, 124, 89, 0.12) 0%, transparent 60%);
  animation: promise-pulse 6s ease-in-out infinite;
}

@keyframes promise-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}

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

.hero-content {
  max-width: 950px;
  display: grid;
  gap: 1.2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.promise-hero h1 {
  font-size: clamp(2.5rem, 3vw + 1rem, 4rem);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.promise-hero .tagline {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.94;
}

.promise-hero .subtitle {
  margin: 0;
  opacity: 0.82;
  font-style: italic;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-primary {
  background: #ffffff;
  color: var(--promise-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.cta-secondary {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-item {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.1rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  display: block;
}

.stat-label {
  opacity: 0.92;
  line-height: 1.4;
}

.promise-section {
  padding: 5rem 0;
  background: transparent;
}

.promise-section .container {
  background: #ffffff;
  border-radius: 28px;
  padding: 3rem 3rem 3.5rem;
  box-shadow: 0 35px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(26, 58, 46, 0.15);
}

.promise-section.soft-bg .container {
  background: rgba(18, 42, 32, 0.05);
  border-color: rgba(18, 42, 32, 0.12);
}

.section-header {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.section-eyebrow {
  display: inline-block;
  background: rgba(28, 76, 59, 0.1);
  color: var(--promise-dark);
  border: 1px solid rgba(28, 76, 59, 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-header h2 {
  font-size: clamp(2rem, 1.2rem + 1vw, 2.8rem);
  margin: 0.4rem 0;
  color: var(--promise-ink);
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  width: 110px;
  height: 4px;
  background: linear-gradient(90deg, #ffcc58, #8ad7b7);
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.promise-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.card-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(15, 35, 26, 0.8);
}

.card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #8ad7b7;
  font-size: 1.4rem;
  line-height: 1;
}

.evidence-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.evidence-card {
  background: #ffffff;
  border: 1px solid rgba(26, 58, 46, 0.08);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.evidence-title {
  font-weight: 800;
  color: var(--promise-dark);
  margin-bottom: 0.35rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps-grid > .step-card {
  min-width: 0;
}

@media (max-width: 1100px) {
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem;
  align-items: start;
  padding: 1.3rem 0.9rem;
  border: 1px solid rgba(26, 58, 46, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.step-card h3 {
  margin: 0 0 0.25rem;
  color: var(--promise-ink);
}

.step-card p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.6;
}

.dual-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: #303030;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--promise-mid);
}

.cta-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(120deg, rgba(28, 76, 59, 0.05), rgba(18, 42, 32, 0.08));
}

.cta-section .container {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.75rem;
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(26, 58, 46, 0.18);
  text-align: center;
}

.cta-section .cta-primary {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .promise-hero {
    padding: 1rem 0 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .promise-section {
    padding: 70px 0;
  }
}
