/* ============================================================
   msm.css — feuille de style partagée du thème MonSiteMaroc
   ------------------------------------------------------------
   Chargée par header.php, donc sur tous les modèles qui appellent
   get_header().

   Réglages rapides
     --logo-h        : place réservée au logo de la barre  (section 2)
     --logo-zoom     : recadrage du vide autour du logo    (section 2)
     --footer-logo-h : logo du pied de page                (section 4)
     --bar-h         : hauteur de la barre, suivie par .mn-spacer
   ============================================================ */

/* ---------- 1. Base ---------- */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
    font-family:'Cairo',sans-serif;
    background:#0f172a;
    color:#fff;
    overflow-x:hidden;
}

.container{ width:90%; max-width:1200px; margin:auto; }
a{ text-decoration:none; }
ul{ list-style:none; }

/* ================= HEADER (identique au site) ================= */

/* ---------- 2. Navigation ---------- */:root{
  --ink:#0B1C2C;
  --ink-deep:#021020;
  --brass:#E3A857;
  --brass-soft:#EDC889;
  --teal:#3FA0A0;
  --paper:#F6EDE0;
  --paper-60:rgba(246,237,224,.62);
  --rail:26px;
  /* hauteur totale occupee par la barre fixe (barre + rail).
     Les heros de page s'en servent pour degager assez d'espace :
     si la barre change, ils suivent tout seuls. */
  --bar-h:122px;
  --logo-h:72px;        /* hauteur RÉSERVÉE au logo dans la barre */
  --logo-zoom:2.1;      /* recadrage du vide autour du logo — MONTER SI TROP PETIT */
  --logo-h-small:58px;  /* une fois la barre compactée au scroll */
}

/* ============ BARRE ============ */
.mn{
  position:fixed; inset-block-start:0; inset-inline:0; z-index:900;
  transition:background .45s, backdrop-filter .45s, box-shadow .45s;
}
.mn.solid{
  background:rgba(6,20,34,.86);
  backdrop-filter:blur(18px) saturate(150%);
  box-shadow:0 18px 44px -30px rgba(0,0,0,.95);
}
.mn-in{
  display:flex; align-items:center; gap:26px;
  height:96px; transition:height .45s;
}
.mn.solid .mn-in{ height:74px; }

/* --- logo ---
   Le PNG contient beaucoup de vide transparent autour du signe : à
   taille égale, le logo paraît trois fois plus petit qu'il ne devrait.
   On agrandit l'image ET on rogne le débord, ce qui revient à recadrer
   sans toucher au fichier.
   --logo-zoom : 1 = image brute. Monter jusqu'à ce que ça remplisse. */
.mn-logo{
  display:flex; align-items:center; justify-content:center;
  gap:11px; margin-inline-end:auto;
  height:var(--logo-h); overflow:hidden;
  transition:height .45s;
}
.mn.solid .mn-logo{ height:var(--logo-h-small); }

.mn-logo img{
  height:calc(var(--logo-h) * var(--logo-zoom));
  width:auto; max-width:none; display:block; flex:0 0 auto;
  transition:height .45s;
}
.mn.solid .mn-logo img{ height:calc(var(--logo-h-small) * var(--logo-zoom)); }

/* --- liens --- */
.mn-links{ display:flex; align-items:center; gap:34px; }
.mn-links a{
  position:relative; font-size:14.5px; font-weight:500; color:var(--paper-60);
  padding-block:6px; transition:color .3s, transform .3s;
}
html[dir="rtl"] .mn-links a{ font-size:15.5px; font-weight:600; }
.mn-links a:hover, .mn-links a.here{ color:var(--paper); }
/* étoile khatim qui apparaît au survol / sur la page active */
.mn-links a::before{
  content:""; position:absolute; inset-block-start:50%;
  inset-inline-start:-16px; width:9px; height:9px;
  transform:translateY(-50%) scale(.4) rotate(-45deg); opacity:0;
  background:var(--brass);
  clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);
  transition:opacity .3s, transform .35s cubic-bezier(.22,1,.36,1);
}
.mn-links a:hover::before, .mn-links a.here::before{
  opacity:1; transform:translateY(-50%) scale(1) rotate(0deg);
}

