:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #152033;
  --muted: #4b5b76;
  --primary: #135dff;
  --primary-dark: #0e47bf;
  --accent: #06c48f;
  --border: #d9e2f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0 0, #ecf3ff 0%, var(--bg) 38%);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar {
  background: #0f172a;
  color: #e8eef9;
  font-size: 0.95rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.phone-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  text-decoration: none;
  color: #0d234c;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 3.4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.badge {
  display: inline-block;
  background: #dbe9ff;
  color: #0b3f91;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.hero-card,
.card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(19, 93, 255, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #edf3ff;
  color: #12376f;
}

.btn-whatsapp {
  background: #15b977;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #0f9b63;
}

.full {
  width: 100%;
}

.highlights {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
}

.section {
  padding: 2.7rem 0;
}

.section-alt {
  background: #eef3fb;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card .price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.4rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.zones-list {
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.45rem;
  max-width: 620px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.08);
  background: var(--surface);
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.before-after {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.08);
  max-width: 820px;
  margin: 0 auto;
}

.before-after > img,
.after-layer img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.ba-image {
  width: 200% !important;
  max-width: none;
}

.ba-before-image {
  transform: translateX(0);
}

.ba-after-image {
  transform: translateX(-50%);
}

.after-layer {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
}

.ba-range {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  margin: 0;
  appearance: none;
  height: 36px;
  background: rgba(15, 23, 42, 0.25);
  cursor: ew-resize;
}

.ba-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
}

.ba-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
}

.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}

.ba-before {
  left: 12px;
}

.ba-after {
  right: 12px;
}

.credits {
  margin-top: 0.8rem;
}

.gif-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.08);
}

.gif-fuite {
  height: 130px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e5f0ff 0%, #cfe3ff 100%);
  position: relative;
  overflow: hidden;
}

.gif-fuite span {
  position: absolute;
  top: -14px;
  width: 12px;
  height: 18px;
  background: #2373ff;
  border-radius: 50% 50% 60% 60%;
  animation: goutte 1.6s infinite ease-in;
}

.gif-fuite span:nth-child(1) {
  left: 22%;
  animation-delay: 0s;
}

.gif-fuite span:nth-child(2) {
  left: 50%;
  animation-delay: 0.45s;
}

.gif-fuite span:nth-child(3) {
  left: 78%;
  animation-delay: 0.9s;
}

.gif-debouchage {
  height: 130px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f2f8ff 0%, #ddeafe 100%);
  position: relative;
  overflow: hidden;
}

.snake-line {
  position: absolute;
  top: 58%;
  left: 6%;
  right: 6%;
  height: 10px;
  border-radius: 10px;
  background: #2f3f56;
}

.snake-head {
  position: absolute;
  top: 52%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  animation: debouchage 2s infinite ease-in-out;
}

@keyframes goutte {
  0% {
    transform: translateY(-10px) scale(0.8);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(140px) scale(1.05);
    opacity: 0;
  }
}

@keyframes debouchage {
  0% {
    left: 6%;
  }
  50% {
    left: calc(100% - 30px);
  }
  100% {
    left: 6%;
  }
}

.map-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.08);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #b9c7dd;
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b4d0ff;
  border-color: var(--primary);
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.2rem;
}

.footer {
  background: #0f172a;
  color: #d4ddf0;
  padding: 1.4rem 0 2rem;
  margin-top: 2rem;
}

.legal-links a {
  color: #c5d6ff;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: #1faf66;
  color: #fff;
  text-decoration: none;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(18, 61, 37, 0.35);
}

