/* ============================================
   COMPARSTORE — Premium Design System v2
   Inspired by winsol.eu / high-end brand sites
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #1B3A5C;
  --navy-deep: #0D1F33;
  --navy-light: #2A5580;
  --gold: #D4A853;
  --gold-light: #F0D48A;
  --warm: #F5EDE0;
  --bg: #FAFAFA;
  --bg-warm: #F7F4F0;
  --white: #FFFFFF;
  --text: #1A1D26;
  --text-mid: #4A5568;
  --text-light: #8A94A6;
  --border: #E2E8F0;
  --success: #2D8A4E;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --max-w: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Typography — Premium Scale --- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; color: var(--navy-deep); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
p { margin-top: 1rem; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* --- Fade-in animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER — Sticky, minimal, premium
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.header-logo { display: flex; align-items: center; gap: 0.6rem; }
.header-logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
@media (max-width: 480px) { .header-logo img { height: 28px; max-width: 120px; } }
.header-logo span { font-weight: 800; font-size: 1.3rem; color: var(--navy-deep); letter-spacing: -0.02em; }
.logo-accent { color: var(--navy-light); }

.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-mid); transition: color var(--transition); }
.nav a:hover { color: var(--navy); }

.btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(27,58,92,0.2);
}
.btn-nav:hover { background: var(--navy-light); color: var(--white) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27,58,92,0.3); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-deep); margin: 6px 0; transition: var(--transition); border-radius: 2px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.2rem; }
}

/* ============================================
   HERO — Full viewport, cinematic
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(42,85,128,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(212,168,83,0.15) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 10rem 2rem 6rem;
}
.hero-content .container { padding: 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 520px;
}

/* Search box — premium glassmorphism */
.search-box {
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 60px;
  padding: 0.4rem;
  display: flex;
  gap: 0.3rem;
  max-width: 540px;
}
.search-box input {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  outline: none;
  min-width: 0;
}
.search-box input::placeholder { color: rgba(255,255,255,0.5); }
.search-box select {
  border: none;
  padding: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  cursor: pointer;
  min-width: 150px;
  -webkit-appearance: none;
}
.search-box select option { color: var(--text); background: var(--white); }
.btn-search {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 1rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-search:hover { background: var(--gold-light); transform: scale(1.03); }

@media (max-width: 600px) {
  .search-box { flex-direction: column; border-radius: var(--radius); }
  .search-box input, .search-box select { border-radius: var(--radius-sm); }
  .btn-search { border-radius: var(--radius-sm); }
  .hero-content { padding: 2rem 1.5rem 3rem; }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-number { font-size: 2.2rem; font-weight: 800; color: var(--white); display: block; letter-spacing: -0.02em; }
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 400; }

@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-stat-number { font-size: 1.6rem; }
}

/* ============================================
   SECTIONS — Generous spacing
   ============================================ */
.section { padding: 7rem 0; }
.section-warm { background: var(--bg-warm); }
.section-navy { background: var(--navy-deep); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.7); }

.section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-header p {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-top: 1rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

/* ============================================
   HOW IT WORKS — 3 steps, premium
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}
.step {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.step h3 { margin-top: 0; }
.step p { color: var(--text-mid); font-size: 0.95rem; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .step { padding: 1.5rem; }
}

/* ============================================
   VISUAL CARDS — Full-image, overlay text
   ============================================ */
.visual-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
.visual-grid-3 { grid-template-columns: repeat(3, 1fr); }
.visual-grid-2 { grid-template-columns: repeat(2, 1fr); }
.visual-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .visual-grid-3, .visual-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .visual-grid-3, .visual-grid-2, .visual-grid-4 { grid-template-columns: 1fr; }
}

.visual-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform var(--transition);
}
.visual-card:hover { transform: scale(1.02); }
.visual-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.visual-card:hover .visual-card-bg { transform: scale(1.06); }
.visual-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,31,51,0.8) 0%, rgba(13,31,51,0.05) 55%);
}
.visual-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  width: 100%;
}
.visual-card h3 { color: var(--white); margin: 0; font-size: 1.2rem; }
.visual-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 0.25rem; }
.visual-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  transition: gap var(--transition);
}
.visual-card:hover .card-arrow { gap: 0.6rem; }

