/* ============================================================
   SIALICEPRO - DESIGN SYSTEM v4.0
   3 poles: Materiaux TP, Mobilier urbain, Diagnostic HAP
   Premium serif editorial: Fraunces + Inter
   Palette Botanical Garden
   ============================================================ */

/* ==========================================================
   1. TOKENS
   ========================================================== */
:root {
  /* Palette Botanical Garden */
  --c-primary: #1F2A1F;
  --c-primary-light: #3E5228;
  --c-accent: #425A36;
  --c-accent-light: #93B85C;
  --c-ocre: #C49A2C;
  --c-ocre-dark: #9A7820;
  --c-ocre-light: #E8C160;
  --c-bg: #F6F4EE;
  --c-bg-alt: #FAF7F2;
  --c-bg-dark: #1A2014;
  --c-text: #1F2A1F;
  --c-text-light: #4E5A4A;
  --c-text-muted: #7A8A76;
  --c-border: rgba(31,42,31,0.12);
  --c-white: #FFFFFF;
  --c-success: #2F7D32;
  --c-warning: #C49A2C;
  --c-danger: #B23A3A;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.125rem;
  --text-4xl: 2.75rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  /* Spacing */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem;

  /* Misc */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 28px rgba(0,0,0,0.10);
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;
  --tr: 0.18s ease; --tr-slow: 0.3s ease;
  --max-w: 1200px; --px: 1.5rem; --header-h: 72px;
}

/* ==========================================================
   2. RESET
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg, video, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
body.nav-open { overflow: hidden; }

/* ==========================================================
   3. LAYOUT
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section { padding: var(--s20) 0; }
.section-white {
  background: #fff;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}
.section-white .container { max-width: 1280px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s8); }
.col-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s12); align-items: start; }

/* ==========================================================
   4. TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-primary);
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-xl); letter-spacing: -0.005em; }
h4 { font-size: var(--text-lg); }
p { line-height: var(--lh-relaxed); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--c-primary);
  margin-bottom: var(--s4);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--c-text-light);
  max-width: 600px;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s10);
}
.section-head-premium { margin-bottom: var(--s6); }
.section-head-premium h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--c-primary);
  margin: 0 0 var(--s3);
}
.section-head-premium p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(31,42,31,0.7);
  max-width: 60ch;
  margin: 0;
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-muted { color: var(--c-text-light); }
.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.lead {
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.92);
  max-width: 540px;
}

/* ==========================================================
   5. BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-md);
  border: 2px solid transparent;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr), box-shadow var(--tr);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }

.btn-secondary {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-border);
}
.btn-secondary:hover { background: var(--c-bg-alt); border-color: var(--c-primary); }

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(31,42,31,0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--c-primary);
  background: #fff;
  text-decoration: none;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
  min-height: 44px;
}
.btn-outline-pill:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.btn-lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-xs); min-height: 36px; }
.w-full { width: 100%; }

.cta-dark {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 12px 24px;
  background: rgba(20, 28, 18, 0.92);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background var(--tr), transform var(--tr);
  backdrop-filter: blur(8px);
  min-height: 44px;
}
.cta-dark:hover { background: var(--c-primary); transform: translateY(-1px); }

/* ==========================================================
   6. HERO COVER (full-bleed photo, gradient overlay, white text)
   ========================================================== */
.hero-cover {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-cover-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-cover-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem);
  width: 100%;
  max-width: 900px;
  color: #fff;
}
.hero-cover h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 var(--s4);
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero-cover p.lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin: 0 0 var(--s6);
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
/* -- HOME HERO -- */
.home-hero {
  background: var(--c-primary);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(66,90,54,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(196,154,44,0.08) 0%, transparent 60%);
  padding: clamp(4rem, 10vw, 7rem) var(--px) clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='60' height='60' fill='none'/%3E%3Ccircle cx='30' cy='30' r='.5' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.home-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* .home-hero-logo removed: logo is now in the nav only */
.home-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 var(--s5);
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.home-hero-lead {
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.72);
  margin: 0 auto var(--s8);
  max-width: 600px;
}
.home-hero-ctas {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.home-hero-tel {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .75em 1.6em;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 99px;
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  transition: border-color var(--tr), background var(--tr);
}
.home-hero-tel:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}
.home-hero-kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-ocre);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 var(--s4);
}
.home-hero-accent {
  color: var(--c-ocre);
}

