/* ============================================
   Page-specific styles for À propos
   ============================================ */

/* Hero Section */
.hero-a-propos {
  margin-block-end: var(--space-7);
}

.hero-a-propos__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-6);
  align-items: center;
}

.hero-a-propos__text {
  min-width: 0;
}

.hero-a-propos__title {
  margin-block-end: var(--space-4);
}

.hero-a-propos__subtitle {
  max-width: 55ch;
  color: var(--text-secondary);
}

.hero-a-propos__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-a-propos__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Notre mission */
.notre-mission {
  margin-block: var(--space-7);
}

.notre-mission__grid {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: var(--space-6);
  align-items: start;
}

.notre-mission__content p {
  max-width: 65ch;
}

.notre-mission__quote {
  border-inline-start: 2px solid var(--accent-gold);
  padding-inline-start: var(--space-4);
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
  align-self: center;
}

.notre-mission__quote p {
  margin: 0;
  max-width: 30ch;
}

/* Notre histoire */
.notre-histoire {
  margin-block: var(--space-7);
}

.notre-histoire__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-6);
  align-items: center;
}

.notre-histoire__text p {
  max-width: 55ch;
}

.notre-histoire__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.notre-histoire__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Notre méthodologie */
.notre-methodologie {
  margin-block: var(--space-7);
}

.notre-methodologie__intro {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-6);
}

.notre-methodologie__intro p {
  max-width: 65ch;
  margin-inline: auto;
}

.notre-methodologie__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.notre-methodologie__card {
  min-width: 0;
}

.notre-methodologie__card h3 {
  font-size: 1.2rem;
  margin-block-end: var(--space-2);
}

.notre-methodologie__card p {
  font-size: 0.9rem;
  max-width: 40ch;
}

/* Équipe */
.equipe {
  margin-block: var(--space-7);
}

.equipe h2 {
  text-align: center;
  margin-block-end: var(--space-3);
}

.equipe__intro {
  text-align: center;
  max-width: 65ch;
  margin-inline: auto;
  margin-block-end: var(--space-6);
}

.equipe__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.equipe__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.equipe__portrait {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-block-end: var(--space-3);
}

.equipe__member h3 {
  font-size: 1.3rem;
  margin-block-end: var(--space-1);
}

.equipe__member .text-caption {
  margin-block-end: var(--space-2);
}

.equipe__member p:last-child {
  font-size: 0.9rem;
  max-width: 45ch;
}

/* Jeu responsable */
.jeu-responsable {
  margin-block: var(--space-7);
}

.jeu-responsable__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-6);
  align-items: start;
}

.jeu-responsable__text p {
  max-width: 60ch;
}

.jeu-responsable__ressources {
  min-width: 0;
}

.jeu-responsable__ressources h3 {
  margin-block-end: var(--space-3);
}

.jeu-responsable__ressources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jeu-responsable__ressources li {
  margin-block-end: var(--space-2);
}

.jeu-responsable__ressources a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.jeu-responsable__ressources a:hover {
  text-decoration: underline;
}

/* Transparence */
.transparence {
  margin-block: var(--space-7);
}

.transparence__content {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.transparence__content p {
  max-width: 65ch;
  margin-inline: auto;
}

.transparence__quote {
  display: inline-block;
  background-color: var(--bg-card);
  border: 1px solid var(--accent-gold);
  padding: var(--space-4);
  margin-block-start: var(--space-5);
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--text-secondary);
  max-width: 80%;
}

.transparence__quote p {
  margin: 0;
}

/* Contact et suite */
.contact-suite {
  margin-block: var(--space-7);
}

.contact-suite__content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.contact-suite__content p {
  max-width: 50ch;
  margin-inline: auto;
}

.contact-suite__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-block-start: var(--space-5);
}

.btn--secondary {
  border: none;
  background: none;
  color: var(--accent-gold);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.btn--secondary:hover {
  text-decoration: underline;
  background: none;
  color: var(--accent-gold);
}

/* Responsive adjustments */
@media (max-width: 64rem) {
  .hero-a-propos__grid,
  .notre-histoire__grid,
  .jeu-responsable__grid {
    grid-template-columns: 1fr;
  }

  .hero-a-propos__image {
    order: -1;
  }

  .notre-mission__grid {
    grid-template-columns: 1fr;
  }

  .notre-mission__quote {
    margin-block-start: var(--space-4);
  }

  .notre-methodologie__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .equipe__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .notre-methodologie__grid {
    grid-template-columns: 1fr;
  }

  .equipe__grid {
    grid-template-columns: 1fr;
  }

  .contact-suite__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-a-propos__subtitle,
  .notre-mission__content p,
  .notre-histoire__text p,
  .jeu-responsable__text p,
  .transparence__content p,
  .contact-suite__content p {
    max-width: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 30rem) {
  .hero-a-propos__title {
    font-size: 1.8rem;
  }

  .hero-a-propos__subtitle {
    font-size: 1rem;
  }

  .notre-methodologie__card h3 {
    font-size: 1.1rem;
  }

  .equipe__member h3 {
    font-size: 1.2rem;
  }
}