/* =========================
   PROPOSITION PAGE D'ACCUEIL
   (copie indépendante de index.css — ne remplace rien)
========================= */

:root{
  --green-dark:#1e3f21;
  --green-main:#2f7a36;
  --green-light:#58b960;
  --green-pale:#f1f8ef;

  --text:#121712;
  --muted:#5c6a5e;
  --bg:#ffffff;

  --radius:18px;
  --shadow-soft:0 14px 28px rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

img{ max-width:100%; }

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

.section{ padding:48px 0; }

.center{ text-align:center; }

/* =========================
   BARRE DU HAUT
========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(6px);
  box-shadow:0 2px 14px rgba(0,0,0,.08);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:60px;
}

.topbar__logo{
  font-size:22px;
  font-weight:900;
  color:var(--green-main);
  text-decoration:none;
  letter-spacing:-.3px;
}
.topbar__logo span{ color:var(--green-light); }

.topbar__nav{
  display:flex;
  align-items:center;
  gap:22px;
}

.topbar__link{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.topbar__link:hover{ color:var(--green-main); }

.topbar__login{
  padding:8px 18px;
  background:var(--green-main);
  color:#fff;
  text-decoration:none;
  border-radius:20px;
  font-weight:700;
  font-size:14px;
  transition:.2s ease;
}
.topbar__login:hover{ background:#255c2c; }

/* =========================
   BOUTONS
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  font-size:16px;
  transition:all .2s ease;
}
.btn:hover{ transform:translateY(-2px); }

.btn__play{
  display:inline-grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  font-size:11px;
  padding-left:2px;
}

/* Bouton démo dans la bannière : clair sur fond sombre = très visible */
.btn--demo{
  background:#fff;
  color:var(--green-dark);
  box-shadow:0 14px 30px rgba(0,0,0,.35);
}
.btn--demo .btn__play{ background:var(--green-light); color:#fff; }
.btn--demo:hover{ box-shadow:0 18px 34px rgba(0,0,0,.4); }

.btn--ghost-light{
  color:#fff;
  background:rgba(6,18,10,.45);
  border:2px solid rgba(255,255,255,.85);
}
.btn--ghost-light:hover{ background:rgba(6,18,10,.6); }

.btn--primary{
  background:linear-gradient(180deg,var(--green-light),var(--green-main));
  color:#fff;
  box-shadow:var(--shadow-soft);
}
.btn--primary .btn__play{ background:rgba(255,255,255,.25); }

.btn--big{
  padding:18px 34px;
  font-size:18px;
}

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

.hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(90deg, rgba(6,18,10,0.88) 0%, rgba(6,18,10,0.7) 30%, rgba(6,18,10,0.2) 62%, rgba(6,18,10,0.05) 100%),
    url("../images/hero-vaches.JPG") center 35% / cover no-repeat;
}

.hero__content{ padding:0 0 48px; }

.hero__title{
  margin:0;
  max-width:860px;
  color:#fff;
  font-size:38px;
  line-height:1.15;
  font-weight:900;
  text-shadow:0 4px 18px rgba(0,0,0,.4);
}
.hero__title::after{
  content:"";
  display:block;
  margin-top:14px;
  width:220px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, #7fd35d 0%, #58b960 100%);
}

.hero__subtitle{
  margin:18px 0 0;
  max-width:560px;
  color:rgba(255,255,255,.92);
  font-size:18px;
  line-height:1.5;
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

/* =========================
   TEXTE
========================= */

.lead{
  font-size:18px;
  line-height:1.6;
  margin:0;
}

.h2{
  font-size:26px;
  font-weight:800;
  color:var(--green-dark);
  margin:0 0 14px;
}
.h2--spaced{ margin-top:36px; }

.kicker{
  margin:28px 0 0;
  font-size:16px;
}

/* =========================
   3 ATOUTS
========================= */

.highlights{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:32px;
}

.highlight{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  border:1px solid #dfe9dc;
  border-left:5px solid var(--green-light);
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
}
.highlight__icon{
  width:38px;
  height:38px;
  object-fit:contain;
  flex-shrink:0;
}
.highlight h3{
  margin:0 0 6px;
  font-size:16px;
  color:var(--green-dark);
}
.highlight p{
  margin:0;
  font-size:14.5px;
  line-height:1.45;
  color:var(--muted);
}

/* =========================
   BANDE VERT PÂLE : PROBLÈME + BÉNÉFICES
========================= */

.band{ background:var(--green-pale); }

.benefits{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:40px;
}

.benefit{
  position:relative;
  text-align:center;
  padding:30px 20px 22px;
  border-radius:var(--radius);
  color:#fff;
  background:linear-gradient(180deg,#63c86a 0%, #2f7a36 100%);
  box-shadow:0 16px 26px rgba(47,122,54,.25);
}
.benefit__check{
  position:absolute;
  top:0;
  left:50%;
  transform:translate(-50%, -50%);
  width:34px;
  height:34px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  color:var(--green-main);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.benefit h3{
  margin:0 0 6px;
  font-size:20px;
}
.benefit p{
  margin:0;
  color:#0b1a0c;
  font-weight:600;
}

/* =========================
   ÉTAPES + APERÇU
========================= */

.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin:28px 0 40px;
  counter-reset:step;
}

.step{
  position:relative;
  text-align:center;
  padding:26px 18px 20px;
  border-radius:var(--radius);
  background:#fff;
  border:1px solid #dfe9dc;
}
/* flèche entre les étapes */
.step:not(:last-child)::after{
  content:"➜";
  position:absolute;
  right:-19px;
  top:50%;
  transform:translateY(-50%);
  color:var(--green-light);
  font-size:20px;
}
.step__num{
  position:absolute;
  top:-16px;
  left:50%;
  transform:translateX(-50%);
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--green-main);
  color:#fff;
  font-weight:900;
  display:grid;
  place-items:center;
}
.step__icon{
  width:52px;
  height:52px;
  object-fit:contain;
}
.step p{
  margin:12px 0 0;
  font-size:14.5px;
  line-height:1.45;
  color:var(--muted);
}
.step p strong{
  display:inline-block;
  margin-bottom:4px;
  font-size:16px;
  color:var(--text);
}

/* capture de l'outil dans un cadre "navigateur" */
.preview{
  margin:0 auto 32px;
  max-width:860px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #dfe9dc;
  box-shadow:0 24px 48px rgba(0,0,0,.14);
  background:#fff;
}
.preview__bar{
  display:flex;
  gap:6px;
  padding:10px 14px;
  background:#eef3ec;
}
.preview__bar span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#c9d6c5;
}
.preview img{
  display:block;
  width:100%;
  height:auto;
}
.preview figcaption{
  padding:12px 16px;
  font-size:14px;
  color:var(--muted);
  border-top:1px solid #eef3ec;
}

/* =========================
   BIO
========================= */

.bio-block{
  display:flex;
  align-items:stretch;
  margin:24px auto 0;
  max-width:700px;
}
.bio-photo{ flex:0 0 140px; }
.bio-photo img{
  width:140px;
  height:100%;
  object-fit:cover;
  border-radius:14px 0 0 14px;
  display:block;
}
.bio-text{
  flex:1;
  padding:20px 24px;
  border:3px solid #4fb356;
  border-left:none;
  border-radius:0 32px 32px 0;
  font-size:15px;
  line-height:1.6;
}
.bio-text p{ margin:0 0 10px; }
.bio-text p:last-child{ margin:0; }

/* =========================
   TARIFS
========================= */

.pricing{
  margin-top:20px;
  text-align:center;
}

.pricing__inner{
  background:#2e5f1f;
  color:#fff;
  padding:44px 24px 84px;
  border-radius:14px;
}
.pricing__inner h2{
  margin:0 0 8px;
  font-size:28px;
  font-weight:800;
}
.pricing__intro{
  margin:0 0 28px;
  font-size:16px;
  opacity:.9;
}

.plans{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 300px));
  justify-content:center;
  gap:24px;
}

