/* ============================================
   AU FOND DU JARDIN — Feuille de style
   
   POUR CHANGER LES COULEURS DU SITE :
   modifie uniquement les valeurs ci-dessous
   ============================================ */

:root {
  /* Couleurs principales */
  --vert-fonce: #1a4d3a;
  --vert-clair: #15803d;
  --vert-vif: #22c55e;
  --jaune-pale: #fef3c7;
  --jaune-vif: #fbbf24;
  --rose: #ec4899;
  --orange: #f97316;
  --rouge: #dc2626;
  --violet: #5b21b6;
  
  /* Couleurs sémantiques */
  --couleur-fond: var(--jaune-pale);
  --couleur-texte: var(--vert-fonce);
  
  /* Typographie */
  --police-titre: 'Georgia', 'Times New Roman', serif;
  --police-mono: 'Courier New', monospace;
  
  /* Espacements */
  --rayon-bouton: 100px;
  --rayon-carte: 12px;
}

/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--police-titre);
  background: var(--couleur-fond);
  color: var(--couleur-texte);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img, svg { max-width: 100%; display: block; }

/* ============ HEADER & NAV ============ */
.header {
  background: var(--vert-fonce);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-zone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-placeholder {
  width: 48px;
  height: 48px;
  border: 2px dashed var(--jaune-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--police-mono);
  font-size: 9px;
  color: var(--jaune-pale);
  opacity: 0.6;
  text-align: center;
  line-height: 1;
}

.logo-text {
  font-family: var(--police-titre);
  font-size: 18px;
  font-weight: 700;
  color: var(--jaune-pale);
  font-style: italic;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: var(--jaune-pale);
  font-style: italic;
  transition: color 0.15s;
}

.nav a:hover { color: var(--jaune-vif); }
.nav a.active { border-bottom: 1.5px solid var(--jaune-vif); }

.nav-cta {
  background: var(--jaune-vif) !important;
  color: var(--vert-fonce) !important;
  padding: 5px 14px;
  border-radius: var(--rayon-bouton);
  font-weight: 700;
  font-style: normal !important;
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--rayon-bouton);
  font-family: var(--police-titre);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s;
}

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

.btn-primary {
  background: var(--jaune-vif);
  color: var(--vert-fonce);
}

.btn-secondary {
  background: var(--vert-fonce);
  color: var(--jaune-pale);
}

.btn-light {
  background: var(--jaune-pale);
  color: var(--vert-fonce);
}

/* ============ HERO ============ */
.hero {
  background: var(--vert-fonce);
  color: var(--jaune-pale);
  padding: 60px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
}

.hero-deco-1 { top: -20px; right: -30px; width: 240px; opacity: 0.95; }
.hero-deco-2 { bottom: -50px; left: -40px; width: 200px; opacity: 0.85; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.badge {
  display: inline-block;
  background: var(--jaune-vif);
  color: var(--vert-fonce);
  padding: 6px 14px;
  font-family: var(--police-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--rayon-bouton);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--police-titre);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.92;
  margin-bottom: 18px;
  letter-spacing: -2px;
  font-style: italic;
}

.hero h1 .accent { color: var(--jaune-vif); }

.hero p {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 380px;
}

/* ============ SECTIONS ACTIVITÉS ============ */
.activite {
  padding: 60px 32px;
  position: relative;
  overflow: hidden;
}

.activite-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.activite-content.reverse .activite-text { order: 2; }
.activite-content.reverse .activite-illu { order: 1; }

.activite-illu {
  display: flex;
  justify-content: center;
}

.activite-illu svg, .activite-illu img {
  width: 100%;
  max-width: 220px;
}

.activite-tag {
  font-family: var(--police-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.activite h2 {
  font-family: var(--police-titre);
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -1px;
}

.activite p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.activite-fruitiers { background: var(--jaune-pale); color: var(--vert-fonce); }
.activite-fruitiers .activite-tag { color: var(--vert-clair); }

.activite-champetres { background: var(--rose); color: var(--jaune-pale); }
.activite-champetres .activite-tag { color: var(--jaune-pale); }

.activite-maraichage { background: var(--orange); color: var(--jaune-pale); }
.activite-maraichage .activite-tag { color: var(--jaune-pale); }

.activite-oeufs { background: var(--jaune-vif); color: var(--vert-fonce); }
.activite-oeufs .activite-tag { color: var(--vert-fonce); }

/* ============ FOOTER PRÉ-COMMANDE ============ */
.footer-cta {
  background: var(--vert-fonce);
  color: var(--jaune-pale);
  padding: 50px 32px;
  text-align: center;
}

.footer-cta h3 {
  font-family: var(--police-titre);
  font-size: 30px;
  font-style: italic;
  margin-bottom: 12px;
}

.footer-cta p {
  font-size: 15px;
  color: var(--jaune-vif);
  margin-bottom: 24px;
}

/* ============ PAGE PÉPINIÈRE ============ */
.page-intro {
  background: var(--vert-fonce);
  color: var(--jaune-pale);
  padding: 50px 32px;
  text-align: center;
}

.page-intro h1 {
  font-family: var(--police-titre);
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -1px;
}

.page-intro p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 28px;
}

.info-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-tab {
  background: var(--jaune-pale);
  color: var(--vert-fonce);
  padding: 9px 18px;
  border-radius: var(--rayon-bouton);
  font-family: var(--police-titre);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.info-tab:hover, .info-tab.active { background: var(--jaune-vif); }

.catalogue {
  background: var(--jaune-pale);
  padding: 50px 24px;
}

.catalogue-titre {
  text-align: center;
  margin-bottom: 30px;
}

.catalogue-titre .small {
  font-family: var(--police-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vert-clair);
  font-weight: 700;
  margin-bottom: 8px;
}

.catalogue-titre h2 {
  font-family: var(--police-titre);
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  color: var(--vert-fonce);
}

.fruit-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--vert-fonce);
}