/* ============================================
   CITY CARDS — Clean, minimal
   ============================================ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.city-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.city-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.city-card h3 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--navy-deep); }
.city-card .city-count { font-size: 0.8rem; color: var(--text-light); }
.city-card .arrow { color: var(--navy-light); font-size: 1.2rem; opacity: 0; transition: opacity var(--transition), transform var(--transition); }
.city-card:hover .arrow { opacity: 1; transform: translateX(4px); }

/* ============================================
   CTA SECTION — Premium, full-width
   ============================================ */
.cta-section {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.15rem; margin-bottom: 2rem; }
.btn-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(212,168,83,0.3);
}
.btn-cta:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,83,0.4); }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-item { text-align: center; }
.trust-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.5rem;
}
.trust-item h4 { font-size: 0.95rem; font-weight: 700; margin: 0; }
.trust-item p { font-size: 0.8rem; color: var(--text-light); margin: 0.2rem 0 0; }

/* ============================================
   PAGE LAYOUT — Content + Sidebar
   ============================================ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.content { max-width: 780px; }
.content p { font-size: 1.05rem; line-height: 1.8; color: var(--text-mid); }
.content h2 { margin-top: 3rem; }
.content ul, .content ol { margin-top: 1rem; padding-left: 1.5rem; }
.content li { margin-top: 0.5rem; line-height: 1.7; color: var(--text-mid); }
.content table { width: 100%; border-collapse: collapse; margin: 2rem 0; border-radius: var(--radius); overflow: hidden; }
.content th, .content td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.content th { background: var(--navy-deep); color: var(--white); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.content td { font-size: 0.95rem; }
.content tr:hover td { background: var(--bg-warm); }

.sidebar { position: sticky; top: 88px; }
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.sidebar-box h3 { margin-top: 0; font-size: 1.15rem; }

@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ============================================
   STORISTE CARDS — Clean list
   ============================================ */
.storiste-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.storiste-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all var(--transition);
}
.storiste-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow); }
.storiste-info { flex: 1; }
.storiste-name { font-weight: 700; color: var(--navy-deep); font-size: 1.05rem; }
.storiste-reseaux {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.storiste-reseaux img {
  height: 20px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.storiste-card:hover .storiste-reseaux img {
  opacity: 1;
}
.storiste-addr { color: var(--text-light); font-size: 0.9rem; margin-top: 0.3rem; }
.storiste-tel {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .storiste-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   FORMS — Premium feel
   ============================================ */
.form-devis { display: flex; flex-direction: column; gap: 1rem; }
.form-devis label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-devis input, .form-devis select, .form-devis textarea {
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-devis input:focus, .form-devis select:focus, .form-devis textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.1);
}
.btn-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-submit:hover { background: var(--navy-light); transform: translateY(-1px); }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 0.6rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 3;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.3rem; }
/* Standalone breadcrumb (pages sans hero dark) */
.breadcrumb-light { color: var(--text-light); margin-top: 72px; padding: 0.6rem 0; }
.breadcrumb-light a { color: var(--text-light); }
.breadcrumb-light a:hover { color: var(--navy); }

/* ============================================
   FOOTER — Premium, spacious
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
}
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.footer a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; }
.footer li { margin-top: 0.6rem; font-size: 0.9rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PAGE HERO — Subpages (not full viewport)
   ============================================ */
.page-hero {
  position: relative;
  padding: 7rem 0 3.5rem;
  margin-top: 72px;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 700px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 560px; }

/* ============================================
   MISC
   ============================================ */
/* ============================================
   MAP — Leaflet premium styling
   ============================================ */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
#map {
  width: 100%;
  height: 500px;
  background: var(--bg);
  z-index: 1;
}
#map-counter { font-weight: 600; }
.map-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* ============================================
   LOCATOR — Contained layout
   ============================================ */

/* Top bar */
.locator-hero {
  background: var(--navy-deep);
  padding: 6rem 0 2.5rem;
  margin-top: 72px;
}
.locator-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.locator-hero .locator-desc { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-top: 0.5rem; }
.locator-hero #map-counter { color: var(--gold); font-weight: 600; }
.locator-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.locator-form {
  display: flex;
  gap: 0.5rem;
}
.locator-form input {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  width: 140px;
}
.locator-form input:focus { outline: 2px solid var(--gold); }
.locator-form button {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.locator-form button:hover { background: var(--gold-light); }

/* Embedded map */
.locator-map-section {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}
.locator-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.locator-map-container #map {
  height: 380px;
  border-radius: 0;
}

