/* Editeur Bluefish

   PAGE.CSS : Date de creation : 16/01/2026  */

/* =========================
   BASE
   ========================= */

* {
    box-sizing: border-box;
}

html,
body {
 overflow-x: hidden;
 margin: 0;
 padding: 0;
 max-width: 100%;
}

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



/* Couleur rouge foncé : color: #B22222; */


body {
  background-color: #7F93A6;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  font-size: 1rem;
  color: #000;
  background-image: url('fond.gif');
}


.page-fond {
  font-family: Arial, Verdana, Calibri, sans-serif;
  color: #000;
  line-height: 1.5;
}

/* Fond de page réel */
body.page-fond {
  background-color: #7F93A6;
  background-image: url("cercle.png");
  background-repeat: repeat;
  background-position: top left;
}

/* Tablettes / petits écrans */
@media screen and (max-width: 1280px) {
  body { font-size: 95%; }
}

/* Mobiles */
@media screen and (max-width: 768px) {
  body { font-size: 90%; }
}

@media screen and (max-width: 768px) {
    .table-juris {
        width: 100%;
    }
}


/* ===== GRID / CARTES ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 10px 10px;
}

.card {
  background-image: url("fond.gif");
   border: 2px solid #c0c0c0;
  border-radius: 18px;
  padding: 30px;
  font-weight: bold;
}

.card-subtitle {
  margin: 14px 0 8px;
  color: #B22222;
  font-size: 1.05rem;
  font-weight: bold;
  background: rgba(255,255,255,0.9);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
}

.btn-link {
  display: inline-block;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  font-weight: bold;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  
 }

.list li { margin: 8px 0; 
 }

.card-title{
  margin: 0 auto 12px;
  display: inline-block;
  text-align: center;
  color: #B22222;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: bold;
  background: rgba(255,255,255,0.9);
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: bold;
}

/* Resserre les listes dans les cartes */
.card .list li{
  margin: 4px 0;      /* au lieu de 8px */
  line-height: 1.3;   /* plus compact mais lisible */
  font-weight: 600;   /* semi-gras, lisible */
}


/* Centrage garanti des titres de cartes */
.card > h2.card-title{
  display: block;
  width: fit-content;     /* prend la largeur du texte */
  margin: 0 auto 12px;    /* centre le badge */
  text-align: center;

  float: none;            /* au cas où */
  justify-self: center;   /* au cas où la carte serait dans un grid */
}


h2.card-title{
  margin-block-start: 0;
  margin-block-end: 12px;
  font-size: 2.5rem;
}





/* ===== IFRAME ===== */
.iframe-wrapper {
  margin: 10px auto 14px;
  width: min(800px, 100%);
  border: 1px solid #ccc;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 110px;
  border: 0;
}




/* =========================
   BLOCS / LAYOUT
   ========================= */

main {
  background-color: #7F93A6;
  margin: 0 auto;
  margin-left: 4%;
  margin-right: 4%;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}




@media screen and (max-width: 1280px) {
  main {
    margin-left: 4%;
    margin-right: 4%;
  }
}

nav {
  margin-left: 5%;
  margin-right: 25%;
}

@media screen and (max-width: 1280px) {
  nav {
    margin-left: 5%;
    margin-right: 5%;
  }
}

.box {
  background: #FFF8DC;
  width: 100%;
}

.box1 {
  background: white;
  width: 100%;
}

.box2 {
  width: 500px;
  height: 500px;
}

footer {
  background-color: white;
}

table {
  margin-left: auto;
  margin-right: auto;
}

.table-juris {
    margin: 30px auto;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.cell-centree {

  text-align: center;      /* horizontal */
  vertical-align: middle;  /* vertical */
  color: #B22222 ! important; /* rouge foncé */
  font-size: 1rem !important;
  font-weight: bold;
}


/* =========================
   POSITIONS (ids existants)
   ========================= */

#deux {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
}

/* Image cliquable pour retourner au début du fichier */
   
#trois {
  position: fixed;
  bottom: 2%;
  right: 2%;
  color: red;
  width: 100%;
  margin: 0 auto;
}

#quatre {
  position: fixed;
  top: 20%;
  margin-right: 5px;
  margin-left: 75%;
  width: 100%;
}

