:root{
    --green-dark:#123524;
    --green-deep:#0d2a1b;
    --green-main:#1e5c3a;
    --green-accent:#3fae4e;
    --green-light:#eaf6e6;
    --green-pale:#f3faef;
    --cream:#fbfdf9;
    --blue:#1e3a5f;
    --gold:#c9962c;
    --purple:#5b3b8c;
    --lightgreen:#6fae4e;
    --navy:#16283d;
    --text-dark:#152318;
    --text-muted:#4b5c50;
    --map-teal:#2f7d7a;
    --map-green:#a8d08d;
    --map-yellow:#e8c547;
    --map-gray:#c3d0da;
    --radius:16px;
    font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{
    background:var(--cream);
    color:var(--text-dark);
    line-height:1.5;
    overflow-x:hidden;
  }
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}
  img,svg{display:block; max-width:100%;}
  .container{max-width:1280px; margin:0 auto; padding:0 40px;}
  @media(max-width:900px){.container{padding:0 20px;}}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(251,253,249,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(0,0,0,0.05);
  }
  .nav-wrap{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 40px; max-width:1280px; margin:0 auto;
  }
  .logo{display:flex; align-items:center; gap:10px;}
  .logo-text{display:flex; flex-direction:column; line-height:1.05;}
  .logo-title{font-size:22px; font-weight:800; color:var(--green-main); letter-spacing:0.5px;}
  .logo-title sup{font-size:10px;}
  .logo-sub{font-size:10px; font-weight:700; letter-spacing:3px; color:var(--green-main); opacity:0.85;}
  .logo-tag{font-size:10.5px; color:var(--text-muted); font-style:italic; margin-top:1px;}
  .bird-icon{width:34px; height:34px;}
  nav ul{display:flex; gap:34px; align-items:center;}
  nav a.nav-link{font-size:14.5px; font-weight:600; color:var(--text-dark); position:relative; padding:4px 0;}
  nav a.nav-link::after{
    content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
    background:var(--green-accent); transition:width .25s ease;
  }
  nav a.nav-link:hover::after{width:100%;}
  .nav-soon{font-size:13px; font-weight:700; color:var(--green-main);}
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 22px; border-radius:999px; font-weight:700; font-size:14px;
    cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
    border:1.5px solid transparent; white-space:nowrap;
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-outline{border-color:var(--text-dark); color:var(--text-dark); background:transparent;}
  .btn-outline:hover{background:var(--text-dark); color:#fff;}
  .btn-primary{background:var(--green-dark); color:#fff; box-shadow:0 8px 20px rgba(18,53,36,0.25);}
  .btn-primary:hover{background:var(--green-main); box-shadow:0 10px 26px rgba(18,53,36,0.35);}
  .btn-cta-header{border-color:var(--text-dark); color:var(--text-dark); background:transparent;}
  .btn-cta-header:hover{background:var(--text-dark); color:#fff;}
  @media(max-width:640px){
    .nav-wrap{padding:10px 16px; gap:12px;}
    .img_logo img{width:88px !important; height:auto !important;}
    nav ul{gap:0;}
    nav a.nav-link{font-size:13px; white-space:nowrap;}
    .nav-soon{font-size:11px; text-align:right; line-height:1.3;}
  }
  @media(max-width:360px){
    .nav-wrap{padding:9px 12px;}
    .img_logo img{width:76px !important;}
    nav a.nav-link{font-size:12px;}
  }
  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:linear-gradient(135deg,#eef9ea 0%, #f7fcf4 45%, #ffffff 100%);
    padding:70px 0 40px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
    max-width:1280px; margin:0 auto; padding:0 40px; position:relative; z-index:2;
  }
  @media(max-width:960px){.hero-grid{grid-template-columns:1fr; padding:0 24px;}}
  @media(max-width:640px){.hero-grid{padding:0 16px; gap:26px;}}
  .hero h1{
    font-size:44px; font-weight:800; line-height:1.15; letter-spacing:-0.5px;
    color:#0f1f15;
  }
  @media(max-width:640px){.hero h1{font-size:30px; letter-spacing:-0.3px;}}
  @media(max-width:360px){.hero h1{font-size:26px;}}
  .hero h1 .accent{color:var(--green-accent);}
  .hero p.lead{margin-top:18px; font-size:16.5px; color:var(--text-muted); max-width:480px;}
  @media(max-width:640px){.hero p.lead{font-size:14.5px; margin-top:12px;}}
  .hero-actions{display:flex; gap:16px; margin-top:30px; flex-wrap:wrap;}
  @media(max-width:640px){
    .hero-actions{gap:10px; margin-top:22px; flex-direction:column;}
    .hero-actions .btn{white-space:normal; text-align:center; width:100%; padding:13px 16px; font-size:13.5px;}
  }

  .hero-visual{position:relative; height:460px;}
  .bags-wrap{
    position:absolute; right:0; bottom:0; width:100%; height:100%;
  }

  /* ---------- VRAIES IMAGES DE SACS (remplace l'ancien SVG) ---------- */
  .bag-image{
    position:absolute;
    object-fit:contain;
    filter:drop-shadow(0 18px 26px rgba(18,53,36,0.22));
    border-radius:14px;
  }
  .bag-large{
    left:6%;
    bottom:4%;
    width:280px;
    max-width:52%;
    z-index:2;
  }
  .bag-small{
    right:15%;
    bottom:-5%;
    width:190px;
    max-width:40%;
    z-index:3;
  }
  @media(max-width:960px){
    .hero-visual{height:380px;}
    .bag-large{width:220px; left:2%;}
    .bag-small{width:150px; right:4%;}
  }
  @media(max-width:560px){
    .hero-visual{height:320px;}
    .bag-large{width:170px;}
    .bag-small{width:120px;}
  }

  .float-badge{
    position:absolute; width:52px; height:52px; border-radius:50%;
    background:#fff; box-shadow:0 10px 24px rgba(0,0,0,0.12);
    display:flex; align-items:center; justify-content:center;
    animation:float 4s ease-in-out infinite;
    z-index:4;
  }
  .float-badge svg{width:24px; height:24px;}
  @keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-14px);}}

  .impact-map{
    position:relative; background:#fff; border-radius:20px; padding:20px;
    box-shadow:0 20px 50px rgba(0,0,0,0.06);
    z-index:4;
  }
  .map-legend{display:flex; flex-direction:column; gap:8px; font-size:12px; color:var(--text-muted);}
  .legend-row{display:flex; align-items:center; gap:8px;}
  .legend-dot{width:11px; height:11px; border-radius:3px; flex-shrink:0;}

  /* ---------- ABOUT ---------- */
  .about{padding:60px 0 20px;}
  .about-grid{display:grid; grid-template-columns:1.6fr 1fr; gap:34px; align-items:stretch;}
  @media(max-width:800px){.about-grid{grid-template-columns:1fr;}}
  .about h2{font-size:28px; font-weight:800; margin-bottom:14px; color:#0f1f15;}
  .about p{color:var(--text-muted); font-size:15.5px; max-width:520px;}
  .about strong{color:var(--text-dark);}
  .about .anchor-link{display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:700; color:var(--green-main); font-size:14.5px;}
  .who-card{
    background:linear-gradient(160deg,#eaf6e6,#dff0da);
    border-radius:var(--radius); display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:14px; padding:30px; text-align:center;
  }
  .who-card .icon-circle{
    width:70px; height:70px; border-radius:18px; background:var(--green-main);
    display:flex; align-items:center; justify-content:center;
  }
  .who-card .icon-circle svg{width:34px; height:34px; stroke:#fff;}
  /* Cas où l'icône SVG porte directement la classe .icon-circle (sans div wrapper) */
  svg.who-card.icon-circle,
  .who-card svg.icon-circle{
    width:70px; height:70px; padding:18px; border-radius:18px;
    background:var(--green-main); stroke:#fff; box-sizing:border-box;
  }
  .who-card span{font-weight:700; color:var(--green-dark); font-size:15px;}

  /* ---------- ECOSYSTEM ---------- */
  .ecosystem{padding:50px 0 60px;}
  .eco-heading{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin-bottom:26px;}
  .eco-heading h2{font-size:22px; font-weight:800; color:#0f1f15; letter-spacing:0.3px;}
  .eco-heading span{font-size:14px; font-weight:700; color:var(--green-main); text-decoration:underline; cursor:pointer;}
  .eco-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
  @media(max-width:800px){.eco-grid{grid-template-columns:1fr 1fr;}}
  @media(max-width:520px){.eco-grid{grid-template-columns:1fr;}}
  .role-card{
    border-radius:14px; padding:22px 20px; color:#fff; min-height:118px;
    position:relative; overflow:hidden; cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .role-card:hover{transform:translateY(-6px); box-shadow:0 16px 30px rgba(0,0,0,0.18);}
  .role-card .role-icon{
    width:34px; height:34px; border-radius:9px; background:rgba(255,255,255,0.18);
    display:flex; align-items:center; justify-content:center; margin-bottom:12px;
  }
  .role-card .role-icon svg{width:18px; height:18px; stroke:#fff;}
  .role-card h3{font-size:15px; font-weight:800; letter-spacing:0.4px; margin-bottom:6px;}
  .role-card p{font-size:12px; opacity:0.85; line-height:1.4;}
  .role-sponsors{background:linear-gradient(135deg,#123524,#1e5c3a);}
  .role-fabricants{background:linear-gradient(135deg,#16283d,#1e3a5f);}
  .role-commercants{background:linear-gradient(135deg,#a97a1f,#c9962c);}
  .role-equipe{background:linear-gradient(135deg,#432866,#5b3b8c);}
  .role-recycleur{background:linear-gradient(135deg,#4c8a3a,#6fae4e);}
  .role-admin{background:linear-gradient(135deg,#0c1a29,#16283d);}

  /* ---------- IMPACT STATS ---------- */
  .impact{padding:10px 0 60px;}
  .impact h2{font-size:20px; font-weight:800; letter-spacing:0.3px; margin-bottom:22px; color:#0f1f15;}
  .impact-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
  @media(max-width:800px){.impact-grid{grid-template-columns:1fr;}}
  .stat-card{
    background:#fff; border-radius:var(--radius); padding:26px; text-align:center;
    box-shadow:0 8px 24px rgba(0,0,0,0.05); border:1px solid #eef1ec;
  }
  .stat-card h4{font-size:14.5px; font-weight:700; color:var(--text-muted); margin-bottom:10px;}
  .stat-card .stat-value{font-size:32px; font-weight:800; color:var(--green-main); margin-bottom:16px;}
  .bar-chart{display:flex; align-items:flex-end; gap:6px; height:60px; justify-content:center;}
  .bar-chart .bar{width:14px; border-radius:4px 4px 0 0; background:linear-gradient(180deg,#8ed17a,#3fae4e); height:0; transition:height 1.2s cubic-bezier(.2,.8,.2,1);}

  /* ---------- FOOTER ---------- */
  footer{background:var(--green-dark); color:#fff; padding:26px 0;}
  .footer-row{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;}
  .footer-copy{font-size:13px; opacity:0.8;}
  .footer-cta{
    background:#fff; color:var(--green-dark); font-weight:800; font-size:13px;
    padding:12px 26px; border-radius:999px; letter-spacing:0.4px;
  }
  .footer-right{display:flex; align-items:center; gap:12px; font-size:12.5px; opacity:0.9;}
  .footer-logo{width:36px; height:36px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center;}
  @media(max-width:640px){
    .footer-row{justify-content:center; text-align:center;}
  }

  /* ---------- PARTNER MODAL ---------- */
  .modal-overlay{
    position:fixed; inset:0; background:rgba(15,31,21,0.55);
    display:flex; align-items:center; justify-content:center;
    padding:20px; z-index:1000;
    opacity:0; pointer-events:none;
    transition:opacity .25s ease;
  }
  .modal-overlay.open{opacity:1; pointer-events:auto;}
  .modal-box{
    background:#fff; border-radius:18px; padding:32px;
    width:100%; max-width:520px; max-height:90vh; overflow-y:auto;
    position:relative;
    transform:translateY(20px) scale(0.98); transition:transform .25s ease;
    box-shadow:0 30px 60px rgba(0,0,0,0.25);
  }
  .modal-overlay.open .modal-box{transform:translateY(0) scale(1);}
  .modal-box h3{font-size:22px; font-weight:800; color:#0f1f15; margin-bottom:6px;}
  .modal-sub{font-size:13.5px; color:var(--text-muted); margin-bottom:22px;}
  .modal-close{
    position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%;
    border:none; background:var(--green-light); color:var(--green-dark); font-size:20px;
    line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .2s ease;
  }
  .modal-close:hover{background:#dcefd6;}
  .form-group{margin-bottom:16px;}
  .form-group label{display:block; font-size:13px; font-weight:700; color:var(--text-dark); margin-bottom:6px;}
  .form-group .req{color:#c0392b;}
  .form-group .optional{color:var(--text-muted); font-weight:500;}
  .form-group input,
  .form-group select,
  .form-group textarea{
    width:100%; padding:11px 13px; border-radius:10px; border:1.5px solid #e2e8e2;
    font-size:14px; font-family:inherit; color:var(--text-dark); background:#fbfdf9;
    transition:border-color .2s ease, box-shadow .2s ease;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus{
    outline:none; border-color:var(--green-accent); box-shadow:0 0 0 3px rgba(63,174,78,0.15);
  }
  .form-group textarea{resize:vertical;}
  .modal-submit{width:100%; justify-content:center; margin-top:6px; font-size:15px; padding:13px;}
  .modal-note{font-size:11.5px; color:var(--text-muted); text-align:center; margin-top:10px;}
  .form-group.error input,
  .form-group.error select{border-color:#c0392b; box-shadow:0 0 0 3px rgba(192,57,43,0.1);}
  .form-error-msg{color:#c0392b; font-size:11.5px; margin-top:4px; display:none;}
  .form-group.error .form-error-msg{display:block;}

  /* ---------- reveal ---------- */
  .reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.visible{opacity:1; transform:translateY(0);}