* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #D9EBFF;
  color: #1e1e1e;
  padding: 40px;
}

.page-wrapper {
  max-width: 1250px;
  margin: auto;
  background: white;
  border-radius: 28px;
  padding: 20px;
  margin-bottom: 30px;
}



/* NAVBAR */

.navbar {
  display: flex;
  justify-content: none;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  padding-inline: 20px;
}

.logo {
  margin-right: auto;
}

.logo a {
  font-size: 2.5rem;
  font-weight: 800;
  color: #24324a;
  font-family: 'Bowlby One SC', sans-serif;
  text-decoration: none;
}

.nav-liens {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  width: 100%;
}

.nav-liens a:not(.logo a) {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  align-items: center;
}

.bdr {
  margin-left: auto;
}



/* ACCUEIL */

.accueil {
  position: relative;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  background-image: url('images/chat_voyageur.jpg');
  background-size: cover;
  background-position: 0% 10%;
  display: flex;
  align-items: center;
  padding: 60px;
  margin-top: 20px;
}

.accueil-ombre {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.accueil-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 650px;
}

.accueil-content h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 2rem;
  max-width: 500px;
  font-weight: 800;
}

.accueil-content p {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  max-width: 495px;
  font-weight: 500;
}



/* RECHERCHE + FILTRES */

.search-filters-wrap form {
  display: wrap;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 40px 0 10px;
}

.search-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.search-group button {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: #24324a;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  /* ← change cette valeur */
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.filters-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-bottom: 1Opx;
}

.search-input {
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid #ddd;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  width: 400px;
  background: #f5f5f5;
  color: #1e1e1e;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #24324a;
  background: white;
}

.search-group {
  padding-bottom: 15px;
  padding-left: 5px;
}

.search-group button {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background: #24324a;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-group button:hover {
  background: #ffd900;
  color: #24324a;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #717171;

}

.filter-select {
  padding: 5px 28px 5px 14px;
  border-radius: 999px;
  border: 2px solid #ddd;
  background: #f5f5f5;
  color: #1e1e1e;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s;
}

.filter-select:focus {
  border-color: #24324a;
  background-color: white;
}

.reset-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid #ddd;
  background: transparent;
  color: #aaa;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.reset-btn:hover {
  border-color: #e05a5a;
  color: #e05a5a;
}

.results-meta {
  font-size: 0.85rem;
  color: #717171;
  margin: 8px 0 20px;
  padding-left: 10px;
}

.results-meta strong {
  color: #24324a;
}

.filtre button {
  padding: 5px 24px;
  border-radius: 999px;
  border: none;
  background: #24324a;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.filtre button:hover {
  background: #ffd900;
  color: #24324a;
}

/* Boutons ordre */
.ordre-btns {
  display: flex;
  gap: 6px;
}

.ordre-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid #ddd;
  background: #f5f5f5;
  color: #717171;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.ordre-btn:hover {
  border-color: #24324a;
  color: #24324a;
}

.ordre-btn.active {
  background: #24324a;
  border-color: #24324a;
  color: white;
}

/* Bouton filtrer */
.filters-row button[type="submit"] {
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  background: #ffd900;
  color: #24324a;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.filters-row button[type="submit"]:hover {
  background: #24324a;
  color: white;
}

/* Bouton réinitialiser */
.reset-btn {
  padding: 5px 24px;
  border-radius: 999px;
  border: 2px solid #ddd;
  background: transparent;
  color: #717171;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.reset-btn:hover {
  border-color: #e05a5a;
  color: #e05a5a;
}

/* Nb résultats */
.results-meta {
  font-size: 0.85rem;
  color: #717171;
  margin: 10px 0 20px;
}

.results-meta strong {
  color: #24324a;
}

@media (max-width: 768px) {
    .filters-group {
        flex-wrap: wrap;
    }

    .filtre,
    .reset-btn {
        width: 25%;
        text-align: center;
    }

    .filtre button {
        width: 100%;
    }
}


/* RÉPERTOIRE */

.discover {
  max-width: 1400px;
  margin: auto;
}

.discover h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 35px;
  margin-top: 60px;
  font-weight: 700;
  color: #24324a;
  font-family: 'Bowlby One SC';
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.card {
  background: #eeeeee;
  border-radius: 28px;
  overflow: hidden;
  transition: 0.4s;

}

a.destination-card {
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
}

.localisation {
  color: #24324a;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.card-bottom {
  background: #ffd900;
  border-radius: 999px;
  padding: 10px 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #24324a;
}

.card-bottom p {
  font-size: 1rem;
  font-weight: 700;
  align-content: center;
}

.card-bottom p span {
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 4px;
}

.card-bottom button {
  background: none;
  border: none;
  color: #24324a;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
}

.card-bottom button:hover {
  opacity: 0.8;
}


/* RESPONSIVE */

@media(max-width:1100px) {

  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media(max-width:768px) {

  body {
    padding: 20px;
  }

  .discover h1 {
    font-size: 2.2rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .card h2 {
    font-size: 1.6rem;
  }

  .card-bottom {
    flex-direction: column;
    gap: 10px;
    border-radius: 24px;
  }

  .card-bottom p {
    display: flex;
    justify-content: center;
    align-items: start;
  }

}



/* DESTINATIONS */

.destinations-section {
  margin-top: 70px;
  background: #FFED92;
  border-radius: 30px;
  padding: 35px;
}

.section-header span {
  font-size: 30px;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
  gap: 120px;
}

.section-header h2 {
  font-size: 2rem;
  color: #24324a;
  margin-top: 0px;
  display: flex;
}

.section-header p {
  color: #24324a;
  max-width: 700px;
  text-align: right;
  margin-right: auto;
  font-size: 0.95rem;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.destination-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: 320px;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.card-overlay h3 {
  font-size: 1.5rem;
}



/* À PROPOS */

.apropos-section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 50px 40px;
  background: #FFED92;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apropos-section2 {
  max-width: 1000px;
  margin: 30px auto;
  padding: 50px 40px;
  background: #FFED92;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apropos-section .apropos-titre {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  margin-top: 20px;
}

.apropos-section .apropos-titre2 {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  margin-top: 40px;
}

.apropos-section .apropos-titre3 {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  margin-top: 20px;
}

.apropos-section h1 {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 2.5rem;
  color: #24324a;
  margin-top: 0px;
  text-align: center;
}

.apropos-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #24324a;
  margin-bottom: 0;
}

.apropos-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: #24324a;
  background: #D9EBFF;
  padding: 5px 16px;
  border-radius: 10px;
  width: fit-content;
}

