/* Fichier généré. Modifier les fichiers composants puis relancer tools/build-css.py. */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap");

/* ===== assets-accueil/style-accueil.css ===== */


/*
 * Feuille publique structurée par composants.
 * L’ordre des imports suit les composants du site et doit rester stable.
 * Les corrections visuelles futures doivent être faites dans le fichier du composant concerné.
 */

/* Source: assets-accueil/css/00-foundations.css */
/* Fondations publiques : variables, normalisation et conteneur principal. */

:root {
  --red: #e30613;
  --red-dark: #b9000c;
  --text: #202126;
  --muted: #4c4f57;
  --page: #f7f7f5;
  --white: #ffffff;
  --pale: #fff1f2;
  --navy-cgt: #14233b;
  --communique-blue: #276582;
  --border-red: rgba(227, 6, 19, 0.14);
  --border-soft: rgba(32, 33, 38, 0.08);
  --shadow-soft: 0 18px 48px rgba(32, 33, 38, 0.07);
  --shadow-card: 0 12px 34px rgba(32, 33, 38, 0.07);
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1280px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(227, 6, 19, 0.045), transparent 26rem),
    linear-gradient(180deg, #fff 0%, var(--page) 18rem, var(--page) 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

strong {
  font-weight: 700;
}


.page-main {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 72px 0 96px;
}



/* Source: assets-accueil/css/10-home-introduction.css */
/* Accueil : introduction, objectifs, réunion et bannière. */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.64fr);
  gap: clamp(32px, 4.2vw, 48px);
  align-items: start;
  padding: 0 0 18px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -96px;
  top: -16px;
  width: min(48vw, 540px);
  height: 560px;
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0), rgba(247, 247, 245, 0.84) 72%, rgba(247, 247, 245, 1)),
    repeating-linear-gradient(90deg, rgba(32, 33, 38, 0.055) 0 1px, transparent 1px 62px),
    repeating-linear-gradient(0deg, rgba(32, 33, 38, 0.045) 0 1px, transparent 1px 56px);
  border-radius: 24px;
  opacity: 0.55;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,0.35) 72%, transparent);
}

.hero-copy {
  padding: 0;
}


.hero-title {
  max-width: 760px;
  font-family: var(--sans);
  line-height: 1.05;
  white-space: nowrap;
}

.hero-title span {
  padding: 0 0.05em;
}

.red-rule {
  width: 52px;
  height: 4px;
  margin: 14px 0 12px;
  border-radius: 999px;
  background: var(--red);
}

.intro-text {
  max-width: 640px;
  color: var(--text);
  font-size: clamp(1.02rem, 1.32vw, 1.18rem);
  line-height: 1.58;
}

.intro-text p {
  margin: 0 0 16px;
}

.intro-text strong {
  color: var(--red-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 580;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.27);
}

.button-secondary {
  color: var(--red-dark);
  background: #fff;
  border: 1px solid rgba(227, 6, 19, 0.28);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--pale);
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.08);
}

.button-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.button-arrow-img {
  width: 42px;
  height: auto;
  margin-left: auto;
  transform: rotate(180deg);
  filter: brightness(0) invert(1);
}

.button-join {
  margin-top: 6px;
  min-width: 310px;
}





.meeting-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 9px;
  color: var(--red);
  background: var(--pale);
  border-radius: 999px;
}

.eyebrow {
  margin: 2px 0 4px;
  color: var(--red-dark);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 580;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}







.meeting-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  line-height: 1.25;
  
}





.time-and {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(227, 6, 19, 0.13);
}

.detail-icon {
  color: var(--red);
  flex: 0 0 auto;
}

.detail-icon svg {
  fill: currentColor;
  stroke: none;
}

.detail-icon-calendar svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.info-box {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 12px;
  background: linear-gradient(135deg, var(--pale), rgba(255, 241, 242, 0.58));
  border-radius: 12px;
}

.info-icon {
  display: flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-dark);
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--serif);
}

.info-box.info-box-no-icon {
  grid-template-columns: minmax(0, 1fr);
}

.info-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-box p {
  margin: 0;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.42;
}

.info-box p + p {
  margin-top: 4px;
}



.info-box strong{
  font-weight: 540;
}

.info-box p:first-child strong {
  font-weight: 560;
}

.info-box p:last-child strong {
  font-weight: 650;
}

.button-download {
  width: auto;
  min-width: 0;
  align-self: flex-start;
  gap: 8px;
  border-radius: 999px;
  font-weight: 540;
  text-transform: none;
  letter-spacing: 0;
}

.button-download .button-icon {
  width: 18px;
  height: 18px;
}

.goals-card {
  margin: 22px 0 26px;
  padding: 22px 24px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.goals-card h2 {
  margin: 0 0 16px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}














:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.35);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    max-width: 800px;
  }

  

  

  

  
}

