/* ============================================================
   MB SERVICES — Feuille de styles principale
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --c-primary:    #1A2940;
  --c-primary-l:  #243352;
  --c-accent:     #BFA07A;
  --c-accent-d:   #9E8060;
  --c-accent-l:   #F2E8D8;
  --c-danger:     #C0392B;
  --c-danger-d:   #A93226;
  --c-danger-l:   #FDECEA;
  --c-success:    #27AE60;
  --c-white:      #FFFFFF;
  --c-gray-50:    #FAF7F2;
  --c-gray-100:   #F2EAE0;
  --c-gray-200:   #E0D4C4;
  --c-gray-400:   #A89888;
  --c-gray-500:   #7A6E64;
  --c-gray-700:   #3D3530;
  --c-gray-900:   #1A1A1A;
  --c-text:       #1A1A1A;
  --c-text-light: #7A6E64;
  --c-text-muted: #5C5248;
  --c-accent-dark: #9E7A50;

  --font:         'Inter', system-ui, -apple-system, sans-serif;

  --section-py:   5rem;
  --container:    1200px;
  --gutter:       1.5rem;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow:       0 4px 14px rgba(0,0,0,.10);
  --shadow-md:    0 8px 32px rgba(0,0,0,.13);
  --shadow-lg:    0 24px 64px rgba(0,0,0,.18);

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

  --t:      .25s ease;
  --t-slow: .45s ease;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ─── Typographie ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--c-text-light); }

/* ─── Utilitaires ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-py) 0; }
.section--gray { background: var(--c-gray-50); }
.section--dark {
  background: var(--c-primary);
  color: var(--c-white);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--c-white); }
.section--dark p { color: rgba(255,255,255,.75); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

.badge {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--c-accent-l);
  color: var(--c-accent-d);
  margin-bottom: 1rem;
}
.badge--white {
  background: rgba(255,255,255,.15);
  color: var(--c-white);
}

.text-accent { color: var(--c-accent); }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Boutons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(200,149,62,.35);
}
.btn--primary:hover {
  background: var(--c-accent-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,149,62,.45);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--c-white);
  color: var(--c-white);
}
.btn--outline:hover {
  background: var(--c-white);
  color: var(--c-primary);
}
.btn--outline-dark {
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
}
.btn--outline-dark:hover {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn--danger {
  background: var(--c-danger);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(192,57,43,.35);
  font-size: 1.05rem;
  padding: .9rem 2rem;
}
.btn--danger:hover {
  background: var(--c-danger-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,.5);
}
.btn--lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: var(--c-primary);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 58px;
  width: auto;
  display: block;
  overflow: visible;
  filter: brightness(0) invert(1);
  transition: opacity var(--t);
}
.nav__logo:hover .nav__logo-img { opacity: .85; }
.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .75rem;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--c-white);
  background: rgba(255,255,255,.12);
}
.nav__links a.active { color: var(--c-accent); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav__emergency {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--c-danger);
  font-weight: 700;
  font-size: .85rem;
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.3);
  padding: .4rem .9rem;
  border-radius: 99px;
  transition: var(--t);
}
.nav__emergency:hover {
  background: var(--c-danger);
  color: var(--c-white);
  border-color: var(--c-danger);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--t);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--c-primary);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  padding: .75rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--t);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--c-accent); padding-left: 1rem; }
.nav__mobile a.active { color: var(--c-accent); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-primary);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://placehold.co/1920x1080/1A2940/243352?text=') center/cover no-repeat;
  opacity: .18;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,41,64,.98) 0%, rgba(26,41,64,.7) 60%, rgba(26,41,64,.4) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 8rem 0 5rem;
}
.hero__content .badge { margin-bottom: 1.25rem; }
.hero__title {
  color: var(--c-white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero__title span { color: var(--c-accent); }
.hero__subtitle {
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 2rem;
}
.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero page intérieure (plus petite) */
.hero--page {
  min-height: 360px;
  align-items: flex-end;
  padding-bottom: 3rem;
}
.hero--page .hero__content { padding: 7rem 0 0; }
.hero--page .hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.hero--emergency {
  background: linear-gradient(135deg, #5c0a07 0%, var(--c-danger-d) 50%, #c0392b 100%);
}
.hero--emergency .hero__overlay {
  background: linear-gradient(135deg, rgba(90,10,7,.95) 0%, rgba(169,50,38,.6) 100%);
}

/* ─── Services ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--t);
  cursor: default;
}
.service-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 60px; height: 60px;
  border-radius: var(--r);
  background: var(--c-accent-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  transition: var(--t);
}
.service-card:hover .service-card__icon {
  background: var(--c-accent);
}
.service-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.service-card p { font-size: .85rem; line-height: 1.5; }

/* ─── Points forts ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: var(--t);
}
.feature-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature-card h3 { color: var(--c-accent); font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; }

/* ─── Stats ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 2rem 1rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.stat-item__value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-item__label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ─── Galerie ───────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.2rem;
  border-radius: 99px;
  font-size: .88rem;
  font-weight: 600;
  border: 2px solid var(--c-gray-200);
  color: var(--c-text-light);
  background: var(--c-white);
  transition: var(--t);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,41,64,.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--t);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label {
  color: var(--c-white);
  font-weight: 600;
  font-size: .9rem;
}
.gallery-item__cat {
  display: inline-block;
  font-size: .75rem;
  color: var(--c-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.gallery-item.hidden { display: none; }

/* ─── Avant/Après ───────────────────────────────────────── */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.comparison-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
}
.comparison-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
  aspect-ratio: 4/3;
  cursor: col-resize;
}
.comparison-slider img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.comparison-slider__after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path .05s linear;
}
.comparison-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--c-white);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  transition: left .05s linear;
}
.comparison-slider__handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--c-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.comparison-slider__handle::after {
  content: '⇔';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: .9rem;
  color: var(--c-primary);
  pointer-events: none;
  z-index: 1;
}
.comparison-label {
  position: absolute;
  top: .75rem;
  padding: .3rem .8rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 5;
  pointer-events: none;
}
.comparison-label--before {
  left: .75rem;
  background: rgba(26,41,64,.8);
  color: var(--c-white);
}
.comparison-label--after {
  right: .75rem;
  background: var(--c-accent);
  color: var(--c-white);
}
.comparison-card__info {
  padding: 1.25rem 1.5rem;
}
.comparison-card__info h3 { font-size: 1rem; margin-bottom: .3rem; }
.comparison-card__info p { font-size: .85rem; }

