/* ========================================
   VARIABLES
======================================== */

:root {
  --green: #08784f;
  --green-dark: #045338;
  --green-deep: #062f26;
  --green-soft: #e8f5ef;

  --red: #a52323;

  --ink: #10201c;
  --muted: #66736f;
  --line: #dce7e2;

  --white: #fff;

  --shadow: 0 20px 60px rgba(5, 55, 39, 0.12);
  --radius: 24px;
}


/* ========================================
   RESET & BASE
======================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--ink);

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f7fcf9 35%,
    #eef9f4 70%,
    #f5fbf8 100%
  );

  background-attachment: fixed;

  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}


/* ========================================
   HEADER
======================================== */

.site-header {
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 max(20px, calc((100% - 1160px) / 2));

  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


/* Logo */

.brand {
  display: flex;
  align-items: baseline;
  gap: 7px;

  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  font-size: 27px;
  color: var(--green);
}

.brand-name {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #23332e;
}


/* Navigation */

.nav {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 14px;
  font-weight: 700;
  color: #3c4c47;
}

.nav a {
  transition: 0.2s;
}

.nav a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 12px 18px;

  border-radius: 999px;

  background: var(--green);
  color: #fff !important;
}


/* Menu mobile */

.menu-toggle {
  display: none;

  border: 0;
  background: none;

  font-size: 25px;
}


/* ========================================
   HERO
======================================== */

.hero {
  position: relative;
  overflow: hidden;

  min-height: 690px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:#a8d1bf;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(8, 120, 79, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(165, 35, 35, 0.06),
      transparent 25%
    );
  display: none;
}

.hero-grid {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 80px 0;
}

.hero-content {
  width: 100%;
  max-width: 850px;

  text-align: center;
}


/* Hero texte */

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-bottom: 20px;

  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 900;

  color: var(--green);
  text-transform: uppercase;
}

.eyebrow span {
  display: block;

  width: 28px;
  height: 2px;

  background: var(--green);
}

h1 {
  max-width: 720px;
  margin: auto;

  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 strong {
  color: var(--green);
}

.hero-lead {
  max-width: 570px;

  margin: 26px auto 30px;

  font-size: 19px;
  color: var(--muted);
}


/* Hero boutons */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 15px 21px;

  border-radius: 13px;

  font-weight: 800;

  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #fff;

  box-shadow: 0 12px 30px rgba(8, 120, 79, 0.2);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
}


/* Hero informations */

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;

  margin-top: 25px;

  color: #4e5d58;
  font-size: 13px;
  font-weight: 700;
}


/* ========================================
   TRUST STRIP
======================================== */

.trust-strip {
  background: transparent;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

  padding: 23px 0;
}

.trust-grid div {
  padding-left: 20px;

  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-grid div:first-child {
  border-left: 0;
}

.trust-grid strong {
  display: block;

  font-size: 13px;
  letter-spacing: 0.08em;
}

.trust-grid span {
  font-size: 12px;
  color: #b6d1c6;
}


/* ========================================
   SECTIONS
======================================== */

.section {
  padding: 105px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;

  gap: 40px;

  margin-bottom: 45px;
}

.section-heading h2,
.zone-copy h2,
.about-copy h2 {
  margin-top: 9px;

  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 350px;

  color: var(--muted);
}


/* ========================================
   SERVICES
======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.service-card {
  position: relative;

  min-height: 320px;

  padding: 30px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);

  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  color: #fff;

  background:
    linear-gradient(
      145deg,
      var(--green),
      var(--green-dark)
    );

  border: 0;
}

.service-number {
  position: absolute;
  top: 25px;
  right: 25px;

  font-weight: 900;
  opacity: 0.28;
}

.service-icon {
  margin-bottom: 28px;

  font-size: 40px;
}

.service-card h3 {
  margin-bottom: 12px;

  font-size: 27px;
  letter-spacing: -0.03em;
}

.service-card p {
  color: #66736f;
}

.featured p {
  color: #d9eee6;
}

.service-tag {
  position: absolute;
  left: 30px;
  bottom: 28px;

  padding: 7px 10px;

  border-radius: 999px;

  background: var(--green-soft);
  color: var(--green);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.featured .service-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}


/* Liste des nuisibles */

.nuisibles {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin-top: 25px;
}

.nuisibles span {
  padding: 8px 12px;

  border-radius: 999px;

  background: #eef5f1;
  color: #50615b;

  font-size: 12px;
  font-weight: 800;
}


/* ========================================
   ZONE D'INTERVENTION
======================================== */

.split-section {
  padding: 90px 0;

  background: #a8d1bf;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;
  align-items: center;
}


/* ========================================
   CARTE
======================================== */

.map-card {
  position: relative;
  overflow: hidden;

  min-height: 450px;

  border-radius: 32px;

  background: #ddd;

  box-shadow: var(--shadow);
}

#map {
  width: 100%;
  height: 450px;
}


