/* ============================================================
 * Audace — Page d'accueil sur-mesure
 * Charte Audace · Playfair Display + Inter
 * ============================================================ */

body.audace-home-active .entry-title,
body.audace-home-active .page-title,
body.audace-home-active .page-header { display: none !important; }

/* Évite le débordement horizontal créé par les blocs pleine largeur (100vw + barre de défilement) */
body.audace-home-active { overflow-x: clip; }

.audace-home {
  --aa-primary: #11708E;
  --aa-primary-dark: #0c5870;
  --aa-accent: #E44993;
  --aa-ink: #15171c;
  --aa-ink-soft: #4a4f5a;
  --aa-ink-muted: #8a8f99;
  --aa-bg: #ffffff;
  --aa-soft: #f5f3ef;
  --aa-rule: #e9e5dd;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--aa-ink);
  width: 100%;
  margin: 0;
  padding: 0 0 2rem;
  line-height: 1.5;
}
.audace-home * { box-sizing: border-box; }
/* Sous-conteneur centré pour tout le contenu hors blocs pleine largeur */
.ah-container { max-width: 1180px; margin: 0 auto; padding: 0 1.2rem; }
.audace-home section { margin: 4.5rem 0; }
.audace-home h1, .audace-home h2, .audace-home h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--aa-ink); margin: 0; }

/* labels */
.ah-eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--aa-accent); margin-bottom: 0.9rem;
}
.ah-eyebrow--light { color: #ffd2e6; }
.ah-tag { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aa-primary); margin-bottom: 0.6rem; }

/* buttons */
.ah-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 10px; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.ah-btn-primary { background: var(--aa-accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(228,73,147,0.7); }
.ah-btn-primary:hover { background: #c93b80; transform: translateY(-2px); color: #fff; }
.ah-btn-ghost { background: transparent; color: var(--aa-primary); border: 1.5px solid var(--aa-primary); }
.ah-btn-ghost:hover { background: var(--aa-primary); color: #fff; }
.ah-btn-onlight { color: #fff; border-color: rgba(255,255,255,0.6); }
.ah-btn-onlight:hover { background: #fff; color: var(--aa-primary); }

/* ---------- 0. INTRO (au-dessus du hero) ---------- */
.audace-home .ah-intro { max-width: 1000px; margin: 2.6rem auto 1.8rem; padding: 0 1.2rem; text-align: center; }
.ah-intro .ah-eyebrow { color: var(--aa-accent); }
.ah-intro-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.12; color: var(--aa-ink); margin-top: 0.5rem; }
.ah-intro-title em { font-style: italic; color: var(--aa-primary); }

/* ---------- 1. HERO (split pleine largeur) ---------- */
.ah-hero {
  background: linear-gradient(150deg, var(--aa-primary) 0%, var(--aa-primary-dark) 100%);
  color: #fff; position: relative; overflow: hidden;
  width: 100%; margin: 0 0 4.5rem;
  padding: 4rem 1.5rem;
}
.ah-hero-inner {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.4rem; align-items: flex-start;
}
.ah-hero-left { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.ah-hero-text { text-align: left; }
.ah-hero .ah-eyebrow { color: #ffd2e6; }
.ah-hero-title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.1; color: #fff; }
.ah-hero-title em { font-style: italic; color: #ffd2e6; }
.ah-hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,0.9); margin: 1.2rem 0 0; max-width: 48ch; }
.ah-values { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-start; margin: 0; }
.ah-values span {
  font-size: 0.82rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.9rem; border-radius: 999px;
}
.ah-hero-cta { display: flex; gap: 0.8rem; justify-content: flex-start; flex-wrap: wrap; }
.ah-hero .ah-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.ah-hero .ah-btn-ghost:hover { background: #fff; color: var(--aa-primary); }

/* 4 valeurs détaillées (colonne droite du hero, texte clair sur teal) */
.ah-values-detail { display: flex; flex-direction: column; gap: 1.6rem; }
.ah-vblock h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #ffd2e6; margin: 0 0 0.45rem; }
.ah-vblock p { font-size: 0.97rem; line-height: 1.55; color: rgba(255,255,255,0.88); margin: 0; }
.ah-values-detail .ah-hero-cta { margin-top: 0.6rem; }

/* couverture du dernier numéro dans le hero */
.ah-hero-cover { position: relative; display: block; max-width: 380px; width: 100%; text-decoration: none; }
.ah-hero-cover img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 34px 70px -24px rgba(0,0,0,0.6); transition: transform .2s ease; }
.ah-hero-cover:hover img { transform: translateY(-4px) rotate(-0.6deg); }
.ah-hero-cover-badge { position: absolute; top: 0.9rem; left: 0.9rem; background: var(--aa-accent); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 0.3rem 0.7rem; border-radius: 8px; }
.ah-hero-cover-cap { display: block; text-align: center; margin-top: 0.9rem; font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.85); }

/* ---------- 2. DERNIER NUMÉRO ---------- */
.ah-feature-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; text-decoration: none;
  background: var(--aa-soft); border: 1px solid var(--aa-rule); border-radius: 22px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ah-feature-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -28px rgba(21,23,28,0.4); }
.ah-feature-cover {
  position: relative; min-height: 420px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  background-color: var(--aa-soft);
}
.ah-feature-badge, .ah-issue-no {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--aa-accent); color: #fff; font-weight: 700; font-size: 0.82rem;
  padding: 0.3rem 0.7rem; border-radius: 8px;
}
.ah-feature-body { padding: 2.6rem 2.4rem; align-self: center; }
.ah-feature-name { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.1; margin-bottom: 0.8rem; }
.ah-feature-text { color: var(--aa-ink-soft); font-size: 1.02rem; margin-bottom: 1.4rem; max-width: 42ch; }
.ah-feature-link { color: var(--aa-accent); font-weight: 700; font-size: 1.05rem; }
.ah-feature-link span { transition: margin .15s ease; display: inline-block; }
.ah-feature-card:hover .ah-feature-link span { margin-left: 0.3rem; }

/* ---------- block heads ---------- */
.ah-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.ah-block-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.ah-seeall { text-decoration: none; color: var(--aa-primary); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.ah-seeall:hover { color: var(--aa-accent); }

/* ---------- 3. PARUTIONS RÉCENTES ---------- */
.ah-issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.ah-issue {
  display: flex; gap: 1.2rem; text-decoration: none; background: #fff;
  border: 1px solid var(--aa-rule); border-radius: 16px; overflow: hidden; padding: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ah-issue:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(21,23,28,0.35); }
.ah-issue-cover { position: relative; flex: 0 0 130px; min-height: 180px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--aa-soft); }
.ah-issue-no { font-size: 0.74rem; padding: 0.25rem 0.55rem; }
.ah-issue-body { padding: 1.3rem 1.3rem 1.3rem 0.2rem; align-self: center; }
.ah-issue-month { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--aa-ink-muted); }
.ah-issue-name { font-size: 1.35rem; font-weight: 700; margin: 0.3rem 0 0.6rem; line-height: 1.15; }
.ah-issue-link { color: var(--aa-accent); font-weight: 700; font-size: 0.95rem; }

/* ---------- 4. THÉMATIQUES ---------- */
.ah-pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.ah-pillar {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 1px solid var(--aa-rule); border-radius: 16px; padding: 1.5rem 1.3rem;
  position: relative; overflow: hidden; min-height: 200px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ah-pillar::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--aa-primary), var(--aa-accent)); }
