/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
html { scroll-behavior: smooth; }
body.no-scroll { overflow: hidden; }

/* Variables */
:root{
  --green: #74A836;
  --green-dark: #74A836;
  --text: #1f1f1f;
  --muted: #5e5e5e;
  --bg: #ffffff;
  --bg-soft: #f6f7f6;
  --card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 14px 34px rgba(0,0,0,.10);
  --shadow-soft: 0 8px 22px rgba(0,0,0,.06);
  --radius: 16px;
  --radius-lg: 18px;
  --max: 1150px;
}

/* Base */
body{
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 20px;
}
.section-alt{ background: var(--bg-soft); }

.section-header{
  margin: 0 auto 26px;
  max-width: var(--max);
}
.section-header.center{ text-align: center; }

.section-title{
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.section-sub{
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto;
}
.muted{ color: var(--muted); }
.fineprint{ font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Header */
.topbar{
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.topbar .inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand img{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}
.brand-text{
  font-weight: 900;
  letter-spacing: -0.3px;
}
.brand-text strong{ color: var(--green); }

#menu-toggle{ display: none; }
.burger{
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.primary{
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary a{
  font-size: 14px;
  font-weight: 800;
  color: rgba(0,0,0,0.72);
  padding: 8px 6px;
  border-radius: 10px;
}
.primary a:hover{
  color: rgba(0,0,0,0.92);
  background: rgba(116,168,54,0.10);
}

@media (max-width: 900px){
  .burger{ display: inline-flex; align-items: center; justify-content: center; }
  .primary{
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  #menu-toggle:checked ~ .primary{ display: flex; }
  .primary a{
    width: 100%;
    text-align: center;
    padding: 12px 10px;
  }
}

/* Hero */
.hero-full{
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.34) 55%, rgba(0,0,0,0.58) 100%);
}
.hero-center{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 980px;
}
.hero-center h1{
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 950;
  letter-spacing: -0.8px;
  line-height: 1.05;
  text-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.hero-center h1 span{ color: #74A836; }
.hero-center p{
  margin-top: 12px;
  color: rgba(255,255,255,0.92);
  font-size: clamp(14px, 1.4vw, 18px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.scroll-indicator{
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.9);
  font-size: 28px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.scroll-indicator:hover{ background: rgba(255,255,255,0.16); }

#services, #realisations, #demarche, #avis, #contact{ scroll-margin-top: 92px; }

/* Services */
.services-row{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.services-row-top{ grid-template-columns: repeat(3, 1fr); }
.services-row-bottom{
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}
.services-gap{ height: 28px; }

.service-card{
  width: 100%;
  max-width: 360px;
  min-height: 270px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card:hover{
  border-color: #74A836;
  transform: translateY(-2px);
  transition: transform .12s ease, border-color .2s ease;
}

.service-icon{
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3{
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 8px;
}
.service-card p{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 980px){
  .services-row-top{ grid-template-columns: repeat(2, 1fr); }
  .services-row-bottom{ grid-template-columns: repeat(2, 1fr); max-width: var(--max); }
}
@media (max-width: 640px){
  .services-row-top, .services-row-bottom{ grid-template-columns: 1fr; }
  .service-card{ max-width: 520px; min-height: auto; }
}

/* Réalisations */
.filters{
  max-width: var(--max);
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip{
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  color: rgba(0,0,0,0.70);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}
.chip.is-active{
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.work-btn{
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: block;
  overflow: hidden;
}
.work img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .35s ease;
}
.work-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity .28s ease;
}
.work-meta{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
.work-meta h3{
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 2px;
}
.work-meta p{
  font-size: 13px;
  color: rgba(0,0,0,0.65);
}
.work-btn:hover img{ transform: scale(1.06); }
.work-btn:hover .work-overlay{ opacity: 1; }
.work-btn:hover .work-meta{ transform: translateY(0); opacity: 1; }

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
  .work-meta{ opacity: 1; transform: translateY(0); }
  .work-overlay{ opacity: .9; }
}

/* Démarche */
.demarche-grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demarche-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.demarche-card h3{
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 8px;
}
.demarche-card p{ color: var(--muted); margin-bottom: 10px; }

.ticks{ list-style: none; margin-top: 10px; }
.ticks li{
  padding-left: 24px;
  position: relative;
  margin: 8px 0;
  color: var(--muted);
}
.ticks li::before{
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 900;
}
.steps{ padding-left: 18px; color: var(--muted); }
.steps li{ margin: 10px 0; }

@media (max-width: 980px){
  .demarche-grid{ grid-template-columns: 1fr; }
}

/* Avis */
.reviews{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}
.review-viewport{ overflow: hidden; width: 100%; }
.nav-arrow{
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  border-radius: 14px;
  height: 44px;
  width: 44px;
  cursor: pointer;
  font-size: 26px;
  line-height: 0;
  box-shadow: var(--shadow-soft);
}
.nav-arrow:hover{ border-color: #74A836; }

.review-track{
  display: flex;
  width: 100%;
  transition: transform .35s ease;
  will-change: transform;
}
.review{
  min-width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.stars{ color: #f2b200; font-size: 16px; margin-bottom: 8px; }
.review p{ color: var(--muted); margin-bottom: 10px; }
.review footer{ font-weight: 900; }

@media (max-width: 520px){
  .reviews{ grid-template-columns: 36px 1fr 36px; }
  .nav-arrow{ width: 36px; height: 36px; border-radius: 12px; font-size: 22px; }
}

/* Contact */
.contact-grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.contact-card h3{
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 8px;
}

.contact-list{ list-style: none; margin-top: 12px; }
.contact-list li{ margin: 10px 0; color: var(--muted); }
.contact-list a{ color: var(--green); font-weight: 950; }
.contact-list a:hover{ text-decoration: underline; }

.contact-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
label{ font-weight: 900; font-size: 13px; }
input, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 12px;
  font-size: 14px;
}
input:focus, textarea:focus{
  outline: none;
  border-color: #74A836;
  box-shadow: 0 0 0 4px rgba(116,168,54,.14);
}

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

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 950;
  font-size: 14px;
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease;
  border: none;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{ background: var(--green); color: #fff; }
.btn-primary:hover{ filter: brightness(1.06); }

.btn-outline{
  border: 1px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover{ background: var(--green); color: #fff; }

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}
.lightbox.is-open{ display: block; }
.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}
.lightbox-panel{
  position: relative;
  max-width: 980px;
  margin: 40px auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
}
.lightbox-panel img{
  width: 100%;
  max-height: 68vh;
  object-fit: cover;
}
.lightbox-caption{ padding: 14px 16px 18px; }
.lightbox-caption p{ color: var(--muted); margin-top: 4px; }
.lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 950;
}
.lightbox-close:hover{ filter: brightness(.98); }

/* Footer */
.footer{
  background: #f4f4f4;
  border-top: 3px solid var(--green);
  padding: 18px 20px;
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.footer h4{
  margin-bottom: 8px;
  color: rgba(0,0,0,0.78);
  font-size: 14px;
  font-weight: 950;
}
.footer ul{ list-style: none; }
.footer li{ margin: 6px 0; }

/* Base footer text */
.footer p,
.footer li,
.footer a{
  font-size: 13px;
  color: rgba(0,0,0,0.62);
}

/* Navigation column links */
.footer-inner > div:first-child a{
  color: var(--green-dark);
  font-weight: 900;
}
.footer-inner > div:first-child a:hover{ text-decoration: underline; }

/* Coordonnées column (keeps all same size) */
.footer-inner > div:nth-child(2){
  font-size: 13px;
}
.footer-inner > div:nth-child(2) p,
.footer-inner > div:nth-child(2) a{
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0,0,0,0.62);
  font-weight: normal;
}
.footer-inner > div:nth-child(2) a:hover{ text-decoration: underline; }

/* Facebook icon */
.footer-inner > div:nth-child(2) .fa-facebook{
  color: #1877F2;
  font-size: 13px;
  vertical-align: middle;
  margin-right: 6px;
}

/* Infos légales column */
.footer-inner > div:nth-child(3) p,
.footer-inner > div:nth-child(3) a{
  color: rgba(0,0,0,0.62);
  font-size: 13px;
}
.footer-inner > div:nth-child(3) a{
  color: var(--green-dark);
  font-weight: 900;
}
.footer-inner > div:nth-child(3) a:hover{ text-decoration: underline; }

.legal{
  max-width: var(--max);
  margin: 12px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.10);
  text-align: center;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}

@media (max-width: 900px){
  .footer-inner{ grid-template-columns: 1fr; }
}

/* Mentions légales page */
.legal-page{
  max-width: 980px;
  margin: 120px auto 80px;
  padding: 0 20px;
  font-family: Arial, Helvetica, sans-serif;
}
.legal-head{ text-align: center; margin-bottom: 18px; }
.legal-head h1{
  font-size: 34px;
  font-weight: 950;
  margin-bottom: 6px;
}
.legal-head p{ color: rgba(0,0,0,0.65); }

.legal-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 22px 18px;
  line-height: 1.8;
}
.legal-card h2{
  font-size: 16px;
  font-weight: 950;
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--green);
}
.legal-card p{
  font-size: 14px;
  color: #2b2b2b;
  margin-bottom: 10px;
}
.legal-card a{
  color: var(--green);
  font-weight: 900;
}
.legal-card a:hover{ text-decoration: underline; }

.legal-update{
  margin-top: 26px;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  text-align: center;
}