/* Contenu de la page My Mado. Jetons, en-tête et pied : satkaar.css.
   Charte MADO : bleu marine, violet (accent et action), vert ; dégradé My Mado en touches. */

body { font-size: 16px; line-height: 1.65; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 700; letter-spacing: -.02em; color: var(--encre); }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; }

/* --- Héros : blanc, deux halos doux violet et vert de la charte --- */
.heros {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(42rem 30rem at 92% 0%, rgba(123, 97, 214, .14), transparent 65%),
    radial-gradient(36rem 26rem at 0% 100%, rgba(15, 181, 166, .14), transparent 65%),
    var(--blanc);
  padding-top: calc(var(--hauteur-entete) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--trait);
}
html[data-theme="dark"] .heros {
  background:
    radial-gradient(42rem 30rem at 92% 0%, rgba(169, 147, 240, .16), transparent 65%),
    radial-gradient(36rem 26rem at 0% 100%, rgba(47, 208, 192, .12), transparent 65%),
    var(--fond);
}
.heros__interieur {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.surtitre {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: var(--vert-voile); color: var(--vert);
  font-family: var(--police-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 0 0 1.4rem; }
.heros .vert { color: var(--vert); }
.heros .accent {
  color: var(--violet-texte);
  /* trait au dégradé My Mado sous « matche », comme sur l'affiche */
  background: var(--degrade) no-repeat 0 92% / 100% .14em;
  padding-bottom: .06em;
}
.sous-titre { font-size: 1.08rem; color: var(--ardoise); max-width: 54ch; margin: 0; }
.mais-pas-que { color: var(--violet-texte); font-weight: 700; text-decoration: none; white-space: nowrap; }
.mais-pas-que:hover { text-decoration: underline; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.actions.centre { justify-content: center; }

.bouton--mado { background: var(--violet); border-color: var(--violet); color: #fff; }
.bouton--mado:hover { background: var(--violet-appui); border-color: var(--violet-appui); color: #fff; }
.bouton--contour { background: var(--surface); border-color: var(--trait); color: var(--encre); }
.bouton--contour:hover { border-color: var(--vert); color: var(--vert); }
html[data-theme="dark"] .bouton--mado,
html[data-theme="dark"] .bouton--mado:hover { color: #0b1422; }

.heros__photo { margin: 0; position: relative; }
.heros__photo::before {
  content: ""; position: absolute; inset: -.9rem .9rem .9rem -.9rem; z-index: -1;
  border-radius: var(--rayon-grand);
  background: var(--degrade);
  opacity: .22;
}
.heros__photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--rayon-grand);
  box-shadow: 0 30px 70px -35px rgba(15, 27, 45, .45);
}
.heros__photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; width: fit-content;
  padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: var(--verre); color: var(--verre-texte);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--verre-bord);
}

.chiffres {
  list-style: none; padding: 0; margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.chiffres li {
  padding: 1.1rem 1.25rem; border-radius: var(--rayon-carte);
  background: var(--surface); border: 1px solid var(--trait); box-shadow: var(--ombre-carte);
}
.chiffres strong { display: block; font-family: var(--police-titre); font-size: 1.9rem; font-weight: 700; line-height: 1.2; color: var(--violet-texte); }
.chiffres li:nth-child(2) strong { color: var(--vert); }
.chiffres span { color: var(--ardoise); font-size: .92rem; }

@media (max-width: 860px) {
  .heros__interieur { grid-template-columns: 1fr; }
  .heros__photo { max-width: 26rem; margin-left: .9rem; }
}

/* --- Sections ------------------------------------------------------------ */
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; margin: 0 0 1rem; }
.bloc { padding: clamp(3.5rem, 8vw, 5.5rem) 0; border-top: 1px solid var(--trait); scroll-margin-top: var(--hauteur-entete); }
.bloc:first-child { border-top: 0; }
.intro { color: var(--ardoise); max-width: 60ch; margin: 0 0 2rem; }
.deux-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: start; }
.deux-colonnes p { margin: 0; }
.grand { font-family: var(--police-titre); font-size: 1.4rem; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }

.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.carte {
  background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon-carte);
  padding: 1.5rem; box-shadow: var(--ombre-carte);
  transition: transform .3s var(--ressort), border-color .2s ease;
}
.cartes .carte:hover { transform: translateY(-3px); border-color: var(--vert); }
.etapes .carte:hover { transform: translateY(-3px); border-color: var(--violet); }
.carte h3 { margin: 0 0 .5rem; }
.carte p { margin: 0; color: var(--ardoise); }
.cartes .carte h3::before {
  content: ""; display: block; width: 1.6rem; height: 3px; border-radius: 3px;
  background: var(--degrade); margin-bottom: .9rem;
}