@media (max-width: 820px) {
  

  

  

  

  

  

  .page-main {
    padding: 22px 28px 0;
}

  .hero {
    padding-top: 4px;
  }

  .hero::before {
    display: none;
  }

  .intro-text {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .button-join {
    width: 100%;
    min-width: 0;
  }

  

  

  .meeting-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .eyebrow {
    font-size: 0.82rem;
  }

  .info-box {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
  }

  .goals-card {
    margin-top: 12px;
    padding: 22px 16px 18px;
  }

  

  

  

  

  
}

@media (max-width: 560px) {

  

  .red-rule {
    margin: 20px 0 16px;
  }

  .button {
    min-height: 52px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .button-arrow-img {
    margin-left: auto;
    width: 38px;
  }

  

  .meeting-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  

  .time-and {
    justify-self: start;
    margin-left: 35px;
  }

  

  .detail-icon {
    margin-top: 1px;
  }

  .button-download {
    width: auto;
  }

  

  .election-banner img {
    aspect-ratio: 2048 / 699;
  }

  
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


.hero-title {
  letter-spacing: -0.025em;
  transform-origin: left center;
  margin: 0 0 4px;
}






@media (max-width: 980px) {
  
  .hero-title {
    white-space: normal;
  }
}


.hero-title {
  color: var(--navy-cgt);
  transform: none;
  font-size: clamp(1.42rem, 2.05vw, 1.88rem);
  font-weight: 760;
}

.hero-title span {
  color: var(--red-dark);
}

.button-join span {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-title {
    transform: none;
  }
}

@media (max-width: 560px) {
  
  .button-join span {
    white-space: normal;
  }
}





.meeting-date{
  
  font-weight: 500;
}




.time-and {
  flex: 0 0 auto;
}







.meeting-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.28;
  font-weight: 500;
}

.meeting-date {
  font-size: 0.93rem;
}









.time-and {
  width: 18px;
  height: 18px;
  font-size: 0.48rem;
}





.info-box {
  margin: 16px 0 14px;
  padding: 15px 15px;
}

.button-download {
  display: inline-flex;
  margin: 2px auto 0;
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  

  .meeting-line {
    font-size: 0.9rem;
  }

  

  
}

.button-join {
  justify-content: center;
}

.button-join .button-arrow-img {
  order: 0;
  width: 38px;
  margin-left: 0;
  transform: rotate(180deg);
}

.button-join span {
  order: 1;
}





.date-text {
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 560;
}





@media (max-width: 560px) {

  .button-join .button-arrow-img {
    width: 34px;
  }
}













.detail-icon {
  width: 17px;
  height: 17px;
}

.button-join {
  gap: 8px;
}

.button-join .button-arrow-img {
  margin-right: 0;
}






.goals-card.goals-statement {
  margin: 22px 0 26px;
  padding: 30px clamp(28px, 5vw, 76px) 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.goals-statement h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.58rem, 2.15vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text);
}

.goals-rule {
  width: 54px;
  height: 3px;
  margin: 14px auto 18px;
  border-radius: 999px;
  background: var(--red);
}

.goals-lead {
  max-width: 880px;
  margin: 0 auto;
  color: var(--navy-cgt);
  font-size: clamp(1.05rem, 1.38vw, 1.28rem);
  line-height: 1.52;
  font-weight: 580;
}

.goals-quote {
  max-width: 820px;
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(32, 33, 38, 0.09);
  color: var(--muted);
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.55;
  font-style: italic;
}

.election-banner {
  margin: 24px 0 18px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.election-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 820px) {
  .goals-card.goals-statement {
    margin: 16px 0 22px;
    padding: 26px 12px 24px;
  }

  .goals-lead {
    font-size: 1rem;
  }

  .goals-quote {
    font-size: 0.94rem;
  }
}

.hero {
  padding-bottom: 26px;
}

.hero-copy .goals-card.goals-statement.goals-inline {
  max-width: 680px;
  margin: 34px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.hero-copy .goals-inline h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.12rem, 1.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.hero-copy .goals-inline .goals-rule {
  width: 48px;
  height: 3px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: var(--red);
}

.hero-copy .goals-inline .goals-lead,
.hero-copy .goals-inline .goals-quote {
  max-width: 680px;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.02rem, 1.32vw, 1.18rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.58;
}

.hero-copy .goals-inline .goals-lead {
  margin: 0;
}

.hero-copy .goals-inline .goals-quote {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(32, 33, 38, 0.09);
}

@media (max-width: 820px) {
  .hero-copy .goals-card.goals-statement.goals-inline {
    margin-top: 28px;
  }
}

.hero-title-line {
  display: inline;
}

.nowrap {
  white-space: nowrap;
}


@media (max-width: 640px) {
  

  

  

  

  

  

  .page-main {
    padding: 22px 22px 0;
  }

  

  

  

  .hero-title {
    letter-spacing: -0.035em;
  }

  .hero-title-line {
    display: block;
  }

  .hero-title-line + .hero-title-line {
    margin-top: 0.08em;
  }

  .red-rule,
  .goals-rule {
    width: 58px;
  }

  .button-join {
    min-height: 58px;
  }
}


@media (max-width: 820px) {
  .intro-text,
  .hero-copy .goals-inline .goals-lead,
  .hero-copy .goals-inline .goals-quote {
    font-size: clamp(1.02rem, 1.32vw, 1.18rem);
    line-height: 1.58;
  }
}


/* Présentation de l'accueil désactivable et zone principale sans colonne vide. */
.homepage-presentation-section { margin-top: 0; min-width: 0; }
.homepage-presentation-section--column { width: 100%; max-width: 760px; }
.homepage-presentation-section--full { width: 100%; max-width: none; }
.homepage-presentation-button-slot { margin: .3rem 0 .5rem; }
.homepage-presentation-rich-rule { width: 48px; height: 3px; margin: .2rem 0 .35rem; border-radius: 999px; background: var(--red); }
.homepage-presentation-rich-rule--between-texts { margin-top: 1.35rem; margin-bottom: 1rem; }
.homepage-presentation-button-slot--between-texts + .homepage-presentation-rich-rule--between-texts { margin-top: 1.45rem; }
.hero-no-side { grid-template-columns: minmax(0, 1fr); }
.hero-no-side .hero-copy { max-width: none; }
.button-join-classic{display:inline-flex;justify-content:center;padding:.8rem 1.15rem}.button-join-classic .button-arrow-img{display:none}

/* Texte de présentation saisi dans l’éditeur de l’intranet. */
.homepage-presentation-richtext {
  display: grid;
  gap: .85rem;
  min-width: 0;
}

.homepage-presentation-richtext h2,
.homepage-presentation-richtext h3,
.homepage-presentation-richtext p,
.homepage-presentation-richtext ul {
  margin: 0;
}

.homepage-presentation-richtext h2 {
  color: var(--navy-cgt);
  font-size: clamp(1.42rem, 2.05vw, 1.88rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.homepage-presentation-richtext h2 + h2 {
  margin-top: -.55rem;
  color: var(--red-dark);
}

.homepage-presentation-richtext h3 {
  margin-top: .45rem;
  color: var(--red-dark);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  font-weight: 760;
  line-height: 1.25;
}

.homepage-presentation-richtext p,
.homepage-presentation-richtext li {
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.62;
}

.homepage-presentation-richtext ul {
  display: grid;
  gap: .35rem;
  padding-left: 1.35rem;
}

.homepage-presentation-richtext a {
  color: var(--red-dark);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

.homepage-presentation-rich-red {
  color: var(--red-dark);
}

/* Largeur choisie pour le texte de présentation. */
.homepage-presentation-fullwidth-wrap {
  width: 100%;
  padding: 0 0 26px;
}

/* Les liens du texte ne doivent pas recolorer le texte des boutons. */
.homepage-presentation-richtext a.button-join,
.homepage-presentation-richtext a.button-join:hover,
.homepage-presentation-richtext a.button-join:focus-visible {
  color: #fff;
  text-decoration: none;
}

/* Boutons supplémentaires créés directement dans le texte de présentation. */
.homepage-presentation-inline-button {
  min-width: 0;
  max-width: 100%;
  text-transform: none;
}

.homepage-presentation-custom-button-slot + .homepage-presentation-custom-button-slot {
  margin-top: -.35rem;
}

/* Bouton de la présentation : icône choisie depuis l’intranet. */
.homepage-join-button-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.homepage-join-button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-presentation-button-slot--after-title {
  margin: .35rem 0 .85rem;
}

.homepage-presentation-button-slot--after-text {
  margin: .3rem 0 .5rem;
}



/* Source: assets-accueil/css/20-home-side-cards.css */
/* Accueil : cartes latérales, élections et agenda public. */

:root {
  --highlight-cgt: #ffeb00;
}


.button-link-external {
  width: auto;
  min-width: 0;
  align-self: flex-start;
  min-height: 38px;
  padding: 0 14px;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 540;
  text-transform: none;
  letter-spacing: 0;
}

.button-link-external .button-icon {
  width: 18px;
  height: 18px;
}

.homepage-side-cards {
  width: 100%;
  justify-self: end;
  display: grid;
  align-content: start;
}




















.homepage-side-cards {
  max-width: 405px;
  gap: 26px;
}

.homepage-election-hero,
.homepage-meetings-board {
  position: relative;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(32, 33, 38, 0.10);
}

.homepage-election-hero {
  overflow: hidden;
  border: 1.5px solid rgba(227, 6, 19, 0.92);
}

.homepage-election-top {
  position: relative;
  display: grid;
  color: #fff;
}

.homepage-election-ballot svg,
.homepage-election-date-pill svg,
.homepage-meetings-board svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.homepage-election-title {
  margin: 0;
  color: #fff;
}

.homepage-election-date-pill {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: -22px auto 0;
  padding: 9px 16px;
  background: #fff;
  color: var(--red-dark);
  box-shadow: 0 14px 26px rgba(32, 33, 38, 0.11);
  line-height: 1.1;
  text-transform: uppercase;
}

.homepage-election-date-pill .detail-icon {
  width: 20px;
  height: 20px;
}

.homepage-election-text,
.homepage-election-extra-line {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--text);
}

.homepage-election-text .detail-icon,
.homepage-election-extra-line .detail-icon {
  margin-top: 2px;
  color: var(--red);
}

/* Les pictogrammes heure/lieu des encarts utilisent exactement le même
   dessin en contour que les détails de l’Agenda. */
.homepage-election-extra-line .detail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-election-extra {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.homepage-election-info {
  margin: 0 22px 18px;
}

.homepage-election-hero > a.button {
  min-height: 46px;
  margin: 0 22px 20px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  box-shadow: none;
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.homepage-election-hero > a.button:hover {
  background: var(--red-dark);
  color: #fff;
  box-shadow: none;
}

.homepage-meetings-board {
  border: 1px solid var(--border-soft);
}



.homepage-next-meeting-line .detail-icon, .homepage-other-meetings .detail-icon{
  color: var(--red);
}

.homepage-next-meeting {
  display: grid;
  align-items: center;
}

.homepage-next-meeting-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.13), rgba(227, 6, 19, 0.06));
  color: var(--red);
}

.homepage-next-meeting-kicker,
.homepage-other-meetings-title {
  margin: 0 0 5px;
  color: var(--red-dark);
  line-height: 1.1;
  text-transform: uppercase;
}

.homepage-next-meeting h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.homepage-next-meeting-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 5px 0 0;
  color: var(--text);
}

.homepage-next-meeting-line .detail-icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.homepage-other-meetings {
  border-top: 1px solid var(--border-soft);
}

.homepage-other-meetings ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-other-meetings li {
  color: var(--text);
}

.homepage-other-meetings .detail-icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

@media (max-width: 1100px) {
  .homepage-side-cards {
    max-width: 680px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .homepage-side-cards {
    max-width: 100%;
    gap: 22px;
  }

  .homepage-election-body,
  .homepage-meetings-board {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.homepage-election-hero {
  border-color: rgba(227, 6, 19, 0.95);
}

.homepage-election-top {
  overflow: hidden;
}

.homepage-election-hero:not(.homepage-agenda-board) .homepage-election-top {
  background:
    radial-gradient(circle at 23% 18%, rgba(255, 255, 255, 0.27), transparent 19%),
    repeating-conic-gradient(from -8deg at 16% 18%, rgba(255, 255, 255, 0.13) 0deg 4deg, rgba(255, 255, 255, 0) 4deg 10deg),
    linear-gradient(135deg, #d40000 0%, #e30613 50%, #b6000a 100%);
}

.homepage-election-ballot {
  justify-self: center;
  align-self: center;
  opacity: 0.98;
}

.homepage-election-title-zone {
  display: flex;
  min-width: 0;
}

.homepage-election-text {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  max-width: 322px;
  margin: 0 auto;
  font-size: 0.91rem;
  line-height: 1.34;
}

.homepage-other-meetings-title {
  margin-bottom: 9px;
}

.homepage-other-meetings ul {
  gap: 0;
}

.homepage-other-meetings li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 4px 0;
}

.homepage-other-meetings li + li {
  border-top: 1px dotted rgba(32, 33, 38, 0.16);
}

.homepage-other-meeting-date {
  min-width: 0;
}

.homepage-other-meeting-time {
  padding-left: 14px;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 640px) {

  .homepage-election-text {
    max-width: none;
  }

  .homepage-other-meetings li {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 8px;
  }
}












.homepage-election-title-zone {
  align-items: center;
}

.homepage-election-body {
  padding: 16px 24px 20px;
}

.homepage-election-text strong,
.homepage-election-extra-line strong {
  font-weight: 650;
}

.homepage-election-text a,
.homepage-election-extra-line a,
.homepage-election-info a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 0.13em;
}









.homepage-main-icon-none .homepage-election-top {
  grid-template-columns: minmax(0, 1fr);
  min-height: 92px;
  text-align: center;
}

.homepage-main-icon-none .homepage-election-title-zone {
  justify-content: center;
}

.homepage-election-ballot svg {
  width: 100%;
  height: 100%;
}









.homepage-election-title {
  text-transform: none;
}

.homepage-election-text strong,
.homepage-election-extra-line strong,
.homepage-election-info strong {
  font-weight: 610;
}

.homepage-next-meeting-line {
  line-height: 1.2;
}

.homepage-other-meetings {
  margin-top: 15px;
  padding-top: 13px;
}

.homepage-other-meetings li {
  line-height: 1.18;
}

.homepage-election-ballot {
  color: #fff;
}

.homepage-election-ballot .ballot-urn-img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.homepage-election-ballot svg {
  stroke-width: 1.8;
}

.homepage-election-top {
  align-items: center;
}



.homepage-other-meeting-date,
.homepage-other-meeting-time {
  font-weight: 470;
}

.homepage-election-top {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 15px;
  min-height: 104px;
  padding: 17px 23px 27px;
}

.homepage-election-ballot {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-election-ballot .homepage-main-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.homepage-main-icon-meeting .homepage-election-ballot .homepage-main-icon-img,
.homepage-main-icon-megaphone .homepage-election-ballot .homepage-main-icon-img,
.homepage-main-icon-document .homepage-election-ballot .homepage-main-icon-img,
.homepage-main-icon-calendar .homepage-election-ballot .homepage-main-icon-img {
  width: 94%;
  height: 94%;
}

.homepage-main-icon-info .homepage-election-ballot .homepage-main-icon-img {
  width: 82%;
  height: 82%;
}

.homepage-election-title {
  max-width: 310px;
  font-size: clamp(1.25rem, 1.62vw, 1.62rem);
  line-height: 1.07;
  font-weight: 540;
  letter-spacing: -0.014em;
}

.homepage-election-date-pill {
  min-height: 36px;
  width: min(calc(100% - 78px), 258px);
  margin-top: -18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.homepage-election-text,
.homepage-election-extra-line {
  font-size: 0.86rem;
  line-height: 1.42;
  font-weight: 400;
}

.homepage-meetings-board {
  padding: 16px 20px 18px;
}

.homepage-next-meeting {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
}

.homepage-next-meeting-icon {
  width: 34px;
  height: 34px;
}

.homepage-next-meeting-icon svg {
  width: 20px;
  height: 20px;
}

.homepage-next-meeting-kicker,
.homepage-other-meetings-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.homepage-next-meeting h3 {
  margin-bottom: 5px;
  font-size: clamp(0.78rem, 0.82vw, 0.9rem);
  line-height: 1.12;
  font-weight: 520;
  letter-spacing: 0;
  white-space: nowrap;
}

.homepage-next-meeting-line {
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 400;
}

.homepage-other-meetings li {
  min-height: 22px;
  font-size: 0.82rem;
  font-weight: 400;
}

.homepage-other-meeting-time {
  font-size: 0.81rem;
  font-weight: 480;
}

@media (max-width: 640px) {
  .homepage-election-top {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    min-height: 94px;
    padding: 15px 17px 26px;
  }

  .homepage-election-ballot {
    width: 44px;
    height: 44px;
  }

  .homepage-next-meeting h3 {
    white-space: normal;
  }
}

/* Agenda public : même famille de carte, avec un bandeau plus sobre. */
.homepage-agenda-board {
  border-color: rgba(227, 6, 19, 0.95);
  box-shadow: 0 16px 38px rgba(32, 33, 38, 0.09);
}

.homepage-agenda-top {
  background: linear-gradient(135deg, #e30613 0%, #c0000c 100%);
}

.homepage-agenda-date-pill {
  width: min(calc(100% - 46px), 320px);
  padding-inline: 14px;
  font-size: 0.82rem;
  text-align: center;
}

.homepage-agenda-body {
  padding-top: 18px;
}

.homepage-next-agenda-event {
  display: block;
}

.homepage-agenda-event-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 700;
}

.homepage-agenda-event-details {
  display: grid;
  gap: 1px;
}

.homepage-next-agenda-event .detail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-next-agenda-event .homepage-next-meeting-line {
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.28;
}

.homepage-other-agenda-events {
  margin-top: 17px;
  padding-top: 14px;
}

.homepage-other-agenda-events .homepage-other-meetings-title {
  margin-bottom: 8px;
}

.homepage-other-agenda-events .homepage-other-meeting-date {
  min-width: 0;
  font-weight: 500;
}

.homepage-other-agenda-events .homepage-other-meeting-time {
  font-weight: 400;
}

.homepage-agenda-list-item--date-only .homepage-other-meeting-date {
  white-space: nowrap;
}

.homepage-agenda-tentative {
  margin: 0.6rem 0 0;
  color: #8a5a00;
  font-weight: 700;
}

@media (max-width: 640px) {
  .homepage-agenda-date-pill {
    width: min(calc(100% - 36px), 310px);
    font-size: 0.78rem;
  }

  .homepage-agenda-body {
    padding-top: 17px;
  }
}

/* Document téléchargeable associé à un événement public de l’agenda. */
.homepage-agenda-description {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.homepage-agenda-document {
  margin: 10px 0 0;
}

.homepage-agenda-document-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: #c6000d;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.homepage-agenda-document-link:hover,
.homepage-agenda-document-link:focus-visible {
  color: #9f0009;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.homepage-agenda-document-link svg,
.homepage-agenda-list-download svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-agenda-list-tail {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}

.homepage-agenda-list-tail .homepage-other-meeting-time {
  padding-left: 0;
}

.homepage-agenda-list-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #c6000d;
  text-decoration: none;
}

.homepage-agenda-list-download:hover,
.homepage-agenda-list-download:focus-visible {
  color: #9f0009;
}

.homepage-agenda-list-download svg {
  width: 17px;
  height: 17px;
}

.homepage-election-text.homepage-election-text-no-icon {
  grid-template-columns: minmax(0, 1fr);
}

.homepage-election-text .detail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* Source: assets-accueil/css/30-home-feature.css */
/* Accueil : communiqué mis en avant. */

.homepage-feature {
  position: relative;
  display: block;
  max-width: 980px;
  margin: 0 0 28px;
  padding: 16px 20px 24px 22px;
  border-top: 1px solid rgba(227, 6, 19, 0.16);
  border-bottom: 1px solid rgba(227, 6, 19, 0.16);
  background: linear-gradient(180deg, rgba(255, 251, 251, 0.94) 0%, rgba(252, 247, 247, 0.94) 100%);
  box-shadow: none;
}

.homepage-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--red);
}

.homepage-feature-content {
  min-width: 0;
}

.homepage-feature-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 12px;
}

.homepage-feature-label,
.homepage-feature-date {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.homepage-feature-label {
  padding: 7px 12px 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
}

.homepage-feature-date {
  color: var(--red-dark, #b00000);
  font-weight: 630;
}

.homepage-feature-title,
.homepage-feature-subtitle {
  max-width: 760px;
  color: var(--communique-blue);
  font-size: clamp(1.7rem, 2.75vw, 2.55rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 730;
}

.homepage-feature-title {
  margin: 0;
}

.homepage-feature-subtitle {
  margin: 2px 0 0;
}

.homepage-feature-highlight {
  margin: 18px 0 0;
  max-width: 720px;
  padding: 0 0 6px;
  background: transparent;
  border-bottom: 4px solid rgba(255, 221, 0, 0.82);
  color: var(--red-dark);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.18;
  font-weight: 760;
  text-transform: uppercase;
}

.homepage-feature-text {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.56;
  font-weight: 430;
}

.homepage-feature-text strong,
.homepage-feature-highlight strong {
  font-weight: 680;
}

.homepage-feature-text a,
.homepage-feature-highlight a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.homepage-feature-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: min(100%, 290px);
  margin: 12px auto 0;
}

.homepage-feature-actions .button {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: none;
  white-space: nowrap;
}

.homepage-feature-primary {
  background: var(--red);
  color: #fff;
  flex: 0 1 auto;
}

.homepage-feature-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(227, 6, 19, 0.24);
  border-radius: 14px;
  background: #fff;
  color: var(--red-dark);
  flex: 0 0 46px;
}

.homepage-feature-secondary .button-icon {
  width: 20px;
  height: 20px;
}

.homepage-feature-preview {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.homepage-feature-preview-link {
  display: block;
  width: min(100%, 290px);
  text-decoration: none;
  color: inherit;
}

.homepage-feature-preview-frame {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid rgba(20, 25, 32, 0.11);
  box-shadow: 0 18px 34px rgba(26, 31, 38, 0.13);
  overflow: hidden;
  transform: rotate(1.6deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.homepage-feature-preview-frame::before {
  content: "";
  position: absolute;
  inset: -8px 10px 10px -8px;
  border: 1px solid rgba(227, 6, 19, 0.12);
  z-index: -1;
}

.homepage-feature-preview-link:hover .homepage-feature-preview-frame,
.homepage-feature-preview-link:focus-visible .homepage-feature-preview-frame {
  transform: rotate(0.2deg) translateY(-3px);
  box-shadow: 0 22px 38px rgba(26, 31, 38, 0.18);
}

.homepage-feature-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.button-link-internal .button-icon,
.homepage-feature-actions .button-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 960px) {
  .homepage-feature-preview-link {
    width: min(100%, 270px);
  }
}

@media (max-width: 760px) {
  .homepage-feature {
    padding: 14px 14px 22px 16px;
  }

  .homepage-feature-actions .button {
    width: auto;
    justify-content: center;
  }

  .homepage-feature-primary {
    flex: 1 1 auto;
    min-width: 0;
  }

  .homepage-feature-secondary {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
  }
}



@media (max-width: 960px) {
  .homepage-feature-actions {
    width: min(100%, 270px);
  }
}

@media (max-width: 760px) {
  .homepage-feature-actions {
    width: min(100%, 270px);
    justify-content: center;
  }
}

/* Plusieurs éléments « À la une » conservent exactement le même modèle. */
.homepage-feature + .homepage-feature {
  margin-top: 0;
}


/* En-tête compact du communiqué à la une. */
.homepage-feature-topline {
  flex-wrap: nowrap;
  width: 100%;
}

.homepage-feature-share-top {
  margin-left: auto;
  flex: 0 0 auto;
}

.homepage-feature-share-top .homepage-feature-share,
.homepage-feature-share-top .share-actions {
  margin: 0;
}

@media (max-width: 760px) {
  .homepage-feature-topline {
    gap: 8px;
  }

  .homepage-feature-read-count {
    display: none;
  }

  .homepage-feature-share-top .share-action-icon-only {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 360px) {
  .homepage-feature-topline {
    gap: 6px;
  }

  .homepage-feature-topline .homepage-feature-label,
  .homepage-feature-topline .homepage-feature-date {
    font-size: 0.68rem;
    letter-spacing: 0.045em;
  }

  .homepage-feature-share-top .share-action-icon-only {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
}



/* Source: assets-accueil/css/40-communique-base.css */
/* Communiqué : structure et présentation de base. */

.communique-page-main {
  padding-top: 36px;
  padding-bottom: 56px;
}

.communique-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 30px 34px;
  border-left: 7px solid var(--red);
  border-top: 1px solid rgba(227, 6, 19, 0.16);
  border-bottom: 1px solid rgba(227, 6, 19, 0.16);
  background: linear-gradient(180deg, rgba(255, 251, 251, 0.94) 0%, rgba(252, 247, 247, 0.94) 100%);
}

.communique-page-label,
.communique-page-date {
  display: inline-flex;
  margin: 0 14px 14px 0;
}

.communique-page-title,
.communique-page-subtitle {
  margin: 0;
  color: var(--communique-blue);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 730;
}

.communique-page-subtitle {
  margin-top: 4px;
}

.communique-page-highlight {
  margin: 28px 0 0;
  padding-bottom: 8px;
  border-bottom: 5px solid rgba(255, 221, 0, 0.9);
  color: var(--red-dark);
  font-size: clamp(1.18rem, 2.1vw, 1.75rem);
  line-height: 1.12;
  font-weight: 760;
  text-transform: uppercase;
}




.communique-page-preview {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(20, 25, 32, 0.11);
  box-shadow: 0 18px 34px rgba(26, 31, 38, 0.13);
  overflow: hidden;
}

.communique-page-preview img {
  display: block;
  width: 100%;
  height: auto;
}





.communique-share {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(32, 33, 38, 0.10);
}

.communique-share h2 {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.communique-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.communique-share-buttons a,
.communique-share-buttons button {
  appearance: none;
  border: 1px solid rgba(227, 6, 19, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.communique-share-buttons a:hover,
.communique-share-buttons button:hover,
.communique-share-buttons a:focus-visible,
.communique-share-buttons button:focus-visible {
  border-color: var(--red);
  background: rgba(227, 6, 19, 0.06);
}

.publication-read-count {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(227, 6, 19, 0.055);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
  white-space: nowrap;
}



/* Source: assets-accueil/css/50-sharing-base.css */
/* Partage : disposition et états de base. */

.homepage-feature-share,
.communique-share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}



.homepage-feature-share a,
.homepage-feature-share button,
.communique-share-buttons a,
.communique-share-buttons button {
  appearance: none;
  border: 1px solid rgba(227, 6, 19, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  padding: 8px 11px;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.homepage-feature-share a:hover,
.homepage-feature-share button:hover,
.homepage-feature-share a:focus-visible,
.homepage-feature-share button:focus-visible,
.communique-share-buttons a:hover,
.communique-share-buttons button:hover,
.communique-share-buttons a:focus-visible,
.communique-share-buttons button:focus-visible {
  border-color: var(--red);
  background: rgba(227, 6, 19, 0.06);
}



/* Source: assets-accueil/css/60-contact.css */
/* Contact : page, formulaire et messages de retour. */

.contact-page-main {
  padding-top: 36px;
  padding-bottom: 56px;
}

.contact-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 30px 34px;
  border-left: 7px solid var(--red);
  border-top: 1px solid rgba(227, 6, 19, 0.16);
  border-bottom: 1px solid rgba(227, 6, 19, 0.16);
  background: linear-gradient(180deg, rgba(255, 251, 251, 0.94) 0%, rgba(252, 247, 247, 0.94) 100%);
}


.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 33, 38, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-feedback {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 650;
}

.contact-feedback-success {
  background: rgba(35, 140, 82, 0.10);
  color: #166337;
}

.contact-feedback-error {
  background: rgba(227, 6, 19, 0.10);
  color: var(--red-dark);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  .contact-page {
    padding: 22px 16px 26px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .homepage-feature-share {
    justify-content: flex-start;
  }
}


/* Contact public : formulaire plus compact sur mobile. */
@media (max-width: 760px) {
  .contact-page-main {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .contact-page {
    padding-top: 18px;
    padding-right: 16px;
    padding-bottom: 22px;
  }

  .contact-form {
    gap: 12px;
    margin-top: 18px;
  }

  .contact-form-grid {
    gap: 12px;
  }

  .contact-form label {
    gap: 5px;
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 10px;
    padding: 9px 12px;
  }

  .contact-form input {
    min-height: 2.75rem;
  }

  .contact-form textarea {
    min-height: 125px;
  }
}



/* Source: assets-accueil/css/61-error-pages.css */
/* Pages d’erreur 403 et 404. */
.cgt-error-main {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(48px, 8vw, 96px) 0;
}

.cgt-error-card {
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid rgba(213, 0, 0, 0.22);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(25, 18, 16, 0.09);
    text-align: center;
}

.cgt-error-code {
    margin: 0 0 0.35rem;
    color: #d50000;
    font-family: "Barlow", Arial, sans-serif;
    font-size: clamp(3.5rem, 11vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
}

.cgt-error-card h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.05;
}

.cgt-error-card p:not(.cgt-error-code) {
    max-width: 52ch;
    margin: 1rem auto 0;
    color: #5b5552;
    font-size: 1rem;
    line-height: 1.55;
}

.cgt-error-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1.6rem;
    padding: 0.72rem 1.1rem;
    border-radius: 8px;
    color: #ffffff;
    background: #d50000;
    font-weight: 600;
    text-decoration: none;
}

.cgt-error-home-link:hover,
.cgt-error-home-link:focus-visible {
    color: #ffffff;
    background: #a50000;
    text-decoration: none;
}



/* Source: assets-accueil/css/70-navigation-and-share-icons.css */
/* Navigation et icônes de partage. */












.homepage-feature-share, .communique-share-buttons{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}


















.homepage-feature-actions .homepage-feature-secondary{
  background: #ffffff;
  color: var(--red-dark);
  border-color: rgba(227, 6, 19, 0.30);
}

.homepage-feature-actions .homepage-feature-secondary svg{
  display: block;
  width: 20px;
  height: 20px;
  color: var(--red-dark);
  stroke: currentColor;
}

.communique-share h2 {
  display: none;
}

@media (max-width: 760px) {
  .homepage-feature-share, .communique-share-buttons{
    justify-content: center;
  }

  
}



/* Source: assets-accueil/css/80-communique-content.css */
/* Communiqué : aperçu PDF, texte et mise en page de lecture. */

.communique-share-top {
  margin: 18px 0 22px;
  padding: 0;
  border-top: 0;
}

.communique-share-top .communique-share-buttons {
  justify-content: flex-start;
}

.communique-page-layout {
  max-width: 430px;
  margin: 28px auto 0;
}



.communique-download-link {
  width: fit-content;
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--red-dark);
  font-weight: 720;
  font-size: 0.92rem;
  text-decoration: none;
}

.communique-download-link:hover,
.communique-download-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.communique-download-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.communique-download-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red-dark);
  stroke: currentColor;
}

.communique-full-text {
  max-width: 850px;
  margin: 34px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(32, 33, 38, 0.12);
  color: var(--text);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.62;
}

.communique-full-text h2 {
  margin: 26px 0 10px;
  color: var(--red-dark);
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.15;
  font-weight: 800;
}

.communique-full-text h2:first-child {
  margin-top: 0;
}

.communique-full-text p {
  margin: 0 0 15px;
}










@media (max-width: 760px) {
  .communique-share-top .communique-share-buttons {
    justify-content: center;
  }

  .communique-full-text {
    margin-top: 28px;
    padding-top: 22px;
  }

  
}







.communique-download-link-icon-only {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 14px auto 0;
  padding: 0;
  border: 1px solid rgba(227, 6, 19, 0.30);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.communique-download-link-icon-only:hover,
.communique-download-link-icon-only:focus-visible {
  background: rgba(227, 6, 19, 0.06);
  text-decoration: none;
}



.communique-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 240px);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
  margin-top: 28px;
}

.communique-full-text-primary {
  max-width: none;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-size: clamp(1.06rem, 1.22vw, 1.18rem);
  line-height: 1.68;
}

.communique-full-text-primary h2 {
  margin-top: 32px;
  padding-top: 2px;
  color: var(--red-dark);
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.12;
}

.communique-full-text-primary h2:first-child {
  margin-top: 0;
}

.communique-full-text-primary p {
  margin-bottom: 18px;
}

.communique-page-aside {
  position: sticky;
  top: 18px;
  max-width: 240px;
  margin: 0;
}

.communique-page-aside .communique-page-preview {
  box-shadow: 0 14px 26px rgba(26, 31, 38, 0.11);
}

.communique-page-aside .communique-download-link-icon-only {
  margin-top: 12px;
}





/* Source: assets-accueil/css/90-sharing-actions-base.css */
/* Actions de partage : boutons de base. */

.share-action {
  appearance: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  padding: 0 15px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(32, 33, 38, 0.06);
  cursor: pointer;
}



.share-action svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.share-action-icon {
  display: inline-flex;
}



/* Source: assets-accueil/css/91-home-mobile-adjustments.css */
/* Accueil : ajustements mobiles finaux. */

@media (max-width: 760px) {
  

  

  

  

  

  

  

  

  

  

  .homepage-feature {
    width: calc(100% + 10px);
    margin-top: 28px;
    margin-left: -10px;
  }

  .homepage-feature::before {
    width: 4px;
  }

  .homepage-feature-content {
    padding: 22px 20px 24px;
  }

  .homepage-feature-title,
  .homepage-feature-subtitle {
    font-size: clamp(1.48rem, 7.1vw, 1.9rem);
    line-height: 1.07;
  }

  .homepage-feature-highlight {
    font-size: 1.03rem;
    line-height: 1.23;
  }

  .homepage-feature-text {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .homepage-feature-preview-frame {
    max-width: 82%;
    margin-left: auto;
    margin-right: auto;
  }

  .homepage-feature-actions {
    gap: 10px;
  }

  .homepage-feature-actions .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .communique-download-link-icon-only,
  .homepage-feature-actions .homepage-feature-secondary {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .share-action {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10.2vw, 2.55rem);
    line-height: 1.12;
  }

  .homepage-election-text{
    font-size: 1.02rem;
    line-height: 1.58;
  }

  

  .homepage-election-hero {
    margin-top: 30px;
  }

  .homepage-election-title {
    font-size: 1.42rem;
  }

  
}



/* Source: assets-accueil/css/93-communique-responsive.css */
/* Communiqué : réglages finaux et responsive. */

.communique-page {
  overflow: hidden;
}

.communique-page-title {
  max-width: 980px;
}

.communique-page-subtitle {
  max-width: 980px;
}

.communique-page-highlight {
  max-width: 900px;
  margin-top: 24px;
}

.communique-share-top {
  margin-top: 16px;
  margin-bottom: 8px;
}

.communique-share-top .share-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.communique-full-text-primary {
  color: var(--text);
}

.communique-page-aside {
  justify-self: end;
}

.communique-page-aside .communique-page-preview {
  border-radius: 4px;
}

@media (min-width: 901px) {
  .communique-reading-layout {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
  }

  .communique-page-aside {
    max-width: 230px;
  }
}

@media (max-width: 900px) {
  .communique-page-main {
    padding-top: 26px;
  }

  .communique-page {
    padding: 24px 20px 34px 20px;
    border-left-width: 4px;
  }

  .communique-page-label {
    margin-bottom: 0;
  }

  .communique-page-date {
    margin-left: 12px;
  }

  .communique-page-title {
    margin-top: 20px;
    font-size: clamp(2.15rem, 10vw, 3.05rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
  }

  .communique-page-subtitle {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .communique-page-highlight {
    margin-top: 24px;
    padding-top: 0;
    font-size: 1.08rem;
    line-height: 1.24;
    letter-spacing: -0.018em;
  }

  .communique-page-highlight::after {
    margin-top: 16px;
  }

  .communique-share-top {
    margin-top: 16px;
    margin-bottom: 10px;
  }

  .communique-share-top .share-actions {
    justify-content: stretch;
  }

  .communique-reading-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }

  .communique-full-text-primary {
    order: 1;
    font-size: 1rem;
    line-height: 1.58;
  }

  .communique-full-text-primary h2 {
    margin-top: 32px;
    font-size: 1.32rem;
    line-height: 1.14;
    letter-spacing: -0.02em;
  }

  .communique-full-text-primary h2:first-child {
    margin-top: 0;
  }

  .communique-full-text-primary p {
    margin-bottom: 17px;
  }

  .communique-page-aside {
    order: 2;
    position: static;
    justify-self: center;
    max-width: 210px;
    margin-top: 6px;
  }

  .communique-page-aside .communique-page-preview {
    box-shadow: 0 10px 22px rgba(26, 31, 38, 0.11);
  }

  .communique-page-aside .communique-download-link-icon-only {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    border-radius: 15px;
  }
}

@media (max-width: 420px) {
  .communique-page {
    padding-left: 18px;
    padding-right: 16px;
  }

  .communique-page-title {
    font-size: 2.08rem;
  }

  .communique-page-subtitle {
    font-size: 1.56rem;
  }

  .communique-page-highlight {
    font-size: 1rem;
  }

  .communique-full-text-primary {
    line-height: 1.54;
  }

  .communique-page-aside {
    max-width: 190px;
  }
}


/* Métadonnées du communiqué : badge, date et partage sur une seule ligne. */
.publication-page-topline {
  align-items: center;
}

.publication-page-topline .communique-share-top {
  margin: 0 0 0 auto;
  flex: 0 0 auto;
}

.publication-page-topline .communique-share-buttons,
.publication-page-topline .share-actions {
  margin: 0;
}

@media (max-width: 900px) {
  .publication-page-topline {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .publication-page-topline .communique-page-date {
    margin-left: 0;
    white-space: nowrap;
  }

  .publication-page-topline .communique-share-top {
    margin-left: auto;
    margin-bottom: 0;
  }

  .publication-page-topline .share-action-icon-only {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

@media (max-width: 360px) {
  .publication-page-topline {
    gap: 6px;
  }

  .publication-page-topline .homepage-feature-label,
  .publication-page-topline .homepage-feature-date {
    font-size: 0.68rem;
    letter-spacing: 0.045em;
  }


  .publication-page-topline .share-action-icon-only {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

/* Mobile : le cartouche des communiqués reprend exactement la typographie de « À la une ». */
@media (max-width: 760px) {
  .communique-page {
    padding: 22px 20px 24px;
  }

  .communique-page-title,
  .communique-page-subtitle {
    font-size: clamp(1.48rem, 7.1vw, 1.9rem);
    line-height: 1.07;
    letter-spacing: -0.045em;
  }

  .communique-page-title {
    margin-top: 0;
  }

  .communique-page-subtitle {
    margin-top: 2px;
  }

  .communique-page-highlight {
    margin-top: 18px;
    padding-bottom: 6px;
    border-bottom-width: 4px;
    font-size: 1.03rem;
    line-height: 1.23;
  }
}

@media (max-width: 760px) {
  .publication-page-topline .publication-read-count {
    display: none;
  }
}




/* Source: assets-accueil/css/94-sharing-actions.css */
/* Actions de partage : icônes, retours et accessibilité. */





.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.share-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.share-action {
  position: relative;
}

.share-action-icon-only {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(227, 6, 19, 0.18);
  background: #fff;
  color: var(--red-dark);
  box-shadow: 0 6px 16px rgba(32, 33, 38, 0.06);
}

.homepage-feature-share .share-action-icon-only,
.communique-share-buttons .share-action-icon-only {
  padding: 0;
}

.share-action-icon-only .share-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-action-icon-only svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-action-share {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 20px rgba(227, 6, 19, 0.18);
}

.share-action-copy {
  background: #fff;
  color: var(--red-dark);
}

.share-action-icon-only:hover,
.share-action-icon-only:focus-visible {
  transform: translateY(-1px);
}

.share-action.is-feedback::after {
  content: attr(data-feedback);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(20, 24, 32, 0.92);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  z-index: 4;
}

.share-action.is-feedback::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  width: 8px;
  height: 8px;
  background: rgba(20, 24, 32, 0.92);
  transform: translateX(-50%) rotate(45deg);
  z-index: 3;
}

.homepage-feature-share,
.communique-share-buttons {
  gap: 10px;
}

.homepage-feature-share .share-action,
.communique-share-buttons .share-action {
  margin: 0;
}

@media (min-width: 761px) {
  .homepage-feature-share,
  .communique-share-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .share-actions {
    gap: 9px;
    margin-top: 10px;
  }

  .share-action-icon-only {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .share-action.is-feedback::after {
    font-size: 0.7rem;
  }
}



/* Source: assets-accueil/css/95-home-feature-toolbar.css */
/* Accueil : barre compacte du communiqué mis en avant. */

.homepage-feature-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: min(100%, 290px);
  margin: 12px auto 0;
}

.homepage-feature-actions-compact,
.homepage-feature-toolbar .homepage-feature-share {
  margin-top: 0;
}

.homepage-feature-actions-compact {
  width: auto;
  margin: 0;
  gap: 10px;
}

.homepage-feature-actions-compact .homepage-feature-primary,
.homepage-feature-actions-compact .homepage-feature-secondary {
  min-height: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(32, 33, 38, 0.06);
}

.homepage-feature-actions-compact .homepage-feature-primary {
  padding: 0 15px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.homepage-feature-actions-compact .homepage-feature-primary .button-icon {
  width: 17px;
  height: 17px;
}

.homepage-feature-actions-compact .homepage-feature-secondary {
  width: 42px;
  min-width: 42px;
  flex: 0 0 42px;
}

.share-action-hidden {
  display: none;
}

@media (max-width: 760px) {
  .homepage-feature-toolbar {
    width: min(100%, 270px);
    gap: 8px;
    flex-wrap: nowrap;
  }

  .homepage-feature-actions-compact {
    width: auto;
    margin: 0;
    gap: 8px;
  }

  .homepage-feature-actions-compact .homepage-feature-primary,
  .homepage-feature-actions-compact .homepage-feature-secondary,
  .homepage-feature-toolbar .share-action-icon-only {
    min-height: 40px;
    height: 40px;
  }

  .homepage-feature-actions-compact .homepage-feature-primary {
    padding: 0 13px;
    font-size: 0.76rem;
  }

  .homepage-feature-actions-compact .homepage-feature-secondary,
  .homepage-feature-toolbar .share-action-icon-only {
    width: 40px;
    min-width: 40px;
  }
}

/* Le partage natif n’apparaît que lorsque le navigateur le confirme. */
.share-action-share {
  display: none;
}

.share-action-share.share-action-supported {
  display: inline-flex;
}

.share-actions-hidden {
  display: none !important;
}


.share-actions-native-only {
  display: none;
}

.share-actions-native-only.share-actions-supported {
  display: inline-flex;
}



/* Source: assets-accueil/css/96-publication-flow.css */
/* Flux de publications : archives de l’accueil et pages générées. */
.homepage-publication-archive {
    max-width: 1180px;
    margin: 2.4rem auto 0;
    padding: 0 1rem;
}

.homepage-publication-archive-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.homepage-publication-archive-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #d50000;
}

.homepage-publication-archive-heading h2 {
    margin: 0;
    font-family: Barlow, Arial, sans-serif;
    font-size: clamp(1.25rem, 2.1vw, 1.65rem);
    font-weight: 700;
}

.homepage-publication-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(31, 31, 31, 0.14);
}

.homepage-publication-archive-list li {
    border-bottom: 1px solid rgba(31, 31, 31, 0.14);
}

.homepage-publication-archive-list a {
    display: grid;
    grid-template-columns: minmax(8.5rem, auto) 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 0.25rem;
    color: #1f1f1f;
    text-decoration: none;
}

.homepage-publication-archive-list a:hover,
.homepage-publication-archive-list a:focus-visible {
    color: #b00000;
}

.homepage-publication-archive-meta {
    color: #6b7280;
    font-size: 0.84rem;
    font-weight: 500;
}

.homepage-publication-archive-date {
    color: var(--red-dark, #b00000);
    font-weight: 600;
}

.homepage-publication-archive-title {
    font-family: Barlow, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.homepage-publication-archive-title span {
    font-weight: 400;
}

.homepage-publication-archive-arrow {
    font-size: 1.2rem;
}

.publication-page-topline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.publication-reading-layout-no-file {
    grid-template-columns: minmax(0, 1fr);
}

.publication-page-preview img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.publication-file-card {
    display: grid;
    place-items: center;
    gap: 0.7rem;
    min-height: 220px;
    padding: 1.2rem;
    border: 1px solid rgba(31, 31, 31, 0.14);
    border-radius: 16px;
    background: #f7f7f7;
    text-align: center;
}

.publication-file-type {
    display: inline-flex;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: #d50000;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 700px) {
    .homepage-publication-archive {
        margin-top: 1.8rem;
        padding: 0 0.8rem;
    }
    .homepage-publication-archive-list a {
        grid-template-columns: 1fr auto;
        gap: 0.25rem 0.8rem;
    }
    .homepage-publication-archive-meta {
        grid-column: 1 / -1;
    }
    .homepage-publication-archive-title {
        font-size: 1rem;
    }
}

/* Page unique des communiqués. */
.communiques-page-main {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.communiques-list {
    display: grid;
    gap: clamp(2.2rem, 5vw, 4.5rem);
}

.communiques-list .communique-page {
    width: min(100% - 2rem, 980px);
    scroll-margin-top: 1.5rem;
}

.communiques-list .communique-page-title {
    font-size: clamp(2rem, 3.8vw, 3.45rem);
}

.communiques-list .communique-page-subtitle {
    font-size: clamp(1.45rem, 2.8vw, 2.4rem);
}

.communiques-empty {
    width: min(100% - 2rem, 980px);
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid rgba(31, 31, 31, 0.14);
    background: #fff;
}

.communique-full-text ul {
    margin: 0 0 18px;
    padding-left: 1.35rem;
}

.communique-full-text li + li {
    margin-top: 0.45rem;
}

@media (max-width: 700px) {
    .communiques-list {
        gap: 1.8rem;
    }

    .communiques-list .communique-page {
        width: calc(100% + 0.35rem);
        margin-left: -0.35rem;
        margin-right: 0;
    }
}



/* Source: assets-accueil/css/97-home-free-sections.css */
/* Sections libres ajoutées depuis l’Intranet. */

.homepage-free-section-fullwidth-wrap {
    width: 100%;
}

.homepage-free-section-fullwidth-wrap .homepage-free-section {
    width: 100%;
    max-width: none;
}

.homepage-free-section {
    width: min(100%, 1180px);
    margin: 2rem auto;
    padding: clamp(1.15rem, 2.4vw, 2rem);
    border: 1px solid rgba(31,31,31,.12);
    border-left: 8px solid #e30613;
    background: #fff;
}

.homepage-free-section-highlight {
    background: #fff8f8;
    border-color: rgba(227,6,19,.22);
}

.homepage-free-section h2 {
    margin: 0 0 .85rem;
    color: #126580;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.05;
}


.homepage-free-section-subtitle {
    margin: -.25rem 0 .85rem;
    color: #555a60;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    font-weight: 600;
    line-height: 1.35;
}

.homepage-free-section-rule {
    width: 70px;
    height: 4px;
    margin: .25rem 0 1rem;
    border-radius: 999px;
    background: #e30613;
}

.homepage-free-section-image {
    margin: .9rem 0 1rem;
}

.homepage-free-section-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 560px;
    border-radius: 6px;
}

.homepage-free-section-text {
    max-width: 900px;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.65;
}

.homepage-free-section-text p:first-child { margin-top: 0; }
.homepage-free-section-text p:last-child { margin-bottom: 0; }

.homepage-free-section-button {
    margin-top: 1.1rem;
}

@media (max-width: 700px) {
    .homepage-free-section {
        margin: 1.35rem 0;
        padding: 1rem;
        border-left-width: 5px;
    }
}

.homepage-free-section-highlight {
    background: #fff;
    border-color: rgba(31,31,31,.12);
}

.homepage-free-section-accent-red { border-left-color: #e30613; }
.homepage-free-section-accent-blue { border-left-color: #126580; }

.homepage-free-section-topline {
    display: flex;
    align-items: center;
    margin: 0 0 .7rem;
}

.homepage-free-section-date {
    margin: 0;
}

.homepage-free-section-text .homepage-inline-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 560px;
    margin: 1rem 0;
    border-radius: 6px;
}

.homepage-free-section-text .homepage-rich-rule {
    display: block;
    border: 0;
    padding: 0;
}

.homepage-free-section-text .homepage-rich-rule-red {
    width: 70px;
    height: 4px;
    margin: 1.15rem 0;
    border-radius: 999px;
    background: #e30613;
}

.homepage-free-section-text .homepage-rich-rule-yellow {
    width: min(100%, 720px);
    height: 4px;
    margin: 1.15rem 0;
    border-radius: 0;
    background: rgba(255, 221, 0, .82);
}



/* Source: assets-accueil/css/98-homepage-responsive-order.css */
/* Ordres distincts de la page d’accueil sur ordinateur et mobile. */
.homepage-desktop-layout {
  display: block;
}

.homepage-mobile-flow {
  display: none;
}

.homepage-flow-segment + .homepage-flow-segment {
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.homepage-flow-segment .homepage-publication-archive--in-flow {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  padding: 0;
}

.homepage-flow-segment .homepage-free-section {
  width: 100%;
  max-width: none;
}

@media (max-width: 760px) {
  .homepage-desktop-layout {
    display: none !important;
  }

  .homepage-mobile-flow {
    display: grid;
    gap: 1.65rem;
  }

  .homepage-mobile-flow-item {
    min-width: 0;
  }

  .homepage-mobile-flow-item:empty {
    display: none;
  }

  .homepage-mobile-flow .homepage-feature,
  .homepage-mobile-flow .homepage-presentation-section,
  .homepage-mobile-flow .homepage-free-section,
  .homepage-mobile-flow .homepage-publication-archive,
  .homepage-mobile-flow .homepage-election-hero,
  .homepage-mobile-flow .homepage-meetings-board,
  .homepage-mobile-flow .election-banner {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .homepage-mobile-flow .homepage-publication-archive {
    padding: 0;
  }

  .homepage-mobile-flow-item-side {
    display: grid;
  }
}

/* Navigation rapide propre à la page d'accueil mobile. */
.homepage-mobile-shortcuts {
  display: none;
}

@media (max-width: 760px) {
  .page-main-home-shortcuts {
    padding-top: 0;
  }

  .homepage-mobile-shortcuts {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0.18rem 0;
    background: #f5f5f5;
    border-bottom: 1px solid rgba(17, 17, 17, 0.10);
  }

  .homepage-mobile-shortcuts a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.18rem 0.72rem;
    color: #333;
    font-size: 0.78rem;
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .homepage-mobile-shortcuts a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    background: rgba(17, 17, 17, 0.22);
    transform: translateY(-50%);
  }

  .homepage-mobile-shortcut-calendar {
    width: 16px;
    height: 16px;
    margin-right: 0.34rem;
    color: #222;
    flex: 0 0 auto;
  }

  .homepage-mobile-shortcuts a:focus-visible,
  .homepage-mobile-shortcuts a:active {
    color: #b40000;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
  }

  .homepage-mobile-flow {
    gap: 1rem;
    padding-top: 0.70rem;
  }

  .homepage-mobile-flow .homepage-feature {
    width: 100%;
    margin: 0;
    padding-top: 17px;
    border-top: 5px solid var(--red);
  }

  .homepage-mobile-flow .homepage-feature::before {
    display: none;
  }

  .homepage-mobile-flow .homepage-feature-content {
    padding-top: 8px;
  }

  .homepage-mobile-flow-item {
    scroll-margin-top: 14px;
  }
}




/* Source: assets-accueil/css/99-homepage-editor-preview.css */
/* Aperçu de la page d’accueil dans le nouvel éditeur visuel de l’intranet. */
body.cgt-homepage-preview {
  background: #f7f7f5;
}

body.cgt-homepage-preview .cgt-public-election-medallion-slot.cgt-public-election-medallion-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 2px dashed rgba(213, 0, 0, .42);
  border-radius: 50%;
  background: rgba(255, 245, 245, .92);
  color: #a50000;
  font: 700 11px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: center;
}

body.cgt-homepage-preview [data-home-token] {
  position: relative;
  outline: 2px solid transparent;
  outline-offset: 5px;
  transition: outline-color .15s ease, box-shadow .15s ease;
}

body.cgt-homepage-preview [data-home-token]:hover,
body.cgt-homepage-preview [data-home-token]:focus-within {
  outline-color: rgba(213, 0, 0, .72);
}

body.cgt-homepage-preview .cgt-home-edit-selected {
  outline: 3px solid #d50000;
  outline-offset: 5px;
}

body.cgt-homepage-preview .cgt-home-edit-trigger {
  position: absolute;
  z-index: 1000;
  top: 10px;
  right: 10px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(213,0,0,.28);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  color: #a50000;
  font: 700 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .15s ease, transform .15s ease;
}

body.cgt-homepage-preview [data-home-token]:hover > .cgt-home-edit-trigger,
body.cgt-homepage-preview [data-home-token]:focus-within > .cgt-home-edit-trigger,
body.cgt-homepage-preview .cgt-home-edit-selected > .cgt-home-edit-trigger {
  opacity: 1;
  transform: translateY(0);
}

body.cgt-homepage-preview .cgt-home-edit-trigger:hover,
body.cgt-homepage-preview .cgt-home-edit-trigger:focus-visible {
  background: #d50000;
  color: #fff;
}




/* ===== assets/public-header.css ===== */
/* En-tête public unique, chargé après les feuilles propres à chaque page.
   Toute modification visuelle de l’en-tête doit être faite uniquement ici. */
:root {
    --cgt-public-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    --cgt-public-brand-font: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --cgt-public-brand-size: clamp(2rem, 3vw, 3rem);
    --cgt-public-brand-weight: 700;
}

.cgt-skip-link,
.cgt-public-header,
.cgt-public-header *,
.cgt-public-header *::before,
.cgt-public-header *::after {
    box-sizing: border-box;
}

.cgt-skip-link,
.cgt-public-header {
    font-family: var(--cgt-public-font);
    font-style: normal;
}

.cgt-public-header a {
    font-family: inherit;
}

.cgt-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    padding: 10px 14px;
    color: #fff;
    background: #111;
    border-radius: 6px;
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform 0.15s ease;
}

.cgt-skip-link:focus {
    transform: translateY(0);
}

.cgt-public-header {
    position: relative;
    z-index: 20;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(20, 20, 20, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.cgt-public-header-inner {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.cgt-public-brand {
    min-width: 0;
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    color: #171717;
    text-decoration: none;
}

.cgt-public-brand:focus-visible {
    outline: 3px solid #e30613;
    outline-offset: 4px;
}

.cgt-public-brand-logo {
    display: block;
    width: 124px;
    max-width: none;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.cgt-public-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--cgt-public-brand-font);
}

.cgt-public-brand-title,
.cgt-public-brand-acronym {
    font-family: var(--cgt-public-brand-font);
    font-size: var(--cgt-public-brand-size);
    font-weight: var(--cgt-public-brand-weight);
    letter-spacing: -0.025em;
}

.cgt-public-brand-title {
    display: block;
    max-width: 1100px;
    line-height: 0.98;
}

.cgt-public-brand-title-line {
    display: block;
}

@media (min-width: 761px) {
    .cgt-public-brand-title-line {
        white-space: nowrap;
    }
}

.cgt-public-brand-acronym {
    display: block;
    width: fit-content;
    margin-top: 6px;
    padding: 0;
    color: #d50000;
    background: transparent;
    line-height: 1;
    box-shadow: none;
}


.cgt-public-open-note {
    position: relative;
    z-index: 0;
    display: inline-block;
    width: fit-content;
    margin-top: 5px;
    margin-left: 18px;
    padding: 0.22rem 0.62rem 0.26rem;
    color: #161616;
    font-family: var(--cgt-public-brand-font);
    font-size: clamp(0.82rem, 1.05vw, 1rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.012em;
    transform: translateY(-1px) rotate(-2.35deg);
}

.cgt-public-open-note::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0.08rem -0.18rem 0.02rem;
    background: linear-gradient(100deg, #ffe600 0%, #ffd600 62%, #ffc400 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
    transform: skewX(-8deg);
}

.cgt-public-election-medallion-slot {
    display: block;
    width: clamp(118px, 10.5vw, 164px);
    max-width: none;
    margin: 0;
}

.cgt-public-election-medallion {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
}

@media (max-width: 980px) {
    :root {
        --cgt-public-brand-size: clamp(1.45rem, 3.25vw, 2.15rem);
    }

    .cgt-public-header-inner {
        width: min(100% - 32px, 900px);
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        padding: 18px 0 17px;
    }

    .cgt-public-brand {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 18px;
    }

    .cgt-public-brand-logo {
        width: 96px;
    }

    .cgt-public-election-medallion-slot {
        width: clamp(94px, 13vw, 126px);
    }
}

@media (max-width: 760px) {
    :root {
        --cgt-public-brand-size: clamp(1rem, 4vw, 1.35rem);
    }

    .cgt-public-header-inner {
        width: min(100% - 24px, 680px);
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 14px 0 13px;
        gap: 12px;
    }

    .cgt-public-brand {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
    }

    .cgt-public-brand-logo {
        width: 78px;
    }

    .cgt-public-brand-title,
    .cgt-public-brand-acronym {
        letter-spacing: -0.018em;
    }

    .cgt-public-brand-title {
        line-height: 1.04;
    }

    .cgt-public-brand-acronym {
        margin-top: 4px;
    }

    .cgt-public-election-medallion-slot {
        width: clamp(82px, 22vw, 112px);
    }
}

@media (max-width: 430px) {
    :root {
        --cgt-public-brand-size: clamp(0.82rem, 3.7vw, 1rem);
    }

    .cgt-public-header-inner {
        width: calc(100% - 18px);
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .cgt-public-brand {
        grid-template-columns: 67px minmax(0, 1fr);
        gap: 8px;
    }

    .cgt-public-brand-logo {
        width: 67px;
    }

    .cgt-public-brand-title {
        line-height: 1.06;
    }

    .cgt-public-brand-acronym {
        margin-top: 3px;
    }

    .cgt-public-election-medallion-slot {
        width: clamp(74px, 21.5vw, 92px);
    }
}

@media (max-width: 360px) {
    :root {
        --cgt-public-brand-size: 0.78rem;
    }

    .cgt-public-header-inner {
        grid-template-columns: minmax(0, 1fr) 70px;
    }

    .cgt-public-brand {
        grid-template-columns: 61px minmax(0, 1fr);
    }

    .cgt-public-brand-logo {
        width: 61px;
    }

    .cgt-public-election-medallion-slot {
        width: 70px;
    }
}

.cgt-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 760px) {
    .cgt-public-open-note {
        margin-top: 4px;
        margin-left: 8px;
        padding: 0.16rem 0.4rem 0.2rem;
        font-size: clamp(0.65rem, 2.45vw, 0.78rem);
        line-height: 1.05;
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    .cgt-public-open-note {
        margin-top: 3px;
        margin-left: 4px;
        font-size: clamp(0.57rem, 2.45vw, 0.68rem);
    }
}

@media (max-width: 360px) {
    .cgt-public-open-note {
        font-size: 0.55rem;
        white-space: normal;
    }
}

/* Grands écrans : l’identité et la navigation utilisent exactement le même
   conteneur centré que le contenu principal. Les écrans inférieurs à 1200 px
   conservent intégralement leur présentation actuelle. */
@media (min-width: 1200px) {
    .cgt-public-header-inner {
        width: min(var(--cgt-nav-content-width, 1120px), calc(100% - 64px));
    }
}


/* ===== assets/shared-navigation.css ===== */
/* Navigation commune aux pages publiques, à l’Espace réservé et à l’Intranet. */
:root {
    --cgt-nav-red: #d50000;
    --cgt-nav-red-dark: #a50000;
    --cgt-nav-content-width: 1120px;
}

.cgt-shared-nav {
    position: relative;
    z-index: 1001;
    width: 100%;
    min-height: 46px;
    padding-inline: calc((100% - min(var(--cgt-nav-content-width), calc(100% - 32px))) / 2);
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    background: var(--cgt-nav-red);
    scrollbar-width: thin;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

.cgt-shared-nav .cgt-shared-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.72rem 1.15rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    color: #ffffff;
    background: transparent;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    font-synthesis: none;
    line-height: 1.2;
    letter-spacing: 0.01em;
    transition: background-color 0.15s ease;
}

.cgt-shared-nav-link:hover,
.cgt-shared-nav-link:focus-visible,
.cgt-shared-nav-link.active,
.cgt-shared-nav-link.cgt-public-nav-link-active {
    color: #ffffff;
    background: var(--cgt-nav-red-dark);
}

.cgt-shared-nav-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -4px;
}

.cgt-shared-nav-link.active::after,
.cgt-shared-nav-link.cgt-public-nav-link-active::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #ffffff;
}


.cgt-public-nav-social {
    margin-left: auto;
    min-width: 58px;
    padding-inline: 0.9rem;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 0;
}

.cgt-public-nav-social::after {
    display: none;
}

.cgt-public-nav-social-icon {
    width: 0.92rem;
    height: 1.4rem;
    fill: currentColor;
    stroke: none;
}

@media (max-width: 860px) {
    .cgt-shared-nav {
        padding-inline: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cgt-shared-nav::-webkit-scrollbar {
        display: none;
    }

    .cgt-shared-nav .cgt-shared-nav-link {
        flex: 1 0 auto;
        min-width: max-content;
        padding: 0.68rem 0.75rem;
        font-size: 0.90rem;
        font-weight: 400;
        line-height: 1.1;
        letter-spacing: 0;
    }

    .cgt-public-nav-social {
        margin-left: 0;
        min-width: auto;
        padding-inline: 0.8rem;
        border-left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

    .cgt-shared-nav-link.active::after,
    .cgt-shared-nav-link.cgt-public-nav-link-active::after {
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 420px) {
    .cgt-shared-nav .cgt-shared-nav-link {
        padding-inline: 0.55rem;
        font-size: 0.82rem;
    }

    .cgt-shared-nav-link.active::after,
    .cgt-shared-nav-link.cgt-public-nav-link-active::after {
        left: 10px;
        right: 10px;
    }
}


/* Intranet mobile : navigation compacte entièrement iconographique. */
.cgt-intranet-nav-icon {
    display: none;
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {
    .cgt-area-intranet .cgt-shared-nav {
        justify-content: flex-start;
        overflow-x: hidden;
    }

    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-dashboard { order: 1; }
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-home { order: 2; }
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-communiques { order: 3; }
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-documents { order: 4; }
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-agenda { order: 5; }
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-stats { order: 6; }
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-admin { order: 7; }

    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-item {
        flex: 1 1 14.285%;
        min-width: 0;
        padding: 0.66rem 0.35rem;
    }

    .cgt-area-intranet .cgt-intranet-nav-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .cgt-area-intranet .cgt-intranet-nav-icon {
        display: block;
        width: 1.42rem;
        height: 1.42rem;
    }
}

/* Sur grand écran, les liens commencent sur le même axe que l’en-tête et le
   contenu principal, tout en conservant le bandeau rouge sur toute la largeur. */
@media (min-width: 1200px) {
    .cgt-public-nav.cgt-shared-nav {
        padding-inline: max(32px, calc((100% - var(--cgt-nav-content-width)) / 2));
    }
}

/* Sur un vrai téléphone, l’édition complète des communiqués reste volontairement
   réservée à l’ordinateur : la navigation mobile conserve ses six rubriques. */
@media (hover: none) and (pointer: coarse) and (max-width: 820px) {
    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-communiques {
        display: none;
    }

    .cgt-area-intranet .cgt-shared-nav .cgt-intranet-nav-item {
        flex-basis: 16.666%;
    }
}


/* ===== assets/public-page-titles.css ===== */
/* Titres communs des pages publiques.
   Adhésion et Contact utilisent ce composant afin de rester harmonisés. */
.cgt-public-page-title {
    margin: 0;
    color: #276582;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

@media (max-width: 760px) {
    .cgt-public-page-title {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
        line-height: 1.05;
        letter-spacing: -0.035em;
    }
}


/* Cadre d’introduction commun aux pages Contact et Adhésion.
   Il garantit le même axe, la même largeur et les mêmes espacements. */
.cgt-public-accent-panel {
    box-sizing: border-box;
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 30px 34px;
    border-left: 7px solid var(--red, #d50000);
    border-top: 1px solid rgba(227, 6, 19, 0.16);
    border-bottom: 1px solid rgba(227, 6, 19, 0.16);
    background: linear-gradient(180deg, rgba(255, 251, 251, 0.94) 0%, rgba(252, 247, 247, 0.94) 100%);
}

@media (max-width: 760px) {
    .cgt-public-accent-panel {
        padding: 18px 16px 22px;
        border-left-width: 4px;
    }
}

/* Barre d’accent commune aux pages publiques.
   Même épaisseur et même écart avec le contenu sur Accueil, Communiqués,
   Adhésion et Contact. */
.communique-page,
.contact-page {
    padding-left: 22px;
    border-left-width: 7px;
}


@media (max-width: 760px) {
    .homepage-feature {
        padding-left: 0;
    }

    .homepage-feature-content {
        padding-left: 16px;
    }

    .communique-page,
    .contact-page {
        padding-left: 16px;
        border-left-width: 4px;
    }

}

/* Conteneur commun aux pages publiques Contact et Adhésion sur ordinateur.
   Les deux titres partagent ainsi exactement le même axe et la même hauteur de départ. */
@media (min-width: 761px) {
    .cgt-public-form-page-main {
        box-sizing: border-box;
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 36px 72px 56px 96px;
    }
}


/* ===== assets/public-footer.css ===== */
/* Pied de page public unique. */
.cgt-public-footer,
.cgt-public-footer *,
.cgt-public-footer *::before,
.cgt-public-footer *::after {
    box-sizing: border-box;
}

.cgt-public-footer {
    margin-top: 34px;
    background: #171717;
    color: #fff;
    font-family: var(--cgt-public-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif);
    font-style: normal;
}

.cgt-public-footer-inner {
    width: min(1240px, calc(100% - 40px));
    min-height: 70px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cgt-public-footer-name {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cgt-public-footer .cgt-public-reserved-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    text-decoration-line: none;
    border: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    font-synthesis: none;
    line-height: 1.2;
    letter-spacing: 0.025em;
    white-space: nowrap;
    opacity: 0.8;
}

.cgt-public-footer .cgt-public-reserved-link:focus-visible {
    outline: 3px solid #e30613;
    outline-offset: 4px;
}

.cgt-public-footer .cgt-public-reserved-link:hover,
.cgt-public-footer .cgt-public-reserved-link:visited,
.cgt-public-footer .cgt-public-reserved-link:active {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    text-decoration-line: none;
    border-bottom: 0;
    opacity: 0.9;
}

@media (max-width: 760px) {
    .cgt-public-footer-inner {
        width: min(100% - 24px, 680px);
        min-height: 0;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* ===== assets/shared-buttons.css ===== */
/* Boutons communs — source unique pour la typographie des actions. */
:root {
    --cgt-button-font-size: 0.9rem;
    --cgt-button-font-weight: 600;
    --cgt-button-line-height: 1.1;
}

body .site-main :is(button, .button, input[type="submit"], input[type="button"], input[type="reset"]),
body .site-header :is(button, .button) {
    font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--cgt-button-font-size);
    font-weight: var(--cgt-button-font-weight);
    line-height: var(--cgt-button-line-height);
    letter-spacing: 0;
    text-transform: none;
}

body .site-main :is(button, .button, input[type="submit"], input[type="button"], input[type="reset"]):focus-visible {
    outline: 3px solid rgba(213, 0, 0, 0.22);
    outline-offset: 2px;
}