/* -- HOME POLE VISUALS (replace photos) -- */
.home-pole-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.home-pole-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* -- HOME CHIFFRES -- */
.home-chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s8);
  text-align: center;
  padding: var(--s4) 0;
}
.home-chiffre-nb {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--c-ocre);
  line-height: 1.1;
  margin-bottom: var(--s2);
}
.home-chiffre-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* -- CARD KICKER -- */
.fam-h-card-kicker {
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 var(--s2);
}

/* -- HOME REFERENCES -- */
.home-refs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
}
.home-ref-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s6) var(--s8);
  transition: box-shadow var(--tr), transform var(--tr);
}
.home-ref-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.home-ref-tag {
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 var(--s3);
}
.home-ref-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 var(--s3);
  line-height: var(--lh-tight);
}
.home-ref-card p:last-child {
  font-size: var(--text-sm);
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* -- HOME HAP FOCUS -- */
.home-hap-focus {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s10);
  align-items: start;
}
.home-hap-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.home-hap-checks li {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  color: var(--c-text-light);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.home-hap-check {
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1em;
}
.home-hap-aside {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
}
.home-hap-cases {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  color: var(--c-text-light);
  font-size: var(--text-sm);
}
.home-hap-cases li {
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--c-border);
  line-height: 1.5;
}
.home-hap-cases li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .home-refs { grid-template-columns: 1fr; }
  .home-hap-focus { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-hero-ctas { flex-direction: column; align-items: stretch; }
  .home-hero-tel { justify-content: center; }
  .home-chiffres { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   7. CARDS (horizontal fam-h-card system)
   ========================================================== */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr-slow), transform var(--tr-slow), border-color var(--tr);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: rgba(66,90,54,0.20); }
.card h3 { margin-bottom: var(--s3); }
.card p { color: var(--c-text-light); font-size: var(--text-sm); line-height: var(--lh-relaxed); flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s6);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  transition: color var(--tr), gap var(--tr);
}
.card-link:hover { color: var(--c-primary); gap: var(--s3); }

/* Pilier card (homepage 3 poles) */
.pilier-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s10);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--tr-slow), transform var(--tr-slow), border-color var(--tr);
  display: flex;
  flex-direction: column;
}
.pilier-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(66,90,54,0.25); }
.pilier-num {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s5);
}
.pilier-card h3 { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.pilier-card > p { color: var(--c-text-light); margin-bottom: var(--s6); flex: 1; }
.pilier-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }

/* Horizontal family cards (primary card system) */
.fam-h-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s6);
}
.fam-h-card {
  background: #fff;
  border: 1px solid rgba(31,42,31,0.1);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s4);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform var(--tr-slow), box-shadow var(--tr-slow), border-color var(--tr);
  min-height: 44px;
}
.fam-h-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(31,42,31,0.08);
  border-color: rgba(31,42,31,0.2);
}
.fam-h-card-img {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.fam-h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fam-h-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fam-h-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--c-primary);
  line-height: 1.2;
  margin: 0;
}
.fam-h-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(31,42,31,0.65);
  margin: 4px 0 8px;
}
.fam-h-card-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid rgba(31,42,31,0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: var(--c-primary);
  background: #fff;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.fam-h-card:hover .fam-h-card-cta { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Departement number (SVG map) */
.dept-num { font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--c-accent); }

