/* =============================================================
   CAHIER DU PSYCHOLOGUE — Design System
   ============================================================= */

/* ---- Variables ---- */
:root {
  --cream: #f7f2ec;
  --cream-deep: #efe7dc;
  --sand: #e8dccc;
  --warm-white: #fbf8f4;
  --ink: #2a2520;
  --ink-soft: #5a5048;
  --rose-dust: #c89b8b;
  --rose-deep: #a87060;
  --sage: #8a9a85;
  --sage-deep: #5d7158;
  --gold: #b89968;
  --shadow: rgba(90, 70, 50, 0.08);
  --shadow-deep: rgba(90, 70, 50, 0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--warm-white);
}
body {
  font-family: 'Outfit', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 300;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ---- Skip link (accessibility) ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--rose-deep);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  z-index: 9999;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* =============================================================
   TOPBAR
   ============================================================= */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: 0.5px;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* =============================================================
   HEADER
   ============================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-style: normal;
  color: var(--rose-deep);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}

nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.3s;
  cursor: pointer;
}
nav a:hover,
nav a.active { color: var(--rose-deep); }

.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.nav-cart svg { flex-shrink: 0; }

.btn-header {
  background: #8a5547; /* terracotta foncé : contraste 5,8:1 (accessibilité) */
  color: var(--warm-white);
  padding: 11px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 1px solid #8a5547;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-header:hover { background: transparent; color: #8a5547; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  font-size: 22px;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding: 90px 32px 80px;
  background:
    radial-gradient(ellipse at top right, rgba(200,155,139,0.12), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(138,154,133,0.1), transparent 50%),
    var(--warm-white);
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 24px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--rose-deep);
}

h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
h1.hero-title em { font-style: italic; color: var(--rose-deep); }

