/* =========================================================

   PROGRAMME.CSS — LE PROGRAMME

   ========================================================= */
/* HERO */
.programme-hero {
  background: #283587;
  color: white;
  text-align: center;
  padding: 5rem 1.5rem;
}

.programme-hero span {
  color: #ECDD12;
}

.election-date {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* TITRE JAUNE */
.section-title.yellow {
  display: inline-block;
  background: #ECDD12;
  color: #283587;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  margin-bottom: 3rem;
}

/* GRID PROJETS */
.projects-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: white;
  padding: 1.8rem;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card h3 {
  color: #283587;
  margin-bottom: 0.5rem;
}

.project-card.highlight {
  border: 3px solid #ECDD12;
}

/* ================================
   LETTRE PROGRAMME - STYLE HOME
================================ */

.programme-letter {
  padding: 4rem 0;
}

.letter-intro-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .letter-intro-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.letter-intro-text p {
  margin-bottom: 1.4rem;
  line-height: 1.7;
}

.letter-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.letter-full {
  margin-top: 3rem;
}

.programme-bullet {
  margin: 2rem 0;
  padding-left: 1.2rem;
}

.programme-bullet li {
  margin-bottom: 0.6rem;
}

.programme-signature {
  margin-top: 2rem;
  font-weight: 700;
  color: var(--color-blue);
}

/* ==========================================
   THEME PROGRAMME
========================================== */

.programme-theme {
  padding: 4rem 0;
}

.theme-header {
  background: #0f766e;
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.theme-highlight {
  display: inline-block;
  background: #ECDD12;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.theme-intro {
  margin-bottom: 3rem;
}

.theme-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .theme-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .theme-grid.reverse {
    direction: rtl;
  }

  .theme-grid.reverse > * {
    direction: ltr;
  }
}

.theme-image img {
  width: 100%;
  border-radius: 20px;
}

.theme-badge {
  display: inline-block;
  background: #0f766e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.theme-block {
  margin-bottom: 3rem;
}

.theme-block ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.theme-block li {
  margin-bottom: 0.5rem;
}

.theme-conclusion {
  margin-top: 4rem;
  text-align: center;
}

.theme-quote {
  font-weight: 600;
  margin-bottom: 1rem;
}

.theme-highlight-bottom {
  display: inline-block;
  background: #ECDD12;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
}


.program-item {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* En-tête */
.program-header {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  background: rgba(40, 53, 135, 0.9);
  color: #fff;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.program-header:hover {
  background: rgba(241, 221, 0, 0.9);
  color: #283587;
}

.program-header:focus-visible {
  outline: 3px solid #f1dd00;
}

.program-icon {
  font-size: 1.4rem;
}

.program-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
}

/* Chevron */
.program-toggle::before {
  content: "›";
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  font-size: 1.6rem;
}

.program-header[aria-expanded="true"] .program-toggle::before {
  transform: rotate(90deg);
}

/* Contenu */
.program-content {
  display: none;
  padding: 2rem;
}

.program-header[aria-expanded="true"] + .program-content {
  display: block;
}

.program-diagnostic {
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.program-content h4 {
  margin-top: 1.5rem;
}

.program-content ul {
  margin: 0.5rem 0 1rem 1.2rem;
}

.program-content li {
  margin-bottom: 0.4rem;
}

.program-benefit {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--color-blue);

}

.programme-page .accordion details {
  display: grid;
}

.programme-page .accordion summary {
  display: flex;
}

.programme-page .accordion .accordion-content {
  display: grid;
}

summary * {
  pointer-events: none;
}

/* ================================
   SECTION PROGRAMME PDF
================================ */

.programme-pdf {
  padding: 5rem 0;
  background: #f9fafc;
}

.programme-pdf-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .programme-pdf-grid {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
}

.programme-pdf-intro {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.programme-pdf-button {
  margin-top: 1.5rem;
  display: inline-block;
}

/* VISUAL CARD */

.programme-pdf-card {
  background: #283587;
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.programme-pdf-card:hover {
  transform: translateY(-6px);
}

.pdf-badge {
  display: inline-block;
  background: #ECDD12;
  color: #283587;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.programme-pdf-card strong {
  font-size: 1.8rem;
}