/* Tout est scoped dans .cnorme-etudes : zéro conflit global */

.cnorme-etudes{
  --cnorme-red:#9A090C;
  --cnorme-text:#111;
  --cnorme-muted:#666;
  --cnorme-border:#eee;
  --cnorme-shadow: 0 14px 35px rgba(0,0,0,.08);

  /* overlay (injecté inline) */
  --cnorme-etudes-overlay-a: rgba(24,29,78,0.55);
  --cnorme-etudes-overlay-b: rgba(24,29,78,0.55);

  width:100%;
  margin:0;
  padding:0;
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--cnorme-text);
}

.cnorme-etudes *{ box-sizing:border-box; }

.cnorme-etudes__container{
  width:min(1200px, 92%);
  margin:0 auto;
}

.cnorme-etudes__section{
  padding:70px 0;
}

.cnorme-etudes__section--tightTop{
  padding-top:35px;
}

.cnorme-etudes__title{
  margin:0 0 12px;
  text-align:center;
  color:var(--cnorme-red);
  font-weight:800;
  font-size:clamp(1.4rem, 2.2vw, 2rem);
}

.cnorme-etudes__text{
  margin:0 auto;
  text-align:center;
  color:var(--cnorme-muted);
  line-height:1.7;
  max-width:900px;
}

.cnorme-etudes__text--narrow{ max-width:760px; }
.cnorme-etudes__muted{ color:var(--cnorme-muted); }

/* HERO */
.cnorme-etudes__hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:70px 16px;
  background:#111;
  background-size:cover;
  background-position:center;
  margin:0;
}

.cnorme-etudes__heroOverlay{
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, var(--cnorme-etudes-overlay-a), var(--cnorme-etudes-overlay-b));
}

.cnorme-etudes__heroInner{
  position:relative;
  z-index:1;
  width:min(900px, 92%);
}

.cnorme-etudes__heroTitle{
  margin:0;
  color:#fff;
  font-weight:900;
  line-height:1.12;
  font-size:clamp(1.9rem, 4.3vw, 3.2rem);
}

.cnorme-etudes__heroSubtitle{
  margin:16px auto 26px;
  color:rgba(255,255,255,.92);
  line-height:1.6;
  max-width:760px;
}

/* Buttons */
.cnorme-etudes__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:.95rem;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
  white-space:nowrap;
  border:1px solid transparent;
}

.cnorme-etudes__btn--primary{
  background:var(--cnorme-red);
  color:#fff;
  border-color:var(--cnorme-red);
}

.cnorme-etudes__btn--primary:hover{
  transform:translateY(-1px);
  filter:brightness(.95);
}

.cnorme-etudes__btn--outline{
  background:transparent;
  color:var(--cnorme-red);
  border-color:rgba(154,9,12,.35);
}

.cnorme-etudes__btn--outline:hover{
  transform:translateY(-1px);
  border-color:var(--cnorme-red);
}

/* Grid cards */
.cnorme-etudes__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
  margin-top:30px;
}

.cnorme-etudes__card{
  background:#fff;
  border:1px solid var(--cnorme-border);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 22px rgba(0,0,0,.04);
  display:flex;
  flex-direction:column;
  min-height:440px;
  transition:transform .25s ease, box-shadow .25s ease;
}

.cnorme-etudes__card:hover{
  transform:translateY(-5px);
  box-shadow:var(--cnorme-shadow);
}

.cnorme-etudes__icon{
  width:52px;
  height:52px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(154,9,12,.08);
  color:var(--cnorme-red);
  font-size:22px;
  margin-bottom:14px;
}

.cnorme-etudes__cardTitle{
  margin:0 0 10px;
  font-weight:900;
  font-size:1.15rem;
}

.cnorme-etudes__cardText{
  margin:0 0 14px;
  color:var(--cnorme-muted);
  line-height:1.65;
  font-size:.95rem;
}

.cnorme-etudes__divider{
  margin:10px 0 14px;
  border-top:1px dashed #e8e8e8;
}

.cnorme-etudes__miniTitle{
  margin:0 0 8px;
  font-weight:800;
  font-size:.92rem;
}

.cnorme-etudes__list{
  margin:0;
  padding-left:18px;
  color:#444;
  line-height:1.6;
  font-size:.92rem;
}

.cnorme-etudes__cardActions{
  margin-top:auto;
  padding-top:18px;
}

/* Process section bg */
.cnorme-etudes__process{
  background:#F0EFEF;
  padding-top:55px;
  padding-bottom:55px;
}

/* Accordion */
.cnorme-etudes__accordion{
  margin-top:26px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cnorme-etudes__accItem{
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.03);
}

.cnorme-etudes__accSummary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
}

.cnorme-etudes__accSummary::-webkit-details-marker{ display:none; }

.cnorme-etudes__accNum{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(154,9,12,.08);
  color:var(--cnorme-red);
  font-weight:900;
}

.cnorme-etudes__accTitle{
  font-weight:900;
  flex:1;
}

.cnorme-etudes__accChev{
  opacity:.7;
  transition:transform .25s ease;
}

.cnorme-etudes__accItem[open] .cnorme-etudes__accChev{
  transform:rotate(180deg);
}

.cnorme-etudes__accBody{
  padding:0 16px 16px 74px;
}

/* WHY */
.cnorme-etudes__whyGrid{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

.cnorme-etudes__whyCard{
  background:#fff;
  border:1px solid var(--cnorme-border);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 22px rgba(0,0,0,.03);
  transition:transform .25s ease, box-shadow .25s ease;
}

.cnorme-etudes__whyCard:hover{
  transform:translateY(-5px);
  box-shadow:var(--cnorme-shadow);
}

.cnorme-etudes__whyTitle{
  margin:0 0 8px;
  font-weight:900;
  font-size:1.05rem;
}

/* CTA */
.cnorme-etudes__cta{
  background:#0f0f0f;
  color:#fff;
  padding:60px 0;
}

.cnorme-etudes__ctaBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:26px;
  background:linear-gradient(120deg, rgba(154,9,12,.22), rgba(255,255,255,.03));
}

.cnorme-etudes__ctaTitle{
  margin:0 0 8px;
  font-weight:900;
  font-size:clamp(1.2rem, 2.2vw, 1.8rem);
  color:#fff;
}

.cnorme-etudes__ctaText{
  margin:0;
  color:rgba(255,255,255,.88);
  line-height:1.6;
}

.cnorme-etudes__ctaActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Reduis les bordures du bouton qui est sur le overlay */
.btn-border-hero{border-radius:5px}

/* Responsive */
@media (max-width: 980px){
  .cnorme-etudes__grid{ grid-template-columns:1fr; }
  .cnorme-etudes__card{ min-height:auto; }
  .cnorme-etudes__whyGrid{ grid-template-columns:1fr; }
  .cnorme-etudes__ctaBox{ flex-direction:column; align-items:flex-start; }
  .cnorme-etudes__accBody{ padding-left:16px; }
}