#cinq {
  position: fixed;
  top: 25%;
  right: 100px;
  color: red;
  background-image: url("fond.gif");
  background-repeat: repeat;
  width: 100%;
  margin-right: auto; /* correction de "5 auto" */
}

#six {
  position: static;
  color: red;
  background-image: url("fond.gif");
  background-repeat: repeat;
  width: 100%;
}

#sept {
  position: fixed;
  top: 5%;
  right: 10px;
  color: red;
  background-image: url("fond.gif");
  background-repeat: repeat;
  width: 100%;
}

#huit {
  position: fixed;
  bottom: 3%;
  right: 50px;
  color: red;
  background-image: url("fond.gif");
  background-repeat: repeat;
  width: 100%;
  margin: 0 auto;
}

/* Cache #quatre sur petit écran */
@media screen and (max-width: 1280px) {
  #quatre { display: none; }
}

/* =========================
   TYPO / TEXTE
   ========================= */


b {
    font-size: 1rem;
    font-weight: bold;
}


strong {
    font-size: 1rem;
    font-weight: bold;
}




/* Formatages paragraphes */


p {
  margin: 10px 10px 1em 20px;
  font-size: 1rem;
  font-family: Helvetica, Arial, sans-serif;
  color: black;
  text-align: justify;
  line-height: 1.2;
}


.jp {
  margin: 10px 10px 1em 30px;
  font-family: Helvetica, Arial, sans-serif;
  font-style: italic;
  color: black;
  font-size: 0.875rem;
  text-align: justify;
}

.barre-gauche {
  margin: 10px 10px 1em 5px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  color: black;
  border-left: 4px solid #0b2a5b;
  padding-left: 10px;
  font-weight: bold;
  text-align: justify;
}



.note {
 margin: 10px 10px 1em 30px;
 font-family: Helvetica, Arial, sans-serif;
 font-size: 0.875rem;
 color: black;
}

blockquote {
  margin-top: 1em;
  margin-left: 35px;
  margin-right: 10px;
  margin-bottom: 1em;
  font-size: 1.0rem;
  font-family: Helvetica, Arial, sans-serif;
  color: black;
  text-align: justify;
  font-style: italic;
  line-height: 1.2;
}


.description-site {
    color: white;
    text-align: center;
    font-size: clamp(14px, 1.6vw, 22px);
}

.email-site {
    color: #66ccff;
    font-size: clamp(9px, 1vw, 12px);
}






a {
  font-size: 0.90em; /* correction virgule -> point */
}

a:link {
  font-family: Helvetica, Arial, sans-serif;
  color: blue;
  font-weight: bold;
  text-decoration: underline;
  font-size: 0.875rem;
}


.zone p {
  margin: 5px 0;   /* réduit l’espace vertical */
}



.compact {
  line-height: 1;
}


.cadre {
	background-color: #dfe7fb;
  border: 2px solid #0b2a5b;
  padding: 10px;
  padding: 10px;
  margin: auto;
  width: 80%;
  text-align: center;
}


.fond {
  background-color: #dfe7fb;
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 10px;
  margin-bottom: 1em; /* correction "1.0 0em" */
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.0rem;
  color: black;
  border-left: 4px solid #0b2a5b;   /* barre bleue marine*/
  padding-left: 10px;
  font-weight: bold;
  text-align: justify;
}




/* Centrage date de mise à jour*/

.cell-centree {
  text-align: center;      /* horizontal */
  vertical-align: middle;  /* vertical */
  color: #B22222;
  font-size: 1.5rem;
}


