/**
 * CSS principal du thème Ataraxia Custom
 * Refonte graphique Recto-Verso — charte v1.1.2
 *
 * @package Ataraxia_Custom
 * @author Ataraxia Lab
 * @version 1.1.0
 * @last_updated 2026-04-04
 */

/* ═══════════════════════════════════════════════════════
   GOOGLE FONTS
═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   VARIABLES CSS — CHARTE RECTO-VERSO
═══════════════════════════════════════════════════════ */
:root {
  /* Fonds */
  --bg:        #050505;
  --zinc-9:    #0d0d0d;
  --zinc-8:    #1a1a1a;
  --zinc-7:    #222;
  --zinc-6:    #333;
  --zinc-5:    #888;
  --zinc-4:    #aaa;
  --zinc-3:    #bbb;

  /* Couleurs accent */
  --neon-r:    #FF003C;
  --neon-b:    #00F3FF;
  --neon-g:    #a8ff78;
  --white:     #F0F0F0;
  --accent:    #F0F0F0;

  /* Typographies */
  --gothic:    'Syne', sans-serif;
  --cyber:     'Orbitron', sans-serif;
  --future:    'Rajdhani', sans-serif;
  --mono:      'JetBrains Mono', monospace;
  --serif:     'Instrument Serif', serif;
  --sans:      'DM Sans', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --nav-height: 72px;

  /* Transitions */
  --trans: 0.3s ease;

  /* Tags thématiques articles */
  --tag-garde:       #dff0ea; --tag-garde-c:       #1a6b47;
  --tag-placement:   #fdecea; --tag-placement-c:   #a93226;
  --tag-autorite:    #eef3fd; --tag-autorite-c:    #1a3a8f;
  --tag-entretien:   #fef9e7; --tag-entretien-c:   #7d6608;
  --tag-identite:    #f5eefa; --tag-identite-c:    #6c3483;
  --tag-deplacement: #fff3e0; --tag-deplacement-c: #a04000;
  --tag-penal:       #fce4ec; --tag-penal-c:       #880e4f;
  --tag-autre:       #eceff1; --tag-autre-c:       #37474f;

  /* Alias legacy (customizer) */
  --primary-color: #FF003C;
}

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

html {
  scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════════════════
   BODY + GRAIN ANIMÉ
═══════════════════════════════════════════════════════ */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* Grain animé — signature visuelle Recto-Verso */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.6s steps(1) infinite;
}

@keyframes grain {
  0%,100% { background-position: 0 0 }
  20%     { background-position: -5% -10% }
  40%     { background-position: -15% 5% }
  60%     { background-position: 7% -25% }
  80%     { background-position: 3% 35% }
}

/* ═══════════════════════════════════════════════════════
   CONTENEUR
═══════════════════════════════════════════════════════ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHIE
═══════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--gothic);
  font-weight: 800;
  line-height: 1.6;
  color: var(--white);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.2rem; color: var(--zinc-3); }

a {
  color: var(--neon-b);
  text-decoration: none;
  transition: color var(--trans);
}

a:hover { color: var(--white); }

strong { color: var(--white); font-weight: 600; }

code, pre {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--zinc-8);
  border: 1px solid var(--zinc-6);
  border-radius: 2px;
  padding: 0.2em 0.5em;
  color: var(--neon-b);
}

blockquote {
  border-left: 3px solid var(--neon-r);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--zinc-9);
  font-family: var(--serif);
  font-style: italic;
  color: var(--zinc-3);
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  color: var(--zinc-3);
  margin-bottom: 0.4rem;
}

hr {
  border: none;
  border-top: 1px solid var(--zinc-8);
  margin: 2rem 0;
}

/* ═══════════════════════════════════════════════════════
   HEADER + NAVBAR RESTRUCTURÉE
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(5, 5, 5, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--zinc-8);
  z-index: 1000;
  box-shadow: none;
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--trans);
}

.nav-logo img:hover {
  opacity: 0.8;
}

/* Navigation droite */
.main-navigation {
  margin-left: auto;
}

.main-navigation ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--zinc-3);
  text-decoration: none;
  padding: 8px 14px;
  display: block;
  transition: color var(--trans);
  white-space: nowrap;
}

.main-navigation a:hover {
  color: var(--neon-r);
}

/* Trait rouge sous le lien actif */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
  color: var(--neon-r);
  border-bottom: 2px solid var(--neon-r);
  padding-bottom: 6px;
}

/* Au survol d'un lien actif, le trait devient blanc */
.main-navigation .current-menu-item > a:hover,
.main-navigation .current_page_item > a:hover {
  border-bottom-color: var(--white);
}

/* Menu toggle mobile */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--zinc-6);
  cursor: pointer;
  padding: 8px 12px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color var(--trans);
  position: relative;
  z-index: 1001;
}

.menu-toggle:hover { 
  border-color: var(--neon-r); 
  color: var(--neon-r); 
}