.floating-wa:hover {
  transform: translateY(-2px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.6);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hidden {
  display: none;
}

.modal-card {
  background: #fff;
  width: min(560px, 100%);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 22px 45px rgba(17, 33, 62, 0.28);
  padding: 1rem;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 850px) {
  .hero-grid,
  .cards,
  .steps-grid,
  .pricing-grid,
  .media-grid,
  .gif-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 4%;
    display: none;
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-links.open {
    display: flex;
  }
}

/* Page d'accueil — hub premium */
.hub-page {
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background: linear-gradient(180deg, #f0f7ff 0%, var(--bg) 28%);
}

.hub-main {
  padding: 0 0 3rem;
}

.hub-intro {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
}

.hub-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e0e7ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.hub-brand {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hub-intro h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.hub-lead {
  margin: 0;
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hub-hero-stats {
  list-style: none;
  margin: 1.85rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.hub-hero-stats li {
  padding: 0.45rem 0.85rem;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-hero-stats strong {
  color: #fff;
  font-weight: 800;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hub-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 35, 70, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hub-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(15, 35, 70, 0.14);
}

.hub-panel:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.hub-panel__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-panel-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.hub-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #0d234c;
}

.hub-panel p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.hub-panel-cta {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-dark);
  margin-top: auto;
}

.hub-panel--renovation {
  border-top: none;
  border-left: 4px solid #2563eb;
}

.hub-panel--jardinage {
  border-left: 4px solid #059669;
}

.hub-panel--nettoyage {
  border-left: 4px solid #0891b2;
}

.hub-panel--informatique {
  border-left: 4px solid #7c3aed;
}

.hub-panel--renovation .hub-panel-cta {
  color: #0e47bf;
}

.hub-panel--jardinage .hub-panel-cta {
  color: #047857;
}

.hub-panel--nettoyage .hub-panel-cta {
  color: #0e7490;
}

.hub-panel--informatique .hub-panel-cta {
  color: #5b21b6;
}

.hub-panel__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.hub-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.hub-panel:hover .hub-panel__media img {
  transform: scale(1.07);
}

.hub-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.5) 100%);
  pointer-events: none;
}

.hub-footer-note {
  text-align: center;
  margin: 2.5rem 0 0.5rem;
  color: var(--muted);
}

.hub-legal,
.hub-copy {
  text-align: center;
  margin: 0.35rem 0;
}

@media (max-width: 700px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-hero-stats {
    flex-direction: column;
    align-items: center;
  }
}

/* Hero plein écran visuel */
.hub-masthead {
  position: relative;
  margin-bottom: 0;
  min-height: min(72vh, 540px);
  display: flex;
  align-items: flex-end;
}

.hub-masthead__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hub-masthead__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hub-masthead__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.55) 42%,
    rgba(15, 23, 42, 0.78) 100%
  );
}

.hub-masthead__shell {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.5rem 1rem 3rem;
}

.hub-btn-mail {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.hub-btn-mail:hover {
  background: #fff;
}

.hub-grid--visual {
  gap: 1.75rem;
  max-width: 1100px;
}

.hub-panel__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hub-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin: 2rem auto 0;
  max-width: 900px;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
}

.hub-trust strong {
  display: block;
  font-size: 1.08rem;
  color: #0f172a;
}

.hub-trust span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Accueil : accessibilité, navigation, blocs complémentaires */
.hub-page .navbar {
  z-index: 25;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  outline: 2px solid #93c5fd;
  overflow: visible;
}

.hub-page .nav-cta {
  background: #ecfdf5;
  color: #047857 !important;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-weight: 700;
}

.hub-page .nav-cta:hover {
  background: #d1fae5;
}

.hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.65rem;
}

.hub-masthead .btn-primary {
  background: #fff;
  color: #1e40af;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hub-masthead .btn-primary:hover {
  background: #eff6ff;
}

.hub-masthead .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hub-masthead .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hub-content-wrap {
  margin-top: 0;
  padding-bottom: 2rem;
}

.hub-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hub-section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b82f6;
}

.hub-section-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  color: #0f172a;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.hub-section-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.hub-engagement {
  padding: 3rem 0 1.25rem;
}

