/*
Theme Name: Pro Occasion Rayonnage - Blog
Theme URI: https://blog.pro-occasion-rayonnage.fr/
Description: Theme enfant sur-mesure (topbar + header mega-menu + footer) pour le blog Pro Occasion Rayonnage. Theme parent : Astra.
Author: Pro Occasion Rayonnage
Author URI: https://www.pro-occasion-rayonnage.fr/
Template: astra
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: pro-occasion-child
*/

/* =========================================================
   VARIABLES MARQUE
   ========================================================= */
:root{
  --por-blue:#105895;
  --por-red:#e63133;
  --por-red-dark:#c91f21;
  --por-yellow:#f1d030;
  --por-ink:#07152b;
  --por-dark:#242b33;
  --por-line:#dde7f1;
  --por-font:'Roboto',Arial,sans-serif;
}

/* anti débordement horizontal global */
html,body{overflow-x:hidden;}
body{margin:0;font-family:var(--por-font);}
img{max-width:100%;}

/* =========================================================
   HEADER — PRO OCCASION RAYONNAGE  (préfixe porh-)
   Bascule desktop / mobile : 1400px (CSS + JS synchronisés)
   ========================================================= */
#porh-header, #porh-header *{box-sizing:border-box;}
#porh-header{width:100%;position:relative;z-index:9999;font-family:var(--por-font);background:#fff;}
body.porh-body-lock{overflow:hidden;}
#porh-header .porh-container{width:min(1360px, calc(100% - 52px));margin:0 auto;}

/* ---- TOP BAR ---- */
#porh-header .porh-topbar{background:var(--por-dark);color:#fff;min-height:38px;display:flex;align-items:center;}
#porh-header .porh-topbar-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;width:min(1360px, calc(100% - 52px));margin:0 auto;min-height:38px;}
#porh-header .porh-topbar-left{display:flex;align-items:center;gap:13px;justify-content:flex-start;min-width:0;}
#porh-header .porh-topbar-center{display:flex;align-items:center;justify-content:center;min-width:0;}
#porh-header .porh-topbar-right{display:flex;align-items:center;justify-content:flex-end;min-width:0;}
#porh-header .porh-topbar a,#porh-header .porh-topbar span{color:#fff;text-decoration:none;font-size:13px;line-height:1.2;font-weight:900;white-space:nowrap;}
#porh-header .porh-topbar-center a{overflow:hidden;text-overflow:ellipsis;}
#porh-header .porh-phone::before{content:"☎";margin-right:6px;}
#porh-header .porh-topbar-center a::before{content:"★";color:var(--por-yellow);margin-right:8px;}
#porh-header .porh-separator{width:1px;height:18px;background:rgba(255,255,255,.28);display:block;}

/* ---- HEADER PRINCIPAL ---- */
#porh-header .porh-main-header{position:relative;background:#fff;border-bottom:3px solid var(--por-blue);}
#porh-header .porh-main-inner{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:0;}
#porh-header .porh-logo{flex:0 0 auto;display:flex;align-items:center;text-decoration:none;position:relative;z-index:20;margin-right:38px;}
#porh-header .porh-logo img{display:block;width:232px;max-width:232px;height:auto;}

#porh-header .porh-nav{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;}
#porh-header .porh-nav-link,
#porh-header .porh-menu-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  white-space:nowrap;flex-shrink:0;padding:10px 14px;margin:0;border:0;background:transparent;
  color:var(--por-ink);text-decoration:none;font-family:var(--por-font);
  font-size:13.5px;line-height:1.1;font-weight:900;cursor:pointer;transition:color .2s ease;
  position:relative;
}
#porh-header .porh-menu-trigger span{color:var(--por-blue);font-size:11px;line-height:1;transition:color .2s ease;}
#porh-header .porh-nav-link:hover,
#porh-header .porh-menu-trigger:hover,
#porh-header .porh-nav-item.porh-desktop-open>.porh-menu-trigger{color:var(--por-red);}
#porh-header .porh-nav-item.porh-desktop-open>.porh-menu-trigger span{color:var(--por-red);}

