/* =========================================================
   PAGE POLITIQUE — ZONE TDAH
   Feuille chargée APRÈS style.css
   ========================================================= */


/* =========================================================
   PALETTE
   ========================================================= */

:root {
  --pol-bleu: #082d57;

  --pol-vert: #159b86;
  --pol-vert-fonce: #0e7568;
  --pol-vert-pale: #e8f7f3;

  --pol-texte: #263443;
  --pol-texte-doux: #5d6b77;

  --pol-fond: #f7faf9;
  --pol-blanc: #ffffff;

  --pol-bordure: #d5e7e3;

  --pol-ombre:
    0 12px 32px rgba(8, 45, 87, 0.08);

  --pol-ombre-legere:
    0 6px 18px rgba(8, 45, 87, 0.06);

  --pol-ombre-hover:
    0 16px 36px rgba(8, 45, 87, 0.12);
}


/* =========================================================
   BASE
   ========================================================= */

html {
  scroll-behavior: smooth;
}


body .politique-page {
  width: 100%;

  margin: 0;
  padding: 0 0 4rem;

  box-sizing: border-box;

  background:
    linear-gradient(
      180deg,
      #f4faf8 0%,
      #ffffff 22%,
      #f7faf9 100%
    );

  color: var(--pol-texte);

  font-family:
    "Be Vietnam Pro",
    Arial,
    sans-serif;

  text-align: left;
}


body .politique-page,
body .politique-page * {
  box-sizing: border-box;
}


body .politique-page p,
body .politique-page li,
body .politique-page h1,
body .politique-page h2,
body .politique-page h3 {
  max-width: none;
  text-align: left;
}


body .politique-page p {
  margin: 0 0 0.6rem !important;
  padding: 0 !important;

  color: var(--pol-texte);

  font-size: 1rem;
  line-height: 1.55 !important;
}


body .politique-page a {
  color: var(--pol-vert-fonce);

  font-weight: 650;

  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}


/* =========================================================
   HERO
   ========================================================= */

body .politique-page .politique-hero {
  width: 100%;

  padding:
    12rem
    1rem
    2.5rem;

 background: transparent;

  
}


body .politique-page .cadre-politique {
  width: min(1050px, calc(100% - 2rem));

  margin: 0 auto;
  padding: 1.5rem 2.5rem;

  box-sizing: border-box;

  background:
    linear-gradient(
      115deg,
      #ffffff 0%,
      #f5fbf9 55%,
      var(--pol-vert-pale) 100%
    );

  border: 1px solid var(--pol-bordure);
  border-radius: 24px;

  box-shadow: var(--pol-ombre);

  text-align: center;
}


body .politique-page .politique-surtitre {
  margin: 0 0 0.8rem !important;

  color: var(--pol-vert-fonce);

  font-size: 0.95rem !important;
  font-weight: 800;

  letter-spacing: 0.09em;

  text-align: center !important;
  text-transform: uppercase;
}


body .politique-page .cadre-politique h1 {
  max-width: 850px;

  margin: 0 auto;

  color: var(--pol-bleu);

  font-size:
    clamp(
      2rem,
      4vw,
      3.25rem
    );

  line-height: 1.14;

  text-align: center !important;
}


/* petite ligne identitaire */

body .politique-page .cadre-politique h1::after {
  content: "";

  display: block;

  width: 72px;
  height: 4px;

  margin: 1rem auto 0;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--pol-vert-fonce),
      var(--pol-vert)
    );
}


body .politique-page .politique-intro {
  max-width: 760px !important;

  margin: 1rem auto 0 !important;

  color: var(--pol-texte-doux);

  line-height: 1.6 !important;

  text-align: center !important;
}


body .politique-page .politique-date {
  display: table !important;

  width: auto !important;
  max-width: max-content;

  margin: 1.2rem auto 0 !important;
  padding: 0.5rem 1rem !important;

  border: 1px solid var(--pol-bordure);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.82);

  color: var(--pol-texte-doux);

  font-size: 0.88rem;

  box-shadow:
    0 5px 14px
    rgba(8, 45, 87, 0.05);

  text-align: center !important;
}


/* =========================================================
   SOMMAIRE
   ========================================================= */

body .politique-page .politique-sommaire {
  width: min(1080px, calc(100% - 2rem));

  margin:
    2rem
    auto
    1.3rem;

  padding: 1.35rem 1.5rem;

  border:
    1px solid
    var(--pol-bordure);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.9);

  box-shadow:
    var(--pol-ombre-legere);
}


body .politique-page .politique-sommaire h2 {
  margin: 0 0 1rem;

  color: var(--pol-bleu);

  font-size: 1.2rem;
  font-weight: 750;

  text-align: center !important;
}


body .politique-page .politique-sommaire-liens {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 0.55rem;
}


body .politique-page .politique-sommaire-liens a {
  display: inline-flex;

  min-height: 39px;

  padding:
    0.48rem
    0.9rem;

  align-items: center;
  justify-content: center;

  border:
    1px solid
    var(--pol-bordure);

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f4faf8 100%
    );

  color: var(--pol-bleu);

  font-size: 0.87rem;
  font-weight: 650;

  text-decoration: none;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}


