@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
/* Application globale du texte, sans toucher aux icônes */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Nunito Sans", sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

@media (min-width: 992px) {
    body {
        overflow-x: hidden; /* Sécurité supplémentaire sur grand écran */
    }
}
/* --------- SECTION VIDEO GENERALE ---------- */
.intro-video {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* conteneur vidéo */
.video-container2 {
  position: relative;
  width: 100%;
  height: 650px; /* desktop */
  overflow: hidden;
}

/* vidéo */
#videoPlayer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

/* --------- LOGO SUR LA VIDEO (DESKTOP) ---------- */

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 150px; /* ajuste si besoin */
  pointer-events: none;
}

.video-overlay img {
  max-width: 320px;
  /* width: 25vw; */
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* --------- LOGO SOUS LA VIDEO (MOBILE SEULEMENT) ---------- */

/* par défaut : caché (desktop) */
.video-logo-mobile {
  display: none;
  text-align: center;
  margin: 1.5rem auto 2rem;
}

.video-logo-mobile img {
  padding: 15px;
  background-color: #fff;
  max-width: 320px;
  width: 70vw;
  height: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* --------- ADAPTATION MOBILE ---------- */

@media (max-width: 768px) {
  .video-container2 {
    height: 350px;
  }

  #videoPlayer {
    object-position: 50% 20%; /* ajuste si besoin */
  }

  /* mobile : pas de logo superposé */
  .video-overlay {
    display: none;
  }

  /* mobile : logo sous la vidéo */
  .video-logo-mobile {
    display: block;
  }
}
/*--------------------------------------------------------intro-------------------*/
/* Carte de contact dans l'overlay vidéo */
.footer-contact-card {
  width: 100%; /* largeur réelle (max 600px) */
  max-width: 600px; /* largeur max → modifier si besoin */
  box-sizing: border-box;
  background: #E9F2FC !important; /* couleur de fond de la carte → modifier ici */
  color: #0a1e39; /* couleur par défaut du texte → changer ici */
  padding: 14px 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.footer-card-logo {
  width: 250px; /* ← TAILLE DU LOGO (modifier) */
  height: auto;
  display: block;
}

.footer-card-title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-card-title {
  font-size: 3rem; /* ← TAILLE DU TITRE (modifier) */
  font-weight: 600; /* ← ÉPAISSEUR DU TITRE (modifier : 400, 500, 700...) */
  line-height: 1.2;
  color: #0a1e39; /* ← COULEUR DU TITRE (ajustable) */
}

.footer-card-subtitle {
  font-size: 0.9rem; /* ← TAILLE DU SOUS-TITRE (modifier) */
  opacity: 0.85; /* ← OPACITÉ DU SOUS-TITRE (0 = transparent / 1 = opaque) */
  color: #0a1e39; /* ← COULEUR DU SOUS-TITRE (modifier si besoin) */
}

.footer-card-body {
  font-size: 0.95rem; /* ← TAILLE TEXTE DU CORPS (modifier) */
  line-height: 1.4; /* ← HAUTEUR DE LIGNE (modifier) */
  color: #0a1e39; /* ← COULEUR DU CORPS (modifier si besoin) */
}

.footer-card-phone {
  font-size: 2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600; /* ← mettre 700 ou 800 si tu veux plus gras */
  margin-bottom: 2px;
}

.footer-card-hours {
  font-size: 0.85rem; /* ← TAILLE DES HORAIRES (modifier) */
  /* color: #...;          ← tu peux définir une couleur si besoin */
}

/* Optionnel mobile */
@media (max-width: 480px) {
  .footer-contact-card {
    max-width: 100%;
    padding: 12px 14px;
  }

  .footer-card-logo {
    width: 55px; /* ← LOGO EN MOBILE */
  }

  .footer-card-title {
    font-size: 1.1rem; /* ← TITRE EN MOBILE */
  }
}

/*----------------------------borders ombres-------------------------------------------*/
.bor1 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.bor130 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 30px;
}
.bor2 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background-color: #fff;
}
.omb1 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
.pt35 {
  padding-top: 5px !important;
  /* padding-bottom: 15px !important; */
}
.pb35 {
  padding-bottom: 35px !important;
}
.pb25 {
  padding-bottom: 25px !important;
}
.mb50 {
  margin-bottom: 50px !important;
}
.p35 {
  padding: 35px !important;
}
.pt50 {
  padding-top: 50px !important;
}
.pb50 {
  padding-bottom: 50px !important;
}
.p50 {
  padding: 50px !important;
}