/* --- sélecteur de langue : tuile qui glisse --- */
.mn-lang{
  position:relative; display:flex; align-items:center; gap:2px;
  padding:4px; border-radius:999px;
  border:1px solid rgba(246,237,224,.14);
  background:rgba(246,237,224,.04);
}
.mn-lang-tile{
  position:absolute; inset-block:4px; left:0;   /* physique : translateX marche en LTR comme en RTL */
  border-radius:999px; background:var(--brass);
  box-shadow:0 6px 18px -6px rgba(227,168,87,.75);
  transition:transform .42s cubic-bezier(.34,1.3,.5,1), width .42s cubic-bezier(.34,1.3,.5,1);
  pointer-events:none;
}
.mn-lang button{
  position:relative; z-index:1; border:0; cursor:pointer; background:none;
  padding:8px 15px; border-radius:999px;
  font-family:inherit; font-size:12.5px; font-weight:700; letter-spacing:.02em;
  color:var(--paper-60); transition:color .3s;
  white-space:nowrap;
}
.mn-lang button[data-l="ar"]{ font-family:'Cairo',sans-serif; font-size:13.5px; }
.mn-lang button:hover{ color:var(--paper); }
.mn-lang button.on{ color:#0B1C2C; }

/* --- CTA WhatsApp --- */
.mn-cta{
  display:inline-flex; align-items:center; gap:9px;
  padding:11px 20px; border-radius:999px;
  background:linear-gradient(135deg, var(--teal), #2c7676);
  color:#fff; font-size:13.5px; font-weight:700; white-space:nowrap;
  box-shadow:0 12px 28px -12px rgba(63,160,160,.8);
  transition:transform .3s, box-shadow .3s;
}
.mn-cta:hover{ transform:translateY(-2px); box-shadow:0 18px 34px -12px rgba(63,160,160,.95); }
.mn-cta .dot{
  width:7px; height:7px; border-radius:50%; background:#8CF5B4;
  box-shadow:0 0 0 0 rgba(140,245,180,.8); animation:mn-live 2.6s ease-out infinite;
}
@keyframes mn-live{ 0%{box-shadow:0 0 0 0 rgba(140,245,180,.7);} 70%,100%{box-shadow:0 0 0 9px rgba(140,245,180,0);} }

/* --- Espaceur : réserve exactement la hauteur de la barre fixe.
       Sans lui, chaque page devrait recalculer un padding-top, et la
       moindre erreur fait passer le contenu SOUS la barre. --- */
.mn-spacer{ height:var(--bar-h); }

/* --- LE RAIL : zellige en laiton + progression de lecture --- */
.mn-rail{ position:relative; height:var(--rail); overflow:hidden; }
.mn-rail::before{
  content:""; position:absolute; inset:0;
  background-image:var(--zellige);
  background-size:auto 100%;
  background-repeat:repeat-x;
  opacity:.30;
}
.mn-rail-fill{
  position:absolute; inset-block:0; inset-inline-start:0; width:0%;
  background-image:var(--zellige);
  background-size:auto 100%; background-repeat:repeat-x;
  filter:brightness(1.9) saturate(1.3);
  transition:width .12s linear;
}
.mn-rail::after{
  content:""; position:absolute; inset-inline:0; inset-block-end:0; height:1px;
  background:linear-gradient(to right, transparent, rgba(227,168,87,.55), transparent);
}

/* --- burger + panneau mobile --- */
.mn-burger{
  display:none; width:44px; height:44px; border:0; cursor:pointer;
  background:rgba(246,237,224,.05); border:1px solid rgba(246,237,224,.14);
  border-radius:13px; padding:0; place-items:center;
}
.mn-burger span{
  display:block; width:19px; height:1.6px; background:var(--paper); border-radius:2px;
  transition:transform .35s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.mn-burger span + span{ margin-top:5px; }
.mn-burger.x span:nth-child(1){ transform:translateY(6.6px) rotate(45deg); }
.mn-burger.x span:nth-child(2){ opacity:0; }
.mn-burger.x span:nth-child(3){ transform:translateY(-6.6px) rotate(-45deg); }

.mn-panel{
  position:fixed; inset:0; z-index:890;
  background:var(--ink-deep);
  padding:calc(var(--bar-h) + 30px) 9% 40px;
  display:flex; flex-direction:column; justify-content:space-between;
  opacity:0; visibility:hidden; transform:translateY(-12px);
  transition:opacity .4s, transform .45s cubic-bezier(.22,1,.36,1), visibility .4s;
  overflow-y:auto;
}
.mn-panel.open{ opacity:1; visibility:visible; transform:none; }

/* Texture, pas motif : grande maille et très faible opacité, sinon
   le zellige entre en concurrence avec le texte. */
.mn-panel::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:var(--zellige); background-size:104px 104px; opacity:.028;
}

.mn-panel nav{ position:relative; display:flex; flex-direction:column; }

.mn-panel nav a{
  display:flex; align-items:center; gap:15px;
  padding:19px 2px;
  border-bottom:1px solid rgba(246,237,224,.075);
  font-family:'Space Grotesk','Cairo',sans-serif;
  font-size:clamp(23px, 6.2vw, 31px);
  font-weight:500; letter-spacing:-.012em; line-height:1.12;
  color:var(--paper);
  opacity:0; transform:translateY(14px);
}
.mn-panel nav a:last-child{ border-bottom:0; }

/* Même étoile khatim que la barre : un petit repère, pas une puce. */
.mn-panel nav a::before{
  content:""; flex:0 0 auto; width:8px; height:8px; opacity:.5;
  background:var(--brass);
  clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);
}
.mn-panel nav a:active::before{ opacity:1; }

html[dir="rtl"] .mn-panel nav a{
  font-family:'Cairo',sans-serif;
  font-size:clamp(22px, 5.9vw, 29px);
  font-weight:600; letter-spacing:0; line-height:1.55;
}

.mn-panel.open nav a{
  animation:mn-rise .5s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:calc(var(--i) * 60ms + 90ms);
}
@keyframes mn-rise{ to{ opacity:1; transform:none; } }

.mn-panel-foot{ position:relative; display:flex; flex-direction:column; gap:18px; padding-top:30px; }

/* .mn-cta est masqué en mobile pour la BARRE, mais il doit rester
   visible à l'intérieur du panneau : c'est le seul appel à l'action. */
.mn-panel .mn-cta{ display:inline-flex; }

/* Entre 1025 et 1300px, l'arabe + le CTA + le sélecteur dépassent :
   on resserre au lieu de laisser la barre déborder. */
@media (min-width:1025px) and (max-width:1300px){
  .mn-in{ gap:18px; }
  .mn-links{ gap:23px; min-width:0; }
  .mn-links a{ font-size:13.5px; }
  html[dir="rtl"] .mn-links a{ font-size:14.5px; }
  .mn-cta{ padding:10px 16px; font-size:12.5px; }
  .mn-lang button{ padding:7px 12px; font-size:11.5px; }
}

@media (max-width:1024px){
  .mn-links, .mn-cta{ display:none; }
  .mn-burger{ display:grid; }
  .mn-in{ height:78px; gap:14px; }
  .mn.solid .mn-in{ height:68px; }
  :root{ --rail:20px; --bar-h:98px; --logo-h:58px; --logo-h-small:48px; }
}
@media (min-width:1025px){
  .mn-panel{ display:none; }
}
@media (prefers-reduced-motion:reduce){
  .mn-cta:hover{ transform:none; }
  .mn-panel.open nav a{ animation:none; opacity:1; transform:none; }
  .mn .dot{ animation:none; }
  .mn-rail-fill{ transition:none; }
}


/* ---------- 3. Contenu ---------- *//* ================= HERO DE L'ARTICLE (fond galaxie) ================= */
.sa-hero{
    position:relative; overflow:hidden;
    background:#0B1C2C;
    padding:56px 0 70px;   /* l'espaceur gère déjà la barre */
    isolation:isolate;
}
.sa-galaxy, .sa-scrim{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.sa-galaxy{ display:block; width:100%; height:100%; opacity:.95; }
.sa-scrim{
    background:
      linear-gradient(to bottom, rgba(2,16,32,.55) 0%, rgba(2,16,32,.80) 55%, #0f172a 100%),
      radial-gradient(90% 70% at 50% 40%, transparent, rgba(2,16,32,.75) 85%);
}
.sa-hero .container{ position:relative; z-index:2; }

.sa-crumb{ font-size:13px; color:#94a3b8; margin-bottom:22px; }
.sa-crumb a{ color:#94a3b8; transition:.25s; }
.sa-crumb a:hover{ color:#E3A857; }
.sa-crumb span{ margin:0 8px; opacity:.5; }

.sa-badge{
    display:inline-flex; align-items:center; gap:9px;
    padding:8px 18px; border-radius:999px;
    border:1px solid rgba(227,168,87,.35);
    background:rgba(227,168,87,.10);
    color:#E3A857; font-size:12px; font-weight:800;
    letter-spacing:.10em; text-transform:uppercase;
}
.sa-badge i{ font-size:11px; }

.sa-title{
    margin:24px 0 20px;
    font-size:clamp(30px, 4.4vw, 54px);
    line-height:1.22; font-weight:800; max-width:19ch;
    text-shadow:0 2px 30px rgba(0,0,0,.45);
}
html[dir="ltr"] .sa-title{ font-family:'Space Grotesk','Cairo',sans-serif; }

.sa-meta{ display:flex; flex-wrap:wrap; gap:10px 26px; color:#cbd5e1; font-size:14px; }
.sa-meta span{ display:inline-flex; align-items:center; gap:8px; }
.sa-meta i{ color:#E3A857; }

/* ================= CORPS DE L'ARTICLE ================= */
.sa-body{ padding:0 0 90px; background:#0f172a; }
.sa-wrap{ max-width:780px; margin:auto; }

.sa-cover{
    margin:-40px auto 46px; position:relative; z-index:3;
    border-radius:18px; overflow:hidden;
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 30px 70px -25px rgba(0,0,0,.75);
}
.sa-cover img{ display:block; width:100%; height:auto; }

/* --- carte démo live --- */
.sa-demo{
    display:flex; flex-wrap:wrap; align-items:center; gap:20px;
    justify-content:space-between;
    margin:0 0 44px; padding:24px 26px;
    border-radius:16px;
    border:1px solid rgba(63,160,160,.30);
    background:linear-gradient(135deg, rgba(63,160,160,.14), rgba(227,168,87,.08));
}
.sa-demo-txt b{ display:block; font-size:17px; margin-bottom:5px; }
.sa-demo-txt span{ font-size:13.5px; color:#cbd5e1; }
.sa-demo-btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:14px 26px; border-radius:999px; white-space:nowrap;
    background:linear-gradient(135deg,#3FA0A0,#2f7f7f);
    color:#fff; font-weight:700; font-size:15px;
    box-shadow:0 12px 30px -10px rgba(63,160,160,.65);
    transition:.25s;
}
.sa-demo-btn:hover{ transform:translateY(-3px); box-shadow:0 18px 38px -12px rgba(63,160,160,.8); }

/* --- typographie du contenu WordPress --- */
.sa-content{ font-size:17.5px; line-height:1.95; color:#dbe4ee; }
.sa-content > *:first-child{ margin-top:0; }
.sa-content p{ margin:0 0 26px; }
.sa-content h2{
    font-size:clamp(23px,2.6vw,31px); line-height:1.35; font-weight:800;
    margin:52px 0 20px; color:#fff;
}
.sa-content h3{ font-size:clamp(19px,2.1vw,24px); font-weight:700; margin:40px 0 16px; color:#fff; }
.sa-content h2 + p, .sa-content h3 + p{ margin-top:0; }
.sa-content a{ color:#E3A857; text-decoration:underline; text-underline-offset:3px; word-break:break-word; }
.sa-content a:hover{ color:#f0c07a; }
.sa-content strong{ color:#fff; font-weight:700; }
.sa-content ul, .sa-content ol{ margin:0 0 26px; padding-inline-start:26px; }
.sa-content ul{ list-style:disc; }
.sa-content ol{ list-style:decimal; }
.sa-content li{ margin-bottom:12px; }
.sa-content li::marker{ color:#E3A857; }
.sa-content img{
    max-width:100%; height:auto; display:block;
    border-radius:14px; margin:34px auto;
    border:1px solid rgba(255,255,255,.09);
}
.sa-content figure{ margin:34px 0; }
.sa-content figcaption{ text-align:center; font-size:13.5px; color:#94a3b8; margin-top:12px; }
.sa-content blockquote{
    margin:34px 0; padding:20px 26px;
    border-inline-start:3px solid #E3A857;
    background:rgba(255,255,255,.035); border-radius:0 12px 12px 0;
    color:#e8eef5; font-style:italic;
}
.sa-content code{
    background:rgba(255,255,255,.07); padding:2px 7px;
    border-radius:5px; font-size:.9em; font-family:ui-monospace,monospace;
}
.sa-content table{ width:100%; border-collapse:collapse; margin:30px 0; font-size:15px; }
.sa-content th, .sa-content td{ padding:12px 14px; border:1px solid rgba(255,255,255,.10); }
.sa-content th{ background:rgba(255,255,255,.05); font-weight:700; }
.sa-content iframe{ max-width:100%; border-radius:14px; }

/* --- CTA final --- */
.sa-cta{
    margin:56px 0 0; padding:40px 34px; text-align:center;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.09);
    background:linear-gradient(160deg, rgba(37,99,235,.14), rgba(15,23,42,.6));
}
.sa-cta h3{ font-size:clamp(21px,2.4vw,27px); font-weight:800; margin-bottom:12px; }
.sa-cta p{ color:#cbd5e1; margin-bottom:26px; }
.sa-cta-btn{
    display:inline-flex; align-items:center; gap:11px;
    padding:16px 34px; border-radius:999px;
    background:#25D366; color:#062e18; font-weight:800; font-size:16px;
    box-shadow:0 14px 34px -12px rgba(37,211,102,.7); transition:.25s;
}
.sa-cta-btn:hover{ transform:translateY(-3px); }

.sa-back{
    display:inline-flex; align-items:center; gap:9px;
    margin-top:38px; color:#94a3b8; font-size:14.5px; transition:.25s;
}
.sa-back:hover{ color:#E3A857; }

@media(max-width:900px){
    .sa-hero{ padding:38px 0 54px; }
    .sa-cover{ margin-top:-24px; }
    .sa-content{ font-size:16.5px; line-height:1.85; }
    .sa-demo{ padding:20px; }
    .sa-demo-btn{ width:100%; justify-content:center; }
    .sa-cta{ padding:32px 22px; }
}
@media (prefers-reduced-motion: reduce){
    .sa-demo-btn:hover, .sa-cta-btn:hover, .sa-back:hover{ transform:none; }
}
/* ================= GRILLE DE CARTES (archive / recherche) ================= */
.sa-grid{
    display:grid; gap:26px; margin-top:6px;
    grid-template-columns:repeat(auto-fill, minmax(310px, 1fr));
}
.sa-card{
    display:flex; flex-direction:column; overflow:hidden;
    border-radius:16px; background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.09);
    transition:transform .28s, border-color .28s, box-shadow .28s;
}
.sa-card:hover{
    transform:translateY(-6px); border-color:rgba(227,168,87,.4);
    box-shadow:0 26px 50px -22px rgba(0,0,0,.8);
}
.sa-card-thumb{ aspect-ratio:16/9; overflow:hidden; background:#0b1c2c; }
.sa-card-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.sa-card:hover .sa-card-thumb img{ transform:scale(1.05); }
.sa-card-noimg{
    width:100%; height:100%; display:grid; place-items:center;
    background:linear-gradient(135deg, rgba(63,160,160,.16), rgba(227,168,87,.10));
    color:rgba(255,255,255,.30); font-size:34px;
}
.sa-card-in{ padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.sa-card-cat{
    align-self:flex-start; font-size:11px; font-weight:800; letter-spacing:.08em;
    text-transform:uppercase; color:#E3A857; margin-bottom:11px;
}
.sa-card h2{ font-size:19px; line-height:1.45; font-weight:700; margin-bottom:11px; }
.sa-card h2 a{ color:#fff; transition:.25s; }
.sa-card h2 a:hover{ color:#E3A857; }
.sa-card p{ font-size:14.5px; line-height:1.75; color:#a9b8c8; margin-bottom:18px; flex:1; }
.sa-card-foot{
    display:flex; align-items:center; justify-content:space-between;
    font-size:12.5px; color:#7d8fa1; gap:12px;
    padding-top:15px; border-top:1px solid rgba(255,255,255,.07);
}
.sa-card-foot a{ color:#E3A857; font-weight:700; white-space:nowrap; }

.sa-empty{
    text-align:center; padding:64px 24px; border-radius:18px;
    border:1px dashed rgba(255,255,255,.14); background:rgba(255,255,255,.02);
}
.sa-empty i{ font-size:40px; color:rgba(227,168,87,.5); margin-bottom:18px; display:block; }
.sa-empty h3{ font-size:21px; margin-bottom:10px; }
.sa-empty p{ color:#94a3b8; }

.sa-pager{ display:flex; justify-content:center; gap:9px; margin-top:52px; flex-wrap:wrap; }
.sa-pager .page-numbers{
    min-width:44px; padding:11px 15px; text-align:center;
    border-radius:11px; background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.09); color:#cbd5e1; font-weight:600; transition:.25s;
}
.sa-pager .page-numbers:hover{ border-color:rgba(227,168,87,.45); color:#fff; }
.sa-pager .page-numbers.current{ background:#E3A857; border-color:#E3A857; color:#0f172a; }

/* ================= RECHERCHE ================= */
.sa-search{ display:flex; gap:10px; max-width:520px; margin:26px 0 0; }
.sa-search input{
    flex:1; min-width:0; padding:14px 18px; border-radius:12px;
    border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05);
    color:#fff; font-family:inherit; font-size:15px;
}
.sa-search input::placeholder{ color:#7d8fa1; }
.sa-search input:focus{ outline:none; border-color:rgba(227,168,87,.55); }
.sa-search button{
    padding:14px 24px; border:0; border-radius:12px; cursor:pointer;
    background:#E3A857; color:#0f172a; font-family:inherit; font-weight:800; font-size:15px;
    transition:.25s;
}
.sa-search button:hover{ filter:brightness(1.08); }

/* ================= 404 ================= */
.sa-404{ text-align:center; }
.sa-404-code{
    font-family:'Space Grotesk','Cairo',sans-serif; font-weight:700;
    font-size:clamp(90px, 19vw, 190px); line-height:1;
    background:linear-gradient(135deg,#E3A857,#EDC889 45%,#3FA0A0);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    filter:drop-shadow(0 10px 40px rgba(227,168,87,.25));
}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){
    .sa-404-code{ background-image:none; color:#E3A857; }
}
.sa-404 .sa-title{ max-width:none; margin-inline:auto; }
.sa-404-actions{ display:flex; flex-wrap:wrap; gap:13px; justify-content:center; margin-top:34px; }
.sa-404-actions a{
    display:inline-flex; align-items:center; gap:9px;
    padding:14px 26px; border-radius:999px; font-weight:700; font-size:15px; transition:.25s;
    border:1px solid rgba(255,255,255,.16); color:#fff; background:rgba(255,255,255,.05);
}
.sa-404-actions a:hover{ transform:translateY(-3px); border-color:rgba(227,168,87,.5); }
.sa-404-actions a.primary{
    background:linear-gradient(135deg,#3FA0A0,#2f7f7f); border-color:transparent;
    box-shadow:0 12px 30px -10px rgba(63,160,160,.6);
}

@media(max-width:900px){
    .sa-grid{ grid-template-columns:1fr; gap:20px; }
    .sa-search{ max-width:none; }
    .sa-404-actions a{ flex:1 1 100%; justify-content:center; }
}
@media (prefers-reduced-motion: reduce){
    .sa-card:hover, .sa-404-actions a:hover{ transform:none; }
    .sa-card:hover .sa-card-thumb img{ transform:none; }
}

/* ---------- 4. Pied de page ---------- */.whatsapp{
    position:fixed; bottom:25px; left:25px; width:65px; height:65px;
    background:#25D366; border-radius:50%; display:flex;
    justify-content:center; align-items:center; font-size:35px; color:#fff; z-index:999;
}

footer{ background:#111827; padding:78px 0; text-align:center; }
footer h2{ margin-bottom:22px; line-height:0; }

/* Taille du logo du pied de page — modifier ICI. */
:root{ --footer-logo-h:132px; }
@media(max-width:900px){ :root{ --footer-logo-h:104px; } }

.footer-logo-img{
    height:var(--footer-logo-h); width:auto; max-width:80%;
    object-fit:contain; display:block; margin:0 auto 22px;
}
footer p{ color:#cbd5e1; margin-bottom:30px; }
.footer-links{ display:flex; justify-content:center; gap:30px; margin-bottom:30px; }
.footer-links a{ color:#fff; }
.copyright{ color:#64748b; }

@media(max-width:900px){
    .footer-links{ flex-direction:column; gap:15px; }
}