body .politique-page .politique-sommaire-liens a:hover,
body .politique-page .politique-sommaire-liens a:focus-visible {
  transform: translateY(-1px);

  border-color:
    var(--pol-vert-fonce);

  background:
    linear-gradient(
      135deg,
      var(--pol-vert-fonce),
      var(--pol-vert)
    );

  color: #ffffff;

  box-shadow:
    0 6px 16px
    rgba(8, 45, 87, 0.1);
}


/* =========================================================
   SECTIONS PRINCIPALES
   ========================================================= */

body .politique-page .politique-section {
  width:
    min(
      1080px,
      calc(100% - 2rem)
    );

  margin: 1rem auto;

  padding:
    1.4rem
    1.6rem !important;

  border:
    1px solid
    var(--pol-bordure);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.93);

  box-shadow:
    var(--pol-ombre-legere);

  scroll-margin-top: 180px;
}


/* variation subtile pour éviter l'effet tout blanc */

body .politique-page
.politique-section:nth-of-type(even) {
  background:
    linear-gradient(
      120deg,
      #ffffff 0%,
      #f7fbfa 55%,
      var(--pol-vert-pale) 100%
    );
}


/* =========================================================
   TITRES DE SECTIONS
   ========================================================= */

body .politique-page .politique-section h2 {
  margin:
    0
    0
    0.85rem !important;

  padding: 0;

  border: 0;

  color: var(--pol-bleu);

  font-size:
    clamp(
      1.3rem,
      2.3vw,
      1.65rem
    );

  font-weight: 750;

  line-height: 1.3;
}


/* petite ligne sous le titre */

body .politique-page
.politique-section h2::after {
  content: "";

  display: block;

  width: 58px;
  height: 3px;

  margin-top: 0.55rem;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--pol-vert-fonce),
      var(--pol-vert)
    );
}


body .politique-page .politique-section h3 {
  margin:
    1rem
    0
    0.3rem !important;

  color:
    var(--pol-vert-fonce);

  font-size: 1.03rem;
  font-weight: 750;

  line-height: 1.35;
}


/* =========================================================
   PARAGRAPHES
   ========================================================= */

body .politique-page
.politique-section p {
  margin:
    0
    0
    0.6rem !important;

  padding: 0 !important;

  color: var(--pol-texte);

  line-height: 1.55 !important;

  text-align: left !important;
}


/* =========================================================
   LISTES
   ========================================================= */

body .politique-page
.politique-section ul,
body .politique-page
.politique-liste {
  display: grid !important;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    ) !important;

  gap:
    0.45rem
    2rem !important;

  width: 100%;

  margin:
    0.7rem
    0
    0.9rem !important;

  padding-left:
    1.4rem !important;
}


body .politique-page
.politique-section li,
body .politique-page
.politique-liste li {
  display: list-item !important;

  width: auto !important;

  margin: 0 !important;

  padding:
    0
    0.45rem
    0
    0 !important;

  color: var(--pol-texte);

  font-size: 0.98rem;

  line-height: 1.45 !important;

  text-align: left !important;

  break-inside: avoid;
}


body .politique-page
.politique-section li::marker,
body .politique-page
.politique-liste li::marker {
  color: var(--pol-vert);

  font-size: 1.05em;
}


/* =========================================================
   COORDONNÉES
   ========================================================= */

body .politique-page .politique-coordonnees {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 0.7rem;

  margin:
    0.9rem
    0;

  padding: 1rem;

  border-left:
    4px solid
    var(--pol-vert);

  border-radius: 12px;

  background:
    linear-gradient(
      110deg,
      var(--pol-vert-pale) 0%,
      #f7fbfa 100%
    );
}


body .politique-page
.politique-coordonnees p {
  margin: 0 !important;
}


/* =========================================================
   NOTES
   ========================================================= */

body .politique-page .politique-note {
  margin:
    0.9rem
    0;

  padding:
    0.9rem
    1rem;

  border-left:
    4px solid
    var(--pol-vert);

  border-radius: 12px;

  background:
    linear-gradient(
      110deg,
      var(--pol-vert-pale),
      #ffffff
    );

  color:
    var(--pol-texte);

  line-height: 1.55;

  box-shadow:
    0 4px 14px
    rgba(8, 45, 87, 0.04);
}


/* =========================================================
   CONTACT FINAL
   ========================================================= */

body .politique-page
.politique-contact {
  background:
    linear-gradient(
      120deg,
      #ffffff 0%,
      #f5fbf9 50%,
      var(--pol-vert-pale) 100%
    );

  border-color:
    var(--pol-bordure);
}





/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 900px) {

  body .politique-page
  .politique-coordonnees {
    grid-template-columns: 1fr;
  }


}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  body .politique-page .politique-hero {
  width: 100%;

  padding:
    10rem
    1rem
    2.5rem;

  background: transparent;
}


  body .politique-page
  .cadre-politique {
    padding:
      1.2rem
      0.7rem;
  }


  body .politique-page
  .politique-sommaire,
  body .politique-page
  .politique-section {
    width:
      calc(
        100% - 1rem
      );
  }


  body .politique-page
  .politique-section {
    padding:
      1.15rem !important;

    scroll-margin-top: 155px;
  }


  body .politique-page
  .politique-section ul,
  body .politique-page
  .politique-liste {
    grid-template-columns:
      1fr !important;

    gap:
      0.4rem !important;
  }


  body .politique-page
  .politique-sommaire-liens {
    align-items: stretch;

    flex-direction: column;
  }


  body .politique-page
  .politique-sommaire-liens a {
    width: 100%;
  }


}