html, body {
    height: 100%;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f9f9f9;
    display: flex;
    flex-direction: column; 
} 


/* Nav Bar */
nav {
    margin: 20px auto;
    width: 50%;
    height: 90px; 
}
 
nav .main_pages {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
 
nav .main_pages a {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    color: rgb(255, 255, 255);
}
 
nav a:hover {
    transform: scale(1.1);
    transition: all 0.4s ease;  
}

label {
    display: none;
  }
 
@media all and (max-width: 868px){
    nav
    {height: 60px;}
 
    nav .main_pages {
        display: none;}
    }

    label {
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        font-size: 40px;
        color: white;
        cursor: pointer;
    }

label, #toggle {
    display: none;
    transition: all 1.1s ease;
}
 
@media all and (max-width: 968px){
    nav {
        height: 60px;
    }
 
    nav .main_pages {
        display: none;
        flex-direction: column;
        background: #48435C;
        height: 220px;   
    }
 
    nav .main_pages a {
        width: 50%;
    }
 
    label {
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        font-size: 40px;
        color: white;
        cursor: pointer; 
    }
 
    #toggle:checked + .main_pages {
        display: flex;
        transform: scale(0.9);
         opacity: 0.9;
  }
   }

/* fin Nav Bar */


header {
  background-color: #ff896b;
  color: white;
  height: 100px;
  width: 100%;

}

footer {
    background-color: #ffffff;
    color: rgba(126, 114, 114, 0.939);
    padding: 10px;
    font-size: 15px;
    text-align: center;
}


h1 {
    font-size: 2.3rem;
    padding: 1rem;
 }

 h2 {
  margin:0px 0px 15px 5px;
  }



.logo {
    position: absolute;
    width: 77px;
    
    top: 16px;         
    left: 10px; 
}
.logo img {
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  border-radius: 7px;
}

.logo:hover img {
  transform: scale(1.07); 
}


.tilteArticle{
padding: 1rem;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.5rem;
}


.imgLana{
    width: 320px;
    height: 300px;
    float: left;
    shape-outside: margin-box;
    margin: 0 20px 5px 0;
    object-fit: cover;
    border-radius: 50%;
    
}


@media all and (max-width: 768px){
    .imgLana{
        width: 230px;
        height: 210px;
        float: left;
        shape-outside: margin-box;
        margin: 0 20px 5px 0;
        object-fit: cover;
        border-radius: 50%;
    }
}


.reseauS {
  text-align: center; 
  display: flex; 
  align-items: center;
  justify-content: center;
  padding: 20px 20px 10px 20px;
}

.pictureLogo { 
   margin: 10px auto 90px auto; 
}

.wrapper {
  margin: 17px;
}



.picture img {
      
    width: 5rem;
     height: 5rem;
    
     transition: transform 0.3s ease;
} 

.picture img:hover {
  transform: scale(1.1); 
}

h3{
    font-size: 1rem;
    color: #333;
    margin-top: 20px;
}



.articles {
  width: 400px;
  text-align: center;
  align-items: center;
  margin: 10px 20px 50px 20px;
  padding: 10px 10px 10px 10px;
  
  background-color: #ffffff;
  line-height: 1.9;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
}


.thanksPetitPrince{
  text-align: center;
  padding: 20px 0px 50px 0px;
}


/* carousel styles */

.carousel {
  margin: auto;
  position: relative;
  max-width: 800px;
  
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 50px;
}


@media all and (max-width: 768px){
.carousel{
  max-width: 400px;}
}

.carousel-track {
  display: flex;
   
  transition: transform 0.7s ease-in-out;
}

.slide {
  min-width: 100%;
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: relative;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
}

/* Navigation buttons carousel */


.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: white;
  font-size: 2.5rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.nav:hover {
  background: rgba(255, 255, 255, 0.6);
}



.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dots button.active {
  background: white;
} 


/*
.tabs__tab { 
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 15px;
  border-radius: 0.5em;
  background: #f9f9f9;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}
*/

.tabs__tab:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}



.donation{
    max-width: 600px;
    margin: 50px auto 50px;
    padding: 20px 20px 30px 50px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
    background-color: #ffffff;
}


/* nous contacter */

.buttonContact {
  padding: 0.1em 0.25em;
  padding-top: 1em;
  width: 1em;
  height: 0em;
  background-color: #f9f9f9;
  border: 0.08em solid #fff;
  border-radius: 0.3em;
  cursor: pointer;
}


.buttonContact span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 1em;
  width: 8em;
  height: 2em;
  background-color: white;
  border-radius: 0.2em;
  color: #000000;
  border: 0.08em solid #fff;
  box-shadow: 0 0.4em 0.1em 0.019em #ba9c9c;
    font-size: 1.2em;

}

.buttonContact span:hover {
  transition: all 0.5s;
  transform: translate(0, 0.4em);
  box-shadow: 0 0 0 0 #fff;
}

