/* Pages catégories du blog (/materiel-photo/ d'abord, puis les autres) à la charte des pages simples (charte-pages/README.md), 25/11/2026.
   Modèle commun : templates/categorie.html + includes/class-categories.php ; chargé seulement sur les catégories refaites (classe pna-cat2).
   Même socle que l'accueil (classes pna-apropos + pna-accueil, feuilles capture/formulaires/apropos/accueil). Construit d'après materiel-hub-charte.css.
   Fonds : héros → partenaires blanc → page pilier crème → derniers articles blanc → tous les articles crème → ressources photo → auteur blanc. */

/* ---------- Héros ---------- */
html body.pna-cat2 .pnc .ap-cine h1 .ct-mot{display:block;color:#fff!important}
html body.pna-cat2 .pnc .ap-cine .ct-q{margin:26px 0 0!important;font:800 17px/1.5 Mulish,sans-serif!important;color:#fff!important}
html body.pna-cat2 .pnc .ap-cine .ct-bh{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:470px;margin:40px 0 0}
html body.pna-cat2 .pnc .ap-cine .ct-bh a{text-align:center;margin:0!important;box-sizing:border-box}
html body.pna-cat2 .pnc .ap-cine .pnc-rassure{margin-top:12px!important}
html body.pna-cat2 .pnc .ap-cine .ap-mur__signe{margin-top:26px!important}
html body.pna-cat2 .pnc .ap-cine .ap-lead{padding-bottom:0!important;margin-bottom:0!important}
@media (min-width:901px){
 /* photo 2560 × 1744 : couvre le héros, Adrien à droite ; remontée pour que sa tête soit au niveau du titre */
 html body.pna-cat2 .pnc .ap-cine .ap-c--fond{object-position:70% 0!important;top:-7vw!important}
}
@media (max-width:900px){
 html body.pna-cat2 .pnc .ap-cine h1 .ct-mot{color:#D4A150!important}
 html body.pna-cat2 .pnc .ap-cine .ct-q{color:#272947!important}
 html body.pna-cat2 .pnc .ap-cine .ct-bh{grid-template-columns:1fr;max-width:none}
}

/* ---------- Boutons : dimensions de l'accueil, tous orange ---------- */
html body.pna-cat2 .pnc .pnc-bouton{font:800 18px/1.4 Mulish,sans-serif!important;padding:15px 22px!important;border-radius:0!important;box-shadow:none!important;text-decoration:none!important}
/* choix d'Adrien (Mon matériel, 25/11) : rotation seulement sur les boutons qui mènent à une capture ou une vente */
html body.pna-cat2 .pnc .pnc-bouton{animation:none!important}
html body.pna-cat2 .pnc .ap-cine .ct-bh .ct-vibre{animation:pna-vibre 3.9s ease-in-out infinite!important}
html body.pna-cat2 .pnc .ct-res .pnc-bouton{animation:pna-vibre 4.6s ease-in-out infinite!important}
html body.pna-cat2 .pnc .ct-res .ac-o:nth-child(2) .pnc-bouton{animation-duration:5.3s!important}
html body.pna-cat2 .pnc .ct-res .ac-o:nth-child(3) .pnc-bouton{animation-duration:6s!important}
html body.pna-cat2 .pnc .ct-res .ac-o:nth-child(4) .pnc-bouton{animation-duration:3.2s!important}
html body.pna-cat2 .pnc .ct-res .pnc-bouton:hover,html body.pna-cat2 .pnc .ap-cine .ct-vibre:hover{animation-play-state:paused!important}

/* ---------- Blocs : fonds alternés (partenaires blanc → Mon matériel crème → guides blanc → derniers tests crème → tous les articles blanc → ressources photo → auteur blanc), 60/40 px ---------- */
html body.pna-cat2 .pnc main>section.ct-une{background:#F6F1E7!important}
html body.pna-cat2 .pnc main>section.ct-tous{background:#fff!important;padding:60px 24px!important;box-sizing:border-box;width:100%;max-width:none!important;margin:0!important}
html body.pna-cat2 .pnc main>section.ct-tous--x{background:#F6F1E7!important}
html body.pna-cat2 .pnc main>section.ct-tous>h2,html body.pna-cat2 .pnc main>section.ct-res>h2{text-align:center!important;margin:0 0 30px!important;max-width:none!important;text-shadow:none!important}
html body.pna-cat2 .pnc main>section.ct-tous p,html body.pna-cat2 .pnc main>section.ct-res p{font:400 17px/1.68 Mulish,sans-serif;color:#272947}
html body.pna-cat2 .pnc .ct-res__i{max-width:720px;margin:0 auto 60px!important;padding:0!important;text-align:center;text-wrap:pretty}

/* ---------- Derniers articles (bloc articles de l'accueil) ---------- */
html body.pna-cat2 .pnc .ct-une .ac-liste>li{margin-left:0!important;padding-left:0!important}
html body.pna-cat2 .pnc .ct-une .ac-liste>li::before{display:none!important}

/* ---------- Grille des articles : 3 colonnes, image 16:9 + catégorie + titre (comme la liste de l'accueil) ---------- */
html body.pna-cat2 .pnc .bl-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 30px;max-width:1180px;margin:0 auto}
html body.pna-cat2 .pnc .bl-c{display:block;text-decoration:none!important;color:#272947}
html body.pna-cat2 .pnc .bl-c__img{display:block;aspect-ratio:16/9;overflow:hidden;margin:0 0 16px;background:#F6F1E7}
html body.pna-cat2 .pnc .ct-tous--x .bl-c__img{background:#fff}
html body.pna-cat2 .pnc .bl-c__img img{display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
html body.pna-cat2 .pnc .bl-c:hover .bl-c__img img{transform:scale(1.04)}
html body.pna-cat2 .pnc .bl-c .ac-cat{display:block;margin:0 0 10px}
html body.pna-cat2 .pnc .bl-c b{display:block;font:700 17px/1.4 Mulish,sans-serif!important;color:#272947;transition:color .2s}
html body.pna-cat2 .pnc .bl-c:hover b,html body.pna-cat2 .pnc .bl-c:focus-visible b{color:#8A5F1C}
@media (prefers-reduced-motion:reduce){html body.pna-cat2 .pnc .bl-c__img img{transition:none!important;transform:none!important}}

/* ---------- Ressources gratuites : photo en parallaxe (une seule par page), 4 cartes avec packshots ---------- */
html body.pna-cat2 .pnc main>section.ac-offres.ct-res{padding:60px 24px!important}
html body.pna-cat2 .pnc main>section.ac-offres.ct-res::before{background-position:50% 50%!important;background-size:cover!important;background-repeat:no-repeat!important;opacity:1!important}
/* photo sombre (catégorie marquée fin_sombre) : titre et phrase en blanc ; sinon bleu nuit */
html body.pna-cat2 .pnc.pnc.pnc.pnc.pnc main>section.ct-res--sombre>h2,html body.pna-cat2 .pnc main>section.ct-res--sombre .ct-res__i{color:#fff!important}
html body.pna-cat2 .pnc.pnc.pnc.pnc.pnc main>section.ct-res:not(.ct-res--sombre)>h2,html body.pna-cat2 .pnc main>section.ct-res:not(.ct-res--sombre) .ct-res__i{color:#272947!important}
html body.pna-cat2 .pnc .ct-res__g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;max-width:1180px;margin:0 auto;position:relative;z-index:1}
html body.pna-cat2 .pnc .ct-res .ac-o{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff!important;padding:40px 22px!important;border-radius:0;box-shadow:none;transition:transform .35s cubic-bezier(.16,1,.3,1)}
html body.pna-cat2 .pnc .ct-res .ac-o:hover{transform:translateY(-4px)}
html body.pna-cat2 .pnc .ct-pack{display:block;width:100%;height:190px;margin:0 0 22px}
html body.pna-cat2 .pnc .ct-pack img{width:100%!important;height:100%!important;object-fit:contain;filter:drop-shadow(0 14px 14px rgba(39,41,71,.25));border-radius:0!important;box-shadow:none!important}
html body.pna-cat2 .pnc .ct-res .ac-o h3{margin:0 0 14px!important;padding:0!important;text-align:center}
html body.pna-cat2 .pnc .ct-res .ac-o p{margin:0 0 40px!important;padding:0!important;flex:1;color:#272947!important}
html body.pna-cat2 .pnc .ct-res .ac-o .pnc-bouton{align-self:center;margin-top:auto!important;width:100%;box-sizing:border-box;text-align:center}

/* ---------- Tablette / mobile ---------- */
@media (min-width:901px) and (max-width:1100px){
 html body.pna-cat2 .pnc .ct-res__g{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
 html body.pna-cat2 .pnc .ct-res__i{text-align:left;margin-bottom:30px!important}
 html body.pna-cat2 .pnc main>section.ct-tous,html body.pna-cat2 .pnc main>section.ac-offres.ct-res{padding:40px 16px!important}
 html body.pna-cat2 .pnc .bl-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}
 html body.pna-cat2 .pnc .ct-res__g{grid-template-columns:1fr;gap:50px}
 html body.pna-cat2 .pnc .ct-res .ac-o{padding:28px 20px!important}
 html body.pna-cat2 .pnc .ct-pack{height:180px}
 html body.pna-cat2 .pnc main>section.ac-offres.ct-res::before{background-position:50% 50%!important}
}
/* mobile : articles en liste compacte (vignette 120 px + catégorie + titre), comme la liste d'articles de l'accueil */
@media (max-width:600px){
 html body.pna-cat2 .pnc .bl-g{grid-template-columns:1fr;gap:22px}
 html body.pna-cat2 .pnc .bl-c{display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:14px;align-items:start}
 html body.pna-cat2 .pnc .bl-c__img{grid-row:1 / span 2;margin:0}
 html body.pna-cat2 .pnc .bl-c .ac-cat{margin:0 0 4px}
}


/* ---------- Mon matériel (crème) : 2 colonnes texte / image (charte §10.6), titre à gauche ---------- */
html body.pna-cat2 .pnc main>section.ct-pil{background:#F6F1E7!important;padding:60px 24px!important;box-sizing:border-box;width:100%;max-width:none!important;margin:0!important}
html body.pna-cat2 .pnc .ct-pil__in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:60px;align-items:center;max-width:1080px;margin:0 auto}
html body.pna-cat2 .pnc .ct-pil__t h2{text-align:left!important;margin:0 0 30px!important;max-width:none!important}
html body.pna-cat2 .pnc .ct-pil__t p{font:400 17px/1.68 Mulish,sans-serif;color:#272947;margin:0 0 16px!important;padding:0!important;text-align:left}
html body.pna-cat2 .pnc .ct-pil__t p.ct-or{font-weight:700!important;color:#D4A150!important;margin-bottom:40px!important}
html body.pna-cat2 .pnc .ct-pil__t .pnc-bouton{display:inline-block;margin:0!important}
html body.pna-cat2 .pnc .ct-pil__img{display:block;overflow:hidden;aspect-ratio:3/2}
html body.pna-cat2 .pnc .ct-pil__img img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:60% 30%;border-radius:0!important;box-shadow:none!important;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
html body.pna-cat2 .pnc .ct-pil__img:hover img{transform:scale(1.04)}

/* ---------- Guides (blanc) : 4 cartes, image 16:9 + étiquette + titre + phrase, centrées ---------- */

/* ---------- Tous les articles : 12 visibles, « Voir plus » en affiche 12 de plus ---------- */
html body.pna-cat2 .pnc .bl-c.ct-cache{display:none!important}
html body.pna-cat2 .pnc main>section.ct-tous .ct-plus{text-align:center;margin:60px 0 0!important}
html body.pna-cat2 .pnc .ct-plus .pnc-bouton{border:0;cursor:pointer;background:#D4A150;color:#fff!important}
html body.pna-cat2 .pnc .ct-plus .pnc-bouton:hover{transform:translateY(-2px);filter:brightness(1.05)}

@media (min-width:901px) and (max-width:1100px){
}
@media (max-width:900px){
 html body.pna-cat2 .pnc .ct-pil__in{grid-template-columns:1fr;gap:28px}
 html body.pna-cat2 .pnc .ct-pil__t .pnc-bouton{display:block;text-align:center}
 html body.pna-cat2 .pnc main>section.ct-tous .ct-plus{margin-top:40px!important}
}
@media (max-width:600px){
}

/* 25/11 audit SEO : lien de phrase sous « Bien choisir votre matériel photo animalière » (charte §8 : bleu nuit 700, filet orange 2 px, survol brun doré + glissement) */


/* ---------- Catégories : réglages propres ---------- */
/* derniers articles en blanc, tous les articles en crème (sans bloc pilier : l'inverse, pour garder l'alternance) */
html body.pna-cat2 .pnc main>section.ct-une{background:#fff!important}
html body.pna-cat2 .pnc main>section.ct-tous{background:#F6F1E7!important}
html body.pna-cat2 .pnc .ct-tous .bl-c__img{background:#fff}
html body.pna-cat2 .pnc main>section.ac-part+section.ct-une{background:#F6F1E7!important}
html body.pna-cat2 .pnc main>section.ac-part+section.ct-une+section.ct-tous{background:#fff!important}
html body.pna-cat2 .pnc main>section.ac-part+section.ct-une+section.ct-tous .bl-c__img{background:#F6F1E7}
/* titre « Tous les articles » : 60 px avant la grille (éléments graphiques, charte §5) */
html body.pna-cat2 .pnc.pnc.pnc.pnc.pnc.pnc main>section.ct-tous>h2{margin:0 0 60px!important}
/* lien de phrase du bloc pilier (charte §8) */
html body.pna-cat2 .pnc .ct-pil__t p a{display:inline;font-weight:700!important;color:#272947!important;text-decoration:none!important;border-bottom:2px solid #D4A150;padding-bottom:1px;transition:color .2s}
html body.pna-cat2 .pnc .ct-pil__t p a:hover{color:#8A5F1C!important}
/* les autres thèmes du blog : liens fléchés sur une ligne, centrés */
html body.pna-cat2 .pnc .ct-themes{max-width:1180px;margin:60px auto 0;text-align:center}
html body.pna-cat2 .pnc .ct-themes>p{font:800 17px/1.5 Mulish,sans-serif!important;color:#272947!important;margin:0 0 16px!important;padding:0!important;text-align:center!important}
html body.pna-cat2 .pnc .ct-themes>div{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 30px}
html body.pna-cat2 .pnc .ct-themes .ac-lien{font:700 17px/1.4 Mulish,sans-serif!important;color:#272947!important;text-decoration:none!important;border-bottom:2px solid #D4A150;padding-bottom:2px;transition:color .2s,transform .2s;display:inline-block}
html body.pna-cat2 .pnc .ct-themes .ac-lien:hover{color:#8A5F1C!important;transform:translateX(4px)}
@media (max-width:900px){
 html body.pna-cat2 .pnc.pnc.pnc.pnc.pnc.pnc main>section.ct-tous>h2{margin-bottom:30px!important}
 html body.pna-cat2 .pnc .ct-themes{margin-top:40px;text-align:left}
 html body.pna-cat2 .pnc .ct-themes>p{text-align:left!important}
 html body.pna-cat2 .pnc .ct-themes>div{justify-content:flex-start;gap:12px 22px}
}
/* modèle d'archive Thrive : le contenu prend toute la largeur, sans marges du modèle */
html body.pna-cat2 #content.pna-cat-contenu{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:none!important}
