/* =============================================================================
   SE RENSEIGNER — PAGES RÉGION & DÉPARTEMENT (refonte v2)
   Pages : se_renseigner_region_v2.php, se_renseigner_departement_v2.php

   Chargé APRÈS /css/v2/home-refonte.css, dont il réutilise les variables
   (--hv3-*) et les composants (.hv3-search, .hv3-btn, .hv3-cta-band…).
   Les classes propres à ces pages utilisent le préfixe .srz-.

   SOMMAIRE
   1. Réglages de page
   2. En-tête (fil d'Ariane, titre, chiffres clés, description, recherche)
   3. Carte
   4. Cartes des départements
   5. Grandes villes
   6. Annuaire des villes (filtre, index A-Z)
   7. Classements & liens internes
   8. Publicité
   9. Responsive
   ============================================================================= */


/* =============================================================================
   1. RÉGLAGES DE PAGE
   ============================================================================= */

.srz-page main.srz-main {
  background-size: 100% 900px;
}

.srz-section {
  position: relative;
  padding: 64px 0;
}

.srz-section-soft {
  background: linear-gradient(180deg, #F4FCFB 0%, #EEF9F7 100%);
}

.srz-section-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Titres de section : même taille que se_renseigner_home_v2 */
.srz-page .hv3-h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.3px;
  margin: 0;
}

.srz-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}


/* =============================================================================
   2. EN-TÊTE
   ============================================================================= */

/* z-index : la liste de suggestions doit passer au-dessus de la carte */
.srz-hero {
  position: relative;
  z-index: 5;
  padding: 18px 0 48px;
}

/* ---- Fil d'Ariane ---- */
.srz-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv3-muted);
}

.srz-crumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.srz-crumbs li + li::before {
  content: "›";
  margin: 0 9px;
  color: #B9BAD3;
}

.srz-crumbs a {
  color: var(--hv3-muted);
  text-decoration: none;
  border-radius: 4px;
}

.srz-crumbs a:hover { color: var(--hv3-navy); text-decoration: underline; }

.srz-crumbs [aria-current] {
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hv3-navy);
  font-weight: 600;
}

/* ---- Grille texte / carte ---- */
.srz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.srz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 16px;
  border-radius: 100px;
  background: var(--hv3-place-soft);
  color: #0B6F66;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.srz-h1 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  font-weight: 800;
  color: var(--hv3-navy);
}

.srz-h1-accent {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1px;
  background-image: linear-gradient(100deg, #0FA99B 0%, #22DAD2 60%, #3BE8B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--hv3-place);
  overflow-wrap: anywhere;
}

.srz-h1-sub {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.2px;
  color: var(--hv3-navy);
}

.srz-oldname {
  margin: -6px 0 16px;
  font-size: 13.5px;
  color: var(--hv3-muted);
}

/* ---- Chiffres clés ---- */
.srz-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.srz-stats li,
.srz-stats a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv3-muted);
  text-decoration: none;
}

.srz-stats li {
  padding: 8px 14px;
  border-radius: 100px;
  background: #FFFFFF;
  border: 1px solid var(--hv3-border);
  box-shadow: 0 8px 18px -16px rgba(24, 20, 87, .6);
}

.srz-stats b {
  font-weight: 800;
  color: var(--hv3-navy);
}

.srz-stats li:has(a):hover {
  border-color: var(--hv3-place-bright);
}

.srz-stats a:hover {
  color: var(--hv3-navy);
  text-decoration: none;
}

/* ---- Description (repliée à 4 lignes quand le JS est actif) ---- */
.srz-desc {
  margin: 0 0 24px;
}

.srz-desc-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hv3-muted);
}

.srz-desc-text p { margin: 0 0 10px; }
.srz-desc-text p:last-child { margin-bottom: 0; }

.hv3-js .srz-desc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.hv3-js .srz-desc.is-open .srz-desc-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.srz-desc-more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--hv3-place);
  cursor: pointer;
}

.srz-desc-more:hover { color: #0B6F66; text-decoration: underline; }

/* ---- Recherche ---- */
.srz-search-card {
  padding: 18px 18px 20px;
  border-radius: var(--hv3-radius);
  background: #FFFFFF;
  border: 1px solid var(--hv3-border);
  box-shadow: var(--hv3-shadow-sm);
}

.srz-search-label {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--hv3-navy);
}

.srz-search { margin: 0; }

.srz-search .hv3-search-field {
  border: 2px solid var(--hv3-place-bright);
}