/* Animation hamburger */
.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: all var(--trans);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all var(--trans);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE MOBILE
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    margin-left: 0;
  }
  
  .main-navigation.toggled {
    transform: translateX(0);
  }
  
  .main-navigation ul {
    display: block;
    flex-direction: column;
    padding: 2rem;
    gap: 0;
  }
  
  .main-navigation li {
    width: 100%;
    text-align: center;
  }
  
  .main-navigation a {
    padding: 16px;
    font-size: 14px;
    white-space: normal;
  }
}

/* ═══════════════════════════════════════════════════════
   CONTENU PRINCIPAL
═══════════════════════════════════════════════════════ */
.home .site-main { padding-top: 0; }

.site-main {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  z-index: 1;
}

.entry-header {
  margin-bottom: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--zinc-8);
}

.entry-title {
  font-family: var(--gothic);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.6;
  overflow: visible;
  padding-bottom: 0.2em;
}

.entry-meta {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zinc-5);
  margin-bottom: 0;
}

.entry-meta span { margin-right: 1.5rem; }

.entry-meta a { color: var(--zinc-4); }
.entry-meta a:hover { color: var(--neon-b); }

/* Espace descendantes titres — anti-coupure Gutenberg */
.entry-header + .entry-content,
.entry-content > *:first-child {
  margin-top: 0.5rem;
}
.entry-content .wp-block-heading {
  padding-top: 0.3rem;
}

.entry-content {
  margin-bottom: 3rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--zinc-8);
  color: var(--white);
}

.entry-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--zinc-3);
}

.entry-content p { color: var(--zinc-3); }

.entry-content a { color: var(--neon-b); }
.entry-content a:hover { color: var(--white); }

.entry-content ul li,
.entry-content ol li { color: var(--zinc-3); }

.post-thumbnail {
  margin-bottom: 2rem;
  border: 1px solid var(--zinc-8);
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.post-thumbnail img:hover { transform: scale(1.02); }

/* ═══════════════════════════════════════════════════════
   BADGES RECTO / VERSO
═══════════════════════════════════════════════════════ */
.rv-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}

.rv-badge-recto {
  background: rgba(255, 0, 60, 0.12);
  color: var(--neon-r);
  border: 1px solid rgba(255, 0, 60, 0.3);
}

.rv-badge-verso {
  background: rgba(0, 243, 255, 0.08);
  color: var(--neon-b);
  border: 1px solid rgba(0, 243, 255, 0.2);
}

/* Tag sur les articles dans les listes */
.tag-recto .entry-title::before {
  content: 'R';
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-r);
  border: 1px solid var(--neon-r);
  padding: 2px 6px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.8;
}

.tag-verso .entry-title::before {
  content: 'V';
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-b);
  border: 1px solid var(--neon-b);
  padding: 2px 6px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════
   ARTICLES EN LISTE (archive, home)
═══════════════════════════════════════════════════════ */
.post-card {
  border: 1px solid var(--zinc-8);
  background: var(--zinc-9);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--trans), transform var(--trans);
  position: relative;
}

.post-card:hover {
  border-color: var(--zinc-6);
  transform: translateY(-2px);
}

.post-card .entry-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.post-card .entry-title a {
  color: var(--white);
  text-decoration: none;
}

.post-card .entry-title a:hover { color: var(--neon-r); }

.post-card .entry-excerpt p {
  font-size: 0.95rem;
  color: var(--zinc-4);
  margin-bottom: 0;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-r);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans);
}

.read-more:hover {
  border-color: var(--neon-r);
  color: var(--neon-r);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   NOTE ÉDITORIALE (rv-note-editoriale)
═══════════════════════════════════════════════════════ */
.rv-note-editoriale {
  background: var(--zinc-9);
  border-left: 3px solid var(--neon-b);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--zinc-4);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════
   DISCLAIMER (rv-disclaimer)
═══════════════════════════════════════════════════════ */
.rv-disclaimer {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--zinc-5);
  border-top: 1px solid var(--zinc-8);
  padding-top: 1.2rem;
  margin-top: 2rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.widget-area {
  margin-top: 0;
}

.widget {
  margin-bottom: 2rem;
  border: 1px solid var(--zinc-8);
  padding: 1.5rem;
  background: var(--zinc-9);
}

.widget-title {
  font-family: var(--mono);
  font-size: clamp(13px, 2vw, 15px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--zinc-6);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--zinc-9);
  border-top: 1px solid var(--zinc-8);
  padding: 0.4rem 0;
  margin-top: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-widget {
  flex: 1;
  min-width: 200px;
}

.site-info {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--zinc-5);
  border-top: 1px solid var(--zinc-8);
  padding-top: 0.4rem;
}

.site-info-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.site-info a {
  color: var(--zinc-4);
}

.site-info a:hover { color: var(--neon-b); }

.footer-menu {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0;
}

.footer-menu .sep {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.pagination,
.posts-navigation {
  margin: 3rem 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--zinc-6);
  color: var(--zinc-4);
  margin: 0 3px;
  transition: all var(--trans);
  text-decoration: none;
}

