/* ========================================
  PRATICO & AUREA ÉDITION - FEUILLE DE STYLE PRINCIPALE
======================================== */

/* ========================================
  POLICES AUREA 
  Principal : Bricolage Grotesque (corps, titres, texte courant)
  Secondaire : Dreaming Out Loud (titres accrocheurs, pills, boutons)
======================================== */
@font-face {
  font-family: "Aurea Body";
  src: url("/polices/Bricolage_Grotesque/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* Bricolage Grotesque = police principale Aurea */

@font-face {
  font-family: "Aurea Display";
  src: url("/polices/dreaming-outloud-pro-regular.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Dreaming Out Loud = police secondaire Aurea */

:root {
  --pe-bg: #ffffff;
  --pe-bg-alt: #f8f9fc;
  --pe-bg-soft: #f1f4f9;
  --pe-bg-card: #ffffff;
  --pe-bg-dark: #1a2942;
  --pe-bg-darker: #0f1a2b;
  --pe-primary: #1a3a5c;
  --pe-primary-light: #2d5a8a;
  --pe-primary-dark: #0f2540;
  --pe-accent: #2f8f95;
  --pe-accent-light: #43a8ae;
  --pe-accent-soft: rgba(47, 143, 149, 0.14);
  --pe-secondary: #3b82f6;
  --pe-pratico: #2a72bb;
  --pe-aurea: #064a59;
  --pe-aurea-beige: #f0e3d6;
  --pe-aurea-noir: #221f20;
  --pe-text-main: #1a2942;
  --pe-text-aurea: #221f20;
  --pe-text-secondary: #4a5568;
  --pe-text-muted: #6b7280;
  --pe-text-light: #a0aec0;
  --pe-text-white: #ffffff;
  --pe-border: rgba(26, 41, 66, 0.08);
  --pe-border-light: rgba(26, 41, 66, 0.12);
  --pe-glass: rgba(255, 255, 255, 0.9);
  --pe-glass-dark: rgba(26, 41, 66, 0.03);
  --pe-shadow-sm: 0 2px 8px rgba(26, 41, 66, 0.04), 0 1px 3px rgba(26, 41, 66, 0.02);
  --pe-shadow-md: 0 8px 24px rgba(26, 41, 66, 0.06), 0 2px 8px rgba(26, 41, 66, 0.03);
  --pe-shadow-lg: 0 16px 48px rgba(26, 41, 66, 0.08), 0 4px 12px rgba(26, 41, 66, 0.03);
  --pe-shadow-xl: 0 24px 64px rgba(26, 41, 66, 0.1), 0 8px 20px rgba(26, 41, 66, 0.04);
  --pe-shadow-card: 0 10px 40px rgba(26, 41, 66, 0.06), 0 2px 8px rgba(26, 41, 66, 0.02);
  --pe-radius-sm: 10px;
  --pe-radius-md: 14px;
  --pe-radius-lg: 20px;
  --pe-radius-xl: 24px;
  --pe-radius-2xl: 28px;
  --pe-gap-xs: 0.75rem;
  --pe-gap-sm: 1.5rem;
  --pe-gap-md: 2.5rem;
  --pe-gap-lg: 4rem;
  --pe-gap-xl: 6rem;
  --pe-gap-section: 6rem;
  --pe-hero-banner-height: 520px;
  --pe-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pe-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --pe-font-aurea-body: "Aurea Body", "bricolage-grotesque", "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --pe-font-aurea-body-weight: 300;
  --pe-font-aurea-body-kerning: 0;
  --pe-font-aurea-body-leading: 1.58;
  --pe-font-aurea-display: "Aurea Display", "Dreaming Out Loud", "Dreaming Outloud", "Caveat", cursive;
  --pe-font-aurea-display-kerning: -0.015em;
  --pe-font-aurea-display-leading: 1.54;
  --pe-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --pe-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --pe-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Aurea Jeunesse — P-01 : variables fusionnées ici depuis second :root (ligne ~9950 supprimée) */
  --pe-jeu-coral: #E8725A;
  --pe-jeu-gold: #F2A93B;
  --pe-jeu-mint: #4ECDC4;
  --pe-jeu-lavender: #9B8EC4;
  --pe-jeu-sky: #6CB4D9;
}

/* ========================================
  RESET & BASE
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--pe-font-sans);
  color: var(--pe-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fafbfe;
}

/* img dans .pe-main-aurea : voir variables de fond plus bas */

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--pe-transition-base);
}

p {
  margin: 0 0 1rem;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-family: var(--pe-font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pe-text-main);
}

section {
  scroll-margin-top: 100px;
}

ul {
  list-style: none;
}

/* ========================================
   LAYOUT
======================================== */
.pe-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pe-gap-sm);
}

.pe-main {
  padding-top: 0;
}

/* Les pages sans hero dédié : la première section compense le header fixe */
.pe-main > .pe-section:first-child:not([class*="hero"]) {
  padding-top: calc(90px + var(--pe-gap-section));
}

.pe-main-pratico {
  padding-top: 0;
  --pe-brand: #2a72bb;
  --pe-brand-light: #4a8fd4;
  --pe-brand-dark: #1e5a8f;
  --pe-brand-soft: rgba(42, 114, 187, 0.10);
  --pe-brand-gradient: linear-gradient(135deg, #2a72bb, #4a8fd4);
  --pe-bg-alt: #f0f5fb;
  --pe-bg-soft: #e8f0f8;
  --pe-bg-card: #ffffff;
  background: #ffffff;
}

.pe-main-aurea {
  padding-top: 0;
  --pe-brand: #064a59;
  --pe-brand-light: #0d6b7a;
  --pe-brand-dark: #043a47;
  --pe-bg: #f0e3d6;
  --pe-bg-alt: #f0e3d6;
  --pe-bg-soft: #f0e3d6;
  --pe-bg-card: #faf6f2;
  --pe-border: rgba(6, 74, 89, 0.08);
  --pe-bg-aurea: #faf6f2;
  --pe-bg-aurea-warm: #f5efe9;
  --pe-bg-aurea-beige: #f0e3d6;
  --pe-bg-aurea-beige-light: #f7efe8;
  --pe-text-aurea-main: #221f20;
  --pe-brand-soft: rgba(6, 74, 89, 0.10);
  --pe-brand-gradient: linear-gradient(135deg, #064a59, #0d6b7a);

  /* Fond global beige */
  background: #f0e3d6;
}

.pe-section {
  padding: var(--pe-gap-section) 0;
  position: relative;
}

.pe-section-alt {
  background: var(--pe-bg-alt);
  position: relative;
}

/* Aurea : Fond beige UNIFORME pour les sections (sauf heroes) */
.pe-main-aurea .pe-section:not([class*="hero"]),
.pe-main-aurea .pe-section-alt:not([class*="hero"]) {
  background: #f0e3d6;
  color: #221f20; /* Noir - dominant */
}

/* Heroes gardent leur fond transparent pour l'image floutée */
.pe-main-aurea .pe-section[class*="hero"] {
  background: transparent;
}

/* Cartes avec fond blanc cassé pour contraste sur beige */
.pe-main-aurea .pe-value-card,
.pe-main-aurea .pe-stat-card {
  background: #faf6f2; /* Blanc cassé pour contraste */
  border-color: rgba(6, 74, 89, 0.08);
}

/* Section avec fond sarcelle - pour CTA et sections clés */

/* ========================================
   2. SECTIONS GÉNÉRALES
   Styles communs à toutes les pages
======================================== */

/* --- Header & Navigation --- */
.pe-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(15, 26, 43, 0.97);
  transition: var(--pe-transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.pe-header.scrolled {
  background: rgba(15, 26, 43, 0.99);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.pe-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 2rem;
}

/* Page index : logo plus à gauche, nav plus à droite (plus d’espace entre les deux) */
.pe-header:has(.pe-logo-img-large) .pe-container {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

/* Logo */
.pe-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2.5rem;
}

.pe-logo a {
  display: flex;
  align-items: center;
}

.pe-logo-img {
  height: 44px;
  width: auto;
  transition: var(--pe-transition-base);
  border-radius: 6px;
  object-fit: contain;
}

/* Logo Aurea plus grand dans la navbar */
.pe-logo-img-aurea {
  height: 58px;
}

/* Logo Aurea Jeunesse (page Aurea Jeunesse) : plus visible dans la navbar */
.pe-logo-img-aurea-jeunesse {
  height: 65px;
}

.pe-logo-img-large {
  height: 65px;
}

.pe-logo a:hover .pe-logo-img {
  opacity: 0.8;
}

/* Navigation */
.pe-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.pe-nav-item {
  position: relative;
}

.pe-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.pe-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pe-accent);
  border-radius: 2px;
  transition: var(--pe-transition-base);
}

.pe-nav-link:hover {
  color: #ffffff;
}

.pe-nav-link:hover::after {
  width: 100%;
}

.pe-nav-link-main {
  font-weight: 600;
  color: #ffffff;
}

.pe-nav-link-active::after {
  width: 100%;
}

.pe-nav-link-highlight {
  color: #4a8fd4;
}

/* Dropdown */
.pe-nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-lg);
  padding: 0.75rem;
  min-width: 220px;
  box-shadow: var(--pe-shadow-xl);
  transition: var(--pe-transition-base);
  z-index: 1001;
}

.pe-nav-sub::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.pe-nav-item:hover .pe-nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pe-nav-sub .pe-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--pe-radius-md);
  font-size: 0.875rem;
  color: var(--pe-text-secondary);
}

.pe-nav-sub .pe-nav-link::after {
  display: none;
}

.pe-nav-sub .pe-nav-link:hover {
  background: var(--pe-bg-soft);
  color: var(--pe-primary);
}

.pe-nav-sub .pe-nav-link-highlight {
  color: #1f6f75;
  font-weight: 600;
}

/* Lien navbar masqué (ex. Catalogue A à Z caché pour le moment) */
.pe-nav-link-hidden,
.pe-nav-sub .pe-nav-link-hidden {
  display: none !important;
}

/* Catégories + Pour les écoles + Aurea Jeunesse + A à Z masqués temporairement dans la navbar */
.pe-nav-sub a[href="aurea-categories.html"],
.pe-nav-sub a[href="aurea-jeunesse.html"],
.pe-nav-sub a[href="pratico-a-z.html"] {
  display: none;
}

/* Masquer le bouton Aurea Jeunesse (niveau principal) sur toutes les navbars */
.pe-nav-item:has(> a[href="aurea-jeunesse.html"]) {
  display: none;
}

/* P-05 : règle doublon supprimée — .pe-nav-link-hidden suffit (ci-dessus ligne ~516) */

/* Hamburger Button */
.pe-hamburger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--pe-radius-md);
  cursor: pointer;
  transition: var(--pe-transition-base);
  z-index: 1002;
}

.pe-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.pe-hamburger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.pe-hamburger span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.25s ease;
}

.pe-hamburger span:nth-child(1) {
  top: 14px;
}

.pe-hamburger span:nth-child(2) {
  top: 21px;
}

.pe-hamburger span:nth-child(3) {
  top: 28px;
}

.pe-hamburger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.pe-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.pe-hamburger[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.pe-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pe-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   BUTTONS
======================================== */
.pe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-btn-primary {
  color: var(--pe-text-white);
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light));
  box-shadow:
    0 4px 16px rgba(26, 58, 92, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pe-btn-primary:hover {
  background: linear-gradient(135deg, var(--pe-primary-dark), var(--pe-primary));
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(26, 58, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pe-btn-secondary {
  background: var(--pe-bg-soft);
  color: var(--pe-primary);
  border: 2px solid var(--pe-border-light);
}

.pe-btn-secondary:hover {
  background: var(--pe-bg-card);
  border-color: var(--pe-primary);
  transform: translateY(-2px);
}

.pe-btn-ghost {
  background: transparent;
  color: var(--pe-text-main);
  border-radius: 14px;
  border: 1.5px solid var(--pe-border-light);
}

.pe-btn-ghost:hover {
  color: var(--pe-primary);
  border-color: var(--pe-primary);
  background: rgba(26, 58, 92, 0.04);
}

.pe-btn-outline {
  background: transparent;
  color: var(--pe-primary);
  border: 2px solid var(--pe-primary);
}

.pe-btn-outline:hover {
  background: var(--pe-primary);
  color: var(--pe-text-white);
  transform: translateY(-2px);
  box-shadow: var(--pe-shadow-md);
}

.pe-btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.8rem;
}

.pe-btn-large {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
}

.pe-btn-full {
  width: 100%;
}

/* Hero Block Button - White pill style */
.pe-btn-hero-block {
  background: #ffffff;
  color: #1a2942;
  border: none;
  text-transform: uppercase;
  border-radius: 100px;
  font-weight: 700;
  box-shadow:
    0 8px 24px rgba(26, 41, 66, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  font-size: 0.75rem;
  padding: 0.9rem 2rem;
  letter-spacing: 0.1em;
}

.pe-btn-hero-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pe-btn-hero-block:hover::before {
  opacity: 1;
}

.pe-btn-arrow {
  transition: transform var(--pe-transition-base);
}

.pe-btn:hover .pe-btn-arrow {
  transform: translateX(4px);
}

/* ========================================
   PILLS / BADGES
======================================== */
.pe-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Pills : voir section "Pill Enhancement" plus bas */

.pe-pill-small {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
}

/* ========================================
   HERO SECTION
======================================== */
/* Hero : fond style papier discret (dégradé chaud + légère texture) — page index, padding variable (non standardisé) */
.pe-hero {
  padding: calc(90px + 6rem) 0 5rem;
  position: relative;
  background-color: #f4f1eb;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(0,0,0,0.006) 4px,
      rgba(0,0,0,0.006) 5px
    ),
    linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 45%),
    linear-gradient(160deg, #f7f5f0 0%, #f0ebe3 35%, #f3eee8 60%, #faf8f4 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  overflow: hidden;
}

.pe-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(42, 114, 187, 0.08) 0%, rgba(42, 114, 187, 0.03) 40%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBlob1 20s ease-in-out infinite;
}

.pe-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 74, 89, 0.08) 0%, rgba(6, 74, 89, 0.03) 40%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBlob2 25s ease-in-out infinite;
}

@keyframes floatBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes floatBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 25px) scale(0.95); }
}

.pe-hero-enhanced {
  position: relative;
  z-index: 1;
}

.pe-hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.pe-hero-text-center {
  text-align: center;
}

.pe-hero-text h1 {
  font-weight: 700;
  color: var(--pe-text-main);
  letter-spacing: -0.02em;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 1.75rem;
}

.pe-highlight {
  color: var(--pe-accent);
}

.pe-highlight-v2 {
  display: inline;
  position: relative;
  background: none;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.6);
}

.pe-highlight-v2::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15em;
  height: 0.4em;
  border-radius: 2px;
  opacity: 0.6;
  z-index: -1;
}

.pe-highlight-pratico {
  -webkit-text-fill-color: #2a72bb;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.7);
}

.pe-highlight-pratico::after {
  background: linear-gradient(90deg, #2a72bb, #4a8fd4);
}

.pe-highlight-aurea {
  -webkit-text-fill-color: #064a59;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.7);
}

.pe-highlight-aurea::after {
  background: linear-gradient(90deg, #064a59, #0d6b7a);
}

.pe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pe-accent);
  padding: 0.4rem 1.25rem;
  border-radius: 100px;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(47, 143, 149, 0.08);
  border: 1px solid rgba(47, 143, 149, 0.18);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pe-hero-lead {
  color: var(--pe-text-secondary);
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.75;
  max-width: 760px;
}

/* Hero Stats */
.pe-hero-stats-v2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.5rem;
  margin: 3.5rem 0 3rem;
}

.pe-stat-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.pe-stat-v2-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
  transition: var(--pe-transition-base);
  width: 130px;
  height: 130px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 8px 32px rgba(26, 41, 66, 0.06),
    0 2px 8px rgba(26, 41, 66, 0.02),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(26, 41, 66, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pe-stat-interactive:hover .pe-stat-v2-circle {
  border-color: rgba(47, 143, 149, 0.2);
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.06);
  box-shadow:
    0 12px 40px rgba(26, 41, 66, 0.1),
    0 4px 12px rgba(26, 41, 66, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 -1px 1px rgba(26, 41, 66, 0.04);
}

.pe-stat-v2-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pe-stat-v2-bg {
  fill: none;
  stroke: rgba(26, 41, 66, 0.04);
  stroke-width: 2;
}

.pe-stat-v2-fill {
  fill: none;
  stroke: url(#statGradient);
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
  stroke-width: 2.5;
}

.pe-stat-v2-content {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pe-counter {
  font-family: var(--pe-font-sans);
  color: var(--pe-text-main);
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.25rem;
  font-weight: 800;
}

.pe-stat-v2-plus {
  color: var(--pe-accent);
  font-size: 1.25rem;
  font-weight: 800;
}

.pe-stat-v2-label { /* Corrigé #718096 → #5a6474 : passe WCAG AA (~5.5:1 sur fond clair) */
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pe-text-secondary);
  margin-top: 0.25rem;
}

.pe-stat-tooltip {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  color: var(--pe-text-white);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--pe-transition-base);
  z-index: 10;
  background: var(--pe-text-main);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(15, 26, 43, 0.2);
}

.pe-stat-interactive:hover .pe-stat-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   HERO BLOCKS - Premium Cards
======================================== */
.pe-hero-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pe-hero-block {
  position: relative;
  max-height: 640px; /* I-05 : limite l'étirement sur grands écrans (>1600px) */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 20px 60px rgba(26, 41, 66, 0.12),
    0 4px 16px rgba(26, 41, 66, 0.06);
  min-height: 500px;
  border-radius: 28px;
}

.pe-hero-block:hover { /* A-02 : -12px/-1.02 → -6px/1.01 — plus élégant, moins "jouet" */
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 30px 80px rgba(26, 41, 66, 0.18),
    0 8px 24px rgba(26, 41, 66, 0.1);
}

.pe-hero-block-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* A-03 : durée 0.7→0.6s */
}

/* Background par défaut pour le bloc Pratico Édition Cuisine (home) */
.pe-hero-cuisine .pe-hero-block-image {
  background-image: url("/img/Bannière site web VF (970 x 415 px) (29).png");
}


.pe-hero-block:hover .pe-hero-block-image {
  transform: scale(1.04); /* A-03 : réduit 1.08→1.04 — plus subtil, moins "jouet" */
}

/* Overlay */
.pe-hero-block-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.pe-hero-cuisine .pe-hero-block-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 20, 40, 0) 0%,
    rgba(10, 20, 40, 0) 30%,
    rgba(10, 20, 40, 0.55) 65%,
    rgba(10, 20, 40, 0.82) 100%
  );
}

.pe-hero-romans .pe-hero-block-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 20, 40, 0) 0%,
    rgba(10, 20, 40, 0) 30%,
    rgba(10, 20, 40, 0.55) 65%,
    rgba(10, 20, 40, 0.82) 100%
  );
}

/* Content positioned at bottom */
.pe-hero-block-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2.5rem 3rem;
  gap: 0.75rem;
}

/* Logo centered at top */
.pe-hero-block-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  top: 1.5rem;
}

.pe-hero-block:hover .pe-hero-block-logo {
  transform: translateX(-50%) scale(1.05);
}

.pe-hero-block-logo img {
  width: auto;
  object-fit: contain;
  height: 160px;
  max-width: 300px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Text styling - White text for Pratico (dark overlay) */
.pe-hero-cuisine .pe-hero-block-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin: 0 0 0.5rem;
  font-family: var(--pe-font-serif);
  transition: color 0.3s ease;
}

