/* ============================================================
   BennesPro 71 – CSS Design System
   ============================================================ */

/* --- Variables --- */
:root {
  --primary:       #1B6CA8;
  --primary-dark:  #14538A;
  --primary-light: #D6E9F8;
  --secondary:     #F4A820;
  --secondary-dark:#D48A10;
  --accent:        #E8F4FD;
  --text:          #1A1F2E;
  --text-muted:    #6B7280;
  --bg:            #FFFFFF;
  --bg-light:      #F8FAFD;
  --bg-dark:       #0F1929;
  --border:        #E5EAF0;
  --success:       #10B981;
  --warning:       #F4A820;
  --error:         #EF4444;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(27,108,168,.15);
  --shadow-xl: 0 20px 60px rgba(27,108,168,.20);

  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Poppins', system-ui, sans-serif;

  --container: 1200px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin-bottom: var(--space-md); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
  box-shadow: 0 4px 20px rgba(244,168,32,.35);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,168,32,.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
  padding: 10px 22px;
  font-size: .9rem;
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--text);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-lg);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo-dept { color: var(--secondary); }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.nav-cta {
  background: var(--secondary);
  color: var(--text) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 60%, #1e8bc3 100%);
  color: #fff;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,168,32,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(244,168,32,.2);
  border: 1px solid rgba(244,168,32,.4);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}
.hero h1 { color: #fff; margin-bottom: var(--space-md); }
.hero h1 span { color: var(--secondary); }
.hero-subtitle {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  opacity: .75;
  margin-top: 2px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-benne-svg {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
}

/* --- Section Base --- */
.section {
  padding: var(--space-3xl) 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--space-sm);
}
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,.7); }

/* --- How it works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 0;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 4px 16px rgba(27,108,168,.3);
}
.step-icon {
  font-size: 2.4rem;
  margin-bottom: var(--space-md);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: var(--space-sm); }
.step-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* --- Avantages (Features) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: var(--space-sm); }
.feature-card p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* --- Types de bennes --- */
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.type-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.type-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.type-card .type-volume {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.type-card h3 { font-size: 1.1rem; margin: var(--space-sm) 0 var(--space-md); }
.type-card ul { list-style: none; padding: 0; }
.type-card ul li {
  font-size: .88rem;
  opacity: .85;
  padding: 4px 0;
}
.type-card ul li::before { content: '✓ '; color: var(--secondary); font-weight: 700; }
.type-card .type-price {
  margin-top: var(--space-lg);
  font-size: .85rem;
  opacity: .75;
}
.type-card .type-price strong { color: var(--secondary); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary), #e89810);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--text); margin-bottom: var(--space-md); }
.cta-banner p { color: rgba(26,31,46,.75); margin-bottom: var(--space-xl); font-size: 1.05rem; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}
.testimonial-text {
  font-size: .95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-city { font-size: .8rem; color: var(--text-muted); }

/* --- Villes grid --- */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.city-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  transition: all 0.22s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.city-card:hover {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.city-card .city-name { font-weight: 600; font-size: .92rem; }
.city-card .city-zip { font-size: .78rem; color: var(--text-muted); }

/* Cities listing page */
.cities-listing {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 1024px) { .cities-listing { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .cities-listing { grid-template-columns: repeat(2, 1fr); } }

/* --- Ville detail page --- */
.ville-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: var(--space-2xl) 0;
}
.ville-hero h1 { color: #fff; }
.ville-hero .breadcrumb { margin-bottom: var(--space-md); }
.breadcrumb a, .breadcrumb span {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }

.ville-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}
.ville-sidebar {
  position: sticky;
  top: 90px;
}
.devis-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-light);
}
.devis-widget h3 { margin-bottom: var(--space-sm); color: var(--primary); }
.devis-widget p { font-size: .9rem; color: var(--text-muted); margin-bottom: var(--space-lg); }

/* ============================================================
   MÉTÉO CHANTIER – Widget par ville
   ============================================================ */

.meteo-widget {
  margin-top: var(--space-lg);
  background: linear-gradient(160deg, #fff 0%, var(--bg-light) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 180px;
}

/* --- Loading --- */
.meteo-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-2xl) var(--space-lg);
  color: var(--text-muted);
  font-size: .9rem;
}
.meteo-loading p { margin: 0; }
.meteo-spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: meteo-spin .8s linear infinite;
}
@keyframes meteo-spin { to { transform: rotate(360deg); } }

/* --- Erreur --- */
.meteo-error {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-xl) var(--space-lg);
}
.meteo-error-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.meteo-error p { margin: 0; font-size: .92rem; color: var(--text-muted); line-height: 1.7; }