.hero-text {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--ink);
  color: var(--warm-white);
  padding: 16px 36px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s;
  border: 1px solid var(--ink);
  display: inline-block;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
}
.btn-primary:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px var(--shadow-deep);
}
.btn-secondary {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

/* ---- Hero visual ---- */
.hero-visual { position: relative; height: 520px; }

.book-cover {
  position: absolute;
  border-radius: 4px;
  box-shadow: 0 30px 60px var(--shadow-deep), 0 10px 20px var(--shadow);
  overflow: hidden;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-cover-1 { width: 280px; height: 380px; top: 40px; right: 40px; background: linear-gradient(135deg, #c89b8b 0%, #a87060 100%); transform: rotate(4deg); z-index: 3; color: var(--warm-white); }
.book-cover-2 { width: 260px; height: 360px; top: 80px; right: 180px; background: linear-gradient(135deg, #8a9a85 0%, #5d7158 100%); transform: rotate(-6deg); z-index: 2; color: var(--warm-white); }
.book-cover-3 { width: 240px; height: 340px; top: 130px; right: 280px; background: linear-gradient(135deg, #efe7dc 0%, #b89968 100%); transform: rotate(-12deg); z-index: 1; color: var(--ink); }

.book-eyebrow { font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; }
.book-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; line-height: 1.15; font-style: italic; }
.book-author { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }

/* =============================================================
   TRUST BAR
   ============================================================= */
.trust {
  background: var(--ink);
  color: var(--cream);
  padding: 28px 32px;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200,155,139,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-dust);
  flex-shrink: 0;
}

/* =============================================================
   SECTION COMMONS
   ============================================================= */
.section-header {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--rose-deep);
  margin: 0 auto 32px;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-header h2 em { font-style: italic; color: var(--rose-deep); }
.section-header p { font-size: 17px; color: var(--ink-soft); line-height: 1.75; }

/* =============================================================
   COLLECTIONS FILTER
   ============================================================= */
.collections-filter {
  padding: 70px 32px 30px;
  background: var(--cream);
}
.filter-inner { max-width: 1280px; margin: 0 auto; }
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.filter-pill {
  padding: 12px 24px;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--ink-soft);
  font-family: inherit;
  letter-spacing: 0.04em;
}
.filter-pill:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.filter-pill.active { background: var(--ink); color: var(--warm-white); border-color: var(--ink); }

/* =============================================================
   GUIDES GRID
   ============================================================= */
.guides-section {
  padding: 60px 32px 110px;
  background: var(--cream);
}
.guides-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.guides-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  grid-column: 1 / -1;
}

/* ---- Guide card ---- */
.guide-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.5s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px var(--shadow-deep);
  border-color: var(--rose-dust);
}

.guide-image {
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
a.guide-image { cursor: pointer; }
a.guide-image:hover { opacity: 0.92; transition: opacity 0.2s; }
.guide-image.col-anxiety    { background: linear-gradient(135deg, #efe7dc 0%, #c89b8b 100%); }
.guide-image.col-tdah       { background: linear-gradient(135deg, #d8e0d4 0%, #5d7158 100%); }
.guide-image.col-trauma     { background: linear-gradient(135deg, #e8d8d0 0%, #a87060 100%); }
.guide-image.col-relations  { background: linear-gradient(135deg, #f3e8d8 0%, #b89968 100%); }
.guide-image.col-estime     { background: linear-gradient(135deg, #dde4d8 0%, #8a9a85 100%); }
.guide-image.col-mindfulness{ background: linear-gradient(135deg, #efe7dc 0%, #b89968 100%); }
.guide-image.col-coffret    { background: linear-gradient(135deg, var(--ink) 0%, var(--rose-deep) 100%); }

.guide-cover-mock {
  width: 140px;
  height: 200px;
  background: var(--warm-white);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transform: rotate(-3deg);
  transition: transform 0.5s;
  position: relative;
}
.guide-card:hover .guide-cover-mock { transform: rotate(0deg) scale(1.05); }
.guide-image.col-coffret .guide-cover-mock { background: linear-gradient(135deg, var(--ink), var(--rose-deep)); color: var(--warm-white); }

.guide-cover-mock::before,
.guide-cover-mock::after {
  content: '✦';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  color: var(--rose-deep);
}
.guide-cover-mock::before { top: 8px; }
.guide-cover-mock::after  { bottom: 8px; }
.guide-image.col-coffret .guide-cover-mock::before,
.guide-image.col-coffret .guide-cover-mock::after { color: var(--rose-dust); }

.guide-cover-eyebrow { font-size: 6px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose-deep); margin-top: 6px; }
.guide-image.col-coffret .guide-cover-eyebrow { color: var(--rose-dust); }
.guide-cover-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; line-height: 1.2; padding: 0 4px; }
.guide-cover-author { font-size: 6px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.guide-image.col-coffret .guide-cover-author { color: var(--cream); }

/* ---- Tags ---- */
.guide-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 500;
  background: var(--warm-white);
  color: var(--ink);
}
.guide-tag.bestseller { background: var(--ink); color: var(--cream); }
.guide-tag.nouveau    { background: var(--rose-deep); color: var(--warm-white); }
.guide-tag.coffret    { background: var(--gold); color: var(--warm-white); }

/* ---- Guide info ---- */
.guide-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.guide-category { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 10px; font-weight: 500; }
.guide-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.guide-accroche { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--rose-deep); font-size: 14px; margin-bottom: 12px; }
.guide-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.6; flex: 1; }
.guide-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 11px;
  color: var(--ink-soft);
  border-top: 1px solid var(--sand);
  padding-top: 14px;
  flex-wrap: wrap;
}
.guide-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.guide-price { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; }
.guide-price small { font-family: 'Outfit', sans-serif; font-size: 10px; color: var(--ink-soft); }
.guide-price del { font-size: 14px; color: var(--ink-soft); margin-right: 6px; font-weight: 400; }

.guide-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.guide-buy {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  color: var(--warm-white);
  border: 1px solid var(--ink);
  padding: 10px 18px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  transition: all 0.3s;
}
.guide-buy:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--warm-white); }

.guide-detail {
  display: inline-block;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--sand);
  padding: 10px 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: inherit;
  transition: all 0.3s;
}
.guide-detail:hover { border-color: var(--gold); color: var(--gold); }

.guide-soon {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px dashed var(--sand);
  padding: 8px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

/* =============================================================
   COFFRETS SECTION
   ============================================================= */
.coffrets-section {
  padding: 110px 32px;
  background: linear-gradient(180deg, var(--cream), var(--warm-white));
}
.coffrets-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.coffret-card {
  background: var(--warm-white);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 40px 36px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.coffret-card::before {
  content: '✦';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold);
  opacity: 0.4;
  pointer-events: none;
}
.coffret-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px var(--shadow-deep); }

.coffret-card.featured { background: var(--ink); color: var(--cream); border-color: var(--rose-deep); }
.coffret-card.featured h3,
.coffret-card.featured .coffret-accroche { color: var(--cream); }
.coffret-card.featured .coffret-accroche { color: var(--rose-dust); }

.coffret-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--warm-white);
  padding: 5px 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-radius: 2px;
  font-weight: 500;
}
.coffret-card.featured .coffret-tag { background: var(--rose-deep); }

.coffret-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 500; line-height: 1.15; margin-bottom: 12px; }
.coffret-accroche { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--rose-deep); font-size: 17px; margin-bottom: 18px; }
.coffret-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.7; }
.coffret-card.featured .coffret-desc { color: rgba(247,242,236,0.8); }

.coffret-contenu { list-style: none; margin-bottom: 28px; }
.coffret-contenu li {
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 12px;
}
.coffret-card.featured .coffret-contenu li { color: rgba(247,242,236,0.8); border-color: rgba(247,242,236,0.15); }
.coffret-contenu li::before { content: '✦'; color: var(--gold); font-size: 11px; font-family: 'Cormorant Garamond', serif; }
.coffret-card.featured .coffret-contenu li::before { color: var(--rose-dust); }

.coffret-pricing { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.coffret-price { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 500; }
.coffret-old { font-size: 18px; color: var(--ink-soft); text-decoration: line-through; }
.coffret-card.featured .coffret-old { color: rgba(247,242,236,0.5); }
.coffret-economy { font-size: 12px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }

.btn-coffret {
  width: 100%;
  background: #8a5547; /* terracotta foncé : contraste 5,8:1 */
  color: var(--warm-white);
  border: none;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-coffret:hover { background: var(--ink); }
.coffret-card.featured .btn-coffret { background: var(--rose-deep); }
.coffret-card.featured .btn-coffret:hover { background: var(--warm-white); color: var(--ink); }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
.how {
  padding: 110px 32px;
  background: linear-gradient(180deg, var(--warm-white), var(--cream));
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 50px;
}
.how-step { text-align: center; position: relative; }
.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -40px;
  width: 60px;
  height: 1px;
  background: var(--rose-dust);
  opacity: 0.5;
}
.how-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 1px solid var(--rose-deep);
  color: var(--rose-deep);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.how-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-bottom: 12px; font-weight: 500; }
.how-step p { color: var(--ink-soft); font-size: 15px; }

/* =============================================================
   TESTIMONIAL
   ============================================================= */
.testimonial {
  padding: 110px 32px;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 500px;
  color: var(--rose-deep);
  opacity: 0.08;
  top: -80px;
  left: 50px;
  line-height: 1;
  font-style: italic;
  pointer-events: none;
}
.testimonial-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.testimonial-stars { color: var(--gold); font-size: 16px; letter-spacing: 4px; margin-bottom: 24px; }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 32px;
}
.testimonial-author { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-dust); }
.testimonial-author small { display: block; margin-top: 6px; color: var(--cream); opacity: 0.7; letter-spacing: 0.05em; text-transform: none; }

/* =============================================================
   BLOG TEASER (homepage section)
   ============================================================= */
.blog-teaser {
  padding: 110px 32px;
  background: var(--warm-white);
}
.blog-teaser-inner { max-width: 1280px; margin: 0 auto; }
.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}
.blog-teaser-cta { text-align: center; margin-top: 48px; }