/* soulignement rouge animé sous les liens */
#porh-header .porh-nav-link::after,
#porh-header .porh-menu-trigger::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:3px;background:var(--por-red);transform:scaleX(0);transition:transform .15s;}
#porh-header .porh-nav-link:hover::after,
#porh-header .porh-nav-item:hover .porh-menu-trigger::after,
#porh-header .porh-nav-item.porh-desktop-open .porh-menu-trigger::after{transform:scaleX(1);}

#porh-header .porh-shop-btn{
  flex:0 0 auto;min-width:166px;height:50px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 24px;margin-left:24px;border-radius:999px;background:var(--por-red);color:#fff;text-decoration:none;
  font-size:13.5px;line-height:1;font-weight:900;white-space:nowrap;box-shadow:0 14px 30px rgba(230,49,51,.25);
  transition:background-color .2s ease, transform .2s ease;
}
#porh-header .porh-shop-btn:hover{background:var(--por-red-dark);transform:translateY(-2px);}

#porh-header .porh-burger{display:none;}
#porh-header .porh-nav>a.porh-mobile-shop-btn{display:none;}

/* ---- MEGA MENUS (desktop) ---- */
#porh-header .porh-nav-item{position:static;}
#porh-header .porh-mega-menu{
  display:none;position:absolute;left:50%;top:100%;transform:translateX(-50%);
  width:min(1120px, calc(100vw - 120px));padding:30px;background:#fff;
  border:1px solid var(--por-line);border-top:6px solid var(--por-red);
  border-radius:0 0 28px 28px;box-shadow:0 28px 70px rgba(7,21,43,.16);z-index:10000;
}
#porh-header .porh-mega-menu::before{content:"";position:absolute;left:0;right:0;top:-34px;height:34px;}
#porh-header .porh-nav-item.porh-desktop-open .porh-mega-menu{display:grid;grid-template-columns:288px 1fr;gap:26px;}
#porh-header .porh-mega-intro{background:linear-gradient(160deg,#0f4f86,#0b3a64);color:#fff;border-radius:18px;padding:24px;display:flex;flex-direction:column;}
#porh-header .porh-mega-intro>span{display:inline-block;align-self:flex-start;background:var(--por-yellow);color:var(--por-ink);font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:5px 11px;border-radius:999px;margin-bottom:14px;}
#porh-header .porh-mega-intro h3{margin:0 0 10px;font-size:19px;font-weight:900;line-height:1.2;color:#ffffff !important;}
#porh-header .porh-mega-intro p{margin:0 0 18px;font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.85);}
#porh-header .porh-mega-intro a{margin-top:auto;align-self:flex-start;color:#fff;font-size:13px;font-weight:900;text-decoration:none;border-bottom:2px solid var(--por-yellow);padding-bottom:2px;}
#porh-header .porh-mega-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-content:start;}
#porh-header .porh-mega-card{display:block;text-decoration:none;background:#f7fafd;border:1px solid var(--por-line);border-radius:14px;padding:14px 15px;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;}
#porh-header .porh-mega-card strong{display:block;color:var(--por-ink);font-size:14px;font-weight:900;margin-bottom:5px;transition:color .15s ease;}
#porh-header .porh-mega-card p{margin:0 0 8px;font-size:12px;line-height:1.45;color:#52606d;}
#porh-header .porh-mega-card ul{margin:0;padding-left:16px;}
#porh-header .porh-mega-card li{font-size:11.5px;color:var(--por-blue);font-weight:700;line-height:1.5;}
#porh-header .porh-mega-card:hover{transform:translateY(-3px);border-color:var(--por-red);box-shadow:0 12px 26px rgba(230,49,51,.22);}
#porh-header .porh-mega-card:hover strong{color:var(--por-red);}
#porh-header .porh-mega-card-yellow{background:#fffbe9;border-color:#f0e3a8;}
#porh-header .porh-mega-card-yellow:hover{border-color:var(--por-red);box-shadow:0 12px 26px rgba(230,49,51,.22);}

/* lisibilité méga-menu */
#porh-header .porh-mega-intro h3,
#porh-header .porh-mega-intro h3 *{color:#ffffff !important;}
#porh-header .porh-mega-intro p{color:rgba(255,255,255,.88) !important;}
#porh-header .porh-mega-intro a{color:#ffffff !important;}

