/* ======================
   VARIABLES GLOBALES & PALETTE "NIGHT JUNGLE"
   ====================== */
:root {
  /* --- COULEURS --- */
  --color-primary: #1A3A4A;   /* Bleu Atitlán */
  --bg-main: #0D1D25;         /* Nuit Profonde */
  --bg-card: #142832;         /* Bleu Intermédiaire */
  
  --color-jungle: #1E5631;    /* Vert Forêt Profond */
  
  --color-terracotta: #C85D32;/* Terre Cuite (Action & Tags) */
  --color-terracotta-hover: #A14928;

  --color-accent-yellow: #F2C94C;
  --color-accent-yellow-hover: #E2B022;
  
  --color-creme: #F4ECD8;     /* Crème Maïs (Texte général) */
  --color-creme-light: #FAF6EB; /* Crème très clair (Titres) */
  --color-creme-dim: #D4C5A5; /* Crème sombre */

  /* --- MAPPING --- */
  --radius: 14px;
  --max-width: 1200px;
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   RESET & BASE (VERSION UNIFIÉE ET SÉCURISÉE)
   ========================================================================== */

/* 1. CALCULS DE TAILLE (Le cerveau du layout) */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. CONFIGURATION HTML */
html {
  margin: 0; padding: 0;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  width: 100%;
}

/* 3. STYLE DU BODY (Ton ADN + Sécurité) */
body {
  margin: 0; padding: 0;
  width: 100%;
  min-height: 100vh; /* Mieux que height: 100% pour éviter les fonds coupés */
  
  /* Ton Design */
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--color-creme);
  
  /* Comportement & Rendu */
  overscroll-behavior-y: contain; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* Empêche le site de "flotter" de gauche à droite */
}

/* 4. TYPOGRAPHIE (Tes Titres) */
h1, h2, h3, h4 {
  font-family: var(--font-main); 
  font-weight: 700;
  letter-spacing: -0.02em; 
  color: var(--color-creme-light);
  margin-top: 0; /* Évite les marges fantômes en haut de page */
}

/* 5. NETTOYAGE MOBILE (Le petit plus) */
* {
  -webkit-tap-highlight-color: transparent; /* Adieu le carré gris au clic ! */
}

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

/* ======================
   NAVBAR FIXE
   ====================== */
.pf-navbar {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  width: 90%; max-width: 1200px; box-sizing: border-box; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(13, 29, 37, 0.92); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.pf-navbar.hide { transform: translate(-50%, -130%); opacity: 0; }

/* LOGO */
.pf-navbar .logo { display: flex; align-items: center; gap: 10px; }
.pf-navbar .logo img { height: 40px; }
.pf-navbar .logo span {
  font-family: var(--font-main); font-weight: 800;
  color: var(--color-creme);
  font-size: 17px; /* Ajusté pour être égal au menu */
  letter-spacing: -0.5px; white-space: nowrap;
}

/* MENU */
.pf-navbar nav { display: flex; gap: 32px; align-items: center; transition: max-height 0.3s ease; }
.pf-navbar nav a {
  text-decoration: none; font-family: var(--font-main); font-weight: 700;
  color: var(--color-creme); font-size: 17px;
  display: flex; align-items: center; gap: 8px; transition: all 0.2s ease;
}
/* Survol en Jaune */
@media (hover: hover) {
    .pf-navbar nav a:hover { 
        color: var(--color-accent-yellow); 
        transform: translateY(-1px); 
    }
}

.pf-navbar nav a svg { 
    width: 18px; 
    height: 18px; 
}

/* Burger Mobile */
.pf-navbar .burger { 
    display: none; /* Rappel : pense à le mettre en display: flex sur mobile ! */
    flex-direction: column; 
    justify-content: space-between; 
    width: 26px; 
    height: 20px; 
    cursor: pointer; 
}

.pf-navbar .burger div { 
    height: 3px; 
    background: var(--color-creme-light); 
    border-radius: 2px; 
}
/* ================================================================= 
   HERO SECTIONS (Code Unifié & Sécurisé)
   ================================================================= */

/* 1. STRUCTURE COMMUNE (FLEXBOX CENTRÉ) */
.pf-hero, 
.pf-hero-simple {
    position: relative;
    width: 100%;
    overflow: hidden;
    
    /* Centrage Flexbox pour les deux */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    margin: 0; padding: 0;
}

/* 2. SPÉCIFICITÉS : HERO PRINCIPAL (ACCUEIL) */
.pf-hero {
    height: 100vh;
    color: var(--color-creme);
}

/* 3. SPÉCIFICITÉS : HERO SIMPLE (GUATEMALA / FRANCE) */
.pf-hero-simple {
    height: 70vh;
    min-height: 500px;
}

/* ======================
   ARRIÈRE-PLANS
   ====================== */

/* Slideshow (Hero Principal) */
.pf-hero .slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0; animation: fade 24s infinite;
}
.pf-hero .slide:nth-child(1){animation-delay:0s;}
.pf-hero .slide:nth-child(2){animation-delay:6s;}
.pf-hero .slide:nth-child(3){animation-delay:12s;}
.pf-hero .slide:nth-child(4){animation-delay:18s;}

@keyframes fade {
    0%{opacity:0;transform:scale(1.02);} 6%{opacity:1;transform:scale(1);}
    25%{opacity:1;} 31%{opacity:0;transform:scale(1.02);} 100%{opacity:0;}
}

/* Image Fixe (Hero Simple) */
.pf-hero-simple-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

/* ======================
   CONTENU (TEXTES) - SÉPARÉS POUR PRÉSERVER LE DESIGN
   ====================== */

/* --- A. HERO PRINCIPAL (ACCUEIL) --- */
.pf-content {
    position: relative; /* Modifié de absolute à relative car le parent est flex */
    z-index: 5;
    text-align: center; width: 90%; max-width: 900px;
}

.pf-title {
    font-family: var(--font-main);
    font-size: clamp(32px, 5vw, 64px); 
    font-weight: 800; 
    margin: 0 0 12px 0;
    color: var(--color-creme-light);
    line-height: 1.1; /* Ton line-height original */
    white-space: normal;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 8px 24px rgba(0,0,0,0.6);
}

.pf-sub {
    font-family: var(--font-main);
    font-size: clamp(16px, 2.5vw, 19px); 
    max-width: 800px; margin: 0 auto;
    font-weight: 500;
    color: var(--color-creme-light);
    line-height: 1.35; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 12px rgba(0,0,0,0.9);
}

/* --- B. HERO SIMPLE (PAGES) --- */
.pf-hero-simple-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%; max-width: 900px;
    padding: 0 24px;
    margin-top: 60px; /* Décalage spécifique */
}

.pf-hero-simple-content h1 {
    font-family: var(--font-main);
    font-weight: 800; 
    text-transform: uppercase;
    font-size: clamp(32px, 5vw, 64px); 
    color: var(--color-creme-light);
    margin: 15px 0; 
    line-height: 0.9; /* Différent du principal */
    letter-spacing: -2px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 8px 24px rgba(0,0,0,0.6);
}

.pf-hero-simple-content p {
    font-family: var(--font-main);
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--color-creme-light);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 8px 24px rgba(0,0,0,0.6);
}

/* ======================
   BADGES & BOUTONS
   ====================== */

/* Badge Intro (Hero Principal) */
.pf-intro-badge {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
    background-color: var(--color-primary); color: var(--color-accent-yellow);
    padding: 8px 14px; border-radius: 6px; margin-bottom: 24px;
    cursor: default; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Badge Intro (Hero Simple) */
.pf-hero-simple-content .pf-intro-badge {
    display: inline-block; /* Corrigé pour permettre le margin auto */
    margin-left: auto; margin-right: auto;
    /* On reprend le style de base ou celui spécifique si différent */
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Bouton Instagram */
.pf-instagram-btn {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 36px; padding: 12px 28px;
    font-family: var(--font-main); font-size: 14px; font-weight: 600;
    color: var(--color-creme-light);
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px; backdrop-filter: blur(6px);
    text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35); text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
@media (hover: hover) {
    .pf-instagram-btn:hover { /* <-- Il manquait celle-ci */
        background: rgba(0, 0, 0, 0.45);
        transform: translateY(-2px); 
        border-color: rgba(255, 255, 255, 0.3);
    } /* <-- Et celle-ci pour fermer le hover */
}

.pf-instagram-btn svg { 
    margin-right: 8px; 
    fill: currentColor; 
}

/* ======================
   SCROLL DOWN (TON DESIGN INITIAL)
   ====================== */
.pf-scroll {
    /* AJOUT OBLIGATOIRE DU !important pour écraser le style inline du PHP */
    position: absolute !important; 
    
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 6;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    display: flex;
    gap: 10px;
    align-items: center;
    pointer-events: none;
    font-weight: 500;
}

.pf-scroll svg { animation: bob 2s infinite; }

@keyframes bob {
    0% { transform: translateY(0); }
    50% { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

/* ================================================= 
   SECTION PANORAMIQUE
   ================================================== */

.pf-panorama-section {
  background-color: var(--bg-main);
  padding: 60px 24px;
  color: var(--color-creme);
}

/* --- HEADER --- */
.pf-panorama-header {
  display: flex; 
  align-items: center; 
  gap: 20px;
  max-width: 1200px; 
  margin: 0 auto 30px auto;
}
.pf-panorama-header h2 {
  font-size: 36px; margin: 0; color: var(--color-creme-light); white-space: nowrap;
}
.pf-panorama-header .line {
  height: 1px; flex-grow: 1; background: rgba(255,255,255,0.15);
}
.pf-panorama-header p {
  margin: 0; font-size: 13px; color: var(--color-accent-yellow); 
  font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
}

/* --- GRID & CARDS --- */
.pf-panorama-grid {
  display: flex; 
  gap: 20px; 
  max-width: 1200px; 
  margin: 0 auto;
  height: 400px; 
}

.pf-pano-card {
  position: relative; 
  border-radius: 12px; 
  overflow: hidden;
  text-decoration: none; 
  transition: all 0.4s ease;
  flex: 1; min-width: 0; 
  cursor: pointer;
}
.card-wide { flex: 2; }

/* Background Images */
.pano-bg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.9); /* Légère baisse pour lisibilité sans voile */
}
@media (hover: hover) {
    .pf-pano-card:hover .pano-bg {
        transform: scale(1.06); 
        filter: brightness(1); 
    }
}

/* Contenu Texte */
.pano-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start;
  z-index: 10;
}
.pano-content h3 {
  font-size: 26px; margin: 0 0 6px 0; color: #FFF; font-weight: 800; line-height: 1;
  text-shadow: 0 2px 15px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,1);
}
.card-std h3 { font-size: 22px; }
.pano-content p {
  font-size: 15px; margin: 0 0 16px 0; color: #FFF; font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,1);
}

/* --- BOUTONS --- */
.pf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--color-accent-yellow); color: #FFF;
  border: 1px solid var(--color-accent-yellow);
}
.pf-btn svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
@media (hover: hover) {
    .pf-pano-card:hover .pf-btn {
        background: var(--color-accent-yellow-hover); 
        padding-right: 24px; 
    }
    .pf-pano-card:hover .pf-btn svg {
        transform: translateX(4px); 
    }
}

/* --- SPÉCIAL SHOP (Sweats) --- */
.card-shop { 
  background-color: var(--color-creme); 
}

/* On enlève l'ombre du texte */
.card-shop .pano-content h3, 
.card-shop .pano-content p { 
  text-shadow: none !important; 
  color: var(--color-primary) !important;
}

.shop-visual {
  position: absolute; 
  inset: 0; 
  top: -90px;
  display: flex; 
  justify-content: center; 
  align-items: center;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); 
  
  /* OPTIMISATION 1 : Gestion de la transition du conteneur */
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* OPTIMISATION 2 : Préparer le GPU pour éviter le flou/tremblement */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.shop-visual img {
  position: absolute; 
  width: 75%; 
  height: auto;
  
  /* Lissage des transitions */
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* OPTIMISATION 3 : Anti-aliasing matériel strict */
  will-change: opacity, transform;
  backface-visibility: hidden; 
  -webkit-backface-visibility: hidden;
  transform: translateZ(0); /* Force le calque GPU */
}

/* Image 1 (Face) par défaut */
.shop-visual img:nth-child(1) { 
  opacity: 1; 
  z-index: 2; 
  transform: scale(1); /* Définir explicitement l'état de départ */
}

/* Image 2 (Dos) par défaut */
.shop-visual img:nth-child(2) { 
  opacity: 0; 
  z-index: 1; 
  transform: scale(1); /* Définir explicitement l'état de départ */
}

/* --- EFFETS AU SURVOL (HOVER) - BOUTIQUE --- */

@media (hover: hover) {
    /* Élévation du conteneur visuel */
    .pf-pano-card:hover .shop-visual {
        transform: translateY(-10px) translateZ(0);
    }

    /* La face (1) disparaît */
    .pf-pano-card:hover .shop-visual img:nth-child(1) {
        opacity: 0; 
        transform: scale(1.08) translateZ(0); 
    }

    /* Le dos (2) apparaît */
    .pf-pano-card:hover .shop-visual img:nth-child(2) {
        opacity: 1; 
        transform: scale(1.08) translateZ(0); 
    }
}

/* ======================
   SECTION ABOUT (FINAL & AJUSTÉE)
   ====================== */

.pf-about-section {
  background-color: var(--color-creme); 
  padding: 100px 24px;
  color: var(--bg-main);
  position: relative;
}

/* Grille 2 colonnes */
.pf-about-grid {
  display: grid;
  grid-template-columns: 40% 1fr; 
  gap: 60px;
  align-items: center; 
  
  /* MODIF : Largeur limitée et centrée pour décoller la photo du bord */
  max-width: 1000px; 
  margin: 0 auto;
}

/* --- COLONNE PHOTO --- */
.pf-portrait-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 10px solid #FFFFFF;
    box-shadow: 0 20px 50px rgba(13, 29, 37, 0.15);
    transform: rotate(-2deg); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    max-width: 85%; 
    margin: 0 auto;
}

@media (hover: hover) {
    .pf-portrait-frame:hover {
        transform: rotate(0deg) scale(1.02);
        box-shadow: 0 30px 60px rgba(13, 29, 37, 0.25);
    }
}

.pf-portrait-frame img { width: 100%; height: auto; display: block; }

/* --- COLONNE TEXTE --- */
.pf-about-content { padding-right: 20px; }

/* Kicker */
.pf-about-kicker {
    display: block; font-family: var(--font-main);
    font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
    color: var(--color-terracotta); 
    margin-bottom: 16px; font-size: 13px;
}

/* Titre H2 */
.pf-about-content h2 {
    color: var(--color-primary) !important;
    font-size: clamp(32px, 3.5vw, 42px);
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: none;
}

/* Texte Chapeau (Justifié) */
.pf-lead {
    font-weight: 500 !important;
    font-size: 19px !important;
    color: var(--color-primary) !important;
    line-height: 1.6;
    margin-bottom: 20px;
    
    /* MODIF : Texte justifié */
    text-align: justify; 
}

/* --- LA SIGNATURE --- */
.pf-about-signature {
    text-align: center;
    margin-top: 32px;
}

.pf-about-signature img {
    height: 200px;
    width: auto;
}

/* ================================================= 
   SECTION RECOMMANDATIONS (ACCUEIL - DARK MODE)
   ================================================== */

.pf-reco-section {
    padding: 60px 24px 80px;
    background-color: var(--bg-main); 
}

/* --- HEADER DE SECTION --- */
.pf-reco-header {
    max-width: 1200px; 
    margin: 0 auto 50px; 
    padding: 0 10px;
}

.pf-reco-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 42px;
    color: var(--color-creme);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

.pf-reco-title::after {
    content: '';
    display: block;
    width: 80px; height: 30px; 
    border-top: 3px solid var(--color-accent-yellow); 
    border-right: 3px solid var(--color-accent-yellow);
    border-top-right-radius: 10px; 
    border-top-left-radius: 3px;   
    border-bottom-right-radius: 3px;
    margin-top: 5px; 
}

.pf-reco-subtitle {
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--color-creme-dim);
    line-height: 1.6;
    max-width: 600px;
    margin-top: 0;
}

/* --- GRILLE & CARTES --- */
.pf-reco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.pf-reco-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--color-creme);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative; /* CRUCIAL POUR LE LIEN MAGIQUE */
    
    /* 🌟 NOUVEAU : On prépare l'animation pour que ce soit fluide */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

/* LIEN MAGIQUE DE LA CARTE (Vers l'article) */
.reco-title-link a {
    text-decoration: none;
    color: inherit;
}
.reco-title-link a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1; /* Couche 1 */
}

/* IMAGE */
.reco-image-wrap {
    height: 180px; 
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.reco-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}

/* BADGE (Doit rester cliquable) */
.reco-badge {
    position: absolute; top: 12px; left: 12px;
    background-color: var(--color-jungle);
    color: #fff;
    font-family: var(--font-main);
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 5px 10px; border-radius: 4px; 
    z-index: 10; 
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* CONTENU */
.reco-content {
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1;
}

.reco-content h3 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-primary);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* NOUVEAU : LIEU SOUS LE TITRE */
.reco-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-terracotta);
    margin-top: -5px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.reco-location svg {
    margin-top: -2px;
}