/* Légende de la carte */

.map-caption {
  position: absolute;
  left: 25px;
  bottom: 25px;

  z-index: 1100;

  padding: 18px 22px;

  color: #fff;

  background: rgba(4, 47, 38, 0.9);

  border-radius: 16px;

  backdrop-filter: blur(8px);
}

.map-caption .section-kicker {
  color: #a9e0ca;
}

.map-caption h3 {
  margin-top: 7px;

  font-size: 23px;
  line-height: 1.05;
}

/* Texte zone */

.zone-copy p,
.about-copy p {
  max-width: 530px;

  margin: 22px 0;

  color: var(--muted);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  gap: 10px;

  margin-top: 10px;

  color: var(--green);
  font-weight: 900;
}

.text-link span {
  transition: 0.2s;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* ========================================
   MARQUEURS CARTE
======================================== */

.dca-marker {
  background: transparent;
  border: none;
}

.dca-marker-pin {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  background: var(--green);

  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;

  transform: rotate(-45deg);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.dca-marker-pin span {
  color: #fff;

  font-size: 17px;

  transform: rotate(45deg);
}

/* ========================================
   À PROPOS
======================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;

  gap: 80px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;

  margin-top: 25px;

  color: #43534d;

  font-size: 14px;
  font-weight: 750;
}


/* Image */

.about-image {
  max-height: 590px;

  overflow: hidden;

  border-radius: 28px;

  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 590px;

  object-fit: cover;
  object-position: center;
}


/* ========================================
   GALERIE
======================================== */

.gallery {
  padding-top: 20px;
  
}

.section-heading.compact {
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;

  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 360px;

  object-fit: cover;

  border-radius: 20px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

  transition: 0.25s;
}

.gallery-grid img:hover {
  transform: scale(1.015);
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
  padding: 85px 0;

  background: var(--green-deep);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;

  gap: 80px;
  align-items: center;
}

.section-kicker.light {
  color: #8dd0b3;
}

.contact-section h2 {
  margin-top: 10px;

  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact-section h2 strong {
  color: #79cda9;
}

.contact-section p {
  margin-top: 20px;

  color: #b8cec5;
  font-size: 17px;
}


/* Informations de contact */

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px 20px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.05);
}

.contact-line > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: #fff;
  color: var(--green);

  font-size: 20px;
}

.contact-line small,
.contact-line strong {
  display: block;
}

.contact-line small {
  color: #91b5a6;

  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 800;

  text-transform: uppercase;
}

.contact-line strong {
  font-size: 16px;
}


/* ========================================
   FOOTER
======================================== */

footer {
  padding: 25px 0;

  background: #041f19;
  color: #8ca79e;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  font-size: 12px;
}

.footer-brand {
  color: #fff;

  font-size: 17px;
  font-weight: 900;
}

.footer-brand strong {
  color: #73c7a4;
}

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

.footer-links a:hover {
  color: #fff;
}


/* ========================================
   TABLETTE / MOBILE
======================================== */

@media (max-width: 850px) {

  /* Header */

  .site-header {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;

    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;

    flex-direction: column;
    align-items: stretch;

    gap: 4px;

    padding: 15px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 18px;

    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }


  /* Grilles */

  .hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }


  /* Hero */

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 55px;
    padding: 65px 0 90px;
  }

  /* Trust */

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Services */

  .services-grid {
    grid-template-columns: 1fr;
  }


  /* Sections */

  .section {
    padding: 75px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }


  /* About */

  .about-image img {
    height: 500px;
  }


  /* Galerie */

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 430px;
  }


  /* Contact */

  .contact-grid {
    gap: 40px;
  }


  /* Footer */

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ========================================
   PETITS ÉCRANS
======================================== */

@media (max-width: 520px) {

  .container {
    width: min(100% - 28px, 1160px);
  }


  /* Hero */

  h1 {
    font-size: 49px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 9px;
  }

  /* Trust */

  .trust-grid {
    grid-template-columns: 1fr 1fr;

    gap: 0;
  }

  .trust-grid div {
    padding: 13px 10px;
  }

  .trust-grid div:nth-child(3) {
    border-left: 0;
  }

  .trust-grid strong {
    font-size: 11px;
  }

  .trust-grid span {
    font-size: 10px;
  }


  /* Titres */

  .section-heading h2,
  .zone-copy h2,
  .about-copy h2 {
    font-size: 37px;
  }


  /* Carte */

  .map-card {
    min-height: 390px;
  }

#map {
  height: 390px;
}

  /* Galerie */

  .gallery-grid img {
    height: 350px;
  }


  /* Footer */

  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}