/*-------------------------------titres----------------------------------------*/
h1.main_title,
h2.main_title {
  font-family: "Caveat", cursive;
  text-align: center;
  margin: 0 !important;
  padding: 0;
}

h2.main_title {
  font-family: "Caveat", cursive;
  text-align: center;
  padding: 0;
  padding-top: 35px;
  font-size: 46px !important;
  font-weight: 500;
  color: #1e4577;
  text-transform: none !important;
  /*text-transform: capitalize;*/
}

h3.main_title {
  font-family: "Caveat", cursive;
  text-align: center;
  margin-bottom: 15px !important;
  font-size: 38px !important;
  font-weight: 500;
  color: #1e4577;
  /* margin: 0 !important; */
  text-transform: none !important;
  /*text-transform: capitalize;*/
}
/*---------------------------head--------------------------------------------*/

/*---------------------------head--------------------------------------------*/

/* Desktop >= 1000px : header fixé en haut + décalage du contenu */
@media (min-width: 1000px) {
  /* décalage global du contenu pour ne pas passer sous le menu */
  body {
    padding-top: 150px; /* ajuste 140/160 si besoin */
  }

  header .row {
    display: flex !important;
    align-items: center !important;
  }

  header .row > [class*="col-"] {
    float: none !important;
    display: block !important;
  }

  /* Logo plus grand */
  #logo img {
    height: 101px !important;
    width: auto !important;
    display: block;
  }

  /* Menu à droite */
  header nav {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .main-menu {
    width: 100% !important;
    text-align: left !important;
  }

  /* Liste sur une seule ligne, items serrés */
  .main-menu > ul {
    display: flex !important;
    flex-wrap: wrap !important; /* autorise 2 lignes si besoin */
    justify-content: center !important; /* centré sous le logo */
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .main-menu > ul > li {
    margin: 0 2px 2px 0 !important; /* espace horizontal + petit espace vertical */
    padding: 0 !important;
    display: block !important;
  }

  .main-menu > ul > li > a {
    display: block !important;
    padding: 6px 9px !important; /* un peu plus de “carrure” */
    font-size: 17px !important; /* caractères plus grands */
    line-height: 1.3 !important;
    color: #1f60b1 !important; /* bleu demandé */
    font-weight: 600 !important; /* légèrement plus marqué */
    white-space: nowrap !important; /* chaque item sur une seule ligne */
  }



  @media only screen and (min-width: 992px) {
    .main-menu ul ul li a {
        font-size: 16px !important;
        color: #1f60b1;
        border-bottom: 1px solid #ededed;
        display: block;
    }



  .main-menu > ul > li > a:hover,
  .main-menu > ul > li > a:focus {
    color: #000 !important; /* bleu un peu plus foncé au survol */
  }

  .main-menu .show-submenu i {
    margin-left: 4px !important;
  }
}

/* Mobile / tablettes : header plus compact => padding-top plus faible */
@media (max-width: 999px) {
  body {
    padding-top: 110px; /* à ajuster après test sur mobile */
  }
}

/*----------------texte-------------------------------------------------------*/
.lead {
  font-size: 1.2em;
  /* padding-top: 15px; */
  text-align: justify;
  line-height: 1.6;
}

/*--------------------------footer---------------------------------------------*/
:root{
  --footer-bg-y:50% !important
}

footer {
  background: url("/back2.png") center var(--footer-bg-y) / cover no-repeat;
  padding: 35px 0 15px 0;
  color: #fff;
  width: 100%;
  font-size: 17px;
  line-height: 1.7;
  font-family: "Nunito Sans", sans-serif;
}
/* Titres du footer : aussi en blanc, un peu plus grands */
footer h3 {
  font-size: 22px;
  font-weight: 200;
  margin-bottom: 14px;
  color: #fff;
}

/* Liens en blanc */
footer a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #e0e0e0;
}

/* Liste des contacts */
#contact_details_footer li {
  font-size: 16px;
  margin-bottom: 6px;
  color: #fff;
}

