/* =========================
   GLOBAL
========================= */
body {
  background: #FDECFF;
  position: relative;
  padding-top: 90px; /* ajuste selon la hauteur réelle de ton header */
}
a {
  cursor: url("images/curseur.png") 16 16, pointer;
}

/* =========================
   HEADER ET LOGO
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #FDECFF;
  z-index: 1000;
}
.header-inner {
  max-width: 1339px;
  margin: 0 auto;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Roboto Mono', monospace;
  font-weight: 200;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-decoration: none;

  color: #000;
}

/* =========================
   NAVIGATION
========================= */

.nav {
  display: flex;
  gap: 45px; /* ↓ un peu réduit pour sécurité */
  white-space: nowrap;
}
.nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;

  color: #000;
  text-decoration: none;
}
.page-content {
  display: flex;
    flex-direction: column;
    gap: 50px;
}

/* =========================
   COLLAGE IMAGES
========================= */
.collage {
  position: relative; /* Conteneur pour images absolues */
  width: 1336px;
  height: 867px; /* ajuste selon ton design Figma */
  left: 53px;
  margin: 0px auto 53px auto;
  background: #FDECFF; /* comme sur ton design */
}
.img11 {
  position: absolute;
  width: 124px;
height: 165px;
left: 50px;
top: 336px;
}
.img13 {
position: absolute;
width: 190px;
height: 187px;
left: 194px;
top: 361px;
}
.img4 {
position: absolute;
width: 131px;
height: 131px;
left: 139px;
top: 736px;
}
.img8 {
position: absolute;
width: 117px;
height: 156px;
left: 513px;
top: 504px;
}
.img7 {
position: absolute;
width: 114px;
height: 152px;
left: 270px;
top: 566px;
}
.img12 {
position: absolute;
width: 101px;
height: 131px;
left: 327px;
top: 212px;
}
.img3 {
position: absolute;
width: 116px;
height: 116px;
left: 139px;
top: 602px;
}
.img10 {
position: absolute;
width: 124px;
height: 166px;
left: 0px;
top: 519px;
}
.img5 {
position: absolute;
width: 99px;
height: 132px;
left: 399px;
top: 528px;
}
.img9 {
position: absolute;
width: 110px;
height: 146px;
left: 645px;
top: 402px;
}
.img6 {
position: absolute;
width: 112px;
height: 150px;
left: 399px;
top: 685px;
}
.img2 {
position: absolute;
width: 134px;
height: 134px;
left: 805px;
top: 321px;
}
.img1 {
position: absolute;
width: 140px;
height: 149px;
left: 645px;
top: 239px;
}

/* =========================
   MAIN CONTENT
========================= */
.main-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 80px; /* espace entre sections et info-col */
    max-width: 1339px;
    padding: 0 50px 0 53px;
} 
.sections-left {
    flex: 1; /* prend tout l'espace à gauche */
}
.services {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  position: relative;
  width: 763px;
  height: auto;
}

.services > section {
  margin-bottom: 600px; /* même espace que ton gap précédent */
  scroll-margin-top: 100px; /* hauteur du header + un peu d’air */
  flex: 1;
  margin-right: 20px;
}

/* =========================
   TITRES ET TEXTES
========================= */
.section-titre {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0; /* <- l'espace entre titre et texte */
  padding: 0;
  color: #000000;
}


.la-ferme-titre {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 6px 0; /* espace sous le titre */
}

.la-ferme-texte {
  font-family: 'Kalnia', serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0;
}
.visite-de-la-ferme-titre {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 6px 0; /* espace sous le titre */
}

.visite-de-la-ferme-texte {
 font-family: 'Kalnia';
 font-style: normal;
 font-weight: 300;
 font-size: 14px;
 line-height: 19px;
 letter-spacing: -0.02em;
 margin: 0;
 color: #000000;
}
.les-ateliers-titre {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 6px 0; /* espace sous le titre */
}

.les-ateliers-texte {
font-family: 'Kalnia';
font-style: normal;
font-weight: 300;
font-size: 14px;
line-height: 19px;
letter-spacing: -0.02em;
color: #000000;
margin: 0;
margin-bottom: 500px; 
}

#info {
  scroll-margin-top: 110px; /* hauteur du header + un peu d’air */
}


.a-propos-bloc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 700px;

  font-size: 12px;
  line-height: 1.5;
}

.a-propos-titre {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.02em;
  margin: 0;
  color: #000000;
}

.a-propos-texte {
font-family: 'Kalnia';
font-style: normal;
font-weight: 300;
font-size: 14px;
line-height: 19px;
letter-spacing: -0.02em;
margin: 0;

color: #000000;
}