/* Storiste grid */
.locator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.locator-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.locator-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow); transform: translateY(-1px); }
.locator-card.is-active { border-color: var(--gold) !important; box-shadow: 0 0 0 2px var(--gold); transform: translateY(-1px); }
.locator-card-info { flex: 1; }
.locator-card .storiste-name { font-weight: 700; font-size: 1rem; color: var(--navy-deep); }
.locator-card .storiste-reseaux { margin-top: 0.35rem; }
.locator-card .storiste-addr { font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }
.locator-card .storiste-tel { font-weight: 600; font-size: 0.95rem; color: var(--navy); white-space: nowrap; }
.storiste-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.storiste-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #B8862D;
  background: rgba(212,168,83,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.storiste-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.85rem;
}
.storiste-stars { color: #F59E0B; letter-spacing: -1px; }
.storiste-rating-num { font-weight: 700; color: var(--navy-deep); }
.storiste-rating-count { color: var(--text-light); font-size: 0.8rem; }
.storiste-gmb {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-light);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(27,58,92,0.05);
  transition: all var(--transition);
}
.storiste-gmb:hover { background: rgba(27,58,92,0.1); color: var(--navy); }
.storiste-gmb svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .locator-grid { grid-template-columns: 1fr; }
  .locator-hero-inner { flex-direction: column; align-items: flex-start; }
  .locator-map-container #map { height: 280px; }
}

.locator-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

/* Leaflet popup override */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
  padding: 0 !important;
}
.leaflet-popup-content { margin: 14px 16px !important; }
.leaflet-popup-tip { box-shadow: none !important; }

/* ============================================
   NETWORK LOGOS — Trust bar
   ============================================ */
.network-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 3rem 0;
}
.network-bar img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: all var(--transition);
}
.network-bar img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.network-bar-label {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Dark variant for navy sections */
.network-bar-dark img {
  filter: grayscale(100%) brightness(3);
  opacity: 0.4;
}
.network-bar-dark img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Sidebar logos */
.sidebar-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}
.sidebar-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}
.sidebar-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   NATIONAL MAP — Homepage
   ============================================ */
.national-map-section {
  position: relative;
  background: var(--navy-deep);
  padding: 6rem 0;
  overflow: hidden;
}
.national-map-section h2 { color: var(--white); }
.national-map-section p { color: rgba(255,255,255,0.65); }
.national-map-section .section-label { color: var(--gold); }
.national-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}
.national-map-grid .map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
  border: none;
}
.national-map-grid #map { height: 450px; border-radius: var(--radius); }