.reco-desc {
    flex-grow: 1;
    margin-bottom: 20px;
}

.reco-desc p {
    margin: 0;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* BOUTON EXTERNE (Passe au-dessus du lien magique) */
.reco-btn {
    margin-top: auto;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 0;
    width: 100%;
    background: var(--color-primary);
    color: var(--color-accent-yellow);
    font-family: var(--font-main);
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    
    position: relative;
    z-index: 10; /* Passe devant ! */
    pointer-events: auto; 
    text-decoration: none;
}

@media (hover: hover) {
    /* La carte entière */
    .pf-reco-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 30px rgba(0,0,0,0.25);
    }

    /* L'image dans la carte */
    .pf-reco-card:hover .reco-image-wrap img {
        transform: scale(1.05);
    }

    /* Le bouton spécifique */
    .reco-btn:hover {
        background-color: var(--bg-main) !important;
        color: var(--color-accent-yellow) !important;
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
}

/* --- LIEN "VER TODAS" --- */
.pf-view-all-container {
    text-align: center;
}

.pf-text-link-yellow {
    display: inline-block;
    margin-top: 40px;
    font-family: var(--font-main);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.reco-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligné sur la première ligne du titre */
    gap: 10px;
    margin-bottom: 10px;
}

.reco-title-link {
    margin: 0 !important;
    flex: 1; /* Le titre prend tout l'espace possible */
}

.reco-title-link a {
    display: block;
    line-height: 1.2;
}

/* =======================================================
   COMPTEURS FIXES (TERRACOTTA & JAUNE)
   ======================================================= */

/* --- ALIGNEMENT --- */
.reco-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.reco-card-stats-inline {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    padding-top: 4px;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 800;
}

.stat-mini svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
    fill: transparent; /* Vide par défaut */
    transition: fill 0.3s ease;
}

/* --- COULEURS FIXES (Toujours coloré) --- */
.stat-like { color: var(--color-terracotta) !important; }
.stat-like svg { stroke: var(--color-terracotta) !important; }

.stat-com { color: var(--color-accent-yellow-hover) !important; }
.stat-com svg { stroke: var(--color-accent-yellow-hover) !important; }

/* --- REMPLISSAGE QUAND C'EST ACTIF --- */
.reco-card-stats-inline .stat-like.is-liked svg path {
    fill: var(--color-terracotta) !important;
}

.reco-card-stats-inline .stat-com.is-commented svg path {
    fill: var(--color-accent-yellow-hover) !important;
}

/* =========================================
   PAGE ARCHIVE / CATÉGORIE (LISTE)
   ========================================= */

.theme-cream {
    background-color: var(--color-creme);
}

.pf-reco-main-title {
    font-family: var(--color-primary);
    font-size: 40px; 
    font-weight: 800;
    color: var(--color-primary) !important; 
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.pf-archive-page .pf-btn-sm { 
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border: 1.5px solid var(--color-primary) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (hover: hover) {
    /* Le lien jaune souligné */
    .pf-text-link-yellow:hover {
        color: var(--color-accent-yellow); 
        border-bottom-color: var(--color-accent-yellow);
        transform: translateY(-2px);
    }

    /* Le petit bouton de la page archive */
    .pf-archive-page .pf-btn-sm:hover {
        background-color: var(--color-primary) !important;
        color: var(--color-accent-yellow) !important;
    }
}

/* --- NAVIGATION PILLULES --- */
.pf-pill-nav-container {
    display: inline-flex;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 6px;
}

.pf-pill-btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.pf-pill-btn.active {
    background-color: var(--color-primary);
    color: var(--color-accent-yellow);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pf-reco-panel {
    transition: opacity 0.4s ease-in-out;
}

/* =========================================
   LES CARTES HORIZONTALES (STRIPS)
   ========================================= */
.pf-reco-strip {
    display: flex;
    align-items: stretch;
    width: 100%; 
    box-sizing: border-box; 
    background-color: var(--color-primary);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    /* 🌟 J'AI AJOUTÉ 'transform' À LA TRANSITION ICI : */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative; 
}

/* LIEN MAGIQUE DU STRIP */
.strip-title-link a {
    text-decoration: none;
    color: inherit;
}
.strip-title-link a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1; /* Couche de base */
}

/* --- COLONNE IMAGE (GAUCHE) --- */
.strip-left {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
}
.strip-left img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}

/* --- COLONNE CONTENU (CENTRE) --- */
.strip-center {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.strip-desc {
    color: var(--color-creme);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.strip-desc p {
    color: var(--color-creme) !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* BOUTON EXTERNE DU STRIP */
.strip-link-btn {
    position: relative;
    z-index: 10; /* Passe au-dessus du lien magique */
    pointer-events: auto; /* Réactive le clic */
    transition: gap 0.3s ease;
    text-decoration: none;
}

.strip-link-btn::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-accent-yellow);
    transition: width 0.3s ease-in-out;
}

@media (hover: hover) {
    /* La bannière entière se soulève */
    .pf-reco-strip:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.25);
    }

    /* L'image à l'intérieur de la bannière zoom */
    .pf-reco-strip:hover .strip-left img {
        transform: scale(1.05);
    }

    /* Le bouton de lien dans la bannière */
    .strip-link-btn:hover {
        gap: 12px; 
        color: var(--color-accent-yellow) !important; 
    }

    /* La petite ligne/effet au survol du bouton */
    .strip-link-btn:hover::before {
        width: 100%;
    }
}

/* --- COLONNE LIEU (DROITE) --- */
.strip-right {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid rgba(255,255,255,0.1);
    background-color: var(--color-terracotta); 
    padding: 20px;
}

/* =========================================
   COMPTEURS DE STATS (LIKE & COM SUR FOND BLEU)
   ========================================= */

.reco-card-stats-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 13px; /* Un peu plus grand que sur la grille d'accueil */
    font-weight: 800;
    /* Couleur par défaut : blanc avec transparence pour se fondre dans le bleu */
    color: rgba(255, 255, 255, 0.4); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-mini svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    fill: transparent; /* Vide par défaut */
    stroke: currentColor;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

/* Animation au clic */
.stat-mini:active {
    transform: scale(0.9);
}

/* --- ÉTATS ACTIFS (REMPLISSAGE) --- */

/* Si Liké : S'allume en Terracotta */
.stat-mini.stat-like.is-liked {
    color: var(--color-terracotta) !important;
}
.stat-mini.stat-like.is-liked svg path {
    fill: var(--color-terracotta) !important;
    stroke: var(--color-terracotta) !important;
}

/* Si Commenté : S'allume en Jaune */
.stat-mini.stat-com.is-commented {
    color: var(--color-accent-yellow) !important;
}
.stat-mini.stat-com.is-commented svg path {
    fill: var(--color-accent-yellow) !important;
    stroke: var(--color-accent-yellow) !important;
}

/* --- PETIT BONUS : EFFET SURVOL POUR LES INVITER AU CLIC --- */
@media (hover: hover) {
    /* Changement de couleur des likes non-activés au survol de la bannière */
    .pf-reco-strip:hover .stat-mini.stat-like:not(.is-liked) {
        color: rgba(255, 255, 255, 0.8);
    }

    /* Changement de couleur des commentaires non-activés au survol de la bannière */
    .pf-reco-strip:hover .stat-mini.stat-com:not(.is-commented) {
        color: rgba(255, 255, 255, 0.8);
    }
}

/* =======================================================
   SINGLE RECOMENDACIONES (DESIGN CARTE COMPACTE)
   ======================================================= */

/* Bloque le scroll du corps de la page pour un effet App */
body.pf-reco-minimal-body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-card);
}

/* Fond plein écran */
.reco-fullscreen-bg {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

/* Bouton Retour Volant */
.reco-back-floating {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-yellow);
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
}
@media (hover: hover) {
    .reco-back-floating:hover{  
    transform: translateX(-5px);
    }
}
.reco-back-floating svg { width: 18px; height: 18px; }

/* --- LA CARTE PRINCIPALE --- */
.reco-app-card {
    background-color: var(--color-creme);
    width: 100%;
    max-width: 900px; /* Pas trop large pour rester lisible */
    height: 80vh; /* Hauteur fixe pour tenir sur 1 écran */
    max-height: 600px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    display: flex;
    overflow: hidden;
    /* Garde tes autres styles (background, border-radius, etc.) et ajoute ça : */
    position: relative; /* Bloque la modale à l'intérieur de cette carte */
    overflow: hidden;   /* Empêche les sauts d'écran invisibles */
}

/* COLONNE GAUCHE (Fixe) */
.reco-app-left {
    flex: 0 0 300px;
    background-color: rgba(0,0,0,0.03);
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0,0,0,0.05);
}

/* Le conteneur principal de l'image (qui devient le carrousel) */
.reco-app-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Image carrée parfaite */
    border-radius: 16px;
    overflow: hidden; /* CRUCIAL pour cacher les photos suivantes */
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- LE CARROUSEL --- */
.reco-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Effet aimant tactile */
    scroll-behavior: smooth; /* Glissement fluide */
    scrollbar-width: none; /* Cache la barre sur Firefox */
    -ms-overflow-style: none; /* Cache la barre sur IE/Edge */
}

/* Cache la barre de défilement sur Chrome/Safari/iOS */
.reco-slider::-webkit-scrollbar {
    display: none;
}

/* Chaque photo du carrousel */
.reco-slide {
    flex: 0 0 100%; /* Prend 100% de la largeur */
    scroll-snap-align: start;
    height: 100%;
}

.reco-slide img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- LE BADGE CATEGORIE --- */
.reco-app-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--color-jungle);
    color: var(--color-creme);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 20; /* Pour toujours rester au-dessus des photos */
}

/* --- FLÈCHES ET POINTS DU CARROUSEL --- */
.reco-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3); /* Fond translucide */
    backdrop-filter: blur(4px); /* Effet verre flou */
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    padding: 0;
}
@media (hover: hover) {
    .reco-slider-btn:hover {  background: rgba(0, 0, 0, 0.7);}
}
.reco-slider-btn.prev { left: 10px; }
.reco-slider-btn.next { right: 10px; }
.reco-slider-btn svg { width: 16px; height: 16px; }

.reco-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.reco-slider-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.reco-slider-dots .dot.active {
    background: white;
    transform: scale(1.5);
}

.reco-app-quick-info {
    margin-bottom: auto; /* Pousse le bouton vers le bas */
}
.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-terracotta);
}

/* Le style du cercle Bleu & Jaune pour les icônes de gauche */
.info-row svg {
    width: 15px; 
    height: 15px;
    background-color: var(--color-terracotta); /* Le fond du cercle en Bleu */
    color: var(--color-creme) !important; /* L'icône en Jaune */
    border-radius: 50%; /* Rend le fond parfaitement rond */
    padding: 8px; /* L'espace entre l'icône et le bord du cercle */
    flex-shrink: 0; /* Empêche le cercle de s'écraser si le texte est long */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Petite ombre légère (optionnelle) */
}

/* Style pour que le numéro de téléphone ressemble au texte normal mais soit cliquable */
.reco-tel-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.reco-app-btn {
    display: block;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-accent-yellow);
    padding: 14px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform 0.3s;
}
@media (hover: hover) {
    .reco-app-btn:hover {
    transform: scale(1.05);
    color: var(--color-accent-yellow);
    }
}

.reco-map-link {
    color: var(--color-terracotta); /* Terracotta par défaut */
    text-decoration: none; /* Pas de soulignement normal */
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Rend le lien "flex" pour que l'icône et le texte soient bien alignés côte à côte */
.reco-full-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 1. L'effet sur le TEXTE au survol (devient bleu primary) */
@media (hover: hover) {
    .reco-full-link:hover span { 
    color: var(--color-primary);
    }
}

/* 2. L'effet sur L'ICÔNE au survol (fond devient bleu primary) */
@media (hover: hover) {
    .reco-full-link:hover svg  {
    background-color: var(--color-primary);
    }
}

/* COLONNE DROITE (Titre + Scroll) */
.reco-app-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
    height: 100%; /* Prend toute la hauteur de la carte */
    box-sizing: border-box;
}

.reco-app-title {
    font-family: var(--font-main);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    line-height: 1.1;
    flex-shrink: 0; /* Empêche le titre de rétrécir */
}

/* Zone de texte avec un scroll interne discret (ne casse pas l'écran) */
.reco-app-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 15px;
}
/* Style de la scrollbar pour qu'elle soit jolie */
.reco-app-scroll-area::-webkit-scrollbar { width: 6px; }
.reco-app-scroll-area::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.1); border-radius: 10px; }

.reco-app-desc p {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-top: 0;
}

.reco-app-pros h4 {
    margin: 20px 0 10px 0;
    font-family: var(--font-main);
    font-size: 13px;
    text-transform: uppercase;
    color: var(--color-terracotta);
    letter-spacing: 1px;
}
.pros-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}
.pros-tags span {
    background: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.pros-tags svg { width: 14px; height: 14px; color: var(--color-jungle); }

.reco-app-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.detail-box {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}
.detail-box strong {
    color: var(--color-primary);
}

/* --- BARRE DU BAS (Actions + Bouton) --- */
.reco-app-right {
    position: relative; /* Indispensable pour la modale */
    overflow: hidden; /* Empêche le panneau de dépasser */
}

.reco-action-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    flex-shrink: 0;
    display: flex;
    justify-content: space-between; /* Met Like/Com à gauche, Visitar à droite */
    align-items: center;
}

.reco-social-actions {
    display: flex;
    gap: 20px;
}

/* Style des petits boutons Like, Comentar et Share (FORCÉ EN BLEU) */
.reco-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    
    /* 🌟 On passe du gris (#888) au Bleu Primary */
    color: var(--color-primary) !important; 
    
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0;
}

.reco-action-btn svg { 
    width: 22px; 
    height: 22px; 
    stroke: var(--color-primary) !important; /* Force l'icône en bleu */
    transition: all 0.3s; 
}

/* Effet au survol : on garde le Terracotta pour le contraste */
@media (hover: hover) {
    .reco-action-btn:hover {   
    color: var(--color-terracotta) !important; 
    transform: translateY(-2px); 
    }
}
@media (hover: hover) {
    .reco-action-btn:hover svg {  
    stroke: var(--color-terracotta) !important;
    }
}

/* État actif (Like déjà cliqué) */
.reco-action-btn.active,
.reco-action-btn.active .count-text { 
    color: var(--color-terracotta) !important; 
}
.reco-action-btn.active svg { 
    fill: var(--color-terracotta) !important; 
    stroke: var(--color-terracotta) !important; 
}

/* Animation active du bouton Comentar (Piloté par ton JS avec la classe .active-comment) */
.reco-action-btn.active-comment,
.reco-action-btn.active-comment .count-text { 
    color: var(--color-accent-yellow-hover) !important; 
}
.reco-action-btn.active-comment svg { 
    fill: var(--color-accent-yellow-hover) !important; /* Remplit l'icône en jaune */
    stroke: var(--color-accent-yellow-hover) !important; /* Colore le contour en jaune */
}

/* ==========================================================================
   1. COMMENTAIRES : MODE RECOMMANDATION (PANNEAU APP STRICT)
   ========================================================================== */

/* 1. STRUCTURE DU PANNEAU */
.pf-reco-minimal-body .reco-comments-modal {
    position: absolute; 
    bottom: -100%;
    left: 0;
    width: 100%;
    height: auto !important; 
    max-height: calc(100% - 90px) !important; 
    background: var(--color-creme-light) !important;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 35px 35px 0 0;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}
.pf-reco-minimal-body .reco-comments-modal.is-active { bottom: 0; }

.pf-reco-minimal-body .reco-comments-header {
    padding: 25px 30px 15px;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--color-creme-light) !important;
    flex-shrink: 0; z-index: 9999 !important; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pf-reco-minimal-body .reco-comments-header h3 {
    color: var(--color-primary) !important;
    font-family: var(--font-main) !important; font-weight: 900 !important;
    text-transform: uppercase; margin: 0 !important; font-size: 17px !important;
}

.pf-reco-minimal-body .reco-close-comments {
    background: var(--color-primary) !important; color: #ffffff !important;
    border: none !important; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer !important;
    transition: all 0.3s ease !important;
}
@media (hover: hover) {
    .pf-reco-minimal-body .reco-close-comments:hover { 
    background: var(--color-terracotta) !important; transform: rotate(90deg);
    }
}

/* 2. ZONE DE SCROLL & TITRE */
.pf-reco-minimal-body .reco-comments-body {
    flex: 1 1 auto; overflow-y: auto; padding: 20px 25px 30px !important;
}

.pf-reco-minimal-body .reco-comments-body #comments { margin-top: 0 !important; padding-top: 0 !important; }
.pf-reco-minimal-body .reco-comments-body .comments-title {
    color: var(--color-primary) !important; font-size: 11px !important; font-weight: 700 !important;
    text-transform: uppercase; margin: 0 0 20px 0 !important; opacity: 0.6;
}

/* Suppression du vide fantôme si liste vide */
.pf-reco-minimal-body .comment-list:empty { display: none !important; margin: 0 !important; padding: 0 !important; }