.ah-pillar:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(21,23,28,0.4); border-color: transparent; }
.ah-pillar-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--aa-accent); }
.ah-pillar-label { font-family: 'Playfair Display', serif; font-size: 1.18rem; font-weight: 700; color: var(--aa-ink); margin: 0.6rem 0 0.4rem; line-height: 1.2; }
.ah-pillar-sub { font-size: 0.88rem; color: var(--aa-ink-soft); flex: 1; }
.ah-pillar-go { font-size: 0.85rem; font-weight: 700; color: var(--aa-primary); margin-top: 0.9rem; }

/* ---------- 5. CHIFFRES ---------- */
.ah-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--aa-rule); border: 1px solid var(--aa-rule); border-radius: 20px; overflow: hidden;
}
.ah-stat { background: var(--aa-soft); text-align: center; padding: 2.2rem 1rem; }
.ah-stat-num { display: block; font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--aa-primary); line-height: 1; }
.ah-stat-label { display: block; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--aa-ink-muted); margin-top: 0.6rem; }

/* ---------- 6. BLOG ---------- */
.ah-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ah-post {
  display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border: 1px solid var(--aa-rule); border-radius: 16px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ah-post:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(21,23,28,0.4); }
.ah-post-thumb { height: 180px; background-size: cover; background-position: center; background-color: var(--aa-soft); }
.ah-post-body { padding: 1.3rem 1.3rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.ah-post-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--aa-accent); }
.ah-post-title { font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin: 0.5rem 0 0.6rem; }
.ah-post-excerpt { font-size: 0.9rem; color: var(--aa-ink-soft); margin: 0; }

/* ---------- 7. MANIFESTE ---------- */
.ah-manifesto {
  background: #faf6f1;
  border: 1px solid var(--aa-rule);
  border-radius: 26px; padding: 4rem 2rem; text-align: center; color: var(--aa-ink);
}
.ah-manifesto-inner { max-width: 720px; margin: 0 auto; }
.ah-manifesto .ah-eyebrow--light { color: var(--aa-accent); }
.ah-manifesto-quote { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; font-style: italic; line-height: 1.25; margin: 0 0 1.4rem; color: var(--aa-primary); }
.ah-manifesto-text { font-size: 1.05rem; color: var(--aa-ink-soft); margin: 0 0 1.8rem; }
.ah-manifesto .ah-btn-onlight { color: var(--aa-primary); border-color: var(--aa-primary); }
.ah-manifesto .ah-btn-onlight:hover { background: var(--aa-primary); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .ah-pillars { grid-template-columns: repeat(2, 1fr); }
  .ah-posts { grid-template-columns: 1fr; }
  .ah-feature-card { grid-template-columns: 1fr; }
  .ah-feature-cover { min-height: 280px; }
  .ah-hero-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .ah-hero-left { align-items: center; }
  .ah-hero-text { text-align: center; }
  .ah-hero-sub { margin-left: auto; margin-right: auto; }
  .ah-values, .ah-hero-cta { justify-content: center; }
  .ah-hero-cover { max-width: 240px; }
  .ah-values-detail { text-align: center; }
}
@media (max-width: 640px) {
  .audace-home section { margin: 3rem 0; }
  .ah-hero { padding: 3rem 1.3rem; }
  .ah-issues { grid-template-columns: 1fr; }
  .ah-pillars { grid-template-columns: 1fr; }
  .ah-stats { grid-template-columns: repeat(2, 1fr); }
}
