/* ---------- Variables & base ---------- */
:root{
	color-scheme: light;
  --bs-primary: #cc7b05;
  --bs-primary-rgb: 204,123,5;
  --muted: #6b6b6b;
  --card-radius: 12px;
}

/* Base fonts */
body {
  font-family: "Roboto", sans-serif;
  color: #222;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: 1.6;
  background: #fff;
}

html {
    scroll-padding-top: 90px; /* hauteur de la navbar sticky */
}

.montserrat {
  font-family: "Montserrat", sans-serif;
}

.title_conseil { color:#cb7c03; }

/* Titles font */
.section-title,
h1,h2,h3,h4,h5,h6 {
  font-family: "Montserrat", sans-serif;
}

/* Primary buttons override (s'assure de la cohérence avec bootstrap) */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #b36c04;
  border-color: #b36c04;
  color: #fff;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #9a6304 !important; /* couleur plus foncée, par ex. */
  border-color: #9a6304 !important;
  color: #fff;
}
/* Outline primary */
.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-outline-primary:hover {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}
.btn-outline-primary:active {
  background: #9a6304 !important;
  color: #fff;
  border-color: #9a6304 !important;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  transition: box-shadow .25s ease, background-color .25s ease;
  
}

.navbar-brand {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
	font-size:20px;
}

.nav-item {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
	font-size:13px;
}

.navbar .dropdown-menu {
    font-family: "Montserrat", sans-serif;
	font-size:12px;
	text-transform: uppercase;
  }

.navbar .nav-link.active {
    color: #04382c !important;     /* couleur du texte */
    font-weight: 600;
}

.navbar.sticky-top {
    z-index: 999;
}

.navbar.sticky-top.scrolled {
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


/* Desktop: supprimer le chevron de bootstrap si présent */
.navbar .dropdown-toggle::after {
  display:none !important;
}


/* Desktop dropdown on hover */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .22s ease;
  }
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mobile dropdown: slide via max-height */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transition: max-height .33s ease, opacity .33s ease, padding .33s ease;
    background: #fff;
  }
  .navbar .dropdown-menu.show-mobile {
    max-height: 420px;
    padding-top: .4rem;
    padding-bottom: .4rem;
    opacity: 1;
  }
  /* small chevron rotate */
  .dropdown-toggle .chev {
    transition: transform .28s ease;
    display:inline-block;
    margin-left:.35rem;
    transform-origin:center;
  }
  .dropdown-toggle[aria-expanded="true"] .chev {
    transform: rotate(180deg);
  }
}

.solysens {
  color: #05392c;
}

.conseil {
  color: #ce7d07;
}

.navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  height: 40px; 
  width: 40px;/* ajustable */
}

.navbar-toggler-icon {
  display: block;
  margin: auto;
}


/* Icône burger personnalisée */
.navbar-toggler-icon {
  background-image: none !important;
  width: 24px;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: background-color .2s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

/* Quand le menu est ouvert → transforme en croix */
.navbar-toggler.collapsed .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  box-shadow: none !important;
  outline: none !important;
}


/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateY(0);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  padding: 0 1rem;
}


/* subtle appear animation */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.show {
  opacity: 1;
  transform: none;
}

.hero-social a {
  color: #fff; /* couleur par défaut */
  transition: color 0.3s ease;
  text-decoration: none; /* supprime le soulignement */
}

.hero-social a:hover {
  color: #cc7b05;
}

.hero-subtitle {
    font-family: "Montserrat", sans-serif;
	font-size:15px;
	text-transform: uppercase;
  }
 
/* ---------- PRESENTATION ---------- */
.profile-img {
  /*width: 300px;*/
  max-width: 90%;
  min-width: 160px;
  border-radius: 10px; /* coin arrondi léger */
  overflow: hidden;
}
.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* text blocks */
.intro-text {
  font-size: 1.02rem;
  margin-bottom: 1rem;
  color: #222;
}