/* 3. CARTES DES COMMENTAIRES (DATE & ELIMINAR) */
.pf-reco-minimal-body .comment-body {
    background: var(--color-primary) !important; 
    border-radius: 22px !important;
    padding: 30px 25px 25px !important; /* On augmente le padding haut pour le bouton Eliminar */
    margin-bottom: 15px !important; 
    color: var(--color-creme) !important;
    position: relative !important; /* Obligatoire pour le bouton Eliminar */
}

.pf-reco-minimal-body .comment-meta { 
    display: flex !important; 
    flex-direction: column !important; /* 🌟 Date SOUS le nom */
    align-items: flex-start !important; 
    gap: 4px !important;
    margin-bottom: 12px !important; 
}

/* 🌟 BOUTON ELIMINAR (DÉPLACÉ EN HAUT À DROITE) */
.pf-reco-minimal-body .reco-delete-comment {
    position: absolute !important;
    top: 20px !important;     /* Aligné avec le haut du nom */
    right: 25px !important;   /* 🎯 Angle supérieur droit */
    left: auto !important;    /* 🛠️ Annule le placement à gauche précédent */
    
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--color-terracotta) !important; 
    background: transparent !important;
    border: none !important;
    opacity: 1;
    transition: all 0.3s ease !important;
    z-index: 5;               /* Pour être sûr qu'il reste au-dessus */
}

@media (hover: hover) {
    .pf-reco-minimal-body .reco-delete-comment:hover   {
    opacity: 1; 
    transform: translateY(-2px) !important; 
    }
}

.pf-reco-minimal-body .says, .pf-reco-minimal-body .avatar, .pf-reco-minimal-body .comment-notes, .pf-reco-minimal-body .logged-in-as { display: none !important; }

/* Nom (Jaune) et Date (Terracotta) */
.pf-reco-minimal-body b.fn { color: var(--color-accent-yellow) !important; font-size: 16px !important; font-weight: 800 !important; }

.pf-reco-minimal-body .comment-metadata { visibility: hidden !important; height: 14px !important; display: inline-block !important; opacity: 1 !important; }
/* 🌟 DATE NON CLIQUABLE */
.pf-reco-minimal-body .comment-metadata a, 
.pf-reco-minimal-body .comment-metadata time {
    visibility: visible !important;
    color: var(--color-terracotta) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    pointer-events: none !important; /* 👈 Désactive le clic */
    cursor: default !important;
}

.pf-reco-minimal-body .comment-content p { color: var(--color-creme) !important; font-size: 16px !important; line-height: 1.6 !important; }

/* 4. BOUTONS ACTIONS (Contestar / Eliminar) */
.pf-reco-minimal-body .reply { display: flex !important; justify-content: flex-end !important; align-items: center !important; gap: 15px !important; margin-top: 20px !important; width: 100% !important; }

.pf-reco-minimal-body .comment-reply-link {
    display: inline-block !important; padding: 7px 20px !important; font-size: 10px !important; border-radius: 50px !important;
    border: 2px solid var(--color-accent-yellow) !important; color: var(--color-accent-yellow) !important; background: transparent !important;
    font-weight: 800 !important; text-transform: uppercase !important; text-decoration: none !important; line-height: 1.2 !important;
}
@media (hover: hover) {
    .pf-reco-minimal-body .comment-reply-link:hover {  background: var(--color-accent-yellow) !important; color: var(--color-primary) !important; }
}

/* =======================================================
   5. FORMULAIRE DE RÉPONSE (VERSION COMPACTE & ÉLÉGANTE)
   ======================================================= */

.pf-reco-minimal-body #respond {
    position: relative !important;
    background: var(--color-primary) !important;
    /* Padding réduit pour un aspect moins massif */
    padding: 45px 25px 30px !important; 
    /* Largeur réduite pour plus de finesse */
    max-width: 440px; 
    margin: 20px auto !important; 
    border-radius: 24px !important;
    text-align: center !important;
}

/* 🌟 TITRE : MAJUSCULES, TAILLE AJUSTÉE ET CENTRÉ */
.pf-reco-minimal-body #reply-title {
    color: var(--color-creme) !important;
    font-size: 20px !important; /* Réduit de 26px à 20px */
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important; /* Marge basse réduite */
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
    line-height: 1.2;
}

/* Le nom dans "Contestar a XXX" */
.pf-reco-minimal-body #reply-title a:first-of-type {
    color: var(--color-accent-yellow) !important;
    text-decoration: none !important;
    border: none !important;
    pointer-events: none !important;
}

/* 🌟 BOUTON CANCELAR (TERRACOTTA HAUT DROITE) */
.pf-reco-minimal-body #cancel-comment-reply-link {
    position: absolute !important;
    top: 15px !important; /* Ajusté pour le nouveau padding */
    right: 15px !important;
    color: var(--color-terracotta) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
    display: inline-block;
}

/* =======================================================
   6. FORMULAIRE : INPUTS & BOUTON (RÉTABLISSEMENT)
   ======================================================= */

/* --- 🌟 STYLE DES CASES (NOM, EMAIL, MESSAGE) --- */
.pf-reco-minimal-body .comment-form input:not(.submit), 
.pf-reco-minimal-body .comment-form textarea {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: var(--color-creme) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    font-family: var(--font-main) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
    transition: all 0.3s ease;
    
    /* Anti-bleu système */
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

/* État au clic sur les cases */
.pf-reco-minimal-body .comment-form input:focus, 
.pf-reco-minimal-body .comment-form textarea:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--color-accent-yellow) !important;
    box-shadow: none !important; 
    outline: none !important;
}

/* Placeholder (le texte indicatif) */
.pf-reco-minimal-body .comment-form input::placeholder,
.pf-reco-minimal-body .comment-form textarea::placeholder {
    color: var(--color-creme) !important;
    opacity: 0.7 !important;
}

/* =======================================================
   FIX FINAL : BOUTON PUBLICAR (ZÉRO BLEU & PROPRE)
   ======================================================= */

/* On utilise un sélecteur très précis pour écraser le thème */
.pf-reco-minimal-body #respond input[type="submit"].submit {
    /* 1. RESET RADICAL ANTI-BLEU */
    -webkit-tap-highlight-color: transparent !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important; /* Tue les dégradés bleus du thème */
    
    /* 2. STYLE & PROPORTIONS */
    display: inline-block !important;
    min-width: 180px !important;
    padding: 12px 25px !important;
    font-size: 11px !important;
    font-family: var(--font-main) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    border-radius: 50px !important;
    cursor: pointer !important;
    margin-top: 5px !important;
    
    /* 3. COULEURS PAR DÉFAUT (TRANSPARENT) */
    background-color: transparent !important; 
    border: 2px solid var(--color-accent-yellow) !important;
    color: var(--color-accent-yellow) !important;
    transition: all 0.2s ease-in-out !important;
}

/* 4. ÉTATS : SURVOL, FOCUS ET CLIC (TOUS EN JAUNE, PAS DE BLEU) */
@media (hover: hover) {
    .pf-reco-minimal-body #respond input[type="submit"].submit:hover,
    .pf-reco-minimal-body #respond input[type="submit"].submit:focus,
    .pf-reco-minimal-body #respond input[type="submit"].submit:active {
        /* On force le fond jaune et le texte bleu foncé */
        background-color: var(--color-accent-yellow) !important;
        background-image: none !important; 
        color: var(--color-primary) !important; 
        
        /* On blinde contre le bleu */
        border-color: var(--color-accent-yellow) !important;
        outline: none !important;
        box-shadow: none !important;
    }
}

/* Effet de pression quand on clique */
.pf-reco-minimal-body #respond input[type="submit"].submit:active {
    transform: scale(0.96) !important;
}

/* État désactivé (quand on vient de cliquer) */
.pf-reco-minimal-body #respond input[type="submit"].submit:disabled {
    opacity: 0.5 !important;
    background-color: transparent !important;
    color: var(--color-accent-yellow) !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Placeholder */
.pf-reco-minimal-body .comment-form input::placeholder,
.pf-reco-minimal-body .comment-form textarea::placeholder {
    color: var(--color-creme) !important;
    opacity: 0.7 !important;
}

/* 🌟 NETTOYAGE FINAL */
.pf-reco-minimal-body .comment-notes, 
.pf-reco-minimal-body .logged-in-as, 
.pf-reco-minimal-body .comment-form-cookies-consent {
    display: none !important;
}

/* =======================================================
   7. STYLE DU FORMULAIRE "IMBRIQUÉ" (MODE CONTESTAR)
   ======================================================= */

/* Quand le rectangle bleu descend à l'intérieur d'un commentaire */
.pf-reco-minimal-body .comment-body #respond {
    background: rgba(0, 0, 0, 0.15) !important; /* Plus sombre pour l'effet encastré */
    padding: 25px 20px !important;
    margin-top: 20px !important;
    border-radius: 20px !important;
    max-width: 100% !important; /* Prend toute la largeur du com */
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2) !important; /* Ombre intérieure */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* On réduit le titre quand c'est une réponse imbriquée */
.pf-reco-minimal-body .comment-body #respond #reply-title {
    font-size: 15px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    padding-right: 50px !important; /* Place pour le bouton Cancelar */
}

/* On réduit un peu les cases en mode réponse */
.pf-reco-minimal-body .comment-body #respond .comment-form input:not(.submit),
.pf-reco-minimal-body .comment-body #respond .comment-form textarea {
    padding: 12px 15px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* --- NETTOYAGE & BOUTONS --- */

/* Cacher l'inutile */
.pf-reco-minimal-body .avatar, 
.pf-reco-minimal-body .comment-notes, 
.pf-reco-minimal-body .logged-in-as,
.pf-reco-minimal-body .comment-form-cookies-consent { 
    display: none !important; 
}

/* =======================================================
   8. STYLE DES RÉPONSES (FILS DE DISCUSSION)
   ======================================================= */

/* Le trait vertical à gauche */
.pf-reco-minimal-body .children {
    list-style: none !important;
    margin: 0 0 0 15px !important; 
    padding: 0 0 0 20px !important; 
    border-left: 2px solid rgba(255, 255, 255, 0.1) !important; 
}

/* Texte "comentó" et "contestó" */
.pf-reco-minimal-body .comment-list > li > .comment-body .fn::after {
    content: " comentó :" !important;
}
.pf-reco-minimal-body .children .fn::after {
    content: " contestó :" !important;
}
.pf-reco-minimal-body .fn::after {
    color: var(--color-creme) !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    opacity: 0.6 !important;
    text-transform: none !important;
    margin-left: 6px !important;
}

/* Ajuste la bulle de réponse */
.pf-reco-minimal-body .children .comment-body { 
    padding: 18px 20px !important; 
    border-radius: 20px !important;
    margin-top: 15px !important; 
}

/* ================================================================= 
   SECTION BLOG & TABS (Design "Crème & Bleu" + Structure Fixée)
   ================================================================= */

.pf-blog-tabs-section {
    padding: 40px 24px;
    background-color: var(--color-creme); /* 1. Fond Crème */
    position: relative;
    min-height: 600px;
}

/* Header (Titre + Nav) */
.pf-tabs-header {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    min-height: 80px;
}

.pf-tabs-title {
    font-family: var(--font-main);
    font-size: 36px; font-weight: 800;
    color: var(--color-primary); /* 2. Titre Bleu Foncé (lisible sur crème) */
    margin-bottom: 30px;
    text-transform: uppercase; letter-spacing: -1px;
}

/* Navigation des onglets */

.pf-tabs-nav {

display: inline-flex; gap: 10px;

background: rgba(13, 29, 37, 0.05); /* Fond gris très léger */

padding: 5px; border-radius: 50px;

border: 1px solid rgba(13, 29, 37, 0.1);

}



.pf-tab-btn {

background: transparent; border: none;

padding: 10px 25px; border-radius: 40px;

font-family: var(--font-main); font-weight: 700; font-size: 13px;

color: rgba(13, 29, 37, 0.6); /* Texte gris foncé */

text-transform: uppercase; letter-spacing: 1px;

cursor: pointer; transition: 0.3s;

}



@media (hover: hover) {
    .pf-tab-btn:hover {  color: var(--color-primary);}
}



.pf-tab-btn.active {

background-color: var(--color-primary); /* 3. Bouton Actif Bleu */

color: var(--color-accent-yellow); /* Texte Jaune */

box-shadow: 0 4px 15px rgba(0,0,0,0.2);

}

/* =================================================================
  BARRE DE RECHERCHE DYNAMIQUE
  ================================================================= */


.pf-expand-search {
   position: absolute;
   top: 40px; /* Position ajustée au repos */
   right: 0;
   z-index: 100;
   transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.search-form {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   min-width: 44px;
}


/* L'Input (Caché au départ) */
.pf-search-input {
   width: 0;
   height: 44px;
   opacity: 0;
   visibility: hidden;
   background-color: var(--color-primary);
   color: #fff;
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 50px;
   padding: 0;
   outline: none;
   font-family: var(--font-main);
   font-size: 16px;
   transition: all 0.4s ease;
}
.pf-search-input::placeholder { color: rgba(255,255,255,0.5); font-style: italic; }


/* Bouton Rond (Loupe) */
.pf-search-icon {
   width: 44px; height: 44px;
   background-color: var(--color-primary);
   color: var(--color-accent-yellow);
   border-radius: 50%;
   display: flex; align-items: center; justify-content: center;
   cursor: pointer;
   z-index: 2;
   box-shadow: 0 4px 12px rgba(13, 29, 37, 0.15);
   transition: transform 0.3s, background-color 0.3s;
}


@media (hover: hover) {
    .pf-search-icon:hover {  transform: scale(1.1); }
}


/* Gestion Icônes Loupe vs Croix */
.pf-search-icon .icon-close { display: none; }


/* Clean Input Styles */
.pf-search-input::-webkit-search-decoration,
.pf-search-input::-webkit-search-results-button,
.pf-search-input::-webkit-search-results-decoration { display: none; -webkit-appearance: none; }




/* =================================================================
  ⚡️ MODE "SEARCH OPEN" (ACTIVÉ PAR JS)
  ================================================================= */


/* 1. On cache Titre, Onglets et Contenu par défaut */
.pf-blog-tabs-section.search-open .pf-tabs-title,
.pf-blog-tabs-section.search-open .pf-tabs-nav,
.pf-blog-tabs-section.search-open .pf-global-view-all,
.pf-blog-tabs-section.search-open #default-tabs-content,    /* Pour le Guatemala */
.pf-blog-tabs-section.search-open #default-tabs-content-fr { /* Pour la France (AJOUTÉ) */
   display: none !important;
}


/* 2. La Barre de recherche se centre */
.pf-blog-tabs-section.search-open .pf-expand-search {
   position: relative !important;
   top: 0 !important;
   right: auto !important; left: auto !important;
   margin: 60px auto 20px !important;
   width: 100% !important;
   max-width: 450px !important;
   display: block !important;
}


/* 3. L'Input s'ouvre */
.pf-blog-tabs-section.search-open .pf-search-input {
   width: 100% !important;
   opacity: 1 !important;
   visibility: visible !important;
   padding: 0 60px 0 25px !important;
   position: relative !important;
}


/* 4. L'Icône change d'état */
.pf-blog-tabs-section.search-open .pf-search-icon {
   position: absolute !important;
   right: 0 !important; top: 0 !important;
   background-color: transparent !important;
   box-shadow: none !important;
   z-index: 110 !important;
   pointer-events: auto !important;
}


.pf-blog-tabs-section.search-open .icon-loupe { display: none !important; }
.pf-blog-tabs-section.search-open .icon-close {
   display: block !important;
   color: var(--color-accent-yellow) !important;
}


/* 5. Le Titre des résultats apparaît (Guatemala ET France) */
.pf-blog-tabs-section.search-open #search-results-title,
.pf-blog-tabs-section.search-open #search-results-title-fr {
   width: 100%;
   text-align: center;
   display: block !important;
   margin-bottom: 20px;
   font-size: 18px; font-weight: 700;
   
   /* C'est ici qu'on met le TERRACOTTA */
   color: var(--color-terracotta) !important;
   
   text-transform: uppercase; letter-spacing: 1px;
   animation: fadeIn 0.3s;
}


/* =======================================================
   DESIGN RÉSULTATS DE RECHERCHE AJAX
   ======================================================= */

/* 1. Zone de résultats (Espace avec le footer) */
#ajax-search-results {
    margin-top: 40px;
    padding-bottom: 120px;
    min-height: 60vh;
    transition: all 0.4s ease;
}

/* 2. La Grille d'articles (Desktop) */
.pf-archive-grid,
#ajax-search-results .pf-archive-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   max-width: 1200px;
   margin: 40px auto 0;
}

/* 3. Style quand aucun résultat n'est trouvé */
.pf-no-results-ajax {
   color: #5D737E !important;
   font-family: var(--font-main);
   text-align: center;
   padding: 100px 20px;
}

.pf-no-results-ajax strong { 
    color: var(--color-terracotta) !important; 
    font-weight: 700; 
}

/* ======================
  CARTE ARTICLE (Toute la zone est cliquable)
  ====================== */


