/* ============================================================
   Accueil-explorer.css — Bloc "Explorer" + pitch condense
   Accueil refondu en mode teaser (6 cards vers pages dediees)
   ============================================================ */

/* ============ PITCH SOCIOTHERAPIE condense (ax__pitch) ============ */
.ax__pitch {
  max-width: 780px;
  margin: 56px auto 0;
}
.ax__pitch p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #0E2540;
  margin: 0 0 24px;
}
.ax__pitch p.ax__pitch-lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: #16314F;
  line-height: 1.4;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E8D7AA;
}
.ax__pitch em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #C9A86C;
  font-size: 1.05em;
}
.ax__pitch strong {
  font-weight: 600;
  color: #0E2540;
}

/* ============ EXPLORE section (ax__explore) ============ */
.ax__explore {
  padding: 100px 64px 80px;
  background: #EBDFC4;
  position: relative;
}
.ax__explore::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #C9A86C 30%, #C9A86C 70%, transparent);
  opacity: 0.4;
}
.ax__explore-in {
  max-width: 1280px;
  margin: 0 auto;
}

/* Reuse v7__sec-h styles already defined in AccueilV7.css */

/* ============ CARDS ============ */
.ax__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

@media (max-width: 1080px) {
  .ax__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ax__cards { grid-template-columns: 1fr; }
}

.ax__card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #E8D7AA;
  border-radius: 4px;
  padding: 36px 32px 32px;
  text-decoration: none;
  color: #0E2540;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.2,.7,.2,1);
  min-height: 320px;
}

.ax__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: #C9A86C;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}

.ax__card::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 168, 108, 0.12), rgba(201, 168, 108, 0.02));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ax__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(14, 37, 64, 0.13);
  border-color: #C9A86C;
}
.ax__card:hover::before { transform: scaleY(1); }
.ax__card:hover::after { opacity: 1; }

.ax__card-num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: #C9A86C;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ax__card-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A8884B;
  margin-bottom: 12px;
}

.ax__card h3 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #0E2540;
  margin: 0 0 16px;
  line-height: 1.15;
}

.ax__card p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #4A5260;
  margin: 0 0 20px;
  flex: 1;
}

.ax__card p em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1em;
  color: #0E2540;
}

.ax__card-arr {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9A86C;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed #E8D7AA;
  transition: color 0.3s, gap 0.3s;
}

.ax__card-arr em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 18px;
  color: #C9A86C;
  transition: transform 0.3s, color 0.3s;
}

.ax__card:hover .ax__card-arr {
  color: #A8884B;
  gap: 12px;
}
.ax__card:hover .ax__card-arr em {
  color: #A8884B;
  transform: translateX(4px);
}

/* ============ Variants par theme ============ */
.ax__card--livre {
  background: linear-gradient(135deg, white 0%, #F4ECDC 100%);
}
.ax__card--cas {
  background: linear-gradient(135deg, white 0%, #DDE6F1 100%);
}
.ax__card--blog .ax__card-num {
  color: #26466B;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .ax__explore { padding: 60px 24px; }
  .ax__card {
    min-height: auto;
    padding: 28px 24px 24px;
  }
  .ax__card-num { font-size: 44px; }
  .ax__card h3 { font-size: 24px; }
}

/* ============ Reveal animations ============ */
.ax-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1),
              transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.ax-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .ax-reveal { opacity: 1; transform: none; transition: none; }
}
