/* ==========================================================================
   À PROPOS — styles spécifiques à la page, complètent css/style.css
   et réutilisent au maximum les variables/composants globaux déjà
   utilisés ailleurs sur le site (--cyan, --card-bg, --panel-border,
   .btn-primary, .solution-card, .paiement-trust-list, .final-cta-*,
   pulseGlow...).
   ========================================================================== */

/* ---------- HERO ---------- */
.apropos-hero{
  margin: clamp(28px, 5vh, 48px) 0 9.75vh;
}
.apropos-hero-left{ max-width: 640px; }
.apropos-eyebrow{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--cyan);
  margin: 0 0 12px 0;
}
.apropos-title{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--white);
  margin: 0;
}
.apropos-title .accent,
.apropos-approach-title .accent,
.apropos-creator-title .accent,
.apropos-pillar-title .accent,
.final-cta-title .accent{
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(46,230,224,0.4);
}
.apropos-divider{
  width: 56px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(46,230,224,0.5);
  margin: 18px 0;
}
.apropos-desc{
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}

@media (max-width: 980px){
  .apropos-hero{ text-align: center; }
  .apropos-hero-left{ max-width: none; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .apropos-desc{ margin: 0 auto; }
}

/* ---------- CE QUE FAIT EKILIBRUM ---------- */
.apropos-approach-section{
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  background: var(--card-bg), rgba(8,12,14,0.35);
  padding: 40px 40px 44px;
  margin-bottom: 9.75vh;
}
.apropos-approach-grid{
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: 36px;
  align-items: center;
}
.apropos-approach-eyebrow{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--cyan);
  margin: 0 0 10px 0;
}
.apropos-approach-title{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--white);
  margin: 0;
}
.apropos-approach-intro > .apropos-divider{ margin: 16px 0 18px; }
.apropos-approach-desc{
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

.apropos-pillars-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.apropos-pillar-card{
  align-items: center;
  text-align: center;
  padding: 28px 20px 22px;
}
.apropos-pillar-card .solution-icon{ margin-left: auto; margin-right: auto; }
/* Icônes des piliers alignées sur le style ".stat-icon" de la section
   "stats" de l'accueil (voir css/style.css, non modifié) : cercle 46px,
   simple filet cyan, sans glow — plus sobre que le ".solution-icon"
   (54px + halo) utilisé par défaut sur ce composant ailleurs sur le site. */
.apropos-pillar-icon{
  width: 46px;
  height: 46px;
  box-shadow: none;
  border: 1px solid var(--panel-border);
}
.apropos-pillar-icon svg{ width: 21px; height: 21px; }
.apropos-pillar-title{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: normal;
  margin: 0 0 10px 0;
}
.apropos-pillar-title span{
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.apropos-pillar-title span.accent{
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}
.apropos-pillar-card .solution-card-divider{ margin-left: auto; margin-right: auto; }
.apropos-pillar-card .solution-desc{ text-align: center; }

@media (max-width: 1180px){
  .apropos-approach-grid{ grid-template-columns: 1fr; }
  .apropos-approach-intro{ text-align: center; }
  .apropos-approach-intro > .apropos-divider{ margin-left: auto; margin-right: auto; }
  .apropos-approach-desc{ max-width: 60ch; margin: 0 auto; }
}
@media (max-width: 980px){
  .apropos-approach-section{ padding: 32px 26px 34px; }
  .apropos-pillars-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}
@media (max-width: 560px){
  .apropos-pillars-grid{ grid-template-columns: 1fr; }
}

/* ---------- NOS CONVICTIONS & VALEURS ----------
   Disposition inspirée du composant "Pourquoi ces partenariats ?" de
   la page Partenaires (voir css/partenaires.css, non modifié) : une
   carte unique, items alignés en ligne et séparés par des filets
   verticaux. Classes reprises ici sous un nom propre à cette page. */
.apropos-values-section{ margin-bottom: 9.75vh; }

.apropos-values-card{
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  background: var(--card-bg), rgba(8,12,14,0.35);
  padding: 34px 40px 38px;
  animation: pulseGlow 5.38s ease-in-out infinite;
}
.apropos-values-intro{ text-align: center; margin-bottom: 30px; }
.apropos-values-eyebrow{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--white);
  margin: 0;
}
.apropos-values-divider{
  width: 40px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(46,230,224,0.5);
  margin: 12px auto 0;
}

.apropos-values-items{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.apropos-value-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 4px 16px;
}
.apropos-value-item + .apropos-value-item{
  border-left: 1px solid var(--panel-border);
}
.apropos-value-icon{
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(46,230,224,0.35), 0 0 24px rgba(46,230,224,0.15);
}
.apropos-value-icon svg{ width: 20px; height: 20px; }
.apropos-value-item strong{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.86rem;
  color: var(--white);
}
.apropos-value-item span{
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.4;
}

@media (max-width: 980px){
  .apropos-values-card{ padding: 34px 28px; text-align: center; }
  .apropos-values-intro{ text-align: center; }
  .apropos-values-divider{ margin: 12px auto 0; }
  .apropos-values-items{ grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .apropos-value-item + .apropos-value-item{ border-left: none; }
  .apropos-value-item:nth-child(2n){ border-left: 1px solid var(--panel-border); }
}
@media (max-width: 560px){
  .apropos-values-items{ grid-template-columns: 1fr; }
  .apropos-value-item:nth-child(2n){ border-left: none; }
  .apropos-value-item + .apropos-value-item{ border-top: 1px solid var(--panel-border); padding-top: 22px; }
}

/* ---------- MOI, LE CRÉATEUR ---------- */
.apropos-creator-section{ margin-bottom: 9.75vh; }
.apropos-creator-block{
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  background: var(--card-bg), rgba(8,12,14,0.35);
  padding: 34px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1fr;
  gap: 30px;
  align-items: stretch;
  transition: border-color .25s, box-shadow .25s;
}
.apropos-creator-block:hover{
  border-color: var(--cyan);
  box-shadow: 0 0 25px rgba(46,230,224,0.3), 0 0 60px rgba(46,230,224,0.12);
}

.apropos-creator-photo-frame{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  min-height: 100%;
}
.apropos-creator-photo{
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.apropos-creator-content{ display: flex; flex-direction: column; justify-content: center; }
.apropos-creator-eyebrow{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--cyan);
  margin: 0 0 10px 0;
}
.apropos-creator-title{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  color: var(--white);
  margin: 0;
}
.apropos-creator-content > .apropos-divider{ margin: 16px 0 18px; }
.apropos-creator-bio{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.apropos-creator-bio p{
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}
.apropos-creator-signature{
  font-family: 'Rajdhani', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(46,230,224,0.4);
  margin: 0;
}

/* Réutilise .paiement-trust-list / .paiement-trust-item / .paiement-trust-icon /
   .paiement-trust-title / .paiement-trust-desc (voir css/paiement.css),
   dupliqué ici car paiement.css n'est pas chargé sur cette page. */
.apropos-creator-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: var(--card-bg);
  overflow: hidden;
  align-self: center;
}
.paiement-trust-item{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
}
.paiement-trust-item + .paiement-trust-item{
  border-top: 1px solid var(--panel-border);
}
.paiement-trust-icon{
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(46,230,224,0.3), 0 0 24px rgba(46,230,224,0.12);
}
.paiement-trust-icon svg{ width: 17px; height: 17px; }
.paiement-trust-title{
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.86rem;
  color: var(--white);
  margin: 0 0 4px 0;
}
.paiement-trust-desc{
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1180px){
  .apropos-creator-block{ grid-template-columns: 1fr; }
  .apropos-creator-photo-frame{ min-height: 280px; }
  .apropos-creator-photo{ min-height: 280px; }
  .apropos-creator-content{ text-align: center; align-items: center; }
  .apropos-creator-content > .apropos-divider{ margin-left: auto; margin-right: auto; }
  .apropos-creator-bio{ max-width: 60ch; margin-left: auto; margin-right: auto; }
}
@media (max-width: 980px){
  .apropos-creator-block{ padding: 28px 24px; }
}
@media (max-width: 640px){
  .apropos-creator-block{ padding: 24px 20px; row-gap: 0; }
  .paiement-trust-item{ padding: 18px; }

  /* "Moi, le fondateur" + titre + trait néon au-dessus de la photo,
     mobile uniquement. .apropos-creator-content passe en display:contents :
     ses enfants (eyebrow / titre / trait / bio / signature) deviennent
     des items directs de la grille .apropos-creator-block, réordonnables
     individuellement via `order` — sans dupliquer aucun HTML et sans
     toucher au desktop ni à la tablette (scopé à cette media query). */
  .apropos-creator-content{ display: contents; }
  .apropos-creator-content .apropos-creator-eyebrow{ order: 1; }
  .apropos-creator-content .apropos-creator-title{ order: 2; }
  .apropos-creator-content .apropos-divider{ order: 3; margin: 16px auto 30px; }
  .apropos-creator-photo-frame{ order: 4; }
  .apropos-creator-content .apropos-creator-bio{ order: 5; margin-top: 30px; }
  .apropos-creator-content .apropos-creator-signature{ order: 6; }
  .apropos-creator-list{ order: 7; margin-top: 30px; }
}

/* ================= TABLETTE UNIQUEMENT (641px - 980px) =================
   Correctifs ciblés demandés : le desktop et le mobile (<=640px) ne sont
   pas concernés par ce bloc. */
@media (min-width: 641px) and (max-width: 980px){

  /* ---- "Moi, le fondateur" : reprend exactement la disposition desktop
     (3 colonnes, alignée à gauche) au lieu du format empilé et surdimensionné
     hérité de la règle <=1180px pensée pour le mobile. ---- */
  .apropos-creator-block{ grid-template-columns: 0.85fr 1.15fr 1fr; }
  .apropos-creator-photo-frame{ min-height: 100%; }
  .apropos-creator-photo{ min-height: 240px; }
  .apropos-creator-content{ text-align: left; align-items: flex-start; }
  .apropos-creator-content > .apropos-divider{ margin-left: 0; margin-right: auto; }
  .apropos-creator-bio{ max-width: none; margin-left: 0; margin-right: 0; }

  /* ---- "Ce que fait EKILIBRUM" : neutralise la règle tablette globale de
     style.css qui cible .solution-card (pensée pour la grille "Une solution
     pour tous" de l'accueil) et qui réduit nos mini-cards à ~85% de largeur
     en les écrasant — même correctif déjà appliqué pour .appfeatures-grid
     dans css/application-mobile.css. Les cartes retrouvent une taille
     normale et restent centrées dans leur cellule de grille 2 colonnes. ---- */
  .apropos-pillars-grid .solution-card{ max-width: none; width: auto; margin: 0; }

  /* ---- "Nos convictions & valeurs" : sur 2 colonnes, le 5e item
     (Progression) se retrouve seul dans la dernière ligne et reste collé
     à gauche (comportement par défaut d'une grille). On l'étire sur toute
     la largeur de la ligne puis on centre son contenu. ---- */
  .apropos-value-item:last-child:nth-child(odd){
    grid-column: 1 / -1;
    border-left: none !important;
    max-width: 300px;
    margin: 0 auto;
  }
}
