/*
Theme Name:  MétéoTunisie Theme
Theme URI:   https://www.meteotunisie.net
Author:      MétéoTunisie
Author URI:  https://www.meteotunisie.net
Description: Thème personnalisé pour MétéoTunisie.net — Design ciel nocturne aux couleurs de la Tunisie 🇹🇳
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: meteotunisie
Tags:        météo, tunisie, prévisions, rtl, bilingue
*/

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

:root {
  --sky:          #0d1520;
  --sky-mid:      #12213a;
  --sky-light:    #1a3055;
  --accent:       #e8001d;       /* Rouge Tunisie */
  --accent-warm:  #ff4d63;       /* Rouge clair */
  --accent-gold:  #f59e0b;       /* Or pour alertes */
  --text:         #f0f4ff;
  --muted:        #8ba3cc;
  --card-bg:      rgba(255,255,255,0.05);
  --card-border:  rgba(255,255,255,0.09);
  --radius:       16px;
  --max-width:    1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Tajawal', sans-serif;
  background: var(--sky);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

[lang="ar"], [dir="rtl"] {
  font-family: 'Tajawal', 'DM Sans', sans-serif;
  direction: rtl;
  text-align: right;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, button, select { font-family: inherit; }

/* ============================================================
   BARRE INFO HAUT DE PAGE
   ============================================================ */
.topbar {
  background: rgba(232,0,29,0.12);
  border-bottom: 1px solid rgba(232,0,29,0.2);
  padding: 6px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar a { color: var(--muted); transition: color .2s; }
.topbar a:hover { color: var(--text); }
.topbar-sep { opacity: .3; }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,21,32,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.logo-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  background: rgba(232,0,29,0.18);
  border: 1px solid rgba(232,0,29,0.3);
  color: var(--accent-warm);
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 4px;
  text-transform: uppercase;
}

/* Navigation */
.main-navigation ul { display: flex; gap: 1.6rem; }

.main-navigation a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Sélecteur de langue */
.lang-switcher { display: flex; gap: 5px; align-items: center; }

.lang-switcher a {
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--card-border);
  color: var(--muted);
  transition: all .2s;
  letter-spacing: .03em;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(232,0,29,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(26,48,85,0.3) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero-flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(232,0,29,0.1);
  border: 1px solid rgba(232,0,29,0.25);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 1.4rem;
}

.hero-section h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-section h1 span { color: var(--accent-warm); }

.hero-section .hero-sub {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
}

/* Barre de recherche */
.search-hero {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(232,0,29,0.25);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  align-items: center;
  transition: border-color .2s;
}

.search-hero:focus-within { border-color: rgba(232,0,29,0.5); }

.search-hero .search-icon { font-size: 15px; margin-right: 8px; flex-shrink: 0; }

.search-hero input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.9rem;
  min-width: 0;
}

.search-hero input::placeholder { color: var(--muted); }

.search-hero button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}

