/* ==========================================================================
   PN — Global stylesheet (Astra Child)
   - Fusion : "CSS additionnel" + blocs utiles de /themes/astra-child/style.css
   - Ordre : d’abord styles généraux/boutique/agenda, puis composants, puis overrides
   ========================================================================== */

/* 1) Toujours mettre le header au-dessus de Leaflet */
.site-header,
.main-header-bar,
.elementor-location-header,
.header-main-layout { /* ton bandeau animé */
  position: relative; /* ou sticky/fixed selon ton cas */
  z-index: 3000;      /* > 1000 des contrôles Leaflet */
}

/* 2) Forcer Leaflet à rester sous le header */
#pn-view-map,
#pn-map,
.leaflet-container { z-index: 1; }

.leaflet-control-container,
.leaflet-top,
.leaflet-bottom,
.leaflet-control { z-index: 900 !important; } /* < 3000 du header */

/* Si tu utilises le plugin fullscreen Leaflet */
.leaflet-control-fullscreen { z-index: 900 !important; }

/* Si tu as une barre mobile (#pn-mobile-bar) ou un panneau filtres au-dessus */
#pn-mobile-bar,
.pn-filter-panel { z-index: 2500; } /* sous le header, au-dessus de la carte */

/* ===========================
   1) BOUTIQUE / WOOCOMMERCE
   =========================== */

/* Masque les catégories sur les pages de catégorie woo commerce */
.ast-woo-product-category {
	display: none !important;
}

