:root {
  --green: #2f7d4a;
  --green-dark: #1f5a34;
  --green-soft: #e8f3ec;
  --ink: #17211b;
  --muted: #5a6760;
  --line: #dfe6e1;
  --bg: #ffffff;
  --bg-alt: #f6f8f6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 33, 27, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.hidden { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--green);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn--small { padding: .5em 1.1em; font-size: .95rem; }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .55em; color: var(--green); text-decoration: none; font-size: 1.15rem; }
.logo span { color: var(--ink); }
.logo strong { color: var(--green); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--green); }
.nav .btn { color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  background:
    radial-gradient(circle at 85% 20%, var(--green-soft) 0, transparent 45%),
    var(--bg);
}
.eyebrow { color: var(--green); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; color: var(--muted); font-size: .95rem; }
.hero__points li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: .45em; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__intro { color: var(--muted); max-width: 62ch; margin-bottom: 2.5rem; }

/* Offers */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  background: #fff;
}
.card--featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -.8rem; left: 1.6rem;
  background: var(--green); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .2em .8em; border-radius: 999px; margin: 0;
}
.price { font-size: 2rem; font-weight: 700; color: var(--ink); margin: .2em 0 .5em; letter-spacing: -.02em; }
.price span { font-size: .9rem; font-weight: 500; color: var(--muted); margin-right: .25em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.card > p:not(.price):not(.badge) { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; font-size: .96rem; }
.checks li { padding-left: 1.6em; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.maintenance {
  margin-top: 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.maintenance h3 { margin-bottom: .3em; }
.maintenance p { margin: 0; color: var(--muted); }
.price--inline { margin: 0; white-space: nowrap; color: var(--ink) !important; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.project { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project__visual {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.25rem; text-align: center; padding: 1rem;
}
.project__visual--1 { background: linear-gradient(135deg, #8a4b2a, #c98b4f); }
.project__visual--2 { background: linear-gradient(135deg, #3d4a3f, #7a8f6e); }
.project__visual--3 { background: linear-gradient(135deg, #2f7d4a, #6cb38a); }
.project__body { padding: 1.3rem 1.4rem 1.5rem; }
.project__body p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--green-dark); background: var(--green-soft); padding: .15em .7em; border-radius: 999px; margin-bottom: .7em; }
.note { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; font-style: italic; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: none; }
.step { padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--bg-alt); }
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; margin-bottom: 1rem;
}
.step p { color: var(--muted); margin: 0; }

/* Contact */
.section--dark { background: var(--ink); color: #e9efeb; }
.section--dark .eyebrow { color: #7fd09d; }
.section--dark h2 { color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__text p { color: #b8c4bc; }
.socials { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; gap: 1.2rem; }
.socials a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid #7fd09d; padding-bottom: 2px; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea {
  font: inherit; font-weight: 400;
  padding: .75em .9em;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-alt);
  width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; background: #fff; }
.form textarea { resize: vertical; }

/* Footer */
.footer { padding: 1.6rem 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: var(--muted); }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.thanks p { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .cards, .projects, .steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 2rem; }
  .cards { gap: 1.8rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .maintenance { flex-direction: column; align-items: flex-start; }
}

/* Offre unique */
.offer {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center;
  border: 2px solid var(--green); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem); background: #fff; box-shadow: var(--shadow);
}
.badge--static { position: static; display: inline-block; margin-bottom: 1rem; }
.offer .price { font-size: 2.8rem; }
.offer__sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.offer__list { margin: 0; gap: .8rem; font-size: 1rem; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; gap: 1.8rem; } }
