/*

Description: Mon premier thème WordPress sans modèle existant.
Version: 1.0
*/

/* RESET DE BASE */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background: url('image.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #1f2937;
}

/*div img {
  width: auto;
  height: 350px;
}*/

/* CONTAINERS */
main, footer {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

header {
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3 {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {

  h1 {
    font-size: 1.7rem; 
     line-height: 1.2; 
  }

  
}

h1:first-child {
  margin-top: 0;
}


h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  color: #FFFFFF;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
}

.single-article h2,
.blog-list h2,
.single-content h2 {
  color: #1f2937; 
  border-bottom: 1px solid #cbd5e1;
  font-weight: 500;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

/* HEADER */
header {
  background-color: #0f172ab3;
  background-blend-mode: soft-light;
  color: white;
  max-width: 100%;
  padding: 1rem;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav a img {
  width: 100px;
  height: auto;
}

/* Ajustement pour les appareils mobiles */
@media (max-width: 768px) {
  nav a img {
    width: 70px; 
  }
}

header img {
  height: 40px;
}

header ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

header a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

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

/* HERO SECTION */
.hero {
  text-align: center;
  background: linear-gradient(to right, #e0f2feb3, #f0f9ffb3);
  padding: 3rem 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.search-form {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.search-form input,
.search-form button {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.search-form button {
  background-color: #0077cc;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.search-form button:hover {
  background-color: #2563eb;
}

/* ARTICLES ET OFFRES */
article {
  background-color: #FFFFFFb3;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  
}

article:hover {
  transform: translateY(-4px);
}

article img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  
}

article a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #012466;
  font-weight: 500;
  text-decoration: none;
}

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

/* LISTES, UL, ICONES */
ul {
  list-style-type: none;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

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

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

p {
  /* color: #FFFFFF; */
}

/* CARTE DES DESTINATIONS */



section article h3 {
  min-height: 48px; 
  display: flex;
  align-items: flex-end; 
  justify-content: center; 
  text-align: center;
  margin-bottom: 0.5rem;
}


section article img {

  display: block;
  
  object-fit: cover; 
  margin: 0 auto; 
  
}

/*section b {
  color: #00B3E9;
}*/

section img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1rem 0;
}



/* BLOCKQUOTE - AVIS CLIENTS */
blockquote {
  background-color: #e0f2feb3;
  border-left: 4px solid #3b82f6;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  font-style: italic;
}

/* FOOTER */
footer {
  background-color: #0f172a;
  color: white;
  padding: 2rem 1rem;
  margin-top: 4rem;
  text-align: center;
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer a {
  color: #bae6fd;
  text-decoration: none;
}

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

/* RESPONSIVE */
@media (min-width: 768px) {
  .search-form {
    flex-wrap: nowrap;
  }

  article {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  article img {
    max-width: 150px;
    flex-shrink: 0;
  }

  article h3 {
    margin-top: 0;
  }
}

/* Sélecteur de langue */
.language-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
}

.language-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
}

.language-toggle img {
  width: auto;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFFb3;
}

.language-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 0.5rem;
}

.language-options button {
  background: none;
  border: none;
  padding: 0.25rem;
  margin: 0.25rem 0;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
}

.language-options img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.language-dropdown:hover .language-options {
  display: block;
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
/*  transition: all 0.3s ease;*/
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

/* Bouton Chatbot flottant */
.chatbot-float {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 

}

.chatbot-float img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}



/* Fiche produit */
.fiche-produit {
  background-color: #FFFFFFb3;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fiche-produit h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #012466;
}

.fiche-produit h2 {
  font-size: 1.6rem;
  color: #0f172a;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

.fiche-produit ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.fiche-produit li {
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.fiche-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.fiche-produit .btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.fiche-produit .btn:hover {
  background-color: #2563eb;
}

.fiche-produit blockquote {
  background-color: #e0f2feb3;
  border-left: 4px solid #3b82f6;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  font-style: italic;
}

/* Menu flottant vertical pour le permis côtier */
.permis-cotier-float {
  position: fixed;
  top: 50%;
  right: 0px; 
  transform: translate(-8%, -350%) rotate(-90deg); 
  transform-origin: right center;
  background-color: #FFFFFFb3;
  color: #1B1A76;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}

/* Tiroir latéral droit pour le permis côtier */
.permis-cotier-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: #ffffffb3;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 999;
  padding: 1rem;
}

.permis-cotier-drawer.open {
  right: 0;
}

/* Ajustements pour les appareils mobiles */
@media (max-width: 768px) {
  .permis-cotier-float {

    transform: translateY(-200%) translateX(-5%) rotate(-90deg);
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .whatsapp-float {
    width: 35px;
    height: 35px;
    bottom: 70px;
    right: 10px;
  }

  .whatsapp-float img {
    width: 100%;
    height: auto;
  }

  .chatbot-float {
    width: 35px;
    height: 35px;
 /*   font-size: 1rem; */
    bottom: 20px;
    right: 10px;
  }
}


.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* CTA propriétaire */
.cta-proprietaire {
  margin-top: 1em;
  text-align: center;
}

.cta-proprietaire p {
  font-size: 1rem;
  margin-bottom: 0.5em;
  color: #333;
}

.cta {
  background-color: #0077cc;
  color: white;
  padding: 0.5em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.cta:hover {
  background-color: #2563eb;
}

.star-rating {
  font-size: 1.2em;
  color:  goldenrod;
  text-shadow: 
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black;
  font-family: Arial, sans-serif;
}


.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.menu {
  display: flex;
  gap: 1rem;
  list-style: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: white;
  }

  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .language-dropdown {
    margin-left: 0;
  }

}


.hero {
  text-align: center;
  background: linear-gradient(to right, #e0f2feb3, #f0f9ffb3);
  padding: 2rem 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.search-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.search-form input,
.search-form button {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.search-form button {
  background-color: #0077cc;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.search-form button:hover {
  background-color: #2563eb;
}

@media (min-width: 768px) {
  .search-form {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}


  .search-form input,
  .search-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .search-form input::placeholder,
  .search-form select option[value=""][disabled] {
    color: #ccc; 
  }

  .search-form input[type="date"] {
    color: #ccc; 
  }

.date-range {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.date-range label {
  color: #1f2937;
  font-size: 1rem;
}

.date-range input[type="date"] {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

@media (max-width: 768px) {
  .date-range {
    flex-direction: column;
    align-items: stretch;
  }
}


.search-form input[type="text"],
.search-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.date-range-container {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.search-form input[type="text"],
.search-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.date-range-container {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.search-form input[type="text"],
.search-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  height: 44px; 
}

.date-range-container {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.date-range-container input[type="text"],
.date-range-container input[type="date"] {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  flex: 1;
  height: 44px; /* Même hauteur pour les champs de date */
}

.search-form button[type="submit"] {
  padding: 0.75rem 1rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  height: 44px;
  transform: translateY(-4px); 
}

.search-form button[type="submit"]:hover {
  background-color: #2563eb;
}

@media (min-width: 768px) {
  .search-form {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    align-items: center; /* Aligne les éléments verticalement */
  }

  .search-form input[name="destination"] {
    width: auto;
    flex: none;
    width: 250px;
  }

  .search-form select[name="type"] {
    width: auto;
    flex: none;
    width: 220px;
    height: 44px; /* Même hauteur pour le champ "Type de bateau" */
  }

  .date-range-container {
    flex: 1;
    max-width: 300px;
  }

  .date-range-container input[type="text"],
  .date-range-container input[type="date"] {
    width: 140px;
  }
}



.articles-blog {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
    margin-top: 1rem;
}

.article-row {
    display: flex;
    background-color: #FFFFFFb3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    gap: 1.5rem;

    margin-bottom: 1.5rem; 
}

/* wrapper global */
.blog-wrapper {
    background-color: #FFFFFFb3;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #012466;
    text-align: center;
}

.article-row:hover {
  transform: translateY(-4px);
}

.article-image {
  flex: 1;
  max-width: 300px;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
      border-radius: 8px 8px 8px 8px;
}

.article-image img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px 0 0 8px;
}

.article-text {
    flex: 2;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.article-text h2, .article-text p {
  margin-top: 0; 
  width: 100%; 
}

.article-text .btn {
    background-color: #0077cc;
    color: white;
    padding: 0.5em 1em; 
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block; 
    width: 8rem; 
    margin-top: 0.5rem; 
    text-align: center; 
    line-height: 1.5; 
}



.article-text .btn:hover {
  background-color: #2563eb;
}

@media (max-width: 768px) {
.article-row {
    flex-direction: column; 
  }

  .article-image {
    max-width: 100%; /* Prend toute la largeur disponible */
    height: auto; /* Ajuste la hauteur automatiquement */
  }

  .article-image img {
    border-radius: 8px 8px 0 0;
  }

  .article-text {
    padding: 0.5rem 1rem; 
    margin-top: 0.5rem; 
  }
  
   .article-text h2 {
    margin-top: 0; 
  }
}


.single-article {
  max-width: 900px;
  margin: auto;
  background-color: #FFFFFFb3;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.single-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.single-article h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #012466;
  text-align: center;
}

.single-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1f2937; !important;
}

.return-btn {
  display: inline-block;
  margin-top: 2rem;
  background-color: #0077cc;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.return-btn:hover {
  background-color: #2563eb;
}

.single-content,
.single-content * {
  color: #1f2937 !important;
}

.blog-preview h2,
.articles-home h2 {
  color: #ffffff;
}

.recherche-wrapper {
  background-color: #ffffffb3;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.recherche-wrapper h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.recherche-wrapper article {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.recherche-wrapper article:last-child {
  border-bottom: none;
}

.recherche-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.recherche-wrapper a {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #0077b6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.recherche-wrapper a:hover {
  background-color: #005f8e;
}

.recherche-wrapper p {
  margin: 0.5rem 0;
}


.carte-bateau {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
}

.carte-image {
  margin-left: 1rem;
}

.carte-image a {
  background: none !important;
  padding: 0 !important;
  display: inline-block;
  border: none;
  box-shadow: none;
}

.carte-image img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.carte-contenu {
  flex: 1;
}

.carte-titre {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #222;
}

.carte-contenu p {
  margin-bottom: 1rem;
  color: #444;
}

.carte-contenu .btn {
  display: inline-block;
  background-color: #0077b6;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.carte-contenu .btn:hover {
  background-color: #005f8e;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .carte-bateau {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .carte-image img {
    width: 100%;
    max-width: 100%;
  }

  .carte-contenu {
    width: 100%;
  }
}


/*Pour page bateaux*/

.grille-bateaux {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.carte-produit {
  background-color: #ffffffb3;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px; /* Largeur fixe pour chaque carte */
  margin: 0 auto;
}

.carte-produit:hover {
  transform: translateY(-4px);
}

.carte-produit img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.titre-produit {
  color: #012466;
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.destination-produit {
  color: #1f2937;
}

.prix-produit .montant {
  color: #0077cc;
  font-weight: bold;
  font-size: 1.1rem;
}

.btn-produit {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #0077cc;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}

.btn-produit:hover {
  background-color: #2563eb;
}

.archive-bateaux-wrapper {
  background-color: #ffffffb3; /* blanc semi-transparent */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 2rem auto;
  max-width: 1200px;
  text-align: center;
}

.archive-bateaux-wrapper h1 {
  text-align: center;
  font-size: 2rem;
  color: #012466;
  margin-bottom: 2rem;
}



.grille-destinations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  justify-content: center;
  padding: 1rem;
}
}

.carte-destination {
   background-color: #ffffffb3;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carte-destination:hover {
  transform: translateY(-4px);
}

.image-destination {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.image-destination img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carte-destination img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.titre-destination {
  font-size: 1.3rem;
  color: #012466;
  margin-top: 0.8rem;
}
.carte-destination a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}


.archive-destinations-wrapper {
  background-color: #ffffffb3; /* blanc semi-transparent */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1200px;
}

.archive-destinations-wrapper h1 {
  text-align: center;
  font-size: 2rem;
  color: #012466;
  margin-bottom: 2rem;
}

.grille-destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}


/* ===== FORMULAIRES CONNEXION/INSCRIPTION ===== */
.auth-section {
  background-color: #ffffffb3;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.login-form,
.register-form {
  background-color: #ffffffb3;
  padding: 1.5rem;
    padding-top: 0.2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.auth-form h2 {
  color: #012466;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
}

.auth-form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form button[type="submit"],
#loginform input[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-form button[type="submit"]:hover,
#loginform input[type="submit"]:hover {
  background-color: #2563eb;
}

#loginform input[type="submit"] {
  display: block;
  margin-top: 15px;   /* décale uniquement le bouton */
  position: relative; /* isole du reste */
}

/* Décaler uniquement le bouton "Se connecter" */
#loginform input[type="submit"] {
  margin-top: 20px; /* ajuste la valeur à ton goût */
}




.forgot-password {
  display: block;
  text-align: right;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.forgot-password a {
  color: #3b82f6;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* Messages de succès/erreur */
.success-message,
.error-message {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #a3e635;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.success-message {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #a3e635;
}

.error-message {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #f87171;
}


/* Menu utilisateur connecté */
.user-menu-dropdown {
  position: relative;
  display: inline-block;
}

.user-menu-toggle {
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 500;
}

.user-menu-toggle .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-menu-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  min-width: 180px;
  padding: 0.5rem 0;
}

.user-menu-dropdown:hover .user-menu-options {
  display: block;
}

.user-menu-options a {
  display: block;
  padding: 0.5rem 1rem;
  color: #1f2937;
  text-decoration: none;
}

.user-menu-options a:hover {
  background-color: #f3f4f6;
}

/* Page Mon Compte */
.mon-compte-wrapper {
    background-color: #ffffffb3;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mon-compte-section h1 {
    text-align: center;
    font-size: 2rem;
    color: #012466;
    margin-bottom: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #ffffffb3;
    border-radius: 8px;
}

.avatar-container img {
    border-radius: 50%;
    border: 2px solid #3b82f6;
}

.user-details h2 {
    color: #012466;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.user-details p {
    color: #475569;
    margin-bottom: 0.25rem;
}

.user-reservations,
.user-boats {
    margin-top: 2rem;
    padding: 3px 1.5rem;
    background-color: #ffffffb3;
    border-radius: 8px;
}


.user-boats h2 {
    color: #012466;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.user-boats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.user-boats-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}


.user-boat-item .boat-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: .5rem;
}

.user-boat-item {
    background-color: #ffffffb3;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.user-boat-item h3 {
    margin-bottom: 0.5rem;
}

.user-boat-item .btn {
  display: inline-block;
  margin: .25rem;
  padding: .4rem .8rem;
  border-radius: 4px;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
}

.user-boat-item .btn:hover {
  background: #2563eb;
}

.user-boat-item .btn-danger {
  background: #dc2626;
}

.user-boat-item .btn-danger:hover {
  background: #b91c1c;
}

.cta {
    display: inline-block;
    background-color: #0077cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
}
.cta:hover {
    background-color: #2563eb;
}


/* Adaptation mobile pour la page Mon Compte */
@media (max-width: 768px) {
    .mon-compte-wrapper {
        padding: 1rem;
        margin: 1rem;
    }

    .mon-compte-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .avatar-container {
        margin-right: 0;
        margin-bottom: 1rem;
        text-align: center;
    }

    .avatar-container form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .avatar-container input[type="file"] {
        width: 100%;
    }

    .avatar-container button.cta {
        width: 100%;
        padding: 0.5rem;
    }

    .user-details {
        width: 100%;
        text-align: left;
    }

    .user-details h2 {
        font-size: 1.3rem;
    }

    .user-reservations,
    .user-boats {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .user-boats-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .user-boats-list {
        grid-template-columns: 1fr;
    }

    .user-boat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .user-boat-item h3 {
        margin: 0.5rem 0;
    }

    .user-boat-item .btn {
        width: 100%;
        margin: 0.25rem 0;
        padding: 0.5rem;
    }

    .user-boat-item .boat-thumb {
        margin-bottom: 0.5rem;
    }

    .user-boat-item .boat-thumb img {
        max-width: 100%;
        height: auto;
    }

    .cta {
        width: 100%;
        text-align: center;
        padding: 0.6rem;
    }
}



/* Style pour le formulaire de téléchargement d'avatar */
.avatar-container {
    position: relative;
    margin-right: 1.5rem;
}

.avatar-container form {
    margin-top: 0.5rem;
    text-align: center;
}

.avatar-container input[type="file"] {
    margin-top: 0.5rem;
}

.avatar-container button.cta {
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
}

/* Page Proposer un bateau */
/* ===== PAGE PROPOSER UN BATEAU ===== */
.proposer-bateau-wrapper {
    background-color: #ffffffb3;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.proposer-bateau-container {
    width: 100%;
}

.proposer-bateau-header {
    text-align: center;
    margin-bottom: 2rem;
}

.proposer-bateau-header h1 {
    font-size: 2rem;
    color: #012466;
    margin-bottom: 0.5rem;
}

.proposer-bateau-header .subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bateau-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.95rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wp-editor-container {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
}

.wp-editor-container textarea {
    min-height: 150px;
    padding: 1rem;
    font-family: inherit;
    font-size: 1rem;
}

.file-upload-wrapper {
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.file-upload-wrapper:hover {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper::before {
    content: "Glissez-déposez une photo ou cliquez pour sélectionner";
    display: block;
    color: #64748b;
    font-size: 0.95rem;
}

.file-upload-wrapper.drag-over {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

.file-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.click-here {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
}

.file-name {
    font-size: 0.85rem;
    color: #1f2937;
    font-weight: 500;
    margin-top: 0.5rem;
    word-break: break-all;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.form-submit .cta {
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    height: 44px;
    width: auto;
    min-width: 150px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.form-submit .cta:hover {
    background-color: #2563eb;
}

.form-submit .cta.large {
    min-width: auto;
    padding: 0.75rem 2rem; 
}

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

    .proposer-bateau-wrapper {
        padding: 1.5rem;
        margin: 1rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}


.notice.notice-success {
  border-radius: 6px;
}


/* ====== Styles page Modifier Bateau ====== */
.modifier-bateau-wrapper {
  max-width: 600px;   /* largeur max pour que ça ne s’étale pas trop */
  margin: 0 auto;     /* centre la section */
  padding: 1rem;
}

.modifier-bateau-wrapper h1 {
  font-size: 1.9rem;
  color: #012466;
  text-align: center;
  margin-bottom: 1.2rem;
}

/* Formulaire */
.modifier-bateau-wrapper form {
text-align: center;
}

/* Regroupe champs en grille quand possible */
.modifier-bateau-wrapper .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}


.modifier-bateau-wrapper form p {
  display: flex;
  flex-direction: column;
  margin: 0 0 1rem 0; /* espace réduit mais lisible */
}


.modifier-bateau-wrapper input[type="text"],
.modifier-bateau-wrapper input[type="number"],
.modifier-bateau-wrapper input[type="file"],
.modifier-bateau-wrapper input[type="date"],
.modifier-bateau-wrapper textarea,
.modifier-bateau-wrapper select {
  padding: 6px 10px;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.modifier-bateau-wrapper input:focus,
.modifier-bateau-wrapper textarea:focus,
.modifier-bateau-wrapper select:focus,
.modifier-bateau-wrapper input[type="date"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
  outline: none;
  background-color: #fff;
}

.modifier-bateau-wrapper textarea {
  min-height: 100px;
  resize: vertical;
}


/* Label */
.modifier-bateau-wrapper label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

/* Aperçu miniature */
.modifier-bateau-wrapper .current-thumb {
  margin-top: 0.5rem;
}
.modifier-bateau-wrapper .current-thumb img {
  max-width: 160px;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 3px 10px rgba(2,6,23,0.06);
}

/* Boutons */
.modifier-bateau-wrapper .btn,
.modifier-bateau-wrapper button.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 8px 18px;
  font-size: 0.95rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modifier-bateau-wrapper .btn:hover,
.modifier-bateau-wrapper button.btn:hover {
  background: #1e40af;
}


/* Bouton danger (si besoin) */
.modifier-bateau-wrapper .btn-danger {
  background-color: #dc2626;
}
.modifier-bateau-wrapper .btn-danger:hover {
  background-color: #b91c1c;
}


@media (max-width: 768px) {
  .modifier-bateau-wrapper {
    padding: 1.25rem;
    margin: 1rem;
  }
  .modifier-bateau-wrapper .form-row {
    grid-template-columns: 1fr;
  }
}


.modifier-bateau-wrapper input[required],
.modifier-bateau-wrapper textarea[required],
.modifier-bateau-wrapper select[required] {
  box-shadow: none;
}


.modifier-bateau-wrapper input[type="file"] {
  padding: 0.6rem;
  border: 1px dashed #e5e7eb;
  background: #fafafa;
}

.partage-reseaux {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}
.partage-reseaux span {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.partage-reseaux a {
    margin-right: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
	    color: white !important;
}

/* Facebook */
.partage-reseaux .btn-facebook {
    background-color: #1877f2;
}
.partage-reseaux .btn-facebook:hover {
    background-color: #145dbf;
}

/* X (ancien Twitter) */


.partage-reseaux .btn-x {
   background-color: #000000;

	
}
.partage-reseaux .btn-x:hover {
    background-color: #333333;
}

/* LinkedIn */
.partage-reseaux .btn-linkedin {
    background-color: #0a66c2;
}
.partage-reseaux .btn-linkedin:hover {
    background-color: #004182;
}

/* WhatsApp */
.partage-reseaux .btn-whatsapp {
    background-color: #25d366;
}
.partage-reseaux .btn-whatsapp:hover {
    background-color: #1da851;
}


/* Section Avis */
.avis-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.avis-section h3 {
    margin-bottom: 1rem;
    color: #012466;
}

.form-avis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-avis textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    resize: vertical;
}

.form-avis button {
    align-self: flex-end;
    padding: 0.5rem 1rem;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-avis button:hover {
    background-color: #2563eb;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 1.5rem;
    color: goldenrod;
    cursor: pointer;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating input[type="radio"]:checked + label {
    color: goldenrod;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: goldenrod;
}

/* Liste des avis */
.avis-list {
    margin-top: 2rem;
}

.avis-list h3 {
    margin-bottom: 1rem;
    color: #012466;
}

.avis-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #ffffffb3;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
}

.avis-rating {
    color: goldenrod;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.avis-item p {
    margin: 0.5rem 0;
}

.avis-item small {
    color: #64748b;
}


.btn-louer-bateau {
    display: inline-block;
    background-color: #1877f2;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.btn-louer-bateau:hover {
    background-color: #145dbf;
}

.louer-bateau-wrapper {
    margin-top: 20px;
    text-align: center;
}

.description {
	    margin-top: 20px;
}

/* ---- PAGE PAIEMENT ---- */
.paiement-wrapper {
  background-color: #ffffffb3;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.paiement-container h1 {
  text-align: center;
  color: #012466;
  margin-bottom: 2rem;
}

.recap-bateau {
  background: #ffffffb3;
  border: 1px solid #cbd5e1;
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.recap-bateau h2 {
margin-top: auto;
  color: #012466; /* même couleur que le h1 */

}


.input-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-group label {
  flex: 1;
}

.date-range {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.date-range div {
  flex: 1;
}

.form-paiement label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.form-paiement input[type="text"],
.form-paiement input[type="date"] {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.form-paiement button {
  margin-top: 1.5rem;
  background-color: #28a745;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.form-paiement button:hover {
  background-color: #218838;
}

.success-msg {
  margin-top: 2rem;
  padding: 1rem;
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}

.paiement-option {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed #ccc;
  border-radius: 6px;
  background: #ffffffb3;
}



/* ---- PAGE CONFIRMATION ---- */
.confirmation-wrapper {
  background-color: #ffffffb3;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.confirmation-container h1 {
  text-align: center;
  color: #012466;
  margin-bottom: 2rem;
}

.recap-confirmation {
  background: #ffffffb3;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.recap-confirmation h2 {
  margin-bottom: 1rem;
  color: #0077cc;
}

.confirmation-container button {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.confirmation-container button:hover {
  background-color: #005fa3;
}


.total-wrapper {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #fef9c3;
  border: 1px solid #facc15;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #92400e;
}


.recap-confirmation p.total {
  font-size: 1.3rem;
  color: #92400e;
  font-weight: bold;
  background: #fef9c3;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.recap-confirmation p strong {
  color: #012466;
}

.recap-confirmation p:nth-child(5) { /* ligne du total */
  font-size: 1.2rem;
  color: #92400e;
  font-weight: bold;
}



.legal-conditions {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9f9f9b3;

  border-radius: 8px;
}

.legal-conditions ul li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
  color: #012466; 
 
}

.legal-conditions h2 {
  color: #012466;

}

.legal-conditions h3 {
  color: #012466;
  margin-bottom: 1rem;
}

.legal-confirm {
	
	  color: #012466;
}

.legal-conditions ul {
  list-style: none;
  padding-left: 0;
}

.legal-conditions li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.checkbox-legal {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #333;
}

.checkbox-legal input {
  margin-right: 0.5rem;
}



.confirmation-wrapper {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffffb3;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.confirmation-msg {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #333;
}

.facture {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.facture td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #ddd;
}

.facture tr.total td {
  background: #fef9c3;
  font-size: 1.2rem;
  font-weight: bold;
  color: #92400e;
}

.pratique, .legal-confirm {
  margin-bottom: 2rem;
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.actions .btn {
  background: #012466;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
}


.articles-home a,
section b a {
    color: #00B3E9;
    text-decoration: none;
}
.articles-home a:hover,
section b a:hover {
    text-decoration: underline;
}

/* Mentions légales */
.legal-wrapper {
  background: #ffffffb3;
	border-radius: 8px;
	margin-top: 60px;
  padding: 60px 5px;

}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 16px;
  color: #333;
}

.legal-container h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #012466;
}

.legal-container h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #005f75;
  border-left: 4px solid #00b3e9;
  padding-left: 10px;
}

.legal-container p {
  margin-bottom: 20px;
  text-align: justify;
}

.legal-container a {
  color: #00b3e9;
  text-decoration: underline;
}

.legal-container a:hover {
  color: #0077a3;
}



.legal-container li {
    line-height: 1.6;
    color: #333;
}

.legal-container ul {
    margin-left: 20px;
    list-style: disc;
}

.update-date {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
}




/* Liens uniquement dans la page mentions légales */
.page-template-politique-confidentialite .legal-container a,
.page-template-mentions-legales .legal-container a {
  color: #005f99; /* bleu foncé bien lisible */
  text-decoration: underline;
  font-weight: 500;
}

.page-template-politique-confidentialite .legal-container a:hover,
.page-template-mentions-legales .legal-container a:hover {
  color: #00b3e9; /* ton bleu SailingLoc au survol */
  text-decoration: none;
}


.a-propos {
  background-color: #ffffffcc;
  padding: 2rem;
  border-radius: 8px;
  max-width: 1000px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.a-propos img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
}

.a-propos h1, 
.a-propos h2 {
  color: #0f172a;
}

.a-propos ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.a-propos li {
  margin-bottom: 0.5rem;
  color: #1f2937;
}


/* ===========================
   FAQ — wrapper blanc semi-transparent (comme les autres pages)
   =========================== */

/*.legal-wrapper {
  background: #f7fafc; /* léger fond global (optionnel) */
/*  padding: 40px 20px; 
}*/

.faq-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255,255,255,0.7); /* blanc semi-transparent */
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
  color: #1f2937;
  line-height: 1.6;
}

/* titre */
.faq-container h1 {
  text-align: center;
  color: #012466;
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
}

/* liste */
.faq-list { margin-top: 1rem; }

/* item */
.faq-item {
  border-bottom: 1px solid #e6eef6;
  padding: 14px 0;
}

/* question (bouton pour accesibilité) */
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question:hover,
.faq-question:focus {
  color: #0077b6;
  outline: none;
  text-decoration: underline;
}

/* chevron via pseudo-element */
.faq-question::after {
  content: "▾";
  font-size: 0.9rem;
  color: #64748b;
  transition: transform 0.25s ease;
}

.faq-question.active::after {
  transform: rotate(-180deg);
}

/* réponse (collapsible) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
  color: #374151;
  font-size: 0.97rem;
}

/* état ouvert */
.faq-answer.open {
  max-height: 1000px; /* suffisamment grand pour la plupart des réponses */
  margin-top: 10px;
}

/* listes à l'intérieur des réponses */
.faq-answer ul { margin-left: 1.1rem; }

/* liens dans les réponses */
.faq-answer a {
  color: #005f99;
  text-decoration: underline;
font-weight: 500;
}

.faq-answer a:hover { color: #00b3e9; }

/* responsive */
@media (max-width: 768px) {
  .faq-container {
    padding: 20px;
    margin: 1.25rem;
  }
  .faq-question { font-size: 1rem; }
}

/* accessibilité visuelle : focus visible */
.faq-question:focus {
  box-shadow: 0 0 0 3px rgba(0, 179, 233, 0.15);
  border-radius: 6px;
}


/* Style pour la section "Mes Réservations" */
.user-reservations h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
}

.reservations-db-style {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Uniformiser l'en-tête */
.reservations-header-db {
    display: flex;
    background: #f5f5f5;
    padding: 10px;
    border-bottom: 2px solid #ddd;
    font-weight: bold;
    color: #333;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-header-db .db-col {
    padding: 0 8px;
    font-weight: 600;
    text-align: left;
}

.reservations-header-db .id {
    width: 20%;
	    font-size: 0.8rem;
}

.reservations-header-db .boat-name {
    width: 30%;
}

.reservations-header-db .dates {
    width: 25%;
}

.reservations-header-db .mode {
    width: 15%;
    text-align: center;
}

.reservations-header-db .total {
    width: 10%;
    text-align: right;
}



.reservation-db-row {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.reservation-db-row:last-child {
    border-bottom: none;
}

.reservation-db-row:hover {
    background: #f9f9f9;
}

.db-col {
    padding: 0 8px;
    word-break: break-word;
}

.id {
    width: 20%;
    font-family: monospace;
    font-size: 0.85em;
}

.boat-name {
    width: 30%;
    font-weight: 500;
}

.dates {
    width: 25%;
}

.mode {
    width: 15%;
    text-align: center;
}

.total {
    width: 10%;
    text-align: right;
    font-weight: bold;
}

.no-reservations {
    color: #777;
    font-style: italic;
    padding: 10px;
}

/* ===== PAGE CONTACT - ADAPTÉE À LA CHARTE GRAPHIQUE ===== */
.contact-wrapper {
  background-color: #ffffffb3;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h1 {
  font-size: 2rem;
  color: #012466;
  margin-bottom: 1rem;
}

.contact-header p {
  color: #1f2937;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info {
  background-color: #ffffffb3;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      max-width: 500px; /* Ajustez cette valeur selon vos besoins */
    margin-right: 90px; /* Garde l'alignement à gauche */
    margin-left: 0;
}

.contact-info h2 {
  color: #012466;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-top: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-info li {
  margin-bottom: 0.75rem;
  color: #1f2937;
  font-size: 1rem;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

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

.reseaux-sociaux {
  margin-top: 1.5rem;
}

.reseaux-sociaux h3 {
  color: #012466;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.reseaux-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reseaux-icons a {
  display: block;
  width: 48px;
  height: 48px;
  transition: transform 0.2s;
}

.reseaux-icons a:hover {
  transform: scale(1.1);
}

.reseaux-icons img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-map {
    width: auto; /* Prend toute la largeur disponible */
    height: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.contact-map iframe {
    width: 100%; /* Prend toute la largeur du conteneur */
    height: 100%; /* Prend toute la hauteur du conteneur */
    border: none;
}

.contact-form-section {
  background-color: #ffffffb3;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form-section h2 {
  color: #012466;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1f2937;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.contact-form button.cta {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 1.5rem;
  width: auto;
  padding: 0.75rem 2rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button.cta:hover {
  background-color: #2563eb;
}

.success-message,
.error-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
}

.success-message {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #a3e635;
}

.error-message {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #f87171;
}

/* ===== CORRECTIONS RESPONSIVE POUR MOBILE (FINAL) ===== */
@media (max-width: 768px) {
  /* Wrapper plein écran sans débordement */
  .contact-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 0;
    overflow: hidden;
  }

  /* Contenu en colonne unique */
  .contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Sections adaptées */
  .contact-info,
  .contact-form-section {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }

  /* Carte Google Maps */
  .contact-map {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
  }

  .contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
  }

  /* Formulaire en une colonne */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-group {
    width: 100%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box;
  }

  /* Bouton centré et adapté */
  .contact-form button.cta {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto 0;
    display: block;
  }
  .reseaux-sociaux {
    margin-top: 0.25rem;  /* Espace réduit au-dessus du bloc */
    margin-bottom: 1rem;  /* Espace conservé en dessous */
  }

  .reseaux-sociaux h3 {
    margin-bottom: 0.5rem;  /* Espace réduit entre le titre et les icônes */
  }

  .reseaux-icons {
    gap: 0.75rem;
    margin-top: 0;  /* Supprime la marge par défaut */
  }


  /* Titre et texte adaptés */
  .contact-header h1 {
    font-size: 1.5rem;
  }

  .contact-header p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  footer nav ul {
    flex-wrap: wrap;
    max-width: 600px; /* Ajustez cette valeur pour forcer le retour à la ligne après 3-4 éléments */
    margin: 0 auto;
    justify-content: center;
	    margin-bottom: 1.5rem;
  }
  footer nav ul li {
    flex: 0 0 auto; /* Largeur naturelle des éléments */
    margin: 0 0.5rem; /* Espacement horizontal entre les liens */
  }
}







/* Pour le formulaire de recherche */
.search-form input[type="text"],
.search-form select,
.search-form input[type="date"] {
  width: 100%;
  max-width: 200px; /* Limite la largeur maximale */
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box; /* Inclut le padding dans la largeur */
  transition: border 0.2s;
}

/* Pour les champs de date en particulier */
.search-form input[type="date"] {
  min-width: 180px; /* Largeur minimale pour éviter le saut */
}

/* Sur mobile, les champs prennent toute la largeur */
@media (max-width: 768px) {
  .search-form input[type="text"],
  .search-form select,
  .search-form input[type="date"] {
    width: 100%;
    max-width: none;
    margin-bottom: 0.5rem;
  }
}

/* Sur tablette uniquement (768px à 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
  }

  /* Destination : plus large */
  .search-form input[type="text"][name="destination"] {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
  }

  /* Type de bateau : légèrement réduit */
  .search-form select[name="type"] {
    flex: 0 0 160px;
  }

  /* Champs de date : réduits à 120px (au lieu de 150px) */
  .search-form input[type="date"],
  .search-form input[type="text"][name="start-date"],
  .search-form input[type="text"][name="end-date"] {
    flex: 0 0 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    width: 120px !important;
  }

  /* Bouton Rechercher */
  .search-form button[type="submit"] {
    flex: 0 0 auto;
    padding: 0.75rem 1.2rem;
  }
}

.a-propos p {
  text-align: justify;
}

.faq-answer p {
    text-align: justify;
	
