/**
 * RT2S — finitions visuelles additionnelles.
 *
 * Ce fichier vient AU-DESSUS de style.css : il ne redéfinit pas les
 * fondations (tokens, structure, layout) mais affine le rendu — transitions,
 * ombres, micro-interactions, hiérarchie visuelle. Il peut être modifié ou
 * vidé sans casser la mise en page.
 */

/* ==========================================================================
   1. Transitions douces sur tous les éléments interactifs
   ========================================================================== */

a,
button,
.rt2s-card,
.rt2s-chronicle__play,
.rt2s-menu a,
.rt2s-filter__list a,
.rt2s-single__share a {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   2. Cartes : légère élévation au survol
   ========================================================================== */

.rt2s-card {
  box-shadow: 0 1px 2px rgba(36, 31, 28, 0.04);
}

.rt2s-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(36, 31, 28, 0.10);
}

.rt2s-card--row:hover { transform: none; box-shadow: none; }

.rt2s-card__title a { text-decoration: none; }
.rt2s-card__title a:hover { color: var(--rt2s-indigo); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   3. Hero : plus de présence visuelle
   ========================================================================== */

.rt2s-hero__media img {
  box-shadow: 0 16px 40px rgba(36, 31, 28, 0.14);
}

.rt2s-hero__title a { text-decoration: none; }
.rt2s-hero__title a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   4. Bandeaux de zone : accent au survol du lien "Voir tout"
   ========================================================================== */

.rt2s-zone-band__link {
  position: relative;
  text-decoration: none;
  color: var(--rt2s-indigo);
}

.rt2s-zone-band__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--rt2s-ocre);
  transition: width 0.2s ease;
}

.rt2s-zone-band__link:hover::after { width: 100%; }

/* ==========================================================================
   5. Boutons : profondeur discrète
   ========================================================================== */

.rt2s-header__search button,
.rt2s-form button,
.rt2s-live__card {
  box-shadow: 0 2px 6px rgba(30, 58, 95, 0.25);
}

.rt2s-header__search button:hover,
.rt2s-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.3);
}

.rt2s-live__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 58, 95, 0.3);
}

/* ==========================================================================
   6. Menu principal : accent plus marqué au survol/actif
   ========================================================================== */

.rt2s-header__nav .rt2s-menu a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(166, 61, 47, 0.3);
}

.rt2s-menu .current-menu-item > a,
.rt2s-menu .current-cat > a {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   7. Chroniques audio : ligne mise en valeur au survol
   ========================================================================== */

.rt2s-chronicle:hover { background: var(--rt2s-sable-clair); border-radius: 6px; }

.rt2s-chronicle__play:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(201, 138, 44, 0.35);
}

/* ==========================================================================
   8. Puces de zone : légèrement plus affirmées
   ========================================================================== */

.rt2s-zone {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   9. Focus clavier plus visible partout
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rt2s-ocre);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   10. Espace météo : petite touche de relief
   ========================================================================== */

.rt2s-weather {
  box-shadow: 0 -1px 0 rgba(30, 58, 95, 0.08) inset;
}