.pe-hero-cuisine:hover .pe-hero-block-content h2 {
  color: #ffffff;
}

.pe-hero-cuisine .pe-hero-block-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 90%;
}

/* Text styling - Light text for Aurea */
.pe-hero-romans .pe-hero-block-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin: 0 0 0.5rem;
  font-family: var(--pe-font-serif);
}

.pe-hero-romans .pe-hero-block-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 90%;
}

/* Button hover effect */
.pe-hero-block .pe-btn-hero-block {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-hero-block:hover .pe-btn-hero-block {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 41, 66, 0.25);
}

/* ========================================
   SCROLL INDICATOR
======================================== */

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollArrows {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* ========================================
   SECTION HEADER
======================================== */
.pe-section-header {
  text-align: center;
  margin-bottom: var(--pe-gap-md);
  position: relative;
}

.pe-section-header h2 {
  color: var(--pe-text-main);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

.pe-section-intro {
  color: var(--pe-text-secondary);
  margin: 0 auto;
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 1rem;
}

/* ========================================
   AUTHORS SECTION - CAROUSEL
======================================== */

/* Carousel */

/* Author Cards */

/* Badges : voir section "Badge Enhancement" plus bas */

/* C-03 : rôle auteur Aurea — sur fond beige #faf6f2 */

/* Carousel Indicators */

/* Authors Actions */

/* ========================================
   BOUTIQUE SECTION
======================================== */
.pe-boutique-section-enhanced {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--pe-bg-alt) 0%, #f0f4fa 100%);
  position: relative;
  overflow: hidden;
}

.pe-boutique-block-enhanced {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem); /* E-04 : gap fluide, évite l'excès sur tablette */
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

.pe-boutique-content {
  position: relative;
}

.pe-boutique-badge-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  padding: 0.4rem 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light));
  color: white;
  box-shadow: 0 4px 14px rgba(26, 58, 92, 0.2);
}

.pe-boutique-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-family: var(--pe-font-serif);
  color: var(--pe-text-main);
}

.pe-boutique-intro {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: var(--pe-text-secondary);
}

.pe-boutique-features-enhanced {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pe-boutique-feature-improved {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: 0.3s cubic-bezier(0, 0, 0.2, 1); /* A-04 : ease-out — translateX plus naturel */
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 41, 66, 0.04);
  box-shadow: 0 2px 8px rgba(26, 41, 66, 0.03);
}

.pe-boutique-feature-improved:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(26, 58, 92, 0.12);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(26, 41, 66, 0.06);
}

.pe-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light));
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.pe-boutique-feature-improved span {
  font-weight: 500;
  color: var(--pe-text-main);
  font-size: 0.88rem;
}

/* Boutique Visual */
.pe-boutique-visual-enhanced {
  position: relative;
}

.pe-boutique-books-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pe-book-stack {
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  position: relative;
}

.pe-book-stack:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.12),
    0 8px 20px rgba(26, 41, 66, 0.06);
}

.pe-book-stack img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: none;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(26, 41, 66, 0.1), 0 2px 8px rgba(26, 41, 66, 0.05);
}

.pe-book-stack:hover img {
  transform: scale(1.05);
  box-shadow: 0 16px 50px rgba(26, 41, 66, 0.15), 0 4px 12px rgba(26, 41, 66, 0.08);
}

.pe-book-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  text-transform: uppercase;
  z-index: 2;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.62rem;
  padding: 0.3rem 0.7rem;
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}

.pe-badge-new {
  background: #047857; /* C-04 : corrigé #10b981 (2.4:1) → #047857 (4.5:1 sur blanc, WCAG AA) */
  color: white;
}

.pe-badge-bestseller {
  background: var(--pe-accent);
  color: white;
}

.pe-badge-favorite {
  background: var(--pe-primary);
  color: white;
}

.pe-book-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--pe-transition-base);
  background: linear-gradient(180deg, transparent 40%, rgba(15, 26, 43, 0.92) 100%);
  padding: 1rem;
  border-radius: 0 0 16px 16px;
}

.pe-book-stack:hover .pe-book-overlay {
  opacity: 1;
}

.pe-book-title {
  font-family: var(--pe-font-serif);
  font-weight: 700;
  color: var(--pe-text-white);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.pe-book-category {
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

/* ========================================
   BANNIÈRES — hauteur fixe identique (avec ou sans texte)
   Même dimensions pour toutes les pages sauf index (.pe-hero-enhanced) et distributeurs (pas de hero).
======================================== */
.pe-mission-hero,
.pe-nouveautes-hero-v2,
.pe-manuscrit-hero,
.pe-auteurs-hero,
.pe-az-hero,
.pe-auteur-detail-hero,
.pe-hero:not(.pe-hero-enhanced) {
  height: var(--pe-hero-banner-height);
  padding: 90px 0 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pe-mission-hero > .pe-container,
.pe-nouveautes-hero-v2 > .pe-container,
.pe-manuscrit-hero > .pe-container,
.pe-auteurs-hero > .pe-container,
.pe-az-hero > .pe-container,
.pe-auteur-detail-hero > .pe-container,
.pe-hero:not(.pe-hero-enhanced) > .pe-container {
  width: 100%;
}

/* ========================================
   NOUVEAUTES HERO V2
======================================== */
.pe-nouveautes-hero-v2 {
  position: relative;
  overflow: hidden;
}

.pe-nouveautes-hero-v2.pe-pratico-theme {
  background: linear-gradient(150deg, #f0f5fb 0%, #e8f0f8 40%, #f5f7fc 100%);
}

.pe-nouveautes-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(47, 143, 149, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 58, 92, 0.06) 0%, transparent 50%);
}

.pe-nouveautes-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pe-nouveautes-hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--pe-text-main);
}

.pe-nouveautes-hero-text {
  font-size: 1.1rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
}

/* ========================================
   FEATURED BOOK SECTION
======================================== */
/* Section « Découverte du mois » masquée temporairement */
.pe-featured-book-section-temp-hidden {
  display: none;
}

.pe-featured-book-section {
  padding: var(--pe-gap-section) 0;
  background: var(--pe-bg);
}

/* Masquage global temporaire des blocs de statistiques sur toutes les pages */
.pe-stats-grid,
.pe-hero-stats-v2,
.pe-cat-hero-stats {
  display: none !important;
}

/* Masquage temporaire de la section "Nos valeurs" sur la page Pratico */
.pe-section-values-temp-hidden {
  display: none;
}

.pe-featured-book {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--pe-bg-card);
  overflow: hidden;
  transition: var(--pe-transition-slow);
  border-radius: 28px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  box-shadow:
    0 12px 40px rgba(26, 41, 66, 0.06),
    0 2px 8px rgba(26, 41, 66, 0.03);
}

.pe-featured-book:hover {
  border-color: transparent;
  box-shadow:
    0 24px 60px rgba(26, 41, 66, 0.1),
    0 4px 16px rgba(26, 41, 66, 0.05);
}

.pe-featured-book-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: linear-gradient(145deg, var(--pe-bg-soft), rgba(26, 41, 66, 0.02));
}

.pe-featured-book-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-featured-book:hover .pe-featured-book-image img {
  transform: scale(1.05);
}

.pe-featured-book-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--pe-accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(47, 143, 149, 0.3);
}

.pe-featured-book-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pe-featured-book-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pe-featured-book-date {
  font-size: 0.85rem;
  color: var(--pe-text-muted);
  font-weight: 500;
}

.pe-featured-book-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--pe-text-main);
  margin-bottom: 0.5rem;
}

.pe-featured-book-author {
  font-size: 1rem;
  color: var(--pe-accent);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.pe-featured-book-excerpt {
  font-size: 1rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pe-featured-book-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--pe-border);
  border-bottom: 1px solid var(--pe-border);
  margin-bottom: 1.5rem;
}

.pe-detail-item {
  text-align: center;
}

.pe-detail-label {
  display: block;
  font-size: 0.75rem;
  color: var(--pe-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.pe-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pe-text-main);
}

.pe-featured-book-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   FILTERS V2
======================================== */

.pe-filters-v2 {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pe-filter-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: 100px;
  color: var(--pe-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--pe-transition-base);
}

.pe-filter-btn-v2:hover {
  background: var(--pe-bg-soft);
  border-color: var(--pe-primary);
  color: var(--pe-primary);
}

.pe-filter-btn-v2.pe-filter-active {
  background: var(--pe-primary);
  border-color: var(--pe-primary);
  color: white;
}

.pe-filter-btn-v2.pe-filter-active.pe-pratico-theme {
  background: #2a72bb;
  border-color: #2a72bb;
}

.pe-filter-icon {
  font-size: 1.1rem;
}

/* ========================================
   NOUVEAUTES GRID V2
======================================== */
.pe-nouveautes-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--pe-gap-sm);
  row-gap: var(--pe-gap-sm); /* E-01 : aligné avec le token existant (1.5rem) */
}

/* Espace entre les boutons de tri et la grille (page Nouveautés) */
.pe-nouveautes-list-section .pe-nouveautes-grid-v2 {
  margin-top: var(--pe-gap-md);
}

/* Card = conteneur subgrid invisible, 2 rangees: image + texte */
.pe-nouveaute-card-v2 {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0.5rem;
}

/* IMAGE — bloc independant, aligne en bas de sa rangee (taille légèrement réduite) */
.pe-nouveaute-visual {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  align-self: end;
  max-width: 88%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  box-shadow:
    0 4px 16px rgba(26, 41, 66, 0.04),
    0 1px 4px rgba(26, 41, 66, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
}

.pe-nouveaute-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.7s ease;
}

.pe-nouveaute-visual:hover img {
  transform: scale(1.05);
}

/* -- Hover C4 : la C4 est en background-image du conteneur, la C1 s'efface au hover -- */
.pe-has-cover-back:hover .pe-cover-front {
  opacity: 0;
}

/* Désactiver le scale au hover pour les cartes avec C4 */
.pe-has-cover-back:hover img {
  transform: none;
}

/* Boutons "Voir plus" masqués — remplacés par l'effet hover C4 */
.pe-nouveaute-overlay {
  display: none;
}

/* ---- LIGHTBOX ---- */
.pe-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.pe-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.pe-quick-view-btn {
  padding: 0.75rem 1.5rem;
  background: var(--pe-primary);
  border: none;
  border-radius: var(--pe-radius-md);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--pe-transition-base);
  transform: translateY(10px);
}

.pe-nouveaute-visual:hover .pe-quick-view-btn {
  transform: translateY(0);
}

.pe-quick-view-btn:hover {
  background: var(--pe-primary-light);
  transform: scale(1.05);
}

/* TEXTE — remplit sa rangee, bouton pousse en bas */
.pe-nouveaute-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: var(--pe-bg-soft);
  border-radius: var(--pe-radius-lg);
  margin-bottom: 1.5rem; /* E-02 : réduit 3rem→1.5rem (espacement vertical cohérent) */
}

.pe-nouveaute-info .pe-btn {
  margin-top: auto;
}

.pe-nouveaute-info .pe-pill {
  margin-bottom: 0.5rem;
}

/* Titre dans la pill (Pratico) : même police que l’ancien h3, pas de doublon */
.pe-main-pratico .pe-nouveaute-info .pe-pill.pe-pill-pratico {
  font-family: var(--pe-font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--pe-text-main);
}

.pe-nouveaute-info h3 {
  font-size: 1rem;
  color: var(--pe-text-main);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.pe-nouveaute-author {
  font-size: 0.85rem;
  color: var(--pe-accent);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.pe-nouveaute-excerpt {
  font-size: 0.85rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Pratico section : plus de lignes de description */
.pe-main-pratico .pe-nouveautes-grid-v2 .pe-nouveaute-excerpt {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.pe-nouveaute-date {
  font-size: 0.8rem;
  color: var(--pe-text-secondary);
  font-style: italic;
  margin-top: 0.4rem;
}

.pe-nouveaute-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0.75rem;
  margin-top: auto;
  border-top: 1px solid var(--pe-border);
}

/* ========================================
   OLD-FORMAT NOUVEAUTE CARDS & UPCOMING
======================================== */

/* Upcoming cards */

/* ========================================
   AUTHOR SPOTLIGHT
======================================== */

/* ========================================
   NEWSLETTER SECTION
======================================== */
.pe-newsletter-section {
  padding: var(--pe-gap-section) 0;
  background: var(--pe-bg);
}

.pe-newsletter-box {
  padding: var(--pe-gap-xl) var(--pe-gap-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--pe-bg-dark), #0f1a2b);
  box-shadow:
    0 24px 60px rgba(15, 26, 43, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pe-newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(47, 143, 149, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pe-newsletter-box > * {
  position: relative;
  z-index: 1;
}

.pe-newsletter-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.pe-newsletter-box h2 {
  color: var(--pe-text-white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.pe-newsletter-box > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.pe-newsletter-form-inline {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.pe-newsletter-form-inline input {
  flex: 1;
  padding: 1rem 1.5rem;
  color: var(--pe-text-white);
  font-size: 1rem;
  transition: var(--pe-transition-base);
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.07);
}

.pe-newsletter-form-inline input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.pe-newsletter-form-inline input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--pe-accent);
  box-shadow: 0 0 0 3px rgba(47, 143, 149, 0.15);
}

.pe-newsletter-privacy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.pe-newsletter-privacy a {
  color: var(--pe-accent-light);
  text-decoration: underline;
}

/* ========================================
   MISSION HERO
======================================== */
.pe-mission-hero {
  position: relative;
  overflow: hidden;
}

.pe-mission-hero + .pe-section {
  padding-top: var(--pe-gap-section);
}

/* Réduire l'espace entre la bannière et le titre Nouveautés (page Pratico) */
.pe-mission-hero + .pe-nouveautes-list-section {
  padding-top: 2rem;
}

.pe-mission-hero-pratico {
  background: linear-gradient(135deg, #f0f5fb 0%, #e8f0f8 50%, #f5f7fc 100%);
}

/* Accroche bannière Pratico (sans bloc citation) */
.pe-mission-hero-pratico .pe-hero-tagline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.pe-mission-hero-pratico .pe-mission-hero-text {
  color: #2d5a8a;
  font-size: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.pe-mission-hero-aurea {
  background: transparent; /* Laisser voir l'image floutée */
}

/* ---- BANNIÈRE VIDÉO (TEST) ---- */
.pe-video-hero {
  position: relative;
  overflow: hidden;
  height: calc(90px + 520px); /* hauteur totale : navbar + zone visible */
}

.pe-video-hero-media {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  /* Centre la vidéo verticalement dans le conteneur */
  top: 50%;
  transform: translateY(-50%);
}

.pe-video-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.pe-video-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.pe-video-hero-aurea .pe-hero-tagline {
  font-family: var(--pe-font-aurea-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #f0e3d6;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: var(--pe-font-aurea-display-kerning);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pe-video-hero-aurea .pe-mission-hero-text {
  color: rgba(240, 227, 214, 0.95);
  font-size: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Accroche bannière Aurea (sans bloc citation) */
.pe-mission-hero-aurea .pe-hero-tagline {
  font-family: var(--pe-font-aurea-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #f0e3d6;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: var(--pe-font-aurea-display-kerning);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.pe-mission-hero-aurea .pe-mission-hero-text {
  color: rgba(240, 227, 214, 0.95);
  font-size: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.pe-mission-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pe-mission-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.pe-mission-hero-text {
  font-size: 1.15rem;
  color: var(--pe-text-secondary);
  line-height: 1.8;
}

/* Citation hero (Mission Pratico/Aurea, Nouveautés, Auteurs) — cartouche avec fond semi-transparent et guillemets */
.pe-mission-hero-quote {
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 500;
  color: var(--pe-text-main);
  max-width: 48rem;
  margin: 4rem auto 2.5rem;
  padding: 1.75rem 2.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 40px rgba(15, 26, 43, 0.25);
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.pe-mission-hero-quote::before,
.pe-mission-hero-quote::after {
  position: absolute;
  font-family: var(--pe-font-serif);
  color: rgba(26, 41, 66, 0.25);
}

.pe-mission-hero-quote::before {
  content: '“';
  font-size: 3rem;
  top: -0.75rem;
  left: 1.5rem;
}

.pe-mission-hero-quote::after {
  content: '”';
  font-size: 2.5rem;
  bottom: -1.25rem;
  right: 1.75rem;
}

/* Taille citation : Aurea (Mission, Nouveautés, Auteurs) */
.pe-main-aurea .pe-mission-hero-quote,
.pe-main-aurea .pe-nouveautes-hero-v2 .pe-mission-hero-quote,
.pe-main-aurea .pe-auteurs-hero .pe-mission-hero-quote {
  font-size: 1.7rem;
}

/* Taille citation : Pratico (Nouveautés, Auteurs) — Mission utilise la base .pe-mission-hero-quote */
.pe-main-pratico .pe-nouveautes-hero-v2 .pe-mission-hero-quote,
.pe-main-pratico .pe-auteurs-hero .pe-mission-hero-quote {
  font-size: 1.65rem;
}

/* ========================================
   VALUES GRID
======================================== */
.pe-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pe-gap-sm);
}

.pe-value-card {
  background: var(--pe-bg-card);
  text-align: center;
  box-shadow: var(--pe-shadow-sm);
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pe-value-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.1),
    0 4px 12px rgba(26, 41, 66, 0.04);
}

.pe-value-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pe-accent);
  transition: var(--pe-transition-base);
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pe-accent-soft), rgba(47, 143, 149, 0.06));
}

.pe-value-card:hover .pe-value-icon {
  color: white;
  background: linear-gradient(135deg, var(--pe-accent), var(--pe-accent-light));
  box-shadow: 0 8px 24px rgba(47, 143, 149, 0.25);
}

.pe-value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pe-value-card p {
  color: var(--pe-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   COMMITMENT GRID
======================================== */
.pe-commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pe-gap-lg);
  align-items: center;
}

.pe-commitment-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.pe-commitment-intro {
  font-size: 1.05rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pe-commitment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pe-commitment-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
}

.pe-commitment-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--pe-accent);
  border-radius: 50%;
}

.pe-commitment-visual {
  position: relative;
}

.pe-commitment-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.1),
    0 4px 16px rgba(26, 41, 66, 0.04);
}

.pe-commitment-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ========================================
   CREATORS GRID
======================================== */
.pe-creators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pe-gap-lg);
  align-items: center;
}

.pe-creators-visual {
  position: relative;
}

.pe-creators-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.1),
    0 4px 16px rgba(26, 41, 66, 0.04);
}

.pe-creators-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
}

/* Aurea - afficher la photo entière avec même style de carte */
.pe-main-aurea .pe-creators-image {
  border-radius: var(--pe-radius-2xl);
  box-shadow: var(--pe-shadow-xl);
  overflow: hidden;
}

.pe-main-aurea .pe-creators-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;    /* l’ombre vient du conteneur */
}

.pe-creators-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.pe-creators-intro {
  font-size: 1.05rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pe-creators-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pe-creators-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
}

.pe-creators-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--pe-primary);
  border-radius: 50%;
}

/* ========================================
   STATS GRID
======================================== */
.pe-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pe-gap-sm);
}

.pe-stat-card {
  background: var(--pe-bg-card);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--pe-shadow-sm);
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pe-stat-card:hover {
  border-color: var(--pe-primary);
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.1),
    0 4px 12px rgba(26, 41, 66, 0.04);
}