/* Encadré avec fond clair et bordure douce */
.woocommerce-ordering {
  background-color: #eeeeee;
  border: 0.45px solid #ccc;
  padding: 0.5rem 0.5rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Style du menu déroulant */
.woocommerce-ordering select.orderby {
  font-size: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 2px;
  border: 0.5px solid #aaa;
  background-color: #fff;
  color: #759739;
  cursor: pointer;
}

/* === Ajout description page Boutique === */
.boutique-description {
  max-width: 800px;
  margin: 1rem auto 0 auto;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

/* === Catégories produit WooCommerce uniquement === */
body.archive.tax-product_cat .ast-archive-description,
body.post-type-archive.woocommerce .ast-archive-description {
  background: linear-gradient(to top,
    #ffffff 0%,
    #ffffff 50%,
    #e6e6e6 100%
  ) !important;
  border-left: 1px solid #e6e6e6  !important;
  border-right: 1px solid #e6e6e6 !important;
  border-top: 1px solid #e6e6e6 !important;
  border-bottom: 1px solid #759739 !important;
  border-radius: 2px !important;
  margin-bottom: 2rem !important;
  margin-top: 1rem !important;
  padding: 2rem !important;
}

/* Titre H1 dans les catégories produit */
body.archive.tax-product_cat .ast-archive-title  {
  font-family: Helvetica, serif !important;
  font-size: 1.8rem !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
  letter-spacing: 0.5px !important;
}

/* Paragraphe */
body.archive.tax-product_cat .ast-archive-description p {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: #444 !important;
}

/* Responsive : tablettes et mobiles */
@media (max-width: 768px) {
  body.archive.tax-product_cat .ast-archive-description {
    padding: 1.5rem !important;
    border-left: 4px solid #759739 !important;
    border-right: 4px solid #759739 !important;
  }
  body.archive.tax-product_cat .ast-archive-title {
    font-size: 1.5rem !important;
  }
  body.archive.tax-product_cat .ast-archive-description p {
    font-size: 1rem !important;
  }
}


/* PN — Barre haute header (réseaux / "Le magazine" / Abonnez-vous) */
.elementor .elementor-element-3d9f43d{
  transition: opacity .2s ease, transform .2s ease, height .2s ease, padding .2s ease, margin .2s ease;
  will-change: opacity, transform, height;
}

/* Variante A — disparition avec compression du header (réduit la hauteur) */
body.pn-scrolled .elementor .elementor-element-3d9f43d{
  opacity: 0;
  transform: translateY(-8px);
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  pointer-events: none;
}

/* ———————
   Variante B (optionnelle) — sans décalage de mise en page
   -> garde la hauteur, masque visuellement seulement (aucun "layout shift")
   Activez cette variante à la place de la A si vous voulez zéro mouvement.
*/
/*
body.pn-scrolled .elementor .elementor-element-3d9f43d{
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
}
*/

/* ==========================================================
   PN — Bloc "Rubriques & Lieux associés"
   ========================================================== */
.article-categories-footer {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.article-categories-title {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
}

.categories-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #cfd8c3 transparent;
}

.category-item {
  display: inline-block;
  background: #e5f0d4;
  color: #46621e;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.category-item:hover {
  background: #759739;
  color: #fff;
}

/* Optionnel : différencier les types */
.category-item.rubrique   { background: #e5f0d4; color:#46621e; }
.category-item.departement{ background: #d9ecf3; color:#23566a; }
.category-item.localite   { background: #f5e9d4; color:#7b521b; }

/* === Résultats de recherche uniquement === */
body.search .ast-archive-description {
   background: linear-gradient(to top, 
    #e6e6e6 0%,
    #ffffff 50%,
    #ffffff 100%
  ) !important;
  border-left: 1px solid #e6e6e6 !important;
  border-right: 1px solid #e6e6e6!important;
  border-top: 1px solid #e6e6e6 !important;
  border-bottom: 1px solid #e6e6e6!important;
  border-radius: 1px !important;
  margin-bottom: -1rem !important;
  margin-top: 1rem !important;
}

/* Titre H1 */
body.search .ast-archive-title {
  font-family: Helvetica, serif !important;
  font-size: 1.2rem !important;
  font-weight: normal !important;
  color: #2c2c2c !important;
  text-transform: uppercase !important;
  margin-bottom: 0rem !important;
  letter-spacing: 0.5px !important;
}

/* Span nombre de résultats */
body.search .ast-archive-title span {
  color: #759739 !important;
  font-weight: bold !important;
}

/* Paragraphe */
body.search .ast-archive-description p {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: #444 !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* Responsive : tablettes et mobiles */
@media (max-width: 768px) {
  body.search .ast-archive-description {
    padding: 1.5rem !important;
    border-left: 4px solid #759739 !important;
    border-right: 4px solid #759739 !important;
  }
  body.search .ast-archive-title { font-size: 1.5rem !important; }
  body.search .ast-archive-description p { font-size: 1rem !important; }
}

/* Bloc archive générique */
.ast-archive-description {
  position: relative;
  background: #eeeeeb !important;
  padding: 2rem 2rem !important;
  padding-left: 3rem !important;
  border-radius: 0px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
}
.ast-archive-description::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 6px !important;
  background-color: #759739 !important;
}
.ast-archive-description .ast-archive-title {
  font-family: Cambria, serif !important;
  font-size: 2rem !important;
  color: #759739 !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
}
.ast-archive-description p {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: #444 !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .ast-archive-description { padding: 1.5rem 1.5rem 1.5rem 2.5rem !important; }
  .ast-archive-description::before { width: 5px !important; }
  .ast-archive-description .ast-archive-title { font-size: 1.5rem !important; }
  .ast-archive-description p { font-size: 1rem !important; }
}

/* contrainte hauteur img produit */
.woocommerce-product-gallery__image img {
  max-height: 520px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.woocommerce-product-gallery__image {
  background: linear-gradient(to bottom, #f0f0f0, #ffffff);
  border: 0.2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 4px;
}

/* === ONGLET PRODUIT WOO === */
.woocommerce div.product .woocommerce-tabs ul.wc-tabs {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 0.5rem 1rem;
}
.woocommerce div.product .woocommerce-tabs ul.wc-tabs li a {
  color: #759739;
  background-color: #f6f6f3;
  border-radius: 3px;
  font-weight: 400;
  padding: 0.5rem 1rem;
  display: inline-block;
  text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.wc-tabs li.active a {
  font-weight: 600;
  border-bottom: 1px solid #5e832c;
}
.woocommerce div.product .woocommerce-tabs ul.wc-tabs li a:hover {
  color: #5e832c;
}
.woocommerce div.product .woocommerce-Tabs-panel {
  background-color: #f7f7f7 !important;
  border-radius: 6px;
  margin-top: 1.5rem;
}
.woocommerce div.product .woocommerce-tabs {
  background-color: #f7f7f7 !important;
  padding: 1rem !important;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Prix */
p.price {
  font-size: 1.3rem !important;
  font-weight: normal !important;
  color: #92121c !important;
  margin-top: -0.5rem !important;
  margin-bottom: 1rem !important;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e6e6e6;
  display: inline-block;
}

/* description courte produit */
.parution-bloc p {
  margin: 0 0 0.8rem 0;
  font-size: 1rem;
  line-height: 1.5;
}
.parution-highlight {
  margin: 1rem 0 0.4rem 0;
  padding-left: 1rem;
  border-left: 3px solid #759739;
  font-style: italic;
  background-color: #f9f9f9;
}
.parution-highlight p {
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 0.3rem!important;
}
@media (max-width: 600px) {
  .parution-bloc p, .parution-highlight p { font-size: 0.95rem; }
  .parution-highlight {
    padding-left: 0.8rem; border-left: 2px solid #759739;
    margin-bottom: 0.3rem!important;
  }
}

/* description courte produit (titre) */
.titre-magazine {
  font-family: Cambria, Georgia, serif !important;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Article woo commerce (sommaire) */
.sommaire-columns { display: flex; flex-wrap: wrap; gap: 2rem; }
.sommaire-col { flex: 1 1 300px; }
.sommaire-columns ul { margin: 0; padding-left: 1.2em; }
.sommaire-columns li { margin-bottom: 0.5em; }
.product_title.entry-title { font-size: 32px; line-height: 1.2; }
@media (max-width: 768px) { .product_title.entry-title { font-size: 24px; } }

/* Ajustements container Woo */
@media (min-width: 1025px) { .ast-woocommerce-container { margin-top: -90px !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .ast-woocommerce-container { margin-top: -20px !important; } }
@media (max-width: 767px) { .ast-woocommerce-container { margin-top: -32px !important; } }

/* Entry header ajustements */
@media (min-width: 1025px) { .entry-header { margin-top: 40px !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .entry-header { margin-top: 50px !important; } }
@media (max-width: 767px) { .entry-header { margin-top: 20px !important; } }

/* ============================================================
   P/* ============================================================
   PN — Page Annonceurs (template page-annonceurs.php)
   Style global + correctifs Desktop / Mobile — version clean
   ============================================================ */

/* ------------------------------------------------------------
   CONTEXTE TEMPLATE (compat Astra)
------------------------------------------------------------ */
body.page-template-page-annonceurs { overflow-x: hidden; }
body.page-template-page-annonceurs .ast-container,
body.page-template-page-annonceurs .site-main,
body.page-template-page-annonceurs .content-area {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ------------------------------------------------------------
   BASE
------------------------------------------------------------ */
.page-annonceurs {
  --pn-color: #759739;
  --pn-ink: #111;
  --pn-muted: #6b7280;
  --pn-bg: #f9f9f9;
  color: var(--pn-ink);
  background: #fff;
  line-height: 1.6;
  font-size: 1rem;
}

/* Sections : plein large contrôlé + gouttières */
.page-annonceurs > section {
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* Conteneurs centrés */
.page-annonceurs .pa-hero-inner,
.page-annonceurs .pa-kpi-grid,
.page-annonceurs .pa-cards,
.page-annonceurs .pa-form-inner,
.page-annonceurs .pa-table {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   HÉRO
------------------------------------------------------------ */
.page-annonceurs .pa-hero {
  background: #f4f6f0 url('https://patrimoinenormand.com/wp-content/uploads/2025/10/portail-patrimoine-normand-communication.webp')
              center / cover no-repeat;
  position: relative;
  padding: 72px 1rem 48px;
  text-align: center;
  margin-bottom: 3rem;
}
.page-annonceurs .pa-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--pn-ink);
  margin: 0 0 .5rem;
  font-weight: 700;
}
.page-annonceurs .pa-hero em { color: var(--pn-color); font-style: normal; }
.page-annonceurs .pa-subtitle { color: var(--pn-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }

.page-annonceurs .pa-hero-inner {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 24px 24px 20px;
  max-width: 960px;
}
@supports (backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px)) {
  .page-annonceurs .pa-hero-inner {
    backdrop-filter: blur(2px) saturate(115%);
    -webkit-backdrop-filter: blur(2px) saturate(115%);
  }
}

/* Boutons */
.page-annonceurs .pa-btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--pn-ink);
  text-decoration: none;
  font-weight: 500;
  transition: all .25s ease;
}
.page-annonceurs .pa-btn:hover { background: #f3f4f6; }
.page-annonceurs .pa-btn-primary {
  background: var(--pn-color);
  color: #fff;
  border-color: var(--pn-color);
}
.page-annonceurs .pa-btn-primary:hover { opacity: .9; }

/* Responsive HÉRO */
@media (max-width: 768px){
  .page-annonceurs .pa-hero { padding: 48px 1rem 28px; }
  .page-annonceurs .pa-hero-inner { padding: 16px 14px; border-radius: 12px; }
  .page-annonceurs .pa-btn,
  .page-annonceurs .pa-btn-primary { text-align: center; }
}

/* ------------------------------------------------------------
   ACCORDÉONS
------------------------------------------------------------ */
.page-annonceurs .pa-accordion.pa-accordion--single {
  border: 1px solid #e5e7eb;
  border-radius: 10px 10px 0 0;
  background: #fff;
  margin: 1rem auto;
  overflow: hidden;
}
.page-annonceurs .pa-accordion.pa-accordion--single summary {
  position: relative;
  padding: .9rem 1rem 0.9rem 1rem;
  padding-right: 2rem;
  font-weight: 700;
  color: var(--pn-ink);
  list-style: none;
  outline: none;
  background: #f8faf5;
  border-bottom: 1px solid #e5e7eb;
  transition: background .25s ease, color .25s ease;
}
.page-annonceurs .pa-accordion.pa-accordion--single summary::marker,
.page-annonceurs .pa-accordion.pa-accordion--single summary::-webkit-details-marker { display: none; }
.page-annonceurs .pa-accordion.pa-accordion--single summary::after {
  content: "▾";
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%) rotate(0);
  color: var(--pn-muted);
  transition: transform .25s ease, color .25s ease;
}
.page-annonceurs .pa-accordion.pa-accordion--single[open] summary {
  background: var(--pn-color);
  color: #fff;
  border-bottom-color: transparent;
}
.page-annonceurs .pa-accordion.pa-accordion--single[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
}
.page-annonceurs .pa-accordion-body { padding: 1rem; }
@media (max-width: 768px){
  .page-annonceurs .pa-accordion-body { padding: .75rem; }
}

/* ------------------------------------------------------------
   KPI
------------------------------------------------------------ */
.page-annonceurs .pa-kpi-wrapper {
  display: flex; align-items: stretch; justify-content: center;
  gap: 2rem; flex-wrap: wrap; margin-top: .5rem;
}
.page-annonceurs .pa-kpi-grid {
  flex: 1 1 280px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 1rem; list-style: none; margin: 0;
}
.page-annonceurs .pa-kpi-grid li { text-align: center; margin-bottom: .5rem; }
.page-annonceurs .kpi-label { display: block; color: var(--pn-muted); font-size: .9rem; }
.page-annonceurs .kpi-val { font-weight: 700; font-size: 1.1rem; color: var(--pn-ink); }
.page-annonceurs .pa-kpi-grid.pa-kpi-print { border-left: 6px solid var(--pn-color); background: #f9faf8; }
.page-annonceurs .pa-kpi-grid.pa-kpi-web { border-left: 6px solid #797979; background: #f9fbf7; }
.page-annonceurs .pa-kpi-sep { width: 2px; background: #e5e7eb; align-self: stretch; }
.page-annonceurs .pa-kpi-global {
  text-align: center; margin-top: 1rem; background: #f4f6f0;
  padding: 1rem; border-radius: 10px; border: 1px solid #e5e7eb;
}
.page-annonceurs .pa-kpi-total { font-size: 1.3rem; font-weight: 700; color: var(--pn-color); }
.page-annonceurs .pa-source {
  text-align: left; color: var(--pn-muted); font-size: .85rem; font-style: italic;
  margin-top: 1rem; margin-bottom: 0; line-height: 1.4;
}
.page-annonceurs .pa-source a { color: var(--pn-muted); text-decoration: underline; text-decoration-color: #c9d2b7; transition: color .2s ease; }
.page-annonceurs .pa-source a:hover { color: var(--pn-color); text-decoration-color: var(--pn-color); }

@media (max-width: 768px){
  .page-annonceurs .pa-kpi-wrapper { flex-direction: column; gap: 1rem; }
  .page-annonceurs .pa-kpi-grid { width: 100%; flex: none;  }
  .page-annonceurs .pa-kpi-sep { display: none; }
}

/* ------------------------------------------------------------
   TABLEAUX (Offres / Calendrier)
------------------------------------------------------------ */
.page-annonceurs h2 {
  font-size: 1.6rem; color: var(--pn-color);
  margin-top: 3rem; border-bottom: 2px solid #e5e7eb; padding-bottom: .4rem; font-weight: 700;
}
.page-annonceurs .pa-table {
  width: 100%; border: 1px solid #e5e7eb; border-radius: 10px;
  overflow: hidden; margin-top: 1rem;
}

/* Desktop */
@media (min-width: 769px){
  .page-annonceurs .pa-row {
    display: grid; grid-template-columns: 1.2fr 0.9fr 0.6fr 1.3fr;
    gap: 16px; padding: 14px 16px; border-top: 1px solid #f0f0f0; background: #fff;
  }
  .page-annonceurs .pa-row.pa-head { background: #f3f6ef; font-weight: 600; }
  .page-annonceurs .pa-row > div::before { content: none !important; } /* <— désactive les labels en desktop */
}

/* Mobile : carte + labels depuis data-label */
@media (max-width: 768px){
  .page-annonceurs .pa-row { display: block; padding: .9rem 1rem; border-top: 1px solid #f0f0f0; background: #fff; }
  .page-annonceurs .pa-row.pa-head { display: none; } /* <— cache l'en-tête en mobile */
  .page-annonceurs .pa-table .pa-row:not(.pa-head) {
    border: 2px solid #dce3cc; border-radius: 10px; background: #fff;
    margin-bottom: .6rem; box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  }
  .page-annonceurs .pa-row > div {
    display:flex; align-items:baseline; justify-content:space-between; gap:10px;
    padding:.45rem 0; font-size:.95rem; word-break:break-word; text-align:right;
  }
  .page-annonceurs .pa-row > div:first-child { padding-top: 0; }
  .page-annonceurs .pa-row > div::before{
    content: attr(data-label); /* <— utilise les data-label de ton HTML */
    color:#6b7280; font-weight:600; font-size:.95rem; margin-right:8px; text-align:left;
  }
}

/* Notes sous tableaux */
.page-annonceurs .pa-notes { margin-top: .75rem; padding-left: 1.25rem; color: var(--pn-muted); font-size: .9rem; }

/* ------------------------------------------------------------
   PACKS (si utilisés)
------------------------------------------------------------ */
.page-annonceurs .pa-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.page-annonceurs .pa-card {
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
  padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between;
}
.page-annonceurs .pa-card-highlight { border-color: var(--pn-color); box-shadow: 0 0 0 2px var(--pn-color) inset; }
.page-annonceurs .pa-card h3 { margin-top: 0; color: var(--pn-color); font-size: 1.2rem; }
.page-annonceurs .pa-price { font-weight: 700; font-size: 1.1rem; }

/* ------------------------------------------------------------
   FORMULAIRE
------------------------------------------------------------ */
.page-annonceurs .pa-contact { margin-top: 3rem; padding-bottom: 2rem; border-top: 2px solid #e5e7eb; }
.page-annonceurs .pa-contact h2 { text-align: center; margin-bottom: .5rem; }
.page-annonceurs .pa-contact p { text-align: center; margin-bottom: 1.5rem; }

.page-annonceurs .pa-form-inner {
  max-width: 100%; margin: 0 auto;
  border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.5rem; background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.page-annonceurs .pa-contact h4 { margin:1rem 0 .5rem; font-size:1.05rem; color:#666; font-weight:700; }

.page-annonceurs .pa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.page-annonceurs label { display: flex; flex-direction: column; font-size: .95rem; color: var(--pn-ink); }
.page-annonceurs input, .page-annonceurs select {
  border: 1px solid #d1d5db; border-radius: 8px; padding: .6rem .75rem; font-size: .95rem; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.page-annonceurs input:focus, .page-annonceurs select:focus {
  outline: none; border-color: var(--pn-color); box-shadow: 0 0 0 3px rgba(117,151,57,.22);
}
.page-annonceurs .pa-legal { color: var(--pn-muted); font-size: .85rem; margin-top: .5rem; }
.page-annonceurs .pa-alert { max-width: 720px; margin: 0 auto 1rem; padding: .75rem 1rem; border-radius: 8px; font-size: .95rem; }
.page-annonceurs .pa-success { background: #ecfdf5; border: 1px solid #86efac; }
.page-annonceurs .pa-error   { background: #fef2f2; border: 1px solid #fecaca; }

/* Bar total estimé (si utilisée) */
.page-annonceurs #pn_total_estime{
  display:inline-block; min-width:4ch; text-align:right; font-variant-numeric:tabular-nums;
}
.page-annonceurs .pa-total-bar{
  display:flex;
  background:#f6faf2; border:1px dashed #cfe0b8; border-radius:10px;
  padding:.75rem 1rem; margin:.75rem 0 1rem;
}
.page-annonceurs .pa-total-bar strong{ color:#374151; }

/* Bouton principal */
.page-annonceurs .pa-btn.pa-btn-primary{
  background:#759739; color:#fff; border:1px solid #759739; border-radius:8px;
  padding:.7rem 1.1rem; font-weight:700; transition:transform .05s ease, opacity .2s ease;
}
.page-annonceurs .pa-btn.pa-btn-primary:hover{ opacity:.92; }
.page-annonceurs .pa-btn.pa-btn-primary:active{ transform:translateY(1px); }

/* ------------------------------------------------------------
   CARTES FORMULES (sélection avec bordure verte)
------------------------------------------------------------ */
.page-annonceurs .pa-formules{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1rem 0;
}
.page-annonceurs .pa-card-selectable{ position:relative; display:block; cursor:pointer; user-select:none; }
.page-annonceurs .pa-card-selectable > input[type="radio"]{ position:absolute; inset:0; opacity:0; pointer-events:none; }
.page-annonceurs .pa-card-content{
  background:#fff; border:3.5px solid #e5e7eb; border-radius:12px; padding:1rem 1rem .9rem;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease; height:100%;
}
.page-annonceurs .pa-card-content h3{ margin:.1rem 0 .25rem; font-size:1.1rem; color:#759739; font-weight:700; }
.page-annonceurs .pa-card-content p{ margin:.25rem 0 .5rem; color:#4b5563; font-size:.95rem; line-height:1.5; }
.page-annonceurs .pa-card-content .pa-prix{ display:inline-block; margin-top:.25rem; font-weight:700; color:#111; }
.page-annonceurs .pa-card-selectable:hover .pa-card-content{ border-color:#cdd8bf; box-shadow:0 6px 18px rgba(0,0,0,.06); }
.page-annonceurs .pa-card-selectable > input[type="radio"]:checked + .pa-card-content{
  border-color:#759739; box-shadow:0 0 0 2px rgba(117,151,57,.15) inset, 0 8px 22px rgba(0,0,0,.08);
  background:#fbfdf7;
}

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 900px){
  .page-annonceurs .pa-formules{ grid-template-columns:1fr; }
  .page-annonceurs .pa-grid{ grid-template-columns:1fr; gap:.75rem; }
  .page-annonceurs .pa-form-inner{ width:100%; padding:1.1rem; }
  .page-annonceurs .pa-cards{ grid-template-columns:1fr; }
}

/* ------------------------------------------------------------
   DIVERS
------------------------------------------------------------ */
.pn-ad-wrapper img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.page-annonceurs .pa-contact hr{ border:none; height:1px; background:linear-gradient(90deg,#e5e7eb,transparent); margin:16px 0; }
.page-annonceurs .pa-contact ::placeholder{ color:#9ca3af; opacity:.9; }


/* ===========================
   2) BLOCS LISTES / ARTICLES
   =========================== */

.pn-liste-articles { display: flex; flex-direction: column; gap: 2rem; }
.pn-article-item { display: flex; gap: 1rem; border-bottom: 1px solid #ddd; padding-bottom: 1rem; align-items: flex-start; }
.pn-article-thumb { flex-shrink: 0; width: 100px; }
.pn-article-thumb img { width: 100%; height: auto; object-fit: cover; display: block; }
.pn-article-content { flex: 1; }
.pn-article-cat { font-size: 0.75rem; font-weight: 600; color: #891616; text-transform: uppercase; margin-bottom: 0.3rem; }
.pn-article-title { font-size: 1.1rem; margin: 0 0 0.5rem; }
.pn-article-title a { color: #000; text-decoration: none; }
.pn-article-excerpt { font-size: 0.95rem; color: #444; margin-top: 0.2rem; }

@media (max-width: 600px) {
  .pn-article-item { flex-direction: column; gap: 0.5rem; }
  .pn-article-thumb { width: 100%; }
}

/* ========== META PUBLICATION ARTICLE ========== */
.meta-publication { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.2em; }
.meta-publication .date-pub { display: block; margin-top: 0.4em; margin-bottom: 0.1em; }
.meta-publication .modification-date { display: block; margin-top: -0.6em; margin-bottom: 0.7em; font-size: 0.8rem; color: #666; }
.meta-publication .auteur-pub { display: block; margin-top: 0.6em; }
.separateur-mobile { display: none !important; }
@media (max-width: 480px) {
  .meta-publication { font-size: 0.85rem; }
  .meta-publication .modification-date { font-size: 0.75rem; }
}

/* === PARTAGE & ÉCOUTE ARTICLE === */
.social-share { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; width: 100%; }
.share-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.share-text { font-size: 1rem; font-weight: bold; color: #333; }
.icons-container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; align-items: center; }
.social-button { display: inline-flex; justify-content: center; align-items: center; width: 30px; height: 30px; color: white; text-decoration: none; border-radius: 50%; transition: background-color 0.3s; font-size: 16px; }
.facebook { background-color: #3b5998; }
.twitter { background-color: #000000; }
.linkedin { background-color: #0077b5; }
.whatsapp { background-color: #25D366; }
.email { background-color: #6c757d; }
.social-button:hover { opacity: 0.8; }
@media (max-width: 1400px) {
  .social-button { width: 25px; height: 25px; font-size: 14px; }
  .share-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .share-text { font-size: 0.9rem; }
  .social-button { width: 22px; height: 22px; font-size: 13px; }
  .share-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Articles récents — titre */
.pn-archive-title {
  font-size: 2rem;
  text-align: left;
  margin: 3rem auto -1rem;
  font-weight: 500;
  font-family: "Helvetica", serif;
  color: #7c9647;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 1024px) {
  .pn-archive-title { font-size: 1.75rem; margin: 2.5rem auto -0.5rem; }
}
@media (max-width: 600px) {
  .pn-archive-title { font-size: 1.3rem; margin: 2rem auto 0; }
}

/* YARPP */
.single-post .navigation.post-navigation { display: none; }
.yarpp-heading { position: relative; font-size: 22px; font-weight: 700; text-align: center; margin: 40px auto 24px; text-transform: uppercase; color: #333; }
.yarpp-heading::before, .yarpp-heading::after { content: ""; display: block; height: 1px; background-color: #ccc; width: 180px; margin: 16px auto; }
.yarpp-thumbnails-responsive { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 0 20px; max-width: 2000px; margin: 0 auto 40px auto; box-sizing: border-box; }
.yarpp-thumbnail-item { background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 6px; padding: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; align-items: center; }
.yarpp-thumbnail-item:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.yarpp-thumbnail-item img { width: 100%; height: auto; aspect-ratio: 350 / 250; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.yarpp-title { font-size: 16px; font-weight: 600; color: #222; text-align: center; text-decoration: none; margin-bottom: 6px; }
.yarpp-title:hover { color: #0073aa; text-decoration: underline; }
.yarpp-date { font-size: 14px; color: #666; font-style: italic; text-align: center; margin: 0; }
.yarpp-separator { width: 180px; height: 1px; background-color: #ccc; margin: 40px auto 0 auto; }
@media (max-width: 1020px) {
  .yarpp-thumbnails-responsive { grid-template-columns: 1fr; }
  .yarpp-thumbnail-item:nth-child(n+3) { display: none; }
}

/* Fond overlay blog layout */
.blog-layout-6 .post-thumb::before {
  content: "";
  position: absolute;
  top: 15px; right: 15px; bottom: 15px; left: 15px;
  background: rgba(124, 150, 71, 0.9);
  z-index: 1;
  border-radius: 4px;
}
.elementor-background-overlay,
.ast-blog-featured-section::before,
.blog-layout-6 .post-thumb::after {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}


/* ===========================
   3) TABS / DERNIERS POSTS / AGENDA
   =========================== */

.tabs-container { background-color: #f4f4f4; border: 1px solid #ddd; border-radius: 0.5rem; overflow: hidden; margin-bottom: 2rem; font-family: "Helvetica", sans-serif; }
.tabs-header { display: flex; background-color: #222; flex-wrap: wrap; }
.tabs-container .tab-button {
  flex: 1 1 50%; min-width: 150px; padding: 1rem; font-size: 0.95rem;
  color: #759739 !important; background-color: #eee !important; border: none !important;
  border-right: 1px solid #ccc !important; text-align: center; cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; white-space: normal; line-height: 1.6;
  display: flex; align-items: center; justify-content: center; height: auto; box-sizing: border-box; border-radius: 0 !important; 
}
.tabs-container .tab-button:last-child { border-right: none !important; }
.tab-button span { display: inline-block; line-height: 1.6; padding: 0.4rem 0; }
.tabs-container .tab-button.active { background-color: #759739 !important; color: #fff !important; font-weight: 700; border-bottom: none; }
.tabs-container .tab-button:not(.active):hover { background-color: #b2cb9e !important; color: #fff !important; }
.tab-content { padding: 1rem; background-color: #f4f4f4; display: none; }

.latest-posts { background-color: #f4f4f4; border-top: none; padding: 0; font-family: "Helvetica", sans-serif; }
.latest-posts h3 { display: none; }
.latest-posts-list { list-style: none; padding: 0; margin: 0; }
.latest-posts-list li { margin-bottom: 0.8rem; padding-left: 0.5rem; border-left: 3px solid #759739; transition: background-color 0.3s ease; }
.latest-posts-list li:hover { background-color: #eef3e7; border-left-color: #5e7f2b; }
.latest-posts-list li:hover a { font-weight: 700; color: #000; }
.latest-posts-list a { text-decoration: none; color: #333; font-size: 0.95rem; font-weight: 500; transition: color 0.3s ease; }
.latest-posts-list a:hover { color: #000; }
.latest-posts-list .post-date { display: block; font-size: 0.8rem; color: #666; margin-top: 0.2rem; margin-left: 0.5rem; font-style: italic; }
.view-all-articles { margin-top: 1.2rem; text-align: right; }
.view-all-articles a { font-size: 0.9rem; font-weight: 600; color: #759739; text-decoration: none; transition: color 0.3s ease; }
.view-all-articles a:hover { color: #444; }

@media (max-width: 768px) {
  .tabs-header { flex-direction: column; }
  .tabs-container .tab-button { flex: 1 1 auto; width: 100%; border-right: none !important; border-bottom: 1px solid #ccc !important; }
  .tab-button span { line-height: 1.6; padding: 0.3rem 0.5rem; }
  .latest-posts-list > *:nth-of-type(n + 5) { display: none !important; }
  .mobile-see-more { display: block; text-align: right; margin-top: 0.5rem; }
}
@media (min-width: 769px) { .mobile-see-more { display: none; } }


/* ===========================
   4) SIDEBAR MAGAZINES (Woo)
   =========================== */

.single-post .sidebar-block .sidebar-title { margin-top: 0 !important; }
.sidebar-block { margin-bottom: 2rem; background-color: #eee; padding: 1rem; overflow: visible; }
.sidebar-title {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: #759739 !important;
  font-family: "Helvetica", sans-serif; background-color: #ffffff; padding: 0.5rem 1rem;
  border: 2px solid #759739; border-radius: 5px; display: inline-block;
}

.horizontal-scroll { display: flex; overflow-x: auto; gap: 1rem; padding-bottom: 0.5rem; width: 100%; min-width: 0; scrollbar-width: thin; scrollbar-color: #759739 #eee; }
.horizontal-scroll::-webkit-scrollbar { height: 6px; }
.horizontal-scroll::-webkit-scrollbar-track { background: #eee; }
.horizontal-scroll::-webkit-scrollbar-thumb { background-color: #759739; border-radius: 3px; }

.product-card { flex: 0 0 auto; width: 160px; background: #fff; border-radius: 0.5rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); padding: 0.5rem; text-align: center; transition: transform 0.3s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-thumb { width: 100%; height: auto; border-radius: 0.3rem; margin-bottom: 0.3rem; }
.product-title { font-size: 0.85rem; font-weight: 600; color: #444; line-height: 1.2; }

.see-all-link { margin-top: 0.6rem; font-size: 0.85rem; text-align: right; }
.see-all-link a { color: #759739; font-weight: 600; text-decoration: none; }
.see-all-link a:hover { text-decoration: underline; }
.see-all-link a::after { content: " →"; display: inline-block; margin-left: 0.25rem; transition: transform 0.2s ease; }
.see-all-link a:hover::after { transform: translateX(2px); }

.elementor-widget-container, .sidebar-block { min-width: 0 !important; overflow: visible !important; }
.horizontal-scroll { min-width: 0 !important; }


/* ===========================
   5) SECTIONS DOSSIER / ET AUSSI
   =========================== */

/* Première version (gardée pour compat, peut être surchargée plus bas) */
.featured-dossier { margin: 2rem 0; }
.featured-intro { text-align: center; max-width: 800px; margin: 0 auto 2rem auto; }
.featured-intro h3 { color: #759739; font-weight: 600; font-size: 1.2rem; text-transform: uppercase; }
.featured-intro h2 { font-size: 2rem; font-weight: 700; margin: 0.5rem 0; }
.dossier-grid { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem; }
.dossier-item { flex: 0 0 320px; background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 1rem; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; }
.dossier-item img { border-radius: 6px; width: 100%; height: auto; margin-bottom: 0.8rem; }
.dossier-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.dossier-item p { flex-grow: 1; font-size: 0.95rem; color: #444; margin-bottom: 1rem; }
.read-more-button { background: #759739; color: white; padding: 0.5rem 1rem; text-align: center; border-radius: 4px; display: inline-block; font-weight: bold; text-decoration: none; transition: background 0.3s ease; }
.read-more-button:hover { background: #5f812d; }

/* Version complète (override) */
.featured-dossier {
  background-color: #eeeeeb;
  padding: 3rem 1rem 2rem;
  border-top: 1px solid #ddd;
}
.featured-intro {
  max-width: 100%; margin: 0 auto 2rem; text-align: left; padding: 0 1rem;
}
.featured-intro h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #759739; margin-bottom: 0.3rem; font-weight: 600;
}
.featured-intro h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.8rem; color: #222; }
.featured-intro p { font-size: 1rem; color: #555; line-height: 1.5; max-width: 100%; margin: 0 auto; }

.dossier-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; max-width: 2500px; margin: 0 auto; padding: 0 1rem;
}
@media (min-width: 1400px) { .dossier-grid { grid-template-columns: repeat(6, 1fr); } }

.dossier-item {
  background-color: #fff; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; transition: transform 0.3s ease;
}
.dossier-item:hover { transform: translateY(-3px); }
.dossier-item img { width: 100%; height: auto; display: block; }
.dossier-item h4 { font-size: 1.1rem; font-weight: 700; color: #333; margin: 0.8rem 1rem 0.4rem; line-height: 1.3; }
.dossier-item p { font-size: 0.9rem; color: #666; margin: 0 1rem 1.2rem; line-height: 1.4; flex-grow: 1; }
.read-more-button { align-self: start; margin: 0 1rem 1.2rem; background-color: #759739; color: #fff; text-decoration: none; padding: 0.4rem 1rem; border-radius: 0.3rem; font-weight: 600; font-size: 0.85rem; transition: background-color 0.3s ease; }
.read-more-button:hover { background-color: #5e7f2b; }

@media (max-width: 480px) {
  .featured-dossier { padding: 2rem 0.5rem 1.5rem; }
  .featured-intro h2 { font-size: 1.5rem; }
  .featured-intro p { font-size: 0.95rem; }
  .dossier-item h4 { font-size: 1rem; margin: 0.6rem 0.8rem 0.3rem; }
  .dossier-item p { font-size: 0.85rem; margin: 0 0.8rem 1rem; }
  .read-more-button { margin: 0 0.8rem 1rem; padding: 0.35rem 0.8rem; font-size: 0.8rem; }
}
@media (max-width: 768px) {
  .dossier-grid { display: flex; overflow-x: auto; gap: 1rem; padding-inline: 1rem; }
  .dossier-item { flex: 0 0 auto; min-width: 260px; max-width: 80%; }
}

/* SECTION "ET AUSSI" */
.also-featured { background-color: #ffffff; padding: 3rem 1rem 2rem; border-top: 1px solid #ddd; }
.section-header { max-width: 100%; margin: 0 auto 2rem; text-align: left; }
.section-header h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.15em; color: #759739; margin-bottom: 0.3rem; font-weight: 600; }
.section-header p { font-size: 1rem; color: #333; }
.also-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; max-width: 2500px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1400px) { .also-grid { grid-template-columns: repeat(4, 1fr); } }
.also-item { background-color: #f9f9f9; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; transition: transform 0.3s ease; }
.also-item:hover { transform: translateY(-3px); }
.also-item img { width: 100%; height: auto; display: block; }
.also-item h4 { font-size: 1.05rem; font-weight: 700; color: #333; margin: 0.8rem 1rem 0.4rem; line-height: 1.3; }
.also-item p { font-size: 0.9rem; color: #666; margin: 0 1rem 1.2rem; line-height: 1.4; flex-grow: 1; }
.read-more-button { align-self: start; margin: 0 1rem 1.2rem; background-color: #759739; color: #fff; text-decoration: none; padding: 0.4rem 1rem; border-radius: 0.3rem; font-weight: 600; font-size: 0.85rem; transition: background-color 0.3s ease; }
.read-more-button:hover { background-color: #5e7f2b; }
@media (max-width: 480px) {
  .also-featured { padding: 2rem 0.5rem 1.5rem; }
  .section-header h3 { font-size: 0.9rem; }
  .section-header p { font-size: 0.95rem; }
  .also-item h4 { font-size: 1rem; margin: 0.6rem 0.8rem 0.3rem; }
  .also-item p { font-size: 0.85rem; margin: 0 0.8rem 1rem; }
  .read-more-button { margin: 0 0.8rem 1rem; padding: 0.35rem 0.8rem; font-size: 0.8rem; }
}


/* ===========================
   6) HEADER / BURGER / RECHERCHE
   =========================== */

/* Formulaire de recherche */
form[role="search"] { pointer-events: auto !important; z-index: 9999 !important; position: relative; }
form[role="search"] input[type="search"] {
  width: 100%; padding: 8px 12px; font-size: 16px; border: 1px solid #ccc; border-radius: 25px;
}

/* FIX chargement initial SVG header */
.hfe-nav-menu-icon svg, .logo-scroll svg, .cart-button img {
  width: 48px; height: 48px; max-width: 100%; max-height: 100%; display: inline-block; vertical-align: middle; object-fit: contain;
}
@media (max-width: 1024px) {
  .hfe-nav-menu-icon svg, .logo-scroll svg, .cart-button img { width: 36px; height: 36px; }
}
@media (max-width: 768px) {
  .hfe-nav-menu-icon svg, .logo-scroll svg, .cart-button img { width: 28px; height: 28px; }
}

/* MENU BURGER DYNAMIQUE (container overlay Elementor/HFE) */
.custom-burger-menu { position: relative; display: flex; align-items: center; max-height: 100%; min-height: 40px; flex: 1 1 auto; width: 100%; }
.burger-toggle { font-size: 40px !important; color: #fff !important; background: none; border: none; cursor: pointer; padding: 8px 12px; z-index: 11000; }

@media (max-width: 1024px) {
  .burger-nav {
    opacity: 0; visibility: hidden; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; background: rgba(255, 255, 255, 0.95);
    z-index: 10999; transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    padding: 40px 20px; box-sizing: border-box; backdrop-filter: blur(2px); pointer-events: auto;
  }
  .burger-nav.show { opacity: 1; visibility: visible; }
  .burger-nav ul { list-style: none; margin: 0; padding: 0; width: 100vw; text-align: center; position: relative; z-index: 2; }
  .burger-nav li { width: 100%; }
  .burger-nav li a {
    display: block; padding: 16px 24px; font-size: 20px; text-decoration: none; color: #333;
    border-bottom: 1px solid #ddd; text-align: center; transition: background 0.3s ease; word-break: break-word; width: 100%; background: transparent;
  }
  .burger-nav li a:hover { background: #f2f2f2; }
  .burger-nav::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: white; z-index: 1; }
  .elementor-container > .elementor-column:nth-child(1) { z-index: 10000; }
  .elementor-container > .elementor-column:nth-child(2) { z-index: 1; }
  .elementor-container > .elementor-column:nth-child(1) .elementor-widget-container { position: relative; z-index: 10000; }
  .burger-nav { width: 100vw !important; max-width: none !important; flex-grow: 1 !important; }
}

/* ICONES hover */
.hfe-nav-menu-icon { padding: 12px; display: flex; align-items: center; justify-content: center; }
.hfe-nav-menu-icon svg { transition: transform 0.3s ease, filter 0.3s ease; }
.hfe-nav-menu-icon svg:hover { transform: scale(1.1); filter: brightness(1.2); }
.cart-button img:hover, .cart-button:hover img, .hfe-nav-menu-icon:hover svg {
  transform: scale(1.1); transition: transform 0.3s ease; filter: brightness(1.2);
}

/* RESPONSIVE icônes connexion/panier */
@media (max-width: 450px) {
  .cart-button img[src*="LOGO-CONNEXION-2-1.svg"],
  .cart-button img[src*="LOGO-PANIER"] {
    width: 25px !important; height: 25px !important; max-width: 25px !important; max-height: 25px !important;
    object-fit: contain; display: inline-block; vertical-align: middle;
  }
}

/* BLOC PROMO */
.bloc-promo, .bloc-promo .promo-block { width: 100% ; max-width: 100% ; padding: 0 ; margin: 0 auto !important; box-sizing: border-box; min-height: 200px; }
.bloc-promo img { width: 100% !important; height: auto !important; display: block !important; max-width: 100% !important; box-sizing: border-box !important; }

/* HEADER STICKY OPTIMISÉ */
.header-sticky {
  opacity: 0; transform: translateY(-100%); pointer-events: none; position: fixed; top: 0; left: 0; right: 0;
  background: white; z-index: 9999; display: flex; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: opacity 1.9s ease, transform 1.9s ease; height: 60px; min-height: 60px; box-sizing: border-box;
}
.header-sticky.sticky-active { opacity: 1; transform: translateY(0); transition: opacity 1.9s ease, transform 1.9s ease; pointer-events: auto; }
.header-sticky:not(.sticky-active) > .logo-scroll,
.header-sticky:not(.sticky-active) > .cart-button { opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.3s ease, max-height 1.8s ease; }
.header-sticky.sticky-active > .logo-scroll { opacity: 1; max-height: 60px; transition: opacity 0.3s ease, max-height 1.8s ease; }
.header-top { position: relative !important; z-index: 1; }

/* FIX flash svg header */
.cart-button img, .header-sticky .logo-scroll svg, .header-sticky .cart-button svg, .hfe-nav-menu-icon svg {
  width: 36px; height: 36px; max-width: 36px; max-height: 36px; object-fit: contain; display: inline-block; vertical-align: middle; overflow: hidden; transition: none !important;
}

/* Annule marge/padding inutiles avant header + compensation */
header.site-header, #masthead, .header-sticky { margin-top: 0 !important; padding-top: 0 !important; top: 0 !important; }
.header-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }

main, .site-main, .primary, .ast-container, .content-area, .elementor-section, .sidebar, .widget-area, .elementor-section-wrap > .elementor-section {
  margin-top: 0 !important; padding-top: 30px !important;
}

/* Header fixe standardisé */
header.site-header, #masthead, .header-sticky {
  position: fixed !important; top: 0 !important; left: 0; right: 0; width: 100%; z-index: 9999; height: 100px; margin: 0 !important; padding: 0 !important;
}
/* Compensation par défaut */
main, .site-main, .primary, .ast-container, .content-area, .elementor-section, .sidebar, .widget-area, .elementor-section-wrap > .elementor-section {
  padding-top: 100px !important; margin-top: 0 !important; box-sizing: border-box;
}
/* Ajustement mobile */
@media screen and (max-width: 1024px) {
  header.site-header, #masthead, .header-sticky { height: 70px; }
  main, .site-main, .primary, .ast-container, .content-area, .elementor-section, .sidebar, .widget-area, .elementor-section-wrap > .elementor-section {
    padding-top: 30px !important;
  }
}

/* CONTAINER MENU BURGER (shortcode custom) */
.custom-burger-nav { position: relative; z-index: 9999; }
.burger-menu {
  position: absolute; top: 150%; left: -30px; width: 100vw; max-width: 450px; background-color: #fff;
  border: 2px solid #759739; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  visibility: hidden; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.3s ease, max-height 0.5s ease;
}
.burger-menu.active { visibility: visible; opacity: 0.95; max-height: 1000px; padding: 2rem 1rem 1.5rem 1rem; }
@media (max-width: 1024px) { .burger-menu { top: 140%; left: -20px; width: calc(100vw + 20px); } }
@media (max-width: 800px)  { .burger-menu { top: 120%; left: -15px; width: calc(100vw + 15px); } }
@media (max-width: 400px)  { .burger-menu { top: 110%; left: -10px; width: calc(100vw + 10px); } }

/* Formulaire dans le burger */
.search-form { order: -1; position: relative; max-width: 100%; margin-top: 0; margin-bottom: 0.5rem; box-sizing: border-box; }
.burger-wp-menu { list-style: none; margin: 0; padding: 0; }
.burger-wp-menu li { margin: 0; padding: 0; border-bottom: 1px solid #ccc; }
.burger-wp-menu li:last-child { border-bottom: 1px solid #ccc; }
.burger-wp-menu li a { display: block; padding: 1rem 1.5rem; color: #759739; text-decoration: none; font-size: 1.05rem; transition: background-color 0.2s ease, color 0.2s ease; }
.burger-wp-menu li a:hover, .burger-wp-menu li a:focus { background-color: #eef3e1; color: #759739; }
.search-field { width: 100%; padding: 10px 44px 10px 16px; border: 1px solid #ccc; border-radius: 25px; font-size: 1rem; box-sizing: border-box; }
.search-field::placeholder { font-size: 0.8rem; opacity: 0.9; }
.search-submit { position: absolute; top: 50%; right: 1.5rem; transform: translateY(-50%); background: transparent !important; border: none !important; box-shadow: none !important; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-submit .svg-icon { width: 20px; height: 20px; object-fit: contain; display: block; }

/* SVG MENU BURGER */
.svg-icon[src*="MENU-BURGEUR.svg"] { width: 45px; height: 45px; max-width: 45px; max-height: 45px; object-fit: contain; display: inline-block; vertical-align: middle; }
@media (max-width: 1024px) { .svg-icon[src*="MENU-BURGEUR.svg"] { width: 38px; height: 38px; max-width: 38px; max-height: 38px; } }
@media (max-width: 600px)  { .svg-icon[src*="MENU-BURGEUR.svg"] { width: 32px; height: 32px; max-width: 32px; max-height: 32px; } }


/* ===========================
   7) CATEGORIES (footer d’article)
   =========================== */

.article-categories-footer {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #ddd; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.categories-scroll { display: flex; flex-wrap: wrap; gap: 0.5rem; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.categories-scroll::-webkit-scrollbar { display: none; }
.category-item {
  display: inline-block; background-color: #f0f0f0; color: #333; text-decoration: none;
  padding: 6px 14px; border-radius: 20px; font-size: clamp(12px, 1.2vw, 14px);
  text-transform: uppercase; letter-spacing: 0.04em; transition: all 0.3s ease; white-space: nowrap; flex-shrink: 0;
}
.category-item:hover { background-color: #333; color: #fff; }


/* ===========================
   8) IMAGE MISE EN AVANT (shortcode)
   =========================== */

.pn-hero-image { margin: 0 auto 1rem auto; max-width: 100%; display: block; }
.pn-hero-image img { width: 100%; height: auto; display: block; object-fit: cover; }
.pn-image-caption { text-align: left; font-size: 0.85rem; color: #666; margin-top: 0.6rem; font-style: normal; line-height: 1.4; }
@media (max-width: 480px) { .pn-image-caption { font-size: 0.70rem; margin-top: 0.5rem; line-height: 1.3; } }


/* ===========================
   9) FIXES Elementor / mise en page
   =========================== */

@media (max-width: 1100px) {
  .elementor-element-dc39643 { flex-direction: column !important; }
  .elementor-element-4f6637d { order: 1; width: 100% !important; }
  .elementor-element-e098f13 { order: 2; width: 100% !important; margin-top: 2rem; }
}

/* === SCROLLBAR visible pour .dossier-grid.scroll-horizontal === */
.dossier-grid.scroll-horizontal {
  display: flex !important; gap: 2rem !important; overflow-x: auto !important; overflow-y: hidden !important;
  scroll-behavior: smooth !important; padding-bottom: 1rem !important; scrollbar-width: thin !important; scrollbar-color: #759739 #eee !important;
}
.dossier-grid.scroll-horizontal::-webkit-scrollbar { height: 8px !important; }
.dossier-grid.scroll-horizontal::-webkit-scrollbar-track { background: #eee !important; border-radius: 4px !important; }


/* ===========================
   10) CONTENU issu de l’ancien style.css (Astra Child)
   — Blocs nécessaires uniquement : lettrine, flouté, icônes menu,
     petites règles Woo, responsive et commentaires.
   =========================== */

/* === LETTRINE === */
.lettrine {
  font-size: 3.5em;
  font-weight: bold;
  float: left;
  margin-right: 6px;
  line-height: 0.9;
  clear: both;
}

/* === MISE EN PAGE (légacy — conservé si utilisé) === */
.container { width: 80%; }
.content-with-sidebar { margin: 0 auto; }
header, .footer { align-self: stretch; }

/* === WOO BOUTIQUE (champ de recherche legacy) === */
.woocommerce-product-search input.search-field {
  border: 2px solid #ddd;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  max-width: 400px;
  margin: 0 100px;
}
.woocommerce-product-search button {
  background-color: #007cba;
  color: white;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.woocommerce-product-search button:hover { background-color: #005b8d; }
.boutique-section { margin-top: 40px; padding: 20px; border: 1px solid #ddd; border-radius: 5px; }
.boutique-section h2 {
  font-size: 24px; color: var(--pmn-gris); margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px;
}
.boutique-nav a { text-decoration: none; color: #007cba; padding-right: 20px; }
.boutique-nav a:hover { text-decoration: underline; color: #005b8d; }

/* === CONTENU FLOUTÉ (shortcode [contenu_floute]) === */
.flou-fin-texte,
.contenu-floute-wrapper { position: relative; overflow: hidden; }
.flou-fin-texte::after,
.contenu-floute-wrapper::after {
  content: '';
  position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 20%, rgba(255,255,255,1));
  pointer-events: none; z-index: 2;
}
.texte-flou,
.contenu-floute-inner {
  position: relative; z-index: 1; max-height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* === RESPONSIVE MOBILE (legacy Astra tweaks) === */
@media (max-width: 768px) {
  .boutique-wrapper { flex-direction: column; }
  .boutique-sidebar { margin-bottom: 20px; }
  .ast-container, .ast-content, .ast-site-identity, .ast-footer { margin-left: 0 !important; margin-right: 0 !important; }
  .ast-container { padding-left: 10px !important; padding-right: 10px !important; }
  .aioseo-breadcrumbs { font-size: 10px; }
  .page-title.ast-archive-title { font-size: 32px; }
  .agenda-sidebar .bloc-promo { display: block !important; }
}

/* Commentaires */
.comments-area { max-width: 800px; margin: 3em auto; text-align: center; }

/* ============================================================
   Icônes menu (SVG data-URI) : Astra / Elementor / HFE / Burger
   Couleur : #759739 — Taille par défaut : 22px
   Classes : articles, boutique, agenda, apropos, contact
   ============================================================ */
:root{
  --pn-ic-size: 22px;
  --pn-ic-gap: 12px;

  /* Icônes encodées */
  --ic-articles:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23759939' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='4' width='14' height='16' rx='2'/%3E%3Cpath d='M7 8h6M7 12h6M7 16h4'/%3E%3Cpath d='M17 8h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H7'/%3E%3C/svg%3E");
  --ic-boutique:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23759939' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8h12l-1 10a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
  --ic-agenda:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23759939' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18'/%3E%3Cpath d='M9.5 15.5h5v4h-5z'/%3E%3C/svg%3E");
  --ic-apropos:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23759939' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='M12 7.5h.01'/%3E%3C/svg%3E");
  --ic-contact:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23759939' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.86.34 1.7.66 2.5a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.58-1.18a2 2 0 0 1 2.11-.45c.8.32 1.64.54 2.5.66A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* Base universelle + pseudo-élément */
li.articles > a,
li.boutique > a,
li.agenda > a,
li.apropos > a,
li.contact > a,
li.articles > a.elementor-item,
li.boutique > a.elementor-item,
li.agenda > a.elementor-item,
li.apropos > a.elementor-item,
li.contact > a.elementor-item,
li.articles > a.hfe-menu-item,
li.boutique > a.hfe-menu-item,
li.agenda > a.hfe-menu-item,
li.apropos > a.hfe-menu-item,
li.contact > a.hfe-menu-item{
  position: relative;
  padding-left: calc(var(--pn-ic-size) + var(--pn-ic-gap)) !important;
}
li.articles > a::before,
li.boutique > a::before,
li.agenda > a::before,
li.apropos > a::before,
li.contact > a::before,
li.articles > a.elementor-item::before,
li.boutique > a.elementor-item::before,
li.agenda > a.elementor-item::before,
li.apropos > a.elementor-item::before,
li.contact > a.elementor-item::before,
li.articles > a.hfe-menu-item::before,
li.boutique > a.hfe-menu-item::before,
li.agenda > a.hfe-menu-item::before,
li.apropos > a.hfe-menu-item::before,
li.contact > a.hfe-menu-item::before{
  content:"";
  position:absolute; left:0; top:50%;
  width:var(--pn-ic-size); height:var(--pn-ic-size);
  transform:translateY(-50%);
  background-repeat:no-repeat; background-position:center; background-size:var(--pn-ic-size) var(--pn-ic-size);
  pointer-events:none;
}

/* Mapping */
li.articles > a::before{ background-image:var(--ic-articles); }
li.boutique > a::before{ background-image:var(--ic-boutique); }
li.agenda   > a::before{ background-image:var(--ic-agenda); }
li.apropos  > a::before{ background-image:var(--ic-apropos); }
li.contact  > a::before{ background-image:var(--ic-contact); }

/* Astra (desktop + off-canvas) */
.ast-desktop .main-header-menu > .menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu > .menu-item > .menu-link{
  position:relative;
  padding-left: calc(var(--pn-ic-size) + var(--pn-ic-gap)) !important;
}
.ast-desktop .main-header-menu > .menu-item.articles  > .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.articles  > .menu-link::before{ background-image:var(--ic-articles) !important; }
.ast-desktop .main-header-menu > .menu-item.boutique  > .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.boutique  > .menu-link::before{ background-image:var(--ic-boutique) !important; }
.ast-desktop .main-header-menu > .menu-item.agenda    > .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.agenda    > .menu-link::before{ background-image:var(--ic-agenda) !important; }
.ast-desktop .main-header-menu > .menu-item.apropos   > .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.apropos   > .menu-link::before{ background-image:var(--ic-apropos) !important; }
.ast-desktop .main-header-menu > .menu-item.contact   > .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.contact   > .menu-link::before{ background-image:var(--ic-contact) !important; }

/* Elementor / HFE */
.elementor-nav-menu--main .menu-item > .elementor-item,
.hfe-nav-menu .menu-item > a.hfe-menu-item{
  position:relative;
  padding-left: calc(var(--pn-ic-size) + var(--pn-ic-gap)) !important;
}
.elementor-nav-menu--main .menu-item > .elementor-item::before,
.hfe-nav-menu .menu-item > a.hfe-menu-item::before{
  content:"";
  position:absolute; left:0; top:50%;
  width:var(--pn-ic-size); height:var(--pn-ic-size); transform:translateY(-50%);
  background-repeat:no-repeat; background-position:center; background-size:var(--pn-ic-size) var(--pn-ic-size);
}

/* Menu burger custom */
.burger-menu .burger-wp-menu li > a{
  position:relative;
  padding-left: calc(var(--pn-ic-size) + var(--pn-ic-gap)) !important;
}
.burger-menu .burger-wp-menu li > a::before{
  content:""; position:absolute; left:0; top:50%;
  width:var(--pn-ic-size); height:var(--pn-ic-size);
  transform:translateY(-50%);
  background-repeat:no-repeat; background-position:center; background-size:var(--pn-ic-size) var(--pn-ic-size);
}
.burger-menu .burger-wp-menu li.articles  > a::before{ background-image:var(--ic-articles) !important; }
.burger-menu .burger-wp-menu li.boutique  > a::before{ background-image:var(--ic-boutique) !important; }
.burger-menu .burger-wp-menu li.agenda    > a::before{ background-image:var(--ic-agenda) !important; }
.burger-menu .burger-wp-menu li.apropos   > a::before{ background-image:var(--ic-apropos) !important; }
.burger-menu .burger-wp-menu li.contact   > a::before{ background-image:var(--ic-contact) !important; }

/* États (survol) */
li.articles > a:hover,
li.boutique > a:hover,
li.agenda > a:hover,
li.apropos > a:hover,
li.contact > a:hover,
.burger-menu .burger-wp-menu li > a:hover{
  color:#759739 !important;
}

/* Ajustement mobile icônes */
@media (max-width: 600px){ :root{ --pn-ic-size: 20px; } }


/* ===== Bloc abonnement ===== */
.subscription-block {
  background: #f6f7f4;
  border: 1px solid #e3e6dc;
  border-radius: 8px;
  padding: 1.75rem;
  margin: 2rem 0;
}

.subscription-block h2 {
  margin: 0 0 1rem 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: #222;
  text-transform: none;
}

/* Cartes */
.subscription-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.subscription-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.subscription-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.subscription-card h4 {
  margin: 0 0 .25rem 0;
  font-size: 1.05rem;
  color: #333;
}

/* Prix */
.subscription-card .price {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.subscription-card .price .new {
  font-size: 1.4rem;
  font-weight: 700;
  color: #759739; /* vert PN */
}

.subscription-card .price .old {
  font-size: .95rem;
  color: #999;
  text-decoration: line-through;
}

/* Bouton */
.subscription-card .btn {
  display: inline-block;
  align-self: flex-start;
  background: #759739;
  color: #fff;
  text-decoration: none;
  padding: .55rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background .2s ease, transform .05s ease-in;
}

.subscription-card .btn:hover {
  background: #5e7f2b;
}

.subscription-card .btn:active {
  transform: translateY(1px);
}

/* Lignes info */
.subscription-block .zone-label {
  margin: 1rem 0 0;
  font-size: .95rem;
  color: #555;
  font-style: italic;
}

.subscription-block .disclaimer {
  margin: .25rem 0 0;
}

.subscription-block .see-more-link {
  color: #759739;
  font-weight: 600;
  text-decoration: none;
}

.subscription-block .see-more-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 720px) {
  .subscription-cards {
    grid-template-columns: 1fr;
  }
}

/* Masquer la barre mobile sur les écrans desktop */
@media (min-width: 1025px) {
  .pn-mobile-bar {
    display: none !important;
  }
}
/* PN — Fondu progressif du bandeau (piloté par --pn-hide) */
.elementor-element-3d9f43d,
[data-id="3d9f43d"]{
  /* Valeur par défaut si le JS ne s’est pas encore exécuté */
  --pn-hide: 0; /* 0 = visible, 1 = masqué */
  opacity: calc(1 - var(--pn-hide));
  transform: translateY(calc(-12px * var(--pn-hide)));
  backface-visibility: hidden;
  transform: translateZ(0) translateY(calc(-12px * var(--pn-hide)));
  /* On garde une transition très légère pour lisser les micro-variations */
  transition: opacity .15s linear, transform .15s linear;
  will-change: opacity, transform;
}

/* Accessibilité : réduit/retire l’animation si demandé */
@media (prefers-reduced-motion: reduce){
  .elementor-element-3d9f43d,
  [data-id="3d9f43d"]{
    transition: none !important;
  }
}
/* ===== FOOTER PATRIMOINE NORMAND — ID = #pn-site-footer ===== */

/* 1) Base */
#pn-site-footer.pn-footer {
  color: #e8e8e8;
  padding: 3rem 1.5rem 1.5rem;
  font-size: .95rem;
  line-height: 1.6;
  text-align: left !important;
  position: relative; /* requis pour ::before */
  isolation: isolate;
  overflow: hidden;
  z-index: 5;
}

#pn-site-footer.pn-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color .25s ease;
}

#pn-site-footer.pn-footer a:hover {
  color: #ffffff;
}

/* 2) Fond (gradient vert + liseré) */
#pn-site-footer.pn-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, #759739 0%, #678335 100%);
  border-top: 3px solid #a6a8a1;
  pointer-events: none;
}

/* Garantit que le contenu passe au-dessus de ::before */
#pn-site-footer.pn-footer > * {
  position: relative;
  z-index: 1;
}

/* 3) Apparition douce (optionnel) */
#pn-site-footer.pn-footer {
  opacity: 0;
  transform: translateY(20px);
  animation: pnFooterFadeIn .8s ease-out .2s forwards;
}

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

/* 4) Grille interne */
#pn-site-footer .pn-footer-wrap {
  margin: 0 auto;
 max-width:1987px;   /* ← AJOUT SEUL ICI */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#pn-site-footer .pn-footer-col {
  flex: 1 1 0;
}

/* Colonne gauche */
#pn-site-footer .pn-footer-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  opacity: .95;
}

/* Visuel "le-magazine.svg" */
#pn-site-footer .pn-footer-tagline-img {
  margin: .5rem 0 1.5rem;
  background: #ffffff;
  text-align: center;
  padding: 0;
}

#pn-site-footer .pn-footer-tagline-img img {
  width: 95%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

#pn-site-footer .pn-footer-tagline {
  margin: .75rem 0 1rem;
  color: #ffffff;
}

#pn-site-footer .pn-footer-mini ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#pn-site-footer .pn-footer-social {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

#pn-site-footer .pn-footer-social a {
  display: inline-flex;
  line-height: 0;
  opacity: .9;
  transition: opacity .2s;
}

#pn-site-footer .pn-footer-social a:hover {
  opacity: 1;
}

/* Liens communs */
#pn-site-footer .pn-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

#pn-site-footer .pn-footer-links a {
  display: inline-block;
}

/* Bouton CTA (texte noir) */
#pn-site-footer .pn-footer-cta {
  font-weight: 700;
  background: #f1d935;
  color: #000 !important;
  padding: .45rem .8rem;
  border-radius: 6px;
  transition: background .3s;
}

#pn-site-footer .pn-footer-cta:hover {
  background: #eaeaea;
  color: #000;
}

/* Bas de page */
#pn-site-footer .pn-footer-bottom {
  margin: 2rem auto 0;
    max-width:1987px;    /* ← AJOUT ICI */
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .35);
  text-align: center;
  font-size: .85rem;
  color: #f0f0f0;
}

#pn-site-footer .pn-footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, .5);
}

#pn-site-footer .pn-footer-bottom a:hover {
  border-bottom-color: rgba(255, 255, 255, .9);
}

/* 5) Tablette/Desktop : 3 colonnes */
@media (min-width:768px) {
  #pn-site-footer .pn-footer-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr; /* gauche plus large */
    gap: 3rem;
    align-items: flex-start;
  }

  /* Séparateurs verticaux entre colonnes */
  #pn-site-footer .pn-footer-col {
    position: relative;
  }

  #pn-site-footer .pn-footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1.5rem;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, .35);
  }
}

/* Accessibilité : réduit l’animation si demandé */
@media (prefers-reduced-motion: reduce) {
  #pn-site-footer.pn-footer {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Logo footer — container lien */
.pn-footer-logo {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Séparateurs verticaux entre les liens du footer mini */
#pn-site-footer .pn-footer-mini ul li {
  position: relative;
  padding-right: 0.8rem;
}

#pn-site-footer .pn-footer-mini ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

/* Lignes horizontales sur mobile : après colonne 1 ET colonne 2 uniquement */
@media (max-width: 767.98px) {
  #pn-site-footer .pn-footer-col-left,
  #pn-site-footer .pn-footer-col-mid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2rem;
  }
}
/* ===== Icônes blanches pour 5 liens du footer ===== */
:root{
  /* SVG en data-URI (blanc) */
  --pn-ic-contact:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.86.34 1.7.66 2.5a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.58-1.18a2 2 0 0 1 2.11-.45c.8.32 1.64.54 2.5.66A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --pn-ic-apropos:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  --pn-ic-annonceurs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l18-5v12l-18-5z'/%3E%3Cpath d='M11 19V7'/%3E%3C/svg%3E"); /* mégaphone */
  --pn-ic-explorer:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M16 8l-4 8-4-4 8-4z'/%3E%3C/svg%3E"); /* boussole */
  --pn-ic-boutique:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 10a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
}

/* Style commun : icône-bullet à gauche du texte */
#pn-site-footer .pn-icon{
  position: relative;
  padding-left: 28px;            /* place pour l’icône */
  display: inline-block;
  line-height: 1.2;
}
#pn-site-footer .pn-icon::before{
  content:"";
  position:absolute; left:0; top:50%;
  width: 18px; height: 18px;     /* taille icône */
  transform: translateY(-50%);
  background: no-repeat center/18px 18px;
  opacity: .95;
}

/* Mapping classes -> SVG */
#pn-site-footer .pn-ic-contact::before    { background-image: var(--pn-ic-contact); }
#pn-site-footer .pn-ic-apropos::before    { background-image: var(--pn-ic-apropos); }
#pn-site-footer .pn-ic-annonceurs::before { background-image: var(--pn-ic-annonceurs); }
#pn-site-footer .pn-ic-explorer::before   { background-image: var(--pn-ic-explorer); }
#pn-site-footer .pn-ic-boutique::before   { background-image: var(--pn-ic-boutique); }

/* Décor SVG en fond, à droite du footer */
#pn-site-footer .pn-footer-bg{
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(520px, 45vw); /* taille par défaut */
  pointer-events: none;
  z-index: 0;
}

#pn-site-footer .pn-footer-bg svg{
  display: block;
  width: 100%;
  height: auto;
}

/* Palier 1 : réduire un peu sous 2058px */
@media (max-width:2058px){
  #pn-site-footer .pn-footer-bg{
    width: min(420px, 33vw);
  }
}

/* Palier 2 : réduire encore sous 1832px */
@media (max-width:1832px){
  #pn-site-footer .pn-footer-bg{
    width: min(350px, 30vw);
  }
}

/* Mobile : on allège totalement */
@media (max-width:768px){
  #pn-site-footer .pn-footer-bg{
    width: auto;
  }
}



/* -------- Définition commune -------- */
#pn-site-footer .pn-footer-bottom {
  position: relative;
  border-top: none;
}

#pn-site-footer .pn-footer-bottom::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  height:1px;
  background:rgba(255,255,255,.35);
  width:60%;         /* valeur par défaut */
}

/* -------- Ajustements par seuil -------- */
@media (min-width:1273px){
  #pn-site-footer .pn-footer-bottom::before { width:70%; }
}

@media (min-width:1987px){
  #pn-site-footer .pn-footer-bottom::before { width:80%; }
}
/* ================================
   PN — Page À propos (scoped)
   ================================ */
.pn-apropos{
  --pn-green:#759739; /* contrasté AA */
  --pn-text:#2b2b2b;
  --pn-muted:#6b7280;
  --pn-bg-soft:#f7f7f5;
  --pn-radius:16px;
  --pn-shadow:0 8px 24px rgba(0,0,0,.06);
}

/* Containers & layout */
.pn-apropos .pn-section{ padding: clamp(1.5rem, 2.5vw, 2.5rem) 1rem; }
.pn-apropos .pn-container{ max-width:1200px; margin:0 auto; }
.pn-apropos .pn-grid{ display:grid; gap:clamp(18px, 2.5vw, 28px); }
.pn-apropos .pn-grid--2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.pn-apropos .pn-grid--4{ grid-template-columns:repeat(4, minmax(0,1fr)); }
@media (max-width:980px){
  .pn-apropos .pn-grid--2, .pn-apropos .pn-grid--4{ grid-template-columns:1fr; }
}

/* HERO — fond sans filtre global, encadré lisible */
.pn-apropos .pn-hero{
  position:relative;
  color:#fff;
  background-image:var(--pn-hero-bg, none);
  background-size:cover;
  background-position:center;
  isolation:isolate;
  text-align:center;
  padding:clamp(3.5rem, 7vw, 8rem) 1rem;
}

/* Pas de voile global */
.pn-apropos .pn-hero::before,
.pn-apropos .pn-hero .pn-hero-scrim{ display:none !important; }

/* Encadré sombre translucide pour lisibilité */
.pn-apropos .pn-hero-box{
  display:inline-block;
background: linear-gradient(357deg, rgb(0 0 0) 0%, rgb(0 0 0 / 46%) 100%);
  border-radius:1px;
  border:1px solid rgba(255,255,255,.06);
  padding:clamp(1rem, 2vw, 1.6rem) clamp(1.25rem, 2.5vw, 2rem);
  box-shadow:0 6px 24px rgba(0,0,0,.25);
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}

/* Titres et textes du hero */
.pn-apropos .pn-hero-title{ margin:0 0 .35rem; line-height:1.1; }
.pn-apropos .pn-hero-baseline{ margin:.15rem 0 .35rem; font-size:clamp(1.1rem, 1.7vw, 1.25rem); letter-spacing:.2px; }
.pn-apropos .pn-hero-kicker{ margin:.15rem 0 .3rem; opacity:.97; font-size:clamp(1.05rem, 1.6vw, 1.25rem); max-width:68ch; }
.pn-apropos .pn-hero-subtitle{ margin:0; max-width:68ch; opacity:.9; font-size:clamp(1rem, 1.5vw, 1.125rem); }
.pn-apropos .pn-hero-meta{ margin:.5rem 0 0; }

/* CTA sous la boîte */
.pn-apropos .pn-hero-ctas{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:20px;
}

/* Boutons */
.pn-apropos .pn-btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; text-decoration:none; line-height:1;
  padding:.85rem 1.2rem; min-height:44px;
  border-radius:999px; border:2px solid transparent;
  transition:transform .14s ease, box-shadow .14s ease, background-color .14s ease, color .14s ease, border-color .14s ease;
  will-change:transform;
}
.pn-apropos .pn-btn--primary{ background:var(--pn-green); color:#fff; }
.pn-apropos .pn-btn--primary:hover{ transform:translateY(-1px); box-shadow:var(--pn-shadow); }
.pn-apropos .pn-btn--ghost{
  background:#fff; color:var(--pn-green); border-color:var(--pn-green);
}
.pn-apropos .pn-btn--ghost:hover{
  background:color-mix(in srgb, var(--pn-green) 16%, #fff);
  transform:translateY(-1px);
}

/* Focus visible (accessibilité) */
.pn-apropos .pn-btn:focus-visible{
  outline:3px solid #ffffff;
  outline-offset:2px;
  box-shadow:0 0 0 4px color-mix(in srgb, var(--pn-green) 60%, #0000);
}
:focus-visible{ outline-offset:2px; }

/* Cartes & éléments doux */
.pn-apropos .pn-card{
  background:#fff; border-radius:var(--pn-radius);
  box-shadow:var(--pn-shadow);
  padding:clamp(1rem, 2.2vw, 1.5rem);
}
.pn-apropos .pn-card--soft{ background:var(--pn-bg-soft); box-shadow:none; }

/* Typo helpers */
.pn-apropos .muted{ color:var(--pn-muted); }
.pn-apropos h2{ font-size:clamp(1.5rem, 2.4vw, 2rem); margin:0 0 .75rem; color:var(--pn-text); }
.pn-apropos h3{ font-size:clamp(1.1rem, 1.6vw, 1.25rem); margin:.25rem 0 .5rem; color:var(--pn-text); }

/* Valeurs (2 par ligne) */
.pn-apropos .pn-values-grid{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(14px, 2vw, 20px); align-items:stretch;
}
@media (max-width:720px){
  .pn-apropos .pn-values-grid{ grid-template-columns:1fr; }
}
.pn-apropos .pn-value{
  background:#fff; border-radius:var(--pn-radius);
  padding:1.25rem; box-shadow:var(--pn-shadow);
}
.pn-apropos .pn-value-ic{ font-size:1.5rem; line-height:1; margin-bottom:.35rem; }
.pn-apropos .pn-value-ic svg{ width:28px; height:28px; color:var(--pn-green); }

/* Réseaux — zone tap & focus */
.pn-apropos .pn-socials a{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:999px;
}
.pn-apropos .pn-socials a:focus-visible{
  outline:3px solid #fff; outline-offset:2px;
  box-shadow:0 0 0 4px color-mix(in srgb, var(--pn-green) 60%, #0000);
}

/* Partenaires */
.pn-apropos .pn-logos{
  display:grid; gap:18px; grid-template-columns:repeat(4, minmax(0,1fr));
  align-items:center; justify-items:center;
}
.pn-apropos .pn-logos img,
.pn-apropos .pn-logos svg{
  width:100%; max-width:220px; height:auto; display:block; margin-inline:auto;
  transition:transform .14s ease;
}
@media (max-width:980px){
  .pn-apropos .pn-logos{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (hover:hover){
  .pn-apropos .pn-logos a:hover img,
  .pn-apropos .pn-logos a:hover svg{ transform:translateY(-1px); }
}

/* KPIs */
.pn-apropos .pn-kpis{ background:#fff; }
.pn-apropos .pn-kpis-grid{
  display:grid; gap:16px; grid-template-columns:repeat(4, minmax(0,1fr));
}
.pn-apropos .pn-kpi{
  background:var(--pn-bg-soft); border-radius:14px; padding:1.35rem 1.1rem; text-align:center;
}
.pn-apropos .pn-kpi-num{
  font-weight:800; font-size:clamp(1.25rem, 2.4vw, 1.75rem); line-height:1.1; color:var(--pn-green);
}
.pn-apropos .pn-kpi-label{
  margin-top:.35rem; color:var(--pn-muted); font-size:.95rem; line-height:1.25;
}
@media (max-width:980px){
  .pn-apropos .pn-kpis-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:520px){
  .pn-apropos .pn-kpis-grid{ grid-template-columns:1fr; }
  .pn-apropos .pn-kpi{ padding:1rem; }
}

/* CTA final */
.pn-apropos .pn-cta{ background:#0f1a0a; color:#fff; }
.pn-apropos .pn-cta-inner{ text-align:center; }
.pn-apropos .pn-cta .pn-btn--ghost{ border-color:rgba(255,255,255,.65); color:#fff; }
.pn-apropos .pn-cta .pn-btn--ghost:hover{ background:rgba(255,255,255,.08); }

/* Helpers divers */
.screen-reader-text{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* Figcaption */
.pn-apropos figcaption{
  text-align:center; color:var(--pn-muted);
  margin-top:.5rem; font-size:.95rem; font-style:normal;
}

/* Accessibilité: mouvements réduits */
@media (prefers-reduced-motion: reduce){
  .pn-apropos .pn-btn,
  .pn-apropos .pn-logos img,
  .pn-apropos .pn-value,
  .pn-apropos .pn-kpi{ transition:none !important; }
}
/* Figcaption : centrée + gris doux (si pas déjà fait) */
.pn-apropos .pn-cover-figure .pn-figcaption{
  margin-top:.5rem; text-align:center; color: var(--pn-muted); font-size:.95rem;
}

/* KPI en version “inline” (dans une colonne) : grille 2 colonnes */
.pn-apropos .pn-kpis--inline .pn-kpis-grid{
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: .75rem;
}
@media (max-width: 520px){
  .pn-apropos .pn-kpis--inline .pn-kpis-grid{ grid-template-columns: 1fr; }
}

/* Allège un peu le fond des KPI en colonne (optionnel) */
.pn-apropos .pn-kpis--inline .pn-kpi{
  background: #fff; /* ou var(--pn-bg-soft) selon préférence */
}

/* HERO — Style Annonceurs / À propos */
.pa-hero {
  position: relative;
  color: #fff;
  text-align: center;
  background-image: var(--pn-hero-bg, none);
  background-size: cover;
  background-position: center;
  padding: clamp(4rem, 8vw, 9rem) 1rem;
  isolation: isolate;
}

.pa-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 70%) 0%, rgb(0 0 0 / 45%) 100%);
  z-index: 0;
}

.pa-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}

.pa-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pa-hero em {
  font-style: italic;
  color: var(--pn-green, #a4c264);
}

.pa-hero .pa-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 1rem;
}

.pa-hero .pa-desc {
  color: #d1d5db;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  max-width: 860px;
  margin: 1rem auto 1.5rem;
}

.pa-hero .pa-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1rem;
}

.pa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
  border: 2px solid transparent;
}

.pa-btn-primary {
  background: var(--pn-green, #759739);
  color: #fff;
}

.pa-btn-primary:hover {
  background: color-mix(in srgb, var(--pn-green) 85%, #fff);
  transform: translateY(-1px);
}

.pa-btn {
  background: transparent;
  color: var(--pn-green, #759739);
  border-color: var(--pn-green, #759739);
}

.pa-btn:hover {
  background: color-mix(in srgb, var(--pn-green) 12%, transparent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .pa-hero h1 { font-size: 1.8rem; }
  .pa-hero .pa-desc { font-size: 0.95rem; }
}
/* === À PROPOS — HERO & BOUTONS = mêmes styles que Annonceurs === */
.pn-apropos .pa-hero{
  background: #f4f6f0 var(--pa-hero-bg) center / cover no-repeat;
  position: relative;
  padding: 72px 1rem 48px;
  text-align: center;
  margin-bottom: 3rem;
}
.pn-apropos .pa-hero h1{
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: #111;
  margin: 0 0 .5rem;
  font-weight: 700;
}
.pn-apropos .pa-hero em{ color:#759739; font-style: normal; }
.pn-apropos .pa-subtitle{ color:#6b7280; font-size:1.1rem; margin-bottom:1.5rem; }

/* Boîte blanche autour du texte (copie exacte d’Annonceurs) */
.pn-apropos .pa-hero-inner{
  background: rgba(255,255,255,.95);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 24px 24px 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@supports (backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px)){
  .pn-apropos .pa-hero-inner{
    backdrop-filter: blur(2px) saturate(115%);
    -webkit-backdrop-filter: blur(2px) saturate(115%);
  }
}

/* Boutons = mêmes styles que Annonceurs */
.pn-apropos .pa-cta{ margin-top: 1rem; }
.pn-apropos .pa-btn{
  display:inline-block;
  padding:.75rem 1.25rem;
  border-radius:8px;
  border:1px solid #d1d5db;
  background:#fff;
  color:#111;
  text-decoration:none;
  font-weight:500;
  transition:all .25s ease;
}
.pn-apropos .pa-btn:hover{ background:#f3f4f6; }
.pn-apropos .pa-btn.pa-btn-primary{
  background:#759739;
  color:#fff;
  border-color:#759739;
}
.pn-apropos .pa-btn.pa-btn-primary:hover{ opacity:.9; }

/* Responsive identique */
@media (max-width:768px){
  .pn-apropos .pa-hero{ padding:48px 1rem 28px; }
  .pn-apropos .pa-hero-inner{ padding:16px 14px; border-radius:12px; }
  .pn-apropos .pa-btn,
  .pn-apropos .pa-btn.pa-btn-primary{ width:100%; text-align:center; }
}

/* ============================
   PN — ARTICLE NATIF (minimal)
   ============================ */

/* Conteneur générique (si tu en as déjà un, garde le tien) */
.pn-container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Titre, sous-titre, méta */
.pn-article-header { padding: 1.5rem 0 1rem; border-bottom: 1px solid #e5e7eb; }
.pn-article-title { font-size: clamp(1.9rem, 2.5vw, 2.5rem); line-height: 1.2; margin: 0 0 .5rem; }
.pn-article-subtitle { font-size: 1.15rem; color: #555; margin: 0 0 .75rem; }
.pn-article-meta { font-size: .95rem; color: #6b7280; display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.pn-article-meta .pn-meta-item { white-space: nowrap; }
.pn-meta-share { margin-left: auto; display: inline-flex; gap: .5rem; }
.pn-share { font-size: .9rem; text-decoration: none; border-bottom: 1px dashed transparent; }
.pn-share:hover { border-color: currentColor; }

/* Image d’ouverture */
.pn-opening-figure { margin: 1rem 0 1.25rem; }
.pn-opening-img { width: 100%; height: auto; display: block; }
.pn-opening-caption { font-size: .9rem; color: #6b7280; margin-top: .5rem; }

/* Chapô */
.pn-chapo { margin: 1rem auto 1.25rem; }
.pn-chapo-text { font-size: 1.1rem; line-height: 1.7; color: #262626; }

/* Corps + lettrine (uniquement le 1er paragraphe) */
.pn-article-body { margin: 1.25rem auto; }
.pn-body-main { font-size: 1.06rem; line-height: 1.8; color: #1f2937; }
.pn-dropcap p:first-of-type::first-letter {
  float: left; font-size: 3.2rem; line-height: .8; padding: .15rem .45rem 0 0;
  font-weight: 700; color: #2f4f2f; /* PN vert foncé (adapte si besoin) */
}

/* Bloc flouté (contenu après <!--more-->) */
.pn-body-blurred {
  filter: blur(5px);
  pointer-events: none; user-select: none;
  position: relative; margin-top: 1rem;
}
.pn-body-blurred::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.9) 40%, #fff 85%);
}

/* Cartouche CTA “Lire la suite / Commander” */
.pn-cta-readmore { margin: 1.25rem auto 1.75rem; }
.pn-cta-inner {
  border: 1px solid #e5e7eb; border-left: 6px solid #759739; background: #fafdf7;
  padding: 1rem 1rem; border-radius: 12px;
}
.pn-cta-title { margin: 0 0 .25rem; font-size: 1.25rem; }
.pn-cta-text { margin: 0 0 .75rem; color: #374151; }
.pn-cta-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pn-btn { display: inline-block; padding: .6rem .9rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.pn-btn-primary { background: #759739; color: #fff; }
.pn-btn-primary:hover { filter: brightness(.95); }
.pn-btn-secondary { background: #f3f4f6; color: #111827; }
.pn-btn-secondary:hover { background: #e5e7eb; }

/* Encart pub */
.pn-ad-slot { margin: 1.5rem auto; }
.pn-ad--article { display: grid; place-items: center; min-height: 120px; background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 10px; }

/* “Actuellement en kiosque” (carte) */
.pn-current-issue { margin: 1.5rem auto; }
.pn-card-issue {
  display: grid; grid-template-columns: 120px 1fr; gap: 1rem;
  border: 1px solid #e5e7eb; border-left: 6px solid #797979; border-radius: 12px; padding: 1rem; background: #f9fbf7;
}
.pn-issue-cover { width: 100%; height: auto; display: block; border-radius: 6px; }
.pn-issue-infos .pn-issue-title { margin: 0 0 .25rem; font-size: 1.1rem; }
.pn-issue-infos .pn-issue-text { margin: 0 0 .75rem; color: #374151; }

/* Bulles catégories */
.pn-tax-bubbles { margin: 1.5rem auto .75rem; }
.pn-bubbles { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.pn-bubble {
  display: inline-block; padding: .35rem .6rem; border-radius: 999px;
  background: #eef6e9; color: #2f4f2f; text-decoration: none; font-size: .95rem;
}
.pn-bubble:hover { background: #e3f0dc; }

/* Vous aimerez aussi */
.pn-related { margin: 1.25rem auto 2rem; }
.pn-related-title { margin: 0 0 .75rem; font-size: 1.25rem; }
.pn-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.pn-related-item { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }
.pn-related-thumb img { width: 100%; height: auto; display: block; }
.pn-related-item-title { font-size: 1rem; line-height: 1.35; padding: .75rem .85rem; margin: 0; color: #111827; }
.pn-related-link { text-decoration: none; display: block; }
.pn-related-link:hover .pn-related-item-title { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  .pn-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pn-card-issue { grid-template-columns: 1fr; }
  .pn-meta-share { width: 100%; margin-left: 0; }
  .pn-related-grid { grid-template-columns: 1fr; }
}