/* Logo du footer */
footer img {
  max-width: 190px;
  height: auto;
}

/*----------------------------------bouton-------------------------------------*/
.btn01 {
  display: inline-block;
  background: linear-gradient(135deg, #224478, #4a88bf);
  color: #fff;
  text-decoration: none;
  padding: 5px 40px;
  width: 300px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease-in-out;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.btn01:hover {
  background: linear-gradient(135deg, #4a88bf, #224478);
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
  color: #fff !important;
  transform: translateY(-2px);
}
.pc {
  text-align: center;
}
/*---------------------------------logosp--------------------------------------*/

/* Bandeau logos défilants */
#logo-strip {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 10px 0;
}

#logo-strip .track {
  display: flex;
  align-items: center;
  gap: 40px; /* espace entre les logos */
  will-change: transform;
}

#logo-strip img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  flex: 0 0 auto; /* éviter que les logos se réduisent */
}

/*------------------------formation formulaire-----------------------------------------------*/

.inscription-box {
  max-width: 820px;
  min-height: 780px !important;
  margin: 0 auto 30px auto;
  background: #fff;
  border: 1px solid #e3e3e6;
  border-radius: 6px;
  padding: 18px 20px 20px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.inscription-box h1 {
  font-size: 22px;
  margin: 0 0 8px 0;
}

.inscription-box hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 12px 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-group {
  flex: 1 1 240px;
  min-width: 240px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.button-inscription {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #888;
  border-radius: 4px;
  background: #fafafa;
  cursor: pointer;
  text-decoration: none;
}

.button-inscription:hover {
  background: #f0f0f0;
}

.alert {
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.alert-success {
  background: #e8f6ec;
  border: 1px solid #b9e2c3;
}

.alert-danger {
  background: #fdecea;
  border: 1px solid #f5c2c0;
}

.text-muted {
  color: #666;
  font-size: 12px;
}

.ville-wrap {
  position: relative;
}

.ville-list {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 2px;
  max-height: 210px;
  overflow: auto;
  display: none;
}

.ville-item {
  padding: 6px 8px;
  cursor: pointer;
}

.ville-item:hover {
  background: #f5f5f5;
}

/*-----------------------------------------------------------------------*/
hr {
  border: none;
  height: 4px;
  width: 100%;
  margin: 12px 0;
  margin-bottom: 50px !important;
  border-radius: 2px;

  /* Dégradé aux extrémités */
  background: linear-gradient(to right, transparent 0%, #1f60b1 15%, #1f60b1 85%, transparent 100%);
}
/* Neutraliser le padding-bottom de pt35 lorsque fdd est présent */
.pt35.fdd {
  padding-bottom: 0 !important;
}
/* Fond dégradé discret derrière les titres */
/* Bandeau dégradé plein large pour titres */
.fdd {
  display: block; /* pleine largeur */
  width: 100%;
  padding: 10px 0; /* hauteur du bandeau */
  border-radius: 4px;
  /* padding-bottom: -15px !important; */

  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(31, 96, 177, 0.18) 15%,
    /* bleu clair semi-transparent */ rgba(31, 96, 177, 0.18) 85%,
    /* partie centrale uniforme */ transparent 100%
  );
}

/*-----------------------------------------------------------------------*/
/* Ajustements pour la liste des lieux */
/* Lieux d'accueil */
.lieu-card {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e4e4e4;
  padding: 15px 18px;
  margin-bottom: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/*-----------------------------------------------------------------------*/
/* Missions — bandeau */
.missions-banner {
  margin: 10px 0 35px;
}
.missions-banner img {
  width: 100%;
  max-height: 260px; /* bandeau pas trop haut */
  object-fit: cover;
  border-radius: 10px;
}

/* Missions — cartes */
.missions-row {
  margin-top: 10px;
}

.mission-card {
  border-radius: 18px;
  padding: 22px 24px 24px;
  margin-bottom: 25px;
}

/* fond bleu (gauche et droite) */
.mission-card-primary {
  background: #1f60b1;
  color: #ffffff;
}

/* fond clair (centre) */
.mission-card-light {
  background: #f5f5f5;
  color: #222;
}

/* pastille titre */
.mission-pill {
  display: inline-block;
  padding: 8px 26px;
  border-radius: 999px;
  background: #0f3c76;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.05em;
}

/* pastille un peu plus vive pour la carte centrale */
.mission-pill-secondary {
  background: #1f60b1;
}

.mission-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 0.98em;
  line-height: 1.6;
}

.mission-card-primary .mission-list li,
.mission-card-primary .mission-intro {
  color: #ffffff;
}

.mission-intro {
  margin: 0 0 8px;
  font-size: 0.98em;
}

/* Ajustements responsive : cartes superposées sur mobile */
@media (max-width: 767px) {
  .mission-card {
    margin-bottom: 18px;
  }
}

/*-----------------------------------------------------------------------*/
/* Sous-titres en bleu */
.page-subtitle,
h4.page-subtitle {
  color: #1f60b1 !important;
  font-weight: 600;
}
/*-----------------------------------------------------------------------*/
/* Uniformiser la hauteur des cartes de mission */
.mission-card {
  min-height: 300px; /* ajuste si nécessaire : 340 / 360 / 380 */
  display: flex;
  font-size: larger !important;
  flex-direction: column;
  justify-content: flex-start;

  /* ombre demandée */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* éviter que les listes débordent */
.mission-list {
  flex-grow: 1;
}

/* Pour les écrans mobiles : hauteur auto */
@media (max-width: 767px) {
  .mission-card {
    min-height: auto;
  }
}

/*-----------------------------------------------------------------------*/
/* Style des vignettes de lieux */
/* Style vignettes lieux */
.lieu-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  padding: 15px 18px;
  margin-bottom: 15px;

  /* ombre uniforme */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

  /* hauteur identique pour toutes les vignettes */
  height: 120px !important; /* ajuste ici selon ton rendu */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Nom du lieu */
.lieu-nom {
  font-size: 1em !important;
  font-weight: 600 !important;
  margin: 0 0 6px;
  color: #1f60b1; /* bleu demandé */
}

/* Adresse */
.lieu-adresse {
  font-size: 1em !important;
  line-height: 1.25;
  margin: 0;
  color: #333;
}

/*-------------------------------------formulaire contact----------------------------------*/
/* -------------------------------------------------
   FORMULAIRE – STYLE VIVRE SON DEUIL 5962
--------------------------------------------------- */

#contactForm input,
#contactForm textarea {
  width: 100%;
  border: 1px solid #c7d4e7;
  padding: 12px 14px;
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Focus bleu */
#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #1f60b1;
  box-shadow: 0 0 6px rgba(31, 96, 177, 0.25);
  outline: none;
}

/* Labels sobres */
#contactForm label {
  font-weight: 600;
  color: #1f60b1;
  margin-bottom: 4px;
  display: block;
}

/* Espacement vertical uniforme */
#contactForm .form-group {
  margin-bottom: 18px;
}

/* Bouton déjà géré via .btn01 mais on ajuste pour cohérence */
#contactForm .btn01 {
  padding: 12px 28px;
  font-size: 16px;
}

