/* ============================================
   ROSA MÉCANIQUE — Style Shiftech-Inspired
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --dark-1: #111111;
  --dark-2: #141414;
  --dark-3: #1a1a1a;
  --dark-4: #1e1e1e;
  --dark-5: #252525;
  --red: #e50000;
  --red-hover: #ff2b2b;
  --red-dark: #b30000;
  --white: #ffffff;
  --gray-100: #f0f0f0;
  --gray-200: #d0d0d0;
  --gray-300: #a0a0a0;
  --gray-400: #707070;
  --gray-500: #505050;
  --font-heading: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 0, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-500);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============================================
   1. HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-text span {
  color: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--gray-200);
  transition: var(--transition);
}

.header-phone:hover {
  color: var(--red);
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.btn-devis {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  position: absolute;
  left: 0;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ============================================
   2. HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.75) 50%,
    rgba(10, 10, 10, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding-top: 80px;
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--red);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--gray-200);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-desc {
  color: var(--gray-300);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Services Express banner */
.hero-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-200);
}

.banner-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

/* ============================================
   3. SERVICES — Bento Grid
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--dark-1);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-desc {
  margin: 0 auto;
}

/* Bento grid layout */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

/* --- Base card --- */
.svc-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 0, 0, 0.5);
  border-left-color: var(--red);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* Big faded number */
.svc-card__num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

/* Card body */
.svc-card__body {
  position: relative;
  z-index: 1;
}

.svc-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--white);
}

/* Bullet list with red dots */
.svc-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-card__list li {
  position: relative;
  padding-left: 16px;
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
}

.svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* --- Hero card (01 — Entretien, spans 2 cols + 2 rows) --- */
.svc-card--hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  padding: 0;
  border-left: none;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.svc-card--hero .svc-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.svc-card--hero .svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.6) 45%,
    rgba(10, 10, 10, 0.25) 100%
  );
  z-index: 0;
}

.svc-card--hero .svc-card__body {
  padding: 36px 32px;
  width: 100%;
}

.svc-card--hero .svc-card__title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.svc-card--hero .svc-card__num {
  font-size: 7rem;
  top: 20px;
  right: 24px;
  color: rgba(255, 255, 255, 0.06);
}

.svc-card--hero .svc-card__list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.svc-card--hero:hover {
  border-left: none;
}

/* --- Accent card (06 — Carte Grise, red background) --- */
.svc-card--accent {
  background: var(--red);
  border: 1px solid var(--red);
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.svc-card--accent .svc-card__num {
  color: rgba(255, 255, 255, 0.12);
}

.svc-card--accent .svc-card__title {
  color: var(--white);
}

.svc-card--accent .svc-card__list li {
  color: rgba(255, 255, 255, 0.9);
}

.svc-card--accent .svc-card__list li::before {
  background: var(--white);
}

.svc-card--accent:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  border-left-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   4. ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 85%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--black);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.about-img-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(229, 0, 0, 0.4);
}