/* ==========================================================
   8. BADGES
   ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.7em;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  border-radius: 999px;
  line-height: 1.6;
}
.badge-accent { background: rgba(66,90,54,0.10); color: var(--c-accent); }

/* ==========================================================
   9. HEADER / NAV
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--c-primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.logo-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--fw-normal);
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
}
.logo-text strong {
  font-weight: var(--fw-bold);
  color: #fff;
}

.main-nav ul { display: flex; align-items: center; gap: var(--s1); }
.main-nav a {
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.82);
  border-radius: var(--r-sm);
  transition: color var(--tr), background var(--tr);
}
.main-nav a:hover { color: var(--c-white); background: rgba(255,255,255,0.10); }
.main-nav a.active { color: var(--c-white); font-weight: var(--fw-semibold); background: rgba(255,255,255,0.08); }
.nav-cta {
  background: var(--c-accent-light);
  color: #1A2B0F !important;
  border-radius: var(--r-md);
  padding: 0.5rem 1rem;
  margin-left: var(--s2);
  font-weight: var(--fw-semibold);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { background: #7fa04d; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  border-radius: var(--r-sm);
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega nav */
.has-mega { position: relative; }
.mega {
  position: absolute;
  top: 100%; left: -200px;
  width: 720px;
  background: var(--c-white);
  color: var(--c-text);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 110;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin-top: var(--s2);
}
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega h4 { font-size: var(--text-sm); color: var(--c-accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--s3); font-weight: var(--fw-bold); }
.mega ul { display: flex; flex-direction: column; gap: var(--s1); }
.mega ul a { color: var(--c-text); font-size: var(--text-sm); padding: 4px 0; transition: color var(--tr); display: block; }
.mega ul a:hover { color: var(--c-ocre-dark); }
.mega-cta {
  grid-column: 1 / -1;
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================
   10. FOOTER (business variant)
   ========================================================== */
.footer-business {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.65);
  padding: var(--s20) 0 var(--s6);
}
.footer-biz-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.9fr;
  gap: var(--s8);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-biz-brand .logo { color: var(--c-white); display: block; margin-bottom: var(--s5); }
.footer-biz-brand p { font-size: var(--text-sm); color: rgba(255,255,255,0.65); max-width: 320px; line-height: 1.55; }
.footer-biz-brand .info {
  margin-top: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer-biz-brand .info span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: var(--s2);
  align-items: center;
}
.footer-biz-brand .info strong { color: rgba(255,255,255,0.85); font-weight: var(--fw-medium); }
.footer-biz-col h4 {
  color: var(--c-ocre-light);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s4);
}
.footer-biz-col ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer-biz-col a { font-size: var(--text-sm); color: rgba(255,255,255,0.72); transition: color var(--tr); }
.footer-biz-col a:hover { color: var(--c-ocre-light); }
.footer-biz-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s6);
  flex-wrap: wrap;
  gap: var(--s4);
}
.footer-biz-legal { display: flex; gap: var(--s6); flex-wrap: wrap; }
.footer-biz-legal a { font-size: var(--text-xs); color: rgba(255,255,255,0.45); transition: color var(--tr); }
.footer-biz-legal a:hover { color: var(--c-white); }
.footer-biz-copy { font-size: var(--text-xs); color: rgba(255,255,255,0.45); }
.footer-biz-copy a { color: var(--c-ocre-light); }

/* ==========================================================
   11. BREADCRUMB
   ========================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s2);
  font-size: var(--text-sm);
  color: var(--c-text-light);
  margin-bottom: var(--s5);
  align-items: center;
}
.breadcrumb li { display: flex; align-items: center; gap: var(--s2); }
.breadcrumb li:not(:last-child)::after { content: '/'; opacity: 0.4; }
.breadcrumb a { color: var(--c-text-light); transition: color var(--tr); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb li:last-child { color: var(--c-text); font-weight: var(--fw-medium); }

/* ==========================================================
   12. FORMS
   ========================================================== */