.buttonContact span:not(hover) {
  transition: all 1s;
}


/* contact */

.info-box {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 20px;
            font-size: 12px;
            
        }

   .form-group {
            margin-bottom: 10px;
        }

   input, textarea {
            width: 100%;
            height: 100%;
            padding: 10px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 15px;  
            font-family: inherit;
        }


/* button donation */

.buttonForDonation {
  position: relative;
  background: #ffffff;
  color: #000000;
  padding: 15px;
  margin: 10px;
  border-radius: 10px;
  border: 0.5px solid #c9c9c9;
  width: 130px;
  height: 50px;
  font-size: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.tooltip {
  position: absolute;
  top: 0;
  font-size: 16px;
  background: #ffffff;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tooltip::before {
  position: absolute;
  content: "";
  height: 7px;
  width: 7px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.buttonForDonation:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

svg:hover span,
svg:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.buttonForDonation:hover,
.buttonForDonation .tooltip,
.buttonForDonation .tooltip::before {
  background: #ffa9ce;
  color: #ffffff;
  
}


/* image Lana Contact */

.imgContact{
    width: 250px;
    height: 250px;
    margin: 30px auto 20px auto;
}


/* gallery */

.gallery {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  column-count: 3;
  column-gap: 15px;
  padding: 50px;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 15px 0;
  border-radius: 5px;
  transition: 0.2s ease-in-out;
  cursor: zoom-in;
}

.gallery img:hover {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .gallery { column-count: 2; }
  .gallery img {
    object-fit: cover;
    height: 180px;
  }
}

/* MODAL */
.photo-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.photo-modal.is-open {
  display: block;
}

.photo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.photo-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  margin: 5vh auto 0;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.photo-modal__img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.photo-modal__caption {
  margin: 10px 4px 0;
  font-size: 14px;
  opacity: 0.8;
}

.photo-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  font-size: 26px;
  cursor: pointer;
}
  
/* fin gallery */



/* article journal */

.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
  max-width: 420px;
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* fin article journal */




/*-----------------------*/

.container{
    max-width: 90%;
    margin: 40px auto 60px;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.9;
    background-color: #ffffff;
    flex-grow: 1;
}

      .containerContact{
                  max-width: 90%;
                  margin: 40px auto 70px;
                  padding: 15px;
                  border-radius: 20px;
                  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
                  line-height: 1.9;
                  background-color: #ffffff;
                  flex-grow: 1;
}
      .containerDon{
                 max-width: 90%;
                  margin: 40px auto 50px auto;
                  
                  padding: 15px;
                  border-radius: 20px;
                  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
                  line-height: 1.9;
                  background-color: #ffffff; 
}

      .containerReseauSociaux{
                 max-width: 90%;
                  margin: 40px auto 90px auto;
                  padding: 15px;
                  border-radius: 20px;
                  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
                  line-height: 1.9;
                  background-color: #ffffff; 
      }


      .imgContact{
                 width: 200px;
                 height: 200px;
    
               }
               
      .info-box {
              max-width: 100%;
                max-height: 100%;
                padding: 1px;
                margin-bottom: 5px;
                font-size: 10px;
                margin-bottom: 12px;
                
            }

      .form-group {
                max-width: 100%;
                max-height: 100%;
      }
               

            labelC {
                font-size: 12px;
                width: 100%;
                 height: 100%;
                 margin: -10px 0 5px 0;
                 padding: -5px 0 0 5px;
            }

      textarea {
                min-height: 90px;
            }

  @media (min-width: 668px) and (max-width: 2024px) {
                .containerDon{
                 max-width: 90%;
                 
                  margin: 70px auto 100px auto;
                  padding: 50px;
                  border-radius: 20px;
                  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
                  line-height: 1.9;
                  background-color: #ffffff;     
                }
                .containerReseauSociaux {
                  max-width: 70%;
                 
                  margin: 50px auto 70px;
                  padding: 50px;
                  border-radius: 20px;
                  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
                  line-height: 1.9;
                  background-color: #ffffff; 
                }

                .container{
                  max-width: 80%;
                 
                  margin: 50px auto 60px;
                  padding: 40px;
                  border-radius: 20px;
                  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
                  line-height: 1.9;
                  background-color: #ffffff; 
                }


                .thanksPetitPrince{
                text-align: center;
                padding: 20px 0px 70px 0px;
                 }
                          
                 footer {
                  background-color: #ffffff;
                  color: rgba(126, 114, 114, 0.939);
                  padding: 10px;
                 font-size: 15px;
                 text-align: center;
                }             
              
 }            






.articles {
  margin:  40px auto 30px;
  width: 90%;
  background-color: #ffffff;
  line-height: 1.9;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
}



  @media (min-width: 968px) and (max-width: 2024px) {
  .pictureLogo {
    display: flex;
    justify-content: center;
    grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
    align-items: center;
    gap: 10px;   
}
.wrapper {
  margin: 4px;
}

  }



/* article de journal */

.articleJournal {
  display: flex;
  margin: 40px 250px 30px 0px;
  justify-content: center;
}

.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 770px;
  
}