.pe-stat-card .pe-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pe-primary);
  font-family: var(--pe-font-sans);
  margin-bottom: 0.5rem;
  display: block;
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pe-stat-card .pe-stat-label {
  font-size: 0.9rem;
  color: var(--pe-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* ========================================
   RETAILERS / DISTRIBUTORS
======================================== */
.pe-retailers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--pe-gap-sm);
  align-items: stretch;
}

.pe-retailer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--pe-bg-card);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--pe-shadow-sm);
  border-radius: 20px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-retailer-logo:hover {
  border-color: var(--pe-primary);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(26, 41, 66, 0.08),
    0 4px 12px rgba(26, 41, 66, 0.03);
}

/* Zone logo à hauteur fixe pour que les textes démarrent au même niveau */
.pe-retailer-logo .pe-retailer-img {
  width: auto;
  height: 56px;
  max-width: 140px;
  min-height: 56px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
  object-position: center;
  filter: grayscale(30%);
  transition: var(--pe-transition-base);
  flex-shrink: 0;
}

.pe-retailer-logo:hover .pe-retailer-img {
  filter: grayscale(0%);
}

.pe-retailer-text {
  font-size: 0.85rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
  margin: 0;
  text-align: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}

/* ========================================
   CONTACT PAGE
======================================== */
.pe-contact {
  padding: var(--pe-gap-section) 0;
}

.pe-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--pe-gap-sm);
  margin-bottom: var(--pe-gap-md);
}

.pe-contact-card {
  background: var(--pe-bg-card);
  padding: 2rem;
  box-shadow: var(--pe-shadow-sm);
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-contact-card:hover {
  border-color: var(--pe-primary);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(26, 41, 66, 0.08),
    0 4px 12px rgba(26, 41, 66, 0.03);
}

.pe-contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--pe-text-main);
  font-family: var(--pe-font-serif);
}

.pe-contact-card-featured {
  border-color: var(--pe-primary);
  color: var(--pe-text-white);
  background: linear-gradient(145deg, var(--pe-primary), var(--pe-primary-dark));
  box-shadow:
    0 12px 40px rgba(26, 58, 92, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pe-contact-card-featured h3 {
  color: var(--pe-text-white);
}

.pe-contact-card-featured p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.pe-contact-card-featured .pe-btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.pe-contact-card-featured .pe-btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.pe-contact-list {
  margin: 0;
}

.pe-contact-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--pe-border);
}

.pe-contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pe-contact-item dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pe-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.pe-contact-item dd {
  font-size: 0.95rem;
  color: var(--pe-text-main);
  line-height: 1.6;
}

.pe-contact-item dd a {
  color: var(--pe-primary);
}

.pe-contact-item dd a:hover {
  color: var(--pe-accent);
}

.pe-contact-name {
  font-weight: 600;
}

/* Contact Form Wrapper */
.pe-contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pe-gap-md);
  margin-bottom: var(--pe-gap-md);
}

.pe-contact-form-container,
.pe-map-container {
  background: var(--pe-bg-card);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  box-shadow:
    0 8px 32px rgba(26, 41, 66, 0.04),
    0 2px 8px rgba(26, 41, 66, 0.02);
}

.pe-contact-form-container h3,
.pe-map-container h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--pe-font-serif);
}

.pe-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pe-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pe-form-row label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pe-text-main);
}

.pe-form-row input,
.pe-form-row select,
.pe-form-row textarea {
  font-size: 1rem;
  font-family: var(--pe-font-sans);
  background: var(--pe-bg);
  color: var(--pe-text-main);
  border-radius: 14px;
  border: 1.5px solid rgba(26, 41, 66, 0.08);
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
}

.pe-form-row input:focus,
.pe-form-row select:focus,
.pe-form-row textarea:focus {
  outline: none;
  border-color: var(--pe-primary);
  box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.06);
}

.pe-form-row textarea {
  resize: vertical;
  min-height: 120px;
}

/* Map */
.pe-map-wrapper {
  border-radius: var(--pe-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.pe-map-wrapper iframe {
  display: block;
}

.pe-map-info {
  padding: 1rem;
  background: var(--pe-bg-soft);
  border-radius: var(--pe-radius-md);
}

.pe-map-info p {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--pe-text-secondary);
}

.pe-map-info p:first-child {
  margin-bottom: 0.5rem;
}

/* Manuscript Notice */

/* ========================================
   MANUSCRIT PAGE
======================================== */
.pe-manuscrit-hero {
  background: linear-gradient(135deg, #fff8f3 0%, #fef5ef 100%);
  position: relative;
  overflow: hidden;
}

.pe-manuscrit-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pe-manuscrit-hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.pe-manuscrit-hero-text {
  font-size: 1.1rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
}

/* Note manuscrit — encadré callout */
.pe-manuscrit-note-section {
  background: transparent;
}

.pe-manuscrit-note {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(42, 114, 187, 0.07) 0%, rgba(42, 114, 187, 0.03) 100%);
  border: 1px solid rgba(42, 114, 187, 0.18);
  border-left: 4px solid #2a72bb;
  border-radius: var(--pe-radius-xl);
  padding: 2rem 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.pe-manuscrit-note-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #2a72bb;
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--pe-font-serif, "Playfair Display", Georgia, serif);
  line-height: 1;
  box-shadow: 0 4px 16px rgba(42, 114, 187, 0.25);
}

.pe-manuscrit-note-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--pe-text-secondary);
  margin: 0;
}

/* Variante Aurea */
.pe-main-aurea .pe-manuscrit-note {
  background: linear-gradient(135deg, rgba(6, 74, 89, 0.07) 0%, rgba(6, 74, 89, 0.03) 100%);
  border-color: rgba(6, 74, 89, 0.18);
  border-left-color: #064a59;
}

.pe-main-aurea .pe-manuscrit-note-icon {
  background: #064a59;
  box-shadow: 0 4px 16px rgba(6, 74, 89, 0.25);
  font-family: var(--pe-font-aurea-display, "Dreaming Outloud", cursive);
}

/* Process Steps — zigzag éditorial */
.pe-manuscrit-process {
  display: block;
}

.pe-manuscrit-process ul {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 660px;
  position: relative;
}

/* Ligne verticale connectrice */
.pe-manuscrit-process ul::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 2rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--pe-border-light) 15%,
    var(--pe-border-light) 85%,
    transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.pe-process-step {
  background: var(--pe-bg-card);
  border-left: 3px solid var(--pe-accent);
  padding: 1.5rem 1.75rem;
  text-align: left;
  box-shadow: var(--pe-shadow-sm);
  width: calc(100% - 3rem);
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

/* Zigzag : impairs à gauche, pairs décalés à droite */
.pe-process-step:nth-child(odd) {
  align-self: flex-start;
  margin-right: 3rem;
}

.pe-process-step:nth-child(even) {
  align-self: flex-end;
  margin-left: 3rem;
}

.pe-process-step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.08),
    0 4px 12px rgba(26, 41, 66, 0.03);
}

.pe-process-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.pe-process-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--pe-text-main);
}

.pe-process-number {
  min-width: 40px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--pe-font-sans);
  flex-shrink: 0;
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(47, 143, 149, 0.25);
}

.pe-process-body p {
  color: var(--pe-text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* Couleurs de bordure gauche par marque */
.pe-main-pratico .pe-process-step {
  border-left-color: #2a72bb;
}

.pe-main-aurea .pe-process-step {
  border-left-color: #064a59;
}

/* Guidelines */
.pe-manuscrit-guidelines {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--pe-gap-lg);
  align-items: start;
}

/* Panneau gauche : types de projets acceptés (Aurea) */
.pe-guidelines-types-panel {
  background: linear-gradient(160deg, #064a59 0%, #0d6b7a 100%);
  border-radius: var(--pe-radius-xl);
  padding: 2.25rem 2rem;
  color: #f0e3d6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(6, 74, 89, 0.25);
  min-height: 320px;
  justify-content: center;
}

.pe-guidelines-types-panel .pe-guidelines-types-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0e3d6;
  margin: 0;
}

.pe-guidelines-types-panel .pe-guidelines-types-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  font-family: var(--pe-font-aurea-body, "Bricolage Grotesque", sans-serif);
}

.pe-guidelines-types-panel .pe-guidelines-types-detail {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(240, 227, 214, 0.2);
  padding-top: 1rem;
}

.pe-guidelines-types-panel .pe-guidelines-types-detail li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.85rem;
  color: rgba(240, 227, 214, 0.85);
  line-height: 1.35;
}

.pe-guidelines-types-panel .pe-guidelines-types-detail li span {
  font-size: 0.75rem;
  color: rgba(240, 227, 214, 0.6);
}

.pe-guidelines-types-panel .pe-guidelines-types-detail li strong {
  color: #f0e3d6;
  font-weight: 600;
  font-size: 0.9rem;
}

.pe-guidelines-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.pe-guidelines-intro {
  font-size: 1.05rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pe-guidelines-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pe-guidelines-list li {
  position: relative;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--pe-bg-card);
  font-size: 0.95rem;
  color: var(--pe-text-secondary);
  line-height: 1.5;
  border-radius: 14px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.3s ease;
}

.pe-guidelines-list li strong {
  color: var(--pe-text-main);
}

.pe-guidelines-visual {
  position: relative;
}

.pe-guidelines-image {
  border-radius: var(--pe-radius-2xl);
  overflow: hidden;
  box-shadow: var(--pe-shadow-xl);
}

.pe-guidelines-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Form Wrapper */
.pe-manuscrit-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.pe-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pe-form-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.pe-form-header p {
  color: var(--pe-text-secondary);
}

.pe-submit-box {
  background: var(--pe-bg-card);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  box-shadow:
    0 8px 32px rgba(26, 41, 66, 0.06),
    0 2px 8px rgba(26, 41, 66, 0.02);
}

.pe-form,
.pe-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* File Input */
.pe-file-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
}

.pe-file-label span:first-child {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pe-text-main);
}

.pe-file-label input[type="file"] {
  padding: 1rem;
  border: 2px dashed var(--pe-border);
  border-radius: var(--pe-radius-md);
  background: var(--pe-bg-soft);
  cursor: pointer;
  transition: var(--pe-transition-base);
}

.pe-file-label input[type="file"]:hover {
  border-color: var(--pe-primary);
  background: var(--pe-bg-card);
}

.pe-file-hint {
  font-size: 0.8rem;
  color: var(--pe-text-muted);
}

/* Checkbox */
.pe-form-checkbox {
  padding: 0;
}

.pe-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--pe-text-secondary);
  line-height: 1.5;
}

.pe-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--pe-primary);
}

/* FAQ Grid */
.pe-manuscrit-info {
  max-width: 900px;
  margin: 0 auto;
}

.pe-manuscrit-info h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.pe-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pe-gap-sm);
}

.pe-faq-item {
  background: var(--pe-bg-card);
  padding: 1.75rem;
  box-shadow: var(--pe-shadow-sm);
  border-radius: 20px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-faq-item:hover {
  border-color: var(--pe-primary);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(26, 41, 66, 0.08),
    0 4px 12px rgba(26, 41, 66, 0.03);
}

.pe-faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-family: var(--pe-font-serif);
}

.pe-faq-item p {
  font-size: 0.9rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   FOOTER
======================================== */
.pe-footer {
  overflow: hidden;
  color: var(--pe-text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: var(--pe-gap-section) 0 var(--pe-gap-md);
  position: relative;
  background: linear-gradient(180deg, #0f1a2b 0%, #0a1320 100%);
}

.pe-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(74, 143, 212, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 143, 149, 0.12), transparent 26%);
}

.pe-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pe-gap-sm);
}

/* Funding */
.pe-footer-funding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pe-footer-funding-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.pe-footer-canada-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pe-canada-separator {
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
}

.pe-canada-text {
  position: relative;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  font-family: var(--pe-font-serif);
  letter-spacing: -0.015em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  color: var(--pe-text-white);
}

.pe-canada-text::after {
  content: '';
  position: absolute;
  top: 0.08rem;
  right: -0.55rem;
  width: 0.38rem;
  height: 0.56rem;
  border-radius: 1px;
  background: #d71920;
}

/* Footer Content */
.pe-footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pe-gap-md);
  margin-bottom: var(--pe-gap-lg);
  position: relative;
  z-index: 1;
}

.pe-footer-section {
  padding: 1.5rem 1.5rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow:
    0 18px 40px rgba(3, 10, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pe-footer-section h4,
.pe-footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pe-text-white);
  margin-bottom: 1.5rem;
  font-family: var(--pe-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pe-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pe-footer-links li {
  margin-bottom: 0.6rem;
}

.pe-footer-links a {
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  opacity: 0.7;
}

.pe-footer-links a:hover {
  color: #ffffff;
  padding-left: 8px;
  opacity: 1;
}

.pe-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pe-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--pe-transition-base);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pe-social-icon:hover {
  color: white;
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--pe-accent), var(--pe-accent-light));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(47, 143, 149, 0.25);
}

/* Accredited */
.pe-footer-accredited {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}

.pe-footer-accredited-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pe-accredited-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0;
}

.pe-accredited-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pe-accredited-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pe-accredited-text span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pe-accredited-title {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.pe-accredited-quebec {
  font-size: 0.85rem;
  color: var(--pe-text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer Bottom */
.pe-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}

.pe-footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

/* ========================================
   SCROLL TO TOP
======================================== */
.pe-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--pe-transition-base);
  z-index: 999;
  border-radius: 16px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light));
  box-shadow:
    0 8px 24px rgba(26, 58, 92, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pe-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pe-scroll-top:hover {
  background: linear-gradient(135deg, var(--pe-primary-dark), var(--pe-primary));
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(26, 58, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========================================
   ANIMATIONS
======================================== */
.pe-stagger-container {
  --stagger-index: 0;
}

.pe-stagger-item {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pe-stagger-item[data-delay="0"] { animation-delay: 0s; }
.pe-stagger-item[data-delay="1"] { animation-delay: 0.1s; }
.pe-stagger-item[data-delay="2"] { animation-delay: 0.2s; }
.pe-stagger-item[data-delay="3"] { animation-delay: 0.3s; }
.pe-stagger-item[data-delay="4"] { animation-delay: 0.4s; }
.pe-stagger-item[data-delay="5"] { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pe-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   UTILITIES
======================================== */
/* A-01 : animation pulse infinie supprimée (nuit au professionnalisme, distraction visuelle) */

.pe-counter-inline {
  font-weight: 700;
  color: inherit;
}

.pe-btn-external svg {
  transition: transform var(--pe-transition-base);
}

.pe-btn-external:hover svg {
  transform: translate(2px, -2px);
}

/* ========================================
   ADDITIONAL COMPONENTS
======================================== */

/* Collections Grid */

/* Authors Grid */

/* ========================================
   RESPONSIVE - LAPTOP (pour écrans moyens)
======================================== */

/* ========================================
   RESPONSIVE - TABLET
======================================== */

/* ========================================
   RESPONSIVE - MOBILE
   (navbar passe en mode hamburger plus tôt pour éviter les chevauchements)
======================================== */

/* ========================================
   RESPONSIVE - SMALL MOBILE
======================================== */

/* ========================================
   AUTEURS PAGE
======================================== */
.pe-auteurs-hero {
  background: linear-gradient(135deg, #fff8f3 0%, #fef5ef 100%);
  position: relative;
  overflow: hidden;
}

.pe-auteurs-hero-aurea {
  background: transparent; /* Laisser voir l'image floutée */
}

.pe-auteurs-hero-aurea .pe-auteurs-hero-content h1 {
  color: #221f20;
  font-weight: 700;
  font-family: var(--pe-font-aurea-display); /* Police secondaire : Dreaming Out Loud */
  letter-spacing: var(--pe-font-aurea-display-kerning);
}

/* Titre hero Nouveautés Aurea : police secondaire */
.pe-main-aurea .pe-nouveautes-hero-v2 .pe-nouveautes-hero-content h1 {
  font-family: var(--pe-font-aurea-display);
  letter-spacing: var(--pe-font-aurea-display-kerning);
  font-weight: 700;
}

/* Titre hero Manuscrit Aurea : police secondaire */
.pe-main-aurea .pe-manuscrit-hero .pe-manuscrit-hero-content h1 {
  font-family: var(--pe-font-aurea-display);
  letter-spacing: var(--pe-font-aurea-display-kerning);
  font-weight: 700;
}

.pe-auteurs-hero-aurea .pe-auteurs-hero-text {
  color: #221f20; /* Noir Aurea pour meilleure visibilité */
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.75;
}

.pe-auteurs-hero-aurea .pe-pill-aurea {
  background: #064a59;
  color: #f0e3d6;
  border: none;
}

/* Section filtres Aurea */
.pe-main-aurea .pe-auteurs-hero-aurea + .pe-auteurs-filters {
  position: relative;
}

.pe-auteurs-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pe-auteurs-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.pe-auteurs-hero-text {
  font-size: 1.1rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
}

/* Auteurs Filters */
.pe-auteurs-filters {
  padding: 2rem 0;
  background: var(--pe-bg);
  border-bottom: 1px solid var(--pe-border);
}

/* Aurea : Section filtres avec fond beige unifié */
.pe-main-aurea .pe-auteurs-filters {
  background: var(--pe-bg-aurea-beige);
  border-bottom: none;
  padding: 4rem 0 2rem;
  position: relative;
}

.pe-main-aurea .pe-auteurs-filters .pe-filter-btn {
  background: #ffffff;
  border: 2px solid #064a59;
  color: #064a59;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(6, 74, 89, 0.1);
}

.pe-main-aurea .pe-auteurs-filters .pe-filter-btn:hover {
  background: #064a59;
  border-color: #064a59;
  color: #f0e3d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 74, 89, 0.2);
}

.pe-main-aurea .pe-auteurs-filters .pe-filter-btn.pe-filter-active {
  background: #064a59;
  border-color: #064a59;
  color: #f0e3d6;
  box-shadow: 0 4px 12px rgba(6, 74, 89, 0.25);
}

.pe-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pe-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: 100px;
  color: var(--pe-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--pe-transition-base);
}

.pe-filter-btn:hover {
  background: var(--pe-bg-soft);
  border-color: var(--pe-primary);
  color: var(--pe-primary);
}

.pe-filter-btn.pe-filter-active {
  background: var(--pe-primary);
  border-color: var(--pe-primary);
  color: white;
}

/* Auteurs Page Grid */
.pe-auteurs-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pe-auteur-page-card {
  background: var(--pe-bg-card);
  overflow: hidden;
  box-shadow: var(--pe-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-auteur-page-card-link,
a.pe-auteur-page-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  cursor: pointer;
  position: relative;
  z-index: 10;
  width: 100%;
}

.pe-auteur-page-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.1),
    0 6px 16px rgba(26, 41, 66, 0.04);
}

/* Aurea : Hover states avec sarcelle */
.pe-main-aurea .pe-auteur-page-card:hover { /* Sarcelle au hover */
  border-color: rgba(6, 74, 89, 0.2);
  box-shadow: 0 16px 48px rgba(6, 74, 89, 0.15);
  transform: translateY(-6px);
}

.pe-auteur-page-header {
  height: 0;
  width: 100%;
  position: relative;
  display: none;
}

/* Aurea : hauteur header unifiée avec Pratico (voir bloc commun .pe-main-pratico/.pe-main-aurea) */

.pe-header-color-1 {
  background: linear-gradient(135deg, #a8e6cf 0%, #7dd3a0 100%);
}

.pe-header-color-2 {
  background: linear-gradient(135deg, #b3d9ff 0%, #7ab8ff 100%);
}

.pe-header-color-3 {
  background: linear-gradient(135deg, #ffb3d9 0%, #ff7ab8 100%);
}

.pe-header-color-4 {
  background: linear-gradient(135deg, #ffd9b3 0%, #ffb87a 100%);
}

/* Pratico-specific header colors - bleu Pratico uniforme */
.pe-main-pratico .pe-header-color-1,
.pe-main-pratico .pe-header-color-2,
.pe-main-pratico .pe-header-color-3,
.pe-main-pratico .pe-header-color-4 {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8a 100%);
}

/* Aurea-specific header colors - based on brand guidelines */
.pe-main-aurea .pe-header-color-1 {
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%); /* Sarcelle */
}

.pe-main-aurea .pe-header-color-2 {
  background: linear-gradient(135deg, #0d6b7a 0%, #1a8a9a 100%); /* Sarcelle clair */
}

.pe-main-aurea .pe-header-color-3 {
  background: linear-gradient(135deg, #f0e3d6 0%, #e8d5c4 100%); /* Beige */
}

.pe-main-aurea .pe-header-color-4 {
  background: linear-gradient(135deg, #221f20 0%, #3a3536 100%); /* Noir */
}

.pe-auteur-page-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  width: 100%;
}

/* Aurea : espacement photo unifié avec Pratico (voir bloc commun) */

.pe-auteur-page-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
  background: var(--pe-bg-soft);
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pe-auteur-page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-auteur-page-card:hover .pe-auteur-page-photo img {
  transform: scale(1.05);
}

.pe-auteur-page-content {
  padding: 1.15rem 1rem 1.15rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pe-auteur-page-content h3 {
  font-size: 1.25rem;
  color: var(--pe-text-main);
  margin-bottom: 0.5rem;
  font-family: var(--pe-font-serif);
  margin-top: 0;
}

/* Aurea : contenu carte auteur unifié avec Pratico (voir bloc commun) ; couleurs conservées */
.pe-main-aurea .pe-auteur-page-content h3 {
  color: #221f20;
}
.pe-main-aurea .pe-auteur-page-role {
  opacity: 0.85;
  color: #064a59;
  font-family: var(--pe-font-aurea-display);
  /* font-size / line-height / margin : unifiés avec Pratico dans le bloc commun */
}

.pe-auteur-page-role {
  font-size: 0.9rem;
  color: var(--pe-accent);
  font-style: italic;
  margin-bottom: 1rem;
}

.pe-auteur-page-content p {
  font-size: 0.9rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pe-auteur-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.pe-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--pe-text-secondary);
  border-radius: 100px;
  border: 1px solid rgba(26, 41, 66, 0.06);
  background: rgba(26, 41, 66, 0.02);
  transition: all 0.3s ease;
}

/* Aurea : dimensions tags unifiées avec Pratico (voir bloc commun) ; style visuel Aurea ci-dessous */
.pe-main-aurea .pe-auteur-page-tags .pe-tag {
  font-family: var(--pe-font-aurea-body);
  font-weight: 500;
  letter-spacing: 0;
  border: 1px solid rgba(34, 31, 32, 0.15);
  border-color: rgba(6, 74, 89, 0.2);
  color: #064a59;
  background: rgba(6, 74, 89, 0.05);
}

.pe-tag:hover {
  background: var(--pe-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.2);
}

.pe-auteur-page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: auto;
  justify-content: center;
  color: var(--pe-primary);
  transition: var(--pe-transition-base);
}

.pe-auteur-page-card-link:hover .pe-auteur-page-link {
  color: var(--pe-accent);
  gap: 0.75rem;
}

/* Aurea : Hover link avec sarcelle */
.pe-main-aurea .pe-auteur-page-card-link:hover .pe-auteur-page-link {
  color: #064a59; /* Sarcelle au hover */
}

/* Auteurs CTA */
.pe-auteurs-cta {
  text-align: center;
  padding: 3rem 2.5rem 3rem;
  margin: 2rem 0;
  border-radius: var(--pe-radius-xl);
  background: var(--pe-bg-soft);
}

/* ========================================
   PAGE DÉTAILS AUTEUR
======================================== */
.pe-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pe-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-full);
  transition: var(--pe-transition-base);
}

.pe-back-link:hover {
  color: var(--pe-primary);
  border-color: var(--pe-primary);
  background: var(--pe-bg-soft);
  gap: 0.75rem;
}

.pe-auteur-detail-hero {
  height: auto;
  min-height: var(--pe-hero-banner-height);
}

.pe-auteur-detail-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2.5rem;
}

.pe-auteur-detail-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--pe-gap-md);
  align-items: start;
}

.pe-auteur-detail-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--pe-radius-lg);
  overflow: hidden;
  background: var(--pe-bg-soft);
  border: none;
  box-shadow: none;
}