.table-avec-fond {
  width: 100%;
  height: 200px;
  border-collapse: collapse;
  background-image: url("Palais_original_V2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.table-avec-fond td {
  border: 1px solid black;
  background: transparent; /* important */
}

hr {
  border: none;
  height: 1px;
  background-color: #2B4798;
  width: 98%;
  margin-top: 1.1em;
  margin-left: 35px;
  margin-right: 10px;
  margin-bottom: 1.1em;
}

/* =========================
   LISTES
   ========================= */

ul {
  padding-left: 2%;
  margin-left: 30px;
  font-family: Helvetica, Arial, sans-serif;
  margin-bottom: 0;
  line-height: 1.2;
}

ul li {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* Si tu veux garder un style général li plus aéré,
   attention: ça écrase le "ul li" ci-dessus. */
li {
  font-family: Helvetica, Arial, sans-serif;
  text-align: justify;
  margin-top: 1em;
  margin-left: 2%;
  margin-right: 10px;
  line-height: 1.5;
  font-size: 1.0rem;
  margin-bottom: 0;
  padding: 0;
}



/* =========================
   DIVERS
   ========================= */


.arrondie {
  border: 3px solid #C0C0C0;
  border-radius: 20px;
}

.macellule {
  background-image: url("paluche.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.propriete {
  background-image: url("paluche.jpg");
  background-position: center;
  background-color: transparent;
  background-repeat: no-repeat;
}

.esp { margin: 0; }

.gras { font-weight: bold; }

.red {
  color: #B22222;
  font-weight: bold;
}

.rouge {
  color: #FF0000;
  font-weight: bold;
}

.ombre {
  border: 2px solid blue;
  border-radius: 20px;
  box-shadow: 6px 6px 12px #7979FF;
}

.b1 { border-color: blue; border-left-style: solid; }
.b2 { border-color: grey; border-left-style: ridge; }

tr, td { padding: 2px; }

/* =========================
   TITRES / BARRES
   ========================= */

.titre-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #4F6FB5;
  padding: 10px;
  margin-right: 20px; /* correction "marging-right" */
  color: white;
  font-weight: bold;
}

.icone-lien img {
  width: 16px;
  height: 16px;
}


Initial h1 {
  width: 90%;
  margin: 20px auto;
  background-color: #8fa6de;
  font-size: 1.80rem;
  color: #ffffff;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 25px;
  border-radius: 14px;
}



Old h1 {
  width: 90%;
  margin: 0 auto;
  background-color: #2B4798;
  font-size: 1.80rem;
  color: white;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 25px;
}



h1 {
  width: 90%;
  margin: 20px auto;
  background-color: #7F93A6;
  font-size: 1.80rem;
  color: #ffffff;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 25px;
  border-radius: 14px;
  margin-bottom: 30px;

  /* Ombre du bloc */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);

  /* Ombre du texte */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.entoure {
  display: inline-block;
}



h3 {
  background: linear-gradient(to left,  #FFFFFF, #dfe7fb);
  font-weight: bold;
  font-size: 1.60rem;
  color: #B22222;
  padding: 30 px;
  margin-top: 10 px;
  margin-right: 5px;
  margin-bottom: 0px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: justify;
  border-radius: 14px;
}





h2 {
  font-size: 1.2rem;
  color: #B22222;
  font-weight: bold;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  padding: 30 px;
  margin-right: 10px;
  margin-top: 10 px;
  margin-bottom: 10px;
  text-align: justify;
}



h4 {
  background: linear-gradient(to left,  #FFFFFF, #dfe7fb);
  font-weight: bold;
  font-size: 1.40rem;
  color: #B22222;
  padding: 30 px;
  margin-top: 10 px;
  margin-right: 5px;
  margin-bottom: 10px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: justify;
  border-radius: 14px;
}


h5 h6 {
  font-size: 100%;
  color: #B22222;
  text-align: left;
  font-weight: bold;
  text-decoration: underline;
  font-family: Helvetica, Arial, sans-serif;
  padding: 10px;
}

h4 { margin: 20px; }
h5 { margin: 25px; }
h6 { margin: 30px; }

cite {
  margin-top: 5px;
  margin-left: 40px;
  margin-right: 10px;
  margin-bottom: 2px; /* correction "2x" */
  font-family: Helvetica, Arial, sans-serif;
  font-size: smaller;
  font-style: italic;
  color: black;
}



/* =========================================================
   Sommaire : titres de section (RESPONSABILITES, ASSURANCES...)
   ========================================================= */

a.liste-enum {
  display: block;
  margin: 12px 0 6px 0;
  padding: 4px 0;
  font-size: 1.2rem; /* mets 1.4rem si trop grand */
  font-weight: bold;
  font-style: italic;
  color: #2b4798;
  text-decoration: underline;
}



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

   Listes : styles par niveaux (liste-n1 / liste-n2 / liste-n3) 
   utilisées dans le sommaire

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



:root {
  --bleu-listes: #2B4798;
}



.liste-n1,
.liste-n2,
.liste-n3 {
 color: var(--bleu-listes);
}



.liste-n1 a,
.liste-n2 a,
.liste-n3 a {
color: inherit;
}



/* Tailles de base du sommaire */




/* Retraits + tailles progressifs */


.liste-n1 { padding-left: 5px; font-size: 0.95em; }
.liste-n2 { padding-left: 25px; font-size: 0.80em; }
.liste-n3 { padding-left: 45px; font-size: 0.75em; }



/* Puces par niveau */

.liste-n1 { list-style-type: disc; }
.liste-n2 { list-style-type: circle; }
.liste-n3 { list-style-type: square; }



/* Espacement + interlignage (resserré surtout en n2/n3) */

.liste-n1 > li { padding-left: 5px; line-height: 1.1; font-weight: bold; }
.liste-n2 > li { padding-left: 25 px; line-height: 1; font-weight: normal; }
.liste-n3 > li { padding-left: 45 px; line-height: 1.08; font-weight: normal; }



/* Règles des <li> DU SOMMAIRE uniquement (resserrées) */


/* =========================
   BANDEAU HEADER CLIQUABLE
   ========================= */

header {
  margin-top: 0;
  width: 100%;
}

.bandeau-link {
  display: block;
  line-height: 0;
}

.bandeau-link:hover {
  opacity: 0.97;
}

/* =========================
   ENTÊTE (version nouvelle)
   ========================= */



.site-header {
    margin: 0;
    padding: 0;
}



.hero-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  margin: 0;
  }

.identite {
  padding: 12px 0 6px;
  text-align: center;
}


.identite-title{
  display: inline-flex;        /* centre le contenu interne */
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;              /* 👈 autorise le retour à la ligne */
  margin: 6px auto 0;          /* centre le bloc lui-même */
  text-align: center;
  font-size: 0.95rem;
  color: #B22222;
  background: rgba(255,255,255,0.85);
  padding: 4px 12px;
  border-radius: 999px;
  max-width: 100%;
  box-sizing: border-box;
  
}


.brand { font-size: 1.4rem; }

.identite-sub {
  font-size: 0.9rem;
  font-weight: 400;
}

.identite-mail {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: #0b2fb5;
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
}


/* ===== FOOTER ===== */
.footer-note {
  text-align: center;
  margin: 12px 0 18px;
  color: #efefef;
  font-weight: 700;
}

.site-footer {
  padding: 14px 0 18px;
}

.logos {
  display: flex;
  gap: 50px; /* espace entre les logos */
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;  
}

.logos img {
  height: 25px;
  width: auto;
}


.small { margin-top: 10px; font-size: 0.95rem; }

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .hero-img { max-height: 220px; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.2rem; }
  .identite-title { font-size: 1rem; }
  .card { padding: 14px; }
  .card-title { font-size: 1.2rem; }
}


@media screen and (max-width: 768px) {
  p {
    margin-left: 10px;
    margin-right: 10px;
  }

  .jp {
    margin-left: 10px;
    margin-right: 10px;
  }

  .barre-gauche {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media screen and (max-width: 600px) {

    body {
        width: 100%;
        max-width: 100%;
        padding-left: 8px;
        padding-right: 8px;
        overflow-x: hidden;
    }

    main {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 5px;
        margin: 0;
    }

    .grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .card {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }

    table {
        width: 100% !important;
        max-width: 100%;
        table-layout: fixed;
    }

    td {
        overflow-wrap: anywhere;
    }

    ul {
        margin-left: 10px;
        padding-left: 15px;
    }
}

@media screen and (max-width: 600px) {

    .card .list-n1 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 14px !important;
    }

    .card .list-n1 li {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
    }

}








/* =========================
   REMARQUE : règles supprimées car invalides
   - caption { margin-top=0; }
   - .bloc { li: }
   - width=100%;
   - .inner: / .full-height:
   - bloc vide dans @media
   ========================= */
