/* Réinitialisation des marges et boîtes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps de page */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* En-tête et navigation */
header {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}
header nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
}
header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
header nav ul li a.active,
header nav ul li a:hover {
  color: #ff6347;
}

/* Bloc d’inscription (Brevo) */
.cta-block {
  background-color: #f0f4ff;
  padding: 12px;
  border-left: 4px solid #3b5998;
  border-right: 4px solid #3b5998;
  margin: 20px auto;
  max-width: 600px;
}
.cta-block a {
  color: #3b5998;
  font-weight: bold;
  text-decoration: none;
}

/* Sections principales */
main {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}
section {
  margin: 40px 0;
}

/* Section Hero */
.hero {
  text-align: center;
}
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2em;
}
.logo-image {
  max-width: 450px;
  height: auto;
  margin: 20px auto;
  display: block;
}

.hero-logo{
  margin: 12px 0 18px;
  text-align: center;
}.hero-logo{
  width: 100%;
  max-width: none;   /* IMPORTANT */
}

.hero-logo img{
  width: 320px;      /* largeur réelle, pas max-width */
  max-width: 90%;
  height: auto;
}/* Section fondateurs */
.founders-grid {
@media (max-width: 600px){
  .hero-logo{
    margin: 10px 0 14px;
  }

  .hero-logo img{
    max-width: 120px;
  }
}  display: grid;
  grid-template-columns: 50% 50%;
  gap: 30px;
  max-width: 700px;
  margin: 20px auto;
}
.founder-item {
  text-align: left;
}
.founder-item p {
  margin: 8px 0;
}
.founder-item em {
  font-size: 0.9em;
  color: #555;
  font-style: italic;
}

/* Section actualités */
.news-article {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.news-article h3 {
  margin-bottom: 10px;
}
.news-article img.pdf-thumbnail {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.news-article img.pdf-thumbnail:hover {
  transform: scale(1.05);
}
.news-article iframe {
  width: 100%;
  border: none;
}

/* Formulaire de contact */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  align-self: center;
  padding: 10px 20px;
  background-color: #ff6347;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #e5533d;
}

/* Pied de page */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 40px;
}

/* Icônes réseaux sociaux */
.social-icon {
  height: 24px;
  width: auto;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  opacity: 1;
}
/* --- Responsive pour smartphones (max-width: 600px) --- */
@media (max-width: 600px) {
  /* Menu en colonne */
  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Réduction des titres */
  .hero h1 {
    font-size: 1.8em;
  }
  .hero p {
    font-size: 1em;
  }

  /* Logo plus petit */
  .logo-image {
    max-width: 200px;
  }

  /* Ajustement du bloc d’inscription */
  .cta-block {
    padding: 8px;
    border-left: 3px solid #3b5998;
    border-right: 3px solid #3b5998;
    font-size: 0.9em;
  }

  /* Grille fondateurs en une colonne */
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Articles et images de PDF */
  .news-article {
    margin: 20px auto;
    padding: 15px;
  }
  .news-article img.pdf-thumbnail {
    max-width: 100%;
  }

  /* Formulaire de contact */
  .contact-form {
    max-width: 100%;
  }
}


/* =========================
   BVMC - pages Équipe / Programme
   (ajouts non-invasifs)
   ========================= */

.page-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px 20px 10px;
}

.page-title {
  font-size: 2em;
  margin-bottom: 6px;
}

.page-subtitle {
  color: #555;
  font-size: 1.05em;
}

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.muted { color: #4a4a4a; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.9em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card h3 {
  font-size: 1.05em;
  margin-bottom: 6px;
}

.card .role { font-weight: bold; }
.card .small { font-size: 0.95em; }

.card img.content-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

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

.anchor-nav {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
}

.anchor-nav a {
  display: inline-block;
  margin: 6px 10px 0 0;
  text-decoration: none;
  color: #3b5998;
}

.anchor-nav a:hover { text-decoration: underline; }

/* Accordéons (profils / détails) */
.team-details details {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
}

.team-details summary {
  cursor: pointer;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}


/* =========================
   Menu mobile premium (overlay + carte)
   ========================= */