/* Message retour */
#msgSubmit p {
  margin-top: 10px;
  font-size: 15px;
}
#contactForm .form-group,
#contactForm .col-md-6,
#contactForm .col-12 {
  margin-bottom: 13px;
}
/* -----------------------------
   RESPONSIVE
------------------------------ */

/* Sur desktop : on force l'alignement vertical propre */
@media (min-width: 768px) {
  #contactForm .row.g-3 > div {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.img-inset {
  display: inline-block;
  padding: 0;
  background: #fff; /* nécessaire pour voir l’inset */
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.img-inset img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/*-----------------------------------------------------------------------*/
/* ===== Catalogue formations (public) ===== */
:root {
  --vsd-blue: #224478;
  --vsd-text: #555;
  --vsd-card-bg: #fff;
}

/* Titre principal */
.cat-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--vsd-blue);
  margin: 10px 0 18px;
}

/* Blocs familles */
.famille-bloc {
  margin: 32px 0 46px;
}

.famille-titre {
  font-size: 26px; /* on garde */
  font-weight: 700;
  color: var(--vsd-blue);
  margin: 0 0 8px;
}

.famille-comment {
  color: var(--vsd-text);
  font-size: 17px; /* ajusté */
  line-height: 1.65;
  text-align: justify;
  margin: 0 0 14px;
}

