/*
Theme Name: Farhad.fr
Version: 1.0.5
Description: Theme COMPLET avec affichage donnees
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-3.0
Text Domain: Farhad world facts
*/

/* =========================================
   FOOTER HACKER
   ========================================= */
.site-footer.minimal-footer {
  /* L'effet HACKER demandé */
  background: linear-gradient(135deg, #0a2540 0%, #1e40af 35%, #c9a963 65%, #d4af37 100%);
  
  color: var(--ink-dim);
  padding: 3rem 1.5rem 2rem;
  border-top: 2px solid var(--ink); /* Bordure de séparation nette */
  font-size: 0.85rem;
  font-family: var(--font-stack);
}

.site-footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-wordmark {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 0 5px var(--ink);
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
}

.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--ink);
}

.footer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
}

/* Soulignement vert qui s'anime */
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: var(--ink);
  box-shadow: var(--glow);
  transition: width 0.22s ease-out;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-credits {
  opacity: 0.6;
  font-size: 0.75rem;
  border-top: 1px dashed var(--line);
  padding-top: 20px;
  margin-top: 20px;
}

.footer-credits a {
  color: var(--ink);
  text-decoration: none;
}

.footer-credits a:hover {
  color: #fff;
  text-decoration: underline;
}

.glitch-dot {
  display: inline-block;
  margin: 0 0.25rem;
  color: var(--ink);
  animation: blink 2s infinite;
}

/* Animation Clignotement */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
  .site-footer.minimal-footer {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .footer-nav {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

/* Mobile */
@media (max-width: 920px) {
  .actions { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .trust .grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
}

/* ===== Page 404 ===== */
body.error404 {
  min-height: 100dvh;
  display: flex;
  
}

body.error404 main {
  flex: 1;
  display: flex;
}

body.error404 .notfound-404 {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--ink);
  font-size: 2rem;
}
body.error404 .notfound-404::before {
  content: "ERROR 404: SYSTEM FAILURE";
  font-family: monospace;
  border: 1px solid var(--ink);
  padding: 20px;
  background: rgba(0,0,0,0.8);
}