.pe-auteur-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pe-auteur-detail-intro h1 {
  font-size: 2.5rem;
  font-family: var(--pe-font-serif);
  color: var(--pe-text-main);
  margin: 0 0 1rem;
}

.pe-auteur-detail-intro .pe-pill {
  margin-bottom: 1rem;
}

.pe-auteur-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pe-auteur-detail-content {
  max-width: 1200px;
  margin: 0 auto;
}

.pe-auteur-detail-main h2 {
  font-size: 1.75rem;
  font-family: var(--pe-font-serif);
  color: var(--pe-text-main);
  margin: 2rem 0 1rem;
}

.pe-auteur-detail-main h2:first-child {
  margin-top: 0;
}

.pe-auteur-detail-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--pe-text-secondary);
  margin-bottom: 2rem;
}

/* Fond crème + bordure bleue pour le texte À propos (Pratico) */
.pe-main-pratico .pe-auteur-detail-description {
  background: #f3ebe0;
  border-left: 4px solid #1a3a5c;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  color: var(--pe-text-main);
}

.pe-auteur-detail-quote {
  background: var(--pe-bg-soft);
  border-left: 4px solid var(--pe-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--pe-text-main);
  line-height: 1.7;
}

.pe-auteur-detail-quote p {
  margin: 0;
}

.pe-auteur-detail-quote:empty {
  display: none;
}

.pe-auteur-detail-social {
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-xl);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--pe-shadow-sm);
  margin-top: 1.5rem;
  max-width: 750px;
  margin-left: 0;
}

.pe-auteur-detail-social h3 {
  font-size: 1.25rem;
  font-family: var(--pe-font-serif);
  color: var(--pe-text-main);
  margin: 0 0 1.5rem;
}

.pe-auteur-detail-social-text {
  font-size: 0.95rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
}

.pe-auteur-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Icônes sociaux dans la fiche auteur : toujours visibles (contraste sur fond clair) */
.pe-auteur-detail-social .pe-social-icon,
.pe-main-pratico .pe-auteur-detail-social .pe-social-icon {
  background: #1a3a4a;
  border: 1px solid #1a3a4a;
  color: #ffffff;
  opacity: 1;
}

.pe-auteur-detail-social .pe-social-icon:hover,
.pe-main-pratico .pe-auteur-detail-social .pe-social-icon:hover {
  background: #2a72bb;
  border-color: #2a72bb;
  color: #ffffff;
  opacity: 1;
}

/* --- Fiche auteur Aurea : couleurs Sarcelle et fond beige --- */
.pe-main-aurea .pe-auteur-detail-description {
  background: #faf6f2;
  border-left: 4px solid #064a59;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  color: #221f20;
}

.pe-main-aurea .pe-auteur-detail-quote {
  border-left-color: #064a59;
}

.pe-main-aurea .pe-auteur-detail-social .pe-social-icon {
  background: #064a59;
  border: 1px solid #064a59;
  color: #ffffff;
  opacity: 1;
}

.pe-main-aurea .pe-auteur-detail-social .pe-social-icon:hover {
  background: #043a47;
  border-color: #043a47;
  color: #ffffff;
  opacity: 1;
}

.pe-main-aurea .pe-auteur-detail-section {
  background: transparent;
  margin-top: 2rem;
}

/* Transition plus douce : bas de la section "A propos / Biographie" sur la fiche auteur */
.pe-main-pratico .pe-auteur-detail-section {
  position: relative;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 60%,
    rgba(255, 255, 255, 0.0) 100%
  );
}

/* Transition plus douce vers la section "Livres publies" sur la fiche auteur */
.pe-auteur-livres-section {
  padding-top: 3.5rem;
  background: linear-gradient(
    180deg,
    rgba(240, 245, 251, 0) 0%,
    rgba(240, 245, 251, 0.85) 35%,
    #f0f5fb 100%
  );
}

.pe-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pe-primary);
  font-family: var(--pe-font-serif);
}

.pe-stat-label {
  font-size: 0.9rem;
  color: var(--pe-text-secondary);
}

.pe-auteur-livres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--pe-gap-sm);
}

.pe-livre-card {
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-xl);
  overflow: hidden;
  transition: var(--pe-transition-slow);
  box-shadow: var(--pe-shadow-sm);
}

.pe-livre-card:hover {
  transform: translateY(-8px);
  border-color: var(--pe-primary);
  box-shadow: var(--pe-shadow-lg);
}

.pe-livre-card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--pe-bg-soft);
}

.pe-main-aurea .pe-livre-card-image {
  padding: 0.6rem;
}

.pe-livre-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-livre-card-image-placeholder {
  aspect-ratio: 3 / 4;
  background: var(--pe-bg-soft);
  min-height: 120px;
}

.pe-livre-card:hover .pe-livre-card-image img {
  transform: scale(1.08);
}

.pe-livre-card-content {
  padding: 1.5rem;
}

.pe-livre-card-content h3 {
  font-size: 1.1rem;
  font-family: var(--pe-font-serif);
  color: var(--pe-text-main);
  margin: 0 0 0.5rem;
}

.pe-livre-card-annee {
  font-size: 0.85rem;
  color: var(--pe-text-secondary);
  margin-bottom: 1rem;
}

/* ========================================
   A-Z PAGE
======================================== */
.pe-az-hero {
  background: linear-gradient(135deg, #f5f8fc 0%, #eef3f9 100%);
  position: relative;
  overflow: hidden;
}

.pe-az-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pe-az-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.pe-az-hero-text {
  font-size: 1.1rem;
  color: var(--pe-text-secondary);
  line-height: 1.7;
}

/* A-Z Navigation */
.pe-az-nav-section {
  padding: 2rem 0;
  background: var(--pe-bg);
  border-bottom: 1px solid var(--pe-border);
  position: sticky;
  top: 90px;
  z-index: 100;
}

.pe-az-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pe-az-letter {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pe-bg-card);
  color: var(--pe-text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(26, 41, 66, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-az-letter:hover,
.pe-az-letter.active {
  background: var(--pe-primary);
  color: white;
  transform: scale(1.1);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.2);
}

/* A-Z Sections */
.pe-az-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--pe-border);
}

.pe-az-section:last-child {
  border-bottom: none;
}

.pe-az-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pe-primary);
  margin-bottom: 2rem;
  font-family: var(--pe-font-serif);
}

.pe-az-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pe-az-item {
  background: var(--pe-bg-card);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-lg);
  padding: 1.25rem;
  transition: var(--pe-transition-base);
}

.pe-az-item:hover {
  background: var(--pe-bg-soft);
  border-color: var(--pe-primary);
  transform: translateX(6px);
}

.pe-az-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--pe-text-main);
  transition: var(--pe-transition-base);
}

.pe-az-link:hover {
  color: var(--pe-primary);
}

.pe-az-item p {
  font-size: 0.85rem;
  color: var(--pe-text-muted);
  margin-top: 0.25rem;
}

.pe-az-cta {
  text-align: center;
  padding: 3rem 0 0;
}

/* ========================================
   CATEGORIES PAGE
======================================== */

/* Univers Section */

/* Univers Details with Tabs */