@media (max-width: 900px) {
  .national-map-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MISC
   ============================================ */
/* ============================================
   INFO CARDS — Highlighted boxes (reco, prix, climat)
   ============================================ */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.info-card-icon.ic-reco { background: rgba(45,138,78,0.1); color: #2D8A4E; }
.info-card-icon.ic-prix { background: rgba(212,168,83,0.15); color: #B8862D; }
.info-card-icon.ic-climat { background: rgba(27,58,92,0.08); color: var(--navy); }
.info-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.info-card p { margin: 0; font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

@media (max-width: 768px) {
  .info-cards { grid-template-columns: 1fr; }
}

/* ============================================
   CLIMATE STATS — Visual bar in hero
   ============================================ */
.climate-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.climate-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.climate-stat svg { opacity: 0.6; }
.climate-stat strong { color: var(--white); font-weight: 700; }

/* ============================================
   TYPE RECO CARDS — Visual cards for type recommendations
   ============================================ */
.type-reco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.type-reco-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}
.type-reco-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--navy); }
.type-reco-icon { font-size: 1.5rem; flex-shrink: 0; }
.type-reco-card span { font-weight: 600; font-size: 0.95rem; }

/* ============================================
   FAQ — Details/Summary
   ============================================ */
.faq-list { margin-top: 1rem; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-list details[open] { border-color: var(--navy-light); box-shadow: var(--shadow); }
.faq-list summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.3rem; color: var(--text-light); transition: transform var(--transition); }
.faq-list details[open] summary::after { content: '\2212'; color: var(--navy); }
.faq-list details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   MULTI-SELECT — Cards + floating bar + modal
   ============================================ */

/* Instruction banner */
.select-instruction {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(27,58,92,0.04);
  border: 1px dashed rgba(27,58,92,0.15);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}
.select-instruction svg { flex-shrink: 0; color: var(--navy-light); }
.select-instruction strong { color: var(--navy-deep); }

/* Selectable card */
.locator-card.selectable { position: relative; }
.card-select-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.card-select-btn:hover {
  border-color: var(--navy-light);
  color: var(--navy);
  background: rgba(27,58,92,0.03);
}
.card-select-btn .check-icon { display: none; }
.card-select-btn .select-label::after { content: 'S\00e9lectionner'; }

/* Selected state */
.locator-card.selected { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(27,58,92,0.12); }
.locator-card.selected .card-select-btn {
  border-style: solid;
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.locator-card.selected .card-select-btn .check-icon { display: inline; }
.locator-card.selected .card-select-btn .select-label::after { content: 'S\00e9lectionn\00e9'; }

/* Floating bar */
.select-bar {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background: var(--navy-deep);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 520px;
  width: calc(100% - 2rem);
}
.select-bar.visible { bottom: 1.5rem; }
.select-bar-count { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.select-bar-btn {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  margin-left: auto;
}
.select-bar-btn:hover { background: var(--gold-light); }
.select-bar-clear {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition);
}
.select-bar-clear:hover { color: var(--white); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,31,51,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.modal-storistes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.modal-storiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}
.modal-storiste-name { font-weight: 600; color: var(--navy-deep); }
.modal-storiste-rating { font-size: 0.8rem; color: #F59E0B; }
.modal .form-devis { gap: 0.75rem; }
.modal .form-devis label { font-size: 0.85rem; }
.modal .form-devis input, .modal .form-devis select, .modal .form-devis textarea {
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
}

/* ============================================
   WIZARD — Multi-step form
   ============================================ */
.wizard-container { max-width: 680px; margin: 0 auto; }

/* Progress bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}
.progress-fill-track {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: var(--navy);
  transform: translateY(-50%);
  z-index: 1;
  transition: width 0.4s ease;
}
.progress-step {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: all var(--transition);
}
.progress-step.active {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}
.progress-step.done {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.progress-label {
  position: absolute;
  bottom: -1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  transition: color var(--transition);
}
.progress-step.active .progress-label, .progress-step.done .progress-label { color: var(--navy); }

/* Step transitions */
.wizard-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wizard-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Wizard step */
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.wizard-step > p { color: var(--text-mid); margin-bottom: 2rem; }

/* Selection cards */
.wizard-cards {
  display: grid;
  gap: 1rem;
}
.wizard-cards-2 { grid-template-columns: repeat(2, 1fr); }
.wizard-cards-3 { grid-template-columns: repeat(3, 1fr); }

.wizard-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  text-align: center;
}
.wizard-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.wizard-card.wizard-selected {
  border-color: var(--navy);
  background: rgba(27,58,92,0.03);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.1);
}
.wizard-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-card-icon svg { color: var(--navy); }
.wizard-card span { font-weight: 600; font-size: 0.95rem; color: var(--navy-deep); }

@media (max-width: 600px) {
  .wizard-cards-3 { grid-template-columns: repeat(2, 1fr); }
  .wizard-cards-2 { grid-template-columns: 1fr; }
}

/* Wizard form fields */
.wizard-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.wizard-fields .full { grid-column: 1 / -1; }
.wizard-fields label, .wizard-field-icon label { font-weight: 600; font-size: 0.85rem; color: var(--text); display: block; margin-bottom: 0.3rem; }
.wizard-field-icon {
  position: relative;
}
.wizard-field-icon .field-icon {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  color: var(--text-light);
  pointer-events: none;
}
.wizard-field-icon input {
  padding-left: 2.6rem !important;
}
.wizard-fields input, .wizard-fields select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.wizard-fields input:focus, .wizard-fields select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.1);
}

@media (max-width: 600px) {
  .wizard-fields { grid-template-columns: 1fr; }
}

/* Wizard nav buttons */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}
.wizard-back {
  background: none;
  border: none;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
}
.wizard-back:hover { color: var(--navy); }
.wizard-next {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  margin-left: auto;
}
.wizard-next:hover { background: var(--navy-light); }