@media (max-width: 600px) {

  /* Fond général : on casse le mur noir */
  header {
    background-color: rgba(15, 18, 23, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Le nav ne porte plus le visuel */
  header nav {
    background: transparent;
  }

  /* Le menu devient une carte */
  header nav ul {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 14px 16px;
    margin: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);

    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* Liens : confort tactile */
  header nav ul li a {
    display: block;
    padding: 14px 12px;
    color: #1f2f4a;
    font-weight: 700;
    border-radius: 12px;
  }

  /* Séparateurs doux */
  header nav ul li + li a {
    border-top: 1px solid rgba(0,0,0,0.06);
    border-radius: 0;
  }

  /* Lien actif */
  header nav ul li a.active {
    color: #3b5998;
    background: rgba(59, 89, 152, 0.12);
  }

  /* Feedback tactile */
  header nav ul li a:active {
    background: rgba(59, 89, 152, 0.10);
  }
}


/* =========================
   Menu déroulant mobile (toggle) – BVMC
   ========================= */

/* Bouton menu (visible seulement sur mobile) */
.nav-toggle{
  display:none;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
}

/* Mobile */
@media (max-width: 600px){

  /* Header premium (overlay + blur) */
  header{
    background-color: rgba(15, 18, 23, 0.55) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-nav{
    padding: 12px 16px;
  }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
  }

  /* Le menu est caché par défaut */
  .nav-menu{
    display:none !important;
    margin-top:12px;

    background: rgba(255, 255, 255, 0.95);
    border-radius:16px;
    padding:14px 16px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);

    flex-direction:column;
    align-items:stretch;
    gap:0;
  }

  /* Ouvert */
  .nav-menu.is-open{
    display:flex !important;
  }

  /* Liens */
  .nav-menu li a{
    display:block;
    padding:14px 12px;
    color:#1f2f4a !important;
    font-weight:700;
    border-radius:12px;
  }

  .nav-menu li + li a{
    border-top: 1px solid rgba(0,0,0,0.06);
    border-radius:0;
  }

  .nav-menu li a.active{
    color:#3b5998 !important;
    background: rgba(59, 89, 152, 0.12);
  }

  .nav-menu li a:active{
    background: rgba(59, 89, 152, 0.10);
  }
}
/* =========================
   Menu premium desktop (sans déroulant)
   ========================= */
@media (min-width: 601px) {

  /* Header : on enlève le fond noir plein */
  header {
    background: transparent;
  }

  header nav {
    background: transparent;
  }

  /* Menu visible en permanence */
  .nav-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: rgba(255, 255, 255, 0.95);
    padding: 10px 14px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }

  /* Bouton hamburger caché sur desktop */
  .nav-toggle {
    display: none !important;
  }

  /* Liens desktop premium */
  .nav-menu li a {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    color: #1f2f4a;
    white-space: nowrap;
  }

  .nav-menu li a:hover {
    background: rgba(59, 89, 152, 0.08);
  }

  .nav-menu li a.active {
    color: #3b5998;
    background: rgba(59, 89, 152, 0.12);
  }

  /* On supprime les séparateurs mobiles */
  .nav-menu li + li a {
    border-top: none;
  }
}

/* Blog : centrer les miniatures PDF */
.news-article a {
  display: block;
  text-align: center;
}

/* Blog : centrer les miniatures */
.pdf-thumbnail{
  display: block;
  margin: 20px auto 0; /* centre horizontalement */
}
.news-article a{
  display: block;
}
.news-article .pdf-thumbnail {
  display: block;
  margin: 12px auto 0;
  max-width: 100%;
  height: auto;
}


/* =========================
   Index – bloc "Nous contacter" (pro)
   ========================= */
.contact-card .contact-text{
  max-width: 62ch;
  margin: 0 auto 14px;
  line-height: 1.45;
}

.contact-card .contact-actions{
  text-align: center;
  margin: 0 0 14px;
}

.contact-card a{
  text-decoration: none;
}

.btn-contact{
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0,0,0,0.12);
  color: #1f2f4a;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.btn-contact:hover{
  background: rgba(59, 89, 152, 0.08);
  border-color: rgba(59, 89, 152, 0.35);
}