.srz-search .hv3-search-field:focus-within {
  border-color: var(--hv3-place);
  box-shadow: 0 0 0 5px rgba(34, 218, 210, .25);
}


/* =============================================================================
   3. CARTE
   ============================================================================= */

/* z-index: 0 crée un contexte d'empilement : les calques Leaflet (z-index
   400 à 1000) ne passent ni sur le header fixe ni sur les suggestions. */
.srz-map-card {
  position: relative;
  z-index: 0;
  padding: 8px;
  border-radius: calc(var(--hv3-radius) + 8px);
  background: #FFFFFF;
  border: 1px solid var(--hv3-border);
  box-shadow: var(--hv3-shadow);
}

.srz-map {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: var(--hv3-radius);
  overflow: hidden;
  background: #EEF2F1;
  font-family: inherit;
}

.srz-map.leaflet-fullscreen-on,
.srz-map:fullscreen {
  border-radius: 0;
}

.srz-page .srz-map .leaflet-interactive {
  cursor: pointer;
}

/* Contrôles Leaflet (mêmes réglages que la carte de se_renseigner_home_v2) */
.srz-map .leaflet-bar {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(24, 20, 87, .7);
}

.srz-map .leaflet-bar a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: var(--hv3-navy);
  border-bottom-color: var(--hv3-border);
}

.srz-map .leaflet-bar a:hover {
  background: var(--hv3-soft);
  color: var(--hv3-navy);
}

.srz-map .leaflet-control-zoom-fullscreen {
  background-position: 6px 6px;
}

/* ---- Bandeau d'aide ---- */
.srz-map-hint {
  position: absolute;
  z-index: 800;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 120px);
  pointer-events: none;
  transition: opacity .3s ease;
}

.srz-map-hint span {
  display: block;
  padding: 9px 18px;
  border-radius: 100px;
  background: rgba(24, 20, 87, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 16px 32px -18px rgba(24, 20, 87, .9);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.srz-map.srz-is-loading .srz-map-hint,
.srz-map.srz-no-shapes .srz-map-hint {
  opacity: 0;
}

/* ---- Chargement / message ---- */
.srz-map.srz-is-loading::after {
  content: "";
  position: absolute;
  z-index: 850;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 3px solid rgba(15, 169, 155, .2);
  border-top-color: var(--hv3-place);
  animation: hv3-spin .7s linear infinite;
}

.srz-map-msg {
  position: absolute;
  inset: 0;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-weight: 600;
  color: var(--hv3-muted);
  text-align: center;
}

/* ---- Étiquettes (numéros des départements) ---- */
/* Marqueur de taille nulle (L.divIcon) : l'étiquette est centrée sur son point */
.srz-page .srz-map-label {
  pointer-events: none;
}

.srz-page .srz-map-label span {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 12px -6px rgba(24, 20, 87, .6);
  color: var(--hv3-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

/* ---- Info-bulle au survol ---- */
.srz-page .srz-map-tip {
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--hv3-navy);
  box-shadow: 0 10px 22px -12px rgba(24, 20, 87, .9);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.srz-page .srz-map-tip small {
  margin-left: 4px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
}

.srz-page .srz-map-tip::before { display: none; }

/* ---- Popup (écrans tactiles) ---- */
.srz-page .srz-map .leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 16px 32px -16px rgba(24, 20, 87, .8);
}

.srz-page .srz-map .leaflet-popup-content {
  margin: 12px 16px;
  font-family: inherit;
  text-align: center;
}

.srz-popup-name {
  display: block;
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--hv3-navy);
}

.srz-page .srz-popup-link {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 100px;
  background-image: var(--hv3-place-grad);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.srz-page .srz-popup-link:hover { color: #FFFFFF; text-decoration: none; }

/* ---- Aide "Ctrl + molette" ---- */
.srz-wheel-hint {
  position: absolute;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 20, 87, .45);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.srz-map.srz-show-wheel-hint .srz-wheel-hint { opacity: 1; }

.srz-wheel-hint kbd {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--hv3-navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}


/* =============================================================================
   4. CARTES DES DÉPARTEMENTS (page région)
   ============================================================================= */

.srz-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.srz-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  aspect-ratio: 16 / 10;
  padding: 16px;
  border-radius: var(--hv3-radius-sm);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  background: var(--hv3-navy);
  box-shadow: var(--hv3-shadow-sm);
  transition: transform var(--hv3-ease), box-shadow var(--hv3-ease);
}

.srz-card:hover,
.srz-card:focus-visible,
.srz-card.is-highlighted {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--hv3-shadow);
}

.srz-card-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.srz-card:hover .srz-card-img { transform: scale(1.06); }

.srz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(24, 20, 87, 0) 30%, rgba(24, 20, 87, .85) 100%);
}