/* Article card (shared between teaser & blog index) */
.article-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-deep);
  border-color: var(--rose-dust);
}
.article-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.article-card-image.cat-anxiety    { background: linear-gradient(135deg, #efe7dc, #c89b8b); }
.article-card-image.cat-tdah       { background: linear-gradient(135deg, #d8e0d4, #5d7158); }
.article-card-image.cat-trauma     { background: linear-gradient(135deg, #e8d8d0, #a87060); }
.article-card-image.cat-relations  { background: linear-gradient(135deg, #f3e8d8, #b89968); }
.article-card-image.cat-estime     { background: linear-gradient(135deg, #dde4d8, #8a9a85); }
.article-card-image.cat-mindfulness{ background: linear-gradient(135deg, #efe7dc, #b89968); }

.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-category-tag {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}
.article-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 12px;
}
.article-card-title a { color: var(--ink); text-decoration: none; transition: color 0.3s; }
.article-card-title a:hover { color: var(--rose-deep); }
.article-card-excerpt { font-size: 13px; color: var(--ink-soft); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.article-card-meta {
  font-size: 11px;
  color: var(--ink-soft);
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--sand);
  padding-top: 14px;
  align-items: center;
}
.article-read-more {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--rose-deep);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* =============================================================
   CTA FINAL
   ============================================================= */
.cta-final { padding: 110px 32px; text-align: center; }
.cta-final-inner { max-width: 700px; margin: 0 auto; }
.cta-final h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.15;
}
.cta-final h2 em { font-style: italic; color: var(--rose-deep); }
.cta-final p { font-size: 17px; color: var(--ink-soft); margin-bottom: 36px; line-height: 1.75; }

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 32px 30px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; margin-bottom: 18px; font-weight: 500; }
/* Titres de colonnes du pied de page en <p> (évite de casser la hiérarchie h1→h2→h3 de la page) */
.footer-col .footer-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; margin-bottom: 18px; font-weight: 500; color: var(--cream); line-height: 1.3; display: block; }
.footer-col p,
.footer-col a {
  color: rgba(247,242,236,0.7);
  font-size: 14px;
  line-height: 1.9;
  text-decoration: none;
  display: block;
}
.footer-col a:hover { color: var(--rose-dust); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin-bottom: 16px; font-weight: 500; font-style: italic; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(247,242,236,0.15);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(247,242,236,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================================
   MODAL / CHECKOUT
   ============================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,37,32,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--warm-white);
  max-width: 520px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; }
.modal-close {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); }

.modal-body { padding: 30px; }
.modal-product {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--cream);
  border-radius: 2px;
  margin-bottom: 22px;
}
.modal-product-cover {
  width: 60px;
  height: 80px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--rose-dust), var(--rose-deep));
  flex-shrink: 0;
}
.modal-product-info { flex: 1; }
.modal-product-info h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; margin-bottom: 4px; font-weight: 500; }
.modal-product-info p { font-size: 12px; color: var(--ink-soft); }
.modal-price { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; white-space: nowrap; }

.modal-features { list-style: none; margin-bottom: 24px; }
.modal-features li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--sand);
}
.modal-features li:last-child { border-bottom: none; }
.modal-features li::before { content: '✓'; color: var(--sage-deep); font-weight: bold; font-size: 16px; flex-shrink: 0; }

.btn-checkout {
  width: 100%;
  background: var(--rose-deep);
  color: var(--warm-white);
  border: none;
  padding: 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-checkout:hover { background: var(--ink); transform: translateY(-2px); }
.modal-secure { text-align: center; margin-top: 14px; font-size: 12px; color: var(--ink-soft); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 968px) {
  /* ── Header : logo à gauche, toggle à droite ── */
  .header-inner {
    position: relative;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 20px;
  }
  .logo { flex: 1; }
  nav { order: 3; }
  .btn-header { order: 2; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  /* ── Menu déroulant ── */
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(251,248,244,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand);
    padding: 16px 20px 24px;
    z-index: 200;
  }
  nav ul.open li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--sand);
    font-size: 16px;
  }
  nav ul.open li:last-child a { border-bottom: none; }

  /* ── Layout ── */
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 440px; }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .coffrets-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-step:not(:last-child)::after { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* Empêcher le débordement horizontal */
  body { overflow-x: hidden; }

  .header-inner { padding: 12px 16px; gap: 8px; }
  .topbar { font-size: 11px; }
  .topbar-inner { padding: 0 16px; }

  .hero { padding: 50px 16px 60px; }
  .guides-section,
  .how,
  .testimonial,
  .cta-final,
  .coffrets-section,
  .collections-filter,
  .blog-teaser { padding: 60px 16px; }

  /* Hero visual adapté mobile */
  .hero-visual { height: 320px; overflow: hidden; }
  .book-cover-1 { width: 180px; height: 250px; right: 8px; top: 30px; }
  .book-cover-2 { width: 165px; height: 235px; right: 60px; top: 55px; }
  .book-cover-3 { width: 150px; height: 220px; right: 108px; top: 90px; }

  .guides-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .filter-pills { gap: 8px; }
  .filter-pill { padding: 10px 16px; font-size: 12px; }

  /* Bouton panier compact */
  .btn-header { padding: 8px 12px; font-size: 10px; letter-spacing: 0.06em; }
  .btn-header svg { width: 14px; height: 14px; }

  .blog-teaser-grid { grid-template-columns: 1fr; }
  .coffret-card { padding: 28px 20px; }
  .trust-inner { gap: 16px; }
}

