/*!********************************************************************************************************************************************************************************************************************************************************!*\
  !*** Fichier css  ***!
  \********************************************************************************************************************************************************************************************************************************************************/

  html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;

    background-image: url("/static/images/PONT_AO.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

main {
    flex: 1;
}

/* ========================= */
/* === Barre supérieure === */
/* ========================= */

.top-bar {
    background-color: #f5af30;
    padding: 5px 10px;
    text-align: right;
}

.top-bar img {
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.top-bar a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.top-bar a svg {
  display: block;
}

.top-bar a:hover {
  opacity: 0.8;
  transform: scale(1.1);
  transition: 0.2s ease;
}

/* ========================= */
/* === Contenu central ===== */
/* ========================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: white;
    border-bottom: 4px solid #0073cf;
}

.logo-mclu img,
.logo-blason img {
    height: 80px;
}

.center-content {
    text-align: center;
    flex-grow: 1;
    margin: 0 40px;
}

.logo-ministere {
  height: 205px;
  width: auto;
}

.logo-sigrh {

    height: 80px;
    width: auto;
}

.logo-blason {
    height: 100px;
    width: auto;
}

.center-content .titlelogo {
    font-weight: bold;
    color: #195B4B;
    font-size: 1em;
    font-family: "Century Gothic", Arial, sans-serif;
}

.center-content .title {
    font-weight: bold;
    color: #195B4B;
    font-size: 1.5em;
    font-family: "Century Gothic", Arial, sans-serif;
}

.center-content .subtitle {
    font-size: 1.5em;
    font-weight: bold;
    color: #195B4B;
    font-family: "Century Gothic", Arial, sans-serif;
}

.footer {
    background-color: #1c5b49;
    color: white;
    font-family: Arial, sans-serif;
    padding: 20px 20px 5px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 220px;
    margin: 10px;
    }

.footer-logo {
    height: 60px;
    margin-right: 10px;
    }

.republique {
      font-weight: bold;
      margin-top: 10px;
    }

.footer-column h4 {
    color: #f5af30;
    font-size: 1.1em;
    margin-bottom: 10px;
    }

.footer-column ul {
    list-style: none;
    padding: 0;
    }

.footer-column ul li {
      margin-bottom: 8px;
    }

.footer-column ul li a {
      text-decoration: none;
      color: white;
      transition: color 0.3s;
    }

.footer-column ul li a:hover {
      color: #f5af30;
    }

.footer-column ul li a.orange {
      color: #f5af30;
    }

.social-icons img {
      height: 24px;
      margin-right: 10px;
    }

.social-icons a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.social-icons a svg {
  display: block;
}

.social-icons a:hover {
  opacity: 0.8;
  transform: scale(1.1);
  transition: 0.2s ease;
}

.footer-bottom {
      text-align: center;
      font-size: 0.85em;
      margin-top: 30px;
      border-top: 1px solid rgba(129, 108, 108, 0.2);
      padding-top: 10px;
      color: #ccc;
    }

      .foncier-zone {
      display: flex;
      justify-content: space-between;
      padding: 40px 60px;
      color: white;
      font-family: 'Century Gothic', Arial, sans-serif;
      }

    .foncier-left {
      flex: 2;
      background: rgba(31, 78, 31, 0.3); 
      border-radius: 20px;
    }

    .foncier-left .small-text {
      font-size: 1.3rem;
      font-weight: bold;
      margin-bottom: 10px;
      padding-left: 10px;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }

    .foncier-left h1 {
      font-size: 3.2em;
      font-weight: bold;
      line-height: 1.3;
      color: white;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }

    .foncier-right {
      flex: 0 0 350px;
      background-color: #f5af30;
      color: #004d40;
      padding: 30px 20px;
      border-radius: 10px;
      text-align: center;
      font-weight: bold;
    }

    .foncier-right .label {
      font-weight: bold;
      margin-bottom: 10px;
      color: white;
    }


    .buttons-choice {
      display: flex;
      justify-content: space-around;
      margin-bottom: 20px;
    }

    .buttons-all{
      
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      border: 1px solid #004d40;
      background-color: transparent;

      padding: 10px;
      width: 110px;
      height: 100px;

      font-weight: bold;
      font-size: 0.9rem;
      cursor: pointer;
      border-radius: 10px;

      transition: 0.25s;
    }

    .buttons-all svg{
    margin-bottom:5px;
    }

    .icon-green path {
        fill: #004d40;
    }

    .icon-green p {
      color: #004d40;
    }

    .buttons-all.selected{
      background-color: #004d40;
    }

    .icon-green.selected path {
        fill: white;
    }

    .icon-green.selected p {
      color: white;
    }

    .bienvenue-block {
      margin: 20px 0;
    }

    .btn-welcome {
      background-color: white;
      color: #004d40;
      font-weight: bold;
      padding: 10px 20px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
    }

    .login-prompt {
      margin-top: 20px;
    }

    .login-link {
      display: inline-block;
      margin-top: 5px;
      color: #004d40;
      font-weight: bold;
      text-decoration: none;
    }

    .buttons-choice {
          display: flex;
          gap: 10px; /* Diminue la valeur pour rapprocher les boutons */
          align-items: center;
          justify-content: center; /* ou 'center' selon l'effet désiré */
    }

    .powered-container {
      display: flex;
      justify-content: flex-end;
      padding: 5px 20px 0 0;
      background-color: white;
    }

    .powered-by {
      display: flex;
      flex-direction: column;   /* ⭐ clé du problème */
      align-items: flex-end;
      font-size: 0.9em;
      color: #195B4B;
      font-family: "Century Gothic", Arial, sans-serif;
      gap: 3px;
    }

    .powered-line {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .powered-logo {
      height: 20px;
      width: auto;
    }

    .powered-by .group {
      font-style: italic;
      font-size: 0.85em;
    }

    @media (max-width: 992px) {
    .header {
      flex-direction: column;
      text-align: center;
      padding: 10px;
    }

    .foncier-zone {
      flex-direction: column;
      padding: 20px;
    }

    .foncier-right {
      margin-top: 20px;
    }
  }

/* =====================================================
   MESSAGE DES RESPONSABLES – VERSION BLOCK PAR BLOCK
   ===================================================== */

.dg-message-section {
  background-color: #ffffff;
  padding: 60px 40px;
  position: relative;
}

/* ==============================
   DÉCOR DE FOND DU DISCOURS
   ============================== */

.dg-message-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/sigrh_wallpaper.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  opacity: 10; /*TRÈS FAIBLE */
  z-index: 1;
  pointer-events: none;
  border-top: 4px solid rgba(23, 119, 60, 0.45);
}

/* =====================================================
   BLOCK RESPONSABLE
   ===================================================== */

.dg-block {
  max-width: 68%;
  margin: 0 auto 80px auto;
  position: relative;
  z-index: 2;

  display: flex;
  gap: 40px;
  align-items: flex-start;

  background-color: #ffffff;
  padding: 45px 40px;

  /* Bordures du heut slim */
  border-top: 4px solid #0073cf;
  /* Bordures slim */
  border-left: 2px solid rgba(31, 143, 74, 0.45);
  border-right: 2px solid rgba(31, 143, 74, 0.45);

  /* Ombre renforcée */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.04);

  transition: all 0.5s ease;
}