/* Recap box */
.wizard-recap {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.wizard-recap-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.wizard-recap-details strong { color: var(--navy-deep); font-size: 1rem; }

/* ============================================
   SEARCH RESULTS — Instant search panel
   ============================================ */
.search-results {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
}
.search-results.open {
  max-height: 800px;
  opacity: 1;
  padding: 2rem 2rem 3rem;
}

.sr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.sr-count { font-size: 1.15rem; font-weight: 700; color: var(--navy-deep); }
.sr-count strong { font-size: 1.4rem; }
.sr-dept { font-size: 0.85rem; color: var(--text-light); margin-top: 0.15rem; }
.sr-see-all {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--navy);
  border-radius: 50px;
  transition: all var(--transition);
}
.sr-see-all:hover { background: var(--navy); color: var(--white); }

.sr-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
}
.sr-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sr-list::-webkit-scrollbar { width: 5px; }
.sr-list::-webkit-scrollbar-track { background: transparent; }
.sr-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.sr-list::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

.sr-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: all var(--transition);
}
.sr-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow); }
.sr-name { font-weight: 700; font-size: 0.95rem; color: var(--navy-deep); }
.sr-meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; }
.sr-meta img { height: 14px; width: auto; }
.sr-logo-text { font-size: 0.65rem; font-weight: 700; color: var(--navy-light); background: rgba(27,58,92,0.06); padding: 1px 5px; border-radius: 3px; }
.sr-rating { font-size: 0.8rem; color: #F59E0B; }
.sr-rating strong { color: var(--navy-deep); margin-right: 2px; }
.sr-ville { font-size: 0.8rem; color: var(--text-light); margin-top: 0.1rem; }
.sr-tel { font-weight: 600; font-size: 0.85rem; color: var(--navy); white-space: nowrap; }
.sr-top {
  font-size: 0.6rem;
  font-weight: 700;
  color: #B8862D;
  background: rgba(212,168,83,0.12);
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sr-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 250px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.sr-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.sr-btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none;
}
.sr-btn-primary:hover { background: var(--navy-light); color: var(--white); }
.sr-btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
}
.sr-btn-secondary:hover { border-color: var(--navy); }

.sr-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .sr-grid { grid-template-columns: 1fr; }
  .sr-map { min-height: 200px; }
  .sr-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .sr-actions { flex-direction: column; }
}

/* ============================================
   COOKIE BANNER — RGPD
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 1rem 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; max-width: 600px; line-height: 1.5; }
.cookie-banner a { color: var(--gold); }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.cookie-refuse {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; }
}

/* ============================================
   GLOBAL MOBILE FIXES
   ============================================ */

/* Tables scroll on mobile */
.content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.content table thead, .content table tbody, .content table tr, .content table th, .content table td { min-width: 100px; }

/* Search results mobile */
@media (max-width: 768px) {
  .search-results.open { padding: 1.25rem 1rem 2rem; max-height: 2000px; }
  .sr-grid { grid-template-columns: 1fr; }
  .sr-map { min-height: 180px; order: -1; }
  .sr-list { max-height: 260px; }
  .sr-card { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 0.75rem; }
  .sr-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .sr-see-all { align-self: flex-start; font-size: 0.85rem; padding: 0.4rem 0.85rem; }
  .sr-count { font-size: 1rem; }
  .sr-count strong { font-size: 1.15rem; }
  .sr-actions { flex-direction: column; gap: 0.5rem; }
  .sr-btn-primary, .sr-btn-secondary { text-align: center; padding: 0.85rem 1.5rem; width: 100%; display: block; box-sizing: border-box; }
}

/* Hero mobile */
@media (max-width: 600px) {
  .hero { min-height: auto; align-items: flex-start; }
  .hero-content { padding: 1.5rem 1rem 2rem; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 0.75rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-number { font-size: 1.5rem; }
  .search-box { flex-direction: column; border-radius: var(--radius); padding: 0.5rem; }
  .search-box input, .search-box select, .btn-search { border-radius: var(--radius-sm); }
}

/* Locator hero mobile */
@media (max-width: 600px) {
  .locator-hero { padding: 5.5rem 0 2rem; }
  .locator-hero h1 { font-size: 1.5rem; }
  .locator-hero-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .locator-form { width: 100%; }
  .locator-form input { flex: 1; }
  .climate-stats { gap: 1rem; }
  .climate-stat { font-size: 0.8rem; }
}

/* Locator cards mobile */
@media (max-width: 600px) {
  .locator-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .locator-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem; }
  .locator-card .storiste-tel { align-self: flex-start; }
}

