/* =============================================
   LUMIPRO SERVICES — Site vitrine
   Charte ENSEIGNE : anthracite profond + orange #EC6607
   Typo : Montserrat ExtraBold capitales (titres) + Inter (texte)
   NB : les variables --gris-dark / --gris / --gris-light sont
   réaffectées au thème sombre (texte clair / panneaux) pour que
   les styles inline des pages suivent automatiquement.
   ============================================= */

:root {
  --orange: #EC6607;
  --orange-dark: #FF7C22;            /* hover : plus lumineux sur fond sombre */
  --orange-light: rgba(236,102,7,.14);
  --gris: #ABA8A1;                   /* texte secondaire */
  --gris-dark: #F2F0EC;              /* texte principal (clair) */
  --gris-light: #201F1D;             /* panneaux / fonds de section */
  --gris-line: rgba(255,255,255,.10);
  --blanc: #FFFFFF;
  --bg: #161513;                     /* fond global anthracite */
  --bg-deep: #121110;                /* footer / bandeaux profonds */
  --panel: #201F1D;                  /* cartes */
  --shadow: 0 6px 28px rgba(0,0,0,.45);
  --shadow-strong: 0 14px 48px rgba(0,0,0,.6);
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 12px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gris-dark);
  background:
    radial-gradient(120% 60% at 50% 0%, #232220 0%, var(--bg) 55%, var(--bg-deep) 100%) fixed,
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
::selection { background: var(--orange); color: #fff; }

/* =================== TYPOGRAPHIE (esprit enseigne) =================== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--gris-dark);
}
h1 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.35rem, 2.8vw, 2.05rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.em { color: var(--orange); font-style: normal; }

/* =================== LAYOUT =================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 84px 0; }
@media (max-width: 768px) { section { padding: 52px 0; } }

/* =================== HEADER =================== */
.header {
  position: sticky;
  top: 0;
  background: rgba(16,15,14,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.5); background: rgba(16,15,14,0.96); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 32px;
}
.logo-link img { height: 52px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav a {
  display: block;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gris-dark);
  border-radius: var(--r-sm);
  transition: all var(--transition);
}
.nav a:hover { color: var(--orange); background: var(--orange-light); }
.nav a.active { color: var(--orange); font-weight: 700; }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 0.7em;
  opacity: 0.6;
}
.nav .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1E1D1B;
  border-radius: var(--r-md);
  padding: 10px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,.10);
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  list-style: none;
}
.nav .has-sub:hover .submenu,
.nav .has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .submenu li { display: block; }
.nav .submenu a { padding: 10px 14px; border-radius: var(--r-sm); display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.nav .submenu a:hover { background: var(--orange-light); }
.nav .submenu .icon { font-size: 1.2em; }

.cta-header {
  background: var(--orange);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition);
  white-space: nowrap;
}
.cta-header:hover { background: var(--orange-dark) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(236,102,7,.4); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gris-dark);
  padding: 8px;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-wrap {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-wrap.open { transform: translateX(0); }
  .nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 14px 20px; border-radius: var(--r-sm); }
  .nav .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    background: transparent;
  }
  .cta-header { display: block; text-align: center; margin-top: 16px; }
}

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,15,14,.72) 0%, rgba(16,15,14,.28) 42%, rgba(10,9,8,.92) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.6vw, 4.1rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero h1 .em { color: var(--orange); }
.hero p.lead {
  font-size: 1.14rem;
  margin-bottom: 2rem;
  opacity: 0.92;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(236,102,7,0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }

/* Badge garantie hero */
.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: var(--orange);
  color: #fff;
  padding: 18px 26px;
  border-radius: var(--r-md);
  z-index: 2;
  text-align: center;
  box-shadow: 0 14px 40px rgba(236,102,7,.35);
}
.hero-badge .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}
.hero-badge .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .hero-badge { bottom: 16px; right: 16px; padding: 12px 16px; }
  .hero-badge .num { font-size: 1.75rem; }
}