.form-group { margin-bottom: var(--s5); }
.form-label { display: block; font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--c-primary); margin-bottom: var(--s2); }
.form-label .req { color: var(--c-danger); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color var(--tr), box-shadow var(--tr);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(66,90,54,0.12); }
.form-control::placeholder { color: var(--c-text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
  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='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}
.form-hint { font-size: var(--text-xs); color: var(--c-text-light); margin-top: var(--s1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-block,
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
}
.form-actions { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Multi-step form */
.steps-bar {
  display: flex;
  gap: var(--s2);
  margin-bottom: var(--s8);
  list-style: none;
  padding: 0;
}
.steps-bar li {
  flex: 1;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-muted);
  display: flex; align-items: center; gap: var(--s2);
  position: relative;
}
.steps-bar li.is-current { background: var(--c-primary); color: var(--c-white); }
.steps-bar li.is-done { background: var(--c-ocre); color: #1A1410; }
.steps-bar li .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.steps-bar li.is-current .num { background: var(--c-ocre); color: #1A1410; }
.steps-bar li.is-done .num { background: rgba(0,0,0,0.18); color: #1A1410; }
.form-step { display: none; }
.form-step.is-active { display: block; }
.form-nav { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s8); }

/* ==========================================================
   13. STEPS (process indicators)
   ========================================================== */
.steps { display: flex; flex-direction: column; gap: var(--s6); }
.step { display: flex; gap: var(--s5); align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm); font-weight: var(--fw-bold);
}
.step-content h4 { font-size: var(--text-base); margin-bottom: var(--s1); color: var(--c-primary); }
.step-content p { font-size: var(--text-sm); color: var(--c-text-light); }

/* ==========================================================
   14. RELATED / MAILLAGE
   ========================================================== */
.related-pages {
  background: var(--c-bg-alt);
  padding: var(--s10) 0;
  margin-top: var(--s12);
}
.related-pages .container { max-width: var(--max-w); }
.related-pages h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--s6);
  color: var(--c-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.related-link {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color var(--tr), transform var(--tr);
  text-decoration: none;
  color: var(--c-text);
  min-height: 44px;
}
.related-link:hover { border-color: var(--c-ocre); transform: translateY(-2px); }
.related-link .kicker {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.related-link strong {
  display: block;
  color: var(--c-primary);
  font-size: var(--text-base);
  margin-bottom: var(--s1);
}
.related-link span {
  font-size: var(--text-sm);
  color: var(--c-text-light);
}

/* Also block (cross-pole linking) */
.also-block {
  background: var(--c-bg-alt);
  border-radius: var(--r-lg);
  padding: var(--s8);
  margin-top: var(--s12);
}
.also-block h3 { font-size: var(--text-lg); margin-bottom: var(--s5); }
.also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.also-link {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-primary);
  transition: border-color var(--tr), transform var(--tr);
  min-height: 44px;
}
.also-link:hover { border-color: var(--c-accent); transform: translateX(2px); }
.also-link svg { width: 20px; height: 20px; stroke: var(--c-accent); flex-shrink: 0; }

/* ==========================================================
   15. ALERTS
   ========================================================== */
.alert {
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}
.alert-info { background: rgba(66,90,54,0.08); border: 1px solid rgba(66,90,54,0.25); color: var(--c-primary); }
.alert-success { background: rgba(47,125,50,0.08); border: 1px solid rgba(47,125,50,0.3); color: var(--c-success); }
.alert-warning { background: #FFF8E1; border: 1px solid var(--c-warning); color: #8a6a1a; }
.alert-error { background: rgba(178,58,58,0.08); border: 1px solid rgba(178,58,58,0.3); color: var(--c-danger); }

/* ==========================================================
   16. FAQ
   ========================================================== */
.faq-list { display: flex; flex-direction: column; gap: var(--s3); }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s5) var(--s6);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  font-size: var(--text-base);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: var(--text-xl); color: var(--c-accent); transition: transform var(--tr); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-body { padding: 0 var(--s6) var(--s5); color: var(--c-text-light); font-size: var(--text-sm); line-height: var(--lh-relaxed); }

/* ==========================================================
   17. HIGHLIGHT / NOTICE
   ========================================================== */
.highlight-box {
  background: rgba(66,90,54,0.06);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s5) var(--s6);
  font-size: var(--text-sm);
  color: var(--c-text);
  line-height: var(--lh-relaxed);
}
/* ==========================================================
   18. IDF MAP
   ========================================================== */
.idf-map-wrapper {
  background: var(--c-bg-alt);
  border-radius: var(--r-xl);
  padding: var(--s10);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s10);
  align-items: center;
}
.idf-map svg { width: 100%; height: auto; display: block; }
.idf-map .dept {
  fill: var(--c-white);
  stroke: var(--c-primary);
  stroke-width: 1.5;
  transition: fill var(--tr), transform var(--tr);
  cursor: pointer;
}
.idf-map .dept-label { font-size: 11px; fill: var(--c-text-light); pointer-events: none; }
.idf-map a:hover .dept,
.idf-map a:focus .dept { fill: var(--c-ocre-light); }
.idf-map-side h3 { font-size: var(--text-xl); margin-bottom: var(--s4); }
.idf-map-list { display: flex; flex-direction: column; gap: var(--s2); }
.idf-map-list a {
  display: flex;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  transition: background var(--tr);
  min-height: 44px;
  align-items: center;
}
.idf-map-list a:hover { background: var(--c-ocre-light); }
.idf-map-list strong { color: var(--c-accent); margin-right: var(--s2); }

/* ==========================================================
   19. CALCULATOR
   ========================================================== */
.calc {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
}
.calc-input label { display: block; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--c-primary); margin-bottom: var(--s2); }
.calc-input input,
.calc-input select { width: 100%; }
.calc-result {
  background: var(--c-bg-dark);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .num {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--c-ocre-light);
  margin-bottom: var(--s2);
  font-variant-numeric: tabular-nums;
}
.calc-result .label { font-size: var(--text-sm); color: rgba(255,255,255,0.7); }
.recommended { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--c-ocre-light); border-radius: var(--r-md); font-size: var(--text-sm); }
.recommended strong { display: block; font-size: var(--text-base); color: var(--c-primary); margin-bottom: var(--s1); }

