/* RESET RULES & HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --lightblue: #f6f9fc;
    --primary-color: #8B008B;;
  }
  
  main{
    font-family: "Poppins", Sans-serif;
  }
  
  a,
  a:hover {
    color: #7d3c98;
  }
  
  
  
  .txt{
  color: var(--primary-color) ;
  text-shadow: 0 1px 2px rgb(61, 59, 59); /* Améliore la lisibilité du texte */
  }
  a:hover {
    text-decoration: none;
  }
  
  .bg-lightblue {
    background: #f8ebf9;
  }
  
  .bg-red {
    background: var(--red);
  }
  
  .text-red {
    color: var(--red);
  }
  
  /* .container-fluid-max {
    max-width: 1440px;
  } */
  
  .card-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .cover {
    background: no-repeat center/cover;
  }
  
  .p-15 {
    padding: 15px;
  }
  
  /* SCROLL ANIMATIONS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .scroll .page-header {
    background: var(--red);
  }
  
  .scroll .hero {
    transform: scale(0.98);
  }
  
  /* HEADER
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .page-header {
    transition: background 0.5s ease-in-out;
  }
  
  .page-header .navbar {
    padding: 1rem 0;
  }
  
  .page-header .navbar-toggler {
    /* the variable is inherited from BS4 built-in variables */
    border-color: var(--white); 
  }
  
  /* BANNER SECTION
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .hero {
    background-attachment: fixed;
    transition: transform 0.5s ease-in-out;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
      rgba(0, 0, 0, 0.5) 100%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.5) 0
    );
  }
  
  .hero .container-fluid {
    z-index: 10;
  }
  
  /* POPULAR DESTINATIONS SECTION
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .popular-destinations figure {
    margin-bottom: 30px;
  }
  
  .popular-destinations figcaption {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
  }
  
  .popular-destinations img {
    filter: grayscale(100%) blur(3px);
    transition: transform 0.5s, filter 0.75s;
  }
  
  .popular-destinations a:hover img {
    transform: scale(1.25);
    filter: none;
  }
  
  /* MEDIA QUERIES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  /* MEDIUM SCREENS */
  @media screen and (max-width: 991px) {
    .page-header {
      background: var(--red);
    }
  }
  
  /* SMALL SCREENS */
  @media screen and (max-width: 767px) {
    .page-footer .footer-child {
      text-align: center;
    }
  }
  
  
  #more-text,#more-text2,#more-text3 {
    display: none;
  }
  
  #toggle-btn,#toggle-btn2,#toggle-btn3{
  color: var(--primary-color);
  }
  
  p {
  text-align: justify;
  }
  
  table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  }
  th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    }
    th {
    background-color: var(--primary-color);
    color: white;
    text-transform: uppercase;
    }
    tr:hover {
    background-color: #f8ebf9;
    }
    
  
  h2 {
      color: #222;
      font-size: 28px;
      margin-bottom: 10px;
      }
    
  p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    }
    
  .contenu{
    left: 20px
  }
            /* Conteneur principal */
            .boxx {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 30px;
            }
    
            /* Style des cartes */
            .card {
                background: white;
                width: 650px;
                padding: 20px;
                border-radius: 12px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
                transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
                text-align: left;
                position: relative;
                overflow: hidden;
            }
    
            .card:hover {
                transform: translateY(-8px);
                box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
            }
    
            /* Icônes */
            .emoji {
                font-size: 26px;
                margin-right: 10px;
            }
    
            /* Style des titres */
            .card h3 {
                color: #1e88e5;
                font-size: 20px;
                margin-bottom: 10px;
                display: flex;
                align-items: center;
            }
    
            /* Style des paragraphes */
            .card p {
                font-size: 14px;
                color: #555;
                margin-bottom: 8px;
                line-height: 1.6;
            }
    
            /* Style spécifique par catégorie */
            .card.frais-refacturables h3 { color: #28a745; } /* Vert */
            .card.frais-non-refacturables h3 { color: #ff9800; } /* Orange */
            .card.urssaf h3 { color: #d32f2f; } /* Rouge */
    
            /* Responsive */
            @media (max-width: 768px) {
                .box{
                    flex-direction: column;
                    align-items: center;
                }
                .card {
                    width: 90%;
                }
            }
    
    h6{
        font-weight: 1000;
      }
    
    .btn{
     color: white;
     background-color: var(--primary-color);
    }
    
    .btn:hover{
      background-color: #7d3c98;
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(109, 40, 217, 0.2);
    
    }
    
    
    
    .btn {
      padding: 1rem 2rem;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 30px;
      background-color: var(--primary-color);
      box-shadow: -5px 5px 15px gray;
      color: white;
      border: none;
      transition: var(--transition);
      cursor: pointer;/* Transition pour l'effet de survol */
    }
    
    .btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      background-color: #5a1478 ;
    }
  
    @media (max-width: 1200px) {
     .sommaire{
      display: none;
     }
     /* #home{
        background-size: contain; 
        background-position: center;
        background-repeat: no-repeat;     } */

        p,td,th{
            font-size: 0.7rem;
        }
        h2  {
            font-size: 1.2rem;
        }
        h3  {
            font-size: 1.15rem;
        }
        h4  {
            font-size: 1rem;
        }
       
        .h1 {
            font-size: 2rem;
            font-weight: 600;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        .titre{
            height: -60vh;
            transform: scale(0.8); /* Zoom effect */
            transform-origin: center; /* Scale from the center */      
        }
    }



    ol, ul {
      list-style: none;
    }
    .sommaire{
      /* vertical-align:middle; */
      width: 286px;
      display:inline-block;
     font-family: 'Source Sans Pro', sans-serif;
      transform:translate3d(0,0,0);
      
      position: sticky;
    } 
    
    .sommaire input{
      position:relative;
      /* left:-9999px; */
    }
    .sommaire #togglemenu:checked ~ ul {
      max-height:600px;
      padding-bottom:1em;
    }
    
    .sommaire ul{
      /* margin-top:2px; */
      text-align:left;
      max-height:0px;
      overflow:hidden;
      padding:0;
      transition:300ms ease all;
      margin: 0px;
      
    }
    .sommaire li{
      margin-bottom:1px;
      position:relative;
      z-index:10;
      transition:300ms ease all;
      /* top: -1px; */
      height: 55px;
    }
    .sommaire li a {
    display: block;
    position:relative;
    width:100%;
    padding: 1em;
    background: linear-gradient(135deg, #8B008B, #7d3c98);
    text-decoration:none;
    color:white;
    box-sizing:border-box;
    /* height: 55px; */
    transition:300ms ease all;
    }
    .sommaire li:hover a {
    width:99%;
    margin-left:1%;
    box-shadow: inset 300px 0 300px -300px rgba(255, 255, 255, 0.6);
    }
    .sommaire li:before {
    content: "";
    position: absolute;
    width: 50%;
    height: 30%;
    left: 1%;
    bottom: 16px;
    box-shadow: 10px 0 0px black;
    transition:300ms ease all;
    transform: rotate(0deg)  ;
    }
    
    .sommaire li:hover:before {
    box-shadow: 10px 0 30px black;
    transform: rotate(-4deg);
    bottom: 6px;
    }
    .sommaire li:hover + li{
      z-index:1;
    }
    
  
    @media (max-width: 1210px){
      .sommaire{ display:none;}}