/* RESET GÉNÉRAL */
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Open Sans', sans-serif;
  background-color: #FFFFFF;
  color: #212529;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
/* pour le header*/
ul {
  list-style: none;
}

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

.conteneur {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.en-tete {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: transparent;
  z-index: 1000;
  transition: all 0.3s ease;
}

.en-tete.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.en-tete .conteneur {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-titre {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.titre-site {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.scrolled .titre-site {
  color: #212529;
}

.titre-site span {
  color: #00A651;
}

/* NAVIGATION */
.menu-principal ul {
  display: flex;
  gap: 1.5rem;
}

.menu-principal a {
  font-weight: 600;
  color: #FFFFFF;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.scrolled .menu-principal a {
  color: #212529;
}

.menu-principal .actif a {
  color: #00A651;
}

.menu-principal .actif a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00A651;
}

.menu-principal a:hover {
  color: #00A651;
}
/* BARRE DE RECHERCHE */
.barre-recherche {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  height: 44px;
  margin: 0 auto;
  border: 2px solid #00A651;
  border-radius: 999px;
  background-color: #ffffff;
  overflow: hidden;
}

.barre-recherche form {
  display: flex;
  width: 100%;
  height: 100%;
}

.barre-recherche input[type="text"] {
  all: unset;
  flex: 1;
  padding: 0 1rem;
  font-size: 1rem;
  height: 100%;
  background-color: transparent;
}

.barre-recherche button {
  margin: 0;
  width: 52px;
  height: 100%;
  border: none;
  background-color: #00A651;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0 999px 999px 0;
  padding: 0;
  box-sizing: border-box;
}
.barre-recherche button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  display: block;
}

/* HERO (accueil) */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/hero-accueil.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  text-align: center;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.contenu-hero {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.bouton-principal {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #00A651;
  color: #FFFFFF;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.bouton-principal:hover {
  background-color: #008744;
  color: #FFFFFF;
}
/* SECTION GÉNÉRALE */
.section {
  padding: 5rem 0;
}

/* SECTION CONCEPT */
.contenu-concept {
  padding: 5rem 0;
  text-align: center;
  background-color: #F8F9FA;
}

.cartes-concept {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.carte-concept {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.carte-concept:hover {
  transform: translateY(-5px);
}

.icone-concept {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.carte-concept h3 {
  font-size: 1.3rem;
  color: #00A651;
  margin-bottom: 1rem;
}

.carte-concept p {
  color: #6C757D;
  font-size: 1rem;
  line-height: 1.6;
}

/* PHRASE ÉTYMOLOGIE */
.etymologie {
  margin-top: 4rem;
  padding: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #E8F5E9; /* vert très clair */
  border-radius: 16px;
  font-size: 1.1rem;
  color: #212529; /* gris foncé */
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  line-height: 1.6;
}

.etymologie strong {
  color: #00A651;
}

/* SECTION LIEUX RÉCENTS */
.lieux-recents h2 {
  margin-bottom: 2rem;
}

.grille-lieux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.carte-lieu {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.carte-lieu:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  opacity: 0.7;
}

.image-lieu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.contenu-lieu {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.contenu-lieu h3 {
  margin-bottom: 0.5rem;
  color: #212529;
}

.infos-lieu {
  font-size: 0.875rem;
  color: #6C757D;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.infos-lieu .etiquette {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Catégories (couleurs) */
.categorie-naturel { background-color: #4CAF50; }
.categorie-paradisiaque { background-color: #00B8D4; }
.categorie-culturel { background-color: #FF9800; }
.categorie-historique { background-color: #8D6E63; }
.categorie-insolite { background-color: #FBC02D; color: #212529; }

.icone-localisation {
  width: 16px;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

.contenu-lieu p {
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 1rem;
}
.bouton {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #ffffff;
  color: #00A651;
  border: 2px solid #00A651;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.bouton:hover {
  background-color: #00A651;
  color: #ffffff;
}

/* Centrage bouton */
.centre-bouton {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
/* boutons de Hilary trouvé sur : "https://dev.to/webdeasy/top-20-css-buttons-animations-f41"*/
.buttons {
  margin-top: 50px;
  text-align: center;
  border-radius: 30px;
}

.blob-btn {
  z-index: 1;
  position: relative;
  padding: 20px 46px;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  color: #00A651;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  outline: none;
  border: none;
  transition: color 0.5s;
  cursor: pointer;
  border-radius: 30px;
}
.blob-btn:before {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #00A651;
  border-radius: 30px;
}
.blob-btn:after {
  content: "";
  z-index: -2;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 100%;
  height: 100%;
  transition: all 0.3s 0.2s;
  border-radius: 30px;
}
.blob-btn:hover {
  color: #FFFFFF;
  border-radius: 30px;
}
.blob-btn:hover:after {
  transition: all 0.3s;
  left: 0;
  top: 0;
  border-radius: 30px;
}
.blob-btn__inner {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #ffffff;
}
.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url("#goo");
}
.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 25%;
  height: 100%;
  background: #00A651;
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s;
}
@supports (filter: url("#goo")) {
  .blob-btn__blob {
    transform: translate3d(0, 150%, 0) scale(1.4);
  }
}
.blob-btn__blob:nth-child(1) {
  left: 0%;
  transition-delay: 0s;
}
.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}
.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}
.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}
.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.7);
}
@supports (filter: url("#goo")) {
  .blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.4);
  }
}
/*Hero de la page explorer */
.banniere-exploration {
  position: relative;
  height: 480px;
  background: url('img/hero-explorer.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding-top: 80px;
}

.banniere-exploration::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 0;
}

.contenu-banniere {
  position: relative;
  z-index: 1; 
  max-width: 800px;
  padding: 0 1rem;
}

.barre-recherche-centrale {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  width: 100%;
}

.barre-recherche-centrale form {
  display: flex;
  align-items: center;
  max-width: 600px;
  width: 100%;
  height: 44px;
  border: 2px solid #00A651;
  border-radius: 999px;
  overflow: hidden;
  background-color: white;
  transition: max-width 0.4s ease, box-shadow 0.3s ease;
}

.barre-recherche-centrale:focus-within form {
  max-width: 720px;
  box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.2);
}

.barre-recherche-centrale input {
  all: unset;
  flex: 1;
  padding: 0 1rem;
  font-size: 1rem;
  height: 100%;
  background-color: transparent;
}

.barre-recherche-centrale button {
  margin: 0;
  width: 60px;
  height: 100%;
  background-color: #00A651;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0 999px 999px 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.barre-recherche-centrale button:hover {
  background-color: #008744;
}

.barre-recherche-centrale button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  display: block;
}

/* Filtres */
.zone-filtres {
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  margin-bottom: 2rem;
}

.groupe-filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.filtre {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filtre label {
  font-weight: 600;
  color: #343A40;
  white-space: nowrap;
}

.filtre select {
  padding: 0.5rem 1rem;
  border: 1px solid #DEE2E6;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
}

.filtre select:focus {
  border-color: #00A651;
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

/* footer commun */
.pied-page {
  background-color: #00A651;
  padding: 3rem 1.5rem;
  color: white;
}

.contenu-pied-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.bloc {
  flex: 1;
  min-width: 200px;
}

.titre {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation ul li {
  margin-bottom: 0.5rem;
}

.navigation ul li a {
  color: white;
  transition: color 0.3s ease;
}

.navigation ul li a:hover {
  text-decoration: underline;
}

.icone-reseau {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.icone-reseau:hover {
  transform: scale(1.2);
}

.bouton-contact {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: #00A651;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.bouton-contact:hover {
  background-color: #008744;
  color: white;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-top: 3rem;
}

.texte-contact {
  margin-bottom: 10rem;
  line-height: 1.4;
}

/* === À PROPOS === */
.a-propos .en-tete .titre-site,
.a-propos .menu-principal a {
  color: #212529;
}

.a-propos .menu-principal .actif a {
  color: #00A651;
}
.presentation {
  padding-top: 6rem; 
  padding-bottom: 4rem;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.texte-projet {
  display: block;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.texte-projet h2 {
  font-size: 1.8rem;
  color: #00A651;
  margin-bottom: 1.5rem;
  text-align: center;
}

.texte-projet p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.2rem;
}

.highlight-box {
  background-color: #E9F8F0;
  padding: 1rem 1.5rem;
  border-left: 5px solid #00A651;
  border-radius: 8px;
  font-weight: 400;
  color: #1C1C1C;
  margin: 2rem 0;
}

.mentions-legales {
  background-color: #F9F9F9;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.mentions-legales h3 {
  font-size: 1.4rem;
  color: #00A651;
  margin-bottom: 1.5rem;
}

.mentions-legales ul {
  list-style: none;
  padding-left: 0;
}

.mentions-legales li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #444;
}
.liens-reseaux img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.liens-reseaux img:hover {
  transform: scale(1.2);
}

/* BANNIÈRE DU FORMULAIRE */
.banniere-formulaire {
  background: url('img/hero-formulaire.webp') no-repeat center center / cover;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: white;
  position: relative;
  margin-bottom: 3rem;
}

.banniere-formulaire::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.contenu-banniere {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.contenu-banniere h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contenu-banniere p {
  font-size: 1.1rem;
  line-height: 1.6;
}


/* FORMULAIRE */
.contenu-formulaire {
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contenu-formulaire h2 {
  text-align: center;
  color: #00A651;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

form label {
  font-weight: 600;
  display: block;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.form-style input[type="text"],
.form-style textarea,
.form-style select,
.form-style input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
}

/* MESSAGE DE SUCCÈS OU D’ERREUR */
.message {
  margin-bottom: 1.5rem;
  background-color: #e8f5e9;
  border-left: 5px solid #00A651;
  padding: 1rem;
  font-weight: 600;
  border-radius: 6px;
  color: #1b5e20;
  text-align: center;
}

/* bouton formulaire'*/
form button {
  display: block;
  margin: 2rem auto 0;
  background-color: #00A651;
  color: white;
  padding: 0.8rem 1.8rem;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #008c48;
}

/*MEDIA QUERIES RESPONSIVE */

@media (max-width: 1024px) {
  .conteneur {
    padding: 0 1rem;
  }

  .grille-lieux {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .contenu-banniere h2 {
    font-size: 1.6rem;
  }

  .contenu-banniere p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .en-tete .conteneur {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .menu-principal ul {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .menu-principal a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .logo-titre {
    justify-content: space-between;
    width: 100%;
  }

  .grille-lieux {
    grid-template-columns: 1fr;
  }

  .contenu-hero {
    padding: 0 1rem;
  }

  .barre-recherche,
  .barre-recherche-centrale form {
    max-width: 100%;
  }

  .presentation {
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .texte-projet h2 {
    font-size: 1.5rem;
  }

  .texte-projet p {
    font-size: 1rem;
  }

  .contenu-pied-page {
    flex-direction: column;
    align-items: flex-start;
  }

  .bloc {
    width: 100%;
  }

  .icone-reseau {
    width: 24px;
    height: 24px;
  }

  .banniere-formulaire {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .contenu-banniere h2 {
    font-size: 1.4rem;
  }

  .contenu-banniere p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .titre-site {
    font-size: 1.2rem;
  }

  .carte-concept {
    padding: 1.5rem;
  }

  .texte-projet p {
    font-size: 0.95rem;
  }
}