 /*
Theme Name: Theme Enfant SailingLoc
Theme URI: https://ansagency.dev
Description: Thème enfant de SailingLoc
Author: Anissa
Template: sailingloc
Version: 1.0
*/


/* Police Sniglet*/
.sniglet-regular {
  font-family: "Sniglet", system-ui;
  font-weight: 400; /* texte normal */
  font-style: normal;
}

.sniglet-extrabold {
  font-family: "Sniglet", system-ui;
  font-weight: 600; /* un peu gras */
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, .site-title {
    font-family: 'Sniglet', system-ui;
    font-weight: 400; /* normal pas gras */
    font-style: normal;
}

/* Titre principal du site dans l'en-tête */
.site-title, .site-title a {
    font-family: 'Sniglet', system-ui !important;
    font-weight: 400 !important;  /* normal */
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #3b4c82;
    margin: 0;
}

/* Header */

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row-reverse; /* inverse les éléments */
}


.site-header {
    display: flex;
    justify-content: center;
.user-login img { height: 30px; cursor: pointer; }    
align-items: center;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-bottom: 2px solid rgba(59, 76, 130, 0.25);
}

.header-login a {
    background: none;
    border-radius: 0;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { 
 max-width: 160px;   /* largeur max */
height: auto;  /* garde les proportions */
}

@media (max-width: 768px) {
    .logo img {
        max-width: 120px;  /* responsive @media (max-width: 768px) {
    .logo img {
        max-width: 120px;  /* plus petit sur mobile */
    }
}


.site-title { font-size: 28px; font-weight: bold; color: #3b4c82; text-align: center; }
.header-right { display: flex; gap: 20px; align-items: center; }
.menu-toggle { font-size: 28px; cursor: pointer; }

.user-login i {
    font-size: 32px;
color: #3B4C82;
    cursor: pointer;
}

.user-login i:hover {
    opacity: 0.8;
}


/* Menu principal */

.menu-close {
    display: block;  /* visible sur tous les appareils*/
    cursor: pointer;
    font-size: 28px; /* taille de la croix */
    color: white;
background: none;     /* pas de fond */
    border: none;       /* pas de bordure */
    padding: 0;           /* pas d’espace autour */
   text-align: right;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.menu-toggle {
    background: none;      /* enlève le fond */
    border: none;          /* enlève le contour */
    padding: 0;            /* enlève l’espace autour */
    color: #3B4C82;          /* couleur des barres */
    font-size: 32px;       /* taille du hamburger */
    cursor: pointer;
}


.main-navigation a {
    display: block;
    padding: 12px 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
transition: background 0.3s ease;
}


.main-navigation a:hover {
    background: rgba(255, 255, 255, 0.3);
}


.main-navigation {
    background-color: rgba(59, 76, 130, 0.95); /* fond bleu semi-transparent */
 position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
.menu-close {
    display: block;  /* visible sur tous les appareils*/
    cursor: pointer;
    font-size: 28px; /* taille de la croix */
    color: white;
background: none;     /* pas de fond */
    border: none;       /* pas de bordure */
    padding: 0;           /* pas d’espace autour */
   text-align: right;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.menu-toggle {
    background: none;      /* enlève le fond */
    border: none;          /* enlève le contour */
    padding: 0;            /* enlève l’espace autour */
    color: #3B4C82;          /* couleur des barres */
    font-size: 32px;       /* taille du hamburger */
    cursor: pointer;
}

    padding: 80px 30px;
    border-radius: 10px; /* coins arrondis si tu veux */
 transform: translateX(100%); /* caché */
    transition: transform 0.3s ease;
    z-index: 1000;

 display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-navigation.open {
    transform: translateX(0);/* visible */
}

.main-navigation ul {
    list-style: none; /* supprime les puces */
  /*  display: flex; /* éléments en ligne */
    gap: 15px; /* espace entre les cases */
}

.main-navigation li {
    padding: 5px 10px;
    border-radius: 5px;
margin-bottom: 15px;
}


/* Hero */
.hero {
    position: relative;
    background-image: url("https://ansagency.dev/wp-content/uploads/2026/01/image-hero.png");
    height: 100vh;
 background-size: cover;       /* couvre tout le hero */
    background-position: center;  /* centré horizontalement et verticalement */
    background-repeat: no-repeat; /* pas de répétition */
    margin-top: 0 !important;
    padding-top: 0 !important;

}

.hero-overlay {  
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
}

.hero-inner { 
	position: relative;
	z-index: 2;
 	height: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    gap: 20px;
}

.hero-content h1 {
    font-size: 38px;
}



/* --- Container principal --- */
.hero-filter {
  background: rgba(255,255, 255,0.2);
backdrop-filter: blur(12px);
border-radius : 15px;
padding: 20px; 
max-width: 520px;
  margin: 0 auto;
  display: block;
flex-wrap: wrap;
 gap: 15px;
  align-items: center;
}

/* --- Titre du filtre --- */
.hero-filter .filter-title {
font-family: 'Sniglet', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.9;
 color: white;
  margin-bottom: 15px;
  text-align: center;
}

/* --- Formulaire --- */
.hero-filter form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.hero-filter .filter-row { /*ligne génerale*/
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px
}

/* --- Champs individuels --- */
.hero-filter .filter-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* --- Labels --- */
.hero-filter .filter-field label {
  font-size: 13px;
  color: #2f2f2f;
  text-align: left;
  margin-bottom: 5px;
}

/* --- Selects et inputs --- */
.hero-filter input[type="date"],
.hero-filter .filter-field select,
.hero-filter .filter-field input {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  color: #333;
  height: 44px;
  font-size: 14px;
}

.hero-filter input:focus,
.hero-filter select:focus {
  outline: none;
  border-color: #3b4c82;
  box-shadow: 0 0 0 2px rgba(59, 76, 130, 0.25);
}


/* --- Placeholder --- */
.hero-filter input::placeholder {
  color: #333;
}


/* --- Bouton rechercher --- */
.hero-filter .filter-button {
  display: block;
  height: 48px;
  width: 100%;
  border-radius: 10px;
  padding: 14px;
  background-color: #3b4c82;
  color: white;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin: 0 auto;
  transition: background-color 0.3s;
}

.hero-filter .filter-button:hover {
  background: #2c3a66;
}

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

  .hero-filter .filter-field {
    max-width: 90%;
  }

  .hero-filter .filter-button {
    width: 90%;
  }
}


/* Service */

.services {
    padding: 80px 20px;
     text-align: center;
}


.services h2 {
    text-align: center;
font-size: 32px;
    margin-bottom: 40px;
    color: #3b4c82;
}

.service-grid {
    display: flex;                                     
    justify-content: space-around; /* espace entre les cartes */
    gap: 20px;
    flex-wrap: wrap; /* permet de passer à la ligne si l’écran est petit */
}


.service-card {
    width: 250px;
    height: 150px;
    background: #f5f7fb;
    border-radius: 20px;
    border: 2px solid rgba(59, 76, 130, 0.25);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: #3b4c82;
    font-weight: 400;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* Bateaux */
.boats {
  padding: 60px 20px;
  text-align: center; 
  display: flex;
 flex-direction: column;
    align-items: center; 
  justify-content: space-around; 
  margin: 50px 0; 
}

.boats h2 {
   text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.boats-grid { /* GRILLE */
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
}


.boat-card img { 
  width: 100%; 
  border-radius: 10px; 
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.boat-card {
    display: block;
    position: relative;
    border: 2px solid rgba(59, 76, 130, 0.25);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 420px;
    height: 280px;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
}


.boat-overlay { /* TEXTE SUR IMAGE */
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.boat-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 1px;
 text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.boat-card:hover img {
    transform: scale(1.1);
}

.boat-card:hover .boat-overlay {
 background: rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  .boat-card img {
    height: auto;        /* laisse la hauteur s’adapter */
    object-fit: contain; /* affiche l'image complète */
  }

  .boats-grid {
    gap: 20px;  /* moins d’espace entre les cartes sur mobile */
   flex-direction: column;
        align-items: center;
  }
}



/* Destinations */
.destinations {
    padding: 80px 20px;
}

.destinations h2 {
    text-align: center;
font-size: 32px;
    margin-bottom: 40px;
    color: #3b4c82;
}


.destinations-scroll { /* Scroll horizontal */
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}


.destination-card { /* Carte */
    position: relative;
    min-width: 280px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

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


.destination-card img { /* Image */
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.destination-name { /* Bande bleue en bas */
     font-family: 'Sniglet', system-ui, sans-serif;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #3B4C82;
    color: white;
    text-align: center;
    padding: 5px 0;
    letter-spacing: 0.5px;
    font-size: 18px;
    font-weight: 500;
}


/* Avis */
.sailingloc-reviews {
    text-align: center;
    padding: 60px 20px;
    margin: 40px auto;
    border-radius: 15px;
    background-color: #3B4C82; /* bloc bleu */
    color: #fff;
}

/* Titre de la section */
.sailingloc-reviews h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #fff;
}

/* Conteneur des avis pour slider horizontal */
.sailingloc-reviews .site-reviews-container {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

/* Pour cacher la barre de scroll */
.sailingloc-reviews .site-reviews-container::-webkit-scrollbar {
    display: none;
}
.sailingloc-reviews .site-reviews-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Chaque avis */
.sailingloc-reviews .glsr-review {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    min-height: 150px;
    flex: 0 0 300px;
    width: 300px; /* largeur des cartes*/
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
}

/* Moyenne et étoiles */
.sailingloc-reviews .glsr-summary {
    display: flex;
    font-size: 28px; /* taille moyenne plus visible */
    gap: 10px;
    margin-bottom: 40px;
   justify-content: center !important;
    align-items: center;
}

/* Étoiles dans chaque avis */
.sailingloc-reviews .glsr-review-rating {
    margin-bottom: 10px;
    font-size: 18px; /* agrandir les étoiles */
}

/* Texte de l’avis */
.sailingloc-reviews .glsr-review-content {
    font-size: 15px;
    color: #222;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Auteur + date sur la même ligne */
.sailingloc-reviews .glsr-review-author {
    font-weight: 600;
    color: #3b4c82;
    display: flex;
    font-size: 14px;
}

/* Bouton voir tous les avis */
.reviews-cta .btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: #fff;
    color: #3b4c82;
    text-decoration: none;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.reviews-cta .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Conteneur du bouton */
.reviews-cta {
    margin-top: 30px;
    text-align: center;
}


/* FIX SLIDER AVIS */
.sailingloc-reviews .glsr {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 20px;
}

.sailingloc-reviews .glsr-review {
    flex: 0 0 300px;
    min-width: 300px;
}

/* SLIDER AVIS - CONTENEUR RÉEL */
.sailingloc-reviews .glsr-reviews {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

/* Cacher la scrollbar */
.sailingloc-reviews .glsr-reviews::-webkit-scrollbar {
    display: none;
}
.sailingloc-reviews .glsr-reviews {
    scrollbar-width: none;
}

/* CARTES */
.sailingloc-reviews .glsr-review {
    flex: 0 0 300px;
    min-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    scroll-snap-align: start;
}


/* BLOG */
.blog-home {
    padding: 80px 20px;
    text-align: center;
}

/* Newsletter */
.newsletter-form {
   background: #f4f6fb;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto; /* centre et espace en dessous */
}

.newsletter-form h3 {
   font-size: 22px; 
   margin-bottom: 15px;
    color: #333;
}

.newsletter-form form.mc4wp-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* pour que ça passe à la ligne sur mobile */
   margin-top: 15px;
}

.newsletter-form form.mc4wp-form input[type="email"] {
    width: 260px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-right: 10px;
 box-sizing: border-box;
}

.newsletter-form form.mc4wp-form input[type="submit"] {
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #3b4c82;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.newsletter-form form.mc4wp-form input[type="submit"]:hover {
    background-color: #084298;
}

/* Case RGPD */
.newsletter-form .mc4wp-checkbox {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

.newsletter-form .mc4wp-checkbox input {
  margin-right: 5px;
}


/* Titre blog */
.blog-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  color: #3b4c82
}


/* Slider */
.blog-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

/* Cache la barre de scroll */
.blog-slider::-webkit-scrollbar {
  display: none;
}
.blog-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* Carte */
.blog-card {
  flex: 0 0 320px;    /* largeur fixe pour 3 cartes visibles */
  background: #fff;    
   border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8x 20px rgba(0,0,0,0.08);
    border: 1px solid #ddd;      /* contour clair */
  transition: transform 0.3s;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

/* Image */
.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Bloc blanc collé à l’image */
.blog-content {
    padding: 25px;
    text-align: left;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}

.blog-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Bouton */
.blog-content .btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #3B4C82;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    width: fit-content;
   transition: background 0.3s ease;
}

.blog-card:hover .blog-btn {
    background: #084298;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .blog-card {
    flex: 0 0 80%;  /* prend 80% de l'écran sur mobile */
  }
}



/* FAQ */
.home-faq {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Titre de la section FAQ */
.home-faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #3b4c82;
}

.wp-block-accordion { /* Conteneur général FAQ */
    max-width: 900px;
    padding: 0 20px;
    margin-bottom: 10px;
    border-collapse: collapse; /* pour ressembler à un tableau */
}

/* Chaque bloc question/réponse */
.wp-block-accordion-item {
    border: 1px solid #ccc;
    border-radius: 12px;
    margin-bottom: 0;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Question */
.wp-block-accordion-heading__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    padding: 16px 20px;
    background-color: #f8f8f8;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
}

/* Limiter a 4 case sur la page d'accueil */
home.wp-block-accordion-item:nth-child(n+5) {
    display: none;
}


/* Icône + / - */
.wp-block-accordion-heading__toggle-icon {
    font-size: 18px;
}


/* Réponse */
.wp-block-accordion-panel {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    display: none; /* par défaut */
}

/* Afficher la réponse quand ouvert */
.wp-block-accordion-item.is-open .wp-block-accordion-panel {
    display: block;
}

/* Supprimer la marge entre le titre global et la première question */
.wp-block-accordion:first-child {
    margin-top: 0;
}


/* Bouton */
.faq-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-faq {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    background-color: #3b4c82;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.btn-faq:hover {
    background-color: #2f3e6d;
    transform: translateY(-2px);
}



/* Barre de réassurance */
.reassurance {
    background: #eef1f7; /* un peu plus foncé que le blanc */
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b4c82;
    font-weight: 500;
}

.reassurance-item img {
    width: 32px;
    height: auto;
}


/* Pied de page */
.site-footer {  /* Footer général */
    background: #3b4c82;
    color: white;
    padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-category {
    flex: 1; /* chaque colonne prend la même largeur */
}

.footer-socials {
    margin-top: 10px; 
   display: flex;
align-items: flex-start;
flex-direction: column; /* titre et paragraphes au-dessus des icônes */    
gap: 5px;
maw-width: 400px;
}

.footer-socials a {
 margin-right: 10px;
    font-size: 24px;
    color: white;
text-decoration: none;
}

.footer-socials h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 3px;
}

.footer-socials p {
    font-size: 14px;
    color: #f1f1f1;
    margin-bottom: 8px;
 line-height: 1.5;
}

/* Icônes sur la même ligne */
.footer-socials .social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.footer-newsletter {
    display: flex;
    flex-direction: column; /* titre en haut, formulaire dessous */
    gap: 5px;
    max-width: 400px;
}

.footer-newsletter h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 3px;
}

.footer-newsletter p {
    font-size: 14px;
    color: #f1f1f1;
    line-height: 1.5;
    margin-bottom: 5px;
}

.footer-newsletter input {
    width: 70%;
    padding: 8px;
    border-radius: 5px;
    border: none;
    margin-bottom: 8px;
    max-width: 250px;
    margin-right: 5px;
}

.footer-newsletter input[type="email"] {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: auto; /* s’adapte au contenu du texte */
    flex: 1; /* prend l’espace disponible si parent flex */
}

.footer-newsletter button { 
   padding: 6px 12px;
    border: none;
    border-radius: 5px;
    background: white;
    color: #3b4c82;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.footer-newsletter .mc4wp-form label {
    font-size: 12px;
    line-height: 1.4;
    margin-left: 2px; /* espace entre case et texte */
 display: inline-flex;
    align-items: center;
    gap: 2px; /* espace très léger entre la case et le texte */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
  max-width: 1200px;
    margin: auto;
}

.footer-top {
  display: flex; 
flex-wrap: wrap;
   gap: 30px;
   align-items: flex-start;
   max-width: 1200px;
   text-align: center;
 justify-content: space-between;
    margin:0 auto 30px auto;
}

.footer-column {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.footer-column a {
    color: #ffffffcc;
    text-decoration: none;
    font-size: 14px;
}

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


.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer h3 {
    font-family: Arial, sans-serif;
}

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



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

section h2 {
  margin-bottom: 30px;
}

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  section {
    padding: 40px 20px;
  }

  h1, h2 {
    text-align: center;
  }

  /* Services */
  .service-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .service-card {
    width: 100%;
    max-width: 320px;
  }

  /* Sécurité sections */
  .destinations,
  .faq,
  .reassurance {
  display: block;
  position: relative;
  visibility: visible;
}


/*========Marge=======*/
/* Marge entre les sections */
section {
  margin: 30px 0;
  padding: 0;
}

section h2 {
  margin-top: 0;
  margin-bottom: 20px;
    display: block;
    position: relative;
    visibility: visible;
 }

.reassurance { /* Réassurance */
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}


@media (max-width: 768px) {  /* mobile */
    section {
      margin-bottom: 25px;
      margin-top: 25px;
    }

    section h2 {
        margin-bottom: 15px;
    }
}



/* ---- MON COMPTE vendeur ---- */

.woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.woocommerce-MyAccount-navigation li {
    background: #ffffff;
    border: 2px solid #3b4c82;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.woocommerce-MyAccount-navigation ul,
.woocommerce-MyAccount-navigation li {
    list-style: none;
    margin: 0;
   margin-bottom: 15px; /* espace entre chaque case */
    padding: 0;
}


.woocommerce-MyAccount-navigation li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: #3b4c82;
}

.woocommerce-MyAccount-content {
    max-width: 900px;
    margin: auto;
}

.woocommerce-account .woocommerce {
    padding: 40px 20px;
}



/* --- Tableau de bord vendeur Dokan --- */
.dokan-dashboard {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    background: #f5f7fb;
    border-radius: 15px;
}

.dokan-dashboard h1,
.dokan-dashboard h2 {
    font-family: 'Sniglet', sans-serif;
    font-weight: 400;
    color: white;
}

.dokan-dashboard .dokan-dashboard-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dokan-dashboard .dokan-dashboard-menu {
    display: flex;
    gap: 15px;
    justify-content: center;
    background: #3b4c82;
    padding: 10px 0;
    border-radius: 10px;
}

.dokan-dashboard .dokan-dashboard-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
}

.dokan-dashboard .dokan-dashboard-menu a:hover {
    background: #2a3766;
}

.dokan-dashboard .dokan-welcome {
    background:  #3b4c82;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

.dokan-welcome {
    background: #3b4c82;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.dokan-dashboard-button a {
    font-size: 0;
}

.dokan-dashboard-button a::after {
    content: "Accéder à l’espace vendeur";
    font-size: 14px;
    font-weight: 600;
}


/* Bloc de bienvenue personnalisé dans mon compte vendeur */
.sailingloc-welcome {
    background: #3b4c82;
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    max-width: 700px;
    margin: 20px auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.sailingloc-welcome h2 {
    font-family: 'Sniglet', sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 10px;
}

.sailingloc-welcome p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.vendor-dashboard-btn {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #3b4c82;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 10px;
}

.vendor-dashboard-btn:hover {
    background: #005bb5;
    transform: translateY(-2px);
}

.logout-note {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

.logout-note a {
    color: white;
    text-decoration: underline;
}


/* Masquer tout le texte de la page Mon compte (WooCommerce) */
.woocommerce-MyAccount-content > p,
.woocommerce-MyAccount-content > .woocommerce-Message,
.woocommerce-MyAccount-content > .woocommerce-MyAccount-dashboard {
    display: none;
}




/* ---- MON COMPTE GÉNÉRAL (Connexion / Inscription) ---- */


.login-intro {
  font-family: 'Sniglet', sans-serif;  
  text-align: center;
  font-size: 2Opx;
 font-weight: 300;
  margin-bottom: 25px;
  color: #3B4C82;
}

/* Lien menu Mon compte */
.menu-item a[href*="mon-compte"] {
    color: #3b4c82 !important;  /* couleur bleu SailingLoc */
    font-size: 18px !important; /* taille plus grande */
    font-weight: 600;
}
.menu-item a[href*="mon-compte"]:hover {
    color: #2f3c6a !important;  /* bleu foncé au survol */
}