.hub-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hub-pillar {
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.hub-pillar--1 {
  background: linear-gradient(145deg, #eff6ff 0%, #fff 48%);
}

.hub-pillar--2 {
  background: linear-gradient(145deg, #ecfdf5 0%, #fff 48%);
}

.hub-pillar--3 {
  background: linear-gradient(145deg, #f5f3ff 0%, #fff 48%);
}

.hub-pillar__icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.hub-pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: #0f172a;
}

.hub-pillar p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.55;
}

.hub-activites {
  padding: 2rem 0 0.5rem;
}

.hub-section-head .hub-activites__intro {
  margin-top: 0.65rem;
}

.hub-activites__intro {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.55;
}

.hub-cta-band {
  margin: 2.75rem 0 2rem;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(115deg, #1e3a8a 0%, #4338ca 42%, #312e81 100%);
  box-shadow: 0 24px 52px rgba(30, 58, 138, 0.28);
}

.hub-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  color: #e2e8f0;
}

.hub-cta-band__inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: #fff;
}

.hub-cta-band__text {
  margin: 0;
  max-width: 440px;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.96;
}

.hub-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hub-cta-band .btn-primary {
  background: #fff;
  color: #1e40af;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hub-cta-band .btn-primary:hover {
  background: #eff6ff;
}

.hub-cta-band .btn-whatsapp {
  background: #16a34a;
  color: #fff;
}

.hub-cta-band .btn-whatsapp:hover {
  background: #15803d;
}

@media (max-width: 850px) {
  .hub-pillars {
    grid-template-columns: 1fr;
  }

  .hub-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hub-cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .hub-cta-band__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hub-masthead {
    min-height: 62vh;
  }
}

/* --- Rénovation / plomberie : chantier & confiance --- */
body.page-renovation {
  font-family: "DM Sans", system-ui, sans-serif;
}

.page-renovation {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --accent: #f97316;
  --bg: #f1f5f9;
}

body.page-renovation {
  background: linear-gradient(180deg, #e8f0fe 0%, var(--bg) 28%);
}

.page-renovation .topbar {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
}

.page-renovation .badge {
  background: rgba(249, 115, 22, 0.15);
  color: #c2410c;
}

.page-renovation .hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.page-renovation .hero-split__visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(30, 58, 138, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.page-renovation .hero-split__visual img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  display: block;
}

.page-renovation .hero-split__content h1 {
  margin-top: 0.25rem;
}

.page-renovation .trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-renovation .trust-strip div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e3a8a;
}

.page-renovation .compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-renovation .compare-split figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.1);
  background: #fff;
}

.page-renovation .compare-split img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.page-renovation .compare-split figcaption {
  padding: 0.65rem 0.85rem;
  font-weight: 700;
  font-size: 0.88rem;
  background: #f8fafc;
}

/* Galerie rénovation (photos chantier) */
.page-renovation .reno-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.page-renovation .reno-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 33, 62, 0.07);
  display: flex;
  flex-direction: column;
}

.page-renovation .reno-card--wide {
  grid-column: 1 / -1;
}

.page-renovation .reno-card__img {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}

.page-renovation .reno-card--wide .reno-card__img {
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.page-renovation .reno-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-renovation .reno-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-renovation .reno-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  color: #0f172a;
}

.page-renovation .reno-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  flex: 1;
}

.page-renovation .reno-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 0.35rem;
}

@media (max-width: 850px) {
  .page-renovation .reno-grid {
    grid-template-columns: 1fr;
  }

  .page-renovation .reno-card--wide .reno-card__img {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

/* --- Jardinage : nature & éditorial --- */
.page-jardinage {
  --primary: #166534;
  --primary-dark: #14532d;
  --bg: #faf8f5;
}

.page-jardinage {
  background: var(--bg);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.page-jardinage .navbar,
.page-jardinage .topbar,
.page-jardinage .footer,
.page-jardinage .btn,
.page-jardinage input,
.page-jardinage select,
.page-jardinage textarea {
  font-family: "DM Sans", system-ui, sans-serif;
}

.page-jardinage .topbar {
  background: #14532d;
}

.page-jardinage .brand {
  color: #14532d;
}

.page-jardinage .badge {
  background: #dcfce7;
  color: #166534;
}

.page-jardinage .hero-garden {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 0 0 3rem;
  margin-bottom: 0;
}

.page-jardinage .hero-garden__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1600&h=900&q=82");
  background-size: cover;
  background-position: center 38%;
}

.page-jardinage .hero-garden__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 83, 45, 0.15) 0%, rgba(20, 83, 45, 0.85) 100%);
}

.page-jardinage .hero-garden .container {
  position: relative;
  z-index: 1;
}

.page-jardinage .hero-garden-box {
  max-width: 560px;
  background: #fffef9;
  padding: 1.75rem 1.85rem;
  border-radius: 4px 20px 20px 20px;
  box-shadow: 0 20px 50px rgba(20, 50, 30, 0.25);
  border: 1px solid rgba(22, 101, 52, 0.12);
}