[role="tab"] {
  padding: 0.875rem 2rem;
  background: var(--pe-bg-card);
  color: var(--pe-text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 100px;
  font-weight: 600;
  border: 1.5px solid rgba(26, 41, 66, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[role="tab"]:hover {
  color: var(--pe-primary);
  border-color: var(--pe-primary);
  background: rgba(26, 58, 92, 0.04);
}

[role="tab"][aria-selected="true"] {
  color: white;
  background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.25);
}

/* Subcategories Grid */

/* Collections within Univers */

/* Panel Class */
.pe-panel {
  padding: 2rem;
  background: var(--pe-bg-card);
  border-radius: 24px;
  border: 1px solid rgba(26, 41, 66, 0.05);
  box-shadow: 0 4px 16px rgba(26, 41, 66, 0.03);
}

/* ========================================
   ADDITIONAL RESPONSIVE - CATEGORIES
======================================== */

/* ========================================
   3. PAGES PRATICO
   Variables et overrides pour toutes les pages Pratico
======================================== */
.pe-main-pratico .pe-btn-primary {
  background: linear-gradient(135deg, #2a72bb, #4a8fd4);
  border: none;
  box-shadow: 0 4px 14px rgba(42, 114, 187, 0.3);
}
.pe-main-pratico .pe-btn-primary:hover {
  background: linear-gradient(135deg, #1e5a8f, #2a72bb);
  box-shadow: 0 6px 20px rgba(42, 114, 187, 0.4);
}
.pe-main-pratico .pe-nav-link-active::after,
.pe-main-pratico .pe-nav-link:hover::after {
  background: #2a72bb;
}
.pe-main-pratico .pe-nav-link-highlight {
  color: #2a72bb;
}

/* Navbar pages Pratico : fond Bleu Pratico - miroir du pattern Aurea */
body:has(.pe-main-pratico) .pe-header {
  background: rgba(42, 114, 187, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
body:has(.pe-main-pratico) .pe-header.scrolled {
  background: rgba(42, 114, 187, 0.99);
  box-shadow: 0 4px 20px rgba(42, 114, 187, 0.35);
}
.pe-main-pratico .pe-value-icon {
  color: #2a72bb;
  background: rgba(42, 114, 187, 0.08);
}
.pe-main-pratico .pe-value-card:hover .pe-value-icon {
  background: #2a72bb;
  color: white;
}
.pe-main-pratico .pe-stat-card:hover {
  border-color: rgba(42, 114, 187, 0.3);
}
.pe-main-pratico .pe-stat-card .pe-stat-number {
  background: linear-gradient(135deg, #2a72bb, #4a8fd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pe-main-pratico .pe-commitment-list li::before {
  color: #2a72bb;
}
.pe-main-pratico .pe-creators-list li::before {
  color: #2a72bb;
}
.pe-main-pratico .pe-process-number {
  background: linear-gradient(135deg, #2a72bb, #4a8fd4);
}
.pe-main-pratico .pe-filter-btn.pe-filter-active {
  background: #2a72bb;
  border-color: #2a72bb;
}
.pe-main-pratico .pe-tag:hover {
  background: rgba(42, 114, 187, 0.10);
  color: #2a72bb;
  border-color: rgba(42, 114, 187, 0.3);
}
.pe-main-pratico .pe-auteur-page-link {
  color: #2a72bb;
}
.pe-main-pratico .pe-az-letter:hover,
.pe-main-pratico .pe-az-letter.active {
  background: #2a72bb;
  border-color: #2a72bb;
}
.pe-main-pratico .pe-section-header h2::after {
  background: linear-gradient(90deg, #2a72bb, #4a8fd4);
}
.pe-main-pratico .pe-manuscrit-hero {
  background: linear-gradient(135deg, #f0f5fb 0%, #e8f0f8 50%, #f5f7fc 100%);
}
.pe-main-pratico .pe-auteurs-hero {
  background: linear-gradient(135deg, #f0f5fb 0%, #e8f0f8 50%, #f5f7fc 100%);
}
.pe-main-pratico .pe-az-hero {
  background: linear-gradient(135deg, #f0f5fb 0%, #e8f0f8 50%, #f5f7fc 100%);
}

/* --- Galerie culinaire Pratico : grille bento immersive --- */
.pe-culinary-gallery-section {
  padding: var(--pe-gap-section) 0;
}

.pe-culinary-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.pe-gallery-item {
  position: relative;
  border-radius: var(--pe-radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.pe-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-gallery-item:hover img {
  transform: scale(1.06);
}

/* Item tall : occupe 2 rangees sur la premiere colonne */
.pe-gallery-tall {
  grid-row: span 2;
}

.pe-gallery-tall img {
  min-height: 100%;
}

/* Item wide : occupe 2 colonnes */
.pe-gallery-wide {
  grid-column: span 2;
}

/* Overlay avec mot-cle : toujours visible, hover = zoom seulement */
.pe-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(42, 114, 187, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.pe-gallery-overlay span {
  color: #ffffff;
  font-family: var(--pe-font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsive galerie */

/* --- Editions Pratico : grille de cartes collections --- */
.pe-editions-section {
  padding: var(--pe-gap-section) 0;
}

.pe-editions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pe-edition-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(42, 114, 187, 0.1);
  border-radius: var(--pe-radius-xl);
  padding: 2rem 1.5rem 1.75rem;
  transition: var(--pe-transition-slow);
  box-shadow: 0 2px 12px rgba(42, 114, 187, 0.04);
  text-decoration: none;
  color: inherit;
}

.pe-edition-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 114, 187, 0.25);
  box-shadow: 0 12px 36px rgba(42, 114, 187, 0.1);
}

.pe-edition-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.pe-edition-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Icone SVG pour la carte Auteurs (sans logo) */

.pe-edition-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-family: var(--pe-font-sans);
  line-height: 1.3;
}

.pe-edition-card p {
  font-size: 0.92rem;
  color: var(--pe-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Heroes Pratico : bannières avec image culinaire floutée (même optique qu'Aurea) --- */
.pe-main-pratico .pe-mission-hero,
.pe-main-pratico .pe-mission-hero-pratico,
.pe-main-pratico .pe-nouveautes-hero-v2,
.pe-main-pratico .pe-auteurs-hero,
.pe-main-pratico .pe-az-hero,
.pe-main-pratico .pe-manuscrit-hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Image floutée - Page Mission / Section (même logique que les autres bannières Pratico) */
.pe-main-pratico .pe-mission-hero::before,
.pe-main-pratico .pe-mission-hero-pratico::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/photos/E0831-A-MF-125-cut.webp');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.12);
  z-index: 0;
  opacity: 0.80;
}

/* Image floutée - Page Nouveautés */
.pe-main-pratico .pe-nouveautes-hero-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/photos/E0801-M-JB-104-2.webp');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Image floutée - Page Auteurs */
.pe-main-pratico .pe-auteurs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/photos/E0843-O-ML-689.webp');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Image floutée - Page A à Z */
.pe-main-pratico .pe-az-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Image floutée - Page Manuscrit */
.pe-main-pratico .pe-manuscrit-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1589998059171-988d887df646?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Overlay degrade vers blanc Pratico - teinte bleue subtile */
.pe-main-pratico .pe-nouveautes-hero-v2::after,
.pe-main-pratico .pe-auteurs-hero::after,
.pe-main-pratico .pe-az-hero::after,
.pe-main-pratico .pe-manuscrit-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(240, 245, 251, 0.15) 0%,
    rgba(240, 245, 251, 0.35) 55%,
    rgba(255, 255, 255, 0.85) 90%,
    #ffffff 100%);
  z-index: 1;
  pointer-events: none;
}

/* Page Mission Pratico : overlay plus leger pour mieux distinguer l'image banniere */
.pe-main-pratico .pe-mission-hero::after,
.pe-main-pratico .pe-mission-hero-pratico::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(240, 245, 251, 0.15) 0%,
    rgba(240, 245, 251, 0.4) 50%,
    rgba(255, 255, 255, 0.75) 85%,
    #ffffff 100%);
  z-index: 1;
  pointer-events: none;
}

.pe-main-pratico .pe-mission-hero > *,
.pe-main-pratico .pe-mission-hero-pratico > *,
.pe-main-pratico .pe-nouveautes-hero-v2 > *,
.pe-main-pratico .pe-auteurs-hero > *,
.pe-main-pratico .pe-az-hero > *,
.pe-main-pratico .pe-manuscrit-hero > * {
  position: relative;
  z-index: 2;
}

/* Cartes et bordures Pratico - harmonie bleu & crème */
.pe-main-pratico .pe-value-card,
.pe-main-pratico .pe-stat-card {
  background: #ffffff;
  border-color: rgba(42, 114, 187, 0.12);
  box-shadow: 0 4px 20px rgba(42, 114, 187, 0.06);
}

.pe-main-pratico .pe-nouveaute-card-v2 {
  background: none;
  border: none;
  box-shadow: none;
}
.pe-main-pratico .pe-value-card:hover,
.pe-main-pratico .pe-stat-card:hover {
  border-color: rgba(42, 114, 187, 0.25);
  box-shadow: 0 12px 40px rgba(42, 114, 187, 0.1);
}

.pe-main-pratico .pe-nouveaute-info {
  background: rgba(220, 232, 245, 0.2);
  border-radius: var(--pe-radius-lg);
}

.pe-main-pratico .pe-nouveaute-visual:hover {
  box-shadow: 0 12px 40px rgba(42, 114, 187, 0.1);
}
.pe-main-pratico .pe-auteur-page-card {
  border-color: rgba(42, 114, 187, 0.12);
}
.pe-main-pratico .pe-auteur-page-card:hover {
  border-color: rgba(42, 114, 187, 0.3);
}

/* Quick view button Pratico */
.pe-main-pratico .pe-quick-view-btn {
  background: rgba(42, 114, 187, 0.95);
  color: #ffffff;
  border: none;
}
.pe-main-pratico .pe-quick-view-btn:hover {
  background: #2a72bb;
  box-shadow: 0 4px 16px rgba(42, 114, 187, 0.4);
}

/* Cartes auteurs : dimensions strictement identiques Pratico & Aurea (une seule source de vérité) */
.pe-main-pratico .pe-auteur-page-header,
.pe-main-aurea .pe-auteur-page-header {
  display: none;
}
.pe-main-pratico .pe-auteur-page-photo-wrapper,
.pe-main-aurea .pe-auteur-page-photo-wrapper {
  margin-top: 0;
  margin-bottom: 0;
}
.pe-main-pratico .pe-auteur-page-content,
.pe-main-aurea .pe-auteur-page-content {
  padding: 1.15rem 1rem 1.15rem;
  gap: 0.4rem;
}
.pe-main-pratico .pe-auteur-page-content h3,
.pe-main-aurea .pe-auteur-page-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
  line-height: 1.3;
  font-weight: 600;
}
.pe-main-pratico .pe-auteur-page-role,
.pe-main-aurea .pe-auteur-page-role {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.4;
  font-style: normal;
}
.pe-main-pratico .pe-auteur-page-tags,
.pe-main-aurea .pe-auteur-page-tags {
  margin-bottom: 0.4rem;
}
.pe-main-pratico .pe-auteur-page-tags .pe-tag,
.pe-main-aurea .pe-auteur-page-tags .pe-tag {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  line-height: 1.35;
}
.pe-main-pratico .pe-auteur-page-link,
.pe-main-aurea .pe-auteur-page-link {
  font-size: 1.05rem;
  margin-top: auto;
  margin-bottom: 0;
}

/* --- Footer Pratico : fond bleu fonce avec accents bleus --- */
body:has(.pe-main-pratico) .pe-footer {
  background: linear-gradient(180deg, #163a63 0%, #0f2a4a 100%);
  color: #ffffff;
  border-top: none;
}

body:has(.pe-main-pratico) .pe-footer::before {
  background: linear-gradient(90deg, transparent 10%, rgba(42, 114, 187, 0.4) 50%, transparent 90%);
}

body:has(.pe-main-pratico) .pe-footer-title {
  color: #ffffff;
}

body:has(.pe-main-pratico) .pe-footer-title::after {
  background: #4a8fd4;
}

body:has(.pe-main-pratico) .pe-footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

body:has(.pe-main-pratico) .pe-footer-links a:hover {
  color: #4a8fd4;
  opacity: 1;
}

body:has(.pe-main-pratico) .pe-footer-funding-text {
  color: rgba(255, 255, 255, 0.84);
}

body:has(.pe-main-pratico) .pe-social-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

body:has(.pe-main-pratico) .pe-social-icon:hover {
  background: #2a72bb;
  border-color: #2a72bb;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(42, 114, 187, 0.35);
}

body:has(.pe-main-pratico) .pe-footer-copyright {
  color: #ffffff;
}

body:has(.pe-main-pratico) .pe-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* ========================================
   4. PAGES AUREA
   Variables, Typography, Colors et Overrides pour toutes les pages Aurea
   Selon Guide de normes graphiques Aurea Édition
   
   Couleurs principales:
   - Sarcelle (principal): #064a59 (Pantone 316C)
   - Beige (secondaire): #f0e3d6 (Pantone 7527C)
   - Noir: #221f20
   - Blanc: #ffffff
   
   Typographies:
   - Iskra: réservée au logo
   - Bricolage Grotesque: titres et textes courts (Light pour texte courant)
   - Dreaming Out Loud: collections, titres courts, mots-clés
======================================== */

/* --- Footer Aurea : dégradé Sarcelle foncé (comme Pratico en dégradé) --- */
body:has(.pe-main-aurea) .pe-footer {
  background: linear-gradient(180deg, #064a59 0%, #043a47 50%, #032f39 100%);
  color: #f0e3d6;
  border-top: none;
}

body:has(.pe-main-aurea) .pe-footer-title {
  color: #ffffff;
}

body:has(.pe-main-aurea) .pe-footer-title::after {
  background: #f0e3d6;
}

body:has(.pe-main-aurea) .pe-footer-links a {
  color: rgba(240, 227, 214, 0.95);
}

body:has(.pe-main-aurea) .pe-footer-links a:hover {
  color: #f0e3d6;
  opacity: 1;
}

body:has(.pe-main-aurea) .pe-footer-funding-text {
  color: rgba(240, 227, 214, 0.9);
}

body:has(.pe-main-aurea) .pe-canada-text {
  color: rgba(240, 227, 214, 0.96);
}

body:has(.pe-main-aurea) .pe-footer-copyright {
  color: #ffffff;
}

body:has(.pe-main-aurea) .pe-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body:has(.pe-main-aurea) .pe-social-icon {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f0e3d6;
}

body:has(.pe-main-aurea) .pe-social-icon:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Fiche auteur Aurea : icônes réseaux sociaux = blanc sur Sarcelle, bien visibles */
body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon {
  background: linear-gradient(135deg, #0d6b7a 0%, #064a59 100%);
  border: 1px solid #064a59;
  color: #ffffff;
  opacity: 1;
  box-shadow: 0 4px 14px rgba(6, 74, 89, 0.35);
}

body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
  fill: #ffffff;
  stroke: #ffffff;
}

/* Ne pas remplir les contours (stroke) pour garder les formes reconnaissables */
body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon svg path,
body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon svg rect {
  color: #ffffff;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
}

/* Cercle rempli (ex. point Instagram) */
/* Cercle en contour (ex. objectif Instagram) */
body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon svg circle[r="4"] {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
}

body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon:hover {
  background: linear-gradient(135deg, #064a59 0%, #043a47 100%);
  border-color: #043a47;
  color: #ffffff;
  opacity: 1;
  box-shadow: 0 6px 20px rgba(6, 74, 89, 0.45);
  transform: translateY(-2px);
}

body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon:hover svg path,
body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon:hover svg rect {
  fill: none;
  stroke: #ffffff;
}
body:has(.pe-main-aurea) .pe-auteur-detail-social .pe-social-icon:hover svg circle[r="4"] {
  fill: none;
  stroke: #ffffff;
}

body:has(.pe-main-aurea) .pe-footer::before {
  background: linear-gradient(90deg, transparent 10%, rgba(240, 227, 214, 0.15) 50%, transparent 90%);
}

/* --- Hover states Aurea : Sarcelle comme accent --- */
.pe-main-aurea .pe-btn-primary {
  color: #ffffff; /* Blanc pour contraste */
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(6, 74, 89, 0.25);
}
.pe-main-aurea .pe-btn-primary:hover { /* Variante foncée du sarcelle */
  color: #ffffff;
  background: linear-gradient(135deg, #043a47 0%, #064a59 100%);
  box-shadow: 0 6px 20px rgba(6, 74, 89, 0.35);
  transform: translateY(-2px);
}
.pe-main-aurea .pe-nav-link-active::after,
.pe-main-aurea .pe-nav-link:hover::after {
  background: #064a59;
}
.pe-main-aurea .pe-nav-link-highlight {
  color: #064a59;
}

/* Navbar pages Aurea : fond Sarcelle (#064a59) */
body:has(.pe-main-aurea) .pe-header {
  background: rgba(6, 74, 89, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
body:has(.pe-main-aurea) .pe-header.scrolled {
  background: rgba(6, 74, 89, 0.99);
  box-shadow: 0 4px 20px rgba(6, 74, 89, 0.35);
}
.pe-main-aurea .pe-value-icon {
  background: rgba(6, 74, 89, 0.08);
  color: #064a59; /* Sarcelle au lieu de noir */
}
.pe-main-aurea .pe-value-card:hover .pe-value-icon {
  background: #064a59;
  color: white;
}
.pe-main-aurea .pe-stat-card:hover {
  border-color: rgba(6, 74, 89, 0.3);
}
.pe-main-aurea .pe-stat-card .pe-stat-number {
  background: linear-gradient(135deg, #064a59, #0d6b7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pe-main-aurea .pe-commitment-list li::before {
  color: #064a59;
}
.pe-main-aurea .pe-creators-list li::before {
  color: #064a59;
}
.pe-main-aurea .pe-process-number {
  background: linear-gradient(135deg, #064a59, #0d6b7a);
}
.pe-main-aurea .pe-filter-btn.pe-filter-active {
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  border-color: transparent;
  color: #ffffff;
}
.pe-main-aurea .pe-tag:hover {
  background: rgba(6, 74, 89, 0.10);
  color: #064a59;
  border-color: rgba(6, 74, 89, 0.3);
}
.pe-main-aurea .pe-auteur-page-link {
  font-weight: 500;
  color: #064a59;
  font-family: var(--pe-font-aurea-display);
  letter-spacing: var(--pe-font-aurea-display-kerning);
  /* font-size : 0.875rem (base) pour hauteur carte identique à Pratico */
}
.pe-main-aurea .pe-az-letter:hover,
.pe-main-aurea .pe-az-letter.active {
  background: #064a59;
  border-color: #064a59;
}
.pe-main-aurea .pe-section-header h2::after {
  background: linear-gradient(90deg, #064a59, #0d6b7a);
}

/* ========================================
   AUREA TYPOGRAPHY - Application des polices
   Selon Guide de normes graphiques
   Répartition : Bricolage Grotesque = H1, H3, H4, texte courant.
   Dreaming Out Loud (display) = H2, titres cards, pills, tags, rôles,
   filtres, liens courts, citations, eyebrow.
======================================== */

/* Bricolage Grotesque - H1, H3, H4 et textes courts */
/* Aurea : Hiérarchie typographique équilibrée */
.pe-main-aurea h1 {
  font-family: var(--pe-font-aurea-body);
  font-weight: 500;
  letter-spacing: var(--pe-font-aurea-body-kerning);
  color: var(--pe-text-aurea-main);
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 4vw, 3rem); /* T-05 : max relevé 2.5→3rem pour plus d'impact hero */
  line-height: 1.2;
}

/* H2 en typo secondaire pour plus de dynamisme (titres courts) */
.pe-main-aurea h2,
.pe-main-aurea .pe-section-header h2 {
  font-family: var(--pe-font-aurea-display);
  font-weight: 500;
  letter-spacing: var(--pe-font-aurea-display-kerning);
  color: #064a59;
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem); /* T-04 : min relevé 1.35→1.5rem (mobile) */
  line-height: 1.25;
}

.pe-main-aurea h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: var(--pe-font-aurea-body);
  font-weight: 500;
  letter-spacing: var(--pe-font-aurea-body-kerning);
  line-height: 1.3;
  color: var(--pe-text-aurea-main);
  margin-bottom: 1rem;
}

/* Titres de cards (livres, collections) en typo secondaire */

.pe-main-aurea h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-family: var(--pe-font-aurea-body);
  font-weight: 500;
  letter-spacing: var(--pe-font-aurea-body-kerning);
  line-height: 1.35;
  color: var(--pe-text-aurea-main);
  margin-bottom: 0.875rem;
}

/* Bricolage Grotesque Light - Texte courant */
/* Accessibilité WCAG 2.0 : Small text - Taille 16-18px, Interlignage 1.5-1.7 */
.pe-main-aurea p {
  font-family: var(--pe-font-aurea-body);
  font-weight: var(--pe-font-aurea-body-weight);
  letter-spacing: var(--pe-font-aurea-body-kerning);
  line-height: 1.65;
  font-size: 1.0625rem;
  color: var(--pe-text-aurea-main);
  margin-bottom: 1.25rem; /* Meilleur espacement vertical */
}

/* Dreaming Out Loud - Collections, titres courts, mots-clés */
/* Accessibilité : Large text 28-64px, Interlignage 1.1-1.2 (éviter trop serré) */
/* ⚠️ À utiliser comme accent, pas pour la lecture - Si texte > 2 lignes, utiliser Bricolage Grotesque */

.pe-main-aurea .pe-tag,
.pe-main-aurea .pe-pill {
  font-family: var(--pe-font-aurea-display);
  letter-spacing: var(--pe-font-aurea-display-kerning);
  line-height: 1.15;
  font-size: clamp(1.75rem, 2.5vw, 4rem); /* 28-64px pour Large text */
}

/* Règle : Si texte avec Dreaming Out Loud dépasse 2 lignes, utiliser Bricolage Grotesque */

/* Si texte en MAJUSCULES : augmenter l'espacement (+2% à +6%) */

/* ========================================
   AUREA COLOR USAGE - Proportions d'utilisation
   Selon Guide de normes graphiques
======================================== */

/* Sarcelle : Véhicule visuel (boutons, liens actifs, accents) */
/* Noir et blanc : Dominants pour ambiance neutre */
/* Blanc : Grande place pour favoriser le contraste */

/* Cards : Blanc cassé avec texte noir */

.pe-main-aurea .pe-auteur-page-card {
  background: var(--pe-bg-aurea);
  color: #221f20;
  border-color: rgba(34, 31, 32, 0.1); /* Bordure discrète en noir */
}

/* Boutons : Sarcelle comme véhicule visuel */

/* Liens : Sarcelle comme accent */
.pe-main-aurea a:not(.pe-btn):not(.pe-nav-link):not(.pe-social-icon):not(.pe-quick-view-btn) {
  color: #064a59; /* Sarcelle - véhicule visuel */
}

.pe-main-aurea a:not(.pe-btn):not(.pe-nav-link):not(.pe-social-icon):hover { /* Variante foncée */
  color: #064a59;
}

/* Sections alternées : même beige que les autres sections Aurea */

/* Accessibilité WCAG 2.0 : Contrastes */
/* Noir (#221f20) sur Blanc (#ffffff) : Ratio 16.8:1 - AAA ✓ */
/* Sarcelle (#064a59) sur Blanc (#ffffff) : Ratio 7.1:1 - AA ✓ */
/* Blanc (#ffffff) sur Sarcelle (#064a59) : Ratio 7.1:1 - AA ✓ */
/* Noir (#221f20) sur Beige (#f0e3d6) : Ratio 12.3:1 - AAA ✓ */
/* Heroes Aurea - fond transparent pour laisser voir l'image floutée */
.pe-main-aurea .pe-manuscrit-hero,
.pe-main-aurea .pe-auteurs-hero,
.pe-main-aurea .pe-mission-hero,
.pe-main-aurea .pe-nouveautes-hero-v2,
.pe-main-aurea .pe-cat-hero {
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* ========================================
   AUREA BRAND ENHANCEMENTS
   Conforme au guide de normes graphiques
   Couleurs: Sarcelle #064a59, Beige #f0e3d6, Noir #221f20, Blanc #ffffff
======================================== */

/* --- Hero Sections Aurea avec bannière background floutée --- */
.pe-main-aurea .pe-hero,
.pe-main-aurea .pe-mission-hero,
.pe-main-aurea .pe-manuscrit-hero,
.pe-main-aurea .pe-auteurs-hero {
  position: relative;
  overflow: hidden;
}

/* Images de fond floutées pour les heroes Aurea */
/* Page Edition - Bibliothèque classique */
.pe-main-aurea .pe-mission-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Page Nouveautés */
.pe-main-aurea .pe-nouveautes-hero-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Page Auteurs */
.pe-main-aurea .pe-auteurs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Page Catégories */
.pe-main-aurea .pe-cat-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Page Manuscrit */
.pe-main-aurea .pe-manuscrit-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1543002588-bfa74002ed7e?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.15);
  z-index: 0;
  opacity: 0.80;
}

/* Overlay avec dégradé vers beige - transition élégante */
.pe-main-aurea .pe-mission-hero::after,
.pe-main-aurea .pe-manuscrit-hero::after,
.pe-main-aurea .pe-auteurs-hero::after,
.pe-main-aurea .pe-nouveautes-hero-v2::after,
.pe-main-aurea .pe-cat-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(240, 227, 214, 0.15) 0%,
    rgba(240, 227, 214, 0.35) 60%,
    rgba(240, 227, 214, 0.85) 90%,
    #f0e3d6 100%);
  z-index: 1;
  pointer-events: none;
}

/* Contenu au-dessus de l'overlay */
.pe-main-aurea .pe-mission-hero > *,
.pe-main-aurea .pe-manuscrit-hero > *,
.pe-main-aurea .pe-auteurs-hero > *,
.pe-main-aurea .pe-nouveautes-hero-v2 > *,
.pe-main-aurea .pe-cat-hero > * {
  position: relative;
  z-index: 2;
}

/* S'assurer que les hero sections ont position relative */

/* --- Aurea Decorative Elements --- */
.pe-main-aurea .pe-hero-text h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #064a59, #0d6b7a);
  margin-top: 1.5rem;
  border-radius: 2px;
}

/* --- Aurea Cards with brand colors --- */


.pe-main-aurea .pe-nouveaute-visual {
  background: transparent;
}

.pe-main-aurea .pe-nouveaute-visual:hover {
  box-shadow: 0 20px 50px rgba(6, 74, 89, 0.08), 0 6px 16px rgba(6, 74, 89, 0.04);
}

/* --- Aurea Buttons --- */

/* Bouton outline Aurea - Accessible selon guide (beige sur sarcelle) */
.pe-main-aurea .pe-btn-outline {
  background: #064a59;
  color: #f0e3d6; /* Beige - contraste accessible */
  border: 2px solid #064a59;
  box-shadow: 0 4px 14px rgba(6, 74, 89, 0.2);
}

.pe-main-aurea .pe-btn-outline:hover {
  background: #043a47; /* Sarcelle foncé */
  border-color: #043a47;
  color: #f0e3d6;
  box-shadow: 0 6px 20px rgba(6, 74, 89, 0.35);
  transform: translateY(-2px);
}

/* Bouton ghost Aurea — sarcelle visible sur fond beige */
.pe-main-aurea .pe-btn-ghost {
  background: transparent;
  color: #064a59;
  border: 2px solid #064a59;
}

.pe-main-aurea .pe-btn-ghost:hover {
  background: #064a59;
  color: #f0e3d6;
  border-color: #064a59;
  box-shadow: 0 4px 14px rgba(6, 74, 89, 0.2);
  transform: translateY(-2px);
}

/* Champs de formulaire Aurea — fond blanc cassé, bordure sarcelle */
.pe-main-aurea .pe-form-row input,
.pe-main-aurea .pe-form-row select,
.pe-main-aurea .pe-form-row textarea {
  background: #ffffff;
  border-color: rgba(6, 74, 89, 0.22);
  color: #221f20;
}

.pe-main-aurea .pe-form-row input::placeholder,
.pe-main-aurea .pe-form-row textarea::placeholder {
  color: rgba(34, 31, 32, 0.38);
}

.pe-main-aurea .pe-form-row input:focus,
.pe-main-aurea .pe-form-row select:focus,
.pe-main-aurea .pe-form-row textarea:focus {
  border-color: #064a59;
  box-shadow: 0 0 0 3px rgba(6, 74, 89, 0.10);
}

.pe-main-aurea .pe-form-row label {
  color: #221f20;
}

/* --- Aurea Pills & Tags avec Dreaming Out Loud (display) --- */
.pe-main-aurea .pe-pill,
.pe-main-aurea .pe-tag {
  font-family: var(--pe-font-aurea-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: var(--pe-font-aurea-display-kerning);
}

.pe-main-aurea .pe-pill-aurea {
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  color: #ffffff;
  border: none;
}

/* --- Aurea Section Headers --- */

/* ========================================
   SUGGESTIONS : Ajout de sarcelle comme accent
   Éléments où on peut ajouter la couleur primaire
======================================== */

/* 1. Filtres actifs - Boutons de filtrage (Nouveautés) */
.pe-main-aurea .pe-filter-btn-v2.pe-filter-active {
  background: #064a59; /* Sarcelle - véhicule visuel */
  color: #ffffff;
  border-color: #064a59;
  box-shadow: 0 4px 12px rgba(6, 74, 89, 0.2);
}

.pe-main-aurea .pe-filter-btn-v2:hover:not(.pe-filter-active) {
  border-color: #064a59;
  color: #064a59;
  background: rgba(6, 74, 89, 0.05);
}

/* 2. Icônes de valeur - SVG dans les cartes de valeurs */

.pe-main-aurea .pe-value-icon svg {
  stroke: #064a59;
}

/* 3. Labels de détails - "Pages", "Genre", etc. */
.pe-main-aurea .pe-detail-label {
  color: #064a59; /* Sarcelle au lieu de gris */
  font-weight: 500;
}

/* 4. Badge "Découverte du mois" - Badge sur le livre vedette */
.pe-main-aurea .pe-featured-book-badge {
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 74, 89, 0.3);
}

/* Badge "À venir" sur les cartes de la section À venir */
.pe-main-aurea .pe-badge-a-venir {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(6, 74, 89, 0.95);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Badge "À venir" sur les cartes Pratico */
.pe-main-pratico .pe-badge-a-venir {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(42, 114, 187, 0.95);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 5. Tags dans les cartes auteurs - Tags de catégories */

.pe-main-aurea .pe-auteur-page-tags .pe-tag:hover {
  background: rgba(6, 74, 89, 0.1);
  border-color: #064a59;
  color: #064a59;
}

/* 6. Bordures de cartes au hover - Accentuation au survol */

/* 7. Accents dans les hero - Éléments décoratifs (si présents) */

/* 8. Séparateurs entre sections - ligne décorative visible */
.pe-main-aurea .pe-section:not([class*="hero"]):not(:first-of-type)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #064a59 20%, #064a59 80%, transparent 100%);
  border-radius: 2px;
  opacity: 0.4;
}

/* 9. Liens "Voir ses livres" dans les cartes auteurs */

.pe-main-aurea .pe-auteur-page-link:hover {
  color: #043a47;
}

/* 10. Quick view button - Bouton "Aperçu rapide" sur les cartes */
.pe-main-aurea .pe-quick-view-btn {
  background: rgba(6, 74, 89, 0.95);
  color: #ffffff;
  border: none;
}

.pe-main-aurea .pe-quick-view-btn:hover {
  background: #064a59;
  box-shadow: 0 4px 16px rgba(6, 74, 89, 0.4);
}

/* 11. Date/Meta dans les cartes - Dates de parution */
.pe-main-aurea .pe-featured-book-date {
  color: #064a59;
  font-weight: 500;
}

/* 12. Section intro text - Sous-titres des sections */
.pe-main-aurea .pe-section-intro {
  color: #4a5568; /* Gris foncé - sous-titres descriptifs */
}

/* --- Aurea Eyebrow / Badge styles --- */
.pe-main-aurea .pe-eyebrow {
  font-family: var(--pe-font-aurea-display);
  font-size: 1.1rem;
  color: #064a59;
  letter-spacing: 0.02em;
}

/* --- Aurea Featured Quote style (manuscrit) --- */

/* Footer Aurea : fond et texte définis dans la section Footer Aurea plus haut */

/* --- Aurea Stats & Numbers --- */
.pe-main-aurea .pe-counter,
.pe-main-aurea .pe-stat-number {
  font-family: var(--pe-font-aurea-body);
  font-weight: 700;
  background: linear-gradient(135deg, #064a59, #0d6b7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Aurea Global Card Backgrounds - Jamais de blanc pur --- */

.pe-main-aurea .pe-contact-card,
.pe-main-aurea .pe-faq-item {
  background: var(--pe-bg-aurea); /* Blanc cassé #faf6f2 */
}

.pe-main-aurea .pe-auteur-page-card {
  background: #ffffff; /* Blanc pur pour contraste avec fond beige */
  box-shadow: 0 4px 20px rgba(6, 74, 89, 0.08);
  position: relative;
  overflow: hidden;
}

/* Accent sarcelle en haut de la card */
.pe-main-aurea .pe-auteur-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #064a59, #0d6b7a);
}

/* --- Aurea Author Cards --- */
.pe-main-aurea .pe-auteur-page-card {
  border: 1px solid rgba(6, 74, 89, 0.1);
  border-top: none;
}

.pe-main-aurea .pe-auteur-page-card:hover::before {
  height: 6px;
}

.pe-main-aurea .pe-auteur-page-header {
  display: none;
}

/* --- Aurea Filter Buttons --- */
/* Filtres en typo secondaire (mots-clés / labels courts) */
.pe-main-aurea .pe-filter-btn {
  font-family: var(--pe-font-aurea-display);
  font-weight: 500;
  letter-spacing: var(--pe-font-aurea-display-kerning);
}

.pe-main-aurea .pe-filter-btn:hover {
  border-color: #064a59;
  color: #064a59;
}

/* --- Aurea Book Cards --- */
.pe-main-aurea .pe-book-stack:hover {
  box-shadow: 0 20px 50px rgba(6, 74, 89, 0.12), 0 8px 20px rgba(6, 74, 89, 0.06);
}

.pe-main-aurea .pe-book-badge {
  background: #064a59;
  color: #f0e3d6; /* Beige sur sarcelle - accessible */
}

/* --- Aurea Links --- */

/* --- Aurea CTA Sections --- */
.pe-main-aurea .pe-auteurs-cta {
  background: #faf6f2; /* Blanc cassé - comme les cartes */
  border: 1px solid rgba(6, 74, 89, 0.1);
  padding: 3.5rem 3rem;
  box-shadow: 0 4px 20px rgba(6, 74, 89, 0.06);
  margin: 2.5rem 0;
  border-radius: var(--pe-radius-2xl);
}

.pe-main-aurea .pe-auteurs-cta h2 {
  color: #221f20;
  margin-bottom: 1rem;
}

.pe-main-aurea .pe-auteurs-cta p {
  color: var(--pe-text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Aurea Nouveautés Cards - Better readability --- */
.pe-main-aurea .pe-nouveaute-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: #221f20;
}

.pe-main-aurea .pe-nouveaute-author {
  font-size: 0.9375rem;
  color: #0d6b7a; /* sarcelle sur fond beige : ratio ~5.8:1, WCAG AA OK */
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
  margin-bottom: 0.4rem;
}

/* C-03 : auteur dans les cards sur fond blanc cassé (#ede5db) — orange accent inaccessible → sarcelle */
.pe-main-aurea .pe-nouveaute-info .pe-nouveaute-author {
  color: #0d6b7a; /* ratio ~5.8:1 sur #ede5db, WCAG AA */
}

.pe-main-aurea .pe-nouveaute-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: #111827;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* T-03 : réduit 6→4 lignes dans grille 4 colonnes */
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dates en gras dans les nouveautés Aurea (À venir + Découverte du mois) */
.pe-main-aurea .pe-a-venir-grid .pe-nouveaute-excerpt,
.pe-main-aurea .pe-featured-book-date {
  font-weight: 700;
}

/* Dates en gras dans les cartes À venir Pratico uniquement (pas les descriptions longues) */
.pe-main-pratico .pe-a-venir-grid .pe-nouveaute-excerpt,
.pe-main-pratico .pe-featured-book-date {
  font-weight: 700;
}

.pe-main-aurea .pe-nouveaute-info {
  padding: 1.75rem;
  background: #ede5db;
  border-radius: var(--pe-radius-lg);
  text-align: left;
  box-shadow: 0 10px 25px rgba(6, 74, 89, 0.08);
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  justify-self: center;
}

/* --- Aurea Newsletter --- */
.pe-main-aurea .pe-newsletter-box {
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  border: none;
}

.pe-main-aurea .pe-newsletter-box h2 {
  color: #f0e3d6; /* Beige sur sarcelle - accessible */
}

.pe-main-aurea .pe-newsletter-box p {
  color: rgba(240, 227, 214, 0.85); /* Beige légèrement transparent */
}

.pe-main-aurea .pe-newsletter-box .pe-newsletter-privacy,
.pe-main-aurea .pe-newsletter-box .pe-newsletter-privacy a {
  color: rgba(240, 227, 214, 0.92);
  font-size: 0.875rem;
  font-weight: 500;
}

.pe-main-aurea .pe-newsletter-box .pe-newsletter-privacy a:hover {
  color: #f0e3d6;
}

.pe-main-aurea .pe-newsletter-box .pe-btn {
  background: #f0e3d6;
  color: #064a59;
}

.pe-main-aurea .pe-newsletter-box .pe-btn:hover {
  background: #faf6f2; /* Blanc cassé - jamais de blanc pur */
  color: #043a47;
}

/* Infolettre Pratico - degrade bleu Pratico */
.pe-main-pratico .pe-newsletter-box {
  background: linear-gradient(135deg, #2a72bb 0%, #4a8fd4 100%);
  border: none;
  box-shadow: 0 20px 50px rgba(42, 114, 187, 0.35);
}
.pe-main-pratico .pe-newsletter-box::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(74, 143, 212, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 90, 143, 0.15) 0%, transparent 50%);
}
.pe-main-pratico .pe-newsletter-box h2 {
  color: #ffffff;
}
.pe-main-pratico .pe-newsletter-box > p {
  color: rgba(255, 255, 255, 0.9);
}
.pe-main-pratico .pe-newsletter-box .pe-newsletter-privacy,
.pe-main-pratico .pe-newsletter-box .pe-newsletter-privacy a {
  color: rgba(255, 255, 255, 0.75);
}
.pe-main-pratico .pe-newsletter-box .pe-newsletter-privacy a:hover {
  color: #ffffff;
}
.pe-main-pratico .pe-newsletter-box .pe-btn-primary {
  background: #ffffff;
  color: #2a72bb;
}
.pe-main-pratico .pe-newsletter-box .pe-btn-primary:hover {
  background: #e8f0f8;
  color: #1e5a8f;
}

/* --- Aurea Accent Underlines --- */
.pe-main-aurea .pe-highlight::after {
  background: linear-gradient(90deg, #064a59, #0d6b7a);
}

/* --- Aurea Guidelines Types Panel - text colors override --- */
.pe-main-aurea .pe-guidelines-types-panel .pe-guidelines-types-label {
  color: rgba(240, 227, 214, 0.7);
}
.pe-main-aurea .pe-guidelines-types-panel .pe-guidelines-types-text {
  color: #ffffff;
}
.pe-main-aurea .pe-guidelines-types-panel .pe-guidelines-types-detail li {
  color: rgba(240, 227, 214, 0.85);
}
.pe-main-aurea .pe-guidelines-types-panel .pe-guidelines-types-detail li span {
  color: rgba(240, 227, 214, 0.6);
}
.pe-main-aurea .pe-guidelines-types-panel .pe-guidelines-types-detail li strong {
  color: #f0e3d6;
}

/* ========================================
   5. ENHANCEMENTS & POLISH
   Améliorations visuelles et finitions
======================================== */

/* --- Section Dividers --- */
.pe-section-alt::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, var(--pe-bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}


.pe-section-alt::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(0deg, var(--pe-bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* --- Enhanced Section Headers --- */

.pe-section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--pe-primary), var(--pe-accent));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Aurea : retirer complètement la petite barre de séparation sous le titre "Nouveautés" de la page principale */
.pe-main-aurea .pe-nouveautes-list-section .pe-section-header h2::after {
  content: none;
  display: none;
  height: 0;
  margin: 0;
}

/* --- Hero Stats Glass Enhancement --- */

/* --- Premium Hero Blocks --- */

/* --- Enhanced Card Hover Effects --- */

/* --- Nouveauté Cards Premium --- */

.pe-nouveaute-visual:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(26, 41, 66, 0.1),
    0 6px 16px rgba(26, 41, 66, 0.06);
}

.pe-main-aurea .pe-nouveaute-visual {
  max-width: 88%;
}

.pe-nouveaute-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(26, 41, 66, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

/* --- Value Cards Enhancement --- */

.pe-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pe-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pe-value-card:hover::before {
  opacity: 1;
}

/* --- Enhanced Buttons --- */

.pe-btn-hero-block:hover {
  box-shadow:
    0 12px 36px rgba(26, 41, 66, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* --- Boutique Section Enhancement --- */

/* --- Book Cards Enhancement --- */

/* --- Featured Book Enhancement --- */

/* --- Carousel Enhancement --- */

/* --- Newsletter Enhancement --- */

/* --- Stat Card Enhancement --- */

.pe-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pe-primary), var(--pe-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pe-stat-card:hover::after {
  transform: scaleX(1);
}

/* --- Retailer Card Enhancement --- */

/* --- Contact Card Enhancement --- */

/* --- Form Enhancement --- */

/* --- Process Steps Enhancement --- */

.pe-process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pe-accent), var(--pe-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pe-process-step:hover::before {
  transform: scaleX(1);
}

/* --- Footer Enhancement --- */

.pe-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(47, 143, 149, 0.3) 50%, transparent 90%);
}

.pe-footer-title {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.pe-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--pe-accent);
  border-radius: 2px;
}

/* --- Scroll to Top Enhancement --- */

/* --- FAQ Enhancement --- */

/* --- Univers Cards Enhancement --- */

/* --- Subcat Cards Enhancement --- */

/* --- Guidelines Enhancement --- */

.pe-guidelines-list li:hover {
  border-color: rgba(26, 58, 92, 0.1);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(26, 41, 66, 0.04);
  transform: translateX(4px);
}

/* --- Hero Block Button Shimmer --- */

/* A-03 : shimmer déclenché sur hover uniquement (plus sur animation infinie) */
.pe-btn-hero-block::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.pe-btn-hero-block:hover::after {
  left: 150%;
}

/* --- Spotlight Image Enhancement --- */

/* --- Pill Enhancement --- */

.pe-pill-pratico {
  background: rgba(42, 114, 187, 0.08);
  border: 1px solid rgba(42, 114, 187, 0.2);
}

.pe-pill-aurea {
  background: rgba(6, 74, 89, 0.08);
  border: 1px solid rgba(6, 74, 89, 0.12);
  margin-bottom: 0;
}

/* Spécificité augmentée pour surcharger .pe-main-aurea .pe-pill */
/* Utilise .pe-pill.pe-pill-aurea pour une spécificité plus élevée */
.pe-main-aurea .pe-pill.pe-pill-aurea {
  letter-spacing: 0.1em; /* Plus d'espace entre les lettres pour 'AUREA ÉDITION' */
}

/* --- Badge Enhancement --- */

/* --- Tag Enhancement --- */

/* --- A-Z Letter Enhancement --- */

/* --- Commitment Image Enhancement --- */

/* --- Auteur Page Card Enhancement --- */

/* --- Collection Card Enhancement --- */

/* --- Manuscript Notice Enhancement --- */

/* --- Panel Enhancement --- */

/* --- Tab Enhancement --- */

/* --- Map Container Enhancement --- */

/* --- Nouveautes Hero Enhancement --- */

/* --- Header Enhancement --- */

/* --- Accredited Footer Enhancement --- */

/* --- Responsive Enhancements --- */

/* ========================================
   INDEX PAGE POLISH PASS
   Fine-tuned details for existing sections
======================================== */

/* --- Hero Polish --- */

/* --- Hero Stat Circles Polish --- */

/* SVG progress ring polish */

/* Tooltip polish */

.pe-stat-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--pe-text-main);
}

/* --- Hero Blocks Polish --- */

.pe-hero-cuisine .pe-hero-block-content h2,
.pe-hero-romans .pe-hero-block-content h2 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.pe-hero-cuisine .pe-hero-block-content p,
.pe-hero-romans .pe-hero-block-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  line-height: 1.6;
  max-width: 85%;
  margin: 0 auto 1.25rem;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.92),
    0 0 10px rgba(255, 255, 255, 0.55);
}

/* --- Scroll Indicator Polish --- */

/* --- Author Section Polish --- */

/* Author card badge polish */

/* Carousel dots alignment */

/* Author action buttons */

/* --- Boutique Section Polish --- */

/* Images des livres dans le bloc boutique (page d'accueil) :
   même traitement que sur les pages Pratico / Aurea pour éviter le rognage. */
.pe-boutique-section-enhanced .pe-book-stack img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 5px;
}

/* Dans la section boutique, on réduit aussi l'arrondi de la carte elle-même */
.pe-boutique-section-enhanced .pe-book-stack {
  border-radius: 5px;
}

.pe-boutique-section-enhanced .pe-book-overlay {
  border-radius: 0 0 5px 5px;
}

.pe-boutique-section-enhanced::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 143, 149, 0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.pe-feature-icon svg {
  width: 20px;
  height: 20px;
}

/* Book cards in boutique */

/* Staggered book grid - offset every other book */
.pe-book-stack:nth-child(even) {
  margin-top: 2rem;
}

/* Subtle entrance animation for books */
.pe-book-stack:nth-child(1) { transition-delay: 0s; }
.pe-book-stack:nth-child(2) { transition-delay: 0.1s; }
.pe-book-stack:nth-child(3) { transition-delay: 0.2s; }
.pe-book-stack:nth-child(4) { transition-delay: 0.3s; }

/* Book navigation buttons */

/* Masquer les 2 boutons de navigation du carrousel de livres */

/* --- Footer Polish --- */

.pe-footer-copyright {
  font-size: 0.8rem;
  color: #ffffff;
  opacity: 1;
}

/* Accredited section polish */

/* Espacement sections : .pe-section et .pe-main-aurea .pe-section */

/* --- Smooth Page Feel --- */

/* Third decorative blob */
.pe-hero-enhanced .pe-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26, 58, 92, 0.03) 0%, transparent 50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: floatBlob2 30s ease-in-out infinite;
}

/* .pe-container within hero needs position for the blob */
.pe-hero-enhanced .pe-container {
  position: relative;
}

/* --- Responsive Polish --- */

/* ========================================
   AUREA CATÉGORIES PAGE - Refonte complète
   Conforme à la charte: Sarcelle, Beige, Noir
======================================== */

/* --- Hero Catégories --- */
.pe-cat-hero {
  background: linear-gradient(160deg, #faf6f2 0%, #f5efe9 40%, #f0e3d6 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Aurea : Background transparent pour laisser place à l'image floutée */
.pe-main-aurea .pe-cat-hero {
  background: transparent;
}

.pe-cat-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(6, 74, 89, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pe-cat-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pe-cat-hero-content {
  position: relative;
  z-index: 2;
}

.pe-cat-eyebrow {
  display: inline-block;
  font-family: var(--pe-font-aurea-display);
  font-size: 1.6rem;
  color: #064a59;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.pe-cat-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-family: var(--pe-font-aurea-body);
  font-weight: 500;
  color: #221f20;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.pe-cat-highlight {
  color: #064a59;
  position: relative;
}

.pe-cat-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: linear-gradient(90deg, #f0e3d6, #064a59);
  border-radius: 2px;
}

.pe-cat-hero-text {
  font-size: 1.15rem;
  color: #4a5568;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.pe-cat-hero-stats {
  display: flex;
  gap: 2.5rem;
}

.pe-cat-stat {
  text-align: center;
}

.pe-cat-stat-number {
  display: block;
  font-family: var(--pe-font-aurea-body);
  font-size: 2rem;
  font-weight: 600;
  color: #064a59;
  line-height: 1;
}

.pe-cat-stat-label {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Hero Visual - Books Stack */
.pe-cat-hero-visual {
  position: relative;
  height: 400px;
}

.pe-cat-hero-books {
  position: relative;
  width: 100%;
  height: 100%;
}

.pe-cat-book {
  position: absolute;
  width: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6, 74, 89, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-cat-book img {
  width: 100%;
  height: auto;
  display: block;
}

.pe-cat-book-1 {
  top: 10%;
  left: 10%;
  transform: rotate(-8deg);
  z-index: 3;
}

.pe-cat-book-2 {
  top: 5%;
  left: 40%;
  transform: rotate(3deg);
  z-index: 2;
}

.pe-cat-book-3 {
  top: 20%;
  right: 5%;
  transform: rotate(10deg);
  z-index: 1;
}

.pe-cat-hero-visual:hover .pe-cat-book-1 {
  transform: rotate(-12deg) translateY(-10px);
}

.pe-cat-hero-visual:hover .pe-cat-book-2 {
  transform: rotate(6deg) translateY(-15px);
}

.pe-cat-hero-visual:hover .pe-cat-book-3 {
  transform: rotate(14deg) translateY(-8px);
}

/* --- Section Labels --- */
.pe-cat-section-label {
  display: inline-block;
  font-family: var(--pe-font-aurea-display);
  font-size: 1.5rem;
  color: #064a59;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* --- Univers Grid --- */
.pe-cat-univers {
  background: var(--pe-bg-aurea-beige); /* Uniforme avec les autres sections */
  padding: 2rem 0 5rem;
}

.pe-cat-univers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pe-cat-univers-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #faf6f2; /* Blanc cassé - contraste sur beige */
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(6, 74, 89, 0.08);
  box-shadow: 0 4px 20px rgba(6, 74, 89, 0.06);
}

.pe-cat-univers-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 74, 89, 0.12);
  border-color: rgba(6, 74, 89, 0.15);
}

.pe-cat-univers-bg {
  height: 120px;
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
}

/* Même hauteur de bandeau pour les 3 cartes → titres alignés */
.pe-cat-univers-card--featured .pe-cat-univers-bg {
  height: 120px;
  background: linear-gradient(135deg, #043a47 0%, #064a59 50%, #0d6b7a 100%);
}

.pe-cat-univers-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f0e3d6;
  color: #064a59;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pe-cat-univers-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pe-cat-univers-icon {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -4rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  color: #064a59;
  box-shadow: 0 8px 24px rgba(6, 74, 89, 0.1);
}

.pe-cat-univers-icon--img {
  width: 72px;
  height: 72px;
  padding: 4px;
  overflow: hidden;
}

.pe-cat-univers-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Petites icônes dans l'accordéon des catégories Aurea */
.pe-cat-accordion-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.pe-cat-univers-content h3 {
  font-family: var(--pe-font-aurea-body);
  font-size: 1.35rem;
  font-weight: 500;
  color: #221f20;
  margin-bottom: 0.75rem;
}

.pe-cat-univers-content p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pe-cat-univers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pe-cat-univers-tags span {
  font-size: 0.8rem;
  color: #064a59;
  background: rgba(6, 74, 89, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.pe-cat-univers-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  align-self: flex-start;
  background: #064a59;
  color: #f0e3d6;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pe-cat-univers-btn:hover {
  background: #043a47;
  transform: translateX(4px);
}

.pe-cat-univers-btn svg {
  transition: transform 0.3s ease;
}

.pe-cat-univers-btn:hover svg {
  transform: translateX(4px);
}

/* --- Accordion Sous-catégories --- */
.pe-cat-details {
  padding: 5rem 0;
}

/* Cache temporairement les sous-catégories sur la page Aurea Édition seulement */

.pe-cat-accordion {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pe-cat-accordion-item {
  background: #faf6f2; /* Blanc cassé - contraste sur beige */
  border-radius: 16px;
  border: 1px solid rgba(6, 74, 89, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(6, 74, 89, 0.04);
}

.pe-cat-accordion-item:hover {
  border-color: rgba(6, 74, 89, 0.15);
}

.pe-cat-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pe-cat-accordion-header:hover {
  background: rgba(6, 74, 89, 0.03);
}

.pe-cat-accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--pe-font-aurea-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: #221f20;
}

.pe-cat-accordion-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0e3d6;
}

.pe-cat-accordion-count {
  font-size: 0.85rem;
  color: #4b5563;
  font-weight: 400;
  margin-left: auto;
  margin-right: 1rem;
}

.pe-cat-accordion-chevron {
  color: #064a59;
  transition: transform 0.3s ease;
}

.pe-cat-accordion-header[aria-expanded="true"] .pe-cat-accordion-chevron {
  transform: rotate(180deg);
}

.pe-cat-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-cat-accordion-content.is-open {
  max-height: 800px;
}

.pe-cat-subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

.pe-cat-subcat-card {
  display: flex;
  background: #ffffff; /* Blanc pur pour les cartes enfant */
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(6, 74, 89, 0.06);
  box-shadow: 0 2px 8px rgba(6, 74, 89, 0.03);
}

.pe-cat-subcat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 74, 89, 0.1);
  border-color: rgba(6, 74, 89, 0.1);
}

.pe-cat-subcat-img {
  width: 100px;
  min-height: 130px;
  flex-shrink: 0;
  overflow: hidden;
}

.pe-cat-subcat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Logo Aurea utilisé temporairement dans les sous-catégories Littérature */
.pe-cat-subcat-logo {
  object-fit: contain;
  background-color: #16323a;
  padding: 0.75rem;
}

.pe-cat-subcat-card:hover .pe-cat-subcat-img img {
  transform: scale(1.08);
}

.pe-cat-subcat-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.pe-cat-subcat-info h4 {
  font-family: var(--pe-font-aurea-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: #221f20;
  margin-bottom: 0.5rem;
}

.pe-cat-subcat-info p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  flex: 1;
}

.pe-cat-subcat-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #064a59;
  margin-top: 0.75rem;
  transition: color 0.3s ease;
}

.pe-cat-subcat-card:hover .pe-cat-subcat-link {
  color: #043a47;
}

/* --- Collections --- */
/* Section Zanimo / Lugubre masquée temporairement sur la page catégories Aurea */
.pe-cat-collections-temp-hidden {
  display: block;
}

.pe-cat-collections {
  background: var(--pe-bg-aurea-beige); /* Uniforme avec les autres sections */
  padding: 5rem 0;
}

.pe-cat-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pe-cat-collection-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #faf6f2; /* Blanc cassé - contraste sur beige */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(6, 74, 89, 0.08);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(6, 74, 89, 0.06);
}

.pe-cat-collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(6, 74, 89, 0.1);
}

.pe-cat-collection-visual {
  position: relative;
  overflow: hidden;
  background: var(--pe-bg-aurea-beige);
}

.pe-cat-collection-visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pe-cat-collection-card:hover .pe-cat-collection-visual img {
  transform: scale(1.05);
}

.pe-cat-collection-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pe-cat-collection-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #064a59;
  background: rgba(6, 74, 89, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.pe-cat-collection-card--dark .pe-cat-collection-badge {
  color: #f0e3d6;
  background: rgba(240, 227, 214, 0.15);
}

.pe-cat-collection-content h3 {
  font-family: var(--pe-font-aurea-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: #221f20;
  margin-bottom: 0.75rem;
}

.pe-cat-collection-card--dark .pe-cat-collection-content {
  background: #064a59;
}

.pe-cat-collection-card--dark .pe-cat-collection-content h3 {
  color: #f0e3d6;
}

.pe-cat-collection-content p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pe-cat-collection-card--dark .pe-cat-collection-content p {
  color: rgba(240, 227, 214, 0.8);
}

.pe-cat-collection-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #064a59;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pe-cat-collection-card--dark .pe-cat-collection-link {
  color: #f0e3d6;
}

.pe-cat-collection-link:hover {
  gap: 0.75rem;
}

/* --- CTA Section --- */
.pe-cat-cta-section {
  background: linear-gradient(160deg, #f0e3d6 0%, #f5efe9 100%);
  padding: 5rem 0;
}

.pe-cat-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--pe-gap-md);
  align-items: center;
  background: linear-gradient(135deg, #064a59 0%, #0d6b7a 100%);
  border-radius: 24px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.pe-cat-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(240, 227, 214, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.pe-cat-cta-content {
  position: relative;
  z-index: 2;
}

.pe-cat-cta-eyebrow {
  display: block;
  font-family: var(--pe-font-aurea-display);
  font-size: 1.1rem;
  color: #f0e3d6;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.pe-cat-cta h2 {
  font-family: var(--pe-font-aurea-body);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: #f0e3d6;
  margin-bottom: 1rem;
}

.pe-cat-cta p {
  font-size: 1rem;
  color: rgba(240, 227, 214, 0.85);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 2rem;
}

.pe-cat-cta .pe-btn-outline {
  background: transparent;
  border: 2px solid #f0e3d6;
  color: #f0e3d6;
}

.pe-cat-cta .pe-btn-outline:hover {
  background: #f0e3d6;
  color: #064a59;
}

.pe-cat-cta-visual {
  width: 160px;
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pe-cat-cta-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  /* A-05 : animation logo flottante supprimée — un logo est un signe identitaire, pas un élément décoratif */
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.pe-cat-cta-logo:hover {
  transform: scale(1.04);
  opacity: 1;
}

/* --- CTA Boutique Pratico (même bloc que Aurea, couleurs Pratico) --- */
.pe-cat-cta-section-pratico {
  background: linear-gradient(160deg, #e8f0f8 0%, #f0f5fb 100%);
}

.pe-cat-cta-pratico {
  background: linear-gradient(135deg, #2a72bb 0%, #3d8ad4 100%);
}

.pe-cat-cta-pratico::before {
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.pe-cat-cta-pratico .pe-cat-cta-eyebrow {
  font-family: var(--pe-font-sans);
  color: rgba(255, 255, 255, 0.9);
}

.pe-cat-cta-pratico h2 {
  font-family: var(--pe-font-sans);
  font-weight: 600;
  color: #ffffff;
}

.pe-cat-cta-pratico p {
  color: rgba(255, 255, 255, 0.88);
}

.pe-cat-cta-pratico .pe-btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.pe-cat-cta-pratico .pe-btn-outline:hover {
  background: #ffffff;
  color: #2a72bb;
}

.pe-cat-cta-pratico .pe-cat-cta-logo {
  filter: none;
  opacity: 0.95;
}

/* Alignement centré du bloc boutique sur Aurea */

/* --- Responsive Catégories --- */


/* ========================================
   AUREA JEUNESSE - Pour les ecoles
   Prefix: pe-jeu-
   Variables --pe-jeu-* : voir :root principal en tête de fichier (P-01)
======================================== */

/* ---- HERO ---- */
.pe-jeu-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #064a59 0%, #0a6e80 40%, #0d8a7c 100%);
  padding: calc(110px + 6rem) 0 5rem;
  text-align: center;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.pe-jeu-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* A-04 : 5 formes → 2 formes conservées (circle + dot), les autres masquées.
   Opacity réduite 0.12 → 0.08 pour minimiser la distraction sur contenu pédagogique. */
.pe-jeu-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.pe-jeu-shape-circle {
  width: 280px;
  height: 280px;
  background: var(--pe-jeu-gold);
  top: -60px;
  right: -50px;
  animation: pe-jeu-float 9s ease-in-out infinite;
}

.pe-jeu-shape-star {
  width: 120px;
  height: 120px;
  background: var(--pe-jeu-mint);
  bottom: 15%;
  left: 5%;
  animation: pe-jeu-float 11s ease-in-out infinite 1s;
}

.pe-jeu-shape-squiggle {
  width: 70px;
  height: 70px;
  background: var(--pe-jeu-coral);
  bottom: 10%;
  right: 8%;
  animation: pe-jeu-float 8s ease-in-out infinite 2s;
}

.pe-jeu-shape-dot {
  width: 56px;
  height: 56px;
  background: var(--pe-jeu-lavender);
  top: 20%;
  right: 20%;
  animation: pe-jeu-float 7s ease-in-out infinite 0.5s;
}

.pe-jeu-shape-triangle {
  width: 90px;
  height: 90px;
  background: var(--pe-jeu-sky);
  top: 30%;
  left: 3%;
  animation: pe-jeu-float 10s ease-in-out infinite 3s;
}

@keyframes pe-jeu-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

.pe-jeu-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.pe-jeu-hero-eyebrow {
  display: inline-block;
  font-family: var(--pe-font-aurea-display);
  font-size: 1.4rem;
  color: var(--pe-jeu-gold);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  /* T-01 : text-transform:uppercase supprimé — police scripte illisible en majuscules */
}

.pe-jeu-hero h1 {
  font-family: var(--pe-font-aurea-body);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.pe-jeu-hero-accent {
  color: var(--pe-jeu-gold);
  font-family: var(--pe-font-aurea-display);
  font-style: italic;
}

.pe-jeu-hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.pe-jeu-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pe-jeu-hero .pe-btn-primary {
  background: var(--pe-jeu-gold);
  color: #064a59;
  box-shadow: 0 4px 14px rgba(242, 169, 59, 0.4);
}

.pe-jeu-hero .pe-btn-primary:hover {
  background: #e09a2f;
  box-shadow: 0 6px 20px rgba(242, 169, 59, 0.5);
  transform: translateY(-2px);
}

.pe-jeu-hero .pe-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.pe-jeu-hero .pe-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: none;
}

/* ---- INTRODUCTION ---- */
.pe-jeu-intro-section {
  margin-top: 5rem;
  padding: var(--pe-gap-section) 0;
}

.pe-jeu-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.pe-jeu-intro-content h2 {
  color: #064a59;
  margin-bottom: 1.5rem;
}

.pe-jeu-intro-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.pe-jeu-intro-image {
  border-radius: var(--pe-radius-xl);
  overflow: hidden;
  box-shadow: var(--pe-shadow-lg);
  transform: rotate(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pe-jeu-intro-image:hover {
  transform: rotate(2deg) translateY(-4px);
  box-shadow: var(--pe-shadow-xl);
}

.pe-jeu-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- FICHES PEDAGOGIQUES ---- */
.pe-jeu-fiches-section {
  padding: var(--pe-gap-section) 0;
  background: #f5f2ed;
}

.pe-jeu-fiches-repro {
  margin-top: 1rem;
  color: var(--pe-text-secondary);
  font-style: italic;
  font-size: 0.95rem;
}

/* -- Grille d'icônes ressources (style Fonfon) -- */
.pe-jeu-ressources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.pe-jeu-ressource-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: var(--pe-transition-base);
}

.pe-jeu-ressource-item:hover {
  transform: translateY(-4px);
}

.pe-jeu-ressource-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--pe-transition-base);
}

.pe-jeu-ressource-item:hover .pe-jeu-ressource-icon {
  transform: scale(1.08);
}

.pe-jeu-ressource-label {
  font-size: 1rem;
  font-weight: 700;
  color: #c8a95e;
  text-align: center;
  line-height: 1.3;
}

/* -- Trousses par livre -- */
.pe-jeu-trousses {
  margin-top: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pe-jeu-trousses h3 {
  margin-bottom: 1rem;
  color: #064a59;
}

.pe-jeu-fiches-note {
  margin-bottom: 2rem;
  color: var(--pe-text-secondary);
}

.pe-jeu-trousses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pe-jeu-trousse-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--pe-bg-card);
  border-radius: var(--pe-radius-lg);
  overflow: hidden;
  transition: var(--pe-transition-base);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pe-jeu-trousse-card:hover {
  box-shadow: var(--pe-shadow-md);
  transform: translateY(-4px);
}

.pe-jeu-trousse-cover {
  overflow: hidden;
}

.pe-jeu-trousse-cover img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.pe-jeu-trousse-card:hover .pe-jeu-trousse-cover img {
  transform: scale(1.05);
}

.pe-jeu-trousse-info {
  padding: 1rem 1.25rem;
}

.pe-jeu-trousse-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

/* ---- TABS ---- */
.pe-jeu-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
  background: rgba(6, 74, 89, 0.04);
  border-radius: 100px;
}

.pe-jeu-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--pe-transition-base);
  font-family: var(--pe-font-aurea-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  white-space: nowrap;
}

.pe-jeu-tab:hover {
  background: rgba(6, 74, 89, 0.06);
  color: #064a59;
}

.pe-jeu-tab-active {
  background: #064a59;
  color: #ffffff;
  border-color: #064a59;
  box-shadow: 0 4px 12px rgba(6, 74, 89, 0.25);
}

.pe-jeu-tab-active:hover {
  background: #043a47;
  color: #ffffff;
}

.pe-jeu-tab-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.pe-jeu-tab-label {
  font-weight: 600;
  font-size: 0.85rem;
}

.pe-jeu-tab-age {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

.pe-jeu-tab-active .pe-jeu-tab-age {
  opacity: 0.85;
}

.pe-jeu-tab-panels {
  min-height: 300px;
}

.pe-jeu-tab-panel {
  display: none;
}

.pe-jeu-tab-panel-active {
  display: block;
  animation: pe-jeu-fade-in 0.3s ease;
}

@keyframes pe-jeu-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- CTA CONTACT ---- */
.pe-jeu-cta-section {
  padding: var(--pe-gap-section) 0;
}

.pe-jeu-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #064a59 0%, #0a6e80 100%);
  padding: 3.5rem 4rem;
  border-radius: var(--pe-radius-2xl);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.pe-jeu-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pe-jeu-cta-eyebrow {
  display: inline-block;
  font-family: var(--pe-font-aurea-display);
  font-size: 1.2rem;
  color: var(--pe-jeu-gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.pe-jeu-cta h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.pe-jeu-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 2rem;
}

.pe-jeu-cta .pe-btn-primary {
  background: var(--pe-jeu-gold);
  color: #064a59;
  box-shadow: 0 4px 14px rgba(242, 169, 59, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pe-jeu-cta .pe-btn-primary:hover {
  background: #e09a2f;
  transform: translateY(-2px);
}

.pe-jeu-cta-visual {
  position: relative;
  z-index: 1;
}

/* ---- RESPONSIVE JEUNESSE ---- */

/* ========================================
   AUREA UX/UI FIXES (GLOBAL OVERRIDES)
======================================== */

/* Harmonisation typographique Aurea */

.pe-main-aurea h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); /* T-01 : max relevé 1.35→1.5rem (hiérarchie) */
  line-height: 1.3;
}

.pe-main-aurea p,
.pe-main-aurea li,
.pe-main-aurea .pe-btn,
.pe-main-aurea label {
  font-size: 1rem;
  line-height: 1.65;
}

/* T-02 : Bricolage Grotesque weight 300 illisible sur petits écrans → 400 en dessous de 768px */

/* Allègement des effets visuels */
.pe-hero-block:hover,
.pe-value-card:hover,
.pe-process-step:hover,
.pe-contact-card:hover,
.pe-faq-item:hover,
.pe-cat-univers-card:hover,
.pe-cat-subcat-card:hover {
  transform: translateY(-4px);
}

.pe-btn-primary:hover,
.pe-main-aurea .pe-btn-primary:hover,
.pe-main-aurea .pe-btn-outline:hover {
  transform: translateY(-1px);
}

/* Contrastes jeunesse */
.page-aurea-jeunesse .pe-jeu-ressource-label {
  color: #8f7130;
}

.page-aurea-jeunesse strong[style] {
  color: #8f7130 !important;
}

/* Accessibilité mouvement réduit */

@media (min-width: 1440px) {
  .pe-hero {
    padding-bottom: min(10rem, 12vh); /* E-03 : limité 14rem→min(10rem,12vh) sur grands écrans */
  }
}

@media (max-width: 1440px) and (min-width: 1025px) {
  /* Nouveautés : 3 colonnes sur laptop */
  .pe-nouveautes-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .pe-main-aurea .pe-nouveaute-info {
    padding: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .pe-main > .pe-section:first-child:not([class*="hero"]) {
    padding-top: calc(80px + var(--pe-gap-section));
  }
  .pe-hero-blocks {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.25rem;
  }

  .pe-hero-block {
    min-height: 400px;
  }

  .pe-boutique-block-enhanced {
    grid-template-columns: 1fr;
    gap: var(--pe-gap-md);
  }

  .pe-footer-content {
    grid-template-columns: 1fr;
    gap: var(--pe-gap-sm);
    text-align: center;
  }

  .pe-nouveautes-grid-v2 {
    grid-template-columns: 1fr;
  }

  /* Cartes nouveautés optimisées pour tablette */
  .pe-nouveaute-info {
    padding: 1.1rem;
  }

  .pe-nouveaute-info h3 {
    font-size: 1.05rem;
  }

  .pe-nouveaute-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .pe-main-pratico .pe-nouveautes-grid-v2 .pe-nouveaute-excerpt {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .pe-main-aurea .pe-nouveaute-excerpt {
    min-height: 5.1em;
  }

  .pe-nouveaute-author {
    font-size: 0.9rem;
  }

  /* Section headers tablette */
  .pe-section-intro {
    font-size: 1rem;
  }

  /* Spotlight tablette */

  /* Featured book tablette */
  .pe-featured-book-image {
    max-height: 400px;
    min-height: 350px;
  }

  .pe-featured-book-content {
    padding: 2rem;
  }

  .pe-featured-book-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  .pe-featured-book-excerpt {
    font-size: 0.95rem;
  }

  .pe-values-grid {
    grid-template-columns: 1fr;
  }

  .pe-commitment-grid,
  .pe-creators-grid {
    grid-template-columns: 1fr;
    gap: var(--pe-gap-md);
  }

  .pe-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .pe-retailers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pe-contact-grid {
    grid-template-columns: 1fr;
  }

  .pe-contact-card:last-child {
    grid-column: span 1;
  }

  .pe-contact-form-wrapper {
    grid-template-columns: 1fr;
  }

  .pe-manuscrit-guidelines {
    grid-template-columns: 1fr;
    gap: var(--pe-gap-md);
  }

  .pe-faq-grid {
    grid-template-columns: 1fr;
  }

  .pe-featured-book {
    grid-template-columns: 1fr;
  }
  /* Header reste fixe en mobile */
  .pe-header {
    position: fixed;
  }

  .pe-header-inner {
    height: 80px;
    padding: 0 1.25rem;
  }

  /* Supprimer le padding-top blanc : le hero gère son propre décalage */
  .pe-main,
  .pe-main-pratico,
  .pe-main-aurea {
    padding-top: 0;
  }

  .pe-hamburger {
    display: block;
  }

  /* Menu mobile slide-in panel */
  .pe-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    background: #0f1a2b;
    padding: 5.5rem 0 2rem;
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  }

  .pe-nav.is-open {
    transform: translateX(0);
  }

  .pe-nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* Liens principaux dans le menu mobile */
  .pe-nav > .pe-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .pe-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: none;
  }

  .pe-nav-link::after {
    display: none;
  }

  .pe-nav-link-main {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Chevron indicateur pour les sous-menus */
  .pe-nav-item .pe-nav-link-main::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
    position: static;
    background: none;
    border-radius: 0;
  }

  .pe-nav-item.active .pe-nav-link-main::after {
    transform: rotate(-135deg);
  }

  /* Sous-menus en accordéon */
  .pe-nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .pe-nav-sub::before {
    display: none;
  }

  /* Neutraliser le dropdown hover du desktop en mobile */
  .pe-nav-item:hover .pe-nav-sub {
    transform: none;
    max-height: 0;
  }

  /* Seul le .active (via JS accordéon) ouvre le sous-menu */
  .pe-nav-item.active .pe-nav-sub,
  .pe-nav-item.active:hover .pe-nav-sub {
    max-height: 300px;
  }

  .pe-nav-sub .pe-nav-link {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-radius: 0;
  }

  .pe-nav-sub .pe-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
  }

  /* Logo réduit pour header tablette */
  .pe-logo-img-large {
    height: 70px;
  }
  .pe-logo-img-aurea-jeunesse {
    height: 62px;
  }

  /* Bannières : hauteur fixe tablette (même logique qu’en desktop) */
  .pe-mission-hero,
  .pe-nouveautes-hero-v2,
  .pe-auteurs-hero,
  .pe-az-hero,
  .pe-manuscrit-hero,
  .pe-auteur-detail-hero,
  .pe-hero:not(.pe-hero-enhanced) {
    height: 400px;
    padding: 80px 0 0;
    box-sizing: border-box;
  }
  .pe-hero.pe-hero-enhanced {
    padding: calc(80px + 4rem) 0 3rem;
  }

  .pe-hero-text h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  /* Citation hero tablette */
  .pe-mission-hero-quote {
    font-size: 1.35rem;
    padding: 1.5rem 1.75rem;
    max-width: 38rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  .pe-mission-hero-quote::before {
    font-size: 2.5rem;
    top: -0.5rem;
    left: 1rem;
  }

  .pe-mission-hero-quote::after {
    font-size: 2rem;
    bottom: -1rem;
    right: 1.25rem;
  }

  /* Nouveautés hero text */
  .pe-nouveautes-hero-text {
    font-size: 1rem;
  }

  .pe-hero-stats-v2 {
    gap: 2rem;
  }

  .pe-stat-v2-circle {
    width: 100px;
    height: 100px;
  }

  .pe-counter {
    font-size: 1.5rem;
  }

  .pe-hero-block-logo img {
    height: 80px;
  }

  .pe-hero-cuisine .pe-hero-block-content h2,
  .pe-hero-romans .pe-hero-block-content h2 {
    font-size: 1.5rem;
  }

  .pe-hero-cuisine .pe-hero-block-content p,
  .pe-hero-romans .pe-hero-block-content p {
    font-size: 1.05rem;
  }

  .pe-btn-hero-block {
    padding: 0.85rem 1.5rem;
    font-size: 0.75rem;
  }

  .pe-boutique-books-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .pe-footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pe-footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .pe-footer-links a:hover {
    padding-left: 0;
  }

  .pe-footer-social {
    justify-content: center;
  }

  .pe-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .pe-newsletter-form-inline {
    flex-direction: column;
  }

  .pe-newsletter-box {
    padding: var(--pe-gap-lg) var(--pe-gap-sm);
  }

  .pe-manuscrit-process ul {
    max-width: 100%;
  }

  .pe-process-step:nth-child(odd),
  .pe-process-step:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    width: 85%;
  }

  .pe-process-step:nth-child(odd) { align-self: flex-start; }
  .pe-process-step:nth-child(even) { align-self: flex-end; }

  .pe-featured-book-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .pe-featured-book-actions {
    flex-direction: column;
  }

  .pe-footer-accredited {
    flex-direction: column;
    text-align: center;
  }

  .pe-footer-funding {
    flex-direction: column;
    text-align: center;
  }
  .pe-auteur-detail-hero {
    align-items: flex-start;
    padding-top: 90px;
    height: auto;
    overflow: visible;
  }

  .pe-auteur-detail-hero-content {
    padding-top: 1.5rem;
  }

  .pe-auteur-detail-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pe-auteur-detail-photo {
    width: 240px;
    margin: 0 auto;
  }

  .pe-auteur-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pe-auteur-detail-social {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .pe-auteurs-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pe-az-items {
    grid-template-columns: repeat(2, 1fr);
  }
  body:has(.pe-main-pratico) .pe-nav {
    background: linear-gradient(180deg, #2a72bb 0%, #1e5a96 100%);
  }
  body:has(.pe-main-aurea) .pe-nav {
    background: linear-gradient(180deg, #064a59 0%, #043a47 100%);
  }
  .pe-main-aurea .pe-cat-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .pe-main-aurea .pe-cat-cta p {
    margin-left: auto;
    margin-right: auto;
  }
  .pe-cat-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--pe-gap-md);
    text-align: center;
  }

  .pe-cat-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .pe-cat-hero-stats {
    justify-content: center;
  }

  .pe-cat-hero-visual {
    height: 300px;
  }

  .pe-cat-book {
    width: 140px;
  }

  .pe-cat-univers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pe-cat-collections-grid {
    grid-template-columns: 1fr;
  }

  .pe-cat-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .pe-cat-cta-visual {
    display: none;
  }
  .pe-jeu-hero {
    padding: calc(80px + 4rem) 0 4rem;
    min-height: 420px;
  }

  .pe-jeu-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pe-jeu-intro-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .pe-jeu-ressources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .pe-jeu-trousses-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pe-jeu-tabs {
    border-radius: var(--pe-radius-md);
    gap: 0.375rem;
    padding: 0.375rem;
  }

  .pe-jeu-tab {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .pe-jeu-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 2rem;
  }

  .pe-jeu-cta p {
    margin-left: auto;
    margin-right: auto;
  }

  .pe-jeu-cta-visual {
    display: none;
  }

  .pe-jeu-shape-circle { width: 200px; height: 200px; }
  .pe-jeu-shape-star { width: 120px; height: 120px; }
  .pe-jeu-shape-squiggle { width: 80px; height: 80px; }

  .pe-culinary-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .pe-gallery-tall {
    grid-row: span 1;
  }
  .pe-gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  .pe-auteurs-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pe-az-items {
    grid-template-columns: 1fr;
  }

  .pe-az-nav {
    gap: 0.35rem;
  }

  .pe-az-letter {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  [role="tab"] {
    text-align: center;
  }
  .pe-culinary-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .pe-gallery-tall {
    grid-row: span 1;
  }
  .pe-gallery-wide {
    grid-column: span 2;
  }
  .pe-editions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .pe-edition-card:nth-child(n) {
    grid-column: auto;
  }
  .pe-edition-card {
    padding: 1.5rem 1rem;
  }
  .pe-edition-logo {
    width: 80px;
    height: 80px;
  }
  .pe-canada-separator {
    font-size: 1.55rem;
  }

  .pe-canada-text {
    font-size: 1.65rem;
  }

  .pe-newsletter-box {
    border-radius: 24px;
  }

  .pe-hero-block {
    min-height: 420px;
    border-radius: 22px;
  }

  .pe-section-alt::before,
  .pe-section-alt::after {
    height: 40px;
  }

  .pe-boutique-feature-improved {
    border-radius: 14px;
  }
  .pe-hero {
    padding: calc(80px + 3.5rem) 0 3rem;
  }

  .pe-hero-text {
    margin-bottom: 2.5rem;
  }

  .pe-hero-stats-v2 {
    gap: 2rem;
    margin: 2rem 0;
  }

  .pe-stat-v2-circle {
    width: 100px;
    height: 100px;
  }

  .pe-counter {
    font-size: 1.75rem;
  }

  .pe-stat-v2-plus {
    font-size: 1rem;
  }

  .pe-hero-block-logo img {
    height: 70px;
  }

  .pe-hero-cuisine .pe-hero-block-content h2,
  .pe-hero-romans .pe-hero-block-content h2 {
    font-size: 1.35rem;
  }

  .pe-section {
    padding: var(--pe-gap-lg) 0;
  }
  .pe-cat-hero {
    padding: 7rem 0 3rem;
  }

  .pe-cat-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pe-cat-hero-visual {
    height: 250px;
  }

  .pe-cat-book {
    width: 120px;
  }

  .pe-cat-accordion-header {
    padding: 1.25rem 1.5rem;
  }

  .pe-cat-accordion-title {
    font-size: 1rem;
  }

  .pe-cat-subcat-grid {
    padding: 0 1.5rem 1.5rem;
    gap: 1rem;
  }

  .pe-cat-subcat-card {
    flex-direction: column;
  }

  .pe-cat-subcat-img {
    width: 100%;
    min-height: 100px;
    max-height: 120px;
  }

  .pe-cat-collection-card {
    grid-template-columns: 1fr;
  }
  .pe-jeu-hero {
    padding: calc(80px + 3.5rem) 0 3rem;
    min-height: 380px;
  }

  .pe-jeu-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .pe-jeu-hero-text {
    font-size: 1.05rem;
  }

  .pe-jeu-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .pe-jeu-ressources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .pe-jeu-ressource-icon {
    width: 90px;
    height: 90px;
  }

  .pe-jeu-trousses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pe-jeu-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--pe-radius-sm);
    padding-bottom: 0.5rem;
  }

  .pe-jeu-tabs::-webkit-scrollbar {
    display: none;
  }

  .pe-jeu-tab {
    min-width: max-content;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .pe-jeu-cta {
    padding: 2rem 1.5rem;
  }
  .pe-main-aurea p,
  .pe-main-aurea li,
  .pe-main-aurea .pe-nouveaute-excerpt,
  .pe-main-aurea .pe-nouveaute-info,
  .pe-main-aurea .pe-section-intro {
    font-weight: 400;
  }
}

@media (max-width: 480px) {
  .pe-container {
    padding: 0 1rem;
  }

  /* Bannières : hauteur min mobile — .pe-hero-enhanced (index) exclu */
  .pe-mission-hero,
  .pe-nouveautes-hero-v2,
  .pe-auteurs-hero,
  .pe-az-hero,
  .pe-manuscrit-hero,
  .pe-auteur-detail-hero,
  .pe-hero:not(.pe-hero-enhanced) {
    min-height: 340px;
    height: auto;
    padding: calc(80px + 1.5rem) 0 2rem;
    box-sizing: border-box;
  }
  .pe-hero.pe-hero-enhanced {
    padding: calc(80px + 3rem) 0 2.5rem;
  }

  /* Citation hero mobile */
  .pe-mission-hero-quote {
    font-size: 1.15rem;
    padding: 1.25rem 1.5rem;
    max-width: 100%;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .pe-mission-hero-quote::before {
    font-size: 2rem;
  }

  .pe-mission-hero-quote::after {
    font-size: 1.75rem;
  }

  /* Logo réduit pour mobile */
  .pe-logo-img-large {
    height: 55px;
  }
  .pe-logo-img-aurea-jeunesse {
    height: 55px;
  }

  /* Cartes nouveautés mobile */
  .pe-nouveaute-info {
    padding: 1rem;
  }

  .pe-nouveaute-info h3 {
    font-size: 1rem;
  }

  .pe-nouveaute-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .pe-main-pratico .pe-nouveautes-grid-v2 .pe-nouveaute-excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .pe-hero-stats-v2 {
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
  }

  .pe-btn {
    width: 100%;
    justify-content: center;
  }

  .pe-boutique-books-carousel {
    grid-template-columns: 1fr;
  }

  .pe-boutique-section-enhanced .pe-book-stack {
    background: transparent;
    border: none;
    overflow: visible;
    box-shadow: none;
    padding: 0;
  }

  .pe-boutique-section-enhanced .pe-book-stack img {
    max-height: 340px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background-color: transparent;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(26, 41, 66, 0.22);
    display: block;
    margin: 0 auto;
  }

  .pe-stats-grid {
    grid-template-columns: 1fr;
  }

  .pe-process-step:nth-child(odd),
  .pe-process-step:nth-child(even) {
    width: 100%;
    align-self: stretch;
  }

  .pe-manuscrit-process ul::before {
    display: none;
  }

  .pe-retailers-grid {
    grid-template-columns: 1fr;
  }

  .pe-filters-v2 {
    flex-direction: column;
    align-items: stretch;
  }

  .pe-filter-btn-v2 {
    justify-content: center;
  }

  .pe-submit-box {
    padding: 1.5rem;
  }

  .pe-section {
    padding: var(--pe-gap-lg) 0;
  }

  .pe-az-nav-section {
    position: static;
  }
  .pe-culinary-gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .pe-gallery-tall,
  .pe-gallery-wide {
    grid-row: span 1;
    grid-column: span 1;
  }
  .pe-editions-grid {
    grid-template-columns: 1fr;
  }
  .pe-hero-block {
    min-height: 380px;
    border-radius: 18px;
  }

  .pe-newsletter-box {
    border-radius: 20px;
    padding: var(--pe-gap-md) var(--pe-gap-sm);
  }

  .pe-section-alt::before,
  .pe-section-alt::after {
    height: 30px;
  }
  .pe-hero {
    padding: calc(80px + 3rem) 0 2.5rem;
  }

  .pe-hero-text h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .pe-hero-lead {
    font-size: 1rem;
  }

  .pe-hero-block-content {
    padding: 0 1.5rem 2rem;
  }

  .pe-book-stack:nth-child(even) {
    margin-top: 0;
  }
  .pe-jeu-hero {
    padding: calc(80px + 3rem) 0 2.5rem;
    min-height: auto;
  }

  .pe-jeu-ressources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .pe-jeu-ressource-icon {
    width: 70px;
    height: 70px;
  }

  .pe-jeu-ressource-icon svg {
    width: 60px;
    height: 60px;
  }

  .pe-jeu-ressource-label {
    font-size: 0.85rem;
  }

  .pe-jeu-trousses-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .pe-jeu-hero-eyebrow {
    font-size: 1rem;
  }

  .pe-jeu-shape {
    opacity: 0.06;
  }

  .pe-hero::before,
  .pe-hero::after {
    display: none;
  }

  .pe-auteurs-page-grid {
    grid-template-columns: 1fr;
  }

  .pe-az-letter {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .pe-map-wrapper iframe {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pe-reveal,
  .pe-stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