/* Liste formations */
.formations-liste {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.formation-ligne {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--vsd-card-bg);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* En-tête : code + titre */
.formation-entete {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 4px;
}

.fo-code {
  color: var(--vsd-blue);
  font-weight: 700;
  font-size: 16px; /* on garde */
  white-space: nowrap;
}

.fo-titre {
  color: var(--vsd-blue);
  font-weight: 700;
  font-size: 18px; /* on garde */
  margin: 0;
}

/* Texte sous titre */
.fo-remark {
  color: var(--vsd-text);
  font-size: 17px; /* ajusté */
  font-weight: 400;
  margin: 6px 0 6px;
}

/* Détails (puces) */
.fo-details {
  margin: 6px 0 10px 18px;
  padding: 0;
  list-style: disc;
  color: var(--vsd-text);
  line-height: 1.55;
  font-size: 17px; /* ajusté */
}

.fo-details li {
  margin: 2px 0;
  font-size: 17px !important; /* ajusté */
}

/* Métadonnées */
.fo-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  font-size: 17px; /* ajusté */
}

.fo-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #222;
}

.ico {
  display: block;
}
.ico-wrap {
  display: inline-flex;
  line-height: 1;
  color: var(--vsd-blue);
}

.fo-meta-label {
  font-weight: 700;
  color: var(--vsd-blue);
  font-size: 17px; /* ajusté */
}

.fo-meta-val {
  font-weight: 400;
  color: var(--vsd-text);
  font-size: 17px; /* ajusté */
}

.fo-sep {
  color: #999;
  font-size: 17px; /* ajusté */
}

/* Mobile */
@media (max-width: 575px) {
  .formation-entete {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/*-----------------------------renc deuil------------------------------------------*/
/* --- Rencontres deuil (bloc avant footer) --- */

.calendar-card {
  background: #e6e9f0;
  border: 1px solid #1e578d;
  border-radius: 12px;
  padding: 16px 16px 12px;
  /* margin-top: 16px; */
}

.renc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.renc-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.renc-l1 {
  font-size: 18px;
  font-weight: 700;
  color: #1e578d;
  margin-bottom: 4px;
}

.renc-addr {
  color: #444;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 3px;
}

.renc-hrs {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}
.renc-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e578d;
}
/*-----------------------------------------------------------------------*/
.phone-full {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 22px;
  margin: 0 0 25px 0;
  background-color: #ffffff;
}

.phone-full h1 {
  font-size: 3rem; /* modifier si tu veux plus gros */
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px 0;
  color: #5281c7; /* bleu foncé */
}

.phone-full h2 {
  font-size: 2rem; /* modifier la taille ici */
  font-weight: 500;
  text-align: center;
  margin: 0;
  color: #5281c7;
}

/*-----------------------------------------------------------------------*/
.social-footer a,
.social-footer a:visited,
.social-footer a:hover,
.social-footer a:active {
    color: #fff;
    text-decoration: none;
}
/*-----------------------------------------------liens internes------------------------*/
.gel{
    display:inline-block;
    padding:2px 8px;
    border-radius:999px;
    background:rgba(74,136,191,0.15);
    text-decoration:none;
    line-height:1.4;
}
.gel:hover{
        background:rgba(74,136,191,0.40);
    color:#1e578d;
}
.gel2{
    display:inline-block;
    padding:2px 8px;
    border-radius:999px;
    background:rgba(74,136,191,0.15);
    text-decoration:none;
    line-height:1.4;
    border:1px solid #000;
}
.gel2:hover{
    background:rgba(74,136,191,0.40);
    color:#1e578d;
}
/*---------------------margintop--------------------------------------------------*/
.mt25{
  margin-top: 25px !important;
}
.mt50{
  margin-top: 50px !important;
}
.mt100{
  margin-top:100px !important;
}
/*---------------------------------fond--------------------------------------*/
/* ---------- fond global transparent ---------- */
body::before{
    content:"";
    position:fixed;
    inset:0;
    background:url("/back.jpg") center / cover no-repeat;
    opacity:0.12; /* ajustable */
    pointer-events:none;
    z-index:-1;
}
/*-----------------------------------------------------------------------*/
/* /--- Effet de lumière mobile pour .with-shine ---/ */
.with-shine {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Fine lueur d'arrière-plan (optionnel) */
.with-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.03) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Bande diagonale animée */
.shine-overlay {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    45deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0) 70%
  );
  filter: blur(8px);
  transform: rotate(25deg);
  animation: shine-move 3.2s ease-in-out infinite;
  mix-blend-mode: screen; /* harmonise l'effet selon fond */
}