.pf-post-card {
   position: relative; /* C'est la référence pour le lien étendu */
   background-color: var(--bg-card);
   border-radius: 20px;
   overflow: hidden;
   display: flex; flex-direction: column;
   height: 100%;
   box-shadow: 0 4px 8px rgba(13, 29, 37, 0.08), 0 12px 24px -5px rgba(13, 29, 37, 0.05);
   transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   transform: translateY(0);
}


@media (hover: hover) {
    .pf-post-card:hover  {
   transform: translateY(-10px) scale(1.01);
   box-shadow: 0 8px 16px rgba(13, 29, 37, 0.1), 0 30px 50px -10px rgba(13, 29, 37, 0.25);
    }
}


.pf-post-thumb {
   display: block; height: 190px; width: 100%;
   overflow: hidden; margin: 0;
   /* Le lien de l'image est couvert par le "grand lien", donc on le laisse passif */
}
.pf-post-thumb img {
   width: 100%; height: 100%; object-fit: cover;
   transition: transform 0.6s ease;
}
@media (hover: hover) {
    .pf-post-card:hover .pf-post-thumb img  { transform: scale(1.1); }
}


.pf-post-content {
   padding: 20px; flex-grow: 1; display: flex; flex-direction: column;
   /* IMPORTANT : On met STATIC ici pour que le lien ne reste pas bloqué dans cette div */
   position: static;
   pointer-events: none; /* Le texte ne bloque pas le clic */
}


.pf-post-content h3 { font-size: 19px; margin: 0 0 10px 0; line-height: 1.3; }
.pf-post-content h3 a {
   text-decoration: none; color: var(--color-creme-light);
   /* Le titre n'a plus besoin d'être cliquable spécifiquement, le grand lien s'en occupe */
}


.pf-post-excerpt {
   font-size: 14px; color: rgba(244, 236, 216, 0.7);
   line-height: 1.5; margin-bottom: 15px; flex-grow: 1;
   display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}


/* FOOTER CARTE */
.pf-card-footer {
   margin-top: auto;
   display: flex; align-items: center; justify-content: space-between;
   padding-top: 15px;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   /* On garde static ici aussi */
   position: static;
}


/* --- LE LIEN MAGIQUE --- */
.pf-read-more {
   display: inline-flex; align-items: center; gap: 8px;
   font-size: 11px; font-weight: 800; color: var(--color-accent-yellow);
   text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
   transition: all 0.3s ease;
   pointer-events: auto; /* On réactive le clic sur le lien lui-même */
}


/* C'est ce pseudo-élément qui couvre toute la carte */
.pf-read-more::after {
   content: '';
   position: absolute;
   inset: 0; /* Couvre tout le parent RELATIF (donc .pf-post-card) */
   z-index: 1; /* Niveau 1 */
   cursor: pointer;
}


/* Animation de la petite flèche (visuelle uniquement) */
.pf-read-more span { display: inline-block; transition: transform 0.3s; }
@media (hover: hover) {
    .pf-post-card:hover .pf-read-more {  color: var(--color-accent-yellow); }
} /* Petit bonus couleur */

/* ======================
   STATISTIQUES DES CARTES (LIKE & COMM) - VERSION UNIFIÉE
   ====================== */

.pf-card-stats {
   display: flex; 
   align-items: center; 
   gap: 12px;
   position: relative;
   z-index: 10 !important; /* Priorité sur le lien global */
   pointer-events: auto !important;
}

/* On utilise la nouvelle classe unifiée : stat-mini */
.stat-mini {
   display: flex; 
   align-items: center; 
   gap: 6px;
   font-family: var(--font-main); 
   font-size: 13px; /* Légèrement plus grand */
   font-weight: 800; /* Plus gras, style App */
   color: rgba(255, 255, 255, 0.4); /* Couleur par défaut semi-transparente */
   transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
   user-select: none; 
   cursor: pointer;
   position: relative;
   z-index: 11;
}

.stat-mini svg {
   width: 16px; 
   height: 16px; 
   stroke-width: 2.5; /* Épaisseur du trait style App */
   stroke: currentColor; 
   fill: transparent; /* Vide par défaut */
   transition: fill 0.3s ease, stroke 0.3s ease;
}

/* Petit effet de rebond au clic */
.stat-mini:active {
    transform: scale(0.9);
}

/* --- ÉTATS AU SURVOL DE LA CARTE (HOVER) --- */
/* Donne un aperçu de la couleur pour inviter au clic */
@media (hover: hover) {
    /* 1. Animation des LIKES (Terracotta) */
    .pf-post-card:hover .stat-mini.stat-like:not(.active) {
        color: var(--color-terracotta); 
    }
    .pf-post-card:hover .stat-mini.stat-like:not(.active) svg {
        stroke: var(--color-terracotta); 
    }

    /* 2. Animation des COMMENTAIRES (Jaune) */
    .pf-post-card:hover .stat-mini.stat-com:not(.has-comments) {
        color: var(--color-accent-yellow); 
    }
    .pf-post-card:hover .stat-mini.stat-com:not(.has-comments) svg {
        stroke: var(--color-accent-yellow); 
    }
}

/* --- ÉTATS ACTIFS (DÉFINIS PAR LE JS DU BLOG) --- */

/* Like Actif (Terracotta plein) */
.stat-mini.stat-like.active {
    color: var(--color-terracotta) !important;
    opacity: 1 !important;
}
/* La vraie différence est ici : on remplit le path (le coeur) */
.stat-mini.stat-like.active svg path {
    fill: var(--color-terracotta) !important;
    stroke: var(--color-terracotta) !important;
}

/* Commentaires Actifs (Jaune plein) */
.stat-mini.stat-com.has-comments {
    color: var(--color-accent-yellow) !important;
    opacity: 1 !important;
}
/* On remplit la bulle */
.stat-mini.stat-com.has-comments svg path {
    fill: var(--color-accent-yellow) !important;
    stroke: var(--color-accent-yellow) !important;
}

/* ======================
   LIEN GLOBAL "VER TODOS"
   ====================== */
.pf-global-view-all {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-main);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-terracotta); 
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

@media (hover: hover) {
    .pf-global-view-all:hover  {
    color: var(--color-terracotta); /* Terracotta au survol */
    border-bottom-color: var(--color-terracotta);
    transform: translateY(-2px);
    }
}

/* ======================
   PAGINATION MINIMALISTE (< 1 / 2 >)
   (Version Zoom sans changement de couleur)
   ====================== */

.pf-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(13, 29, 37, 0.05);
    
    /* Typo générale */
    font-family: var(--font-main);
    font-size: 14px; 
    font-weight: 700;
    color: var(--color-terracotta);
    letter-spacing: 2px;
}

/* Les Flèches (Boutons) */
.pf-pag-btn {
    background: none;
    border: none;
    cursor: pointer;
    
    /* Typo des chevrons */
    font-family: monospace; 
    font-size: 20px;
    font-weight: 400;
    color: var(--color-terracotta); /* Couleur de base */
    
    padding: 0 15px; 
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s;
}

/* Animation au survol : JUSTE LE ZOOM */
@media (hover: hover) {
    .pf-pag-btn:hover  {
    transform: scale(1.3); /* Grossit de 30% */
    /* Pas de changement de couleur ici, ça reste terracotta */
    }
}

/* État désactivé (Grisé très fort) */
.pf-pag-btn.disabled {
    opacity: 0.2; 
    pointer-events: none;
}

/* Le texte central */
.pf-pag-info {
    user-select: none;
}

/* =======================================================
   PAGE ARTICLE MAGAZINE (SINGLE.PHP) - FINAL & SANS SERIF
   ======================================================= */

/* Conteneur étroit pour la lecture (centré) */
.pf-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Espacement supplémentaire en bas pour éviter que la barre flottante cache le texte */
body.pf-single-immersive {
    padding-bottom: 120px !important;
}

/* --- 1. HERO IMMERSIF (Titre remonté & Sans Serif) --- */
.pf-single-hero {
    position: relative;
    height: 60vh; 
    min-height: 550px;
    display: flex;
    align-items: flex-end; 
    margin-top: 0;
}

.pf-single-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: 0;
}

.pf-single-overlay {
    position: absolute; inset: 0;
    background: none; 
    pointer-events: none; 
}

.pf-single-header-content {
    position: relative; z-index: 2;
    width: 100%;
    padding-bottom: 80px; 
}

/* Grand Titre de l'article */
.pf-single-title {
    font-family: var(--font-main); 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    color: var(--color-creme-light);
    margin: 0 0 20px 0;
    text-shadow: 0 5px 30px rgba(0,0,0,0.9), 0 2px 5px rgba(0,0,0,1);
}

/* Meta données (Catégorie | Date) */
.pf-article-meta {
    display: flex; 
    gap: 15px; 
    align-items: center;
    font-family: var(--font-main); 
    font-size: 13px; 
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,1);
}

/* Lien Catégorie (Minimaliste avec ligne) */
.pf-meta-cat a {
    position: relative;
    display: inline-block;
    color: var(--color-accent-yellow) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    background: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.pf-meta-cat a::after {
    content: '';
    position: absolute;
    width: 0%; 
    height: 2px; 
    bottom: -4px; 
    left: 0;
    background-color: var(--color-accent-yellow);
    transition: width 0.3s ease; 
}

@media (hover: hover) {
    .pf-meta-cat a:hover::after {
    width: 100%;
    }
}

.pf-separator { 
    display: inline-block; 
    margin: 0 10px;
    color: rgba(255,255,255,0.4); 
    font-weight: 300;
}

.pf-meta-date { 
    color: var(--color-creme); 
    opacity: 0.9; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 700;
}

/* --- 2. CORPS DE L'ARTICLE --- */
.pf-single-main {
    background-color: var(--bg-main);
    position: relative; z-index: 2;
    padding: 10px 0 50px;
}

.pf-article-body {
    font-family: var(--font-main);
    color: var(--color-creme);
    font-size: 18px; 
    line-height: 1.8;
}

/* La Lettrine */
.pf-article-body > p:first-of-type::first-letter {
    float: left; 
    font-family: var(--font-main); 
    font-size: 80px; 
    line-height: 0.8;
    margin-right: 15px; margin-top: 8px;
    color: var(--color-accent-yellow); 
    font-weight: 800; 
}

.pf-article-body p { margin-bottom: 30px; }

/* Titres H2 */
.pf-article-body h2 {
    font-family: var(--font-main); 
    font-weight: 800;
    font-size: 32px;
    color: var(--color-creme-light); 
    margin-top: 60px; margin-bottom: 25px;
    display: inline-block; 
    border-bottom: 3px solid var(--color-terracotta); 
    padding-bottom: 5px;
    letter-spacing: -0.5px;
}

/* Titres H3 */
.pf-article-body h3 {
    font-family: var(--font-main); 
    font-weight: 700;
    font-size: 24px;
    color: var(--color-terracotta); 
    margin-top: 40px; margin-bottom: 15px;
}

/* Citations (Blockquote) */
.pf-article-body blockquote {
    position: relative; 
    margin: 50px 0; padding: 20px 20px 20px 40px;
    font-family: var(--font-main); 
    font-weight: 600; 
    font-size: 22px; 
    font-style: italic; 
    line-height: 1.5; 
    color: var(--color-creme-light); 
    border: none; z-index: 1;
    background: rgba(255,255,255,0.03); 
    border-radius: 8px;
}

.pf-article-body blockquote::before {
    content: '“'; position: absolute; top: -30px; left: 10px;
    font-size: 100px; color: var(--color-terracotta); opacity: 0.2;
    font-family: sans-serif; 
    z-index: -1;
}

.pf-article-body cite {
    display: block; font-family: var(--font-main); font-size: 13px;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-terracotta); margin-top: 15px; font-style: normal; font-weight: 700;
}

/* Images */
.pf-article-body img {
    max-width: 100%; height: auto; border-radius: 12px; margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05);
}
.pf-article-body figcaption {
    text-align: center; font-size: 13px; color: var(--color-creme-dim);
    margin-top: -30px; margin-bottom: 40px; font-style: italic;
}

/* Listes */
.pf-article-body ul, .pf-article-body ol {
    margin-bottom: 30px; 
    padding-left: 0;
    border-left: none; 
}

.pf-article-body li { 
    position: relative;
    margin-bottom: 12px; 
    padding-left: 25px; 
    list-style: none;   
}

.pf-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;           
    width: 6px;          
    height: 6px;         
    background-color: var(--color-accent-yellow);
    border-radius: 50%;  
}

.pf-article-body ol { counter-reset: my-counter; }
.pf-article-body ol li { padding-left: 30px; }
.pf-article-body ol li::before {
    content: counter(my-counter) ".";
    counter-increment: my-counter;
    position: absolute;
    left: 0;
    top: 0; 
    color: var(--color-accent-yellow);
    font-weight: 800;
    font-family: var(--font-main);
}

/* Liens dans le texte */
.pf-article-body a {
    color: var(--color-accent-yellow); 
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 201, 76, 0.3);
    transition: all 0.2s ease;
    font-weight: 600;
}
@media (hover: hover) {
    .pf-article-body a:hover  {
    color: var(--bg-main); 
    background-color: var(--color-accent-yellow);
    border-bottom-color: transparent;
    }
}

/* =======================================================
   BARRE DE NAVIGATION FLOTTANTE (DESIGN AQUA SOMBRE) - STRICTEMENT BLOG
   ======================================================= */

.pf-action-bar {
    position: fixed !important;
    top: 30px !important; 
    bottom: auto !important; 
    
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    
    gap: 55px !important; 
    padding: 14px 50px !important; 
    
    /* 🌊 EFFET : AQUA SOMBRE (Deep Glassmorphism) */
    background: rgba(5, 45, 55, 0.85) !important; 
    backdrop-filter: blur(20px) saturate(110%);
    -webkit-backdrop-filter: blur(20px) saturate(110%);
    
    border: 1px solid rgba(0, 168, 190, 0.3) !important; 
    border-radius: 50px !important;
    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                inset 0 2px 15px rgba(0, 0, 0, 0.3) !important; 
    
    width: auto !important;
    max-width: 90vw !important;
    margin: 0 !important; 
    transition: all 0.3s ease;
}

/* Style des boutons (Blog uniquement) */
.pf-action-pill {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    
    color: var(--color-creme-light) !important; 
    opacity: 1;
    
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: auto !important;
    width: auto !important;
}

/* Style des Icônes SVG (Blog uniquement) */
.pf-action-pill svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important; 
    stroke-width: 2.2px !important;
    fill: transparent !important;
    margin-bottom: 4px !important;
    transition: transform 0.3s ease, stroke 0.3s ease, fill 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); 
}

/* Style des Compteurs et Labels (Blog uniquement) */
.pf-action-pill .count-text, 
.pf-action-pill .share-label {
    font-family: var(--font-main) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* --- ÉTAT LIKE ACTIVÉ (Terracotta) --- */
.pf-action-pill.active svg path {
    fill: var(--color-terracotta) !important;
    stroke: var(--color-terracotta) !important;
}
.pf-action-pill.active .count-text {
    color: var(--color-terracotta) !important;
    opacity: 1;
}

/* --- EFFETS AU SURVOL MULTICOLORES (Desktop) --- */
@media (min-width: 769px) {
    @media (hover: hover) {
        
        /* 0. ANIMATIONS COMMUNES */
        .pf-action-pill:hover {
            opacity: 1; 
        }
        .pf-action-pill:hover svg {
            transform: translateY(-3px);
        }

        /* 1. VOLVER : Retour en Crème Light */
        .pf-action-pill[href*="history.back"]:hover {
            color: var(--color-creme-light) !important;
        }
        .pf-action-pill[href*="history.back"]:hover svg {
            filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); 
        }

        /* 2. LIKE : Terracotta */
        .pf-action-pill.like-counter-live:hover {
            color: var(--color-terracotta) !important;
        }
        .pf-action-pill.like-counter-live:hover svg {
            filter: drop-shadow(0 0 8px rgba(226, 114, 91, 0.6)); 
        }

        /* 3. COMENTAR : Jaune Accent */
        .pf-action-pill.scroll-to-comments:hover,
        .pf-action-pill[href="#comments"]:hover {
            color: var(--color-accent-yellow) !important;
        }
        .pf-action-pill.scroll-to-comments:hover svg,
        .pf-action-pill[href="#comments"]:hover svg {
            filter: drop-shadow(0 0 8px rgba(242, 201, 76, 0.6)); 
        }

        /* 4. COMPARTIR : Vert Jade */
        .pf-share-btn:hover {
            color: #88D8B0 !important;
        }
        .pf-share-btn:hover svg {
            filter: drop-shadow(0 0 8px rgba(136, 216, 176, 0.6)); 
        }
    }
}

/* ==========================================================================
   2. COMMENTAIRES : MODE BLOG CLASSIQUE (INVERSÉ : CARTES CRÈME / TEXTE BLEU)
   ========================================================================== */

/* --- 1. STRUCTURE ET TITRE GLOBAL --- */
body:not(.pf-reco-minimal-body) #comments {
    margin-top: 60px !important; /* Espacement réduit */
    max-width: 750px; /* Un peu moins large pour un aspect plus compact */
    margin-left: auto; margin-right: auto; padding: 0 20px;
}

body:not(.pf-reco-minimal-body) .comments-title {
    margin-bottom: 25px !important; 
    font-family: var(--font-main); font-size: 20px; /* Réduit */
    font-weight: 900; color: var(--color-creme) !important; 
    text-transform: uppercase; text-align: center;
}

