@charset "UTF-8";
/* ------------------------------
   Mot du président — styles
   ------------------------------ */

.president {
  --bg: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --line: rgba(15, 23, 42, 0.1);

  --brandA: #2563eb; /* blue-600 */
  --brandB: #a855f7; /* purple-500 */
  --brandC: #06b6d4; /* cyan-500 */
  --softA: rgba(37, 99, 235, 0.1);
  --softB: rgba(168, 85, 247, 0.1);
  --softC: rgba(6, 182, 212, 0.1);

  --shadow: 0 20px 50px rgba(2, 6, 23, 0.1);
  --radius: 22px;

  /* background:
    radial-gradient(900px 400px at 15% -10%, var(--softB), transparent 60%),
    radial-gradient(800px 380px at 90% 0%, var(--softC), transparent 60%),
    radial-gradient(900px 420px at 30% 110%, var(--softA), transparent 55%),
    var(--bg); */
  color: var(--text);
  padding: clamp(40px, 5vw, 84px) 16px;
}

.president__container {
  max-width: 1120px;
  margin: 0 auto;
}

.president__header {
  max-width: 780px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.president__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.president__kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brandA), var(--brandB));
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.president__title {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.president__subtitle {
  margin: 0;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

/* Card layout */
.president__card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(16px, 3vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.president__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 260px at 20% 0%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(620px 280px at 95% 20%, rgba(6, 182, 212, 0.18), transparent 55%),
    radial-gradient(620px 300px at 25% 110%, rgba(37, 99, 235, 0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.president__media,
.president__content {
  position: relative;
  z-index: 1;
}

.president__media {
  position: relative;
  min-height: 340px;
  margin: 0;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f8fafc;
}

.president__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.president__media:hover .president__photo {
  transform: scale(1.06);
}

.president__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.12);
  font-weight: 650;
  color: var(--text);
  backdrop-filter: blur(10px);
}

.president__badgeDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brandC), var(--brandB));
}

.president__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.president__quote {
  position: relative;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
}

.president__quote::before {
  content: "“";
  position: absolute;
  top: -12px;
  left: 10px;
  font-size: 56px;
  line-height: 1;
  color: rgba(168, 85, 247, 0.25);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.president__signature {
  margin: 0 0 18px;
}

.president__name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.president__role {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.president__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 4px 0 18px;
}

.president__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  font-weight: 750;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brandA), var(--brandB));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.president__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(168, 85, 247, 0.22);
  filter: brightness(1.02);
}

.president__btn:active {
  transform: translateY(0);
}

.president__btn:focus-visible,
.president__link:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.35);
  outline-offset: 3px;
}

.president__btnIcon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
}

.president__link {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  color: var(--text);
}

.president__link:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.president__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.president__metaItem {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.president__metaItem dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.president__metaItem dd {
  margin: 6px 0 0;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.92);
}

/* Responsive */
@media (max-width: 920px) {
  .president__card {
    grid-template-columns: 1fr;
  }

  .president__media {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .president__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .president__btn,
  .president__link {
    justify-content: center;
  }

  .president__meta {
    grid-template-columns: 1fr;
  }
}

/* Respect de la préférence de réduction des animations */
@media (prefers-reduced-motion: reduce) {
  .president__photo,
  .president__btn {
    transition: none;
  }
}