/* Animation : translation diagonale et légère variation d'opacité */
@keyframes shine-move {
  0% {
    transform: translate(-100%, -100%) rotate(25deg) scale(0.95);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    transform: translate(0%, 0%) rotate(25deg) scale(1);
    opacity: 0.9;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translate(100%, 100%) rotate(25deg) scale(0.95);
    opacity: 0;
  }
}

/* Ajustements responsive : réduire l'intensité sur petits écrans */
@media (max-width: 700px) {
  .shine-overlay {
    filter: blur(6px);
    animation-duration: 4s;
    background: linear-gradient(
      45deg,
      rgba(255,255,255,0) 30%,
      rgba(255,255,255,0.18) 50%,
      rgba(255,255,255,0) 70%
    );
  }
}
/*---------------------test menu--------------------------------------------------*/
/* ------------------ MENU PRINCIPAL ------------------ */

/* Conteneur du menu */
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* Chaque item du menu principal */
.main-menu > ul > li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* Style des liens du menu principal (les gélules) */
.main-menu > ul > li > a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 15px;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: transparent;
    text-decoration: none;
    color: #1e1e1e;
    transition: all 0.2s ease;
}

/* Effet au survol des liens principaux - VERSION CORRIGÉE */
.main-menu > ul > li > a:hover {
    background: rgba(30,87,141,0.06);
    border-color: rgba(30,87,141,0.25);
    color: #1e578d;
    /* transform: translateY(-2px);  ← SUPPRIMEZ OU COMMENTEZ */
    /* Option : ajoutez un effet de box-shadow à la place */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Style pour les items avec sous-menu */
.main-menu > ul > li.submenu > a .icon-down-open-mini {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

/* Rotation de la flèche au survol */
.main-menu > ul > li.submenu:hover > a .icon-down-open-mini {
    transform: rotate(180deg);
}

/* ------------------ SOUS-MENUS ------------------ */

/* Cacher tous les sous-menus par défaut */
.main-menu ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    padding: 12px 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.04);
    z-index: 1000;
}

/* Afficher le sous-menu au survol du li parent */
.main-menu ul li:hover > ul {
    display: block;
}

/* Ajustement pour les sous-menus de droite (évite sortie d'écran) */
.main-menu ul li:last-child ul,
.main-menu ul li:nth-last-child(2) ul {
    left: auto;
    right: 0;
}

/* Style des items dans les sous-menus */
.main-menu ul li ul li {
    display: block;
    margin: 0;
    width: 100%;
}

/* Style des liens dans les sous-menus (sans gélules) */
.main-menu ul li ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    transition: all 0.15s ease;
    border: none;
    border-radius: 0;
}

/* Ligne de séparation entre les items */
.main-menu ul li ul li:not(:last-child) a {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Effet au survol des liens dans les sous-menus */
.main-menu ul li ul li a:hover {
    background: rgba(30,87,141,0.06);
    color: #1e578d;
    padding-left: 26px;
}

/* Petit point indicateur au survol */
.main-menu ul li ul li a:hover::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #1e578d;
}