/* =========================
   INFO COLONNE
========================= */
.info-col {
  position: fixed;        /* ← clé ici */
  bottom: 40px;            /* sous le header */
  right: 50px;            /* collée à droite écran */
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.info-bloc {
  display: flex;
  flex-direction: column;
  gap: 6px; /* ← espace entre titre et texte */
 } 
.info-titre {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;   /* supprime l’espace au-dessus */
  color: #000;
}
.info-texte {
  font-family: 'Kalnia', serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 17px;
  margin: 0px;
  color: #000;
}

.info-lien {
  font-family: 'Kalnia', serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 17px;
  margin: 0px;
  text-decoration: underline;
  color: #000;
}
html {
  scroll-behavior: smooth;
}
.footer-mentions {
  font-family: 'Kalnia', serif;
  font-size: 12px;
  font-weight: 200;         /* plus petit texte */
  line-height: 16px;
  color: #000;
  text-align: left;     /* centré horizontalement */
  padding: 16px 50px;
  background: #FDECFF;    /* même fond que le site */
  margin-top: 40px;       /* espace avec le contenu */
}

/* =========================
   RESPONSIVE MOBILE (≤768px)
========================= */

@media (max-width: 768px) {

  body { padding-top: 140px;
  }
  
  /* empêcher l’effet "site miniaturisé" */
  .page-content,
  .main-wrapper,
  .sections-left,
  .services {
    width: 100%;
    max-width: 100%;
  }
 .header {
    position: fixed;
    top: 0;
    left: 0;
  }

  .header-inner {
   display: flex;
  justify-content: center; /* logo centré */
  align-items: center;
  position: relative;
  padding: 16px 20px;
  }
  .logo {
     font-size: 18px;
  text-align: center;
  z-index: 2;
  }
  .nav {
   display: none;
  flex-direction: column;
  gap: 12px;
  position: absolute; /* s'affiche sous le header */
  top: 45px; /* juste en dessous du header */
  left: 20px;
  width: auto;
  padding: 5px 0;
  background: #FDECFF;
  text-align: left;
  z-index: 1;
  }

  .nav a {
    font-size: 14px;
    padding: 3px 0;
    line-height: 1.2;
  }
/* bouton burger */
.burger {
 display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 22px;
  height: 18px;
  cursor: pointer;
  position: absolute; /* reste à gauche sans déplacer le logo */
  left: 20px;
}

.burger span {
 display: block;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}
body.nav-open .burger span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

body.nav-open .burger span:nth-child(2) {
  opacity: 0; /* la barre du milieu disparaît */
}

body.nav-open .burger span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}
/* cacher la nav par défaut */
.nav {
  display: none;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  gap: 12px;
}

/* afficher nav quand burger cliqué */
body.nav-open .nav {
  display: flex;
}
    /* le conteneur devient une grille */
  .collage {
    position: static;
    width: 100%;
    height: auto;
    max-width: 320px;
    margin: 0 auto 0px auto;

    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }

  /* les images reviennent dans le flux */
  .collage .img {
    position: static !important;
    width: 100% !important;
    height: auto !important;

    object-fit: contain;
    display: block;
  }


  /* passer en colonne */
  .main-wrapper {
    flex-direction: column;
    padding: 0 20px;
  }

  /* textes lisibles */
  body {
    font-size: 16px;
  }
.la-ferme {
    margin-top: 0;
  }

  .la-ferme-titre {
    margin-top: 0;
  }
  .section-titre,
  .a-propos-titre {
    font-size: 15px;
  }

  .la-ferme-texte,
  .visite-de-la-ferme-texte,
  .les-ateliers-texte,
  .a-propos-texte {
    font-size: 14px;
    line-height: 1.3;
   
  }
 .a-propos {
    margin-bottom: 8px;
    margin-top: 0;
  }
  .a-propos-texte {
    margin-bottom: 0;
  }
  .info-titre {
    font-size: 14px;
  }
  .info-texte,
  .info-lien {
    font-size: 13px;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 0px;
     }
  .info-col {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 0px;  
    padding-top: 0;      /* rapproche du texte précédent */
    padding: 0 20px;              /* pas de décalage interne */
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 32px;
  }

  .info-bloc {
    max-width: 100%;
  }

  .services {
    padding-bottom: 1px;
  }

  .la-ferme,
.visite-de-la-ferme,
.les-ateliers {
  margin-bottom: 32px;
}

  .page-content {
    gap: 24px; /* ou 16px si tu veux très serré */
  }
  .services > section {
    margin-bottom: 0;
  }
   .les-ateliers-texte {
    margin-bottom: 0;
  }
  .section-titre,
  .a-propos-titre {
    margin-top: 20px;
  }
  .footer-mentions {
    font-size: 11px;
    line-height: 14px;
    padding: 12px 16px;
  }
}

/* =========================
   TABLETTE (769px - 1024px)
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ---------- LAYOUT GLOBAL ---------- */

  .page-content {
    gap: 40px;
  }

  .main-wrapper {
    flex-direction: column;
    padding: 0 40px;
  }

  /* ---------- TEXTE ---------- */

  .services {
    width: 100%;
    max-width: 640px;   /* 👈 largeur idéale tablette */
  }

  .services > section {
    margin-bottom: 48px;
  }

  /* ---------- INFO EN DESSOUS ---------- */

  .info-col {
    position: static;
    width: 100%;
    max-width: 640%;
    margin-top: 0px;  
    padding-top: 0;      /* rapproche du texte précédent */
    padding: 0 40px;              /* pas de décalage interne */
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 32px;
  }

  /* ---------- COLLAGE ---------- */

  .collage {
    width: 100%;
    max-width: 900px;
    height: 620px;       /* un peu plus compact */
    left: 0;
    margin: 0 auto;
    transform: scale(0.7); /* 👈 adapte sans refaire le collage */
    transform-origin: top center;
  }
  .la-ferme,
.visite-de-la-ferme,
.les-ateliers {
  margin-bottom: 32px;
}

  .page-content {
    gap: 24px; /* ou 16px si tu veux très serré */
  }
  .services > section {
    margin-bottom: 0;
  }
   .les-ateliers-texte {
    margin-bottom: 0;
  }
  .section-titre,
  .a-propos-titre {
    margin-top: 20px;
  }
 
}