/* Info cards mobile */
@media (max-width: 600px) {
  .info-cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .info-card { padding: 1.25rem; }
}

/* Visual cards mobile */
@media (max-width: 600px) {
  .visual-grid-3 { grid-template-columns: 1fr; }
  .visual-card { aspect-ratio: 16/9; }
}

/* Trust bar mobile */
@media (max-width: 600px) {
  .trust-bar { gap: 1.5rem; padding: 2rem 0; flex-direction: column; align-items: center; }
}

/* Steps mobile */
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step { padding: 1rem; text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
  .step-number { margin: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 1.2rem; }
}

/* Page hero mobile */
@media (max-width: 600px) {
  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: 1.5rem; }
}

/* Page layout mobile */
@media (max-width: 600px) {
  .page-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .sidebar { position: static; }
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
}

/* National map mobile */
@media (max-width: 600px) {
  .national-map-grid { grid-template-columns: 1fr; gap: 2rem; }
  .national-map-grid #map { height: 300px; }
  .national-map-section { padding: 4rem 0; }
}

/* Network bar mobile */
@media (max-width: 600px) {
  .network-bar { gap: 1.5rem; padding: 1.5rem 0; }
  .network-bar img { height: 24px; }
}

/* Footer mobile */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer { padding: 3rem 0 1.5rem; }
}

/* CTA section mobile */
@media (max-width: 600px) {
  .cta-section { padding: 4rem 0; }
  .cta-section h2 { font-size: 1.4rem; }
}

/* Cookie banner mobile */
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 1rem; gap: 0.75rem; }
}

/* Wizard mobile */
@media (max-width: 600px) {
  .wizard-cards-2, .wizard-cards-3 { grid-template-columns: 1fr; }
  .wizard-card { padding: 1.25rem; flex-direction: row; gap: 1rem; text-align: left; }
  .wizard-fields { grid-template-columns: 1fr; }
  .wizard-progress { margin-bottom: 2rem; }
  .progress-label { font-size: 0.6rem; }
}

/* Select bar mobile */
@media (max-width: 600px) {
  .select-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 0.75rem 1rem; border-radius: var(--radius); gap: 0.5rem; max-width: calc(100% - 1rem); }
  .select-bar-count { font-size: 0.85rem; }
  .select-bar-btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
}

/* Modal mobile */
@media (max-width: 600px) {
  .modal { padding: 1.5rem; margin: 0.5rem; border-radius: var(--radius); }
  .modal h2 { font-size: 1.2rem; }
}

/* Map mobile */
@media (max-width: 600px) {
  .locator-map-container #map { height: 250px; }
}

/* Type reco cards mobile */
@media (max-width: 480px) {
  .type-reco-grid { grid-template-columns: 1fr 1fr; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-section { margin-top: 72px; }

/* Devis section — city pages */
.devis-section { padding-top: 2rem; }
.devis-cp-bar { display: flex; gap: 0.75rem; max-width: 420px; margin: 0 auto 2rem; }
.devis-cp-bar input { flex: 1; padding: 0.85rem 1.25rem; border: 2px solid var(--border); border-radius: 10px; font-size: 1.1rem; font-family: var(--font-body); }
.devis-cp-bar input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27,58,92,0.1); }
.devis-cp-bar .btn-search { padding: 0.85rem 2rem; background: var(--navy); color: var(--white); border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 1.1rem; transition: background 0.2s; }
.devis-cp-bar .btn-search:hover { background: var(--navy-light); }

.devis-results-label { text-align: center; color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Top 3 — large cards */
.devis-top-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .devis-top-grid { grid-template-columns: 1fr; } }

/* More storistes — smaller grid */
.devis-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1rem; }
@media (max-width: 900px) { .devis-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .devis-more-grid { grid-template-columns: 1fr; } }