body:not(.pf-reco-minimal-body) .comment-list { list-style: none; padding: 0; margin: 0 0 50px 0; }
body:not(.pf-reco-minimal-body) .comment-list:empty { display: none !important; }

/* --- 2. LES CARTES DE COMMENTAIRES (PLUS COMPACTES) --- */
body:not(.pf-reco-minimal-body) .comment-body {
    position: relative;
    background: var(--color-creme) !important;
    border-radius: 16px !important; /* Arrondis un peu plus doux */
    padding: 25px 25px !important; /* Moins massif */
    margin-bottom: 20px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12); /* Ombre affinée */
}

/* Nettoyage : On ajoute la case à cocher (cookies-consent) pour la cacher */
body:not(.pf-reco-minimal-body) .avatar, 
body:not(.pf-reco-minimal-body) .says,
body:not(.pf-reco-minimal-body) .comment-notes,
body:not(.pf-reco-minimal-body) .logged-in-as,
body:not(.pf-reco-minimal-body) .comment-form-cookies-consent { 
    display: none !important; 
}

/* --- 3. TEXTES ET COULEURS (BLEU SUR CRÈME) --- */
body:not(.pf-reco-minimal-body) .comment-meta {
    display: flex !important; flex-direction: column !important;
    align-items: flex-start !important; gap: 2px !important;
    margin-bottom: 12px !important;
}

/* Nom de l'auteur */
body:not(.pf-reco-minimal-body) .comment-author .fn, 
body:not(.pf-reco-minimal-body) .comment-author .fn a {
    font-family: var(--font-main); font-weight: 900 !important; 
    font-size: 16px !important; /* Plus discret */
    text-transform: uppercase; color: var(--color-primary) !important;
    text-decoration: none !important; pointer-events: none !important;
}

/* Date */
body:not(.pf-reco-minimal-body) .comment-metadata a, 
body:not(.pf-reco-minimal-body) .comment-metadata time {
    color: var(--color-terracotta) !important; 
    font-size: 10px !important; font-weight: 800 !important;
    text-transform: uppercase; font-family: var(--font-main);
    text-decoration: none !important; pointer-events: none !important; cursor: default !important;
}

/* Traductions */
body:not(.pf-reco-minimal-body) .comment-list > li > .comment-body .fn::after { content: " comentó :"; }
body:not(.pf-reco-minimal-body) .children .comment-body .fn::after { content: " contestó :"; }
body:not(.pf-reco-minimal-body) .comment-body .fn::after {
    color: var(--color-primary) !important; opacity: 0.5 !important;
    font-size: 11px !important; font-weight: 600 !important;
    text-transform: none !important; margin-left: 6px !important;
}

/* 🌟 LE MESSAGE ET SES LIENS */
body:not(.pf-reco-minimal-body) .comment-content p {
    font-family: var(--font-main); font-size: 15px !important; line-height: 1.6 !important;
    color: var(--color-primary) !important; margin-bottom: 15px !important; font-weight: 500;
}

/* 🌟 LIENS DANS LE COMMENTAIRE (Même couleur, juste soulignés) */
body:not(.pf-reco-minimal-body) .comment-content p a {
    color: inherit !important; /* Prend la couleur du texte (bleu foncé) */
    text-decoration: underline !important;
    font-weight: 700 !important; /* Un poil plus gras pour le différencier */
    transition: opacity 0.3s ease;
}
@media (hover: hover) {
    body:not(.pf-reco-minimal-body) .comment-content p a:hover {  opacity: 0.7; }
}

/* --- 4. BOUTONS ACTIONS (SUR LA CARTE) --- */
body:not(.pf-reco-minimal-body) .reply { display: flex !important; justify-content: flex-end !important; margin-top: 5px !important; }

/* Bouton Contestar */
body:not(.pf-reco-minimal-body) .comment-reply-link {
    display: inline-block !important; padding: 6px 16px !important; font-size: 9px !important; 
    border-radius: 50px !important; border: 2px solid var(--color-primary) !important; 
    color: var(--color-primary) !important; font-family: var(--font-main); font-weight: 800 !important; 
    text-transform: uppercase !important; text-decoration: none !important; transition: all 0.3s ease !important;
}
@media (hover: hover) {
    body:not(.pf-reco-minimal-body) .comment-reply-link:hover {
    background: var(--color-primary) !important; color: var(--color-creme) !important;
    }
}

/* Bouton Eliminar */
body:not(.pf-reco-minimal-body) .reco-delete-comment {
    position: absolute !important; top: 20px !important; right: 20px !important; 
    color: var(--color-terracotta) !important; font-size: 9px !important;
    font-weight: 800 !important; text-transform: uppercase !important;
    opacity: 0.6; transition: all 0.3s ease; text-decoration: none !important;
}
@media (hover: hover) {
    body:not(.pf-reco-minimal-body) .reco-delete-comment:hover  { opacity: 1; transform: translateY(-2px); }
}

/* --- 5. FILS DE DISCUSSION (RÉPONSES) --- */
body:not(.pf-reco-minimal-body) .children {
    list-style: none; margin: 0 0 0 25px !important; padding: 0 !important;
    border-left: 2px solid rgba(255, 255, 255, 0.1) !important;
}
body:not(.pf-reco-minimal-body) .children .comment-body {
    margin-left: 15px !important; margin-top: 15px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important; 
}

/* --- 6. FORMULAIRES DE SAISIE (COMPACTS ET RESPIRANTS) --- */

/* Formulaire principal (En bas de page) */
body:not(.pf-reco-minimal-body) #respond {
    background: var(--color-creme) !important; 
    border-radius: 16px !important; /* Arrondis plus fins */
    padding: 30px 20px !important; /* 📉 Réduit : Moins massif */
    margin-top: 40px !important;
    margin-bottom: 50px !important; /* 🌟 FIX : Empêche de toucher en bas */
    max-width: 600px !important; /* 📉 Réduit la largeur pour un effet "carte" */
    margin-left: auto !important; 
    margin-right: auto !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important; 
    text-align: center !important; 
    position: relative !important;
}

/* Formulaire imbriqué (Quand on répond à un commentaire) */
body:not(.pf-reco-minimal-body) .comment-body #respond {
    background: rgba(0,0,0,0.03) !important; 
    padding: 15px 15px 20px !important; /* 📉 Très compact */
    margin-top: 15px !important; 
    margin-bottom: 5px !important; /* Évite de toucher le bas de la bulle */
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.04) !important;
    border-radius: 12px !important;
}

/* Titre Formulaire Principal */
body:not(.pf-reco-minimal-body) #reply-title {
    font-family: var(--font-main) !important; 
    font-size: 18px !important; /* 📉 Plus petit */
    font-weight: 900 !important; 
    color: var(--color-primary) !important; 
    text-transform: uppercase !important; 
    margin-bottom: 20px !important; 
    display: block !important;
}

/* Titre Formulaire Imbriqué (Géré par ton JS) */
body:not(.pf-reco-minimal-body) .comment-body #respond #reply-title {
    font-size: 13px !important; 
    margin-bottom: 15px !important;
    text-align: left !important; 
    padding-right: 60px !important; /* Place pour le bouton Cancelar */
}
/* Le nom de la personne (XXX) dans le titre */
body:not(.pf-reco-minimal-body) .comment-body #respond #reply-title a:first-of-type {
    color: var(--color-accent-yellow) !important; 
    text-decoration: none !important; 
    pointer-events: none !important;
}

/* Bouton Cancelar */
body:not(.pf-reco-minimal-body) #cancel-comment-reply-link {
    position: absolute !important; 
    top: 15px !important; 
    right: 15px !important;
    color: var(--color-terracotta) !important; 
    font-size: 9px !important; 
    font-weight: 800 !important;
    text-transform: uppercase !important; 
    text-decoration: none !important; 
    pointer-events: auto !important;
}

/* --- 7. CHAMPS DE SAISIE (PLUS FINS) --- */
body:not(.pf-reco-minimal-body) .comment-form input:not(.submit),
body:not(.pf-reco-minimal-body) .comment-form textarea {
    width: 100% !important; 
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important; 
    padding: 10px 14px !important; /* 📉 Hauteur de case réduite */
    border-radius: 8px !important; 
    color: var(--color-primary) !important; 
    font-size: 14px !important; /* 📉 Texte un peu plus petit */
    font-family: var(--font-main) !important; 
    box-sizing: border-box !important; 
    margin-bottom: 10px !important; /* 📉 Espaces réduits */
    transition: all 0.3s ease !important;
    -webkit-tap-highlight-color: transparent !important; 
    outline: none !important;
}

body:not(.pf-reco-minimal-body) .comment-form input:focus,
body:not(.pf-reco-minimal-body) .comment-form textarea:focus {
    border-color: var(--color-primary) !important; 
    box-shadow: none !important; 
    outline: none !important;
}

body:not(.pf-reco-minimal-body) .comment-form input::placeholder,
body:not(.pf-reco-minimal-body) .comment-form textarea::placeholder {
    color: var(--color-primary) !important; 
    opacity: 0.5 !important;
}

/* --- 8. BOUTON PUBLICAR (PROPORTIONNÉ) --- */
body:not(.pf-reco-minimal-body) #respond input[type="submit"].submit {
    -webkit-tap-highlight-color: transparent !important; 
    -webkit-appearance: none !important; 
    appearance: none !important;
    outline: none !important; 
    box-shadow: none !important; 
    background-image: none !important;
    
    display: inline-block !important; 
    min-width: 140px !important; /* 📉 Moins large */
    padding: 10px 25px !important; /* 📉 Moins haut */
    border-radius: 50px !important;
    
    background-color: var(--color-primary) !important; 
    border: 2px solid var(--color-primary) !important;
    color: var(--color-accent-yellow) !important; 
    
    font-family: var(--font-main) !important; 
    font-weight: 900 !important; 
    font-size: 10px !important; /* 📉 Police ajustée */
    text-transform: uppercase !important; 
    letter-spacing: 1px !important;
    cursor: pointer !important; 
    transition: all 0.3s ease !important; 
    margin-top: 5px !important;
}

/* 4. ÉTATS : SURVOL, FOCUS ET CLIC (POUR TOUT LE SITE SAUF PAGE MINIMALE) */
@media (hover: hover) {
    body:not(.pf-reco-minimal-body) #respond input[type="submit"].submit:hover,
    body:not(.pf-reco-minimal-body) #respond input[type="submit"].submit:focus,
    body:not(.pf-reco-minimal-body) #respond input[type="submit"].submit:active {
        /* On force le look "Signature" : Fond Jaune / Texte Bleu */
        background-color: var(--color-accent-yellow) !important; 
        background-image: none !important;
        border-color: var(--color-accent-yellow) !important; 
        color: var(--color-primary) !important;
        
        /* Nettoyage des styles par défaut du navigateur */
        box-shadow: none !important; 
        outline: none !important;
    }
}

body:not(.pf-reco-minimal-body) #respond input[type="submit"].submit:active { transform: scale(0.96) !important; }
body:not(.pf-reco-minimal-body) #respond input[type="submit"].submit:disabled { opacity: 0.5 !important; cursor: not-allowed !important; transform: none !important; }

/* =======================================================
   DESIGN PAGE ARCHIVE / CATÉGORIE - PREMIUM VERSION
   ======================================================= */

.pf-archive-page {
    background-color: var(--color-creme);
    min-height: 100vh;
}

.pf-archive-header {
    padding: 140px 24px 60px;
    background-color: var(--color-creme);
    text-align: center;
}

/* --- HIÉRARCHIE DES TITRES --- */
.pf-archive-intro {
    margin-bottom: 8px;
}

.pf-archive-kicker {
    color: var(--color-terracotta);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    display: block;
}

.pf-archive-title {
    font-family: var(--font-main);
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 30px 0 !important;
    letter-spacing: -1.5px;
    line-height: 1;
}

/* =======================================================
   BARRE DE NAVIGATION (VOLVER À GAUCHE / LOUPE À DROITE)
   ======================================================= */
.pf-archive-nav-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px;
    margin: 0 auto 40px auto !important; /* Espace sous la barre */
    position: relative;
    width: 100%;
}

.pf-nav-col-left { 
    display: flex !important; 
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1; 
}

.pf-nav-col-right { 
    display: flex !important; 
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1; 
}

/* =======================================================
   BOUTON VOLVER (FIX ALIGNEMENT FLÈCHE + TEXTE)
   ======================================================= */
.pf-archive-header .pf-btn-sm { 
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border: 1.5px solid var(--color-primary) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: none !important;
    
    /* Force l'alignement horizontal absolu */
    display: inline-flex !important;
    flex-flow: row nowrap !important; 
    align-items: center !important; 
    justify-content: center !important;
    gap: 8px !important; 
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Règle stricte pour forcer les enfants (SVG et Texte) à rester en ligne */
.pf-archive-header .pf-btn-sm * {
    display: block !important;
    margin: 0 !important;
}

/* 1. Survol du Bouton (On empêche le bouton de se soulever) */
@media (hover: hover) {
    .pf-archive-header .pf-btn-sm:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-accent-yellow) !important;
    border-color: var(--color-primary) !important;
    transform: none !important; /* 🛑 Bloque tout mouvement vertical ou horizontal */
    }
}

.pf-archive-header .pf-btn-sm svg {
    width: 14px !important;
    height: 14px !important;
    stroke: var(--color-primary);
    transition: stroke 0.3s ease;
    fill: none;
    flex-shrink: 0 !important; 
}

/* 2. Survol de la Flèche (On empêche l'icône de bouger toute seule) */
@media (hover: hover) {
    .pf-archive-header .pf-btn-sm:hover svg  {
    stroke: var(--color-accent-yellow) !important;
    transform: none !important; /* 🛑 Fixe la flèche définitivement */
    }
}


/* =======================================================
   RECHERCHE "TIROIR" (LOUPE)
   ======================================================= */
.pf-archive-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* L'input qui se déploie (Bleu uni) */
.pf-archive-search-input {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    visibility: hidden;
    background: var(--color-primary); 
    border: none;
    border-radius: 50px;
    height: 44px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    outline: none;
    color: var(--color-creme); 
    padding: 0;
    font-family: var(--font-main);
    z-index: 1;
}

/* État ouvert */
.pf-archive-search-container.is-open .pf-archive-search-input {
    width: 280px;
    opacity: 1;
    visibility: visible;
    padding: 0 55px 0 20px;
}

/* LE BOUTON LOUPE */
.pf-archive-search-trigger {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    background: var(--color-primary) !important; 
    border: none !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    box-shadow: none !important;
}

@media (hover: hover) {
    .pf-archive-search-trigger:hover  {
    transform: scale(1.1);
    }
}

.pf-archive-search-trigger svg {
    width: 18px;
    height: 18px;
    stroke-width: 3.5; 
    stroke: var(--color-accent-yellow) !important; 
    fill: none;
    margin: 0 !important;
}

.pf-archive-search-trigger .icon-close {
    stroke: var(--color-accent-yellow) !important;
}

.pf-archive-search-input::placeholder {
    color: var(--color-creme);
    opacity: 0.6;
}

/* --- SUPPRESSION DE LA CROIX NATIVE DU NAVIGATEUR --- */
.pf-archive-search-input::-webkit-search-decoration,
.pf-archive-search-input::-webkit-search-cancel-button,
.pf-archive-search-input::-webkit-search-results-button,
.pf-archive-search-input::-webkit-search-results-decoration {
    display: none; 
    -webkit-appearance: none;
}
.pf-archive-search-input {
    -webkit-appearance: none;
    appearance: none;
}

/* =======================================================
   DÉCORATION ET MAIN
   ======================================================= */
.pf-archive-line {
    width: 60px;
    height: 4px;
    background: var(--color-accent-yellow);
    margin: 0 auto;
    border-radius: 10px;
}

.pf-archive-main {
    padding-bottom: 80px;
}

.pf-search-loading {
    text-align: center;
    padding: 100px 20px;
    color: var(--color-terracotta);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ================================================= 
   SECTION CULTURE (DESIGN FINAL + TEXTURE VINYLE)
   ================================================== */

.pf-culture-section {
    padding: 70px 24px;
    background-color: var(--bg-main);
    color: var(--color-creme);
}

.pf-culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px; margin: 0 auto;
}

/* --- CARTE BASE --- */
.pf-culture-card {
    background-color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 20px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; overflow: hidden;
    transition: transform 0.3s ease;
}
@media (hover: hover) {
    .pf-culture-card:hover  {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.15);
    }
}

/* BADGES */
.card-header-badge { width: 100%; display: flex; justify-content: flex-start; margin-bottom: 25px; }

/* --- 1. MUSIQUE (AVEC FIX ALIGNEMENT) --- */
.vinyl-wrapper {
    width: 160px; height: 160px;
    position: relative; margin-bottom: 20px;
    border-radius: 50%; background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: spin 6s linear infinite; animation-play-state: paused;
    
    /* FIX : On force le centrage de tout ce qui est à l'intérieur */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Garantit que rien ne dépasse du cercle */
}