/* =========================================================
   RESPONSIVE HEADER : <= 1400px → hamburger + menu déroulant
   UN SEUL bouton : ☰ devient ✕ (synchro via .porh-menu-open)
   Le menu DESCEND sous le header (ne recouvre pas le burger)
   ========================================================= */
@media (max-width:1400px){
  #porh-header .porh-topbar-center,
  #porh-header .porh-topbar-right{display:none;}
  #porh-header .porh-topbar-left{justify-content:center;width:100%;flex-wrap:wrap;gap:6px 13px;}
  #porh-header .porh-topbar a,
  #porh-header .porh-topbar span{white-space:normal;font-size:clamp(11px,2.6vw,13px);text-align:center;}

  #porh-header .porh-burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;border:0;border-radius:12px;background:var(--por-red);cursor:pointer;flex:0 0 auto;z-index:60;}
  #porh-header .porh-burger span{display:block;width:22px;height:2.5px;border-radius:2px;background:#fff;margin:0 auto;transition:transform .25s ease, opacity .2s ease;}
  #porh-header.porh-menu-open .porh-burger span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
  #porh-header.porh-menu-open .porh-burger span:nth-child(2){opacity:0;}
  #porh-header.porh-menu-open .porh-burger span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

  #porh-header .porh-shop-btn{display:none;}
  #porh-header .porh-logo{margin-right:0;}

  /* menu qui DESCEND sous tout le header */
  #porh-header .porh-nav{
    position:absolute;top:100%;left:0;right:0;width:100%;
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
    max-height:0;overflow:hidden;
    background:#fff;box-shadow:0 24px 50px rgba(7,21,43,.18);
    transition:max-height .32s ease;
    z-index:55;
  }
  #porh-header.porh-menu-open .porh-nav{max-height:calc(100vh - 120px);overflow-y:auto;padding:8px 20px 24px;}
  #porh-header .porh-nav-link,
  #porh-header .porh-menu-trigger{width:100%;justify-content:space-between;padding:15px 4px;font-size:15px;border-bottom:1px solid #eef2f6;}
  #porh-header .porh-nav-link::after,
  #porh-header .porh-menu-trigger::after{display:none;}
  #porh-header .porh-menu-trigger span{font-size:13px;transition:transform .2s ease;}
  #porh-header .porh-submenu-open>.porh-menu-trigger{color:var(--por-red);}
  #porh-header .porh-submenu-open>.porh-menu-trigger span{transform:rotate(180deg);color:var(--por-red);}
  #porh-header .porh-mega-menu{position:static;transform:none;width:100%;display:none;padding:0;margin:0 0 10px;border:0;border-radius:0;box-shadow:none;}
  #porh-header .porh-mega-menu::before{display:none;}
  #porh-header .porh-submenu-open .porh-mega-menu{display:block;}
  #porh-header .porh-mega-intro{padding:16px;border-radius:14px;margin:8px 0 12px;}
  #porh-header .porh-mega-intro h3{font-size:16px;}
  #porh-header .porh-mega-grid{grid-template-columns:1fr;gap:10px;}
  #porh-header .porh-mega-card ul{display:none;}
  #porh-header .porh-nav>a.porh-mobile-shop-btn{display:flex;align-items:center;justify-content:center;margin-top:18px;height:52px;border:0;border-radius:999px;background:var(--por-red);color:#fff;text-decoration:none;font-size:15px;font-weight:900;}
}
@media (max-width:520px){
  #porh-header .porh-logo img{width:170px;}
  #porh-header .porh-main-inner{min-height:80px;}
}

/* =========================================================
   FOOTER — PRO OCCASION RAYONNAGE  (préfixe porfooter-)
   Reconstruit de zéro. Tout fluide (clamp), zéro débordement.
   ========================================================= */
.porfooter, .porfooter *{box-sizing:border-box;}