.srz-card-code {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .92);
  color: var(--hv3-navy);
  font-size: 12.5px;
  font-weight: 800;
}

.srz-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.srz-card-name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.srz-card-meta {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}

.srz-card-go {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  transition: background var(--hv3-ease), color var(--hv3-ease), transform var(--hv3-ease);
}

.srz-card:hover .srz-card-go,
.srz-card.is-highlighted .srz-card-go {
  background: #FFFFFF;
  color: var(--hv3-place);
  transform: translateX(3px);
}


/* =============================================================================
   5. GRANDES VILLES
   ============================================================================= */

.srz-cities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.srz-city {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--hv3-radius-sm);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--hv3-border);
  box-shadow: var(--hv3-shadow-sm);
  text-decoration: none;
  transition: transform var(--hv3-ease), box-shadow var(--hv3-ease), border-color var(--hv3-ease);
}

.srz-city:hover,
.srz-city:focus-visible {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--hv3-shadow);
  border-color: var(--hv3-place-bright);
}

.srz-city-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-image: linear-gradient(135deg, #1D1766 0%, #3F2F9A 100%);
}

.srz-city-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.srz-city:hover .srz-city-img { transform: scale(1.05); }

.srz-city-initial {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 46px;
  font-weight: 800;
  color: rgba(255, 255, 255, .5);
}

.srz-city-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 14px -8px rgba(24, 20, 87, .7);
  color: var(--hv3-navy);
  font-size: 13px;
  font-weight: 800;
}

.srz-city-rating span { color: #FFB400; }
.srz-city-rating small { font-weight: 600; color: var(--hv3-muted); }

.srz-city-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px 15px;
}

.srz-city-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--hv3-navy);
}

.srz-city-meta {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--hv3-muted);
}


/* =============================================================================
   6. ANNUAIRE DES VILLES (page département)
   ============================================================================= */

.srz-directory {
  padding: 24px;
  border-radius: var(--hv3-radius);
  background: #FFFFFF;
  border: 1px solid var(--hv3-border);
  box-shadow: var(--hv3-shadow-sm);
}

/* ---- Filtre ---- */
.srz-filter {
  position: relative;
  max-width: 560px;
  margin: 0 auto 18px;
}

.srz-filter-ico {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 20px;
  height: 20px;
  fill: var(--hv3-muted);
  pointer-events: none;
}

.srz-page .srz-filter-input {
  width: 100%;
  height: 50px;
  padding: 0 18px 0 48px;
  border-radius: 100px;
  border: 1.5px solid var(--hv3-border);
  background: var(--hv3-soft);
  font-size: 15px;
  font-weight: 500;
  color: var(--hv3-navy);
  outline: none;
  transition: border-color var(--hv3-ease), box-shadow var(--hv3-ease), background var(--hv3-ease);
}

.srz-page .srz-filter-input:focus {
  border-color: var(--hv3-place-bright);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(34, 218, 210, .2);
}

.srz-filter-status {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hv3-muted);
  text-align: center;
}

/* ---- Index A-Z ---- */
.srz-letters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hv3-border);
}

.srz-letters a {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--hv3-soft);
  color: var(--hv3-navy);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--hv3-ease), color var(--hv3-ease);
}

.srz-letters a:hover {
  background: var(--hv3-place);
  color: #FFFFFF;
  text-decoration: none;
}

.srz-letters a.is-disabled {
  opacity: .3;
  pointer-events: none;
}

/* ---- Groupes ---- */
.srz-group + .srz-group {
  margin-top: 18px;
}

.srz-group[hidden] { display: none; }

.srz-group-letter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--hv3-place);
  scroll-margin-top: 110px;
}

.srz-group-letter::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--hv3-border);
}

.srz-places {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.srz-places li[hidden] { display: none; }

.srz-places a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--hv3-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--hv3-ease), color var(--hv3-ease);
}

.srz-places a:hover,
.srz-places a.is-highlighted {
  background: var(--hv3-place-soft);
  color: #0B6F66;
  text-decoration: none;
}

.srz-place-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.srz-place-cp {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--hv3-muted);
}

