/* ===== Design System — AM Plaquiste 44 ===== */
:root {
  /* Palette — Ardoise + Orange chantier */
  --color-primary: #334155;
  --color-primary-dark: #1E293B;
  --color-primary-light: #475569;
  --color-accent: #EA580C;
  --color-accent-hover: #C2410C;
  --color-accent-light: rgba(234, 88, 12, 0.12);
  --color-bg: #FAFAFA;
  --color-bg-alt: #F1F5F9;
  --color-bg-dark: #0F172A;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-text-white: #F8FAFC;
  --color-border: #E2E8F0;
  --color-card: #FFFFFF;
  --color-success: #16A34A;

  /* Typographie */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Espacements */
  --section-padding: clamp(3.5rem, 8vw, 6rem) 0;
  --container-max: 1200px;
  --gap: 2rem;

  /* Effets */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 2px 12px rgba(15, 23, 42, 0.05);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-primary-dark);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { font-size: clamp(0.95rem, 1.8vw, 1.1rem); }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--color-text-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-border);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.logo span { color: var(--color-accent); }
.navbar.scrolled .logo { color: var(--color-primary-dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--color-text); }
.navbar.scrolled .nav-links a:hover { color: var(--color-accent); }
.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--color-accent-hover) !important;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all var(--transition);
}
.navbar.scrolled .menu-toggle span { background: var(--color-primary-dark); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== 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;
  object-position: center;
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(51, 65, 85, 0.65) 50%,
    rgba(15, 23, 42, 0.78) 100%
  );
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(40px) scale(0.5); }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-60px) scale(1.2); }
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 680px;
  padding-top: 6rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.3);
  color: var(--color-accent);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}
.hero h1 .accent { color: var(--color-accent); }
.hero-text {
  color: rgba(248, 250, 252, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-number .unit { font-size: 1.4rem; }
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  animation: bounce 2.5s ease-in-out infinite;
  color: rgba(255,255,255,0.5);
}
.hero-scroll svg { width: 28px; height: 28px; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ===== Section titles ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--color-text-light); }

/* ===== Section — Services ===== */
.services { padding: var(--section-padding); background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.service-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-icon {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card-body {
  padding: 2rem 1.5rem 1.5rem;
}
.service-card-body h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.service-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Section — About ===== */
.about {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--color-bg-alt);
  box-shadow: var(--shadow);
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-experience {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--color-accent);
  color: #fff;
  padding: 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.3);
}
.about-experience .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.about-experience .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-content { padding-right: 1rem; }
.about-content .section-tag { text-align: left; }
.about-content h2 { text-align: left; margin-bottom: 1.2rem; }
.about-content p { color: var(--color-text-light); margin-bottom: 1.2rem; }
.about-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.about-list li .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.about-list li .check svg { width: 14px; height: 14px; }

/* ===== Section — Stats (parallax) ===== */
.stats-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: var(--color-primary-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23475569' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number .unit {
  font-size: 0.6em;
  color: var(--color-accent);
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

/* ===== Section — Galerie / Réalisations ===== */
.gallery {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
/* Large first item */
.gallery-grid .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* ===== Section — Témoignages ===== */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.testimonial-card {
  background: var(--color-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #FBBF24;
}
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.1rem;
}
.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
}
.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.testimonial-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--color-accent-light);
  opacity: 0.6;
}
.testimonial-quote-icon svg { width: 32px; height: 32px; }

/* ===== Section — Zone d'intervention ===== */
.zone {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.zone-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.zone-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.zone-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.zone-info h2 { text-align: left; margin-bottom: 1rem; }
.zone-info p { color: var(--color-text-light); margin-bottom: 1.5rem; }
.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.zone-city {
  background: var(--color-bg-alt);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}
.zone-city:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ===== Section — CTA ===== */
.cta-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(234,88,12,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  padding: 4rem 0 2rem;
  color: rgba(248,250,252,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--color-accent); transition: color var(--transition-fast); }
.footer-bottom a:hover { color: var(--color-accent-hover); }

/* ===== Contact page ===== */
.contact-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  text-align: center;
}
.contact-hero h1 { color: #fff; margin-bottom: 1rem; }
.contact-hero p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto; }
.contact-content {
  padding: var(--section-padding);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  transition: all var(--transition);
}
.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-text h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.contact-info-text p { color: var(--color-text-light); font-size: 0.9rem; }
.contact-info-text a { color: var(--color-accent); font-weight: 500; }
.contact-form {
  background: var(--color-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== Page intérieure hero ===== */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto; }
.page-hero-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.5); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.8); }

/* ===== Galerie page ===== */
.galerie-page { padding: var(--section-padding); }
.galerie-categories {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.galerie-filter {
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.galerie-filter:hover,
.galerie-filter.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.galerie-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.galerie-full-grid .gallery-item { aspect-ratio: 4/3; }

/* ===== Services page ===== */
.services-page { padding: var(--section-padding); }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.service-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-detail-content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}
.service-detail-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.service-detail-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.service-detail-features .check-sm {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.service-detail-features .check-sm svg { width: 12px; height: 12px; }

/* ===== Engagement cards ===== */
.engagements { padding: var(--section-padding); background: var(--color-bg-alt); }
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.engagement-card {
  background: var(--color-card);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.engagement-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.engagement-icon svg { width: 26px; height: 26px; }
.engagement-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.engagement-card p { color: var(--color-text-light); font-size: 0.88rem; }

/* ===== Parallax backgrounds ===== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .nav-links.active { right: 0; }
  .nav-links a { color: rgba(255,255,255,0.85) !important; font-size: 1.1rem; }
  .nav-cta { width: 100%; text-align: center; justify-content: center; }

  .hero-content { padding-top: 5rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-secondary { position: static; width: 100%; height: 180px; border: none; margin-top: 1rem; }
  .about-experience { top: 10px; left: 10px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .zone-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-detail:nth-child(even) { direction: ltr; }
  .galerie-full-grid { grid-template-columns: repeat(2, 1fr); }
  .engagements-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .parallax-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:first-child { grid-column: span 1; }
  .galerie-full-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
}

/* ===== Prefers reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
