/* ══ RESET & VARIABLES ════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1B6FBF;   /* bleu logo */
  --blue-lt: #4CA3DD;   /* bleu clair logo */
  --blue-dk: #145394;
  --dark:    #0D0D0D;
  --mid:     #12182B;   /* fond foncé sections */
  --mid-2:   #1A2138;
  --grey:    #6B7280;
  --grey-lt: #9AA3B2;
  --line:    #E2E8F0;
  --light:   #F5F7FA;
  --white:   #FFFFFF;
  --radius:  10px;
  --maxw:    1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ══ NAVIGATION ═══════════════════════════════════════ */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1.1rem, 6vw, 4rem);
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76, 163, 221, 0.12);
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(13, 13, 13, 0.95);
  padding-top: 0.6rem; padding-bottom: 0.6rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-logo-img { height: 38px; width: auto; }
.nav-logo-txt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--white); line-height: 0.92; display: flex; flex-direction: column;
}
.nav-logo-txt small {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.28em;
  color: var(--blue-lt);
}
#navMenu { list-style: none; display: flex; align-items: center; gap: 2rem; }
#navMenu a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.72);
  text-decoration: none; transition: color 0.2s; position: relative;
}
#navMenu a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue-lt); transition: width 0.25s;
}
#navMenu a:not(.nav-cta):hover::after { width: 100%; }
#navMenu a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 0.55rem 1.25rem; border-radius: 6px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue-lt); transform: translateY(-1px); }
.nav-danger { background: #E8543A !important; color: #fff !important; }
.nav-danger:hover { background: #FF7849 !important; }
.btn-partner { background: #0891B2 !important; color: #fff !important; box-shadow: 0 8px 22px rgba(8,145,178,0.32); }
.btn-partner:hover { background: #0e7490 !important; }
.nav-burger { display: none; }

/* ══ HERO ═════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 7rem clamp(1.1rem, 6vw, 4rem) 4rem;
  background: radial-gradient(120% 120% at 70% 10%, var(--mid-2) 0%, var(--mid) 55%, #0c0f1c 100%);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(76,163,221,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,163,221,0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(120% 90% at 60% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,163,221,0.20) 0%, transparent 68%);
  top: 42%; left: 60%; transform: translate(-50%,-50%); pointer-events: none;
}
.hero-bolt {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  height: 78%; width: auto; color: var(--blue-lt); opacity: 0.10; z-index: 1;
  filter: drop-shadow(0 0 40px rgba(76,163,221,0.5));
  animation: boltPulse 5s ease-in-out infinite;
}
@keyframes boltPulse { 0%,100%{opacity:.08} 50%{opacity:.16} }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-lt);
  margin-bottom: 1.3rem; display: flex; align-items: center; gap: 0.7rem;
}
.hero-eyebrow::before { content:''; width: 34px; height: 2px; background: var(--blue-lt); }
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.01em; color: var(--white); margin-bottom: 1.4rem;
}
.hero-h1 .accent { color: var(--blue-lt); }
.hero-sub {
  font-size: 1.06rem; font-weight: 300; color: rgba(255,255,255,0.66);
  max-width: 520px; margin-bottom: 2.3rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-primary {
  display: inline-flex; align-items: center; background: var(--blue);
  color: var(--white); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.95rem 1.9rem; border-radius: 6px;
  text-decoration: none; transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 22px rgba(27,111,191,0.32);
}
.btn-primary:hover { background: var(--blue-lt); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(76,163,221,0.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.85);
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.95rem 1.6rem; border-radius: 6px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: #25D366; color: #25D366; background: rgba(37,211,102,0.08); }
.btn-whatsapp { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.btn-whatsapp:hover { background: #1ebe5d !important; border-color: #1ebe5d !important; color: #fff !important; }

.hero-stats { margin-top: 3.5rem; display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 2.7rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-num span { color: var(--blue-lt); }
.stat-label {
  font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); margin-top: 0.25rem;
}

/* ══ BANDEAU CONFIANCE ════════════════════════════════ */
.trust-bar {
  background: var(--dark); display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1rem, 5vw, 3.5rem); padding: 1.1rem clamp(1.1rem,6vw,4rem);
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.78);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em;
}
.trust-ic {
  width: 20px; height: 20px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--blue); color: #fff; border-radius: 50%; font-size: 0.7rem; font-weight: 700;
}

/* ══ SECTIONS GÉNÉRIQUES ══════════════════════════════ */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.1rem, 6vw, 4rem); }
.sec-head { max-width: var(--maxw); margin: 0 auto 3.2rem; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800; line-height: 1.08; color: var(--dark); margin-bottom: 0.9rem;
}
.section-sub { font-size: 1rem; color: var(--grey); max-width: 540px; }
.sec-head--light .section-title { color: var(--white); }
.sec-head--light .section-label { color: var(--blue-lt); }
.sec-head--light .section-sub { color: rgba(255,255,255,0.55); }