.srz-empty {
  margin: 10px 0 0;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--hv3-muted);
}


/* =============================================================================
   7. CLASSEMENTS & LIENS INTERNES
   ============================================================================= */

.srz-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.srz-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 100px;
  background: #FFFFFF;
  border: 1px solid var(--hv3-border);
  box-shadow: 0 8px 18px -16px rgba(24, 20, 87, .6);
  color: var(--hv3-navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--hv3-ease), border-color var(--hv3-ease), box-shadow var(--hv3-ease);
}

.srz-chip:hover {
  transform: translateY(-2px);
  border-color: var(--hv3-place-bright);
  box-shadow: var(--hv3-shadow-sm);
  color: var(--hv3-navy);
  text-decoration: none;
}

.srz-chip-ico {
  font-size: 16px;
  line-height: 1;
}

/* ---- Autres régions / départements ---- */
.srz-section-links {
  padding: 8px 0 64px;
}

.srz-links-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--hv3-navy);
  text-align: center;
}

.srz-links-title a {
  color: var(--hv3-place);
}

.srz-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.srz-links a {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 100px;
  background: var(--hv3-soft);
  color: var(--hv3-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--hv3-ease), color var(--hv3-ease);
}

.srz-links a:hover {
  background: var(--hv3-place-soft);
  color: #0B6F66;
  text-decoration: none;
}

.srz-links a span { font-weight: 500; }


/* =============================================================================
   8. PUBLICITÉ
   ============================================================================= */

.srz-ads {
  margin: 0 auto 10px;
  padding: 12px;
  max-width: 970px;
  border-radius: var(--hv3-radius-sm);
  background: var(--hv3-soft);
  border: 1px solid var(--hv3-border);
  text-align: center;
}

.srz-ads-title {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hv3-muted);
}


/* =============================================================================
   9. RESPONSIVE
   ============================================================================= */

@media (max-width: 1199px) {
  .srz-hero-grid { gap: 32px; }
  .srz-h1-accent { font-size: 38px; }
  .srz-map { height: 500px; }
  .srz-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .srz-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .srz-map { height: 440px; }
  .srz-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .srz-page main.srz-main { background-size: 100% 700px; }

  .srz-hero { padding: 10px 0 32px; }
  .srz-crumbs ol { margin-bottom: 18px; font-size: 12.5px; }
  .srz-crumbs [aria-current] { max-width: 220px; }

  .srz-h1-accent { font-size: 31px; letter-spacing: -.6px; }
  .srz-h1-sub { font-size: 16.5px; }
  .srz-stats li { padding: 7px 12px; }
  .srz-stats li, .srz-stats a { font-size: 13px; }

  .srz-search-card { padding: 14px 12px 14px; }
  .srz-search-label { font-size: 14px; }

  .srz-section { padding: 44px 0; }
  .srz-section-links { padding: 0 0 44px; }
  .srz-page .hv3-h2 { font-size: 22px; }
  .srz-section-head { margin-bottom: 22px; }

  .srz-map-card { padding: 5px; border-radius: calc(var(--hv3-radius-sm) + 5px); }
  .srz-map { height: min(64vh, 400px); border-radius: var(--hv3-radius-sm); }
  .srz-map-hint { top: 10px; left: 56px; right: 10px; max-width: none; transform: none; }
  .srz-map-hint span { padding: 7px 12px; font-size: 12px; border-radius: 12px; }

  .srz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .srz-card { aspect-ratio: 4 / 3; padding: 12px; }
  .srz-card-name { font-size: 15px; }
  .srz-card-go { display: none; }

  .srz-cities { gap: 12px; }
  .srz-city-body { padding: 10px 12px 12px; }
  .srz-city-name { font-size: 14.5px; }

  .srz-directory { padding: 16px 12px; border-radius: var(--hv3-radius-sm); }
  .srz-places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; }
  .srz-places a { padding: 7px 6px; font-size: 13.5px; }
  .srz-place-cp { display: none; }
}

@media (max-width: 420px) {
  .srz-cards { grid-template-columns: minmax(0, 1fr); }
  .srz-card { aspect-ratio: 16 / 7; }
  .srz-places { grid-template-columns: minmax(0, 1fr); }
  .srz-place-cp { display: inline; }
}

/* Appareils tactiles : l'aide molette n'a pas de sens sans souris */
@media (hover: none) {
  .srz-wheel-hint { display: none; }
}