.porfooter{
  width:100%;
  position:relative;
  overflow:hidden;
  padding:clamp(48px,7vw,88px) 0 clamp(28px,4vw,40px);
  background:
    radial-gradient(circle at 84% 12%, rgba(230,49,51,.20), transparent 30%),
    linear-gradient(135deg,#07152b 0%,#0d416e 48%,#105895 100%);
  color:#fff;
  font-family:var(--por-font);
}
/* grille de fond */
.porfooter::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.4;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:34px 34px;
}
.porfooter-inner{
  position:relative;z-index:2;
  max-width:1200px;margin:0 auto;
  padding-inline:clamp(20px,5vw,64px);
}

/* ---- INTRO : logo + label jaune sur une ligne, centrés ---- */
.porfooter-intro{text-align:center;margin-bottom:clamp(36px,5vw,56px);}
.porfooter-brand-line{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:clamp(14px,2vw,24px);margin-bottom:22px;
}
.porfooter-logo{
  display:inline-flex;align-items:center;justify-content:center;
  background:#fff;border-radius:18px;
  padding:clamp(10px,1.6vw,16px) clamp(16px,2.4vw,26px);
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  text-decoration:none;
}
.porfooter-logo img{display:block;height:clamp(46px,5vw,64px);width:auto;}
.porfooter-label{
  display:inline-flex;align-items:center;
  background:var(--por-yellow);color:var(--por-ink);
  font-size:clamp(12px,1.4vw,15px);font-weight:900;
  text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;
  padding:10px 18px;border-radius:999px;
}
.porfooter-tagline{
  max-width:680px;margin:0 auto;
  color:rgba(255,255,255,.85);
  font-size:clamp(14px,1.5vw,17px);line-height:1.6;font-weight:500;
}