/* On s'assure que le conteneur de l'image prend toute la place */
.vinyl-disc {
    position: absolute;
    inset: 0; /* Prend 100% de la largeur et hauteur */
    border-radius: 50%;
}

.vinyl-disc img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    border-radius: 50%; 
    opacity: 0.9; 
    display: block; /* Supprime l'espace fantôme sous l'image */
}

/* --- TEXTURE SILLONS --- */
.vinyl-wrapper::after {
    content: '';
    position: absolute;
    inset: 0; /* Remplace top/left/etc pour plus de précision */
    border-radius: 50%;
    background: repeating-radial-gradient(
        #000 0, 
        #000 1px, 
        transparent 2px, 
        transparent 4px
    );
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
}

.center-hole {
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translate(-50%,-50%);
    width: 30px; height: 30px; 
    background: var(--bg-card); 
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1); 
    z-index: 10;
}

/* ACTIONS CONTAINER */
.player-actions {
    margin-top: 25px;
    display: flex; align-items: center; justify-content: center; gap: 20px;
    width: 100%;
}


/* BOUTON PLAY/PAUSE (Version Gourmande) */
.btn-play-soft {
    background: transparent; border: none; padding: 0;
    color: var(--color-creme);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s;
    outline: none;
}
@media (hover: hover) {
    .btn-play-soft:hover {  transform: scale(1.1); color: #fff; }
}

.btn-play-soft svg { 
    /* Taille augmentée pour l'effet rond/gourmand */
    width: 54px; height: 54px; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); /* Légère ombre portée */
}
.icon-pause { display: none; }
.music-card.is-playing .icon-play { display: none; }
.music-card.is-playing .icon-pause { display: block; }

/* --- COMMANDE DE L'ANIMATION --- */
/* Quand le parent a la classe .is-playing, on passe l'animation en 'running' */
.music-card.is-playing .vinyl-wrapper {
    animation-play-state: running;
}

/* --- DÉFINITION DU MOUVEMENT --- */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* BOUTON SPOTIFY (Style Gélule Copié) */
.btn-spotify-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Gap légèrement réduit pour l'harmonie */
    
    padding: 10px 24px; /* Un peu plus haut que le bouton retour pour l'alignement */
    border-radius: 50px;
    
    background-color: rgba(13, 29, 37, 0.4);
    border: 1px solid var(--color-accent-yellow);
    color: var(--color-accent-yellow);
    
    font-family: var(--font-main);
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none;
    
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    height: 44px; /* Hauteur fixe pour alignement avec le play */
    box-sizing: border-box;
}

/* Hover : Remplissage Jaune */
@media (hover: hover) {
    .btn-spotify-pill:hover {
    background-color: var(--color-accent-yellow);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 201, 76, 0.3);
    }
}

/* --- 2. VOCABULAIRE (SIMPLE & EFFICACE) --- */
.vocab-content {
    width: 100%; flex-grow: 1;
    display: flex; flex-direction: column; justify-content: center;
}

.vocab-row { 
    display: flex; flex-direction: column; align-items: center; gap: 5px; 
}

.flag-emoji { font-size: 20px; opacity: 0.8; margin-bottom: 2px; }

.word-gt { 
    font-size: 26px; 
    color: var(--color-accent-yellow); 
    margin: 0; line-height: 1.1; 
}

.word-fr { 
    font-size: 26px; 
    color: var(--color-terracotta); 
    margin: 0; line-height: 1.1; 
}

/* --- AJOUT : PRONONCIATION --- */
.word-pronunciation {
    font-size: 14px; /* Plus petit que le mot */
    color: var(--color-creme-dim); /* Couleur discrète (comme le contexte) */
    font-style: italic;
    margin-top: 2px; /* Collé au mot français */
    font-weight: 400;
}

.vocab-gap { height: 25px; }

.vocab-context {
    margin-top: 50px; font-size: 13px;
    color: rgba(255,255,255,0.4); font-style: italic;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px; width: 100%;
}

/* ================================================= 
   SECTION SWEATER SHOP (FINAL PRO STUDIO)
   ================================================== */

/* 1. LAYOUT GÉNÉRAL */
.pf-compact-shop {
    background-color: var(--bg-main);
    color: var(--color-creme);
    padding: 80px 0 100px;
    position: relative;
    z-index: 2;
}

/* Conteneur "Boxed" */
.pf-container-boxed {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* GRILLE PRINCIPALE */
.compact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 70px;
    align-items: start; 
}

/* --------------------------------------------------
   2. COLONNE GAUCHE : VISUAL STUDIO (CORRIGÉ)
-------------------------------------------------- */
.visual-column {
    display: flex; flex-direction: column; gap: 20px;
    position: relative;
}

.compact-stage {
    position: relative;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, var(--color-primary) 90%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    height: 500px; 
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; 
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
    z-index: 1;
}

#stageImage {
    height: 85%; width: auto; max-width: 85%; 
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.5)); 
    z-index: 2;
}

#stageImage.is-full-cover {
    width: 100%; height: 100%; max-width: 100%;
    object-fit: cover; filter: none; transform: none !important;
}

/* NAVIGATION OVERLAY */
.stage-nav-wrapper {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 500px;
    z-index: 10;
    pointer-events: none;
}

.stage-nav {
    position: relative; width: 100%; height: 100%;
}

