/* =============================================
   RESET & VARIABLES
============================================= */

:root {
  --anthracite-soft: #444444;
  --gray-mid: #999;
}

body {
  background: var(--white);
}

a {
  color: inherit;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  gap: 8px;
  white-space: nowrap;
}

.btn-fuchsia {
  color: var(--white);
}

.btn-outline-fuchsia:hover {
  color: white;
}

.btn-dark {
  background: var(--anthracite);
  color: var(--white);
  border-color: var(--anthracite);
}
.btn-dark:hover { background: #111; }

/* =============================================
   HEADER
============================================= */
.main-nav {
  gap: 0;
}

.dropdown a {
  font-size: 13px;
  font-weight: 400;
}

.header-cta {
  flex-shrink: 0;
}

/* Mobile nav overlay */
.mobile-nav {
  gap: 0;
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--anthracite);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1f 0%, #2b2b2b 100%);
  z-index: 0;
}

/* Placeholder visuel — remplacer par <img> avec photo réelle */
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-img-placeholder::after {
  content: '[ Photo escalier plein écran ]';
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.12);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 45%, rgba(0,0,0,0.15) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-bottom: 5rem;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fuchsia);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 680px;
}
.hero-title em {
  color: var(--fuchsia-light);
  font-style: normal;
}

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(1.3); }
}

/* =============================================
   STATS STRIP
============================================= */
.stats-strip {
  background: var(--white);
  border-bottom: 2px solid var(--light-warm);
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--fuchsia);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--anthracite);
}

.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* =============================================
   SERVICES 3 COLONNES
============================================= */
.services-section {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--fuchsia);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--anthracite);
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   GAMMES
============================================= */
.gammes-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.gammes-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.gammes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.gammes-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fuchsia);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.gammes-link:hover { gap: 10px; }

.gammes-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gamme-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--anthracite);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  transition: transform var(--transition);
}
.gamme-card:hover { transform: scale(1.015); }
.gamme-card:hover .gamme-overlay { opacity: 0.85; }

.gamme-card--featured { grid-column: span 6; min-height: 360px; }
.gamme-card--md { grid-column: span 3; }
.gamme-card--sm { grid-column: span 3; }

.gamme-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #383840 0%, #2b2b2b 100%);
}

/* Vraie image : class="gamme-img" sur chaque <img> */
.gamme-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.gamme-card:hover .gamme-img { transform: scale(1.04); }

.gamme-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 55%);
  transition: opacity var(--transition);
}

.gamme-info {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
}

.gamme-tag {
  display: inline-block;
  background: var(--fuchsia);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 7px;
}

.gamme-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  line-height: 1;
}
.gamme-card--featured .gamme-name { font-size: 30px; }
.gamme-card--md .gamme-name { font-size: 20px; }
.gamme-card--sm .gamme-name { font-size: 18px; }

.gamme-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 500;
  margin-top: 8px;
  transition: color var(--transition), gap var(--transition);
}
.gamme-card:hover .gamme-arrow { color: white; gap: 10px; }

/* =============================================
   AVANTAGES
============================================= */
.avantages-section {
  background: var(--light-warm);
  padding: 5rem 2rem;
}

.avantages-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.avantages-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.avantages-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.avantage-item:last-child { border-bottom: none; }

.avantage-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuchsia);
  margin-top: 7px;
}

.avantage-content {}

.avantage-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 3px;
}

.avantage-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   AVIS CLIENTS — DÉFILEMENT
============================================= */
.avis-section {
  background: var(--anthracite);
  padding: 5rem 0;
  overflow: hidden;
}

.avis-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.avis-score-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--fuchsia);
  padding: 14px 24px;
  border-radius: var(--radius);
}
.avis-score-badge .note {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.avis-score-badge .stars-count {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.avis-score-badge .stars { color: #FFD700; font-size: 14px; letter-spacing: 2px; }
.avis-score-badge .count { font-size: 11px; color: rgba(255,255,255,0.8); }

.avis-card {
  flex-shrink: 0;
  width: 300px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1.5rem;
}

.avis-card-stars { color: #FFD700; font-size: 13px; letter-spacing: 2px; margin-bottom: 0.75rem; }
.avis-card-text {
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.avis-card-author {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* =============================================
   SHOWROOM + DEVIS SPLIT
============================================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.showroom-block {
  background: var(--white);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showroom-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.showroom-detail { display: flex; flex-direction: column; gap: 2px; }
.showroom-detail strong { font-size: 15px; font-weight: 600; color: var(--anthracite); }
.showroom-detail span { font-size: 12px; color: var(--text-muted); }

.devis-block {
  background: var(--fuchsia);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: white;
}
.devis-block .section-subtitle { color: rgba(255,255,255,0.75); }

/* =============================================
   FAQ / ACCORDÉONS SEO
============================================= */
.faq-section {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* =============================================
   BANDEAU CTA
============================================= */
.cta-banner {
  padding: 4rem 2rem;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
}

.btn-white {
  color: var(--fuchsia);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .gamme-card--featured { grid-column: span 12; }
  .gamme-card--md { grid-column: span 6; }
  .gamme-card--sm { grid-column: span 6; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .avantages-inner { gap: 2rem; }
}

@media (max-width: 768px) {

  .hero { min-height: 75vh; }
  .hero-content { padding: 0 1.25rem; padding-bottom: 3.5rem; padding-top: 4rem; }
  .hero-scroll { display: none; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid { grid-template-columns: 1fr; }

  .gammes-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gamme-card--featured, .gamme-card--md, .gamme-card--sm { grid-column: span 1; min-height: 200px; }
  .gamme-card--featured { grid-column: span 2; }

  .avantages-inner { grid-template-columns: 1fr; }
  .avantages-image { display: none; }

  .split-section { grid-template-columns: 1fr; }
  .showroom-block, .devis-block { padding: 3rem 1.5rem; }

}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-number { font-size: 30px; }

  .gammes-grid { grid-template-columns: 1fr; }
  .gamme-card--featured, .gamme-card--md, .gamme-card--sm { grid-column: span 1; }

  .cta-banner-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
