/* =========================================================
   FENIFOOT — MOT DU PRÉSIDENT
   Contenu spécifique à la page.
   HEADER + FOOTER restent communs à toutes les pages.
   ========================================================= */

#ff-president-page {
  --fp-green: #06261d;
  --fp-green-2: #0b3d2e;
  --fp-orange: #e86f00;
  --fp-gold: #f3a23a;
  --fp-cream: #f5f2ec;
  --fp-ink: #10231c;
  --fp-muted: #63736d;
  background: #fff;
  color: var(--fp-ink);
  overflow: hidden;
}

.ffp-president-container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* HERO */
.ffp-president-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #031711 0%, #0b3d2e 55%, #06261d 100%);
  overflow: hidden;
}

.ffp-president-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 25%, rgba(232,111,0,.30), transparent 27%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.07), transparent 30%),
    linear-gradient(90deg, rgba(3,23,17,.88), rgba(3,23,17,.20));
}

.ffp-president-hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -150px;
  top: -170px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.ffp-president-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 105px 0 72px;
  color: #fff;
}

.ffp-president-kicker,
.ffp-section-overline {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.ffp-president-kicker {
  color: #ffb35e;
  margin-bottom: 18px;
}

.ffp-president-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}

.ffp-president-hero h1 span {
  color: #f49a3c;
}

.ffp-president-hero p {
  max-width: 690px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.65;
}

/* INTRO */
.ffp-president-intro {
  padding: 105px 0 110px;
  background: #fff;
}

.ffp-president-container.ffp-president-container {
  display: block;
}

.ffp-president-intro .ffp-president-container {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}

.ffp-president-photo-card {
  position: relative;
}

.ffp-president-photo-frame {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(232,111,0,.38), transparent 38%),
    linear-gradient(145deg, #0b3d2e, #031711);
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(3,23,17,.18);
}

.ffp-president-photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}

.ffp-president-photo-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 390px;
  height: 520px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,.22));
}

.ffp-president-photo-caption {
  margin-top: 18px;
  display: grid;
  gap: 5px;
}

.ffp-president-photo-caption span {
  color: var(--fp-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.ffp-president-photo-caption strong {
  color: var(--fp-green);
  font-size: 24px;
  line-height: 1.1;
}

.ffp-president-photo-caption small {
  color: var(--fp-muted);
  font-size: 13px;
}

.ffp-president-lead {
  max-width: 720px;
}

.ffp-president-lead .ffp-section-overline,
.ffp-section-overline {
  color: var(--fp-orange);
}

.ffp-president-lead h2,
.ffp-message-heading h2,
.ffp-pillars-heading h2,
.ffp-closing-card h2 {
  margin: 13px 0 0;
  color: var(--fp-green);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ffp-orange-line {
  width: 56px;
  height: 4px;
  margin: 28px 0 28px;
  background: var(--fp-orange);
}

.ffp-president-lead p {
  margin: 0 0 18px;
  color: #596a63;
  font-size: 16px;
  line-height: 1.85;
}

.ffp-president-lead .ffp-lead-text {
  color: #263d34;
  font-size: 19px;
  line-height: 1.75;
}

/* MESSAGE */
.ffp-president-message {
  padding: 105px 0 115px;
  background: var(--fp-cream);
}

.ff-message-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 85px;
  align-items: start;
}

.ff-message-heading {
  position: sticky;
  top: 120px;
}

.ff-message-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.ff-message-heading > p {
  max-width: 430px;
  margin: 25px 0 0;
  color: #5d6c66;
  font-size: 16px;
  line-height: 1.8;
}

.ff-message-paper {
  position: relative;
  padding: 54px 58px 48px;
  background: #fff;
  border: 1px solid rgba(6,38,29,.08);
  box-shadow: 0 25px 70px rgba(6,38,29,.10);
}

.ff-message-paper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--fp-orange);
}

.ff-paper-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ece9;
  color: #7a8781;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.ff-message-paper p {
  margin: 27px 0 0;
  color: #344840;
  font-size: 16px;
  line-height: 1.9;
}

.ff-paper-signature {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #e9ece9;
  display: grid;
  gap: 4px;
}

.ff-paper-signature span {
  color: var(--fp-green);
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.ff-paper-signature strong {
  color: var(--fp-orange);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* PRIORITÉS */
.ffp-president-pillars {
  padding: 110px 0;
  background: #fff;
}

.ffp-pillars-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

.ffp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dfe5e1;
  border-left: 1px solid #dfe5e1;
}

.ffp-pillar {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  min-height: 205px;
  padding: 34px 36px;
  border-right: 1px solid #dfe5e1;
  border-bottom: 1px solid #dfe5e1;
  transition: background .3s ease, transform .3s ease;
}

.ffp-pillar:hover {
  background: #f7f8f6;
}

.ffp-pillar-number {
  color: var(--fp-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ffp-pillar h3 {
  margin: 0 0 12px;
  color: var(--fp-green);
  font-size: 23px;
  letter-spacing: -.02em;
}

.ffp-pillar p {
  margin: 0;
  color: #65736d;
  font-size: 14px;
  line-height: 1.75;
}

/* CLOSING */
.ffp-president-closing {
  padding: 0 0 110px;
  background: #fff;
}

.ffp-closing-card {
  position: relative;
  overflow: hidden;
  padding: 75px 80px;
  background:
    radial-gradient(circle at 90% 10%, rgba(232,111,0,.20), transparent 28%),
    linear-gradient(135deg, #06261d, #0b3d2e 55%, #031711);
  color: #fff;
}

.ffp-closing-card::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  right: -160px;
  bottom: -200px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015);
}

.ffp-closing-card .ffp-section-overline {
  color: #ffad56;
}

.ffp-closing-card h2 {
  max-width: 850px;
  color: #fff;
  margin-top: 14px;
}

.ffp-closing-card > p {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.85;
}

.ffp-closing-signature {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  margin-top: 35px;
}

.ffp-closing-signature span {
  font-family: Georgia, serif;
  font-size: 27px;
  font-style: italic;
}

.ffp-closing-signature strong {
  color: #ffae58;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .ffp-president-intro .ffp-president-container,
  .ff-message-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .ffp-president-photo-card {
    max-width: 430px;
    margin: 0 auto;
  }

  .ff-message-heading {
    position: static;
  }

  .ffp-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ffp-president-container,
  .ffp-president-hero-inner {
    width: min(100% - 32px, 1240px);
  }

  .ffp-president-hero {
    min-height: 390px;
  }

  .ffp-president-hero-inner {
    padding: 85px 0 55px;
  }

  .ffp-president-hero p {
    font-size: 15px;
  }

  .ffp-president-intro,
  .ffp-president-message,
  .ffp-president-pillars {
    padding: 75px 0;
  }

  .ffp-president-photo-frame,
  .ffp-president-photo-frame img {
    height: 430px;
    min-height: 430px;
  }

  .ff-message-paper {
    padding: 38px 28px 35px;
  }

  .ffp-pillar {
    min-height: auto;
    padding: 28px 24px;
  }

  .ffp-closing-card {
    padding: 48px 28px;
  }

  .ffp-president-closing {
    padding-bottom: 75px;
  }
}

@media (max-width: 430px) {
  .ffp-president-hero h1 {
    font-size: 45px;
  }

  .ffp-president-photo-frame,
  .ffp-president-photo-frame img {
    height: 360px;
    min-height: 360px;
  }

  .ff-paper-top {
    flex-direction: column;
    gap: 8px;
  }
}

/* Apparition légère des blocs */
.ffp-president-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease var(--ffp-delay), transform .7s ease var(--ffp-delay);
}

.ffp-president-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
