/* =========================================
   FICHIER : css/projets.css
   PAGE    : /projets/ (index)
   STYLE   : premium, lumineux, lisible
   ========================================= */

/* -------------------------
   HERO
------------------------- */
.projects-hero{
  padding: clamp(130px, 12vw, 175px) 0 clamp(64px, 7vw, 92px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 350px at 18% 18%, rgba(255,110,64,0.22) 0%, rgba(255,110,64,0) 60%),
    radial-gradient(800px 320px at 85% 25%, rgba(245,240,225,0.18) 0%, rgba(245,240,225,0) 60%),
    linear-gradient(135deg, #0f2231 0%, #d9ecfc 100%);
}

.projects-hero::before{
  content:"";
  position:absolute;
  inset:-35%;
  background: radial-gradient(closest-side at 50% 50%, rgba(255,255,255,0.10), transparent 62%);
  transform: rotate(10deg);
  opacity: .9;
  pointer-events:none;
}

.projects-hero .container{ position: relative; z-index: 1; }

.projects-hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 12px;
}

.projects-hero h1{
  margin: 14px 0 10px;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 2.0rem + 2.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 25px rgba(0,0,0,0.22);
}

.projects-hero .lead{
  margin: 0 auto;
  max-width: 72ch;
  color: rgba(255,255,255,0.86);
  line-height: 1.7;
  font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.20rem);
}

.hero-actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-pills{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.pill:hover{
  transform: translateY(-2px);
  border-color: rgba(255,110,64,0.30);
  background: rgba(255,110,64,0.12);
}

/* -------------------------
   SECTIONS
------------------------- */
.projects-vision{
  padding: clamp(70px, 7vw, 95px) 0 clamp(60px, 6vw, 85px);
  background: #fcfbf8;
}

.projects-section{
  padding: clamp(70px, 7vw, 95px) 0 clamp(90px, 8vw, 120px);
  background: #fcfbf8;
}

.projects-section.alt{
  background: var(--color-sand);
}

.section-head{
  text-align: center;
  max-width: 920px;
  margin: 0 auto 22px;
}

.section-kicker{
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: rgba(255,110,64,0.95);
}

.section-head p{
  color: rgba(45,52,54,0.82);
  line-height: 1.75;
}

/* -------------------------
   VISION CARDS
------------------------- */
.vision-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.vision-card{
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(30,61,89,0.10);
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.vision-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,110,64,0.22);
  box-shadow: 0 18px 42px rgba(30,61,89,0.10);
}

.vision-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,110,64,0.12);
  border: 1px solid rgba(255,110,64,0.16);
  color: rgba(255,110,64,0.95);
  margin-bottom: 10px;
}

.vision-card h3{
  margin: 0 0 6px;
  color: var(--color-deep);
  font-size: 1.2rem;
}

.vision-card p{
  margin: 0;
  color: rgba(45,52,54,0.80);
  line-height: 1.7;
}

/* -------------------------
   PROJECT GRID + CARDS
------------------------- */
.projects-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.project-card{
  border-radius: 24px;
  border: 1px solid rgba(30,61,89,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}

.project-card::before{
  content:"";
  position:absolute;
  top:-45%;
  right:-30%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,110,64,0.10) 0%, rgba(255,255,255,0) 70%);
  pointer-events:none;
}

.project-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,110,64,0.22);
  box-shadow: 0 18px 42px rgba(30,61,89,0.10);
}

.card-top{
  padding: 18px 18px 8px;
  position: relative;
  z-index: 1;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(30,61,89,0.92);
  background: rgba(255,110,64,0.12);
  border: 1px solid rgba(255,110,64,0.18);
}

.card-top h3{
  margin: 10px 0 8px;
  color: var(--color-deep);
  font-family: var(--font-title);
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.card-top p{
  margin: 0;
  color: rgba(45,52,54,0.82);
  line-height: 1.75;
  font-size: 1.02rem;
}

.card-bottom{
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(30,61,89,0.08);
  position: relative;
  z-index: 1;
}

.tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag{
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(30,61,89,0.10);
  background: rgba(245,240,225,0.40);
  color: rgba(30,61,89,0.88);
  font-weight: 900;
  font-size: 0.90rem;
}

.cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.link-simple{
  color: rgba(30,61,89,0.92);
  text-decoration: none;
  font-weight: 900;
  border-bottom: 1px solid rgba(30,61,89,0.18);
  transition: color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.link-simple:hover{
  color: rgba(255,110,64,0.95);
  border-bottom-color: rgba(255,110,64,0.35);
}

/* -------------------------
   FRAME CARD (humanitaire/pro)
------------------------- */
.frame-card{
  max-width: 980px;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(30,61,89,0.10);
  background: white;
  box-shadow: 0 18px 55px rgba(30,61,89,0.10);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.frame-card::before{
  content:"";
  position:absolute;
  top:-35%;
  right:-25%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,110,64,0.14) 0%, rgba(255,255,255,0) 70%);
  pointer-events:none;
}

.frame-card > *{ position: relative; z-index: 1; }

.frame-card h3{
  margin: 0 0 12px;
  font-family: var(--font-title);
  color: var(--color-deep);
  letter-spacing: -0.02em;
}

.checklist{
  list-style: none;
  padding-left: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

.checklist li{
  position: relative;
  padding-left: 28px;
  color: rgba(45,52,54,0.82);
  line-height: 1.7;
}

.checklist li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,110,64,0.95);
  box-shadow: 0 0 0 4px rgba(255,110,64,0.14);
}

/* -------------------------
   FINAL CTA
------------------------- */
.projects-cta{
  padding: 80px 0 110px;
  background: #fcfbf8;
}

.cta-box{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-radius: 26px;
  border: 1px solid rgba(30,61,89,0.10);
  background: white;
  box-shadow: 0 18px 55px rgba(30,61,89,0.10);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.cta-box::before{
  content:"";
  position:absolute;
  top:-35%;
  right:-25%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,110,64,0.14) 0%, rgba(255,255,255,0) 70%);
  pointer-events:none;
}

.cta-box > *{ position: relative; z-index: 1; }

.cta-box h2{
  margin: 0 0 6px;
  font-family: var(--font-title);
  color: var(--color-deep);
  letter-spacing: -0.02em;
}

.cta-box p{
  margin: 0;
  color: rgba(45,52,54,0.82);
  line-height: 1.75;
  max-width: 70ch;
}

.cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------------
   RESPONSIVE
------------------------- */
@media (max-width: 980px){
  .vision-grid{
    grid-template-columns: 1fr;
  }
  .projects-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px){
  .cta{
    flex-direction: column;
    align-items: flex-start;
  }
}