/* ---- COLONNES ---- */
.porfooter-cols{
  display:grid;grid-template-columns:1fr 1fr 1.4fr;
  gap:clamp(28px,4vw,56px);align-items:start;
  padding-top:clamp(28px,4vw,40px);
  border-top:1px solid rgba(255,255,255,.16);
}
.porfooter-col strong{
  display:block;color:#fff;
  font-size:clamp(16px,1.8vw,19px);font-weight:900;line-height:1.2;
  margin-bottom:18px;
}
.porfooter-col>a{
  display:flex;align-items:center;gap:10px;width:fit-content;
  color:rgba(255,255,255,.8);text-decoration:none;
  font-size:clamp(14px,1.5vw,16px);line-height:1.4;font-weight:600;
  margin-bottom:12px;transition:color .2s ease, transform .2s ease;
}
.porfooter-col>a::before{content:"";width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--por-yellow);}
.porfooter-col>a:hover{color:#fff;transform:translateX(4px);}

/* ---- RÉSEAUX SOCIAUX (tuiles agrandies, nom dessous) ---- */
.porfooter-social>p{
  margin:0 0 18px;max-width:340px;
  color:rgba(255,255,255,.72);
  font-size:clamp(13px,1.4vw,15px);line-height:1.55;font-weight:500;
}
.porfooter-social-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(12px,1.6vw,18px);margin-top:6px;
}
.porfooter-social-grid a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:clamp(14px,1.8vw,20px) 8px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;text-decoration:none;
  transition:transform .2s ease, background-color .2s ease;
}
.porfooter-social-grid a:hover{background:rgba(255,255,255,.16);transform:translateY(-4px);}
.porfooter-social-grid img{width:clamp(40px,5vw,58px);height:auto;display:block;}
.porfooter-social-grid span{color:#fff;font-size:clamp(11px,1.3vw,13.5px);font-weight:700;line-height:1.2;text-align:center;}

/* ---- CTA centrés ---- */
.porfooter-cta{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
  gap:clamp(14px,2vw,20px);
  margin-top:clamp(36px,5vw,52px);
  padding-top:clamp(28px,4vw,36px);
  border-top:1px solid rgba(255,255,255,.16);
}
.porfooter-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:54px;padding:16px 30px;border-radius:12px;
  font-size:clamp(14px,1.6vw,16px);line-height:1;font-weight:900;text-decoration:none;
  transition:transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.porfooter-btn-red{background:var(--por-red);color:#fff;box-shadow:0 18px 38px rgba(230,49,51,.3);}
.porfooter-btn-red::after{content:"→";margin-left:10px;}
.porfooter-btn-red:hover{background:var(--por-red-dark);transform:translateY(-3px);box-shadow:0 24px 48px rgba(230,49,51,.38);}
.porfooter-btn-white{background:#fff;color:var(--por-blue);box-shadow:0 18px 38px rgba(0,0,0,.16);}
.porfooter-btn-white:hover{color:var(--por-red);transform:translateY(-3px);}


/* ---- BAS DE PAGE ---- */
.porfooter-bottom{
  margin-top:clamp(26px,3.5vw,36px);padding-top:clamp(20px,2.6vw,26px);
  border-top:1px solid rgba(255,255,255,.16);
  display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;
}
.porfooter-bottom p{margin:0;color:rgba(255,255,255,.7);font-size:clamp(13px,1.4vw,15px);font-weight:600;}
.porfooter-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;}
.porfooter-legal a{color:rgba(255,255,255,.7);text-decoration:none;font-size:clamp(13px,1.4vw,15px);font-weight:600;transition:color .2s ease;}
.porfooter-legal a:hover{color:#fff;}

/* ---- RESPONSIVE FOOTER ---- */
/* Tablette : 2 colonnes de liens côte à côte (remplissent la largeur), réseaux en pleine largeur */
@media (max-width:900px){
  .porfooter-cols{grid-template-columns:1fr 1fr;gap:32px;}
  .porfooter-social{grid-column:1 / -1;}
  .porfooter-social-grid{grid-template-columns:repeat(6,1fr);}
}
/* Mobile : tout centré, une colonne, tuiles 3 par ligne (jamais minuscules) */
@media (max-width:560px){
  .porfooter-label{white-space:normal;text-align:center;}
  .porfooter-cols{grid-template-columns:1fr;text-align:center;gap:30px;}
  .porfooter-col strong{margin-bottom:14px;}
  .porfooter-col>a{width:auto;justify-content:center;}
  .porfooter-col>a::before{display:none;}
  .porfooter-social>p{max-width:none;margin-inline:auto;}
  .porfooter-social-grid{grid-template-columns:repeat(3,1fr);max-width:360px;margin-inline:auto;}
  .porfooter-cta{flex-direction:column;}
  .porfooter-btn{width:min(320px,100%);}
}


/* =========================================================
   PAGES CATEGORIES (gabarit category.php)  -- prefixe porarch-
   Cartes a la charte Pro Occasion Rayonnage. Uniforme + responsive.
   ========================================================= */
.porarch{font-family:var(--por-font);padding:8px 0 44px;}
.porarch *{box-sizing:border-box;}
.porarch article{margin:0;}

/* --- Banniere de categorie (titre + description auto) --- */
.porarch-hero{
  position:relative;overflow:hidden;border-radius:22px;
  padding:clamp(28px,4vw,46px) clamp(24px,4vw,48px);
  margin:clamp(14px,3vw,26px) 0 clamp(28px,4vw,40px);
  background:
    radial-gradient(circle at 88% 10%, rgba(230,49,51,.24), transparent 32%),
    linear-gradient(135deg,#07152b 0%,#0d416e 50%,#105895 100%);
  color:#fff;
}
.porarch-hero::before{content:"";position:absolute;inset:0;opacity:.34;pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:30px 30px;}
.porarch-hero>*{position:relative;z-index:2;}
.porarch-kicker{display:inline-block;background:var(--por-yellow);color:var(--por-ink);
  font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;
  padding:6px 13px;border-radius:999px;margin-bottom:14px;}
.porarch-hero h1{margin:0 0 12px;font-size:clamp(26px,3.4vw,40px);font-weight:900;line-height:1.12;color:#fff;}
.porarch-hero p{margin:0;max-width:760px;font-size:clamp(14px,1.5vw,17px);line-height:1.6;
  color:rgba(255,255,255,.86);font-weight:500;}

/* --- Grille de cartes --- */
.porarch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.2vw,28px);}
.porarch-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e6eef6;
  border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(7,21,43,.07);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;}
.porarch-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(7,21,43,.14);border-color:#d2e0ee;}
.porarch-cardlink{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit;}

.porarch-thumb{position:relative;aspect-ratio:1/1;overflow:hidden;
  background:linear-gradient(135deg,#0d416e,#105895);}
.porarch-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;}
.porarch-card:hover .porarch-thumb img{transform:scale(1.04);}
.porarch-thumb-empty{display:flex;align-items:center;justify-content:center;}
.porarch-thumb-empty img{width:62%;height:auto;object-fit:contain;opacity:.92;transform:none !important;}

.porarch-body{display:flex;flex-direction:column;flex:1 1 auto;padding:15px 16px 16px;}
.porarch-pills{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:9px;}
.porarch-pill{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.03em;
  padding:5px 10px;border-radius:999px;background:#eaf2fb;color:var(--por-blue);}
.porarch-card h2{margin:0 0 8px;font-size:clamp(15.5px,1.6vw,17.5px);line-height:1.28;
  font-weight:900;color:var(--por-ink);transition:color .2s ease;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.porarch-card:hover h2{color:var(--por-red);}
.porarch-date{margin:0 0 9px;font-size:12px;font-weight:700;color:#7689a0;}
.porarch-excerpt{margin:0 0 14px;font-size:13.5px;line-height:1.5;color:#52606d;font-weight:500;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.porarch-more{margin-top:auto;display:inline-flex;align-items:center;gap:7px;
  font-size:13.5px;font-weight:900;color:var(--por-red);}
.porarch-more::after{content:"→";transition:transform .2s ease;}
.porarch-card:hover .porarch-more::after{transform:translateX(4px);}

.porarch-empty{text-align:center;padding:44px 20px;color:#52606d;font-size:16px;font-weight:600;}

/* --- Pagination --- */
.porarch-pagination{margin-top:clamp(28px,4vw,44px);display:flex;justify-content:center;}
.porarch-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;}
.porarch-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 12px;border-radius:11px;background:#fff;border:1px solid #dce7f1;
  color:var(--por-blue);font-weight:900;font-size:14px;text-decoration:none;transition:.18s;}
.porarch-pagination .page-numbers:hover{background:var(--por-blue);color:#fff;border-color:var(--por-blue);}
.porarch-pagination .page-numbers.current{background:var(--por-red);color:#fff;border-color:var(--por-red);}
.porarch-pagination .page-numbers.dots{background:transparent;border:0;min-width:auto;}

@media (max-width:980px){.porarch-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.porarch-grid{grid-template-columns:1fr;}}


/* =========================================================
   FAQ DE CATEGORIE (gabarit category.php)  -- prefixe porfaq-
   ========================================================= */
.porfaq{margin-top:clamp(38px,5vw,58px);padding-top:clamp(28px,4vw,40px);border-top:1px solid #e1e9f2;}
.porfaq *{box-sizing:border-box;}
.porfaq-head{margin-bottom:clamp(18px,2.5vw,26px);}
.porfaq-kicker{display:inline-block;background:var(--por-yellow);color:var(--por-ink);
  font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;
  padding:6px 13px;border-radius:999px;margin-bottom:12px;}
.porfaq-head h2{margin:0;font-size:clamp(20px,2.4vw,28px);font-weight:900;line-height:1.2;color:var(--por-ink);}

.porfaq-list{display:flex;flex-direction:column;gap:12px;max-width:900px;}
details.porfaq-item{background:#fff;border:1px solid #e6eef6;border-radius:14px;overflow:hidden;
  box-shadow:0 6px 18px rgba(7,21,43,.05);transition:border-color .18s ease, box-shadow .18s ease;}
details.porfaq-item[open]{border-color:#cfdded;box-shadow:0 10px 26px rgba(7,21,43,.09);}
.porfaq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:17px 20px;font-size:clamp(14.5px,1.5vw,16px);font-weight:900;color:var(--por-ink);}
.porfaq-item summary::-webkit-details-marker{display:none;}
.porfaq-item summary::after{content:"+";flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:8px;background:#eaf2fb;color:var(--por-blue);font-size:19px;font-weight:900;
  transition:transform .2s ease, background-color .2s ease, color .2s ease;}
details.porfaq-item[open] summary::after{content:"–";background:var(--por-red);color:#fff;}
.porfaq-item summary:hover{color:var(--por-blue);}
.porfaq-answer{padding:0 20px 18px;font-size:14.5px;line-height:1.6;color:#52606d;font-weight:500;}
