:root {
  --green-900: #173b2f;
  --green-700: #2c644d;
  --green-100: #e9f1eb;
  --ink: #1b2420;
  --muted: #5f6964;
  --stone: #f4f0e8;
  --clay: #b56c42;
  --gold: #d9aa55;
  --white: #ffffff;
  --line: rgba(27, 36, 32, 0.14);
  --shadow: 0 22px 60px rgba(18, 31, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--stone);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(27, 36, 32, 0.09);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 240, 232, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: min(360px, 52vw);
}

.brand-logo {
  width: min(330px, 52vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.94rem;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover {
  background: var(--green-100);
}

.header-phone {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-900);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(23, 59, 47, 0.18);
}

.mobile-call-bar {
  position: fixed;
  z-index: 30;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(23, 59, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(18, 31, 26, 0.18);
  backdrop-filter: blur(14px);
}

.mobile-call-bar a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-900);
  font-weight: 900;
}

.mobile-call-bar a:last-child {
  color: var(--green-900);
  background: var(--green-100);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 64px) 72px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/intervention-entretien-regulier.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 32, 26, 0.86) 0%, rgba(13, 32, 26, 0.55) 42%, rgba(13, 32, 26, 0.12) 100%),
    linear-gradient(0deg, rgba(13, 32, 26, 0.28), rgba(13, 32, 26, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: 4.15rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 14px 30px rgba(181, 108, 66, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.11);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-item {
  min-height: 150px;
  padding: 32px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.intro-item strong,
.intro-item span {
  display: block;
}

.intro-item strong {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 1.05rem;
}

.intro-item span {
  color: var(--muted);
}

.coverage-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
  padding: 54px clamp(20px, 5vw, 64px);
  background: var(--green-900);
  color: var(--white);
}

.coverage-band h2 {
  margin-bottom: 0;
  font-size: 2.25rem;
}

.coverage-band .eyebrow {
  color: var(--gold);
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-list span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.section {
  padding: 92px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(27, 36, 32, 0.06);
}

.service-card p {
  color: var(--muted);
}

.service-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-900);
  background: var(--green-100);
  font-weight: 900;
}

.showcase {
  background: var(--green-900);
  color: var(--white);
}

.showcase .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 390px;
  display: flex;
  align-items: end;
  border-radius: 8px;
  overflow: hidden;
  background-image:
    linear-gradient(0deg, rgba(13, 32, 26, 0.86), rgba(13, 32, 26, 0.08)),
    var(--project-image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.project-one {
  --project-image: url("assets/intervention-entretien-regulier.jpg");
}

.project-two {
  --project-image: url("assets/intervention-taille-haies.jpg");
  background-position: 50% 50%;
}

.project-three {
  --project-image: url("assets/intervention-remise-etat.jpg");
  background-position: 52% 50%;
}

.project-four {
  --project-image: url("assets/intervention-copropriete.jpg");
  background-position: 50% 50%;
}

.project-card div {
  padding: 22px;
}

.project-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 380px;
  margin-bottom: 0;
  font-size: 1.32rem;
}

.why-band {
  padding: 92px clamp(20px, 5vw, 64px);
  background: var(--stone);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.why-grid article {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
}

.why-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 1.15rem;
}

.why-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.method-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  padding: 92px clamp(20px, 5vw, 64px);
  background: var(--white);
}

.method-copy {
  max-width: 560px;
}

.method-copy p:not(.eyebrow) {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
}

.timeline span {
  grid-row: span 2;
  color: var(--clay);
  font-weight: 900;
}

.timeline strong {
  font-size: 1.1rem;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--green-900);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(27, 36, 32, 0.08);
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(181, 108, 66, 0.22);
  border-color: var(--clay);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-700);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: #111b17;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-page {
  background: var(--stone);
}

.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.legal-content h1 {
  max-width: none;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 500;
  text-transform: none;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a:not(.button) {
  color: var(--green-900);
  font-weight: 800;
}

.legal-back {
  margin-top: 8px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .intro-band,
  .service-grid,
  .project-grid,
  .why-grid,
  .coverage-band,
  .method-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
  }

  .project-card {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .header-phone {
    display: none;
  }

  .mobile-call-bar {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
    padding: 14px;
  }

  .hero {
    min-height: 88svh;
    padding: 112px 20px 56px;
  }

  .hero-bg {
    background-position: 54% 50%;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(13, 32, 26, 0.9), rgba(13, 32, 26, 0.36));
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .section,
  .method-band,
  .coverage-band,
  .why-band {
    padding: 64px 20px;
  }

  .intro-item {
    min-height: auto;
    padding: 24px 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 102px;
  }
}

@media (max-width: 430px) {
  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: min(210px, calc(100vw - 120px));
    height: 48px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
  }
}
