:root {
  --bg: #ffffff;
  --card: #f9f5f0;
  --muted: #555555;
  --accent: #ff6b2b;
  --accent-2: #ff9b4a;
  --glass: rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --maxw: 1100px;
  --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* Reset & Global */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: var(--ff);
  background: var(--bg);
  color: #222;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}
.wrap { width: 100%; max-width: var(--maxw); }

/* Header fixe */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg);
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
main { margin-top: 88px; }

/* Brand / Logo */
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}
.logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand h1 { margin: 0; font-size: 18px; letter-spacing: 0.2px; }

/* Navigation */
nav { display: flex; gap: 18px; align-items: center; }
nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
nav a:hover::after { width: 60%; }

/* Boutons */
.btn {
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn.ghost {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--muted);
  background: transparent;
}
.btn.ghost:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.5);
  transform: translateY(-2px);
}
.cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}
.hero-left {
  padding: 28px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.kicker {
  display: inline-block;
  background: var(--glass);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.hero-left h2 { margin: 18px 0 8px; font-size: 34px; }
.hero-left p { color: var(--muted); margin: 0 0 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quick Facts */
.facts { display: flex; gap: 12px; margin-top: 18px; }
.fact {
  background: rgba(0, 0, 0, 0.02);
  padding: 12px;
  border-radius: 12px;
  flex: 1;
  text-align: center;
}
.fact .num { font-weight: 800; font-size: 18px; }
.fact .lbl { color: var(--muted); font-size: 13px; }

/* Hero Right - Images */
.hero-right { display: flex; justify-content: flex-start; align-items: flex-start; }
.image-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start; }
.image-block {
  position: relative;
  width: 200px;
  height: 196px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: default;
}
.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 0;
  font-size: 14px;
  border-radius: 0 0 12px 12px;
}

/* Sections */
.section { margin-top: 28px; }

/* Grid 3 colonnes */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.service:hover { transform: translateY(-4px); }
.service h3 { margin: 0 0 8px; color: var(--accent); }
.service p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}
.tile {
  position: relative;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  transition: none;
  transform: none;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
}
.tile:hover { transform: none; }
.center-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 24px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  text-transform: uppercase;
  width: 70%;
  max-width: 200px;
  text-align: center;
  transition: 0.3s ease;
}
.center-button:hover {
  background: var(--accent);
  color: #fff;
}
.bottom-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 8px 0;
  font-size: 0.9em;
  text-align: center;
}

/* Nous Connaître */
.nous-connaitre {
  padding: 60px 0;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}
.nous-connaitre-container {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nous-connaitre-image { flex: 1; overflow: visible; }
.nous-connaitre-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 14px;
  margin: -20px 0;
}
.nous-connaitre-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.small-title {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 13px;
}
.main-title { font-size: 28px; margin-bottom: 16px; line-height: 1.3; }
.description { font-size: 15px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.btn-en-savoir-plus {
  display: inline-block;
  padding: 10px 20px;
  width: max-content;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
}
.btn-en-savoir-plus:hover { background-color: #ff7f50; }

/* Carousel */
.carousel-wrapper { width: 100%; max-width: var(--maxw); margin: auto; position: relative; }
.carousel-container { overflow: hidden; width: 100%; }
.carousel-track { display: flex; gap: 20px; transition: transform 0.5s ease; }
.carousel-card {
  background: var(--card);
  border-radius: var(--radius);
  flex: 0 0 calc((100% - 20px * 4) / 4.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}
.carousel-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.carousel-card-content { padding: 16px; min-height: 120px; }
.carousel-card h3 { margin: 10px 0 6px; color: var(--accent); }
.carousel-card p { font-size: 0.9rem; color: var(--muted); }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: orange;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  opacity: 0.8;
}
.carousel-btn:hover { opacity: 1; }
.carousel-btn.prev { left: -60px; }
.carousel-btn.next { right: -60px; }

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}
.lightbox.active img { transform: scale(1); }

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  font-family: Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 40px 20px 20px 20px;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-section { flex: 1; min-width: 200px; }
.footer-section h3 { margin-bottom: 15px; font-size: 18px; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { margin-bottom: 10px; font-size: 14px; }
.contact-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #ff6d33;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}
.contact-button:hover { background-color: #e65a1a; text-decoration: none; }
.social-section { text-align: right; }
.social-icons { display: flex; justify-content: flex-end; gap: 15px; margin-top: 10px; }
.social-icons a svg { fill: #ff6d33; transition: fill 0.3s; }
.social-icons a:hover svg { fill: #e65a1a; }
.avis-clients { margin-top: 20px; text-align: right; font-size: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.client-review { display: flex; align-items: center; gap: 8px; }
.client-review svg { fill: #ff6d33; }
.footer-separator { border: 0; height: 1px; background-color: #444; margin: 25px 0; }
.footer-bottom { display: flex; justify-content: center; align-items: center; max-width: 1600px; margin: 0 auto; padding: 0 40px; font-size: 14px; white-space: nowrap; }
.footer-bottom .footer-item { display: inline-block; margin: 0 40px; color: #ddd; }
.footer-bottom .footer-item a { color: #ddd; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-container { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .social-section, .avis-clients { text-align: center; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right .image-grid { gap: 14px; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 8px; }
}
@media (max-width: 900px) {
  .nous-connaitre-container { flex-direction: column-reverse; gap: 20px; max-width: 90%; }
  .main-title { font-size: 24px; }
  .description { font-size: 14px; }
  .nous-connaitre-image img { height: 300px; margin: -15px 0; }
}
@media (max-width: 700px) {
  .carousel-card { flex: 0 0 50%; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-left h2 { font-size: 26px; }
  nav { display: none; }
}
@media (max-width: 500px) {
  .carousel-card { flex: 0 0 100%; }
}
