:root {
  --green: #83ec00;
  --green-dark: #5fb800;
  --orange: #ff5d00;
  --dark: #14170f;
  --dark-2: #1e2216;
  --dark-3: #262b1c;
  --text: #1c1f1a;
  --muted: #5b6157;
  --bg: #ffffff;
  --bg-alt: #f6f8f3;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 93, 0, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--dark);
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; text-align: center; }

.eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.section-sub { color: var(--muted); margin-bottom: 40px; font-size: 1.05rem; max-width: 60ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--green);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.brand-logo { height: 52px; display: block; }
.nav {
  display: flex;
  gap: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a { text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--orange); border-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 840px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 3px solid var(--green);
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid #eee; width: 100%; }
  .nav-toggle { display: block; }
  .header-actions .btn-outline.nav-phone { display: none; }
}

/* ---------- Hero (image) ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,7,0.75) 0%, rgba(10,12,7,0.55) 45%, rgba(10,12,7,0.9) 100%);
  z-index: -1;
}
.hero-inner { max-width: 680px; }
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero-sub {
  color: #e6e9df;
  font-size: 1.15rem;
  max-width: 50ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: #fff; }

.page-hero {
  padding: 70px 0;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { color: #e6e9df; font-size: 1.05rem; max-width: 60ch; }

/* ---------- Pourquoi choisir ---------- */
.why { padding: 90px 0; background: var(--bg-alt); }
.why h2 { font-size: 2rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-card img { height: 180px; width: 100%; object-fit: cover; }
.why-card-body { padding: 22px 24px; }
.why-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.why-card-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Services ---------- */
.services { padding: 90px 0; }
.services.alt { background: var(--bg-alt); }
.services h2 { font-size: 2rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); }
.service-card.highlight { background: var(--dark); color: #fff; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.service-card.highlight .dot { background: var(--green); }

/* Service detail blocks (services.html) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid #ececec;
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.service-text .eyebrow { margin-bottom: 8px; }
.service-text h2 { font-size: 1.9rem; margin-bottom: 16px; }
.service-text p { color: var(--muted); font-size: 1.05rem; }
.service-text ul {
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.service-text ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.service-text ul li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .service-block.reverse .service-media { order: 0; }
  .service-media img { height: 260px; }
}

/* ---------- Autres specialites ---------- */
.specialties { padding: 70px 0 90px; background: var(--bg-alt); }
.specialties h2 { font-size: 1.6rem; }
.specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.specialty-chip {
  background: #fff;
  border: 1px solid #e2e5dc;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- A propos ---------- */
.apropos { padding: 90px 0; }
.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.apropos-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.apropos-text p { font-size: 1.08rem; color: var(--text); }
.apropos-text strong { color: var(--dark); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 20px;
  border-left: 4px solid var(--green);
}
.value-card h3 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.zones { padding: 70px 0; background: var(--dark); color: #fff; text-align: center; }
.zones h2 { font-size: 1.7rem; }
.zones p { color: #d7dbd0; max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }

@media (max-width: 860px) {
  .apropos-inner { grid-template-columns: 1fr; }
  .apropos-media img { height: 280px; }
}

/* ---------- Realisations / gallery ---------- */
.gallery-page { padding: 90px 0; }
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 40px;
}
.filter-tab {
  border: 2px solid #e2e5dc;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
}
.filter-tab.active { background: var(--dark); color: #fff; border-color: var(--dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .tag {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(20,23,15,0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}
.gallery-item.hidden { display: none; }

/* ---------- Contact ---------- */
.contact-section { padding: 90px 0; background: var(--dark); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: 2rem; }
.contact-info p { color: #d7dbd0; }
.contact-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; }
.contact-list .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--green); }

.map-wrap {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--dark-2);
  padding: 32px;
  border-radius: var(--radius);
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.quote-form .full { grid-column: 1 / -1; }
.quote-form input,
.quote-form textarea,
.quote-form select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #3a3f31;
  background: #14160f;
  color: #fff;
  font-weight: 400;
  resize: vertical;
}
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus { outline: none; border-color: var(--green); }
.quote-form button { border: none; cursor: pointer; }
.quote-form input[type="file"] {
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}
.file-hint { font-weight: 400; font-size: 0.82rem; color: #9aa190; }
.file-hint-error { color: var(--orange); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
}

/* ---------- Final CTA band ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,7,0.75), rgba(10,12,7,0.75));
  z-index: -1;
}
.cta-band h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-band p { color: #e6e9df; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e100b; color: #cfd4c8; padding: 56px 0 26px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo { height: 60px; }
.footer-tagline { color: #8a9080; font-size: 0.88rem; margin-top: 10px; max-width: 28ch; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--green); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--green); }
.footer-bottom {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #262b1c;
  font-size: 0.85rem;
  color: #6c7264;
}
.footer-bottom a { text-decoration: none; color: #6c7264; }
.footer-bottom a:hover { color: var(--green); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Simple content page (privacy) ---------- */
.content-page { padding: 80px 0; max-width: 800px; }
.content-page h1 { font-size: 2rem; }
.content-page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.content-page p, .content-page li { color: var(--muted); font-size: 1rem; }

@media (max-width: 860px) {
  .hero h1 { font-size: 2.1rem; }
}