.page-jardinage .hero-garden-box h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  color: #14532d;
  margin: 0 0 0.75rem;
}

.page-jardinage .hero-garden-box p {
  margin: 0 0 1rem;
  color: #3f3f3a;
  line-height: 1.65;
}

.page-jardinage .section-title {
  font-size: 1.85rem;
  color: #14532d;
  margin-bottom: 0.5rem;
}

.page-jardinage .split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.page-jardinage .split-row img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 83, 45, 0.12);
}

.page-jardinage .split-row--reverse {
  direction: rtl;
}

.page-jardinage .split-row--reverse > * {
  direction: ltr;
}

.page-jardinage .quote-block {
  border-left: 4px solid #22c55e;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  background: #f0fdf4;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #365314;
}

.page-jardinage .btn-primary {
  background: #166534;
  box-shadow: 0 8px 20px rgba(22, 101, 52, 0.3);
}

.page-jardinage .btn-primary:hover {
  background: #14532d;
}

/* --- Nettoyage : corporate & blanc --- */
body.page-nettoyage {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.page-nettoyage {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --bg: #f8fafc;
}

.page-nettoyage {
  background: var(--bg);
}

.page-nettoyage .topbar {
  background: #134e4a;
}

.page-nettoyage .brand {
  color: #134e4a;
}

.page-nettoyage .badge {
  background: #ccfbf1;
  color: #115e59;
}

.page-nettoyage .metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: -2rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.page-nettoyage .metric-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.1rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.page-nettoyage .metric-card strong {
  display: block;
  font-size: 1.75rem;
  color: #0f766e;
  font-weight: 800;
}

.page-nettoyage .metric-card span {
  font-size: 0.88rem;
  color: #64748b;
}

.page-nettoyage .hero-clean {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 55%);
}

.page-nettoyage .hero-clean-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.page-nettoyage .hero-clean-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 118, 110, 0.15);
}

.page-nettoyage .hero-clean-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.page-nettoyage .check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.page-nettoyage .check-list li {
  padding: 0.45rem 0 0.45rem 1.75rem;
  position: relative;
  color: #334155;
}

.page-nettoyage .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: 800;
}

.page-nettoyage .btn-primary {
  background: #0f766e;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.page-nettoyage .section-band {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* --- Informatique : tech sombre --- */
body.page-informatique {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.page-informatique {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --bg: #f1f5f9;
}

.page-informatique {
  background: var(--bg);
}

.page-informatique .topbar {
  background: #0c0a1d;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}

.page-informatique .navbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #e9d5ff;
}

.page-informatique .brand {
  color: #5b21b6;
}

.page-informatique .hero-tech {
  background: #0b0f1a;
  color: #e2e8f0;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-informatique .hero-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.9;
  pointer-events: none;
}

.page-informatique .hero-tech .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-informatique .hero-tech h1 {
  color: #fff;
  margin-top: 0.5rem;
}

.page-informatique .hero-tech .badge {
  background: rgba(124, 58, 237, 0.25);
  color: #e9d5ff;
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.page-informatique .hero-tech p {
  color: #94a3b8;
  font-size: 1.05rem;
}

.page-informatique .hero-tech-card {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.page-informatique .hero-tech-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  height: 200px;
  object-fit: cover;
}

.page-informatique .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.page-informatique .pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  color: #ddd6fe;
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.page-informatique .btn-primary {
  background: #7c3aed;
  box-shadow: 0 8px 24px rgba(124, 58, 246, 0.35);
}

.page-informatique .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.page-informatique .service-grid-it {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-informatique .service-grid-it .card {
  border-left: 3px solid #8b5cf6;
}

@media (max-width: 900px) {
  .page-renovation .hero-split,
  .page-jardinage .split-row,
  .page-nettoyage .hero-clean-grid,
  .page-nettoyage .metrics,
  .page-informatique .hero-tech .container,
  .page-informatique .service-grid-it {
    grid-template-columns: 1fr;
  }

  .page-renovation .trust-strip {
    grid-template-columns: 1fr;
  }

  .page-renovation .compare-split {
    grid-template-columns: 1fr;
  }

  .page-jardinage .hero-garden {
    min-height: 480px;
  }
}