.devis-more-btn { display: block; margin: 0 auto; padding: 0.65rem 2rem; background: transparent; border: 2px solid var(--border); border-radius: 8px; color: var(--text-light); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; }
.devis-more-btn:hover { border-color: var(--navy); color: var(--navy); }

/* Storiste devis card */
.dsc { background: var(--white); border: 2px solid var(--border); border-radius: 12px; padding: 1.25rem; transition: all 0.2s; display: flex; flex-direction: column; gap: 0.6rem; }
.dsc:hover { border-color: var(--navy-light); box-shadow: 0 4px 12px rgba(27,58,92,0.08); }
.dsc.selected { border-color: var(--navy); background: rgba(27,58,92,0.02); }
.dsc.selected .dsc-select-btn { background: var(--navy); color: var(--white); }
.dsc.selected .dsc-select-btn .check-icon { stroke: var(--white); }

/* Highlight top 3 */
.dsc.dsc-highlight { border-color: var(--navy-light); box-shadow: 0 4px 20px rgba(27,58,92,0.1); padding: 1.5rem; }

.dsc-top { display: flex; flex-direction: column; gap: 0.25rem; }
.dsc-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.dsc-name a { color: inherit; text-decoration: none; }
.dsc-name a:hover { text-decoration: underline; }
.dsc-reseaux { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.dsc-meta { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: var(--text-light); }
.dsc-rating { color: var(--text); }
.dsc-rating strong { font-size: 1rem; color: var(--navy); }
.dsc-reviews { color: var(--text-light); font-size: 0.8rem; }
.dsc-distance { font-weight: 700; color: var(--accent); font-size: 0.85rem; display: none; }

.dsc-select-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 2px solid var(--navy); border-radius: 8px; background: transparent; color: var(--navy); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; margin-top: auto; }
.dsc-select-btn:hover { background: var(--navy); color: var(--white); }
.dsc-select-btn:hover .check-icon { stroke: var(--white); }

