  :root{
    --bg:#F3F1E6;
    --bg-soft:#EBE6D4;
    --paper:#FBFAF4;
    --ink:#23291F;
    --ink-soft:#565A4E;
    --forest:#2F4A2E;
    --forest-dark:#1D2E1C;
    --clay:#B15E2E;
    --gold:#CE9A3C;
    --line:#D7CFB6;
    --radius:2px;

    /* Motif botanique reutilise en filigrane sur plusieurs sections.
       C'est un SVG embarque : aucune image a telecharger. */
    --leaf-pattern:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22200%22%20height=%22200%22%20viewBox=%220%200%20200%20200%22%3E%20%3Cg%20fill=%22none%22%20stroke=%22%232F4A2E%22%20stroke-width=%221.4%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%20%3Cpath%20d=%22M30%2020c0%2018%208%2030%2018%2036M30%2020c-10%206-14%2018-12%2028M30%2020c10%206%2014%2018%2012%2028%22/%3E%20%3Cpath%20d=%22M150%2035c-14%2010-18%2024-14%2038M150%2035c12%202%2020%2012%2022%2024M150%2035c-10-6-22-4-30%204%22/%3E%20%3Cpath%20d=%22M100%20100c0%2014%206%2024%2014%2030M100%20100c-8%204-12%2014-10%2022M100%20100c8%204%2012%2014%2010%2022%22/%3E%20%3Cpath%20d=%22M45%20150c10%208%2014%2020%2012%2032M45%20150c-10%202-16%2010-18%2020M45%20150c8-6%2018-6%2026%200%22/%3E%20%3Cpath%20d=%22M165%20145c-8%2010-10%2022-6%2032M165%20145c10%204%2014%2014%2014%2024M165%20145c-8-6-18-4-24%204%22/%3E%20%3Cellipse%20cx=%2275%22%20cy=%2262%22%20rx=%227%22%20ry=%2213%22%20transform=%22rotate%28-30%2075%2062%29%22/%3E%20%3Cellipse%20cx=%22125%22%20cy=%22170%22%20rx=%227%22%20ry=%2213%22%20transform=%22rotate%2825%20125%20170%29%22/%3E%20%3Cellipse%20cx=%2218%22%20cy=%2295%22%20rx=%226%22%20ry=%2212%22%20transform=%22rotate%2815%2018%2095%29%22/%3E%20%3Cellipse%20cx=%22185%22%20cy=%2288%22%20rx=%226%22%20ry=%2212%22%20transform=%22rotate%28-20%20185%2088%29%22/%3E%20%3C/g%3E%20%3C/svg%3E");
    /* meme motif en clair, pour les sections a fond sombre */
    --leaf-pattern-light:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22200%22%20height=%22200%22%20viewBox=%220%200%20200%20200%22%3E%20%3Cg%20fill=%22none%22%20stroke=%22%23FBFAF4%22%20stroke-width=%221.4%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%20%3Cpath%20d=%22M30%2020c0%2018%208%2030%2018%2036M30%2020c-10%206-14%2018-12%2028M30%2020c10%206%2014%2018%2012%2028%22/%3E%20%3Cpath%20d=%22M150%2035c-14%2010-18%2024-14%2038M150%2035c12%202%2020%2012%2022%2024M150%2035c-10-6-22-4-30%204%22/%3E%20%3Cpath%20d=%22M100%20100c0%2014%206%2024%2014%2030M100%20100c-8%204-12%2014-10%2022M100%20100c8%204%2012%2014%2010%2022%22/%3E%20%3Cpath%20d=%22M45%20150c10%208%2014%2020%2012%2032M45%20150c-10%202-16%2010-18%2020M45%20150c8-6%2018-6%2026%200%22/%3E%20%3Cpath%20d=%22M165%20145c-8%2010-10%2022-6%2032M165%20145c10%204%2014%2014%2014%2024M165%20145c-8-6-18-4-24%204%22/%3E%20%3Cellipse%20cx=%2275%22%20cy=%2262%22%20rx=%227%22%20ry=%2213%22%20transform=%22rotate%28-30%2075%2062%29%22/%3E%20%3Cellipse%20cx=%22125%22%20cy=%22170%22%20rx=%227%22%20ry=%2213%22%20transform=%22rotate%2825%20125%20170%29%22/%3E%20%3Cellipse%20cx=%2218%22%20cy=%2295%22%20rx=%226%22%20ry=%2212%22%20transform=%22rotate%2815%2018%2095%29%22/%3E%20%3Cellipse%20cx=%22185%22%20cy=%2288%22%20rx=%226%22%20ry=%2212%22%20transform=%22rotate%28-20%20185%2088%29%22/%3E%20%3C/g%3E%20%3C/svg%3E");
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:'Work Sans', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.serif{
    font-family:'Fraunces', serif;
    font-weight:500;
    color:var(--forest-dark);
    margin:0;
  }
  p{margin:0;}
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
  section{padding:88px 0;}
  @media(max-width:640px){section{padding:64px 0;}}
  /* le header est sticky : on decale l'ancrage pour que les titres
     ne passent pas dessous quand on clique un lien du footer */
  section[id]{scroll-margin-top:86px;}

  a:focus-visible, button:focus-visible{
    outline:2px solid var(--clay);
    outline-offset:3px;
  }

  /* ---------- Header ---------- */
  header{
    position:sticky; top:0; z-index:20;
    background:rgba(243,241,230,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 24px;
    max-width:1080px; margin:0 auto;
  }
  .logo{
    font-family:'Fraunces', serif;
    font-size:1.15rem;
    letter-spacing:0.01em;
    color:var(--forest-dark);
    text-decoration:none;
  }
  .logo span{color:var(--clay);}
  .nav a.btn-nav{
    font-size:0.9rem;
    text-decoration:none;
    color:var(--ink);
    border-bottom:1px solid var(--ink);
    padding-bottom:2px;
  }

  /* ---------- Hero ---------- */
  .hero{
    padding:120px 0 96px;
    position:relative;
    overflow:hidden;
    background:var(--bg);
  }
  /* Fond agronomique : paysage de ferme (illustration SVG embarquee dans
     le projet, donc toujours disponible et tres legere ~4 Ko).
     Pour utiliser une vraie photo de la ferme, remplace simplement
     l'url() ci-dessous par le chemin de l'image. */
  .hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:url('../img/paysage-ferme.svg') right center/cover no-repeat;
    /* fondu progressif : la photo s'efface sous le texte, a gauche */
    -webkit-mask-image:linear-gradient(100deg, transparent 0%, transparent 34%, rgba(0,0,0,0.55) 52%, #000 72%);
    mask-image:linear-gradient(100deg, transparent 0%, transparent 34%, rgba(0,0,0,0.55) 52%, #000 72%);
    z-index:0;
  }
  /* filigrane vegetal par-dessus la photo */
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image:var(--leaf-pattern);
    background-size:300px;
    opacity:0.07;
    pointer-events:none;
    z-index:1;
  }
  .hero .wrap{position:relative; z-index:2;}
  @media(max-width:820px){
    .hero{padding:88px 0 72px;}
    .hero::after{
      background-position:center bottom;
      -webkit-mask-image:linear-gradient(180deg, transparent 0%, transparent 42%, rgba(0,0,0,0.5) 62%, #000 84%);
      mask-image:linear-gradient(180deg, transparent 0%, transparent 42%, rgba(0,0,0,0.5) 62%, #000 84%);
    }
  }
  .hero .wrap{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:56px;
    align-items:center;
  }
  @media(max-width:820px){
    .hero .wrap{grid-template-columns:1fr;}
  }
  .hero-tag{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-size:1.15rem;
    color:var(--clay);
    margin-bottom:18px;
  }
  .hero h1{
    font-size:clamp(2.1rem, 4.2vw, 3.1rem);
    line-height:1.12;
    max-width:16ch;
  }
  .hero p.lead{
    margin-top:24px;
    max-width:46ch;
    color:var(--ink-soft);
    font-size:1.05rem;
  }

  /* cycle graphic */
  .cycle-graphic{
    position:relative;
    width:100%;
    max-width:340px;
    aspect-ratio:1/1;
    margin:0 auto;
  }
  .cycle-ring{
    position:absolute; inset:0;
    border-radius:50%;
    border:1.5px dashed var(--line);
    animation:tourne 70s linear infinite;   /* rotation tres lente */
  }
  /* second anneau, en sens inverse, pour donner de la profondeur */
  .cycle-graphic::after{
    content:"";
    position:absolute; inset:9%;
    border-radius:50%;
    border:1px dashed rgba(206,154,60,0.35);
    animation:tourne 95s linear infinite reverse;
    pointer-events:none;
  }
  @keyframes tourne{to{transform:rotate(360deg);}}
  @keyframes respire{
    0%,100%{transform:scale(1);}
    50%{transform:scale(1.035);}
  }
  .cycle-core{
    animation:respire 7s ease-in-out infinite;
    position:absolute; inset:32%;
    border-radius:50%;
    background:var(--forest);
    display:flex; align-items:center; justify-content:center;
    text-align:center;
    color:var(--paper);
    font-family:'Fraunces', serif;
    font-style:italic;
    font-size:0.95rem;
    padding:14px;
    line-height:1.3;
  }
  .cycle-node{
    position:absolute;
    width:56px; height:56px;
    border-radius:50%;
    background:var(--paper);
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    animation:pop 0.6s ease both;
  }
  .cycle-node svg{
    width:24px;height:24px;stroke:var(--forest-dark);
    transition:stroke 0.3s ease, transform 0.3s ease;
  }
  .cycle-node{
    transition:box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow:0 2px 10px rgba(29,46,28,0.06);
  }
  .cycle-node:hover{
    border-color:var(--gold);
    box-shadow:0 6px 18px rgba(29,46,28,0.14);
  }
  .cycle-node:hover svg{stroke:var(--clay); transform:scale(1.12);}
  .cycle-node:nth-child(2){top:-6%; left:50%; transform:translateX(-50%);}
  .cycle-node:nth-child(3){top:22%; right:-6%;}
  .cycle-node:nth-child(4){bottom:8%; right:8%;}
  .cycle-node:nth-child(5){bottom:8%; left:8%;}
  .cycle-node:nth-child(6){top:22%; left:-6%;}

  @keyframes pop{
    from{opacity:0; transform:scale(0.7);}
    to{opacity:1; transform:scale(1);}
  }
  .cycle-node:nth-child(2){animation-delay:0.05s;}
  .cycle-node:nth-child(3){animation-delay:0.15s;}
  .cycle-node:nth-child(4){animation-delay:0.25s;}
  .cycle-node:nth-child(5){animation-delay:0.35s;}
  .cycle-node:nth-child(6){animation-delay:0.45s;}

  @media (prefers-reduced-motion: reduce){
    .cycle-node{animation:none; opacity:1;}
  }

  /* ---------- Section heads ---------- */
  .section-head{
    max-width:56ch;
    margin-bottom:48px;
  }
  .section-head h2{
    font-size:clamp(1.6rem, 3vw, 2.15rem);
  }
  .section-head p{
    margin-top:14px;
    color:var(--ink-soft);
  }

  /* ---------- Histoire / timeline ---------- */
  .story{
    background:var(--paper);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    position:relative;
    overflow:hidden;
  }
  /* filigrane botanique tres discret, cote droit */
  .story::before{
    content:"";
    position:absolute;
    top:0; right:0; bottom:0;
    width:45%;
    background-image:var(--leaf-pattern);
    background-size:300px;
    opacity:0.09;
    pointer-events:none;
  }
  .story .wrap{position:relative; z-index:1;}
  .timeline{
    display:grid;
    gap:0;
    max-width:640px;
  }
  .timeline-item{
    display:grid;
    grid-template-columns:28px 1fr;
    gap:20px;
    padding-bottom:34px;
    position:relative;
  }
  .timeline-item:last-child{padding-bottom:0;}
  .timeline-dot{
    width:9px; height:9px; border-radius:50%;
    background:var(--clay);
    margin-top:7px;
    position:relative;
    z-index:1;
  }
  .timeline-item:not(:last-child)::before{
    content:"";
    position:absolute;
    left:4px; top:20px; bottom:0;
    width:1px;
    background:var(--line);
  }
  .timeline-item h3{
    font-size:1.05rem;
    font-weight:600;
    margin-bottom:4px;
  }
  .timeline-item p{color:var(--ink-soft); font-size:0.96rem;}

  blockquote{
    margin:56px 0 0;
    padding-left:24px;
    border-left:2px solid var(--clay);
    font-family:'Fraunces', serif;
    font-style:italic;
    font-size:1.3rem;
    color:var(--forest-dark);
    max-width:38ch;
  }

  /* ---------- Équipe ---------- */
  .team{
    position:relative;
    overflow:hidden;
  }
  /* filigrane botanique cote gauche, en contrepoint de la section histoire */
  .team::before{
    content:"";
    position:absolute;
    top:0; left:0; bottom:0;
    width:38%;
    background-image:var(--leaf-pattern);
    background-size:290px;
    opacity:0.08;
    pointer-events:none;
  }
  .team .wrap{position:relative; z-index:1;}

  .team-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:start;
  }
  @media(max-width:760px){.team-grid{grid-template-columns:1fr;}}

  .ceo-card{
    display:flex; gap:20px; align-items:flex-start;
  }
  .avatar{
    flex:none;
    position:relative;
    width:92px; height:92px;
    border-radius:50%;
    background:linear-gradient(150deg, var(--forest), var(--clay));
    color:var(--paper);
    display:flex; align-items:center; justify-content:center;
    font-family:'Fraunces', serif;
    font-size:1.6rem;
    /* fin liseré dore, comme un cadre */
    box-shadow:0 0 0 1px var(--line), 0 0 0 5px var(--bg), 0 0 0 6px rgba(206,154,60,0.45);
    transition:box-shadow 0.35s ease, transform 0.35s ease;
  }
  .ceo-card:hover .avatar{
    transform:translateY(-2px);
    box-shadow:0 0 0 1px var(--line), 0 0 0 5px var(--bg), 0 0 0 6px rgba(206,154,60,0.9);
  }

  /* variante avec photo */
  .avatar-photo{
    background:var(--bg-soft);
    overflow:hidden;
  }
  .avatar-photo img{
    width:100%; height:100%;
    object-fit:cover;      /* rogne sans deformer le visage */
    object-position:center top;
    display:block;
    transition:transform 0.5s ease;
  }
  .ceo-card:hover .avatar-photo img{transform:scale(1.06);}
  .ceo-card h3{font-size:1.2rem;}
  .ceo-role{color:var(--ink-soft); font-size:0.92rem; margin-top:2px;}
  .ceo-desc{margin-top:12px; color:var(--ink-soft); font-size:0.96rem; max-width:38ch;}
  .ceo-links{margin-top:16px; display:flex; gap:12px; flex-wrap:wrap;}
  .pill{
    display:inline-flex; align-items:center; gap:8px;
    font-size:0.88rem;
    padding:8px 14px;
    border:1px solid var(--ink);
    border-radius:999px;
    text-decoration:none;
    color:var(--ink);
    transition:background 0.15s ease, color 0.15s ease;
  }
  .pill:hover{background:var(--ink); color:var(--paper);}
  .pill svg{width:15px; height:15px; stroke:currentColor; fill:none;}

  .poles-label{
    font-size:0.85rem;
    color:var(--ink-soft);
    margin-bottom:14px;
  }
  .poles-list{list-style:none; margin:0; padding:0;}
  .poles-list li{
    padding:14px 0;
    border-top:1px solid var(--line);
    font-size:0.98rem;
  }
  .poles-list li:last-child{border-bottom:1px solid var(--line);}

  /* ---------- Impact ---------- */
  .impact{
    color:var(--paper);
    position:relative;
    overflow:hidden;
    /* Fond agronomique : rangs de cultures en perspective, assombris
       pour garder un contraste de texte suffisant (accessibilite). */
    background:
      linear-gradient(160deg, rgba(29,46,28,0.82) 0%, rgba(34,53,31,0.72) 50%, rgba(29,46,28,0.86) 100%),
      url('../img/rangs-cultures.svg') center/cover no-repeat,
      var(--forest-dark);
  }
  .impact::before{
    content:"";
    position:absolute; inset:0;
    background-image:var(--leaf-pattern-light);
    background-size:320px;
    opacity:0.07;
    pointer-events:none;
  }
  .impact .wrap{position:relative; z-index:1;}
  .impact .section-head h2{color:var(--paper);}
  .impact .section-head p{color:#C9CFC0;}

  .impact-layout{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:56px;
    align-items:center;
  }
  @media(max-width:820px){.impact-layout{grid-template-columns:1fr; gap:40px;}}

  .stat{
    text-align:left;
  }
  .stat .num{
    font-family:'Fraunces', serif;
    font-size:clamp(3rem, 8vw, 4.6rem);
    line-height:1;
    color:var(--gold);
  }
  .stat .desc{margin-top:10px; color:#C9CFC0; max-width:26ch;}

  .activities{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:1px;
    background:rgba(255,255,255,0.14);
  }
  @media(max-width:480px){.activities{grid-template-columns:1fr;}}
  .activity{
    background:var(--forest-dark);
    padding:22px 20px;
  }
  .activity svg{width:26px; height:26px; stroke:var(--gold); fill:none; margin-bottom:12px;}
  .activity h3{color:var(--paper); font-size:1rem; font-weight:600; font-family:'Work Sans', sans-serif;}
  .activity p{margin-top:4px; font-size:0.86rem; color:#B7BEAC;}

  /* ---------- Market ---------- */
  .market{
    position:relative;
    overflow:hidden;
    background:var(--bg);
    min-height:380px;
  }
  /* Fond agronomique : silhouettes d'elevage (volaille, lapin, poissons)
     en rappel des activites de la ferme. */
  .market::after{
    content:"";
    position:absolute;
    inset:0;
    /* 'auto 100%' : toute la hauteur de la scene reste visible,
       les silhouettes ne sont pas rognees. */
    background:url('../img/ferme-animaux.svg') right bottom/auto 100% no-repeat;
    /* le fondu demarre loin a droite : le texte reste sur fond uni */
    -webkit-mask-image:linear-gradient(95deg, transparent 0%, transparent 54%, rgba(0,0,0,0.45) 68%, #000 86%);
    mask-image:linear-gradient(95deg, transparent 0%, transparent 54%, rgba(0,0,0,0.45) 68%, #000 86%);
    opacity:0.9;
    z-index:0;
  }
  @media(max-width:820px){
    .market::after{
      background-position:center bottom;
      -webkit-mask-image:linear-gradient(180deg, transparent 0%, transparent 48%, rgba(0,0,0,0.45) 66%, #000 88%);
      mask-image:linear-gradient(180deg, transparent 0%, transparent 48%, rgba(0,0,0,0.45) 66%, #000 88%);
    }
  }

  .market .wrap{
    display:grid;
    grid-template-columns:1fr;
    max-width:720px;
    position:relative;
    z-index:1;
  }
  .market h2{font-size:clamp(1.7rem,3.4vw,2.3rem);}
  .market p{margin-top:18px; color:var(--ink-soft); max-width:56ch;}
  .market-cta{
    margin-top:28px;
    display:inline-flex; align-items:center; gap:10px;
    background:var(--clay); color:var(--paper);
    padding:13px 24px;
    text-decoration:none;
    font-size:0.95rem;
    border-radius:999px;
    transition:background 0.15s ease;
  }
  .market-cta:hover{background:var(--forest-dark);}
  .market-cta svg{width:16px; height:16px; stroke:currentColor; fill:none;}

  /* ---------- Contact ---------- */
  .connect{
    background:var(--bg-soft);
    border-top:1px solid var(--line);
    position:relative;
    overflow:hidden;
  }
  .connect::before{
    content:"";
    position:absolute; inset:0;
    background-image:var(--leaf-pattern);
    background-size:300px;
    opacity:0.09;
    pointer-events:none;
  }
  .connect .wrap{position:relative; z-index:1;}
  .connect-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  @media(max-width:720px){.connect-grid{grid-template-columns:repeat(2,1fr);}}
  .connect-item{
    background:var(--paper);
    padding:28px 20px;
    text-decoration:none;
    color:var(--ink);
    display:flex; flex-direction:column; gap:12px;
    transition:background 0.15s ease;
  }
  .connect-item:hover{background:var(--bg);}
  .connect-item svg{width:22px; height:22px; stroke:var(--forest-dark); fill:none;}
  .connect-item span.label{font-size:0.95rem; font-weight:500;}
  .connect-item span.sub{
    font-size:0.82rem;
    color:var(--ink-soft);
    /* coupe l'adresse e-mail proprement plutot qu'au milieu d'un mot */
    overflow-wrap:anywhere;
    hyphens:none;
    line-height:1.45;
  }

  /* ================================================================
     FOOTER — structure reprise du fichier index.html d'origine
     (footer-container / footer-brand / footer-links / footer-mission
     / footer-socials / footer-bottom), recoloree avec la palette
     terre & foret de cette page.
     ================================================================ */
  #footer{
    position:relative;
    background:var(--forest-dark);
    color:rgba(251,250,244,0.85);
    padding-top:4rem;
    overflow:hidden;
  }
  /* voile vegetal discret en fond de footer */
  #footer::before{
    content:"";
    position:absolute; inset:0;
    background-image:var(--leaf-pattern-light);
    background-size:320px;
    opacity:0.07;
    pointer-events:none;
  }
  #footer > *{position:relative; z-index:1;}

  .footer-container{
    max-width:1080px;
    margin:0 auto;
    padding:0 24px 3rem;
    display:grid;
    grid-template-columns:2fr 1fr 2fr;
    gap:3rem;
  }
  .footer-brand p{
    font-size:0.9rem;
    line-height:1.7;
    color:rgba(251,250,244,0.75);
  }
  .footer-brand strong{color:var(--paper);}

  .footer-links h4,
  .footer-mission h4{
    font-family:'Fraunces', serif;
    font-weight:700;
    color:var(--gold);
    margin:0 0 1rem;
    font-size:0.95rem;
    text-transform:uppercase;
    letter-spacing:0.08em;
  }
  .footer-links{
    display:flex;
    flex-direction:column;
    gap:0.5rem;
  }
  .footer-links a{
    font-size:0.9rem;
    color:rgba(251,250,244,0.75);
    text-decoration:none;
    transition:color 0.25s ease, padding-left 0.25s ease;
  }
  .footer-links a:hover{color:var(--gold); padding-left:6px;}

  .footer-mission p{
    font-size:0.9rem;
    color:rgba(251,250,244,0.75);
    line-height:1.7;
  }

  .footer-socials{
    display:flex;
    gap:0.6rem;
    margin-top:1rem;
    flex-wrap:wrap;
  }
  .footer-social-btn{
    display:inline-flex;
    align-items:center;
    gap:0.35rem;
    background:rgba(251,250,244,0.1);
    color:var(--paper);
    padding:0.4rem 0.9rem;
    border-radius:20px;
    font-size:0.78rem;
    font-weight:600;
    font-family:'Fraunces', serif;
    text-decoration:none;
    transition:background 0.25s ease, transform 0.25s ease;
  }
  .footer-social-btn:hover{background:rgba(251,250,244,0.2); transform:translateY(-2px);}
  .footer-social-btn.fb{background:rgba(24,119,242,0.7);}
  .footer-social-btn.fb:hover{background:rgba(24,119,242,1);}
  .footer-social-btn.li{background:rgba(0,119,181,0.7);}
  .footer-social-btn.li:hover{background:rgba(0,119,181,1);}
  .footer-social-btn.wa{background:rgba(37,211,102,0.7); color:#12301D;}
  .footer-social-btn.wa:hover{background:rgba(37,211,102,1);}

  .footer-bottom{
    border-top:1px solid rgba(251,250,244,0.1);
    text-align:center;
    padding:1.25rem 24px;
  }
  .footer-bottom p{font-size:0.83rem; color:rgba(251,250,244,0.5);}

  @media(max-width:820px){
    .footer-container{grid-template-columns:1fr 1fr; gap:2rem;}
  }
  @media(max-width:560px){
    .footer-container{grid-template-columns:1fr;}
  }

  /* ================================================================
     TOUCHES D'ANIMATION ET DE DETAIL
     Tout est desactive automatiquement pour les personnes ayant
     choisi "reduire les animations" dans leur systeme (voir le bloc
     prefers-reduced-motion en fin de fichier).
     ================================================================ */

  /* --- Revelation au defilement (pilotee par assets/js/page.js) --- */
  .reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity 0.7s ease, transform 0.7s cubic-bezier(.22,.8,.3,1);
    will-change:opacity, transform;
  }
  .reveal.vu{opacity:1; transform:none;}
  /* leger decalage en cascade entre elements voisins */
  .reveal[data-delai="1"]{transition-delay:0.09s;}
  .reveal[data-delai="2"]{transition-delay:0.18s;}
  .reveal[data-delai="3"]{transition-delay:0.27s;}
  .reveal[data-delai="4"]{transition-delay:0.36s;}

  /* --- Titres de section : petit trait dore qui se deploie --- */
  .section-head h2{position:relative; display:inline-block;}
  .section-head h2::after{
    content:"";
    position:absolute;
    left:0; bottom:-10px;
    height:2px; width:0;
    background:linear-gradient(90deg, var(--clay), var(--gold));
    transition:width 0.9s cubic-bezier(.22,.8,.3,1) 0.15s;
  }
  .section-head.vu h2::after{width:62px;}
  .impact .section-head h2::after{background:linear-gradient(90deg, var(--gold), transparent);}

  /* --- Timeline : les pastilles s'allument, le trait se remplit --- */
  .timeline-dot{
    box-shadow:0 0 0 0 rgba(177,94,46,0.35);
    transition:box-shadow 0.4s ease, transform 0.4s ease;
  }
  .timeline-item:hover .timeline-dot{
    transform:scale(1.35);
    box-shadow:0 0 0 6px rgba(177,94,46,0.12);
  }
  .timeline-item:not(:last-child)::before{
    transform-origin:top;
    transform:scaleY(0);
    transition:transform 0.8s ease 0.2s;
  }
  .timeline-item.vu:not(:last-child)::before{transform:scaleY(1);}
  .timeline-item h3{transition:color 0.3s ease;}
  .timeline-item:hover h3{color:var(--clay);}

  /* --- Cartes d'activite : relief au survol --- */
  .activity{
    position:relative;
    transition:background 0.35s ease, transform 0.35s ease;
  }
  .activity::before{
    content:"";
    position:absolute; left:0; top:0; bottom:0;
    width:2px;
    background:var(--gold);
    transform:scaleY(0);
    transform-origin:center;
    transition:transform 0.4s ease;
  }
  .activity:hover{background:rgba(255,255,255,0.05);}
  .activity:hover::before{transform:scaleY(1);}
  .activity svg{transition:transform 0.4s ease;}
  .activity:hover svg{transform:translateY(-3px) scale(1.08);}

  /* --- Cartes de contact : soulevement discret --- */
  .connect-item{
    transition:transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  }
  .connect-item:hover{
    transform:translateY(-4px);
    border-color:var(--gold);
    box-shadow:0 10px 26px rgba(29,46,28,0.10);
  }

  /* --- Citation : guillemet decoratif --- */
  blockquote{position:relative;}
  blockquote::before{
    content:"\201C";
    position:absolute;
    left:-6px; top:-34px;
    font-family:'Fraunces', serif;
    font-size:5rem;
    line-height:1;
    color:var(--gold);
    opacity:0.25;
    pointer-events:none;
  }

  /* --- Bouton principal : lueur qui traverse --- */
  .market-cta{position:relative; overflow:hidden;}
  .market-cta::after{
    content:"";
    position:absolute; top:0; left:-120%;
    width:60%; height:100%;
    background:linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
    transition:left 0.65s ease;
  }
  .market-cta:hover::after{left:130%;}

  /* --- Separateur vegetal entre deux sections --- */
  .feuille-sep{
    display:block;
    width:52px; height:auto;
    margin:0 0 18px;      /* aligne a gauche, au-dessus du titre */
    opacity:0.6;
  }
  .feuille-sep path, .feuille-sep ellipse{
    stroke:var(--clay);
    fill:none;
    stroke-width:1.4;
  }


  /* ================================================================
     Respect du reglage systeme "reduire les animations"
     ================================================================ */
  @media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
      animation-duration:0.001ms !important;
      animation-iteration-count:1 !important;
      transition-duration:0.001ms !important;
      scroll-behavior:auto !important;
    }
    .reveal{opacity:1 !important; transform:none !important;}
    .section-head h2::after{width:62px !important;}
    .timeline-item:not(:last-child)::before{transform:scaleY(1) !important;}
  }