.comparatif { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.mise-en-avant { border-color: var(--violet-trait); background: var(--violet-voile); }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.liste li { position: relative; padding-left: 1.6rem; }
.liste li::before { position: absolute; left: 0; font-weight: 700; }
.liste.moins li { color: var(--ardoise); }
.liste.moins li::before { content: "–"; }
.liste.plus li::before { content: "✓"; color: var(--vert); }

.etapes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.numero {
  display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--violet-voile); color: var(--violet-texte); font-family: var(--police-titre); font-weight: 700; margin-bottom: 1rem;
}

.profils { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.profil { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.8rem; }
.profil-tete { display: flex; align-items: center; gap: 1rem; }
.profil-tete h3 { margin: 0; font-size: 1.3rem; }
.profil .role { margin: .15rem 0 0; color: var(--violet-texte); font-weight: 600; font-size: .92rem; }
.avatar {
  flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--violet-voile); color: var(--violet-texte); font-family: var(--police-titre); font-weight: 700;
}
.profil:nth-child(2) .avatar { background: var(--vert-voile); color: var(--vert); }
.profil:nth-child(3) .avatar { background: var(--degrade); color: #fff; }
.etiquettes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.etiquettes li { font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; background: var(--violet-voile); color: var(--violet-texte); font-weight: 600; }
.lien { margin-top: auto; color: var(--violet-texte); font-weight: 600; text-decoration: none; }
.lien:hover { text-decoration: underline; }

.contact {
  text-align: center; margin-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gouttiere);
  border: 1px solid var(--trait); border-radius: var(--rayon-grand);
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(123, 97, 214, .10), transparent 70%),
    radial-gradient(30rem 16rem at 0% 100%, rgba(15, 181, 166, .12), transparent 70%),
    var(--surface);
}
.contact h2 { max-width: 26ch; margin-inline: auto; }
.contact p { color: var(--ardoise); }
.coordonnees {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  max-width: 44rem; margin: 1.75rem auto 1rem;
}
.coordonnees__carte {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1rem;
  border: 1px solid var(--trait); border-radius: var(--rayon-grand); background: var(--surface);
}
.coordonnees__carte h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.coordonnees__carte a { color: var(--violet-texte); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.coordonnees__carte a:hover { text-decoration: underline; }
.coordonnees__adresse { font-style: normal; color: var(--ardoise); margin-bottom: 1.5rem; }
@media (max-width: 640px) { .coordonnees { grid-template-columns: 1fr; } }

/* --- Photos de l'équipe --------------------------------------------------- */
.concept { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.concept .deux-colonnes { grid-template-columns: 1fr; gap: 1.25rem; }
.photo { margin: 0; }
.photo img {
  display: block; width: 100%; height: auto; object-fit: cover;
  border-radius: var(--rayon-grand); box-shadow: 0 24px 60px -34px rgba(15, 27, 45, .45);
}
.photo figcaption { margin-top: .7rem; font-size: .85rem; color: var(--ardoise); }
.concept .photo img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.photo--large { margin: 0 0 2rem; }
.photo--large img { aspect-ratio: 16 / 7; object-position: 50% 62%; }
@media (max-width: 860px) {
  .concept { grid-template-columns: 1fr; }
  .concept .photo { max-width: 26rem; }
  .photo--large img { aspect-ratio: 4 / 3; }
}

/* --- Notre histoire : récit en colonne de lecture -------------------------- */
#fondatrices .surtitre { margin-bottom: 1rem; }
.histoire { max-width: 68ch; margin: 0 auto 2.5rem; }
.histoire p { margin: 0 0 1.1rem; color: var(--ardoise); }
.histoire h3 { font-size: 1.3rem; margin: 2.25rem 0 .9rem; }
.histoire h3::before {
  content: ""; display: block; width: 1.6rem; height: 3px; border-radius: 3px;
  background: var(--degrade); margin-bottom: .8rem;
}
.histoire__ouverture { font-size: 1.3rem; line-height: 1.45; font-weight: 600; color: var(--encre) !important; }
.histoire__citation {
  margin: 1.75rem 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--violet);
  background: var(--violet-voile); border-radius: 0 var(--rayon-carte) var(--rayon-carte) 0;
  font-size: 1.2rem; line-height: 1.45; font-weight: 600; color: var(--encre);
}
.profils__titre { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 3rem 0 1.25rem; }