/* ══ SERVICES ═════════════════════════════════════════ */
#services { background: var(--light); }
.services-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.9rem;
  border: 1px solid var(--line); border-top: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
  border-top-color: var(--blue);
  box-shadow: 0 14px 40px rgba(27,111,191,0.13); transform: translateY(-5px);
}
.service-icon {
  font-size: 1.7rem; width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(27,111,191,0.10), rgba(76,163,221,0.10));
}
.service-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.5rem;
}
.service-desc { font-size: 0.92rem; color: var(--grey); }

/* ══ RÉALISATIONS ═════════════════════════════════════ */
#realisations { background: var(--white); }
.gallery {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--light); aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.06); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 2rem;
  background: rgba(8,10,18,0.92); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; animation: lbFade 0.2s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; border: none; font-size: 1.1rem; cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1rem 0.7rem;
  font-size: 0.82rem; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(13,13,13,0.9) 55%);
}
.gallery-note { text-align: center; margin-top: 2rem; color: var(--grey); font-size: 0.92rem; }
.gallery-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
.gallery-note a:hover { text-decoration: underline; }

/* ══ POURQUOI NOUS ════════════════════════════════════ */
#why { position: relative; background: var(--mid); overflow: hidden; }
.why-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(76,163,221,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,163,221,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
}
#why .sec-head, .why-grid { position: relative; z-index: 2; }
.why-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.8rem;
}
.why-item { padding: 1.6rem 1.5rem; border-left: 2px solid var(--blue); background: rgba(255,255,255,0.02); border-radius: 0 8px 8px 0; transition: background 0.25s, transform 0.25s; }
.why-item:hover { background: rgba(76,163,221,0.07); transform: translateY(-3px); }
.why-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--blue-lt); opacity: 0.5; margin-bottom: 0.4rem;
}
.why-item-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.45rem;
}
.why-item-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); }

/* ══ AVIS ═════════════════════════════════════════════ */
#avis { background: var(--light); text-align: center; }
#avis .sec-head { text-align: left; }
.reviews {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem;
}
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; text-align: left; transition: box-shadow 0.25s, transform 0.25s;
}
.review:hover { box-shadow: 0 12px 32px rgba(27,111,191,0.10); transform: translateY(-4px); }
.stars { color: #FBBC05; font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.review-text { font-size: 0.95rem; color: #333; font-style: italic; margin-bottom: 1rem; }
.review-author { font-size: 0.82rem; color: var(--grey); font-weight: 500; }
.btn-google {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem;
  background: var(--white); border: 1px solid var(--line); color: #333;
  padding: 0.85rem 1.6rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: box-shadow 0.2s, transform 0.2s;
}
.btn-google:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.12); transform: translateY(-2px); }

/* ══ CONTACT ══════════════════════════════════════════ */
#contact {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start; max-width: calc(var(--maxw) + 4rem); margin: 0 auto;
}
.contact-info .section-title { margin-bottom: 1.2rem; }
.contact-info .section-sub { margin-bottom: 2rem; }
.contact-line {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem;
  font-size: 0.95rem; color: var(--dark); text-decoration: none; transition: color 0.2s;
}
a.contact-line:hover { color: var(--blue); }
.contact-ic {
  width: 44px; height: 44px; flex-shrink: 0; background: var(--light);
  border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem;
}
.muted { color: var(--grey); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.social {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mid); color: #fff; transition: background 0.2s, transform 0.2s;
}
.social:hover { background: var(--blue); transform: translateY(-3px); }

.contact-form-wrap { background: var(--light); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 0.4rem;
}
.form-group label .opt { text-transform: none; font-weight: 400; color: var(--grey-lt); letter-spacing: 0; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.78rem 1rem; border: 1px solid var(--line); border-radius: 7px;
  font-size: 0.95rem; font-family: inherit; background: var(--white); color: var(--dark);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,111,191,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; }

.btn-submit {
  width: 100%; background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 1rem; border-radius: 8px; font-family: inherit; transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--blue-lt); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-legal { font-size: 0.72rem; color: var(--grey-lt); margin-top: 0.8rem; text-align: center; }