/* ==========================================================
   20. SITEMAP
   ========================================================== */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s8); }
.sitemap-block h3 { font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--c-primary); margin-bottom: var(--s4); padding-bottom: var(--s3); border-bottom: 2px solid var(--c-accent); display: inline-block; }
.sitemap-block ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.sitemap-block a { font-size: var(--text-sm); color: var(--c-text-light); transition: color var(--tr); }
.sitemap-block a:hover { color: var(--c-accent); }

/* ==========================================================
   21. LEGAL CONTENT
   ========================================================== */
.legal-content { max-width: 800px; margin: 0 auto; padding: var(--s16) var(--px); }
.legal-content h2 { font-size: var(--text-xl); margin: var(--s10) 0 var(--s4); padding-top: var(--s4); border-top: 1px solid var(--c-border); }
.legal-content h2:first-of-type { border-top: none; margin-top: var(--s8); }
.legal-content h3 { font-size: var(--text-base); font-weight: var(--fw-semibold); margin: var(--s6) 0 var(--s3); }
.legal-content p { margin-bottom: var(--s4); color: var(--c-text); font-size: var(--text-sm); line-height: var(--lh-relaxed); }
.legal-content ul { margin: var(--s3) 0 var(--s4) var(--s6); list-style: disc; }
.legal-content ul li { font-size: var(--text-sm); margin-bottom: var(--s2); color: var(--c-text); }
.legal-content a { color: var(--c-accent); text-decoration: underline; }
.legal-content a:hover { color: var(--c-primary); }