/* ─── Réalisations preview (accueil) ────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.preview-grid .gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ─── Zone d'intervention ───────────────────────────────── */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}
.zone-card {
  padding: 1.25rem 1rem;
  border-radius: var(--r);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  transition: var(--t);
}
.zone-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow);
}
.zone-card__icon { font-size: 1.5rem; margin-bottom: .5rem; }
.zone-card h4 { font-size: .95rem; color: var(--c-primary); }

/* ─── Présentation entreprise ───────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro__image {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.about-intro__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-intro__image::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--c-accent);
  border-radius: var(--r-lg);
  z-index: -1;
}
.about-intro__text .badge { margin-bottom: 1rem; }
.about-intro__text h2 { margin-bottom: 1.25rem; }
.about-intro__text p { margin-bottom: 1rem; font-size: 1rem; }
.about-checklist {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.5rem;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: var(--c-text);
}
.about-checklist li::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--c-accent-l);
  color: var(--c-accent-d);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--c-accent);
  transition: var(--t);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.method-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.method-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--c-accent-l);
}
.method-step__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid var(--c-accent);
}
.method-step__content h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.method-step__content p { font-size: .92rem; }

/* ─── Formulaires ───────────────────────────────────────── */
.form-page {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.form-sidebar { }
.form-sidebar h2 { margin-bottom: 1rem; }
.form-sidebar p { margin-bottom: 1.5rem; font-size: 1rem; }
.form-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-gray-200);
}
.form-contact-item {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.form-contact-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--c-accent-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.form-contact-item__label {
  font-size: .78rem;
  color: var(--c-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .1rem;
}
.form-contact-item__value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-primary);
}

.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: .45rem;
}
.form-group label .required { color: var(--c-danger); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--r);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-gray-50);
  transition: var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--c-accent);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(200,149,62,.15);
}
.form-control::placeholder { color: var(--c-gray-400); }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-submit { margin-top: .5rem; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: .75rem; color: var(--c-success); }
.form-success p { font-size: 1rem; }
.form-success.show { display: block; }
.form-body.hide { display: none; }