/* upload */
.upload-zone {
  border: 2px dashed #CBD5E1; border-radius: 9px; padding: 1.6rem; text-align: center;
  cursor: pointer; position: relative; background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--blue); background: rgba(27,111,191,0.04); }
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 1.7rem; margin-bottom: 0.4rem; }
.upload-text { font-size: 0.86rem; color: var(--grey); }
.upload-text strong { color: var(--blue); }
.preview-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.preview-item { position: relative; width: 76px; height: 76px; }
.preview-item img, .preview-pdf {
  width: 100%; height: 100%; object-fit: cover; border-radius: 7px; border: 1px solid var(--line);
}
.preview-pdf {
  display: grid; place-items: center; background: var(--white); color: var(--blue);
  font-size: 0.62rem; font-weight: 700; text-align: center; padding: 4px; word-break: break-word;
}
.preview-remove {
  position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; background: #EF4444;
  color: #fff; border-radius: 50%; border: 2px solid #fff; cursor: pointer; font-size: 0.6rem;
  line-height: 1; font-weight: 700;
}

/* banners */
.success-banner, .error-banner {
  display: none; border-radius: 8px; padding: 0.95rem 1.1rem; margin-bottom: 1.1rem;
  font-size: 0.9rem; font-weight: 500; text-align: center;
}
.success-banner { background: #DCFCE7; border: 1px solid #86EFAC; color: #166534; }
.error-banner { background: #FEE2E2; border: 1px solid #FCA5A5; color: #991B1B; }

/* ══ FOOTER ═══════════════════════════════════════════ */
#footer { background: var(--dark); color: rgba(255,255,255,0.55); }
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem,5vw,4rem) clamp(1.1rem,6vw,4rem) 2rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { height: 200px; width: auto; margin-bottom: 1rem; }
.footer-tag { font-size: 0.88rem; max-width: 280px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem;
}
.footer-col a, .footer-col span { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); text-align: center;
  padding: 1.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom strong { color: var(--blue-lt); }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue-lt); }

/* ══ FAB RETOUR EN HAUT ═══════════════════════════════ */
.fab-top {
  position: fixed; right: 20px; bottom: 90px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-size: 1.4rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(27,111,191,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-top:hover { background: var(--blue-lt); transform: translateY(-3px); }

/* ══ FAB WHATSAPP ═════════════════════════════════════ */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s; animation: fabIn 0.5s 1s both;
}
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes fabIn { from { transform: scale(0); } to { transform: scale(1); } }

/* ══ REVEAL ANIMATION ═════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══ RESPONSIVE ═══════════════════════════════════════ */
@media (max-width: 860px) {
  #contact { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 26px; height: 18px; background: none; border: none; cursor: pointer; padding: 0; z-index: 101;
  }
  .nav-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
  .nav-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  #navMenu {
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; inset: 100% 0 auto 0; background: rgba(13,13,13,0.98);
    padding: 0.8rem clamp(1.1rem,6vw,4rem) 1.4rem; border-top: 1px solid rgba(76,163,221,0.15);
  }
  #navMenu.nav-open { display: flex; }
  #navMenu li { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  #navMenu a { font-size: 1rem; }
  .nav-cta { display: inline-block; margin-top: 0.6rem; }
  .hero-bolt { opacity: 0.06; right: -10%; }
  .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-side { order: -1; }
  .hero-side .hero-logo { max-width: 200px; }
  .hero-portrait { max-width: 240px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════
   STYLES PAGES INTERNES & SECTION DANGER (ajout v2)
   ══════════════════════════════════════════════════════ */

/* logo complet sur le hero */
.hero-logo { max-width: 300px; width: 60%; margin-bottom: 1.8rem; filter: drop-shadow(0 8px 30px rgba(76,163,221,0.25)); }

/* hero 2 colonnes : texte gauche, logo+photo droite */
.hero-layout {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-side { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-side .hero-logo { max-width: 260px; width: 80%; margin-bottom: 1.4rem; }
.hero-portrait {
  width: 100%; max-width: 300px; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(76,163,221,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait-ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background: rgba(76,163,221,0.06); color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.6;
}
.hero-portrait-ph small { color: rgba(255,255,255,0.3); font-size: 0.72rem; }
.hero-side-name { margin-top: 0.9rem; font-size: 0.85rem; color: var(--blue-lt); font-weight: 600; letter-spacing: 0.03em; }

.contact-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.5rem; }
.contact-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(76,163,221,0.25); cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
.contact-gallery img:hover { transform: scale(1.03); border-color: var(--blue-lt); }

/* ── Sous-header des pages internes ── */
.page-hero {
  position: relative; padding: 9rem clamp(1.1rem,6vw,4rem) 4rem;
  background: radial-gradient(120% 120% at 70% 10%, var(--mid-2) 0%, var(--mid) 60%, #0c0f1c 100%);
  overflow: hidden;
}
.page-hero .hero-grid-bg { position: absolute; inset: 0; }
.page-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.breadcrumb a { color: var(--blue-lt); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.4rem,5vw,3.8rem);
  font-weight: 800; color: #fff; line-height: 1.05; margin-bottom: 1rem;
}
.page-hero h1 .accent { color: var(--blue-lt); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.66); max-width: 600px; }

/* ── Corps de page interne ── */
.page-body { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) clamp(1.1rem,6vw,4rem); }
.page-body h2 {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.7rem,3.5vw,2.4rem);
  font-weight: 800; color: var(--dark); margin: 2.4rem 0 1rem; line-height: 1.1;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p { font-size: 1rem; color: #374151; margin-bottom: 1.1rem; }
.page-body ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.page-body ul li {
  position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; font-size: 1rem; color: #374151;
}
.page-body ul li::before {
  content: '⚡'; position: absolute; left: 0; color: var(--blue); font-size: 0.95rem;
}
.page-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.page-aside {
  background: var(--light); border: 1px solid var(--line); border-radius: 12px; padding: 1.8rem;
  position: sticky; top: 90px;
}
.page-aside h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.8rem;
}
.page-aside .btn-primary { width: 100%; justify-content: center; margin-top: 0.5rem; }
.aside-contact { font-size: 0.92rem; color: var(--grey); margin-top: 1.2rem; line-height: 1.8; }
.aside-contact a { color: var(--blue); text-decoration: none; font-weight: 600; }

/* autres prestations (cross-links bas de page) */
.other-services { background: var(--light); padding: clamp(3rem,5vw,4rem) clamp(1.1rem,6vw,4rem); }
.other-services-grid {
  max-width: var(--maxw); margin: 1.5rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem;
}
.other-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; text-decoration: none; display: flex; align-items: center; gap: 0.9rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.other-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(27,111,191,0.12); }
.other-card .oc-ic { font-size: 1.4rem; }
.other-card .oc-tx { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); }