.plan{
  position:relative;
  padding:26px 20px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:2px solid rgba(255,255,255,.25);
}
.plan--featured{
  background:#fff;
  color:var(--text);
  border-color:#fff;
}
.plan__badge{
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  padding:5px 14px;
  border-radius:999px;
  background:#7fd35d;
  color:#0b1a0c;
  font-size:12px;
  font-weight:800;
}
.plan__name{
  margin:0;
  font-size:18px;
}
.plan__price{
  margin:10px 0 8px;
  font-size:40px;
  font-weight:900;
}
.plan__price small{
  font-size:16px;
  font-weight:700;
}
.plan__detail{
  margin:4px 0;
  font-size:15px;
}

.pricing__cta{
  position:relative;
  margin-top:-38px;
}
.pricing__button{
  display:inline-block;
  padding:20px 46px;
  background:#6ab56a;
  color:#000;
  font-weight:800;
  font-size:20px;
  text-decoration:none;
  border-radius:60px;
  box-shadow:0 22px 30px rgba(0,0,0,.25);
  transition:all .2s ease;
}
.pricing__button:hover{
  transform:translateY(-3px);
  box-shadow:0 28px 36px rgba(0,0,0,.28);
}

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

.footer{
  margin-top:40px;
  padding:22px 0;
  border-top:1px solid #e6ece4;
  font-size:13px;
  color:var(--muted);
}
.footer__inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
}
.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.footer__links a{
  color:var(--muted);
  text-decoration:none;
}
.footer__links a:hover{ color:var(--green-main); }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){
  .highlights,
  .benefits,
  .steps{ grid-template-columns:1fr; }

  .benefits{ gap:30px; }
  .steps{ gap:30px; }
  .step:not(:last-child)::after{ content:none; }

  .hero__title{ font-size:32px; }
}