/* --- STYLE GÉNÉRAL DES BOUTONS --- */
.stage-nav button { 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 46px; height: 46px;
    border-radius: 50%;
    
    background: var(--color-accent-yellow);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    
    /* On force une font-family standard pour que le caractère soit stable */
    font-family: Arial, sans-serif; 
    font-size: 24px; 
    font-weight: bold;
    line-height: 1; /* Très important pour éviter les espaces fantômes */
    
    cursor: pointer; 
    pointer-events: auto;
    
    display: flex; 
    align-items: center; 
    justify-content: center;
    
    transition: transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- CALAGE OPTIQUE (Ajustements manuels) --- */

/* Bouton GAUCHE ❮ */
.stage-nav button:nth-of-type(1) {
    left: 15px;
    /* On pousse un peu vers la droite et le bas pour compenser le dessin du caractère */
    padding-right: 9px; 
    padding-bottom: 2px; 
}

/* Bouton DROITE ❯ */
.stage-nav button:nth-of-type(2) {
    right: 15px;
    /* On pousse un peu vers la gauche et le bas */
    padding-left: 9px; 
    padding-bottom: 2px; 
}

/* ZOOM AU SURVOL */
@media (hover: hover) {
    .stage-nav button:hover  { 
    transform: translateY(-50%) scale(1.15);
    }
}


/* --- LE BADGE (PLUS BAS) --- */
.stage-nav span { 
    position: absolute;
    bottom: 15px; 
    left: 50%; transform: translateX(-50%);
    
    font-size: 11px; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; 
    
    background: var(--color-accent-yellow);
    color: var(--color-primary);
    
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: auto;
}

/* ================================================= 
   MODE NAVY (CONTRASTE INVERSÉ)
   ================================================== */
.pf-compact-shop.mode-navy .compact-stage {
    background: radial-gradient(circle, #F9F4E8 0%, #E5DCC8 100%);
}

.pf-compact-shop.mode-navy .stage-nav button {
    background: var(--color-primary);
    color: var(--color-accent-yellow);
    border: 2px solid var(--color-creme-dim);
}

.pf-compact-shop.mode-navy .stage-nav span {
    background: var(--color-primary);
    color: var(--color-accent-yellow);
}

/* MINIATURES */
.compact-thumbs { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.c-thumb { width: 55px; height: 55px; border-radius: 10px; opacity: 0.5; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
.c-thumb.active { opacity: 1; border-color: var(--color-accent-yellow); transform: translateY(-3px); }
.c-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ================================================= 
   3. COLONNE DROITE : ACTION
   ================================================== */

.action-column {
    position: sticky; 
    top: 100px;
    z-index: 10;
}

.action-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden; 
    backdrop-filter: blur(10px);
    min-height: 520px;
    display: flex; flex-direction: column;
}

/* EN-TÊTE */
.card-head { padding: 30px 30px 10px; }
.head-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.model-name { font-family: var(--font-main); font-size: 30px; margin: 0; color: #fff; line-height: 1; }
.model-price { font-size: 22px; font-weight: 800; color: var(--color-accent-yellow); }
.specs-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.s-badge { font-size: 10px; padding: 6px 10px; border-radius: 6px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }


/* STATUS & TIMER */
.campaign-status {
    background: transparent;
    padding: 10px 30px 20px;
    display: flex; flex-direction: column; gap: 12px;
}

.status-header { 
    display: flex; justify-content: space-between; align-items: flex-end;
    font-size: 11px; color: rgba(255,255,255,0.8); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 10px; margin-bottom: 5px;
}
.status-header strong { color: var(--color-accent-yellow); font-weight: 700; }

.cs-timer-row { 
    display: flex; justify-content: center; align-items: center;
    gap: 10px; font-family: var(--font-main); 
}
.label-quedan { 
    font-size: 12px; font-weight: 700; text-transform: uppercase; 
    color: var(--color-creme); line-height: 1; padding-top: 2px;
}
.timer-digits { 
    font-size: 15px; font-weight: 400; color: var(--color-creme); 
    font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; line-height: 1;
}
.timer-digits span { font-weight: 700; color: var(--color-creme); }

.cs-bar-container { width: 100%; }
.cs-bar-bg { height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; }
.cs-bar-fill { height: 100%; background: var(--color-terracotta); border-radius: 5px; min-width: 5px; transition: width 1s ease; }

.cs-stats-row { display: flex; justify-content: center; font-size: 13px; color: var(--color-terracotta); }

.cs-guarantee { 
    margin-top: 5px; padding: 10px; 
    border: 1px solid rgba(242, 201, 76, 0.3); border-radius: 8px;
    background: rgba(242, 201, 76, 0.05); text-align: center;
}
.cs-guarantee p { font-size: 11px; margin: 0; color: rgba(255,255,255,0.9); }
.cs-guarantee strong { color: var(--color-accent-yellow); }


/* --- FORMULAIRE & ACTIONS --- */

/* Wrapper principal (CORRIGÉ POUR ÉVITER DÉBORDEMENT) */
.compact-options-wrapper { 
    padding: 10px 30px 30px;
    width: 100%;
    box-sizing: border-box; /* IMPORTANT : Empêche le contenu de dépasser */
}

.row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.f-label { display: block; font-size: 10px; text-transform: uppercase; font-weight: 700; opacity: 1; margin-bottom: 8px; }
.f-label a { color: var(--color-accent-yellow); cursor: pointer; text-decoration: underline; }

/* BOUTONS RADIO (COULEURS & TAILLES) */
.pill-switch { display: flex; background: rgba(0,0,0,0.2); padding: 3px; border-radius: 8px; }
.p-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 6px; cursor: pointer; font-size: 13px; transition: 0.2s; }
.p-btn input { display: none; }
.p-btn.active { background: rgba(255,255,255,0.1); color: #fff; font-weight: 700; }

/* PASTILLES DE COULEUR (CORRIGÉES) */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.d-creme { 
    background: #F5F5DC; 
    /* Petite ombre pour le relief */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.d-navy { 
    background: #1A2B4C; 
    /* SOLUTION : Bordure blanche semi-transparente pour le détourer du fond noir */
    border: 1px solid rgba(255,255,255,0.6); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* TAILLES */
.size-row { display: flex; gap: 5px; }
.size-row label { flex: 1; cursor: pointer; }
.size-row input { display: none; }
.size-row span { display: flex; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; font-size: 13px; font-weight: 700; transition: 0.2s; }
.size-row input:checked + span { background: var(--color-creme); color: var(--bg-main); border-color: var(--color-creme); }

/* ==========================================================================
   SECTION STICKERS (RETOUR AU DESIGN D'ORIGINE)
   ========================================================================== */

/* 1. LE CONTENEUR (La boîte jaune) */
.mini-bonus { 
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.12), rgba(242, 201, 76, 0.02)); 
    border: 1px solid rgba(242, 201, 76, 0.2); 
    border-radius: 16px; 
    padding: 15px 25px; 
    margin: 20px 0; 
    
    display: flex; /* Aligne le texte et les images sur la même ligne */
    justify-content: space-between; 
    align-items: center;
    
    overflow: visible; /* Important pour que l'explosion ne soit pas coupée */
    position: relative; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 2. LE TEXTE (À gauche) */
.bonus-txt { 
    text-align: left; 
    flex: 1; /* Prend l'espace disponible à gauche */
}

.bonus-txt strong { 
    color: var(--color-accent-yellow); 
    display: block; 
    font-size: 15px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.bonus-txt span { 
    font-size: 13px; 
    opacity: 0.8; 
    display: block; 
    color: var(--color-creme);
}

/* 3. LE BLOC IMAGES (À droite) */
.bonus-imgs { 
    position: relative; 
    width: 75px;  /* Taille fixe pour contenir les images */
    height: 50px; 
    flex-shrink: 0; /* Empêche le bloc de s'écraser */
}

/* Les petites images (Stickers) */
.s-img { 
    width: 60px; 
    position: absolute; 
    top: -10%;           /* On place le haut à 50% */
    transform: translateY(-10%); /* On remonte de la moitié de sa propre hauteur */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); 
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.s-yellow { left: 0; transform: rotate(-10deg); z-index: 1; }
.s-blue { right: 0; transform: rotate(10deg); z-index: 2; }

/* 4. LES EFFETS AU SURVOL (Souris uniquement) */
@media (hover: hover) {
    .mini-bonus:hover { 
        border-color: rgba(242, 201, 76, 0.5); 
        transform: translateY(-2px);
    }

    .mini-bonus:hover .s-yellow { 
        transform: rotate(-25deg) translateX(-15px) translateY(-15px) scale(1.4); 
        z-index: 10; 
    }

    .mini-bonus:hover .s-blue { 
        transform: rotate(25deg) translateX(15px) translateY(-15px) scale(1.4); 
        z-index: 11; 
    }
}

/* --- CTA (BOUTON DE RÉSERVATION - CORRIGÉ) --- */
.compact-cta { 
    /* Structure Box-Sizing pour éviter les coupures */
    box-sizing: border-box; 
    width: 100%; 
    max-width: 100%;
    
    display: flex; 
    align-items: center; 
    justify-content: center; 
    
    padding: 18px 20px; 
    margin-bottom: 20px;
    
    /* Design */
    background: var(--color-accent-yellow); 
    color: var(--bg-main) !important; 
    border: none; 
    border-radius: 12px; 
    font-family: var(--font-main); 
    font-weight: 800; 
    font-size: 15px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-decoration: none !important;
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .compact-cta:hover   {
    transform: translateY(-3px); 
    background: #FFD54F; 
    box-shadow: 0 10px 25px rgba(242, 201, 76, 0.3); 
    color: var(--bg-main) !important;
    }
}

.compact-cta:active { transform: translateY(-1px); }

/* FOOTER */
.trust-footer { 
    display: flex; flex-direction: row; justify-content: center; 
    gap: 25px; opacity: 0.7; margin-top: 5px; 
}
.trust-footer span { 
    font-size: 10px; font-weight: 600; display: flex; 
    align-items: center; gap: 6px; white-space: nowrap; 
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ================================================= 
   SECTION DÉTAILS (ACCORDÉON)
   ================================================== */

.pf-details-section {
    background-color: var(--bg-main);
    color: var(--color-creme);
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.details-wrapper {
    max-width: 800px; /* Plus étroit pour la lisibilité */
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* L'ÉLÉMENT (Item) */
.detail-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

/* LE BOUTON (Header) */
.detail-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 0;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .detail-trigger:hover .d-title  {
    color: var(--color-accent-yellow);
    }
}

.d-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.d-icon {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* LE CONTENU (Caché par défaut) */
.detail-content {
    max-height: 0; /* Caché */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.d-inner {
    padding-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.d-inner p { margin-bottom: 15px; }
.d-inner strong { color: var(--color-creme); font-weight: 600; }

.d-list { list-style: none; padding: 0; margin: 0; }
.d-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.d-list li::before {
    content: '•';
    color: var(--color-accent-yellow);
    position: absolute; left: 0; top: 0;
}

/* --- ÉTAT ACTIF (OUVERT) --- */
.detail-item.active .detail-trigger .d-title {
    color: var(--color-accent-yellow);
}

.detail-item.active .d-icon {
    transform: rotate(45deg); /* Le + devient un x */
    color: var(--color-accent-yellow);
}

.detail-item.active .detail-content {
    max-height: 500px; /* Suffisant pour tout afficher */
}

/* ================================================= 
   FOOTER - VERSION DESKTOP (LOGO & BOUTONS SOCIAUX)
   ================================================== */

.pf-main-footer {
    background-color: var(--bg-main);
    color: var(--color-creme);
    padding: 60px 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 10;
}

.pf-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.pf-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 0.8fr 0.8fr; 
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

/* --- 1. BRAND & LOGO --- */
.pf-footer-col.brand {
    text-align: center; /* Centre le texte et le logo dans la colonne */
}

.pf-footer-logo {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--color-accent-yellow);
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.pf-footer-brand-logo {
    display: block;
    height: 55px;
    width: auto;
    margin: 20px auto 0 auto; /* Centrage horizontal parfait */
    opacity: 1; /* Suppression de l'opacité réduite */
}

.pf-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--color-creme-dim);
}

/* --- 2. TITRES (JAUNE) --- */
.pf-footer-col h4 {
    color: var(--color-accent-yellow);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px; 
    margin-bottom: 25px;
    font-weight: 700;
}

/* --- 3. CONTACT & NAV --- */
.pf-footer-mail,
.pf-footer-col nav a {
    display: inline-block;
    color: var(--color-creme);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.pf-footer-col nav a {
    display: table;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Soulignement jaune */
.pf-footer-mail::after,
.pf-footer-col nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-accent-yellow);
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .pf-footer-mail:hover::after,
    .pf-footer-col nav a:hover::after {
        width: 100%; 
    }
}

/* --- 4. SOCIAL (BOUTONS CENTRÉS COMME MOBILE) --- */
.pf-footer-col.social {
    text-align: center; /* Centre le titre Comunidad et les boutons */
}

.pf-social-grid {
    display: flex;
    gap: 15px;
    justify-content: center; /* Centre les boutons horizontalement */
    align-items: center;
}

.pf-social-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-creme);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.pf-social-grid a svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5px;
}

/* Effet de survol premium sur les boutons */
@media (hover: hover) {
    .pf-social-grid a:hover {
    background: var(--color-accent-yellow);
    color: var(--bg-main);
    transform: translateY(-3px);
    border-color: var(--color-accent-yellow);
    }
}

/* --- 5. BOTTOM BAR --- */
.pf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 11px;
    color: var(--color-terracotta); 
    font-weight: 500;
}

/* ==========================================================================
   SECTION RESPONSIVE UNIFIÉE (TOUT EN BAS DU FICHIER)
   ========================================================================== */

   @media (max-width: 768px) {

    /* --- 1. NAVBAR & BURGER --- */
    .pf-navbar { width: 92%; padding: 12px 16px; top: 15px; }
    
    /* 🌟 FIX MOBILE : Force la disparition de la navbar au scroll */
    .pf-navbar.hide { 
        transform: translate(-50%, -150%) !important; 
        opacity: 0 !important; 
        pointer-events: none !important; 
    }
    .pf-navbar .burger { display: flex; z-index: 1000; }
    .pf-navbar .burger div { transition: all 0.3s ease; }
    .burger.active div:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger.active div:nth-child(2) { opacity: 0; }
    .burger.active div:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .pf-navbar nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(13, 29, 37, 0.98); backdrop-filter: blur(15px);
        flex-direction: column; padding: 0; gap: 20px;
        border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0; opacity: 0; overflow: hidden; margin-top: 10px;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    .pf-navbar nav.open {
        max-height: 400px; opacity: 1; padding: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }

    /* --- 2. HERO SECTION --- */
    .pf-intro-badge { font-size: 10px; padding: 6px 12px; margin-bottom: 20px; }
    .pf-title { font-size: clamp(32px, 9vw, 42px); margin-bottom: 12px; line-height: 1.05; }
    .pf-sub { font-size: 15px; padding: 0 10px; color: rgba(250, 246, 235, 0.9); }

    /* --- 3. SECTION PANORAMA --- */
    .pf-panorama-section { padding: 50px 0; overflow: hidden; }
    .pf-panorama-header {
        flex-direction: column; align-items: flex-start;
        padding: 0 16px; gap: 8px; margin-bottom: 20px;
    }
    .pf-panorama-header h2 { font-size: 26px; }
    .pf-panorama-header .line { width: 100%; }

    .pf-panorama-grid {
        display: flex; flex-direction: row; flex-wrap: nowrap;
        gap: 16px; height: 380px; 
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        padding: 0 16px; scroll-padding-left: 16px; scrollbar-width: none;
    }
    .pf-panorama-grid::-webkit-scrollbar { display: none; }
    .pf-panorama-grid::after { content: ''; flex: 0 0 1px; }

    .pf-pano-card, .card-wide, .card-std {
        flex: 0 0 85vw; scroll-snap-align: start; border-radius: 16px;
    }

/* --- SECTION À PROPOS (Photo devant l'encadré) --- */
.pf-about-section {
    padding: 40px 20px 60px; /* Espaces resserrés */
}

.pf-about-grid {
    grid-template-columns: 1fr;
    gap: 0; /* On colle les éléments pour gérer la superposition */
}

.pf-portrait-frame {
    max-width: 80%; /* Taille ajustée pour le mobile */
    margin: 0 auto;
    transform: rotate(-2.5deg); /* Inclinaison stylée */
    border-width: 6px; 
    border-radius: 12px;
    position: relative;
    
    /* MAGIE : On passe devant */
    z-index: 10; 
    
    /* Ombre plus profonde pour marquer la superposition */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); 
}

.pf-about-content {
    background: var(--color-creme-light);
    /* Augmente la première valeur (le haut) pour créer l'espace voulu */
    padding: 85px 24px 35px; 
    
    border-radius: 20px;
    margin-top: -50px; /* Garde la remontée pour la superposition */
    position: relative;
    z-index: 5;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 29, 37, 0.06);
}

.pf-about-kicker { 
    font-size: 11px; 
    margin-bottom: 8px; 
    display: block;
    color: var(--color-terracotta); /* Rappel de la couleur premium */
    font-weight: 700;
}

.pf-about-content h2 { 
    font-size: 26px; 
    margin-bottom: 15px; 
    color: var(--bg-main); /* On utilise le bleu foncé pour le contraste sur fond blanc */
}

.pf-lead {
    font-size: 15px !important;
    text-align: center !important; 
    line-height: 1.6;
    color: rgba(26, 58, 74, 0.85) !important;
    margin-bottom: 20px;
}

.pf-about-signature { 
    margin-top: 15px; 
    text-align: center; 
}

.pf-about-signature img { 
    height: 90px; /* Signature plus fine */
    width: auto;
}

        /* --- 5. FOOTER RESPONSIVE (Final & Minimaliste) --- */
    .pf-main-footer { 
        padding: 40px 20px 20px; 
        border-top-left-radius: 20px; 
        border-top-right-radius: 20px;
        background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
        border-top: none;
    }

    .pf-footer-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .pf-footer-logo { font-size: 18px; margin-bottom: 5px; }

    /* Style du Logo de marque sous le texte */
    .pf-footer-brand-logo {
        height: 45px;
        width: auto;
        margin: 15px auto 0; /* Centre le logo sous le texte */
        display: block;
        opacity: 0.9;
    }

    /* Titres Jaunes */
    .pf-footer-col h4 { 
        color: var(--color-accent-yellow) !important;
        opacity: 1 !important;
        font-size: 10px;
        margin-bottom: 15px; 
    }

    /* Navigation */
    .pf-footer-col.links nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    .pf-footer-col.links nav a { margin: 0; font-size: 14px; }

    /* Réseaux Sociaux (Boutons tactiles minimalistes) */
    .pf-social-grid {
        justify-content: center;
        gap: 20px;
        display: flex;
    }

    .pf-social-grid a {
        width: 48px; /* Zone de clic optimale */
        height: 48px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-creme);
    }

    .pf-social-grid a svg {
        width: 20px;
        height: 20px;
        stroke-width: 1.5px; /* On garde le trait fin minimaliste */
    }

    .pf-footer-mail { font-size: 19px; font-weight: 600; }
    .pf-footer-bottom { 
        margin-top: 20px; 
        padding-top: 20px; 
        border-top: 1px solid rgba(255, 255, 255, 0.05); 
    }
    
    /* ==========================================================================
       PAGE GUATEMALA & FRANCIA - RESPONSIVE MOBILE (PREMIUM V3.1 - FINAL)
       ========================================================================== */

    /* --- 1. HERO SIMPLE (Raccourci) --- */
    .pf-hero-simple { height: 50vh !important; min-height: 350px !important; }
    .pf-hero-simple-content { margin-top: 40px; }
    .pf-hero-simple-content h1 { font-size: clamp(42px, 12vw, 54px); margin: 5px 0 10px 0; }
    .pf-hero-simple-content p { font-size: 16px; }

/* --- 2. SECTION RECOMMANDATIONS --- */
    .pf-reco-section { padding: 40px 0 50px 0; }
    .pf-reco-header { margin-bottom: 20px; padding: 0 20px; }
    .pf-reco-title { font-size: 24px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .pf-reco-title::after { display: none !important; } 
    .pf-reco-subtitle { font-size: 14px; margin-top: 5px; }

    /* Carrousel (Centrage parfait) */
    .pf-reco-grid {
        display: flex; flex-direction: row; flex-wrap: nowrap; gap: 16px;
        
        /* MAGIE ICI : 10vw (10% de l'écran) de chaque côté pour centrer la carte de 80vw */
        padding: 0 10vw 20px 10vw; 
        
        overflow-x: auto; scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; 
        
        /* On adapte la zone de scroll */
        scroll-padding: 0 10vw; 
        scrollbar-width: none;
        align-items: stretch; 
    }
    .pf-reco-grid::-webkit-scrollbar { display: none; }
    .pf-reco-grid::after { display: none; } /* Plus besoin de l'espace artificiel de fin */

    .pf-reco-card { 
        flex: 0 0 80vw; 
        scroll-snap-align: center; /* LA CARTE S'AIMANTE PIL POIL AU CENTRE */
        height: auto; 
    }
    .reco-image-wrap { height: 160px; } 
    .reco-content { padding: 16px; }
    .reco-content h3 { font-size: 18px; }
    .pf-text-link-yellow { margin-top: 20px; }

        /* --- 3. SECTION BLOG TABS (Titre + Recherche parfaitement alignés) --- */
    .pf-blog-tabs-section { padding: 50px 20px; }
    .pf-tabs-header { margin-bottom: 25px; min-height: auto; }

    /* Le conteneur Flexbox qui aligne les deux */
    .pf-title-search-wrapper {
        display: flex;
        align-items: center; /* L'alignement vertical strict est ici */
        justify-content: center; 
        gap: 12px;
        margin-bottom: 20px;
        width: 100%;
    }

    /* Le Titre (Zéro marge, ligne écrasée) */
    .pf-tabs-title { 
        font-size: 24px !important; 
        margin: 0 !important; 
        padding: 0 !important;
        line-height: 1 !important; /* SUPPRIME L'ESPACE INVISIBLE HAUT/BAS */
        display: block;
    }

    /* Conteneurs de la loupe */
    .pf-expand-search {
        position: relative !important; top: 0 !important; width: auto !important; 
        margin: 0 !important; padding: 0 !important;
        display: flex; align-items: center; /* Force centrage vertical de l'enfant */
    }
    
    .search-form { 
        width: auto !important; margin: 0 !important;
        display: flex; align-items: center; justify-content: center;
    }
    
    .pf-search-icon {
        width: 34px !important; height: 34px !important;
        box-shadow: 0 2px 8px rgba(13, 29, 37, 0.1) !important;
        margin: 0 !important; 
    }
    .pf-search-icon svg { width: 15px; height: 15px; }

    /* --- ONGLETS GLISSANTS DU BLOG (Centrage Parfait - Structure identique aux Recos) --- */
    .pf-tabs-nav {
        display: flex !important; 
        width: 100vw !important; /* 🌟 Force le plein écran absolu */
        box-sizing: border-box !important; 
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory !important; 
        -webkit-overflow-scrolling: touch !important; 
        scrollbar-width: none !important; 
        
        /* Destruction de la barre globale */
        background: transparent !important; 
        border: none !important;
        box-shadow: none !important;
        
        /* 🌟 LE SECRET DU CENTRAGE : Exactement comme tes Recos ! */
        padding: 5px 0 !important; 
        margin: 0 !important; 
        gap: 0 !important;
        position: relative !important; 
        left: 50% !important; 
        transform: translateX(-50%) !important;
    }
    .pf-tabs-nav::-webkit-scrollbar { display: none !important; }

    /* L'espace invisible qui donne la place de scroller jusqu'au bout */
    .pf-tabs-nav::before, 
    .pf-tabs-nav::after {
        content: '' !important; 
        flex: 0 0 calc(50vw - 70px) !important; 
    }

    .pf-tab-btn { 
        flex: 0 0 auto !important; 
        scroll-snap-align: center !important; 
        font-size: 13px !important; 
        padding: 10px 20px !important; 
        
        background-color: rgba(0, 0, 0, 0.05) !important; 
        color: #666 !important;
        border-radius: 40px !important; 
        border: none !important;
        margin: 0 6px !important; 
        
        transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease !important;
    }

    .pf-tab-btn.active {
        background-color: var(--color-primary) !important; 
        color: var(--color-accent-yellow) !important; 
        box-shadow: none !important; 
    }

    /* --- 4. CARTES ARTICLES DU BLOG (Dimensions diminuées) --- */
    .pf-archive-grid, #ajax-search-results .pf-archive-grid {
        grid-template-columns: 1fr; gap: 20px; margin-top: 10px;
    }

    .pf-post-thumb { height: 170px; } 
    .pf-post-content { padding: 14px; } 
    .pf-post-content h3 { font-size: 18px; margin-bottom: 8px; } 
    .pf-post-excerpt { font-size: 12px; margin-bottom: 10px; } 
    
    .pf-card-footer { padding-top: 12px; margin-top: 10px; }
    .pf-card-stats { gap: 12px; }
    .stat-mini { font-size: 13px; }

    /* --- 5. RECHERCHE ACTIVE (Plein écran) --- */
    .pf-blog-tabs-section.search-open .pf-tabs-title { display: none !important; }
    .pf-blog-tabs-section.search-open .pf-title-search-wrapper { display: block; }
    .pf-blog-tabs-section.search-open .pf-expand-search { width: 100% !important; margin: 0 auto !important; }
    .pf-blog-tabs-section.search-open .search-form { width: 100% !important; margin: 0 !important; } 
    .pf-blog-tabs-section.search-open .pf-search-input { font-size: 15px !important; height: 44px !important; padding: 0 50px 0 20px !important; width: 100% !important; }
    .pf-blog-tabs-section.search-open .pf-search-icon { height: 44px !important; width: 44px !important; }
    .pf-pagination-wrapper { margin-top: 30px; padding-top: 20px; }

/* ==========================================================================
   PAGE ARCHIVE / CATÉGORIE - RESPONSIVE MOBILE PREMIUM
   ========================================================================== */

    /* --- 1. EN-TÊTE ET ESPACEMENTS --- */
    .pf-archive-header {
        /* On réduit le gros espace du haut, mais on laisse la place pour l'encoche (Notch) */
        padding: 100px 20px 40px; 
    }

    .pf-archive-intro {
        margin-bottom: 5px;
    }

    .pf-archive-kicker {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .pf-archive-title {
        /* On ajuste le Clamp pour que les mots longs ne cassent pas l'écran */
        font-size: clamp(30px, 10vw, 42px); 
        margin-bottom: 25px !important;
    }

    /* Ligne décorative ajustée */
    .pf-archive-line {
        width: 40px;
        height: 3px;
    }

    /* --- 2. BARRE DE NAVIGATION (VOLVER + RECHERCHE) --- */
    .pf-archive-nav-row {
        gap: 15px; /* S'assure qu'ils ne se collent jamais */
    }

    /* Bouton Volver ("Fat finger friendly" mais discret) */
    .pf-archive-page .pf-btn-sm { 
        padding: 10px 18px !important; /* Zone de clic plus haute pour le pouce */
        font-size: 10px !important;
    }

    /* --- 3. LE TIROIR DE RECHERCHE INTELLIGENT --- */
    /* On empêche le bouton de recherche de s'écraser */
    .pf-archive-search-trigger {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .pf-archive-search-trigger svg {
        width: 16px; /* Un poil plus petit sur mobile */
        height: 16px;
    }

    /* L'input s'adapte à la largeur de l'écran moins le bouton Volver */
    .pf-archive-search-container.is-open .pf-archive-search-input {
        /* 100vw = largeur écran. On enlève 40px de padding global, 
           et environ 110px pour le bouton Volver et les marges */
        width: calc(100vw - 150px); 
        max-width: 260px; /* Sécurité pour les tablettes */
        padding: 0 45px 0 15px; /* Ajustement du texte tapé */
    }

    .pf-archive-search-input {
        /* 🌟 CRUCIAL : 16px empêche l'iPhone de zoomer brutalement sur la page */
        font-size: 16px !important; 
    }

    /* --- 5. GRILLE ET CHARGEMENT --- */
    .pf-archive-main {
        padding-bottom: 50px;
    }

    .pf-search-loading {
        padding: 60px 20px;
        font-size: 12px;
    }

/* ==========================================================================
       PAGE ARCHIVE (LISTE DES RECOMMANDATIONS) - RESPONSIVE MOBILE
       ========================================================================== */

    /* --- 0. CORRECTION DE L'OVERFLOW (Empêche la page de glisser sur les côtés) --- */
    .pf-archive-page { width: 100%; }

    /* --- 1. EN-TÊTE & BOUTON RETOUR --- */
    /* On augmente le padding-top à 100px pour descendre le bouton */
    .pf-archive-header { padding: 100px 20px 10px !important; } 
    .pf-reco-main-title { font-size: 24px !important; text-align: center; margin-top: 5px !important; }
    
    .pf-archive-nav-row { flex-direction: column; gap: 5px !important; align-items: center !important; }
    .pf-nav-col-left { width: 100%; justify-content: flex-start; }
    .pf-nav-col-center { width: 100%; }

    /* Nettoyage des espaces géants */
    .pf-archive-line { margin-top: 15px !important; } 
    .pf-archive-page > .pf-container { margin-bottom: 25px !important; } 
    .pf-reco-list-stack { gap: 12px !important; } 

    /* 🌟 BOUTON VOLVER : Mode Nucléaire Anti-Hover */
    .pf-archive-nav-row a.pf-btn-sm {
        border: none !important; 
        background: transparent !important;
        padding: 5px 0 !important; 
        font-size: 13px !important;
        opacity: 0.9 !important; 
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        color: var(--color-terracotta) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    /* Sécurisation de l'icône SVG */
    .pf-archive-nav-row a.pf-btn-sm svg {
        width: 16px !important; /* Un poil plus petite pour matcher le texte */
        height: 16px !important;
        stroke-width: 2px !important;
        transition: none !important; /* Bloque l'animation globale */
        transform: none !important;
        stroke: var(--color-terracotta) !important; /* Force la couleur */
    }

    /* 🌟 BOUTON VOLVER (Bloqué sur Terracotta sans Hover) */
    .pf-btn-volver {
        color: var(--color-terracotta) !important;
        opacity: 0.9 !important;
    }

    .pf-btn-volver svg {
        stroke: var(--color-terracotta) !important;
        transition: none !important;
        transform: none !important;
    }

    /* 🌟 ACCÉLÉRATION DE L'EFFET DES CARTES */
    .pf-reco-panel { transition: none !important; }

    /* --- 2. NAVIGATION PILULES (Centrage & Transition fluide) --- */
    .pf-pill-nav-container {
        display: flex; 
        width: 100vw; 
        box-sizing: border-box; 
        overflow-x: auto; scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch; scrollbar-width: none; 
        background-color: transparent; 
        padding: 5px 0; 
        position: relative; left: 50%; transform: translateX(-50%);
    }
    .pf-pill-nav-container::-webkit-scrollbar { display: none; }

    .pf-pill-nav-container::before, 
    .pf-pill-nav-container::after {
        content: ''; 
        flex: 0 0 calc(50vw - 70px); 
    }

    .pf-pill-btn {
        flex: 0 0 auto; scroll-snap-align: center; font-size: 13px;
        padding: 10px 20px; background-color: rgba(0, 0, 0, 0.05); 
        margin: 0 6px; 
        
        /* 🌟 TRANSITION AJOUTÉE ICI : Le changement de couleur (Bleu/Gris) sera doux et fluide */
        transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease !important;
    }
    
    .pf-pill-btn.active { box-shadow: none !important; }

    /* --- 3. LES CARTES (MODE "LISTE COMPACTE") --- */
    
    /* On donne de l'air aux cartes pour qu'elles ne touchent pas les bords */
    .pf-archive-main .pf-container { padding: 0 20px !important; }

    .pf-reco-strip {
        display: grid !important; 
        grid-template-columns: 85px 1fr; /* Image plus petite (85px) */
        grid-template-rows: auto auto;
        padding: 10px !important; /* Marge interne de la carte réduite */
        gap: 0 12px;
        margin-bottom: 15px;
        align-items: center;
        border-radius: 14px;
        width: 100%; 
        box-sizing: border-box; /* Garantit que la carte ne déborde pas */
    }

    /* Miniature à gauche */
    .strip-left {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        width: 85px !important;
        height: 85px !important;
        border-radius: 10px;
    }

    /* Contenu à droite */
    .strip-center {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        padding: 0 !important;
    }

    .strip-header-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-bottom: 0 !important;
    }

    .strip-title-link {
        font-size: 15px !important; /* Texte plus petit */
        line-height: 1.2 !important;
    }

    /* On cache le bouton "détails" et le paragraphe */
    .strip-desc { display: none !important; }
    .strip-link-btn { display: none !important; }

    /* Le bloc Terracotta devient un badge d'adresse sous les stats */
    .strip-right {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: fit-content !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        padding: 4px 8px !important;
        border-left: none !important;
        border-radius: 6px;
        margin-top: 8px;
        gap: 4px !important;
        align-self: start;
    }

    .strip-right svg { width: 12px; height: 12px; }
    .strip-location { font-size: 10px !important; letter-spacing: 0.5px !important; }

    /* --- 4. STATISTIQUES (Like & Com) --- */
    .reco-card-stats-inline { gap: 12px; }
    .stat-mini { font-size: 11px; }
    .stat-mini svg { width: 14px; height: 14px; }

    /* ==========================================================================
       SINGLE RECOMMANDATION - RESPONSIVE MOBILE (MODE APP NATIVE PREMIUM)
       ========================================================================== */

    /* --- 1. LAYOUT PLEIN ÉCRAN (Body Scrollable) --- */
    body.pf-reco-minimal-body {
        overflow-y: auto; /* On rend le scroll naturel au doigt */
        background-color: var(--color-creme);
    }
    
    .reco-fullscreen-bg {
        padding: 0; /* Plus aucune marge autour */
        display: block; /* On annule le Flexbox pour un comportement normal */
        height: auto;
        min-height: 100dvh;
    }

    .reco-app-card {
        display: block; /* Annule le split gauche/droite */
        width: 100%;
        height: auto;
        max-height: none; 
        border-radius: 0; 
        box-shadow: none;
        overflow: visible;
        padding-bottom: 90px; /* Laisse la place pour la barre fixée en bas */
    }

    /* --- 2. BOUTON RETOUR (Style iOS Glassmorphism) --- */
    .reco-back-floating {
        position: fixed; /* Reste collé en haut même quand on scrolle */
        top: 20px; 
        left: 20px;
        z-index: 100;
        background: rgba(0, 0, 0, 0.4); 
        backdrop-filter: blur(10px); 
        -webkit-backdrop-filter: blur(10px); /* Pour Safari */
        padding: 8px 18px 8px 14px;
        border-radius: 50px;
        color: #ffffff !important; 
        text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    /* --- 3. BLOC IMAGE (Full Bleed) --- */
    .reco-app-left {
        width: 100%;
        padding: 0; 
        background: transparent;
        border: none;
    }

    .reco-app-img {
        border-radius: 0; /* Touche les bords de l'écran */
        margin-bottom: 0;
        aspect-ratio: 4 / 3; /* Format parfait pour le mobile */
        box-shadow: none;
    }

    .reco-app-badge {
        top: 25px; 
        right: 20px; 
        left: auto; /* Déplacé à droite pour équilibrer avec le bouton retour */
        font-size: 11px;
        padding: 6px 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    /* --- 4. INFOS RAPIDES & TEXTE --- */
    .reco-app-quick-info {
        padding: 25px 20px 10px;
        background: var(--color-creme);
    }
    .info-row { font-size: 14px; margin-bottom: 12px; }
    
    .reco-app-right {
        padding: 10px 20px 20px;
        display: block;
        height: auto;
    }

    .reco-app-title { font-size: 28px; margin-bottom: 15px; }

    .reco-app-scroll-area {
        overflow-y: visible; /* Le défilement se fait sur la page entière maintenant */
        padding-right: 0; 
    }

    .reco-app-desc p { font-size: 15px; line-height: 1.6; }
    
    .pros-tags span { font-size: 12px; padding: 8px 14px; }
    .reco-app-details { padding: 20px; border-radius: 20px; }

/* --- 5. BARRE D'ACTION (Fixée en bas, Alignement absolu) --- */
    .reco-action-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--color-creme);
        padding: 15px 20px 25px; /* Plus d'espace en bas pour les iPhone (Home Bar) */
        margin: 0 !important;
        border-top: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 -10px 25px rgba(0,0,0,0.05);
        z-index: 90;
        box-sizing: border-box;
        
        /* 🌟 L'alignement magique au centre de l'axe horizontal */
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important; 
        gap: 10px; /* Sécurité anti-collision */
    }

    /* Le groupe des 3 icônes (Like, Comentar, Compartir) */
    .reco-social-actions { 
        display: flex !important;
        align-items: center !important; 
        margin: 0 !important; 
        gap: 15px !important; /* Espacement parfait entre les icônes */
        flex-shrink: 0; 
    }

    /* Style individuel des petits boutons */
    .reco-action-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important; 
        padding: 0 !important;
        background: none !important;
        border: none !important;
        color: #888;
        font-family: var(--font-main);
        font-size: 9px !important; /* Texte discret */
        font-weight: 800;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    .reco-action-btn svg { 
        width: 22px !important; 
        height: 22px !important; 
        margin-bottom: 3px !important; 
        transition: all 0.3s;
    }

    /* Le gros bouton d'action à droite (Visitar sitio) */
    .reco-app-btn {
        margin: 0 !important; 
        padding: 12px 18px !important; 
        font-size: 11px !important; 
        width: auto;
        white-space: nowrap !important; /* Empêche de se casser sur 2 lignes */
        flex-shrink: 1; 
        text-align: center;
        background: var(--color-primary);
        color: var(--color-accent-yellow);
        border-radius: 50px;
        font-family: var(--font-main);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        display: block;
    }

    /* --- 6. MODALE COMMENTAIRES (Glisse par-dessus tout) --- */
    .reco-comments-modal {
        position: fixed; /* Devient fixe par rapport à l'écran, pas à la carte */
        height: 90dvh; /* 90% de l'écran réel */
        border-radius: 30px 30px 0 0;
        z-index: 1000;
    }
    
    .reco-comments-header { padding: 25px 25px 15px; }
    .reco-comments-body { padding: 15px 20px 40px !important; }
    .reco-comments-body .comment-body { padding: 20px !important; border-radius: 20px !important; }
    .reco-comments-body b.fn { font-size: 15px !important; }
    .reco-comments-body .comment-content p { font-size: 14px !important; }
    
    .reco-comments-body #respond { padding: 25px 20px !important; border-radius: 24px !important; }
    .reco-comments-body #reply-title { font-size: 16px !important; padding: 0 30px 0 0 !important; margin-bottom: 20px !important; }
    #cancel-comment-reply-link { top: 25px !important; right: 20px !important; }

    /* --- 7. AMÉLIORATION UX MOBILE (Liens & Espacements) --- */
    
    /* Rend l'adresse et le téléphone visuellement cliquables (Style Pilule iOS) */
    .reco-app-quick-info .reco-full-link {
        background-color: rgba(0, 0, 0, 0.03); 
        padding: 6px 16px 6px 6px; /* Espace autour de l'icône et du texte */
        border-radius: 50px; 
        border: 1px solid rgba(0, 0, 0, 0.05);
        width: fit-content;
        max-width: 100%;
        position: relative;
    }
    
    /* Ajoute une petite flèche de navigation à droite du texte */
    .reco-app-quick-info .reco-full-link::after {
        content: '›'; 
        font-size: 20px;
        margin-left: 8px;
        color: var(--color-terracotta);
        line-height: 1;
        transform: translateY(-1px);
    }

    /* Espace de respiration à la fin de la carte pour la barre fixe */
    .reco-app-right {
        padding-bottom: 40px !important; /* Force la zone de texte à descendre plus bas que la barre */
    }

    /* --- ALIGNEMENT PARFAIT DU PRIX --- */
    /* Cible spécifiquement l'icône du prix (qui n'est pas dans un lien) */
    .reco-app-quick-info .info-row > svg {
        margin-left: 7px !important; /* Compense exactement les 6px de padding + 1px de bordure de la pilule ! */
    }

    /* --- CROIX DE FERMETURE DES COMMENTAIRES (Fix Mobile) --- */
    .reco-close-comments {
        width: 36px !important; 
        height: 36px !important;
        min-width: 36px !important; /* 🌟 EMPÊCHE LE BOUTON DE DEVENIR OVALE */
        background-color: var(--color-terracotta) !important;
        border-radius: 50% !important;
        display: flex !important; 
        align-items: center !important; 
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    /* Force la croix à être bien blanche et centrée */
    .reco-close-comments svg {
        width: 18px !important;
        height: 18px !important;
        stroke: #ffffff !important;
        margin: 0 !important;
    }

/* ==========================================================================
   PAGE ARTICLE MAGAZINE (SINGLE.PHP) - RESPONSIVE MOBILE PREMIUM (APP FEEL)
   ========================================================================== */

    /* --- 0. FIX OVERFLOW & SCROLL FLUIDE --- */
    html, body {
        width: 100%;
        -webkit-text-size-adjust: 100%; /* Empêche iOS de zoomer la police */
        scroll-behavior: smooth;
    }

    .pf-single-main {
        width: 100%;
    }

    /* Marges de lecture parfaites */
    .pf-container-narrow {
        padding: 0 24px; 
    }

    /* --- 1. HERO IMMERSIF (Proportions Cinematic) --- */
    .pf-single-hero {
        height: 65vh; 
        min-height: 450px;
    }

    .pf-single-header-content {
        padding-bottom: 40px; 
    }

    .pf-single-title {
        font-size: clamp(28px, 8vw, 34px); 
        line-height: 1.2;
        margin-bottom: 12px;
        letter-spacing: -0.5px; 
    }

    .pf-article-meta {
        font-size: 11px;
        opacity: 0.9;
    }

    .pf-meta-cat a { 
        font-size: 11px; 
    }

    /* --- 2. CORPS DE L'ARTICLE (Lisibilité Maximale) --- */
    .pf-article-body {
        font-size: 17px; 
        line-height: 1.7;
        color: rgba(250, 246, 235, 0.9); 
    }

    .pf-article-body > p:first-of-type::first-letter {
        font-size: 55px;
        margin-right: 8px;
        margin-top: 4px;
    }

    .pf-article-body h2 { 
        font-size: 24px; 
        margin-top: 50px; 
        margin-bottom: 20px;
        border-bottom-width: 2px; 
    }
    
    .pf-article-body h3 { 
        font-size: 20px; 
        margin-top: 35px;
    }

    .pf-article-body blockquote {
        margin: 35px 0; 
        padding: 15px 15px 15px 25px;
        font-size: 18px; 
    }

    /* --- 3. BARRE DE NAVIGATION FLOTTANTE (Pilule iOS - Dark Aqua) --- */
    .pf-action-bar{
    .reco-action-bottom {
        /* Encoche iOS/Android */
        top: calc(env(safe-area-inset-top, 15px) + 15px) !important; 
        bottom: auto !important;
        
        /* FIX : Largeur et Centrage parfaits */
        box-sizing: border-box !important;
        width: 90% !important; 
        max-width: 400px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        
        padding: 12px 20px !important;
        border-radius: 50px !important; 
        
        justify-content: space-between !important; 
        gap: 0 !important;
        
        /* 🌊 EFFET DARK AQUA INTÉGRÉ SUR MOBILE */
        background: rgba(5, 45, 55, 0.85) !important; 
        backdrop-filter: blur(20px) saturate(110%);
        -webkit-backdrop-filter: blur(20px) saturate(110%);
        
        border: 1px solid rgba(0, 168, 190, 0.3) !important; 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                    inset 0 2px 15px rgba(0, 0, 0, 0.3) !important;
    }

    .pf-action-pill, 
    .reco-action-btn {
        flex: 1; /* Chaque bouton prend le même espace */
    }

    .pf-action-pill svg, 
    .reco-action-btn svg {
        width: 20px !important; 
        height: 20px !important;
        margin-bottom: 3px !important;
        filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); /* Détache l'icône du fond */
    }

    .pf-action-pill .count-text, 
    .pf-action-pill .share-label,
    .reco-action-btn .count-text,
    .reco-action-btn span {
        font-size: 8px !important; 
        letter-spacing: 0.5px !important;
    }

    /* --- 4. COMMENTAIRES (Compact & Clean) --- */
    .comment-list, #respond {
        margin-top: 50px !important; 
    }

    .comment-body {
        padding: 20px 0 !important; 
    }

    .comment-author .fn {
        font-size: 14px;
    }

    .comment-content p { 
        font-size: 15px; 
    }

    .children {
        margin: 0 0 0 15px !important; 
        padding: 0 0 0 15px !important;
    }
    
    .children .comment-body {
        padding: 15px 0 !important; 
    }

    .comment-metadata a.comment-edit-link,
    .comment-metadata a.comment-delete-link, 
    .comment-body .delete-comment,
    .reco-delete-comment {
        top: 20px !important;
        right: 0 !important;
    }

    /* --- 5. FORMULAIRE DE COMMENTAIRE --- */
    #respond { 
        padding: 20px 0 0 0 !important; 
    }
    
    #reply-title { 
        font-size: 20px !important; 
        margin-bottom: 20px !important;
    }

    /* Empêche le zoom insupportable d'iOS au clic */
    .comment-form input:not(.submit),
    .comment-form textarea {
        font-size: 16px !important; 
        padding: 16px !important; 
        border-radius: 10px !important;
    }

    .submit { 
        width: 100% !important; 
        padding: 18px 20px !important; 
        font-size: 13px !important;
        letter-spacing: 2px !important;
        border-radius: 12px !important; 
    }

    .comment-form-cookies-consent {
        margin: 15px 0 25px !important;
    }

    /* --- SÉCURITÉ TACTILE (Anti-Hover & Anti-Flash) --- */
    * { -webkit-tap-highlight-color: transparent !important; }
}
}