.apropos-role2 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #24324a;
  background: #D9EBFF;
  padding: 5px 16px;
  border-radius: 10px;
  width: fit-content;
}

.apropos-texte {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
  padding-left: 40px;
}

.apropos-texte span {
  font-size: 0.9rem;
  color: #24324a;
  font-weight: 900;
  padding: 0;
}

.apropos-contact {
  background: white;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 70px;
  max-width: 900px;
  margin-top: 10px;
  margin-left: 30px;
  margin-right: 30px;
}

.apropos-contact p {
  font-size: 0.9rem;
  color: #24324a;
  font-weight: 600;
  padding: 0;
}

.apropos-contact span {
  font-size: 0.9rem;
  color: #24324a;
  font-weight: 900;
  padding: 0;
}

.apropos-contact a {
  color: #24324a;
  font-weight: 600;
  text-decoration: none;
}

.apropos-contact a:hover {
  text-decoration: underline;
}

@media(max-width:768px) {
  .apropos-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}

/* ── PAGE FILM ── */

.film-page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Bouton retour */
.btn-retour {
  align-self: flex-start;
  text-decoration: none;
  color: #24324a;
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffd900;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn-retour:hover {
  background: #24324a;
  color: white;
}

/* Hero */
.film-hero {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: #FFED92;
  border-radius: 30px;
  padding: 36px;
  margin-bottom: 10px;
}

.film-hero img {
  width: 240px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.film-infos {
  display: wrap;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.film-infos h1 {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 2.8rem;
  color: #24324a;
  line-height: 1.1;
  margin-bottom: 10px;
}

.film-badge {
  display: inline-block;
  background: white;
  color: #24324a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.film-infos p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

.film-infos strong {
  color: #24324a;
}

/* Section lieux */
.lieux-section h2 {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 1.8rem;
  color: #24324a;
  margin-bottom: 24px;
}

.lieux-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Carte lieu */
.lieu-card {
  background: #f5f5f5;
  border-radius: 24px;
  overflow: hidden;
}

.photos-label {
  display: flex;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
}

.photos-label span {
  width: 50%;
  padding: 8px 16px;
  background: #e8e8e8;
  text-align: center;
}

.lieu-card-header {
  display: flex;
}

.lieu-card-header img {
  width: 50%;
  height: 260px;
  object-fit: cover;
}

.lieu-card-header img:last-child {
  border-left: 4px solid white;
}

.lieu-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lieu-tag span {
  background: #FFED92;
  color: #24324a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lieu-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #24324a;
}

.scene-description {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  border-left: 3px solid #FFED92;
  padding-left: 14px;
}

/* Coordonnées */
.coordonnees {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-bottom: 10px;
}

.coord-badge {
  background: #24324a;
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: monospace;
}

/* Responsive */
@media (max-width: 768px) {
  .film-hero {
    flex-direction: column;
    align-items: center;
    text-align: start;
  }

  .film-hero img {
    width: 100%;
    height: 260px;
  }

  .film-infos h1 {
    font-size: 2rem;
  }

  .realisateur-bloc {
    width: 100%;
  }

  .lieu-card-header {
    flex-direction: column;
  }

  .lieu-card-header img {
    width: 100%;
    height: 200px;
  }

  .lieu-card-header img:last-child {
    border-left: none;
    border-top: 4px solid white;
  }

  .photos-label span {
    width: 100%;
  }
}



/* MDP + FORMULAIRE */

.mdp-section,
.formulaire-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formulaire-section input,
.formulaire-section textarea,
.mdp-section input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.formulaire-section label {
  font-weight: 600;
  font-size: 0.85rem;
}

.succes {
  color: green;
  font-weight: 600;
}

.erreur {
  color: red;
  font-weight: 600;
}

.form-section-title {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 1.1rem;
  color: #24324a;
  background: #FFED92;
  padding: 10px 18px;
  border-radius: 12px;
  margin-top: 30px;
  margin-bottom: 8px;
}

.formulaire-section h1 {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 2rem;
  color: #24324a;
  text-align: center;
}

.formulaire-section form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formulaire-section input,
.formulaire-section textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid #ddd;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  background: #f5f5f5;
  outline: none;
  transition: border-color 0.2s;
}

.formulaire-section input:focus,
.formulaire-section textarea:focus {
  border-color: #24324a;
  background: white;
}

.formulaire-section label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #24324a;
  margin-top: 4px;
}

.formulaire-section button[type="submit"] {
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: #24324a;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 30px;
  transition: background 0.2s;
}

.formulaire-section button[type="submit"]:hover {
  background: #ffd900;
  color: #24324a;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.form-full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */

.footer {
  max-width: 1250px;
  background: rgb(255, 255, 255);
  border-radius: 28px;
  padding: 20px;
  margin: auto;
  padding: 20px;
  text-align: center;
  color:  #24324a;
  font-size: 0.95rem;
}

footer a {
    color: #24324a;
    font-weight: 600;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}