.article-card article {

  width: 700px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover article {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-card img {
  
  height: 400px;
  object-fit: cover;

}

.article-card .content {
  padding: 1.25rem;
  
}

.article-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.article-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

@media (max-width: 768px) {
  .articleJournal {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto 30px auto;
    justify-content: center;
  }
  .article-card {
    width: 90%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .article-card article {
    width: 100%;
  }
  
  .article-card img {
    height: 200px;
  }
  
}

  /* fin article journal */


  /* bouton partage reseau sociaux */

.wrapper {
  position: relative;
  width: 190px;
  height: 90px;
}

.button {
  position: relative;
  z-index: 1;
  width: 190px;
  height: 90px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 23px;
  color: white;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px;
}

.backdrop {
  position: absolute;
  width: 180px;
  height: 80px;
  background-color: #076cf0;
  top: 50%;
  left: 50%;
  border-radius: 15px;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease-in-out;
  z-index: 0;
}

.button:hover + .backdrop {
  transform: translate(-50%, -50%) rotate(15deg);
  top: 48%;
}

.button:active,
.button:active + .backdrop {
  box-shadow: none;
}


.backdropInsta {
  position: absolute;
  width: 180px;
  height: 80px;
  background: linear-gradient(
  45deg,
  #F58529,
  #DD2A7B,
  #8134AF,
  #515BD4
); /* ✅ insta Blue */
  top: 50%;
  left: 50%;
  border-radius: 15px;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease-in-out;
  z-index: 0;
}

.button:hover + .backdropInsta {
  transform: translate(-50%, -50%) rotate(15deg);
  top: 48%;
}

.button:active,
.button:active + .backdrop {
  box-shadow: none;
}


.backdropTiktok {
  position: absolute;
  width: 180px;
  height: 80px;
  background: #160303; /* ✅ tiktok Black */
  top: 50%;
  left: 50%;
  border-radius: 15px;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease-in-out;
  z-index: 0;
}

.button:hover + .backdropTiktok {
  transform: translate(-50%, -50%) rotate(15deg);
  top: 48%;
}

.button:active,
.button:active + .backdrop {
  box-shadow: none;
}

/* fin bouton partage reseau sociaux */


/* page paiement */

.stripe-container{
  max-width: 780px;
  margin: 70px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.08);
}

/* ====== Form layout ====== */
.stripe-container #payment-form{
  display: grid;
  gap: 14px;
}

/* ====== Labels ====== */
.stripe-container label{
  font-size: 13px;
  font-weight: 600;
  color: #0f172a; /* slate-900 */
  margin-top: 6px;
}

.stripe-container label.stripe{
  letter-spacing: 0.2px;
}

/* ====== Inputs & textarea ====== */
.stripe-container input[type="text"],
.stripe-container input[type="email"],
.stripe-container input[type="number"],
.stripe-container textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 252, 0.7); /* slate-50 */
  outline: none;
  font-size: 15px;
  color: #0f172a;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.stripe-container textarea{
  resize: vertical;
  min-height: 92px;
}

/* Focus style */
.stripe-container input:focus,
.stripe-container textarea:focus{
  background: #fff;
  border-color: rgba(37, 99, 235, 0.55); /* blue */
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Placeholder */
.stripe-container input::placeholder,
.stripe-container textarea::placeholder{
  color: rgba(15, 23, 42, 0.45);
}

/* Number input cleaner */
.stripe-container input[type="number"]{
  appearance: textfield;
}
.stripe-container input[type="number"]::-webkit-outer-spin-button,
.stripe-container input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

/* ====== Stripe element area ====== */
.stripe-container #payment-element{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 252, 0.7);
}

/* If Stripe injects an iframe, this keeps it looking consistent */
.stripe-container #payment-element:focus-within{
  background: #fff;
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ====== Button ====== */
.stripe-container button[type="submit"]{
  margin-top: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.stripe-container button[type="submit"]:hover{
  filter: brightness(1.03);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.32);
}

.stripe-container button[type="submit"]:active{
  transform: translateY(1px);
}

/* Disabled state (useful when payment loading) */
.stripe-container button[type="submit"]:disabled{
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* ====== Small screens ====== */
@media (max-width: 780px){
  .stripe-container{
    margin: 50px auto;
    border-radius: 14px;
    max-width: 90%;
  }
}

/* ✅ Cache les labels (mais garde-les pour les lecteurs d’écran) */
.stripe-container label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* ✅ Cache le bloc Stripe tant qu'il est vide */
.stripe-container #payment-element:empty {
  display: none;
}

/* (Optionnel) si ton CSS actuel lui ajoute du padding/border, on évite qu'il prenne de la place */
.stripe-container #payment-element:empty {
  padding: 0;
  border: 0;
  background: transparent;
}
/* fin page paiement */