.fruit-tab {
  background: transparent;
  color: var(--vert-fonce);
  padding: 12px 22px;
  font-family: var(--police-titre);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.15s;
}

.fruit-tab:hover { background: var(--vert-clair); color: var(--jaune-pale); }
.fruit-tab.active { background: var(--vert-fonce); color: var(--jaune-pale); }

.fruit-content { display: none; }
.fruit-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.variete-carte {
  padding: 18px;
  border-radius: var(--rayon-carte);
  transition: transform 0.15s;
}

.variete-carte:hover { transform: translateY(-4px); }

.variete-illu {
  background: var(--jaune-pale);
  height: 100px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.variete-illu svg, .variete-illu img { height: 80px; max-width: 80px; }

.variete-nom {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.variete-meta {
  font-family: var(--police-mono);
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.variete-desc {
  font-size: 13px;
  line-height: 1.5;
}

.carte-vert { background: var(--vert-clair); color: var(--jaune-pale); }
.carte-jaune { background: var(--jaune-vif); color: var(--vert-fonce); }
.carte-rose { background: var(--rose); color: var(--jaune-pale); }
.carte-orange { background: var(--orange); color: var(--jaune-pale); }
.carte-violet { background: var(--violet); color: var(--jaune-pale); }
.carte-rouge { background: var(--rouge); color: var(--jaune-pale); }
.carte-vert-fonce { background: var(--vert-fonce); color: var(--jaune-pale); }

/* ============ PAGE PRÉ-COMMANDE ============ */
.formulaire {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 32px;
}

.formulaire-section {
  background: white;
  padding: 24px;
  border-radius: var(--rayon-carte);
  margin-bottom: 20px;
  border: 2px solid var(--vert-fonce);
}

.formulaire-section h3 {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 22px;
  color: var(--vert-fonce);
  margin-bottom: 16px;
}

.champ { margin-bottom: 14px; }

.champ label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--vert-fonce);
}

.champ input, .champ textarea, .champ select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--vert-fonce);
  border-radius: 8px;
  font-family: var(--police-titre);
  font-size: 14px;
  background: var(--jaune-pale);
}

.champ textarea { min-height: 80px; resize: vertical; }

.quantite-ligne {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(26, 77, 58, 0.2);
}

.quantite-ligne:last-child { border-bottom: none; }

.quantite-ligne label { font-size: 14px; font-weight: 400; }
.quantite-ligne input { text-align: center; padding: 6px; }

/* ============ RETOUR ============ */
.retour {
  background: var(--vert-fonce);
  padding: 18px;
  text-align: center;
}

.retour a {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 14px;
  color: var(--jaune-vif);
  cursor: pointer;
}

.retour a:hover { text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .hero h1 { font-size: 44px; }
  .activite h2, .page-intro h1 { font-size: 32px; }
  .activite-content { grid-template-columns: 1fr; gap: 24px; }
  .activite-content.reverse .activite-text { order: 1; }
  .activite-content.reverse .activite-illu { order: 2; }
  .nav { font-size: 13px; gap: 12px; }
  .header { padding: 12px 16px; }
  .hero { padding: 40px 24px 60px; }
  .activite, .page-intro, .catalogue { padding: 40px 20px; }
}

/* ============ FOOTER ASBL ============ */
.footer-asbl {
  background: var(--vert-fonce);
  color: var(--jaune-pale);
  padding: 24px 32px;
  text-align: center;
  border-top: 3px solid var(--jaune-vif);
}

.footer-asbl .footer-nom {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--jaune-vif);
}

.footer-asbl .footer-contact {
  font-family: var(--police-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer-asbl .footer-contact a {
  color: var(--jaune-pale);
  text-decoration: none;
}

.footer-asbl .footer-contact a:hover {
  color: var(--jaune-vif);
}

/* ============ HERO DECO MOBILE ============ */
@media (max-width: 720px) {
  .hero-deco-1 { width: 140px !important; top: -10px !important; right: -15px !important; }
  .hero-deco-2 { width: 120px !important; bottom: -30px !important; left: -20px !important; }
}

/* ============ PHOTOS ACCUEIL ============ */
.activite-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Mosaïque 3 photos : une grande à gauche, deux petites empilées à droite */
.activite-mosaique {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  max-width: 320px;
  width: 100%;
  aspect-ratio: 4/3;
}
.activite-mosaique .mosaique-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.activite-mosaique .mosaique-grande {
  grid-row: 1 / 3;
}

@media (max-width: 720px) {
  .activite-mosaique { max-width: 260px; }
  .activite-photo { max-width: 240px; }
}