.page-numbers:hover,
.page-numbers.current {
  border-color: var(--neon-r);
  color: var(--neon-r);
  background: rgba(255, 0, 60, 0.05);
}

/* ═══════════════════════════════════════════════════════
   FORMULAIRES
═══════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  background: var(--zinc-8);
  border: 1px solid var(--zinc-6);
  color: var(--white);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  width: 100%;
  transition: border-color var(--trans);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--neon-b);
}

input::placeholder,
textarea::placeholder {
  color: var(--zinc-5);
}

select option {
  background: var(--zinc-8);
  color: var(--white);
}

button,
input[type="submit"],
.wp-block-button__link {
  background: transparent;
  border: 1px solid var(--neon-r);
  color: var(--neon-r);
  padding: 10px 24px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  border-radius: 0;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: var(--neon-r);
  color: var(--bg);
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM 7
═══════════════════════════════════════════════════════ */
.wpcf7-form label {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--zinc-4);
  margin-bottom: 6px;
}

.wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--zinc-4);
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--neon-b);
}

.wpcf7-submit {
  margin-top: 1rem;
}

.wpcf7-response-output {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 14px !important;
  border: 1px solid var(--zinc-6) !important;
  margin-top: 1rem !important;
  color: var(--zinc-3);
}

.wpcf7-mail-sent-ok {
  border-color: var(--neon-b) !important;
  color: var(--neon-b) !important;
  background: rgba(0, 243, 255, 0.05) !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  border-color: var(--neon-r) !important;
  color: var(--neon-r) !important;
  background: rgba(255, 0, 60, 0.05) !important;
}

/* ═══════════════════════════════════════════════════════
   BLOCS GUTENBERG
═══════════════════════════════════════════════════════ */
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--zinc-8);
  margin: 2.5rem 0;
}

.wp-block-separator.rv-sep {
  border-top-color: var(--neon-r);
  opacity: 0.3;
}

.wp-block-quote {
  border-left: 3px solid var(--neon-r);
  padding: 1rem 1.5rem;
  background: var(--zinc-9);
  margin: 1.5rem 0;
}

.wp-block-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--zinc-3);
}

.wp-block-code {
  background: var(--zinc-8);
  border: 1px solid var(--zinc-6);
  padding: 1rem 1.5rem;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--neon-b);
}

/* Tables */
.wp-block-table table,
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.wp-block-table th,
th {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--zinc-8);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--zinc-6);
}

.wp-block-table td,
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--zinc-8);
  color: var(--zinc-3);
  vertical-align: top;
}

.wp-block-table tr:hover td { background: var(--zinc-9); }

/* ═══════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: transparent;
  border: 1px solid var(--zinc-6);
  color: var(--zinc-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  z-index: 1000;
  border-radius: 0;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: var(--neon-r);
  color: var(--neon-r);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════
   LAYOUTS
═══════════════════════════════════════════════════════ */
.has-sidebar .content-area {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.has-sidebar .main-content {
  flex: 2;
  min-width: 0;
}

.has-sidebar .widget-area {
  flex: 1;
  min-width: 240px;
}

.full-width-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   PAGE 404
═══════════════════════════════════════════════════════ */
.error-404 .page-title {
  font-size: clamp(4rem, 15vw, 10rem);
  color: var(--zinc-8);
  font-family: var(--gothic);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════
   SEARCH
═══════════════════════════════════════════════════════ */
.search-form {
  display: flex;
  gap: 0;
}

.search-form input[type="search"] {
  border-right: none;
}

.search-form button {
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   COMMENTAIRES
═══════════════════════════════════════════════════════ */
.comments-area {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--zinc-8);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-body {
  background: var(--zinc-9);
  border: 1px solid var(--zinc-8);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════
   SCREEN READER
═══════════════════════════════════════════════════════ */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════
   MATOMO OPT-OUT
═══════════════════════════════════════════════════════ */
#matomo-opt-out,
.matomo_optout {
  background: var(--zinc-9);
  border: 1px solid var(--zinc-8);
  padding: 1.5rem;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--zinc-3);
  margin: 1.5rem 0;
}

#matomo-opt-out p,
.matomo_optout p {
  color: var(--zinc-4);
  font-size: 13px;
}
/* ═══════════════════════════════════════════════════════
   LISTE ARTICLES — rv-card-list
═══════════════════════════════════════════════════════ */
.rv-card-list {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--zinc-8);
}
.rv-card-list:last-child { border-bottom: none; }
.rv-card-list__meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.rv-card-list__title {
  font-family: var(--gothic);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.rv-card-list__title a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.rv-card-list__title a:hover { color: var(--side-color, var(--neon-r)); }
.rv-card-list__meta-bottom {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--zinc-5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.rv-card-list__excerpt {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--zinc-4);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.rv-card-list__link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.rv-card-list__link:hover { opacity: 0.7; }
.archive-posts { padding: 1rem 0; }