.info-block h5 { color: #222; font-weight: 700; margin-bottom: .35rem; }
.info-block p { color: #444;}

/* badges (petits labels) */
.badge-skill {
  display:inline-block;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-right: .4rem;
  margin-bottom: .35rem;
  font-size:.9rem;
  font-weight:600;
}

/* ---------- CARDS / prestations ---------- */
.card {
  border-radius: var(--card-radius);
  overflow: visible;
}
.card .card-body {
  display:flex;
  flex-direction: column;
  gap: .6rem;
}
.card .card-title { margin-bottom: .1rem; }

/* ensure buttons stick to bottom */
.card .btn { margin-top: auto; align-self: start; }

/* nicer lists */
ul { padding-left: 1.15rem; margin-bottom: .6rem; color: #333; }

/* ---------- PARALLAX SECTION (entreprise) ---------- */
/* light background image, CSS-only parallax (background-attachment fixed) */
.parallax-section {
  position: relative;
  background: url('../img/parallax-entreprise.jpg') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding: 4.25rem 0;
}
.parallax-section::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(255,255,255,0.85); /* overlay léger pour lisibilité */
  z-index:0;
}
.parallax-section .container{ position:relative; z-index:1; }

/*-------CONTACT----------*/
/* Logo contact : centré et plus gros */
.contact-logo {
  max-height: 350px;
  width: auto;
}

/* Section Contact thème */
.contact-section {
  background: #f6f7f5; /* optionnel, peut être blanc si tu préfères */
  color: #76956c; /* couleur principale pour labels */
}

/* Labels Téléphone et Courriel */
.contact-label {
  color: #05392c; /* label en foncé */
  font-weight: 500;
  font-size: 1.05rem;
}

/* Valeurs (numéro et mail) */
.contact-value {
  color: #76956c; /* conserve couleur actuelle */
  font-weight: 400;
  font-size: 1.05rem;
  display: block;
  margin-top: 0.2rem;
}

/* Valeurs (numéro et mail) en lien */
.contact-value a {
  color: #76956c;       /* couleur harmonisée avec ton style actuel */
  font-weight: 400;
  font-size: 1.05rem;
  display: inline-block; /* permet de gérer margin et padding si besoin */
  margin-top: 0.2rem;
  text-decoration: none; /* supprime le soulignement par défaut */
  transition: color 0.3s; /* effet hover doux */
}

.contact-value a:hover {
  color: #5a754f; /* couleur plus foncée au survol pour contraste */
  text-decoration: underline; /* optionnel pour indiquer le lien */
}

/* Ligne descriptive centrée */
.contact-desc {
  color: #05392c; /* couleur foncée demandée */
  font-weight: 500;
  font-size: 14px;
  margin-top: 1rem;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

/* Icônes FontAwesome */
.contact-label i {
  color: #05392c; /* même couleur que le label */
}

.contact-card {
  background: #fcfcfc;
  border-radius: 50px 15px 15px 50px; /* TL | TR | BR | BL */ 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.icon-box {
  width: 80px;
  min-height: 80px;
  background: #05392c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.info-box {
  padding: 15px 20px;
}

.contact-title {
  margin: 0;
  font-weight: 500;
  color: #043726;
  font-size:16px;
}

.contact-value {
  font-size: 17px;
  color: #333;
}


/* ---------- MISC ---------- */
.section-title { 
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin-bottom: 1.25rem;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.section-title.decorated {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  line-height: 1; /* empêche le texte d'être trop haut */
}

.section-title.decorated::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, #cc7b05 0%, rgba(204,123,5,0) 100%);
  border-radius: 2px;
  position: relative;
  top: 9px; /* remonte la barre pour la coller à la baseline */
}

/* On supprime la ligne de gauche */
.section-title.decorated::before {
  content: none;
}


.card-header-presta {
  background: linear-gradient(135deg, #5f7757, #75966b);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.card-header-particulier {
  background: linear-gradient(135deg, #5f7757, #75966b);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.legal-info {
    color: #fff;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.legal-info:hover {
    color: #ce7d07;
    background-color: rgba(255, 255, 255, 0.05); /* léger effet visuel au hover */
    text-decoration: none;
}

/* responsive tweaks */
@media (max-width: 991px) {
  .hero { height: 52vh; min-height: 360px; }
  .profile-img { max-width: 90%; margin: 0 auto; }
  .card .btn { width: 100%; }
  .parallax-section { background-attachment: scroll; } /* mobile safety */
}


/* ===========================
   PAGE ENTREPRISE
=========================== */

/* Effet hover avec animation */
.list-group-item {
    position: relative;
	border-color: #75966b;  
}
.list-group-item:hover {
    border-color: #75966b !important;
}
.list-group-item a {
    color: #749369 !important;
    font-weight: 500;
    text-decoration: none;
}
.list-group-item:hover a {
    color: #56734c !important;
}
.list-group-item.active {
    background-color: #74956a;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.list-group-item.active a { color: #fff !important; }
.list-group-item.active a::after { background-color: #fff; width: 100%; }
.list-group-link small { font-size: 0.85em; color: #637e5a !important; }
.list-group-link:hover small { font-size: 0.85em; color: #fff !important; }

/* ===========================
   PAGE PARTICULIER
=========================== */

.section-bloc {
    border:1px solid #ced4da; 
    padding:15px; 
    margin-bottom:15px; 
    border-radius:5px; 
    background:#FFF;
}
.section-bloc h5 { margin-bottom:10px; }

/* ===========================
   PAGE FORMATION
=========================== */
.title_formation {
		color:#cb7c03;
	}
	
.reviews-slider .slick-slide {
    display: flex !important;
    padding: 0 25px; /* espace entre les cartes */
    box-sizing: border-box;
}

.reviews-slider .review-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.reviews-slider .review-card .card {
    height: 350px !important; /* ajuste selon ton design */
    display: flex;
    flex-direction: column;
}

.reviews-slider .review-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 0; /* ne pas pousser le contenu */
    justify-content: flex-start; /* contenu en haut */
}

.review-quote {
    font-style: italic;   
}

/* Curseur "main" quand le slider est interactif */
.reviews-slider {
    cursor: grab;
}

/* Quand on clique pour glisser */
.reviews-slider:active {
    cursor: grabbing;
}

/* Pour les slides eux-mêmes */
.reviews-slider .slick-slide {
    cursor: grab;
}

.reviews-username {
    color: #05392c;
}

.reviews-quote-color {
    color: #76956c;
}

.reviews-text-color {
    color: #777;
}

/* Couleur des icônes FA dans les flèches */
.slick-prev i,
.slick-next i {
    color: #ddd !important;   /* Couleur normale */
    font-size: 26px;
}

/* Hover */
.slick-prev:hover i,
.slick-next:hover i {
    color: #ccc !important;
}

/* Position par défaut (desktop) */
.slick-prev {
    left: -10px; /* ajuste si besoin */
}
.slick-next {
    right: -10px;
}

/* 👉 Correction mobile */
@media (max-width: 576px) {
    .slick-prev {
        left: -5px !important;   /* bien visible */
        z-index: 10;
    }
    .slick-next {
        right: 1px !important;  /* bien visible */
        z-index: 10;
    }

    /* Si tu veux, on peut aussi les rétrécir en mobile */
    .slick-prev i,
    .slick-next i {
        font-size: 22px;
    }
}

#ratingStars {
  display: inline-flex;       /* Compacte la zone autour des étoiles */
  justify-content: center;    /* Centre les étoiles */
  gap: 8px;                   /* Espacement propre entre les étoiles */
  cursor: pointer;            /* Curseur pointer sur toute la zone */
}

#ratingStars .star {
  cursor: inherit;            /* Les étoiles héritent du pointer */
}

/* ----------------------------- */
/*      STYLES BLOG CARDS        */
/* ----------------------------- */

.my-blog {
    background-color: #f8f9fa; /* bg-light */
    width: 100%;
}

.blog-card {
    border-radius: .75rem;          /* coins bien arrondis */
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* ----- IMAGE CONTAINER ----- */
.blog-image-container,
.blog-no-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* IMAGE AVEC BLUR ET ZOOM AU SURVOL */
.blog-darkened-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(85%) blur(1px);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.blog-card:hover .blog-darkened-image {
    transform: scale(1.08);
    filter: brightness(99%) blur(0.5px);
}

/* GRADIENT POUR AMÉLIORER LA LECTURE DU TITRE */
.blog-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

/* ----- TITRE OVERLAY ----- */
.blog-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.blog-overlay-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.blog-overlay-title-noimg {
    color: #333;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* ----- CONTAINER SANS IMAGE ----- */
.blog-no-image-container {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- VIEW ICON ----- */
.view-icon {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.8);
    opacity: 0;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    transition: all 0.4s ease;
    z-index: 3;
}

.view-icon.noimg {
    color: #555;
    text-shadow: none;
}

.blog-card:hover .view-icon {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* ----- DATE ----- */
.blog-card .date-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.85);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    z-index: 4;
}


/* ----------------------------- */
/*    BLOG VIEW       */
/* ----------------------------- */


.article-nav {
    max-width: 800px;
    margin: 20px auto 30px auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.article-nav a, 
.article-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.article-nav .btn-return {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
}

    .a4-container {
        max-width: 800px; /* largeur A4 approximative sur écran */
        margin: 40px auto;
        padding: 40px;
        background: white;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
    }
	
	/* 📱 Mobile : réduire les marges */
@media (max-width: 576px) {
    .a4-container {
        margin: 0;
        padding: 20px;
    }
}
	
    .blog-image {
        width: 100%;
        max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 10px;
    }
    .blog-content {
        margin-bottom: 30px;
    }
	.blog-content p,
	.blog-content div {
    margin: 0 0 10px 0; /* pas de margin top/bottom excessif */
    line-height: 1.4;   /* ajuster la hauteur de ligne */
}

.title_blog {
	color:#2c3e50;
}

.subtitle_blog {
	color:#d35400;
}

.primacustum {
  background-color: #FF8E36;
  color: white;
  border: none;
  transition: background 0.3s ease;
}

.primacustum:hover {
  background-color: #FF7A1A;
  color: #fff;
}

.btn-outline-orange {
  background-color: transparent;       /* transparent pour outline */
  color: #FF8E36;                       /* texte orange */
  border: 2px solid #FF8E36;           /* bordure orange */
  border-radius: 0.375rem;             /* arrondi Bootstrap */
  transition: all 0.3s ease;           /* transition douce */
}

.btn-outline-orange:hover {
  background-color: #FF7A1A;           /* fond orange plus chaud */
  color: white;                        /* texte blanc */
  border-color: #FF7A1A;               /* bordure également changée */
         /* petit effet "lift" */
}

.btn-link-orange {
  color: #ff8400;                  /* texte orange */
  background-color: transparent;    /* reste comme un lien */
  border: none;                     /* pas de bordure */
  text-decoration: none;            /* supprime le soulignement */
  transition: color 0.3s ease;      /* transition douce */
}

.btn-link-orange:hover {
  color: #FF0000;                   /* orange plus chaud au hover */
  text-decoration: underline;        /* facultatif : effet lien */
}

/* ----------------------------- */
/*    MENTION LEGALES       */
/* ----------------------------- */

/* Conteneur général */
.mentions-container {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 50px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.08);
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #333;

}

/* Titre principal */
.mentions-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1d3d5c;
    margin-bottom: 10px;
}

/* Sous-texte version */
.mentions-version {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 40px;
}

/* Titres des articles */
.mentions-container h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2b5b7c;
    margin-top: 35px;
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 4px solid #2b5b7c;
}

/* Paragraphes */
.mentions-container p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Listes */
.mentions-container ul {
    margin-left: 20px;
}
.mentions-container ul li {
    margin-bottom: 6px;
}

/* --- Responsive Mobile --- */
@media (max-width: 576px) {
    .mentions-container {
        padding: 25px 20px; /* Avant : 40px 50px */
        margin: 0;  /* Réduit aussi la marge extérieure */
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    }

    .mentions-title {
        font-size: 1.4rem; /* Avant : 1.9rem */
    }

    .mentions-container h4 {
        font-size: 1.05rem; /* Avant : 1.2rem */
    }
}

/* Style du sommaire */
.mentions-sommaire a {
    text-decoration: none;
    transition: all 0.2s ease;
}
.mentions-sommaire a:hover {
    background-color: #2b5b7c;
    color: #fff;
}

/* Bouton outline personnalisé */
.btn-outline-custom {
    color: #1d3d5c;             /* texte */
    background-color: transparent; /* fond transparent */
    border: 2px solid #1d3d5c;    /* bordure */
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
    background-color: #1d3d5c; /* fond au hover */
    color: #fff;               /* texte devient blanc */
    border-color: #1d3d5c;     /* bordure identique au fond */
    text-decoration: none;
}

/* Style du bouton */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(29, 61, 92, 0.60);
    color: #fff;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, background-color 0.3s, box-shadow 0.3s;
    z-index: 9999;
}

.back-to-top:hover {
    background-color: #1d3d5c;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Flèche à gauche du texte */
.back-to-top i {
    font-size: 0.9rem;
}

/* Montrer le bouton lorsqu'on scroll vers le bas */
.show-back-to-top {
    opacity: 1;
    pointer-events: auto;
}