:root {
  --bg: #f7f3ec;
  --bg-soft: #efe8dc;
  --card: #fffaf2;
  --text: #1e1e1c;
  --muted: #6f6a61;
  --terracotta: #c86b4a;
  --terracotta-dark: #a9553a;
  --sage: #8a9a74;
  --brown: #2f2119;
  --border: rgba(30, 30, 28, 0.12);
  --shadow: 0 18px 45px rgba(47, 33, 25, 0.08);
  --shadow-hover: 0 24px 50px rgba(47, 33, 25, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* TYPOGRAPHY */
h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.04em; }
h2 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 15px; letter-spacing: -0.04em; line-height: 1.1; }
h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.03em; line-height: 1.1; }

/* HEADER */
.header { position: sticky; top: 0; z-index: 100; background: rgba(247, 243, 236, 0.9); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border); }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.04em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.9rem; font-weight: 600; }
.nav-links a:not(.btn) { opacity: 0.8; transition: opacity 0.15s ease; }
.nav-links a:not(.btn):hover { opacity: 1; }

/* BURGER */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border-radius: 8px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s ease; transform-origin: center; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 0 0 16px; background: rgba(247, 243, 236, 0.98); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border); }
.mobile-menu a { padding: 14px 20px; font-size: 1rem; font-weight: 500; color: var(--text); opacity: 0.85; transition: background 0.15s ease, opacity 0.15s ease; border-radius: 10px; margin: 0 10px; }
.mobile-menu a:hover { background: rgba(200, 107, 74, 0.08); opacity: 1; }
.mobile-menu .btn { margin: 8px 10px 0; text-align: center; opacity: 1; }
.mobile-menu.open { display: flex; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; transition: 0.2s ease; cursor: pointer; border: none; white-space: nowrap; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 20px rgba(200, 107, 74, 0.2); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 15px 25px rgba(200, 107, 74, 0.3); }
.btn-secondary { background: #fffaf2; border: 1px solid var(--terracotta); color: var(--terracotta); }
.btn-secondary:hover { background: var(--bg-soft); transform: translateY(-1px); }

/* HERO */
.hero { padding: 54px 0 18px; }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.hero p { max-width: 540px; color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: rgba(138, 154, 116, 0.18); color: #586548; font-size: 0.88rem; font-weight: 600; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { min-height: 500px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #eadfce; position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* SECTIONS */
section { padding: 80px 0; }
#realisations { padding-bottom: 40px; }
#secteurs { padding-top: 40px; }
.section-head { max-width: 700px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* FILTRES */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filter-btn { padding: 9px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-family: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.2s ease; }
.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-btn.active { background: var(--terracotta); color: #fff; border-color: var(--terracotta); box-shadow: 0 6px 16px rgba(200,107,74,0.25); }

/* SLIDER */
.slider-wrapper { position: relative; }
.horizontal-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 5px 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.horizontal-slider::-webkit-scrollbar { display: none; }

.slide-card {
  flex: 0 0 350px;
  scroll-snap-align: center;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.slide-card:hover { transform: translateY(-10px); border-color: var(--terracotta); box-shadow: var(--shadow-hover); }
.slide-img { height: 260px; background: #eadfce; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.slide-card:hover .slide-img { transform: scale(1.05); }
.slide-content { padding: 20px; }
.slide-content span { color: var(--terracotta); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.slide-content h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.slide-content p { color: var(--muted); font-size: 0.88rem; }

/* SLIDER ARROWS */
.slider-nav { position: absolute; top: 40%; width: 100%; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); z-index: 10; }
.nav-arrow { pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; background: var(--terracotta); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; transition: 0.2s ease; font-size: 1.5rem; line-height: 1; }
.nav-arrow:hover { background: var(--terracotta-dark); transform: scale(1.1); }
.arrow-left { margin-left: -25px; }
.arrow-right { margin-right: -25px; }

/* SECTORS */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.sector-card {
  background: var(--card);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sector-card:hover { transform: translateY(-8px); border-color: var(--terracotta); box-shadow: var(--shadow-hover); }
.sector-icon { font-size: 2rem; margin-bottom: 14px; color: var(--terracotta); }
.sector-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.sector-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: center; font-size: 0.93rem; font-weight: 600; }
.check-list li::before { content: "✓"; color: var(--sage); font-weight: 900; flex-shrink: 0; }

/* DARK BAND */
.dark-band { background: var(--brown); color: #fffaf2; }
.dark-band h2 { color: #fffaf2; }
.dark-band .section-head p { color: rgba(255, 250, 242, 0.75); }

/* METHODS */
.methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.method-card { background: rgba(255, 250, 242, 0.06); border: 1px solid rgba(255, 250, 242, 0.12); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; transition: background 0.2s ease; }
.method-card:hover { background: rgba(255, 250, 242, 0.1); }
.method-icon { font-size: 2rem; margin-bottom: 12px; }
.method-card h3 { font-size: 1rem; margin-bottom: 8px; color: #fffaf2; }
.method-card p { font-size: 0.88rem; color: rgba(255, 250, 242, 0.7); }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: 0.5fr 1fr; gap: 36px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; }
.step-icon { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(200, 107, 74, 0.45); background: #fffaf2; display: grid; place-items: center; margin: 0 auto 12px; font-size: 1.4rem; transition: 0.2s ease; }
.step:hover .step-icon { background: rgba(200, 107, 74, 0.06); border-color: var(--terracotta); transform: scale(1.06); }
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.82rem; }

/* ABOUT */
.about-grid { max-width: 700px; }
.about-grid p { color: rgba(255, 250, 242, 0.8); font-size: 1.05rem; margin-bottom: 16px; }
.about-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.dark-band .btn-secondary { background: transparent; border-color: rgba(255, 250, 242, 0.5); color: #fffaf2; }
.dark-band .btn-secondary:hover { background: rgba(255, 250, 242, 0.1); border-color: #fffaf2; }

/* CONTACT */
.contact { background: var(--bg-soft); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact h2 { margin-bottom: 12px; }
.contact > .container > div > p { color: var(--muted); margin-bottom: 30px; }
.trust-item { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.trust-icon { width: 45px; height: 45px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 250, 242, 0.8); border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.1rem; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 250, 242, 0.9); font-family: inherit; font-size: inherit; color: var(--text); width: 100%; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
input:focus, select:focus, textarea:focus { border-color: rgba(200, 107, 74, 0.75); box-shadow: 0 0 0 4px rgba(200, 107, 74, 0.08); }
input::placeholder, textarea::placeholder { color: rgba(111, 106, 97, 0.65); }
textarea { grid-column: span 2; min-height: 130px; resize: vertical; padding-top: 14px; }
.form-btn { grid-column: span 2; border: 0; }

/* FORM SUCCESS */
.form-success { grid-column: span 2; text-align: center; padding: 40px 20px; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(138,154,116,0.2); color: #61714f; font-size: 1.8rem; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 26px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.footer-brand { display: flex; flex-wrap: wrap; gap: 18px; align-items: baseline; }
.footer-brand strong { font-family: "Space Grotesk", sans-serif; color: var(--text); font-size: 1.35rem; letter-spacing: -0.04em; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { opacity: 0.75; transition: opacity 0.15s ease; }
.footer-links a:hover { opacity: 1; }

/* WHATSAPP */
.whatsapp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px 0 16px; height: 50px; border-radius: 999px; background: #25D366; color: #fff; font-family: inherit; font-weight: 700; font-size: 0.95rem; white-space: nowrap; margin-top: 28px; box-shadow: 0 6px 18px rgba(37,211,102,0.35); transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.whatsapp-btn:hover { transform: translateY(-2px); background: #1ebe5d; box-shadow: 0 10px 26px rgba(37,211,102,0.5); }
.whatsapp-btn svg { flex-shrink: 0; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .slider-nav { display: none; }
  .slide-card { flex: 0 0 280px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 360px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 26px, var(--max)); }
  .nav { height: 68px; }
  .logo { font-size: 1.2rem; }
  .hero { padding: 70px 0 44px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .sectors-grid, .methods-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  form { grid-template-columns: 1fr; }
  textarea, .form-btn { grid-column: span 1; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