/* --- Bandeau conditions actuelles --- */
.meteo-now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 65%, #2A87C9 100%);
  color: #fff;
}
.meteo-now-main {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.meteo-now-txt { display: flex; flex-direction: column; line-height: 1.25; }
.meteo-now-temp {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
}
.meteo-now-lib { font-size: .95rem; font-weight: 600; color: var(--secondary); }
.meteo-now-city { font-size: .78rem; opacity: .75; letter-spacing: .02em; }

.meteo-now-stats {
  display: flex;
  gap: var(--space-lg);
}
.meteo-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: var(--space-lg);
  border-left: 1px solid rgba(255,255,255,.18);
}
.meteo-stat:first-child { border-left: 0; padding-left: 0; }
.meteo-stat-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.meteo-stat-v { font-size: 1rem; font-weight: 700; }

/* --- Recommandation --- */
.meteo-reco {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  background: #FFF7E8;
  border-bottom: 1px solid #F6E3BE;
}
.meteo-reco-icon { font-size: 1.15rem; line-height: 1.4; flex-shrink: 0; }
.meteo-reco p {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  color: #7A5410;
  line-height: 1.6;
}

/* --- Grille 7 jours --- */
.meteo-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.meteo-day {
  position: relative;
  background: #fff;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: background .22s, transform .22s;
}
.meteo-day:hover { background: var(--accent); }
.meteo-day.is-today { background: var(--accent); }
.meteo-day.is-best {
  background: #F0FBF5;
  box-shadow: inset 0 0 0 2px var(--success);
  z-index: 1;
}
.meteo-badge-best {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 0 0 6px 6px;
  white-space: nowrap;
}
.meteo-day-name {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.meteo-day-date { font-size: .7rem; color: var(--text-muted); }
.meteo-icon { display: block; margin: 2px auto; }
.meteo-day-temps {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
}
.meteo-day-temps strong { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.meteo-day-temps em { font-size: .82rem; font-style: normal; color: var(--text-muted); }
.meteo-day-lib {
  font-size: .68rem;
  color: var(--text-muted);
  line-height: 1.3;
  min-height: 1.8em;
}
.meteo-day-meta {
  display: flex;
  gap: 8px;
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Jauge indice chantier */
.meteo-gauge {
  width: 100%;
  height: 5px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}
.meteo-gauge-bar {
  height: 100%;
  border-radius: 4px;
  transition: width .5s ease;
}
.meteo-lvl-ideal   { background: var(--success); }
.meteo-lvl-correct { background: #84CC16; }
.meteo-lvl-moyen   { background: var(--secondary); }
.meteo-lvl-mauvais { background: var(--error); }

.meteo-day-level {
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.meteo-lvl-txt-ideal   { color: var(--success); }
.meteo-lvl-txt-correct { color: #5E9612; }
.meteo-lvl-txt-moyen   { color: var(--secondary-dark); }
.meteo-lvl-txt-mauvais { color: var(--error); }

/* --- Légende --- */
.meteo-legend {
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}
.meteo-legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: 6px;
}
.meteo-legend-items span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-muted);
}
.meteo-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.meteo-source {
  margin: 0;
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.meteo-source a { color: var(--primary); text-decoration: underline; }

/* --- CTA sous le widget --- */
.meteo-cta {
  display: flex !important;
  justify-content: center;
  margin: var(--space-lg) var(--space-xl) var(--space-xl);
}

/* --- Conseils météo --- */
.meteo-tips { margin-top: var(--space-xl); }
.meteo-tips h3 { font-size: 1.15rem; margin-bottom: var(--space-md); }
.meteo-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.meteo-tip {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: transform .22s, box-shadow .22s;
}
.meteo-tip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.meteo-tip-icon { font-size: 1.5rem; display: block; margin-bottom: var(--space-sm); }
.meteo-tip h4 { font-size: .95rem; margin-bottom: 6px; }
.meteo-tip p { font-size: .84rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* --- Mini widget sidebar --- */
.meteo-mini {
  margin-top: var(--space-lg);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.meteo-mini-head {
  padding: 10px var(--space-lg);
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.meteo-mini-label {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.meteo-mini-body { padding: var(--space-md) var(--space-lg); }
.meteo-mini-now {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.meteo-mini-now > div { display: flex; flex-direction: column; line-height: 1.2; }
.meteo-mini-temp {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
}
.meteo-mini-lib { font-size: .78rem; color: var(--text-muted); }
.meteo-mini-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  padding-top: var(--space-md);
}
.meteo-mini-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .7rem;
  color: var(--text-muted);
}
.meteo-mini-day strong { font-size: .82rem; color: var(--text); font-family: var(--font-heading); }
.meteo-mini-link {
  display: block;
  padding: 10px var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  transition: background .2s;
}
.meteo-mini-link:hover { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .meteo-spinner { animation-duration: 2s; }
  .meteo-gauge-bar { transition: none; }
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group label .required { color: var(--error); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,108,168,.12);
}
.form-control::placeholder { color: #9CA3AF; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check-label { font-size: .9rem; color: var(--text-muted); }
.form-hint { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

/* Devis page large form */
.devis-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.devis-form-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border);
}
.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.step-indicator {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.step-ind {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.step-ind .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  transition: all 0.2s;
}
.step-ind.active { color: var(--primary); }
.step-ind.active .num { background: var(--primary); color: #fff; }
.step-ind.done .num { background: var(--success); color: #fff; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  gap: var(--space-lg);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--accent); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Trust badges --- */
.trust-bar {
  background: var(--primary);
  color: #fff;
  padding: var(--space-lg) 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: .9rem;
  font-weight: 500;
}
.trust-item svg { opacity: .85; }

/* --- Alert success --- */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}
.alert-success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}
.alert-info {
  background: var(--accent);
  border: 1px solid var(--primary-light);
  color: var(--primary);
}

/* --- Page hero small --- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: var(--space-2xl) 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-md); }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.page-hero .breadcrumb { justify-content: center; display: flex; gap: 0; margin-bottom: var(--space-md); }

/* --- Comment ça marche page --- */
.how-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.how-section.reverse { direction: rtl; }
.how-section.reverse > * { direction: ltr; }
.how-visual {
  background: var(--accent);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.how-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: .12;
  line-height: 1;
  margin-bottom: calc(-1 * var(--space-xl));
}
.how-content h2 { margin-bottom: var(--space-md); }
.how-content p { color: var(--text-muted); font-size: 1rem; margin-bottom: var(--space-md); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: .95rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 14px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background-color: var(--success);
}

/* --- Mentions légales --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: var(--space-2xl);
}
.legal-section h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-light);
}
.legal-section p, .legal-section ul { font-size: .95rem; color: var(--text-muted); line-height: 1.8; }
.legal-section ul { list-style: disc; padding-left: var(--space-xl); }

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.8);
  padding: var(--space-2xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.footer-brand p { font-size: .9rem; opacity: .75; margin-top: var(--space-md); margin-bottom: var(--space-lg); line-height: 1.7; }
.footer-cta { display: inline-block; }
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}
.site-footer ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.site-footer ul a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color 0.2s;
}
.site-footer ul a:hover { color: var(--secondary); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: .88rem;
  opacity: .75;
  margin-bottom: var(--space-sm);
}
.footer-contact p svg { width: 16px; height: 16px; color: var(--secondary); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-lg) 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  opacity: .55;
}
.footer-bottom-inner a { color: inherit; }
.footer-bottom-inner a:hover { opacity: 1; color: var(--secondary); }

/* --- Reveal on scroll --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .ville-content { grid-template-columns: 1fr; }
  .ville-sidebar { position: static; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .how-section { grid-template-columns: 1fr; }
  .how-section.reverse { direction: ltr; }

  /* Météo : 4 colonnes sur tablette */
  .meteo-days { grid-template-columns: repeat(4, 1fr); }
  .meteo-tips-grid { grid-template-columns: repeat(3, 1fr); }
  .meteo-mini { max-width: 420px; }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid var(--border);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: var(--space-sm); }
  .main-nav a.nav-cta { display: inline-block; margin-top: var(--space-sm); }
  .site-header { position: relative; }

  .features-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: var(--space-lg); }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .devis-form-card { padding: var(--space-lg); }
  .trust-bar-inner { flex-direction: column; gap: var(--space-md); }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .step-indicator { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; gap: var(--space-sm); text-align: center; }

  /* --- Météo mobile --- */
  .meteo-now {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg);
    gap: var(--space-md);
  }
  .meteo-now-stats {
    width: 100%;
    justify-content: space-between;
    gap: var(--space-sm);
  }
  .meteo-stat {
    align-items: flex-start;
    padding-left: var(--space-md);
    flex: 1;
  }
  .meteo-reco { padding: var(--space-md) var(--space-lg); }
  .meteo-days { grid-template-columns: repeat(3, 1fr); }
  .meteo-day { padding: var(--space-md) 6px; }
  .meteo-day-lib { min-height: 0; }
  .meteo-legend { padding: var(--space-md) var(--space-lg); }
  .meteo-cta {
    margin: var(--space-md) var(--space-lg) var(--space-lg);
    width: calc(100% - var(--space-lg) * 2);
    text-align: center;
  }
  .meteo-tips-grid { grid-template-columns: 1fr; }
  .meteo-mini { max-width: none; }
}

@media (max-width: 420px) {
  .meteo-days { grid-template-columns: repeat(2, 1fr); }
  .meteo-now-temp { font-size: 2rem; }
  .meteo-mini-days { grid-template-columns: repeat(4, 1fr); gap: 4px; }
}