.search-hero button:hover { background: #c0001a; }

/* Raccourcis villes */
.quick-cities {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.quick-city {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.quick-city:hover {
  color: var(--text);
  border-color: rgba(232,0,29,0.35);
  background: rgba(232,0,29,0.07);
}

/* Stats hero */
.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

.hero-stat-val   { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.hero-stat-label { font-size: 0.73rem; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .05em; }

/* ============================================================
   ALERTES MÉTÉO
   ============================================================ */
.alerts-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
}

.alert-card {
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.22);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-card .alert-icon { font-size: 1.4rem; flex-shrink: 0; }
.alert-card strong { font-size: 0.87rem; font-weight: 600; color: #fca5a5; display: block; }
.alert-card p { font-size: 0.77rem; color: var(--muted); margin-top: 3px; }

.alert-canicule {
  background: rgba(245,158,11,0.07);
  border-color: rgba(245,158,11,0.25);
}
.alert-canicule strong { color: #fcd34d; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-wrap {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-head h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head .see-all {
  font-size: 0.8rem;
  color: var(--accent-warm);
  cursor: pointer;
  transition: opacity .2s;
}

.section-head .see-all:hover { opacity: .75; }

/* ============================================================
   MÉTÉO ACTUELLE
   ============================================================ */
.current-weather-card {
  background: linear-gradient(135deg, rgba(232,0,29,0.08) 0%, var(--sky-mid) 100%);
  border: 1px solid rgba(232,0,29,0.18);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cw-main  { display: flex; align-items: center; gap: 1.2rem; }
.cw-emoji { font-size: 3.5rem; }
.cw-temp  { font-family: 'Sora', sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.cw-desc  { font-size: 0.83rem; color: var(--muted); margin-top: 4px; }
.cw-city  { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.cw-date  { font-size: 0.78rem; color: var(--muted); }

.cw-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.cw-stat-val   { font-size: 1.05rem; font-weight: 600; }
.cw-stat-label { font-size: 0.7rem; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .05em; }

.geo-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,0,29,0.1);
  border: 1px solid rgba(232,0,29,0.28);
  color: var(--accent-warm);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.geo-btn:hover { background: rgba(232,0,29,0.18); }

/* Widget plugin météo */
.weather-plugin-wrap .lwp-wrap { border-radius: var(--radius) !important; overflow: hidden; }

/* ============================================================
   PRÉVISIONS 7 JOURS
   ============================================================ */
.forecast-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.forecast-scroll::-webkit-scrollbar { height: 4px; }
.forecast-scroll::-webkit-scrollbar-track { background: transparent; }
.forecast-scroll::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

.forecast-day {
  flex: 0 0 115px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}

.forecast-day:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

.forecast-day.today {
  background: rgba(232,0,29,0.09);
  border-color: rgba(232,0,29,0.28);
}

.fd-name  { font-size: 0.73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.today .fd-name { color: var(--accent-warm); }
.fd-icon  { font-size: 1.7rem; margin: 8px 0; }
.fd-hi    { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 700; }
.fd-lo    { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.fd-rain  { font-size: 0.68rem; color: #60a5fa; margin-top: 6px; }

/* ============================================================
   GRILLE DES VILLES
   ============================================================ */
.cities-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.cities-tab {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}

.cities-tab.active,
.cities-tab:hover {
  background: rgba(232,0,29,0.1);
  border-color: rgba(232,0,29,0.3);
  color: var(--accent-warm);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.city-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem;
  cursor: pointer;
  transition: all .22s;
  display: block;
}

.city-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(232,0,29,0.25);
  transform: translateY(-2px);
}

.city-card .city-name  { font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; }
.city-card .city-ar    { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; font-family: 'Tajawal', sans-serif; }
.city-card .city-row   { display: flex; align-items: center; justify-content: space-between; }
.city-card .city-temp  { font-family: 'Sora', sans-serif; font-size: 1.7rem; font-weight: 700; }
.city-card .city-icon  { font-size: 1.7rem; }
.city-card .city-desc  { font-size: 0.73rem; color: var(--muted); margin-top: 4px; }
.city-card .city-range { font-size: 0.73rem; color: var(--muted); display: flex; gap: 8px; margin-top: 6px; }
.city-card .city-range .hi { color: var(--accent-warm); }
.city-card .city-gouv  { font-size: 0.68rem; color: var(--muted); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--card-border); }

/* ============================================================
   GOUVERNORATS
   ============================================================ */
.gouv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gouv-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .2s;
}

.gouv-card:hover {
  border-color: rgba(232,0,29,0.3);
  background: rgba(232,0,29,0.06);
}

.gouv-name  { font-size: 0.88rem; font-weight: 600; }
.gouv-ar    { font-size: 0.75rem; color: var(--muted); font-family: 'Tajawal', sans-serif; margin-top: 2px; }
.gouv-count { font-size: 0.73rem; color: var(--muted); }
.gouv-temp  { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--accent-warm); }

/* ============================================================
   CARTE MÉTÉO
   ============================================================ */
.map-placeholder {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 55%, rgba(232,0,29,0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 30%, rgba(26,48,85,0.4) 0%, transparent 40%);
}

.map-placeholder > * { position: relative; }
.map-placeholder h3  { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.map-placeholder p   { font-size: 0.82rem; color: var(--muted); }

.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}

/* ============================================================
   SECTION TOURISME + MÉTÉO
   ============================================================ */
.tourism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.tourism-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .22s;
}

.tourism-card:hover { transform: translateY(-3px); border-color: rgba(232,0,29,0.25); }

.tourism-img {
  height: 120px;
  background: linear-gradient(135deg, var(--sky-mid), var(--sky-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.tourism-info { padding: 12px 14px; }
.tourism-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.tourism-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.tourism-temp { font-size: 0.78rem; color: var(--accent-warm); margin-top: 8px; font-weight: 500; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-card {
  background: linear-gradient(135deg, rgba(232,0,29,0.08) 0%, rgba(18,33,58,0.9) 100%);
  border: 1px solid rgba(232,0,29,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-card h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.newsletter-card p  { font-size: 0.82rem; color: var(--muted); }

.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }

.newsletter-form input {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 9px 18px;
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  min-width: 200px;
  transition: border-color .2s;
}

.newsletter-form input:focus { border-color: rgba(232,0,29,0.4); }
.newsletter-form input::placeholder { color: var(--muted); }

.newsletter-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.newsletter-form button:hover { background: #c0001a; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 3.5rem;
  background: rgba(8,14,24,0.8);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 2rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.footer-brand .footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

.footer-col h4  { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.footer-col ul  { display: flex; flex-direction: column; gap: 8px; }
.footer-col a   { font-size: 0.83rem; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
}

.footer-copy  { font-size: 0.75rem; color: var(--muted); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { font-size: 0.75rem; color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--text); }

/* ============================================================
   ÉTOILES ARRIÈRE-PLAN
   ============================================================ */
#stars-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle linear infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.1; }
  50%       { opacity: 0.4; }
}

body > *:not(#stars-bg) { position: relative; z-index: 1; }

/* ============================================================
   PAGE VILLE (single)
   ============================================================ */
.city-hero {
  padding: 3rem 2rem 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,0,29,0.1) 0%, transparent 70%);
}

.city-breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.city-breadcrumb a { color: var(--muted); transition: color .2s; }
.city-breadcrumb a:hover { color: var(--text); }
.city-breadcrumb span { opacity: .4; }

.city-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.city-hero-title { font-family: 'Sora', sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
.city-hero-ar    { font-family: 'Tajawal', sans-serif; font-size: 1.3rem; color: var(--muted); margin-top: 4px; }
.city-hero-meta  { font-size: 0.82rem; color: var(--muted); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Tabs page ville */
.city-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.city-tab {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all .2s;
}

.city-tab.active,
.city-tab:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.badge-rouge {
  background: rgba(232,0,29,0.12);
  border: 1px solid rgba(232,0,29,0.25);
  color: var(--accent-warm);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.badge-vert {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-navigation { display: none; }
  .main-navigation.open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13,21,32,0.98);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--card-border);
  }
  .main-navigation.open ul { flex-direction: column; gap: 1rem; }
  .menu-toggle { display: block; }
  .topbar { display: none; }
  .hero-section { padding: 2.5rem 1.5rem 2rem; }
  .current-weather-card { flex-direction: column; align-items: flex-start; }
  .cw-stats { gap: 1.2rem; }
  .cities-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .gouv-grid  { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .newsletter-card { flex-direction: column; }
  .newsletter-form input { min-width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .city-hero-grid { grid-template-columns: 1fr; }
  .section-wrap, .alerts-bar { padding-left: 1.2rem; padding-right: 1.2rem; }
  .hero-stats { gap: 1.2rem; }
}