/* =================== SECTIONS =================== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head p {
  font-size: 1.08rem;
  color: var(--gris);
  margin-top: 14px;
}

.section-dark {
  background: var(--bg-deep);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--orange); }

/* Panneau alterné (ex-crème) : anthracite légèrement plus clair, liseré orange */
.section-cream {
  background: linear-gradient(180deg, #1D1C1A 0%, #191816 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* =================== GRILLE PRODUITS =================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(236,102,7,.55);
}
.product-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0f0e0d;
}
.product-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .img img { transform: scale(1.05); }
.product-card .body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--orange);
}
.product-card h3 { margin-bottom: 10px; font-size: 1.02rem; letter-spacing: .05em; }
.product-card p { color: var(--gris); margin-bottom: 16px; flex: 1; font-size: .95rem; }
.product-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--orange);
  font-size: 0.82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card .link::after { content: '→'; transition: transform var(--transition); }
.product-card:hover .link::after { transform: translateX(4px); }
.product-card .badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  width: fit-content;
}

/* =================== COMMITMENTS =================== */
.commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.commit {
  text-align: center;
  padding: 30px 22px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
}
.commit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(236,102,7,.4);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.commit h3 { margin-bottom: 8px; font-size: 0.98rem; }
.commit p { color: var(--gris); font-size: 0.93rem; }

/* =================== GALERIE RÉALISATIONS =================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.07);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 16px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.85) 100%);
  color: #fff;
}
.gallery-item .caption .tag {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}
.gallery-item .caption .loc {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 2px;
}

/* =================== CTA BAND =================== */
.cta-band {
  position: relative;
  background: radial-gradient(120% 130% at 50% 0%, #2A2926 0%, #171614 55%, var(--bg-deep) 100%);
  border-top: 2px solid var(--orange);
  color: #fff;
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.cta-band h2 .em { color: var(--orange); }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 1.12rem; margin: 18px 0 34px; }

/* =================== FOOTER =================== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(242,240,236,0.7);
  padding: 64px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(242,240,236,0.7); }
.footer ul a:hover { color: var(--orange); }
.footer .brand img { height: 54px; margin-bottom: 16px; }
.footer .brand p { font-size: 0.92rem; line-height: 1.6; max-width: 320px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(242,240,236,0.45);
}

/* =================== PAGE INTERIEURE — Hero produit =================== */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  margin-bottom: 60px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,15,14,.62) 0%, rgba(10,9,8,.82) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; padding: 80px 24px; }
.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  margin-bottom: 16px;
  text-shadow: 0 4px 26px rgba(0,0,0,.5);
}
.page-hero p {
  font-size: 1.12rem;
  max-width: 640px;
  opacity: 0.93;
}

/* =================== PROSE (texte article) =================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gris-dark);
}
.prose p { margin-bottom: 1.25em; }
.prose h2 { margin-top: 2em; margin-bottom: 0.5em; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.5em; }
.prose ul { padding-left: 1.5em; margin-bottom: 1.25em; }
.prose ul li { margin-bottom: 0.5em; }
.prose ul li::marker { color: var(--orange); }
.prose strong { color: #fff; font-weight: 700; }

/* =================== SPLIT (texte + image) =================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse { direction: ltr; }
}
.split img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =================== SPECS PRODUIT =================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 40px 0;
}
.spec-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color var(--transition);
}
.spec-card:hover { border-color: rgba(236,102,7,.45); }
.spec-card .icon {
  width: 40px;
  height: 40px;
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(236,102,7,.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 900;
}
.spec-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 6px;
}
.spec-card p { font-weight: 600; color: var(--gris-dark); font-size: 1rem; }

/* =================== FORMULAIRE DEVIS =================== */
.form-devis {
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  margin-bottom: 20px;
}
.form-row.split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .form-row.split2 { grid-template-columns: 1fr; }
}
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--gris-dark);
}
.form-row .req { color: var(--orange); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: #141312;
  color: var(--gris-dark);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(242,240,236,.35); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(236,102,7,0.2);
}
.form-row select option { background: #201F1D; color: var(--gris-dark); }
.form-row textarea { resize: vertical; min-height: 120px; }

.checkbox-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
  font-size: 0.92rem;
}
.checkbox-list label:hover { border-color: var(--orange); background: var(--orange-light); }
.checkbox-list input { accent-color: var(--orange); }

.form-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.85rem;
  color: var(--gris);
  text-align: center;
}

/* =================== ANIMATIONS =================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out both; }
.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }

/* =================== UTILS =================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
