
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&display=swap');

html, body {
  height: 100%;              /* occupe toute la hauteur de l'écran */
  margin: 0;
  display: flex;
  flex-direction: column;    /* empile header / main / footer */
  font-family: 'Roboto', sans-serif;
  background-color: #f6f6f6;
  
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo à gauche, nav à droite */
    background-color: #8db6b7;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
nav .logo a img {
    height: 50px;
    display: block;
}
main {
  flex: 1;
                  /* occupe tout l’espace restant */
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}


h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}
.boutons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.rectangle {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 420px;
    height: 90px;
    padding: 0 20px;

    border: 2px solid #333;
    border-radius: 10px;
    background: #f9f9f9;

    text-decoration: none; /* retire le lien bleu */
    color: inherit;        /* garde la couleur du texte */
    transition: 0.2s ease;
}

.rectangle:hover {
    transform: scale(1.04); /* agrandissement léger */
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
    background-color: #e6e6e6;
}
.rectangle-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.titre {
    flex: 1;             /* le texte prend tout l’espace central */
    font-size: 18px;
    font-weight: 600;
}

.fleche {
    font-size: 26px;
    font-weight: bold;
}
.rectangle:hover .fleche {
    transform: translateX(5px); /* effet smooth */
}

footer {
  background-color: #f8f8f8;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-family: Arial, sans-serif;
  margin-top: 20px; /* ⇽ plus grand espace avant le footer */
}

.footer-container {
  
  max-width: 1200px;
  margin: 0 auto;
  
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .pageActive {
  color: #007bff;
  text-decoration: underline;
}

footer p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

.container-ml {
    margin-top: 20px;
    width: 80%;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
}
/* Conteneur relatif pour positionner le lien par-dessus la carte */
.map-container {
    position: relative;
    width: 100%;
    height: 600px; /* Ajuste la hauteur selon tes besoins */
}

/* L'iframe prend tout l'espace du conteneur */
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Lien “See full screen” positionné en haut à droite de la carte */
.fullscreen-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    z-index: 10;
}

.fullscreen-link:hover {
    background: rgba(0,0,0,0.8);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.popup {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10;
    text-align: center;
    text-align: right; /* ← Aligne tout le contenu à droite */
}

.popup button {
  background: transparent;   /* Fond transparent */
    color: white;              /* Couleur du texte */
    border: 2px solid white;   /* Bordure visible, optionnel */
    border-radius: 5px;        /* Coins arrondis, optionnel */
    padding: 5px 10px;         /* Espace autour du texte */
    cursor: pointer;           /* Curseur en main au survol */
    font-weight: bold;         /* Texte en gras, optionnel */
    transition: background 0.3s, color 0.3s; /* Animation au hover */
}
.popup button:hover {
    background: rgba(255,255,255,0.2); /* Fond semi-transparent au survol */
    color: white;
}
.nav-back {
    display: inline-block;
    margin-left: 20px; /* espace par rapport au logo */
}

.back-button {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    background: #333;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-button:hover {
    background: #555;
}