/* le service-card devient cliquable */
a.service-card { text-decoration: none; display: block; }
.service-more { display: inline-block; margin-top: 1rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); }
.service-card:hover .service-more { color: var(--blue-lt); }

/* ── SECTION DANGER (accueil) ── */
#danger { position: relative; background: linear-gradient(135deg, #1a1410 0%, #0d0d0d 100%); overflow: hidden; color: #fff; }
.danger-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -10%; right: -5%; background: radial-gradient(circle, rgba(220,70,40,0.22) 0%, transparent 70%); pointer-events: none; }
#danger .sec-head { position: relative; z-index: 2; }
#danger .section-label { color: #FF7849; }
#danger .section-title { color: #fff; }
#danger .section-sub { color: rgba(255,255,255,0.6); }
.danger-grid { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.3rem; }
.danger-stat { text-align: center; padding: 1.8rem 1.2rem; border: 1px solid rgba(255,120,73,0.25); border-radius: 12px; background: rgba(255,120,73,0.04); }
.danger-stat .ds-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.8rem; font-weight: 800; color: #FF7849; line-height: 1; }
.danger-stat .ds-lb { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-top: 0.5rem; }
.danger-cta { position: relative; z-index: 2; text-align: center; margin-top: 2.6rem; }
.btn-danger {
  display: inline-flex; align-items: center; gap: 0.5rem; background: #E8543A; color: #fff;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 7px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(232,84,58,0.35); transition: background 0.2s, transform 0.2s;
}
.btn-danger:hover { background: #FF7849; transform: translateY(-2px); }

/* ── PAGE DANGER : signes, avant/après ── */
.warn-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1.2rem; margin: 1.5rem 0 2.5rem; }
.warn-item { border-left: 3px solid #E8543A; background: #FFF7F5; border-radius: 0 8px 8px 0; padding: 1.2rem 1.4rem; }
.warn-item h4 { font-family: 'Barlow Condensed',sans-serif; font-size: 1.1rem; font-weight: 700; color: #B23A22; margin-bottom: 0.3rem; }
.warn-item p { font-size: 0.9rem; color: #6B4A42; margin: 0; }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0 2.5rem; }
.ba-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ba-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--light); }
.ba-card .ba-label { padding: 0.7rem 1rem; font-weight: 700; font-size: 0.85rem; }
.ba-bad .ba-label { background: #FDECEA; color: #B23A22; }
.ba-good .ba-label { background: #E7F6EC; color: #1B7A3D; }
.danger-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1rem; margin: 1.5rem 0; }
.danger-photo { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.danger-photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-note {
  display: grid; place-items: center; height: 100%; background: repeating-linear-gradient(45deg,#f3f4f6,#f3f4f6 10px,#eceef1 10px,#eceef1 20px);
  color: var(--grey); font-size: 0.8rem; text-align: center; padding: 1rem;
}

@media (max-width: 860px) {
  .page-split { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .beforeafter { grid-template-columns: 1fr; }
}

/* fix : danger-stat sur fond clair (page dangers) */
.page-body .danger-stat { background:#FFF5F2; border-color:rgba(232,84,58,0.25); }
.page-body .danger-stat .ds-lb { color:#7a5048; }

/* légendes des photos de sinistre */
.danger-photo-fig { margin: 0; }
.danger-photo-fig figcaption { font-size: 0.82rem; color: #6B4A42; margin-top: 0.5rem; font-weight: 500; }
.danger-photos { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); align-items: start; }

/* photo incendie pleine largeur */
.fire-photo { margin: 1.5rem 0 2rem; }
.fire-photo img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.fire-photo figcaption { font-size: 0.88rem; color: #6B4A42; margin-top: 0.7rem; font-style: italic; }

/* cases à cocher travaux complémentaires */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.15rem 0.9rem; }
.checkbox-item {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: #374151;
  text-transform: none; letter-spacing: 0; font-weight: 400; cursor: pointer; padding: 0.15rem 0;
}
.checkbox-item input { width: auto; margin: 0; accent-color: var(--blue); width: 16px; height: 16px; cursor: pointer; }

/* placeholders galerie pages complémentaires (si photo absente) */
.gallery-item .gallery-ph { display: none; }
.gallery-item.gallery-empty { background: repeating-linear-gradient(45deg,#f3f4f6,#f3f4f6 10px,#eceef1 10px,#eceef1 20px); }
.gallery-item.gallery-empty .gallery-ph {
  display: grid; place-items: center; width: 100%; height: 100%; position: absolute; inset: 0;
  color: var(--grey); font-size: 0.8rem; text-align: center; padding: 1rem;
}

/* grille catégories cliquables (page travaux) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 0.8rem; margin: 1.2rem 0 2rem; }
.cat-card {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; text-decoration: none;
  background: var(--light); border: 1px solid var(--line); border-radius: 9px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--dark);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27,111,191,0.12); }
.cat-card .cat-ic { font-size: 1.3rem; }

/* ── Bloc large : travaux complémentaires & partenariats ── */
.service-wide {
  max-width: var(--maxw); margin: 1.4rem auto 0; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: 1.8rem; align-items: center;
  background: linear-gradient(135deg, #fff 0%, var(--light) 100%);
  border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 1.8rem 2rem; text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.service-wide:hover { box-shadow: 0 16px 44px rgba(27,111,191,0.14); border-left-color: var(--blue-lt); }
.service-wide-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.service-wide-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0; }
.service-wide-icon {
  font-size: 1.7rem; width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(27,111,191,0.10), rgba(76,163,221,0.10));
}
.service-wide-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--dark); line-height: 1.1; margin-bottom: 0.35rem;
}
.service-wide-sub { font-size: 0.95rem; color: var(--grey); }
.service-wide .service-more { margin-top: 0; }

.service-wide-trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.service-wide-trades .trade {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center;
  text-decoration: none; color: var(--dark);
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 0.8rem 0.4rem;
  font-size: 0.78rem; font-weight: 600; color: var(--dark);
  transition: border-color 0.2s, transform 0.2s;
}
.service-wide-trades .trade:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--blue); }
.service-wide:hover .trade { border-color: rgba(27,111,191,0.25); }
.service-wide-trades .trade-ic { font-size: 1.5rem; }

@media (max-width: 860px) {
  .service-wide { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 520px) {
  .service-wide-trades { grid-template-columns: repeat(2, 1fr); }
}

/* bande confidentialité / anti-spam */
.privacy-note {
  display: flex; align-items: center; gap: 0.75rem; margin: 0.4rem 0 1rem;
  background: #E7F6EC; border: 1px solid #A8E0BC; border-radius: 9px;
  padding: 0.8rem 1rem; font-size: 0.85rem; color: #1B6B3A; line-height: 1.45;
}
.privacy-note svg { flex-shrink: 0; color: #1B7A3D; }
.privacy-note strong { color: #14592F; }