/* Style pour les liens externes */
.main-menu ul li ul li a[target="_blank"]::after {
    content: " ↗";
    font-size: 12px;
    opacity: 0.5;
}

/* ------------------ ZONE DE TRANSITION ------------------ */

/* Crée un pont invisible entre le parent et le sous-menu */
.main-menu > ul > li.submenu {
    position: relative;
}

.main-menu > ul > li.submenu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
    z-index: 999;
}

/* Ajustement pour les sous-menus de droite */
.main-menu > ul > li.submenu:last-child::after,
.main-menu > ul > li.submenu:nth-last-child(2)::after {
    left: auto;
    right: 0;
}

/* ------------------ ÉTAT ACTIF ------------------ */

/* Page courante dans le menu principal */
.main-menu > ul > li.current-menu-item > a,
.main-menu > ul > li.current-menu-ancestor > a {
    background: rgba(30,87,141,0.12);
    border-color: rgba(30,87,141,0.3);
    color: #1e578d;
    font-weight: 600;
}
/* ------------------ CORRECTION URGENTE MENU MOBILE ------------------ */

@media (max-width: 991px) {

    /* Forcer la position du bouton hamburger */
    .cmn-toggle-switch {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 999999 !important;
        margin: 0 !important;
        padding: 20px !important;
        display: block !important;
        background: transparent !important;
        border: none !important;
    }

    /* S'assurer que le header n'empêche pas le positionnement */
    .site-header {
        position: relative !important;
        min-height: 80px !important; /* Donne de la hauteur */
    }

    /* Donner de l'espace dans l'en-tête */
    .header-line1 {
        padding-top: 15px !important;
        padding-left: 15px !important;
    }

    /* Au cas où le bouton serait caché */
    .open_close {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

}
}
/*-----------------------------------------------------------------------*/
/* Dans addon.css - CORRECTION ESPACE MOBILE */

@media only screen and (max-width: 991px) {
    /* Décaler toute la page vers le bas pour passer sous le header */
    body {
        padding-top: 80px !important;  /* Ajustez cette valeur */
    }

    /* Maintenir le header en haut fixe */
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: white !important;  /* Ou la couleur de fond de votre header */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }

    /* La section vidéo commence sous le header */
    .intro-video {
        margin-top: 0 !important;
    }
}

/* Ajustement pour très petits écrans */
@media only screen and (max-width: 480px) {
    body {
        padding-top: 70px !important;  /* Un peu moins sur très petit */
    }
}
/*-----------------------------------------------------------------------*/
/* Slogan avec animation de balayage */
.slogan-container {
    text-align: center;
    margin: 5px 0 5px 0;  /* Espace réduit à 5px au lieu de 30/20 */
    padding: 0;
}