.social-links{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.social-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links img{
  display: block;
}

.personal-link{
  text-align: center;
  margin-top: 14px;
}

.personal-label{
  font-size: 0.85em;
  font-style: italic;
  margin: 0 0 6px;
}

.personal-icon{
  height: 32px;
  width: auto;
  opacity: 0.92;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.personal-icon:hover{
  transform: scale(1.08);
  opacity: 1;
}

@media (max-width: 600px){
  .personal-icon{ height: 28px; }
}

/* =========================
   Cartouche Newsletter – Élections 2026
   ========================= */
.newsletter-cartouche{
  max-width: 500px;
  margin: 14px auto 0;
  padding: 10px 14px;
  background: #43701f;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.16);
  overflow: visible;          /* important : éviter tout rognage */
}

.newsletter-cartouche .cartouche-title{
  display: block;
	white-space: normal;
	overflow-wrap: anywhere;
  font-weight: 600;
font-size: clamp(1.35rem, 5.2vw, 1.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.newsletter-cartouche .cartouche-title .t1,
.newsletter-cartouche .cartouche-title .t2{
  display: block;             /* force 2 lignes propres */
}

.newsletter-cartouche .cartouche-date{
  display: block;
  margin-top: 6px;
  font-weight: 600;
  font-size: 1.25em;
  opacity: 0.95;
}

/* Mobile : on réduit un peu pour garder de l'air */
@media (max-width: 600px){
  .newsletter-cartouche{
    max-width: 92%;
    padding: 10px 12px;
  }
  .newsletter-cartouche .cartouche-title{
    font-size: 1.6em;
    letter-spacing: 0.02em;
  }
}

#modalEngLong {
  white-space: pre-line;
}

.programme-axes{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.axe{
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.axe-icon{
  height: 64px;
  margin-bottom: 12px;
}

.axe h2{
  font-size: 1.15em;
  margin-bottom: 10px;
}

.axe ul{
  padding-left: 18px;
}

.axe ul li{
  margin-bottom: 6px;
}

.programme-note{
  text-align: center;
  background: #f3f6fa;
  border-radius: 16px;
}

.programme-note-strong{
  font-weight: 700;
  margin-top: 10px;
}

/* =========================
   Programme – mise en scène avec bulles
   ========================= */

/* Chaque axe devient une ligne large */
.programme-axes{
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Structure interne axe */
.axe{
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* Conteneur icône (bulle) */
.axe-icon-wrapper{
  flex-shrink: 0;
  width: 120px;
  display: flex;
  justify-content: center;
}

/* Icône/bulle */
.axe-icon{
  width: 100px;
  height: auto;
}

/* Contenu texte */
.axe-content{
  flex: 1;
}

/* Alternance gauche / droite */
.axe-left{
  flex-direction: row;
}

.axe-right{
  flex-direction: row-reverse;
}

/* Léger décalage pour donner l'effet "marge" */
.axe-left .axe-icon-wrapper{
  margin-left: -40px;
}

.axe-right .axe-icon-wrapper{
  margin-right: -40px;
}

/* Titres un peu plus affirmés */
.axe h2{
  font-size: 1.25em;
  line-height: 1.3;
}

/* =========================
   Mobile : tout en colonne
   ========================= */
@media (max-width: 768px){

  .axe{
    flex-direction: column !important;
    align-items: center;
    text-align: left;
  }

  .axe-icon-wrapper{
    margin: 0 0 12px 0 !important;
    width: auto;
  }

  .axe-icon{
    width: 80px;
  }

  .axe-content{
    width: 100%;
  }
}

/* Normalise l'alignement des icônes "bulles" sur desktop */
.axe-icon-wrapper{
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  /* optionnel mais très "pro" */
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

/* L'image est centrée et contenue dans le cercle */
.axe-icon{
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Garde l'effet "en marge" */
.axe-left .axe-icon-wrapper{ margin-left: -40px; }
.axe-right .axe-icon-wrapper{ margin-right: -40px; }

@media (max-width: 768px){
  .axe-icon-wrapper{
    width: 88px;
    height: 88px;
    margin: 0 0 12px 0 !important;
  }
  .axe-icon{
    width: 54px;
    height: 54px;
  }
}

/* Centrage + micro-ajustement des icônes dans les bulles */
.axe-icon{
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: 50% 50%;

  /* Ajustement fin (par défaut aucun) */
  --dx: 0px;
  --dy: 0px;
  transform: translate(var(--dx), var(--dy));
}

/* Édito avec photo – page d'accueil */
.edito-block{
  display: flex;
  align-items: stretch;
  gap: 14px;
  max-width: 1000px;
  margin: 28px auto 0;
}

.edito-photo{
  flex-shrink: 0;
  width: 180px;
  text-align: center;
}

.edito-photo img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.edito-photo figcaption{
  margin-top: 8px;
  font-size: 0.9em;
  color: #444;
}

.edito-photo figcaption span{
  font-style: italic;
  color: #666;
}

.edito-text{
  flex: 1;
	text-align: left;
	margin-left: 0;
}

.edito-text p{
  margin-bottom: 10px;
	}

/* Mobile : tout en colonne */
@media (max-width: 768px){
  .edito-block{
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .edito-photo{
    width: 150px;
  }

  .edito-text{
    width: 100%;
	  text-align: left
  }
}
/* Séparateur vertical éditorial */
.edito-separator{
  width: 1px;
  min-height: 100%;
  align-self: stretch;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(67,112,31,0.6),
    rgba(0,0,0,0)
  );
}

/* Mobile : on supprime la ligne */
@media (max-width: 768px){
  .edito-separator{
    display: none;
  }
}

/* =========================================
   Programme (page premium) — FIX responsive
   On neutralise les anciennes règles "bulle en marge"
   ========================================= */

body.programme-page .programme-axes{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 22px !important;
}

/* On remet chaque fiche en bloc (pas en flex) */
body.programme-page .axe{
  display: block !important;
  align-items: initial !important;
  gap: initial !important;
}

/* On neutralise les anciennes classes "axe-left / axe-right" si elles existent */
body.programme-page .axe-left,
body.programme-page .axe-right{
  flex-direction: initial !important;
}

body.programme-page .axe-left .axe-icon-wrapper,
body.programme-page .axe-right .axe-icon-wrapper{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Optionnel : si ton vieux CSS force encore des tailles d’icônes */
body.programme-page .axe-icon-wrapper{
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.programme-page .axe-icon{
  width: auto !important;
  height: auto !important;
  transform: none !important;
}
/* Programme — forcer l'affichage en "bulle" (portrait rond) */
body.programme-page .axe-head{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

body.programme-page .axe-bubble{
  width: 104px;
  height: 104px;
  border-radius: 999px;
  overflow: hidden;                 /* indispensable pour couper en rond */
  background: #fff;
  border: 1px solid #e6e6e6;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

body.programme-page .axe-bubble img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;                /* remplit le rond */
  object-position: 50% 20%;
}

/* Option portrait : recadrage plus haut (si besoin) */
body.programme-page .axe-bubble img.is-portrait{
  object-position: 50% 15%;
}
/* Titre principal page programme */
.programme-hero .hero-kicker{
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #43701f;
}

.programme-hero{
  padding-bottom: 20px;
  border-bottom: 3px solid #43701f;
}

/* Cartouche vert programme */
.newsletter-cartouche{
  background:#43701f;
  padding: 16px 22px;          /* plus de hauteur */
  border-radius: 14px;
  display: inline-block;
box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.newsletter-cartouche .cartouche-title{
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.10em;
  color:#fff;
  text-transform: uppercase;
}
/* Programme : cartouche vert plus fort */
body.programme-page .newsletter-cartouche{
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}
/* Programme : réduire "Notre programme" */
body.programme-page .programme-title{
  font-size: clamp(1.55rem, 2.6vw, 1.95rem) !important;
  line-height: 1.12 !important;
}

/* =========================================
   Programme — menus internes style "premium"
   (remplace l'aspect lien bleu / bouton basique)
   ========================================= */

/* Barre sticky (Notre méthode / Les 5 priorités / Objectifs...) */
body.programme-page .programme-subnav{
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  border-radius: 16px;
  margin: 12px auto 0;
  max-width: 1100px;
}

/* Liens de la barre sticky -> "pills" premium */
body.programme-page .subnav-link{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  text-decoration: none !important;

  color: #1f2f4a !important;
  font-weight: 800 !important;

  background: rgba(255,255,255,0.70) !important;
  border: 1px solid rgba(0,0,0,0.10) !important;

  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

body.programme-page .subnav-link:hover{
  background: rgba(67,112,31,0.08) !important;
  border-color: rgba(67,112,31,0.35) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

body.programme-page .subnav-link:active{
  transform: translateY(0);
  box-shadow: none;
}

/* Etat actif (si ton JS met .is-active) */
body.programme-page .subnav-link.is-active{
  background: rgba(67,112,31,0.12) !important;
  border-color: rgba(67,112,31,0.45) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

/* Menu "La méthode / Les priorités / Le programme" (sous le hero) */
body.programme-page .programme-cta a{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 12px 16px !important;
  border-radius: 14px !important;
  text-decoration: none !important;

  color: #1f2f4a !important;
  font-weight: 800 !important;

  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);

  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

body.programme-page .programme-cta a:hover{
  background: rgba(67,112,31,0.08) !important;
  border-color: rgba(67,112,31,0.35) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

body.programme-page .programme-cta a:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

/* Option : si tu utilises une ancre active (aria-current) */
body.programme-page .programme-cta a[aria-current="true"],
body.programme-page .programme-cta a[aria-current="page"]{
  background: rgba(67,112,31,0.12) !important;
  border-color: rgba(67,112,31,0.45) !important;
}

/* Mobile : éviter que ça fasse "trop serré" */
@media (max-width: 600px){
  body.programme-page .programme-subnav{
    border-radius: 14px;
    margin: 10px 12px 0;
  }
  body.programme-page .subnav-link{
    padding: 10px 12px !important;
  }
  body.programme-page .programme-cta a{
    width: 100%;
  }
}

/* Fix centrage cartouches verts */
.newsletter-cartouche{
  display: inline-block !important;
  margin: 0 auto !important;
}

.newsletter-cartouche{
  display: inline-block !important;
}

/* =========================================
   Programme – Blocs méthode en pastel
   ========================================= */

/* Pourquoi ce programme ? (bleu clair) */
body.programme-page #methode .method-grid article.panel:nth-child(1){
  background: #eef4ff;
  border-color: #dbe6ff;
}

/* Ce que les habitants ne veulent plus (rouge clair) */
body.programme-page #methode .method-grid article.panel:nth-child(2){
  background: #fff1f1;
  border-color: #ffd6d6;
}

/* Notre différence (vert clair) */
body.programme-page #methode > .panel{
  background: #eef8f0;
  border-color: #d6eddc;
}

/* =========================================
   Programme – Blocs Priorités en pastel
   ========================================= */

/* Nos 5 priorités (bleu clair, même que "Pourquoi") */
body.programme-page #priorites .programme-highlights article.panel:nth-child(1){
  background: #eef4ff;
  border-color: #dbe6ff;
}

/* Dès la première année (vert clair, même que "Notre différence") */
body.programme-page #priorites .programme-highlights article.panel:nth-child(2){
  background: #eef8f0;
  border-color: #d6eddc;
}

/* =========================================
   Programme – Lien livret PDF (cartouche contour)
   ========================================= */

body.programme-page .programme-pdf{
  margin-top: 18px;
  text-align: center;
}

body.programme-page .programme-pdf a{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 11px 18px;
  border-radius: 14px;

  background: #fff;
  color: #43701f !important;
  font-weight: 800;
  text-decoration: none;

  border: 2px solid #43701f;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

  transition: transform .15s ease,
              box-shadow .2s ease,
              background .2s ease,
              color .2s ease;
}

body.programme-page .programme-pdf a:hover{
  background: #43701f;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

body.programme-page .programme-pdf a:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* ===== Bannière Live (site-wide) ===== */
.live-banner{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #102a43; /* bleu nuit */
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.live-banner__inner{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  text-decoration: none;
}

.live-banner__text{
  flex: 1 1 auto;
  font-size: 0.98rem;
  line-height: 1.25;
}

.live-banner__cta{
  flex: 0 0 auto;
  background: #3b82f6; /* bleu */
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
  transition: transform .15s ease, box-shadow .2s ease;
}

.live-banner__inner:hover .live-banner__cta{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}

/* “clignotement” pro = pulse doux */
.live-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ef4444; /* rouge live */
  box-shadow: 0 0 0 0 rgba(239,68,68,.65);
  animation: livePulse 1.2s infinite;
}

@keyframes livePulse{
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.65); }
  70%  { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* Mobile */
@media (max-width: 600px){
  .live-banner__inner{ gap: 10px; padding: 10px 12px; }
  .live-banner__text{ font-size: 0.92rem; }
  .live-banner__cta{ padding: 7px 10px; }
}