/* Formulaire urgence */
.urgency-form .form-card {
  border-top: 4px solid var(--c-danger);
}
.urgency-phone-block {
  text-align: center;
  background: var(--c-danger);
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  color: var(--c-white);
  margin-bottom: 2.5rem;
}
.urgency-phone-block h2 { color: var(--c-white); font-size: 1.6rem; margin-bottom: .5rem; }
.urgency-phone-block p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.urgency-phone-number {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--c-white);
  display: block;
  margin: 1rem 0;
  letter-spacing: .04em;
}

/* ─── CTA Section ───────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px; height: 500px;
  background: var(--c-accent);
  opacity: .05;
  border-radius: 50%;
}
.cta-section h2 { color: var(--c-white); margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-section .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Page Réalisations — feed Instagram ────────────────── */
.insta-feed-wrap {
  margin: 2rem 0 1rem;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.insta-feed-wrap behold-widget { display: block; width: 100%; }
.insta-follow {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── Instagram Section ─────────────────────────────────── */
.instagram-section { text-align: center; }
.instagram-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .9rem 2.2rem;
  border-radius: 99px;
  transition: var(--t);
  box-shadow: 0 4px 20px rgba(220,39,67,.35);
}
.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,39,67,.45);
}
.instagram-btn svg { flex-shrink: 0; }
.gallery-item-wrap {
  display: flex;
  flex-direction: column;
}
.gallery-item-wrap.hidden { display: none; }
.gallery-item__caption {
  font-size: .85rem;
  color: var(--c-text-light);
  line-height: 1.55;
  padding: .6rem .25rem 0;
  margin: 0;
  font-style: italic;
}

.instagram-sub {
  color: var(--c-text-light);
  font-size: .9rem;
  margin: 0 !important;
}
.instagram-feed {
  margin: 2rem 0 2.5rem;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.instagram-feed behold-widget {
  display: block;
  width: 100%;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: #0F1A28;
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: rgba(255,255,255,.55);
}
.footer__col h4 {
  color: var(--c-white);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul a {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: var(--t);
}
.footer__col ul a:hover { color: var(--c-accent); padding-left: 4px; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.footer__contact li span:first-child { flex-shrink: 0; font-size: 1rem; margin-top: .05rem; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom a { color: rgba(255,255,255,.5); transition: var(--t); }
.footer__bottom a:hover { color: var(--c-accent); }
.footer__logo {
  margin-bottom: 1rem;
}
.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  transition: var(--t);
  text-decoration: none;
}
.footer__instagram svg { flex-shrink: 0; opacity: .8; transition: var(--t); }
.footer__instagram:hover { color: #E1306C; }
.footer__instagram:hover svg { opacity: 1; stroke: #E1306C; }

/* ─── Testimonials ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
  transition: var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card__stars { color: var(--c-accent); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--c-text);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--c-primary);
}
.testimonial-card__city {
  font-size: .8rem;
  color: var(--c-text-light);
}

/* ─── Urgency indicators ────────────────────────────────── */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--c-danger);
  color: var(--c-white);
  border-radius: 99px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.urgency-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--c-white);
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}

.urgency-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.urgency-type {
  background: var(--c-danger-l);
  border: 1px solid rgba(192,57,43,.2);
  border-radius: var(--r);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--t);
}
.urgency-type:hover {
  background: var(--c-danger);
  color: var(--c-white);
}
.urgency-type:hover .urgency-type__label { color: var(--c-white); }
.urgency-type__icon { font-size: 1.75rem; margin-bottom: .5rem; }
.urgency-type__label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-danger-d);
}

/* ─── Animations ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in--delay-1 { transition-delay: .1s; }
.fade-in--delay-2 { transition-delay: .2s; }
.fade-in--delay-3 { transition-delay: .3s; }
.fade-in--delay-4 { transition-delay: .4s; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .form-page { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-intro__image { max-width: 480px; aspect-ratio: 3/2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid .gallery-item:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
    --gutter: 1rem;
  }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .hero__content { padding: 7rem 0 4rem; }
  .hero__stats { gap: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-grid .gallery-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-section .btn-group { flex-direction: column; align-items: center; }
  .form-card { padding: 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .urgency-types { grid-template-columns: repeat(2, 1fr); }
}