.slogan-text {
    font-size: 3.5rem;        /* Augmenté de 2.5rem à 3.5rem */
    font-weight: 800;          /* Plus gras (800 au lieu de 600) */
    display: inline-block;
    position: relative;
    background: linear-gradient(120deg, #0a2f5a, #7ab0f0, #0a2f5a, #7ab0f0, #0a2f5a);
    background-size: 300% auto; /* Augmenté de 200% à 300% pour plus d'amplitude */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite; /* Accéléré de 4s à 3s */
    text-shadow: 3px 3px 6px rgba(0,20,50,0.2); /* Ombre plus marquée */
    letter-spacing: 2px;       /* Espacement augmenté */
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center; /* Adapté à background-size */
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .slogan-text {
        font-size: 2.2rem;      /* Augmenté aussi sur mobile */
        font-weight: 700;
    }
}
/*-----------------------------------------------------------------------*/
/* SLOGAN PRINCIPAL - Version desktop (dans l'en-tête)                  */
/*-----------------------------------------------------------------------*/

.header-line1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.slogan-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.slogan-header-text {
    font-family: "Caveat", cursive;
    font-size: 6.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #0a2f5a, #7ab0f0, #0a2f5a, #7ab0f0, #0a2f5a);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 3px 3px 6px rgba(0, 20, 50, 0.2);
    letter-spacing: 0px;
    white-space: nowrap;
    max-width: 100%;
    overflow: visible;
    display: inline-block;
    padding: 0 5px; /* Ajout de padding horizontal */
    margin: 0 -5px; /* Compensation pour ne pas décaler */
    -webkit-box-decoration-break: clone; /* Pour que le dégradé s'applique par morceaux */
    box-decoration-break: clone;
}

/*-----------------------------------------------------------------------*/
/* SLOGAN MOBILE - Sous la vidéo (caché par défaut)                     */
/*-----------------------------------------------------------------------*/

.slogan-mobile {
    display: none;
}

.slogan-mobile-text {
    font-family: "Caveat", cursive;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #0a2f5a, #7ab0f0, #0a2f5a, #7ab0f0, #0a2f5a);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 3px 3px 6px rgba(0, 20, 50, 0.2);
    letter-spacing: 1px;
    line-height: 1.3;
}
/*-----------------------------------------------------------------------*/
/* RESPONSIVE - Tablettes (entre 769px et 1200px)                       */
/*-----------------------------------------------------------------------*/

@media (max-width: 1200px) {
    .slogan-header-text {
        font-size: 2.5rem;
    }
}

/*-----------------------------------------------------------------------*/
/* RESPONSIVE - Mobile (max-width: 768px)                               */
/*-----------------------------------------------------------------------*/

@media (max-width: 768px) {
    /* Logo reste à gauche */
    .header-line1 {
        justify-content: flex-start;
    }

    /* Cache le slogan de l'en-tête */
    .slogan-wrapper {
        display: none;
    }

    /* Affiche le slogan sous la vidéo */
    .slogan-mobile {
        display: block;
        text-align: center;
        margin: 20px 0;
        padding: 0 15px;
    }

    /* Ajustement taille pour mobile */
    .slogan-mobile-text {
        font-size: 2.2rem;
    }
}

/*---------------------------------cave--------------------------------------*/
.cv_a {
   font-family: "Caveat", cursive;
   font-size: 60px !important;
  }
.cv_b {
     font-family: "Caveat", cursive;
     font-size: 36px !important;
  }
@media (max-width: 768px) {
.cv_a {
   font-family: "Caveat", cursive;
   font-size: 40px !important;
  }
}
/*---------------------------------footer mobile--------------------------------------*/
@media (max-width: 768px) {
    .cv_a {
        font-family: "Caveat", cursive;
        font-size: 40px !important;
    }
 /* Correction du footer sur mobile - fond et couleurs */
    footer {
        background-color: #2c65bc !important;
         background-image: none !important; /* Supprime toute image de fond */
    }


    /* Titres h3 du footer en blanc sur mobile */
    footer h3 {
        color: #fff !important;
    }

    /* Texte et icônes en blanc sur mobile */
    footer,
    footer ul,
    footer li,
    footer p,
    footer a,
    footer a:visited,
    footer a:active,
    #contact_details_footer,
    #contact_details_footer li,
    #social_footer,
    #social_footer a,
    #social_footer a:visited,
    #social_footer a:active {
        color: #fff !important;
    }

    /* Maintien de la couleur au survol sur mobile */
    footer a:hover,
    #social_footer a:hover {
        color: #000 !important;
    }
/*-----------------------------------------------------------------------*/
/* FORCER LE SLOGAN À DISPARAÎTRE COMPLÈTEMENT SUR MOBILE */
@media (max-width: 991px) {
    .slogan-wrapper,
    .slogan-header-text {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        pointer-events: none !important;
        z-index: -9999 !important;
        overflow: hidden !important; /* Ajouté pour sécurité */
    }

    /* S'assurer que le hamburger est au-dessus de tout */
    .cmn-toggle-switch {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important; /* Évite tout conflit de position */
        bottom: auto !important;
        z-index: 100000 !important;
        background: #fff !important; /* Gardé le bleu d'origine */
        border-radius: 5px !important;
        padding: 15px !important;
        margin-right: 50px !important;
        display: block !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important; /* Annule toute transformation */
    }


}
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
