/* HERO */
.hero-page.hero-partenariats {
  background: url('assets/images/partenariats-hero.png') center 45%/cover no-repeat;
  color: #fff;
  padding: 6rem 0 4rem 0;
  text-align: center;
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Texte 3D premium */
.hero-page.hero-partenariats h1 {
  font-family: var(--font-sans, 'Montserrat', 'Inter', Arial, sans-serif);
  font-size: 2.7rem;
  color: #2B1C08;
  font-weight: 800;
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px #fff8, 0 1px 3px #0001; /* ombre blanche subtile */
}


.hero-page.hero-partenariats p {
  color: #2B1C08;
  font-family: var(--font-sans, 'Montserrat', 'Inter', Arial, sans-serif);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 4px #fff7, 0 1px 2px #0001; /* halo blanc léger */
}
/* Responsive */
@media (max-width: 900px) {
  .hero-page.hero-partenariats {
    padding: 3rem 0 2.5rem 0;
    min-height: 300px;
  }
  .hero-page.hero-partenariats h1 {
    font-size: 2rem;
  }
  .hero-page.hero-partenariats p {
    font-size: 1.02rem;
  }
}
/* Section 2*/
.partenaire-benefices {
  padding: 5rem 0 2rem 0;
  background: #fff; /* fond blanc */
  text-align: center;
}

.partenaire-benefices h2 {
  font-size: 2.3rem;
  font-family: var(--font-sans, 'Montserrat', 'Inter', Arial, sans-serif);
  font-weight: 800;
  color: #2B1C08;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
}

.benefices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
}

.benefice-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 6px 24px rgba(150, 80, 10, 0.07);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefice-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1.3rem;
}

.benefice-card h3 {
  color: #C76C13;
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
  font-family: var(--font-sans, 'Montserrat', 'Inter', Arial, sans-serif);
}

.benefice-card p {
  color: #2B1C08;
  font-size: 1.07rem;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.benefices-chiffre {
  margin-top: 2rem;
  font-weight: 600;
  color: #C76C13;
  font-size: 1.06rem;
}

/* Effet hover générique */
.benefice-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefice-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 28px rgba(150, 80, 10, 0.18);
}

/* Mise en avant de la carte "highlight" */
.benefice-card.highlight {
  border: 2px solid #FF8C00;
  box-shadow: 0 10px 28px rgba(255, 140, 0, 0.25);
  position: relative;
}
.benefice-card.highlight::after {
  content: "★";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.1rem;
  color: #FF8C00;
}
.benefice-card.highlight h3 {
  color: #FF8C00;
}
/* CTA Partenariats */
.benefices-cta {
  text-align: center;
  margin-top: 2.8rem;
}

.benefices-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #2B1C08;
}

.benefices-cta .cta-btn {
  display: inline-block;
  background: linear-gradient(90deg,#ff9500 0%,#ff7b00 100%);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255,140,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefices-cta .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,140,0,.3);
}
/* ===== HERO Partenariats — moderne & dynamique (DA orange) ===== */
.hero-partners{
  position: relative;
  overflow: clip;
  color:#fff;
  padding: 5.5rem 0 4.25rem;
  background:
    radial-gradient(1200px 480px at 15% 10%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(900px 420px  at 85% 20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(135deg,#ffb254 0%, #FF8C00 46%, #ff9a2b 100%);
  /* léger mouvement du dégradé */
  background-size: 100% 100%;
  animation: heroShift 14s ease-in-out infinite alternate;
  isolation: isolate;
}

@keyframes heroShift{
  0%   { background-position: 0% 0%, 100% 0%, 0% 0%; }
  100% { background-position: 2% 1%, 98% 3%, 100% 100%; }
}

.hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-badges{
  display:flex; flex-wrap:wrap; gap:.5rem;
  justify-content:center; margin-bottom:.9rem;
}
.hero-badges .badge{
  background: rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  color:#fff; font-weight:600; font-size:.85rem;
  padding:.3rem .65rem; border-radius:999px;
  backdrop-filter: blur(2px);
}

.hero-partners h1{
  font-size:2.4rem; font-weight:800; letter-spacing:-.6px;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
  margin:.3rem 0 .6rem;
}

.hero-sub{
  max-width: 760px; margin: 0 auto 1.25rem;
  font-size:1.1rem; line-height:1.6; color:#fff;
  opacity:.95;
}

.hero-ctas{
  display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.2rem;
}
.hero-ctas .btn-primary{
  display:inline-block; font-weight:700; color:#fff; text-decoration:none;
  padding:.9rem 1.2rem; border-radius:12px;
  background: linear-gradient(90deg,#ff9500 0%,#ff7b00 100%);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.hero-ctas .btn-primary:hover{ transform: translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,.22); filter:brightness(.98); }

.hero-ctas .btn-ghost{
  display:inline-block; font-weight:700; text-decoration:none;
  padding:.88rem 1.1rem; border-radius:12px; color:#fff;
  border:1.5px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.hero-ctas .btn-ghost:hover{ transform: translateY(-2px); background: rgba(255,255,255,.14); border-color:#fff; }

/* Stats */
.hero-stats{
  display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; margin-top:.6rem;
}
.hero-stat{
  min-width: 210px; background:#fff; color:#2B1C08;
  border-radius:14px; padding: .9rem 1rem .85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}
.hero-stat .stat-number{
  display:block; font-weight:800; color:#FF8C00;
  font-size:1.5rem; margin-bottom:.25rem;
}
/* petite harmonisation pour suffixes */
.hero-stat .suffix{ margin-left:.15rem; font-size:1rem; }
.hero-stat .stat-label{ font-size:.92rem; opacity:.92; }

/* Décorations latérales en parallax doux */
.hero-deco{
  position:absolute; inset:auto; width:min(32vw, 380px); height:auto;
  opacity:.65; z-index:-1; filter: drop-shadow(0 10px 24px rgba(0,0,0,.12));
  will-change: transform;
  animation: floaty 12s ease-in-out infinite;
}
.deco-left{ left:-6vw; bottom:-3vw; animation-delay: .2s; }
.deco-right{ right:-6vw; top:-2vw;  animation-delay: .6s; }

@keyframes floaty {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  50%  { transform: translateY(-8px) rotate(.6deg) scale(1.01); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* Reveal on scroll (progressive) */
.reveal-up{ opacity:0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal-up.is-in{ opacity:1; transform: translateY(0); }

/* Accessibilité : réduit les anims si besoin */
@media (prefers-reduced-motion: reduce){
  .hero-partners{ animation: none; }
  .hero-deco{ animation: none; }
  .reveal-up{ opacity:1; transform:none; }
}

/* Responsive */
@media (max-width: 900px){
  .hero-partners{ padding: 4.2rem 0 3.2rem; }
  .hero-partners h1{ font-size:2rem; }
  .hero-stat{ min-width: 180px; }
}
@media (max-width: 560px){
  .deco-left{ display:none; }
  .deco-right{ display:none; }
}