/* CTA devis after selection */
.devis-continue { display: none; margin: 2rem auto 0; text-align: center; }
.devis-continue.visible { display: block; }
.devis-continue-btn { display: inline-block; padding: 1rem 2.5rem; background: var(--success); color: var(--white); border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; text-decoration: none; }
.devis-continue-btn:hover { background: #247a42; }
.devis-continue-count { font-size: 0.9rem; color: var(--text-light); margin-top: 0.5rem; }

/* Wizard storiste tags */
.wizard-storistes-recap { margin-bottom: 1.5rem; }
.wizard-storiste-tag { display: inline-block; background: rgba(27,58,92,0.08); color: var(--navy); padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; margin: 0.25rem 0.25rem 0.25rem 0; }
.wizard-section { background: var(--bg-alt); }

/* Network badge — réseaux sans logo */
.network-badge { display:inline-block; font-size:14px; font-weight:700; color:var(--navy); background:rgba(27,58,92,0.08); padding:4px 12px; border-radius:6px; white-space:nowrap; line-height:36px; vertical-align:middle; }
.network-bar-dark .network-badge { color:var(--white); background:rgba(255,255,255,0.12); }
.sidebar-logos .network-badge { line-height:28px; }

/* Detail table — fiches storistes */
.detail-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.detail-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.detail-table td:first-child { width: 140px; color: var(--text-light); }
.detail-table a { color: var(--navy); font-weight: 600; }
.detail-table a:hover { color: var(--accent); }

.storiste-detail-rating { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.storiste-detail-reseaux { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.btn-outline { display: inline-block; padding: 0.5rem 1.25rem; border: 2px solid var(--navy); color: var(--navy); border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.2s; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Storiste list — liens fiches dans pages dept */
.storiste-list { list-style: none; padding: 0; columns: 2; column-gap: 2rem; }
.storiste-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); break-inside: avoid; }
.storiste-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.storiste-list a:hover { color: var(--accent); }
@media (max-width: 768px) { .storiste-list { columns: 1; } }

/* City grid — used for dept links, neighbor links */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

/* ============================================
   RESPONSIVE — Consolidated mobile fixes
   ============================================ */

/* Tablet — 768px */
@media (max-width: 768px) {
  /* Global */
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); }

  /* Header */
  .header-inner { padding: 0 1rem; }

  /* Hero homepage */
  .hero { min-height: auto; }
  .hero-content { padding: 6rem 1.5rem 3rem; max-width: 100%; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-number { font-size: 1.8rem; }
  .search-box { max-width: 100%; }

  /* Page layout (content + sidebar) */
  .page-layout { grid-template-columns: 1fr !important; }
  .sidebar { margin-top: 2rem; }

  /* Info cards */
  .info-cards { grid-template-columns: 1fr; }

  /* National map */
  .national-map-grid { grid-template-columns: 1fr; gap: 2rem; }
  .national-map-grid #map { height: 300px; }
  .national-map-section { padding: 3rem 0; }

  /* Locator hero (city pages) */
  .locator-hero-inner { flex-direction: column; gap: 1.5rem; }
  .locator-form { width: 100%; }
  .climate-stats { flex-wrap: wrap; gap: 0.5rem; }
  .locator-map-container #map { height: 280px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Network bar */
  .network-bar { gap: 1.5rem; padding: 2rem 0; }
  .network-bar img { height: 28px; }

  /* Trust bar */
  .trust-bar { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Visual grid (type cards homepage) */
  .visual-grid-3 { grid-template-columns: 1fr 1fr; }

  /* Cards grid */
  .cards { grid-template-columns: 1fr; }

  /* Steps */
  .steps { grid-template-columns: 1fr; }

  /* Wizard */
  .wizard-cards-2 { grid-template-columns: 1fr; }
  .wizard-cards-3 { grid-template-columns: 1fr 1fr; }
  .wizard-fields { grid-template-columns: 1fr; }
  .wizard-container { padding: 1.5rem; }

  /* Detail table (storiste fiches) */
  .detail-table td:first-child { width: auto; display: block; font-weight: 700; padding-bottom: 0; }
  .detail-table td { display: block; padding: 0.5rem 0; }
  .detail-table tr { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }

  /* Devis section */
  .devis-top-grid { grid-template-columns: 1fr; }
  .devis-more-grid { grid-template-columns: 1fr; }

  /* City grid */
  .city-grid { grid-template-columns: 1fr; }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .section { padding: 2rem 0; }

  /* Hero */
  .hero-content { padding: 5rem 1rem 2rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-stats { gap: 1rem; margin-top: 2rem; }
  .hero-stat-number { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.75rem; }

  /* Search box */
  .search-box { flex-direction: column; border-radius: var(--radius); padding: 0.5rem; }
  .search-box input, .search-box select, .btn-search { border-radius: var(--radius-sm); font-size: 0.9rem; }

  /* Locator hero */
  .locator-hero { padding: 5rem 0 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 2rem 0; }

  /* Network bar */
  .network-bar { gap: 1rem; }
  .network-bar img { height: 22px; }
  .network-bar-label { display: none; }

  /* Trust bar */
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { padding: 1rem; }

  /* Visual grid */
  .visual-grid-3 { grid-template-columns: 1fr; }
  .visual-card { min-height: 180px; }

  /* Page hero (type pages) */
  .page-hero { padding: 5rem 0 2rem; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Wizard */
  .wizard-cards-2, .wizard-cards-3 { grid-template-columns: 1fr; gap: 0.75rem; }
  .wizard-card { padding: 1rem; }
  .wizard-progress { gap: 0; }
  .progress-label { display: none; }
  .progress-step { width: 32px; height: 32px; font-size: 0.8rem; }

  /* Devis CP bar */
  .devis-cp-bar { flex-direction: column; max-width: 100%; }
  .devis-cp-bar input, .devis-cp-bar .btn-search { width: 100%; }

  /* DSC cards */
  .dsc { padding: 1rem; }
  .dsc-name { font-size: 0.9rem; }

  /* CTA section */
  .cta-section { padding: 3rem 0; }
  .cta-section h2 { font-size: 1.4rem; }

  /* Sidebar */
  .sidebar-box { padding: 1.25rem; }

  /* Select bar */
  .select-bar { padding: 0.75rem 1rem; }

  /* Cookie banner */
  .cookie-banner { flex-direction: column; padding: 1rem; }
  .cookie-btns { flex-direction: row; width: 100%; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.75rem; padding: 0.5rem 0; overflow-x: auto; white-space: nowrap; }

  /* Heroes */
  .page-hero { padding: 5rem 0 2rem; }
  .locator-hero { padding: 5rem 0 2rem; }
}