@media (max-width: 640px){
  .section{ padding:36px 0; }

  .topbar__link{ display:none; }
  .topbar__link:first-child{ display:inline; font-size:13px; white-space:nowrap; }
  .hero__title br{ display:none; }
  .topbar__nav{ gap:12px; }
  .topbar__logo{ font-size:19px; }

  .hero{
    min-height:auto;
    padding-top:150px;
    background:
      linear-gradient(180deg, rgba(6,18,10,0.15) 0%, rgba(6,18,10,0.6) 40%, rgba(6,18,10,0.9) 100%),
      url("../images/hero-vaches.JPG") center top / cover no-repeat;
  }
  .hero__content{ padding-bottom:32px; }
  .hero__title{ font-size:25px; }
  .hero__title::after{ width:140px; height:5px; }
  .hero__subtitle{ font-size:16px; }
  .hero__actions .btn{ width:100%; justify-content:center; }

  .h2{ font-size:22px; }
  .lead{ font-size:16px; }

  .bio-block{ flex-direction:column; }
  .bio-photo{ flex:none; text-align:center; }
  .bio-photo img{ width:120px; height:120px; border-radius:50%; margin:0 auto -20px; position:relative; }
  .bio-text{
    border-left:3px solid #4fb356;
    border-radius:20px;
    padding-top:32px;
  }

  .plans{ grid-template-columns:1fr; gap:28px; }
  .pricing__inner{ border-radius:0; }
  .pricing__button{ padding:18px 30px; font-size:18px; }

  .footer__inner{ flex-direction:column; align-items:center; text-align:center; }
}

/* lien vers l'étape correspondante de la démo (futures vidéos) */
.step{ display:flex; flex-direction:column; align-items:center; }
.step p{ flex:1; }
.step__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  padding:8px 16px;
  border-radius:999px;
  background:var(--green-pale);
  color:var(--green-main);
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  transition:.2s ease;
}
.step__link:hover{ background:#dff0da; }

/* contact sous les tarifs : plus discret que « Créer un compte » */
.pricing__question{ margin-top:34px; }
.pricing__question p{
  margin:0 0 12px;
  font-size:16px;
  color:var(--muted);
}
.pricing__contact{
  display:inline-block;
  padding:12px 28px;
  border:2px solid var(--green-main);
  border-radius:999px;
  color:var(--green-main);
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  transition:.2s ease;
}
.pricing__contact:hover{
  background:var(--green-main);
  color:#fff;
}
