/* =============================================
   GUEUX.OVH — Feuille de style globale
   Esthétique : Tract politique satirique
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Code+Pro:wght@400;600&display=swap');

:root {
  --bleu:    #002395;
  --blanc:   #FFFFFF;
  --rouge:   #ED2939;
  --noir:    #0D0D0D;
  --gris:    #1a1a1a;
  --gris-2:  #2e2e2e;
  --gris-clair: #888;
  --accent:  #FFD700;

  --font-title: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:  'Libre Baskerville', Georgia, serif;
  --font-mono:  'Source Code Pro', monospace;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --transition: 0.18s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--noir);
  color: var(--blanc);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Texture subtile de papier journal */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%230D0D0D'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23111' opacity='.5'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23111' opacity='.5'/%3E%3C/svg%3E");
}

main { flex: 1; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blanc); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
  background: var(--noir);
  border-bottom: 3px solid var(--rouge);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--blanc);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.site-logo .logo-accent { color: var(--rouge); }
.site-logo:hover { color: var(--accent); }
.site-logo:hover .logo-accent { color: var(--accent); }

.header-nav { display: flex; gap: 1.5rem; align-items: center; }
.header-nav a {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gris-clair);
  text-transform: uppercase;
  transition: color var(--transition);
  text-decoration: none;
}
.header-nav a:hover, .header-nav a.active { color: var(--blanc); }

.header-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gris-clair);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: none;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--gris);
  border-top: 3px solid var(--bleu);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}
.footer-logo span { color: var(--rouge); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gris-clair); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links a:hover { color: var(--blanc); }
.footer-copy { font-family: var(--font-mono); font-size: 0.7rem; color: #555; }

/* =============================================
   UTILITAIRES
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65em 1.5em;
  border: 2px solid currentColor;
  background: transparent;
  color: var(--blanc);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { background: var(--blanc); color: var(--noir); transform: translateY(-2px); }
.btn-primary { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.btn-primary:hover { background: #c0001e; border-color: #c0001e; color: var(--blanc); }

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */
@media (min-width: 768px) {
  .header-tagline { display: block; }
}
@media (max-width: 600px) {
  .header-inner { padding: 0 1rem; }
  .header-nav { gap: 1rem; }
}
