:root{
  --brand:#909b25;
  --p4:#7c96a3;
  --cap:#caab5d;
  --bac:#8a973d;
  --bts:#45521f;
  --admin:#8fae5d;
  --resto:#92542a;
  --surete:#472612;
  --animation:#6c8f5a;
  --bg:#f5f4ef;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
}

/* ================= GLOBAL ================= */

body{
  margin:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(144,155,37,0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(202,171,93,0.08), transparent 40%),
    var(--bg);
    color:var(--text);
}

/* ================= CONTENU ================= */

/* ===== HERO ORGANIGRAMME ===== */

.hero-organigramme{
  position:relative;
  min-height:55vh;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;

  padding:0 20px;
  overflow:hidden;

  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.55)),
    url("/assets/photos/hero/mfrmareuil.webp") center/cover no-repeat;
}

.hero-organigramme-content{
  max-width:850px;
  margin:0 auto;
  padding:20px;
}

.hero-kicker{
  display:inline-block;
  margin-bottom:14px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:800;
  color:#ceab5d;
}

.hero-organigramme h1{
  margin:0 0 15px;
  font-family:"Roboto Slab", serif;
  font-size:clamp(34px,5vw,54px);
  line-height:1.15;
}

.hero-organigramme p{
  max-width:850px;
  margin:0 auto;
  font-size:18px;
  line-height:1.45;
  opacity:0.9;
}

/* ===== INTRO ORGANIGRAMME ===== */

.intro-organigramme{
  padding:80px 20px 40px;
  background:linear-gradient(180deg,#f6f4ef,#ffffff);
}

.intro-organigramme-text{
  max-width:850px;
  margin:0 auto;
  text-align:center;
}

.intro-organigramme-text h2{
  font-family:"Roboto Slab", serif;
  font-size:clamp(30px,4vw,44px);
  color:#1f2a1f;
  margin:10px 0 24px;
}

.intro-organigramme-text p{
  max-width:760px;
  margin:14px auto;
  font-size:17px;
  line-height:1.8;
  color:#4a4f44;
  text-align:justify;
  hyphens:auto;
}

/* ===== SECTION ORGANIGRAMME ===== */

.organigramme-section{
  padding:50px 20px 100px;
  background:#f5f5f5;
}

.organigramme-section .wrap{
  width:min(100% - 32px, 1200px);
  margin:0 auto;
  padding-bottom:60px;
}

.section-head{
  text-align:center;
  margin-bottom:40px;
}

.section-head h2{
  font-family:"Roboto Slab", serif;
  font-size:clamp(28px,4vw,42px);
  margin:10px 0 0;
  color:#1f2a1f;
}

.section-label{
  display:block;
  font-size:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#909b25;
  font-weight:800;
}

/* ================= ORGANIGRAMME ================= */

.direction{
  display:flex;
  justify-content:center;
  gap:30px;
  margin-bottom:70px;
  flex-wrap:wrap;
}

.direction .card{
  background:linear-gradient(
    135deg,
    rgba(69,82,31,0.15),
    rgba(69,82,31,0.25)
  );
  padding:20px 30px;
  border-radius:20px;
}

.pedago{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  margin-bottom:40px;
}

.services{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
  align-items:stretch;
}

.pole{
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius:18px;
  padding:14px;

  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.pole-title{
  text-align:center;
  font-weight:700;
  font-size:0.75rem;
  color:white;
  padding:12px;
  border-radius:12px;
  margin-bottom:10px;
}

/* COLORS */
.p4 .pole-title{background:var(--p4);}
.cap .pole-title{background:var(--cap);}
.bac .pole-title{background:var(--bac);}
.bts .pole-title{background:var(--bts);}
.admin .pole-title{background:var(--admin);}
.resto .pole-title{background:var(--resto);}
.surete .pole-title{background:var(--surete);}
.animation .pole-title{background:var(--animation);}

/* LIST */
.list{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:8px;
}

.animation .pole-title{
  background:linear-gradient(135deg, var(--animation), #8fbf73);
}

.card{
  background: rgba(255,255,255,0.85); /* 🔥 léger translucide */
  backdrop-filter: blur(6px);         /* 🔥 effet premium */
  border-radius:12px;
  padding:12px 14px;

  box-shadow:
    0 4px 10px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: all 0.2s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.name{
  font-weight:500;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:0.2s;
}

.name:hover{
  color:var(--brand);
}

.role{
  font-size:0.75rem;
  color:var(--muted);
}

/* ================= MOBILE ================= */

@media(max-width:768px){

  .burger{
    display:flex;
  }

  .menu.active{
    transform:translateY(0);
    opacity:1;
  }

}