/* =============================================================
   BANDEAU DE CONSENTEMENT COOKIES (RGPD / CNIL)
   ============================================================= */
#cdp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1e1a16;
  color: #ede8e1;
  padding: 18px 24px;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.40);
  animation: cdp-slide-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#cdp-cookie-banner.cdp-hide {
  animation: cdp-slide-out 0.38s ease forwards;
}

@keyframes cdp-slide-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cdp-slide-out {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(110%); opacity: 0; }
}

.cdp-cookie-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cdp-cookie-text {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #c8c0b5;
  font-weight: 300;
}

.cdp-cookie-link {
  color: var(--gold);
  text-decoration: underline;
  white-space: nowrap;
  font-weight: 400;
}
.cdp-cookie-link:hover { color: #d4b47a; }

.cdp-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cdp-btn {
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.cdp-btn:hover { transform: translateY(-1px); }
.cdp-btn:active { transform: translateY(0); }
.cdp-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.cdp-btn-accept {
  background: var(--gold);
  color: #1e1a16;
  border-color: var(--gold);
}
.cdp-btn-accept:hover { background: #c9aa72; border-color: #c9aa72; }

.cdp-btn-refuse {
  background: transparent;
  color: #c8c0b5;
  border-color: #4a4440;
}
.cdp-btn-refuse:hover { border-color: #776e65; color: #ede8e1; }

@media (max-width: 640px) {
  #cdp-cookie-banner { padding: 16px 18px; }
  .cdp-cookie-inner { gap: 16px; }
  .cdp-cookie-actions { width: 100%; justify-content: flex-end; }
  .cdp-btn { padding: 9px 18px; }
}

/* =============================================================
   PANIER — styles complémentaires
   ============================================================= */
.panier-multi-notice {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border: 1px dashed var(--sand);
  border-radius: 4px;
  padding: 12px 18px;
}

/* Badge nav panier — sur toutes les pages */
.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  padding: 0 4px;
  margin-left: 4px;
  line-height: 1;
  vertical-align: middle;
}

/* =============================================================
   RESPONSIVE — corrections supplémentaires
   ============================================================= */
@media (max-width: 968px) {
  .guides-section { padding: 60px 20px 80px; }
  .collections-filter { padding: 50px 20px 20px; }
}

@media (max-width: 480px) {
  .guide-footer { flex-direction: column; align-items: flex-start; }
  .guide-actions { width: 100%; }
  .guide-buy, .guide-detail { flex: 1; text-align: center; }
  .coffret-card h3 { font-size: 26px; }
  .coffret-price { font-size: 32px; }
  .how-steps { gap: 28px; }
  .testimonial { padding: 70px 16px; }
  .testimonial-quote { font-size: clamp(18px, 5vw, 26px); }
}