/* ==============================
   EFFET AU SURVOL (SUBTIL)
   ============================== */

.dg-block:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   COLONNE GAUCHE
   ===================================================== */

.dg-left {
  width: 300px;
  /* border: 1px solid #f06a00;
  padding: 20px; */
  text-align: center;
}

.dg-photo {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.dg-name {
  font-weight: 700;
  color: #004d40;
  margin: 0;
}

.dg-title {
  font-size: 14px;
  color: #f06a00;
  font-style: italic;
  margin-top: 3px;
}

/* =====================================================
   COLONNE DROITE
   ===================================================== */

.dg-right {
  flex: 1;
}

/* TITRE AVEC BARRE VERTE */

.dg-right h2 {
  position: relative;
  padding-left: 18px;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
  font-family: "Century Gothic", "Montserrat", Arial, sans-serif;
}

.dg-right h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #1f8f4a;
}

/* TEXTE */

.dg-right p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

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

@media (max-width: 900px) {
  .dg-block {
    flex-direction: column;
    padding: 30px 20px;
  }

  .dg-left {
    width: 100%;
  }
}


/* =====================================================
   TOAST AFFICHE
   ===================================================== */

.toast-dev{
  position:fixed;
  bottom:30px;
  right:30px;
  background:#323232;
  color:white;
  padding:12px 18px;
  border-radius:6px;
  opacity:0;
  transform:translateY(20px);
  transition:0.3s;
  z-index:9999;
}

.toast-dev.show{
  opacity:1;
  transform:translateY(0);
}