/* ==========================================================
   22. CATALOG (search, filters, families)
   ========================================================== */
.catalog-fams { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s8); }
.catalog-fam {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.catalog-fam:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.catalog-search {
  display: flex;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

/* ==========================================================
   23. STICKY CTA (mobile)
   ========================================================== */
.cta-sticky { display: none; }

/* ==========================================================
   24. ADMIN
   ========================================================== */
.admin-header {
  background: var(--c-primary);
  color: var(--c-white);
  padding: var(--s6);
  border-radius: var(--r-lg);
  margin-bottom: var(--s8);
}
.admin-tile {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.admin-tile:hover { border-color: var(--c-accent); box-shadow: var(--shadow-sm); }
.admin-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  margin-top: var(--s4);
}
.admin-tile--info { border-left: 3px solid var(--c-accent); }
.admin-stat {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
}
.admin-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s2) var(--s4);
  font-size: var(--text-sm);
}
.admin-dl dt { font-weight: var(--fw-semibold); color: var(--c-text-muted); }
.admin-dl dd { color: var(--c-text); }

/* ==========================================================
   25. UTILITIES
   ========================================================== */
.mt-2 { margin-top: var(--s2); }
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.mt-10 { margin-top: var(--s10); }
.mt-12 { margin-top: var(--s12); }
.mb-4 { margin-bottom: var(--s4); }
.mb-6 { margin-bottom: var(--s6); }
.mb-8 { margin-bottom: var(--s8); }
.mb-12 { margin-bottom: var(--s12); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-4 { display: flex; gap: var(--s4); flex-wrap: wrap; }
.flex-gap-6 { display: flex; gap: var(--s6); flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.gap-4 { gap: var(--s4); }
.gap-6 { gap: var(--s6); }
.inline-flex { display: inline-flex; align-items: center; gap: var(--s2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.divider { border: none; border-top: 1px solid var(--c-border); }

/* ==========================================================
   26. ACCESSIBILITY
   ========================================================== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--s3) var(--s5);
  background: var(--c-ocre);
  color: #1A1410;
  font-weight: var(--fw-bold);
  z-index: 200;
  transform: translateY(-110%);
  transition: transform var(--tr);
  font-size: var(--text-sm);
  border-bottom-right-radius: var(--r-md);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid #fff; }

*:focus-visible {
  outline: 2px solid var(--c-ocre);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--c-ocre);
}

/* ==========================================================
   27. ANIMATIONS
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   28. RESPONSIVE - CONSOLIDATED MEDIA QUERIES
   ========================================================== */

/* Large screens */
@media (min-width: 1440px) {
  :root { --max-w: 1320px; }
}
@media (min-width: 1920px) {
  :root { --max-w: 1440px; }
}

/* Tablet landscape (max 1024px) */
@media (max-width: 1024px) {
  :root { --px: 1.25rem; }
  .also-grid { grid-template-columns: 1fr; }
  .col-2-1 { grid-template-columns: 1fr; }
  h1 { font-size: var(--text-3xl); }
  .fam-h-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-biz-top { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .footer-biz-brand { grid-column: 1 / -1; }
  .idf-map-wrapper { grid-template-columns: 1fr; padding: var(--s6); }
  .idf-map svg { max-width: 520px; margin: 0 auto; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-fams { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait to landscape (600-1023) */
@media (min-width: 600px) and (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; padding: var(--s5); gap: var(--s5); }
  .calc-result { padding: var(--s5); }
  .calc-result .num { font-size: 2rem; }

  /* Header mobile */
  .site-header { height: 60px; }
  :root { --header-h: 60px; }
  .logo img { height: 34px; width: 34px; }
  .logo-text { font-size: var(--text-base); }

  /* Mobile nav drawer */
  .nav-toggle { display: flex; padding: var(--s3); }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--c-primary);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--s6) var(--px) var(--s8);
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav ul { flex-direction: column; gap: var(--s1); }
  .main-nav a { display: block; padding: var(--s4); font-size: var(--text-base); border-radius: var(--r-md); }
  .main-nav .nav-cta { text-align: center; margin-left: 0; margin-top: var(--s4); }

  /* Mega nav in drawer */
  .has-mega .mega {
    display: flex !important;
    flex-direction: column;
    gap: var(--s3);
    padding: var(--s3) 0 var(--s3) var(--s4);
    background: transparent;
    box-shadow: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: auto;
  }
  .mega h4 { color: var(--c-ocre-light); margin-top: var(--s3); margin-bottom: var(--s2); }
  .mega ul a { color: rgba(255,255,255,0.78); padding: var(--s2) 0; }
  .mega-cta { flex-direction: column; align-items: flex-start; gap: var(--s2); padding-top: var(--s4); border-color: rgba(255,255,255,0.1); }

  /* Hero mobile */
  .hero-cover { min-height: 50vh; }
  .hero-cover h1 { font-size: var(--text-3xl); }
  .section { padding: var(--s12) 0; }

  /* Footer mobile */
  .footer-biz-top { grid-template-columns: 1fr; gap: var(--s10); }
  .footer-biz-bottom { flex-direction: column; align-items: flex-start; }

  /* Cards mobile */
  .pilier-card { padding: var(--s8); }
  .fam-h-grid { grid-template-columns: 1fr; }

  /* Steps bar mobile */
  .steps-bar { flex-direction: column; }
  .steps-bar li { padding: var(--s2) var(--s3); }

  /* Sticky CTA mobile */
  .cta-sticky {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 95;
    background: var(--c-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0;
    box-shadow: 0 -8px 28px rgba(0,0,0,0.35);
  }
  .cta-sticky-btn {
    flex: 1;
    padding: 14px var(--s3);
    color: var(--c-white);
    font-weight: var(--fw-bold);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    min-height: 44px;
  }
  .cta-sticky-btn svg { width: 18px; height: 18px; }
  .cta-sticky-tel { background: rgba(255,255,255,0.04); color: var(--c-ocre-light); }
  .cta-sticky-tel:hover { background: rgba(255,255,255,0.08); }
  .cta-sticky-devis { background: var(--c-ocre); color: #1A1410; }
  .cta-sticky-devis:hover { background: var(--c-ocre-dark); color: var(--c-white); }
  body { padding-bottom: 60px; }
}

/* Small mobile (max 600px) */
@media (max-width: 600px) {
  .section { padding: var(--s10) 0; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-biz-legal { flex-direction: row; flex-wrap: wrap; gap: var(--s4); }
  .form-nav { flex-direction: column-reverse; gap: var(--s3); }
  .form-nav .btn { width: 100%; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .steps-bar { gap: 4px; }
  .steps-bar li { font-size: 12px; padding: var(--s2) var(--s3); }
  .steps-bar li .num { width: 20px; height: 20px; font-size: 10px; }
  .pilier-card { padding: var(--s6); }
  .pilier-card h3 { font-size: 1.375rem; }
  .catalog-fams { grid-template-columns: 1fr; }
}

/* Extra small (max 480px) */
@media (max-width: 480px) {
  :root { --px: 1rem; }
  .sitemap-grid { grid-template-columns: 1fr; }
  h1 { font-size: var(--text-2xl); }
  .section-title { font-size: var(--text-xl); }
  .hero-cover h1 { font-size: var(--text-2xl); }
}

/* Tiny mobile (max 374px) */
@media (max-width: 374px) {
  :root { --px: 0.875rem; --text-base: 1rem; }
  .hero-cover h1 { font-size: 1.75rem; }
  .section-title, h2 { font-size: 1.375rem; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }
}

/* ==========================================================
   29. PRINT
   ========================================================== */
@media print {
  .site-header, .cta-sticky, .nav-toggle, .footer-business { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
