/* ECO SMART FRANCE — Landing campagne serre TM5012 (La Caravelle)
   Identité verte, ton agricole / clair / confiance. Mobile-first, responsive. */

:root {
  --green-700: #1B5E20;
  --green-600: #2E7D32;
  --green-500: #43A047;
  --green-300: #7AC943;
  --green-050: #EAF5E9;
  --ink: #243027;
  --grey-700: #37474F;
  --grey-500: #607066;
  --grey-200: #DDE5DF;
  --bg: #ffffff;
  --bg-soft: #F4F9F2;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(27, 94, 32, 0.10);
  --maxw: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3 { line-height: 1.2; color: var(--grey-700); margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
a { color: var(--green-600); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--grey-500); }
.small { font-size: .82rem; }

/* Boutons */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: 1.05rem;
  padding: 16px 28px; border-radius: var(--radius); text-decoration: none;
  box-shadow: var(--shadow); transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--green-700); transform: translateY(-1px); }
.btn--block { display: block; width: 100%; text-align: center; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--grey-200);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header img { height: 40px; width: auto; }
.header-cta { font-size: .95rem; padding: 10px 18px; }
@media (max-width: 640px) { .header-cta { display: none; } }

/* Hero */
.hero {
  background:
    linear-gradient(95deg, rgba(18,64,22,.88) 0%, rgba(18,64,22,.60) 48%, rgba(18,64,22,.34) 100%),
    url("assets/hero.jpg") center 30%/cover no-repeat, var(--green-700);
  color: #fff;
}
/* Repli illustré disponible : assets/hero-scene.svg */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 20px; }
.hero h1 { color: #fff; }
.hero .claim { display: inline-block; background: #fff; color: var(--green-700);
  font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: .9rem; margin-bottom: 18px; }
.hero .sub { font-size: 1.15rem; opacity: .96; }
.hero .note { font-size: .82rem; opacity: .9; margin-top: 14px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 44px 20px; }
}

/* Carte formulaire */
.form-card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.form-card h2 { font-size: 1.25rem; }
.form-card .lead { font-size: .95rem; color: var(--grey-500); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--grey-200); border-radius: 10px;
  font: inherit; font-size: .98rem; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--green-500); border-color: var(--green-500); }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radios label { font-weight: 500; display: flex; align-items: center; gap: 6px; background: var(--bg-soft);
  padding: 9px 12px; border-radius: 10px; border: 1px solid var(--grey-200); cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--grey-500); margin: 8px 0 16px; }
.consent input { margin-top: 3px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 34px; }

/* Bénéfices */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 22px; }
.benefit .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-050);
  display: grid; place-items: center; margin-bottom: 12px; }
.benefit h3 { font-size: 1.05rem; }
.benefit p { font-size: .92rem; color: var(--grey-500); margin: 0; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* Réassurance */
.reassure { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
.reassure ul { list-style: none; padding: 0; margin: 0; }
.reassure li { padding: 10px 0 10px 30px; position: relative; }
.reassure li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }
.reassure .box { background: var(--green-050); border-radius: var(--radius); padding: 22px; }
@media (max-width: 820px) { .reassure { grid-template-columns: 1fr; } }

/* CEE */
.cee .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cee ul { padding-left: 18px; }
.cee .callout { background: #fff; border: 1px dashed var(--green-500); border-radius: var(--radius);
  padding: 18px; font-size: .92rem; }
@media (max-width: 820px) { .cee .cols { grid-template-columns: 1fr; } }

/* Galerie produit en situation */
.gallery .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); background: #fff; margin: 0; }
.shot .ph { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--green-700); font-weight: 600;
  background: repeating-linear-gradient(45deg, var(--green-050), var(--green-050) 14px, #E2F0DE 14px, #E2F0DE 28px); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.shot figcaption { padding: 12px 14px; font-size: .9rem; color: var(--grey-500); }
@media (max-width: 820px) { .gallery .shots { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--grey-700); color: #cdd6cf; font-size: .86rem; padding: 40px 0; }
.site-footer a { color: #fff; }
.site-footer .legal { margin-top: 14px; opacity: .85; }
.placeholder { background: #FFF3CD; color: #8a6d3b; padding: 1px 6px; border-radius: 4px; font-size: .85em; }

/* Bandeau cookies (consentement) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--grey-200);
  border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.18);
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.cookie-bar p { margin: 0; flex: 1 1 320px; color: var(--grey-500); }
.cookie-bar a { color: var(--green-600); }
.cookie-bar .cb-actions { display: flex; gap: 10px; }
.cookie-bar button { cursor: pointer; border: none; border-radius: 10px; font-weight: 700; padding: 10px 18px; font-size: .9rem; }
.cb-accept { background: var(--green-600); color: #fff; }
.cb-refuse { background: var(--bg-soft); color: var(--grey-700); border: 1px solid var(--grey-200); }
@media (max-width: 560px) { .cookie-bar .cb-actions { flex: 1 1 100%; } .cookie-bar button { flex: 1; } }