.about-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge .label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-content .section-desc {
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(229, 0, 0, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.about-feature p {
  color: var(--gray-300);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================
   5. PROCESS
   ============================================ */
.process {
  padding: 100px 0;
  background: var(--dark-1);
}

.process-header {
  text-align: center;
  margin-bottom: 70px;
}

.process-header .section-desc {
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(to right, var(--red), var(--gray-500));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: var(--dark-3);
  border: 2px solid var(--gray-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: var(--transition);
}

.process-step:hover .step-number {
  border-color: var(--red);
  color: var(--red);
  background: rgba(229, 0, 0, 0.08);
  transform: scale(1.05);
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0 8px;
}

/* ============================================
   6. GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--black);
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header .section-desc {
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

/* ============================================
   7. TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--dark-1);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-desc {
  margin: 0 auto;
}

/* Carousel wrapper with gradient fade */
.reviews-carousel {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.reviews-carousel::before,
.reviews-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.reviews-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-1) 0%, transparent 100%);
}

.reviews-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-1) 0%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 24px;
  animation: scroll-reviews 80s linear infinite;
  width: max-content;
  padding: 16px 0;
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 360px;
  min-width: 360px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(229, 0, 0, 0.4);
  transform: scale(1.07) rotate(-0.8deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.testimonial-card:nth-child(even):hover {
  transform: scale(1.07) rotate(0.8deg);
}

/* Google Rating Badge */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 10px 24px;
}

.google-rating svg:first-child {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.google-rating-stars {
  display: flex;
  gap: 2px;
}

.google-rating-stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
}

.google-rating-stars .star-partial {
  fill: #fbbf24;
  opacity: 0.5;
}

.google-rating-count {
  font-size: 0.85rem;
  color: var(--gray-300);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
  color: #fbbf24;
}

.testimonial-stars svg.star-empty {
  fill: var(--gray-500);
  opacity: 0.4;
}

.testimonial-text {
  color: var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  overflow: hidden;
  background: var(--red);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-info span {
  color: var(--gray-400);
  font-size: 0.8rem;
}

/* ============================================
   8. CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(229, 0, 0, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-item a:hover {
  color: var(--red);
}

.contact-form-wrap {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-300);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--dark-4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.contact-form-wrap .btn {
  width: 100%;
  justify-content: center;
}

.contact-form-wrap .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-status--success {
  color: #22c55e;
}

.form-status--error {
  color: var(--red);
}

/* ============================================
   9. FOOTER
   ============================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--dark-4);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 6px 0;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ============================================
   10. BLOG
   ============================================ */

/* Blog Hero */
.blog-hero {
  padding: 160px 0 60px;
  background: var(--dark-1);
  text-align: center;
}

/* Blog Listing Grid */
.blog-listing {
  padding: 60px 0 100px;
  background: var(--dark-1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 0, 0, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.blog-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--dark-3) 0%, rgba(229, 0, 0, 0.08) 100%);
  border-left: 3px solid var(--red);
}

.blog-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.blog-card__tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--white);
}

.blog-card--featured .blog-card__title {
  font-size: 1.5rem;
}

.blog-card__excerpt {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-card__footer time {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.blog-card__read {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  transition: var(--transition);
}

.blog-card:hover .blog-card__read {
  color: var(--red-hover);
}

/* Blog CTA Section */
.blog-cta-section {
  padding: 80px 0;
  background: var(--black);
}

/* Blog Article Page */
.blog-article {
  padding: 120px 0 80px;
  background: var(--dark-1);
}

.blog-article__breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.blog-article__breadcrumb a {
  color: var(--gray-400);
  transition: var(--transition);
}

.blog-article__breadcrumb a:hover {
  color: var(--red);
}

.blog-article__breadcrumb span {
  color: var(--gray-300);
}

.blog-article__content {
  max-width: 760px;
  margin: 0 auto;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.blog-article__tag {
  background: rgba(229, 0, 0, 0.15);
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
}

.blog-article__meta time {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.blog-article__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.blog-article__intro {
  font-size: 1.1rem;
  color: var(--gray-200);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article__content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}

.blog-article__content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 10px;
}

.blog-article__content p {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-article__content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.blog-article__content ul li {
  position: relative;
  padding-left: 20px;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.blog-article__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.blog-article__content strong {
  color: var(--white);
  font-weight: 600;
}

/* Blog Article CTA */
.blog-article__cta {
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(229, 0, 0, 0.1) 0%, var(--dark-3) 100%);
  border: 1px solid rgba(229, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}

.blog-article__cta h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border: none;
  padding: 0;
}

.blog-article__cta p {
  color: var(--gray-300);
  margin-bottom: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .svc-card--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .btn-devis.desktop-only {
    display: none;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-banner-inner {
    gap: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 16px 24px;
  }

  .banner-item {
    white-space: nowrap;
    font-size: 0.75rem;
  }

  .services-bento {
    grid-template-columns: 1fr;
  }

  .svc-card--hero {
    grid-column: 1;
    min-height: 280px;
  }

  .svc-card--hero .svc-card__list {
    flex-direction: column;
    gap: 8px;
  }

  .svc-card--hero .svc-card__title {
    font-size: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    order: -1;
  }

  .about-img-main {
    width: 100%;
  }

  .about-img-secondary {
    width: 50%;
    bottom: -20px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .testimonial-card {
    width: 300px;
    min-width: 300px;
    padding: 24px;
  }

  .reviews-carousel::before,
  .reviews-carousel::after {
    width: 60px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card--featured {
    grid-column: 1;
  }

  .blog-hero {
    padding: 130px 0 40px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}
