/* ===========================================================
   Le Goût du Lien — Réseau de cuisinières à domicile
   Charte FIDÈLE au site original (palette Astra réelle) :
   vert forêt #104d31 principal, sauge #dfe9db, crème #f2f6f0,
   texte #22332b, orange #f78a0c en accent.
   Police : Plus Jakarta Sans.
   =========================================================== */

:root {
  /* Vert (couleur principale) */
  --green: #104d31;
  --green-dark: #0c3824;
  --green-deep: #0d3824;
  --sage: #dfe9db;
  --cream: #f2f6f0;
  /* Accent chaud */
  --orange: #f78a0c;
  --orange-dark: #e4760a;
  --orange-soft: #fff4e6;
  /* Neutres */
  --ink: #22332b;
  --text: #3f4a44;
  --muted: #5c6660;
  --bg: #ffffff;
  --bg-soft: #f2f6f0;
  --line: #e3eadf;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 49, 32, 0.10);
  --maxw: 1140px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Curseur fourchette */
  --fork: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%3E%3Cg%20fill='%23104d31'%20transform='translate(-3%20-4)%20rotate(-45%2014%2014)'%3E%3Crect%20x='8'%20y='2'%20width='1.6'%20height='9'%20rx='.8'/%3E%3Crect%20x='11.2'%20y='2'%20width='1.6'%20height='9'%20rx='.8'/%3E%3Crect%20x='14.4'%20y='2'%20width='1.6'%20height='9'%20rx='.8'/%3E%3Crect%20x='8'%20y='9.2'%20width='8'%20height='1.6'%20rx='.8'/%3E%3Crect%20x='11.2'%20y='10.4'%20width='1.6'%20height='15.6'%20rx='.8'/%3E%3C/g%3E%3C/svg%3E") 2 3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Curseur fourchette sur tout le site (comme mybatch) */
body, a, button, .btn, .nav-toggle, label { cursor: var(--fork), auto; }
input, textarea, select { cursor: text; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--green); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--sage);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.accent { color: var(--orange-dark); background: var(--orange-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(16,77,49,.30); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(247,138,12,.35); }
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(16,77,49,.30); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.95); color: var(--green); border-color: #fff; }
.btn-ghost:hover { background: #fff; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- En-tête + wordmark ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: var(--maxw); margin: 0 auto; }
.brand-text {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green);
  letter-spacing: .2px;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.brand-text .accent { color: var(--orange); }
.menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.menu a { color: var(--ink); font-weight: 600; font-size: .97rem; }
.menu a:hover { color: var(--green); }
.menu .btn { padding: 10px 22px; }
.menu .btn-primary, .menu .btn-primary:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--green); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; color: #fff; text-align: center; padding: 120px 22px;
  background: linear-gradient(rgba(20,28,22,.50), rgba(20,28,22,.62)),
              url("images/pexels-photo-1640777-1640777.jpg") center/cover no-repeat;
}
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto 18px; }
.hero p { color: #eef3ee; font-size: 1.25rem; max-width: 680px; margin: 0 auto 28px; }
.hero .btn-group { justify-content: center; }

/* Badge crédit d'impôt mis en avant (accent orange) */
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 26px; padding: 12px 22px;
  background: var(--orange); color: #fff;
  border-radius: 999px; font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.hero-badge .check {
  background: #fff; color: var(--orange-dark);
  padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: .92rem;
}

/* ---------- Bandeau de page (sous-pages) : clair, élégant, sans filtre ---------- */
.page-hero {
  position: relative; text-align: center;
  padding: 104px 22px 90px;
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--sage) 0%, var(--cream) 46%, #fff 100%);
  overflow: hidden;
}
.page-hero h1 { color: var(--ink); margin: 0 auto 16px; max-width: 860px; }
.page-hero h1::after { content: ""; display: block; width: 60px; height: 3px; background: var(--orange); border-radius: 2px; margin: 20px auto 0; }
.page-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.page-hero .eyebrow { background: #fff; color: var(--green-dark); box-shadow: 0 4px 14px rgba(16,49,32,.08); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 740px; margin: 0 auto 48px; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split.reverse .text { order: 2; }

.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card .icon {
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  background: var(--sage); border-radius: 14px; margin-bottom: 16px;
}
.card .icon.accent { background: var(--orange-soft); }
.card .icon svg { width: 30px; height: 30px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .icon.accent svg { stroke: var(--orange-dark); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* Étapes numérotées */
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem; margin-bottom: 14px;
}

/* Statistiques prestation (3h / 5 plats / -50%) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; text-align: center; box-shadow: var(--shadow); }
.stat .big { font-size: 2.8rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat .big.accent { color: var(--orange-dark); }
.stat p { margin: 12px 0 0; color: var(--muted); }

/* Galerie sessions batch cooking */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* Cartes cuisinières */
.cook-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cook-card img { width: 100%; height: 220px; object-fit: cover; }
.cook-card .body { padding: 22px; }
.cook-card h3 { margin-bottom: 2px; }
.cook-card .loc { color: var(--green); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.cook-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { background: var(--sage); color: var(--green-dark); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

/* Liste avec puces check */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Conditions d'adhésion (structuré) ---------- */
.adhesion-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 960px; margin: 0 auto; }
.adhesion-head {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; padding: 30px 38px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.adhesion-head .label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem; font-weight: 600; opacity: .95; }
.adhesion-head h3 { color: #fff; margin: 4px 0 0; font-size: 1.5rem; }
.adhesion-head .price { font-size: 2.6rem; font-weight: 800; line-height: 1; color: #fff; }
.adhesion-head .price small { font-size: .95rem; font-weight: 500; opacity: .9; display: block; }
.adhesion-body { padding: 34px 38px; }
.adhesion-body h4 { margin-bottom: 18px; font-size: 1.05rem; }
.adhesion-body .checklist { grid-template-columns: 1fr 1fr; gap: 14px 30px; }

.participation { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 960px; margin: 26px auto 0; }
.participation .card { text-align: center; }
.participation .big { font-size: 2.4rem; font-weight: 800; color: var(--green); line-height: 1; }
.participation .big small { font-size: .95rem; color: var(--muted); font-weight: 500; }

.price-card { background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.price-card .price { font-size: 2.6rem; font-weight: 800; color: var(--green); }
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }

/* ---------- Formulaire de candidature ---------- */
.form-card { border-top: 4px solid var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
  font: inherit; font-weight: 500; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,77,49,.12);
}
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Article de blog ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.article .chapo { font-size: 1.2rem; color: var(--ink); font-weight: 600; margin-bottom: 24px; }
.article h2 { font-size: 1.45rem; color: var(--green); margin: 36px 0 12px; }
.article p { color: var(--text); }
.article ul { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; padding: 0; }
.article ul li { position: relative; padding-left: 28px; color: var(--text); }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.article .steps-num { display: grid; gap: 14px; margin: 6px 0 18px; }
.article .steps-num li { list-style: none; position: relative; padding-left: 46px; }
.article .steps-num li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
.back-link { display: inline-block; margin-top: 34px; font-weight: 600; }
.back-link::before { content: "← "; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #e9f1e9; max-width: 640px; margin: 0 auto 26px; font-size: 1.15rem; }
.cta .btn-group { justify-content: center; }
.cta .btn-ghost { background: #fff; color: var(--green); }
.cta .btn-accent { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Bande réseau discrète */
.network-band { background: var(--sage); text-align: center; }
.network-band h3 { margin-bottom: 6px; }
.network-band p { color: var(--text); margin-bottom: 18px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-deep); color: #c5d3c8; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer a { color: #c5d3c8; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-brand .brand-text { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand .brand-text .accent { color: var(--orange); }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease; }
.social a:hover { background: var(--orange); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; text-align: center; font-size: .85rem; color: #9fb1a4; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 18px 22px;
    border-bottom: 1px solid var(--line); gap: 16px; box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .grid-2, .participation, .adhesion-body .checklist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
}
