@import "print_cagnotte.css";
@import "print_raisons.css";
@import "welcome_bulles3.css";

body
{
    margin:0;
    background: #fbf9f3;
    letter-spacing: 1px;
    color:#003366;
}

/* Le logo */
#cadena
{
    width:30px;
    display: block;
    margin:0px auto 10px auto;
}

#faq a /* Questions fréquentes */
{
    font-size:20px;
}

#bloc_cadenas
{
    text-align: justify;
    background: #fbf9f3;
    padding:20px 60px 40px 60px;
    line-height: 25px;
}

#asso
{
    font-weight: bold;
    color:#1e711e;
}

#bloc_cadenas a
{
    color:#1e711e;
    padding:20px 20px 40px 20px;
}

a
{
    text-decoration:none;
    color:black;
}

a:hover
{
    color:#FF3161;
}

#title1
{
    color: #cecfd3;
    text-align: center;
    font-size:1.6em;
}

/* Permet de faire coller les slides au menu */
#marge
{
    margin-top:3px;
}

#try
{
    font-size:20px;
    text-transform: capitalize;
}

.hero-section {
    background: linear-gradient(to right, #fbf9f3 0%, #fbf9f3 40%, rgba(251, 249, 243, 0) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 5%;
    position: relative;
    overflow: hidden;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    z-index: 2;
    letter-spacing: 1.2px;
    margin-top:20px;
    text-align:center;
}

.hero-text h1 {
    font-size: 2.7em;
    color:#003366;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.25em;
    color:#003366;
    margin-bottom: 20px;
    max-width: 75vh; /* ou toute valeur adaptée */
    margin: 20px auto;
}



.hero-image {
    flex: 1;
    position: relative;
    max-width: 700px; /* par exemple */
}

.hero-image::before {
    content: "";
    position: absolute;
    left: -110px; /* Brulure */
    top: 0;
    bottom: 0;
    width: 300px;
    background: linear-gradient(to right, #fbf9f3 0%, #fbf9f3 20%, rgba(251, 249, 243, 0) 100%);
    background: linear-gradient(to right, #fbf9f3 0%, #fbf9f3 30%, rgba(251, 249, 243, 0) 100%);
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    position: relative;
    z-index: 0;
}

.bouton-sobre, .bouton-sobre-mob {
    display: inline-block;
    margin:10px 10px;
    padding: 12px 20px;
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(233, 113, 171, 0.3); /* ombre subtile rose */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#sobre_billet
{
    background-color: #6b9ef4;
}

#sobre_cagnotte
{
    background-color: #e971ab;
}

#sobre_cagnotte:hover
{
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 69, 127, 0.4);
}


#sobre_billet:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 158, 244, 0.62);
    color: #5590f3;
}

.we {
    color: #ff914d;
    font-weight: bold;
}

.solidaire {
    color: #0b6247;
    font-weight: bold;
}


#intro {
    padding:60px 0;
    background: #fbf9f3;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}

.contenu {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre verticalement */
    align-items: center;     /* centre horizontalement */
    padding: 20px;
    border-radius: 20px;
    color: black;
    font-weight: normal;
    font-size: 13px;
    margin: 30px 5px 0px 5px;
    line-height: 25px;
    box-sizing: border-box;
    text-align: center;
}

/* Pratique */
#contenu1 {
    background: #6b9ef4;
    color: white;
}

/* Facile */
#contenu2 {
    background: #fff5d7;
    color: #053668;
}

/* Sûr */
#contenu3 {
    background: #6b9ef4;
    color: white;
}


.sup
{
    padding :30px 130px;
    text-align: justify;
    background: #eeeeee;
    background:#fbf9f3;
    font-size:13px;
}

#ethic
{
    padding :30px 130px;
    text-align: justify;
    line-height:20px;
    font-size:16px;
}


#ethic p::before
{
    content: '✓';
    font-size: 22px;
    margin-right: 1rem;
    color:#0b6247;
    font-weight: bold;
}

#h2_ethic
{
    color: #0b6247;
}

/* Titre des rectangles */
.adjectif
{
    font-weight:bold;
    font-size:20px;
    margin-bottom:20px;
}

.rslides 
{
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding-left:0%;
    margin:-19px 0 0 0; /* Pour coller au header */
    height:auto;
}

.rslides li
{
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0%; /* Positionnement horizontal */
    top: 0%; /*Pour le remonter un peu */
}

.rslides li:first-child
{
    position: relative;
    display: block;
    float: left;
}

.rslides img
{
    height: auto;
    width:100%;
    display:inline-block;
    vertical-align:middle;
    border: 0;
    border-radius: 4px;
}

/*Le texte accompagnant la slide */
.txt_slide
{
    display:inline-block;
    vertical-align:middle;
    width:20%;
    word-wrap: break-word;
    text-align:center;
    font-weight:bold;
    font-size:20px;
}

.slide
{
    position: relative;
    text-align: center; /* Centre le texte horizontalement */
}

.txt_slide
{
    position: absolute;
    top: 10px; /* Position en haut de l'image (ajustez selon vos besoins) */
    left: 10px; /* Position à gauche de l'image (ajustez selon vos besoins) */
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent (facultatif) */
    color: white; /* Couleur du texte (facultatif) */
    padding: 10px; /* Espacement autour du texte (facultatif) */
}

.slide img
{
    display: block; /* Assurez-vous que l'image est affichée en tant que bloc */
    max-width: 55%; /* Garantit que l'image ne dépasse pas sa largeur originale */
    margin: 20px auto 10px auto;
}

#contact
{
    background:#475268;
    background:#003366;
    border-radius:2px;
    width:100%;
    text-align:center;
    padding:30px 0 40px 0;
    color:white;
    line-height:30px;
}

#contact a /* hyperlien de l'email */
{
    color:white;
    font-size:1.3em;
}

#contact a:hover /* hyperlien de l'email */
{
    color:hotpink;
}

#slide_mob
{
    text-align:center;
    background-image: url("/papayoux/images/piggy-mult.jpg");
    background-repeat:no-repeat;
    background-size: cover;
    min-height:400px;
    margin: -15px auto 20px auto;
}

#slide_mob1
{
    padding: 50px 10px 40px 10px;
    font-size:1.5em;
    color: #7d90ad;
    font-weight:900;
    font-family: Poppins;
}

#slide_mob2
{
    margin: 80px 5px;
    font-size:1em;
    color:white;
    font-weight: 800;
    font-family: Poppins;
}


#lw
{
    width:100px;
}


#logo_bank {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne sur petit écran */
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center;     /* Aligne verticalement */
    padding: 30px 20px;
    gap: 40px; /* Espace entre les blocs */
}

/* Bloc .ifp */
.ifp {
    display: flex;
    align-items: center;
    max-width: 240px;
    text-align: left;
    font-size: 12px;
}

.ifp img {
    width: 120px;
    margin-right: 10px;
}

.ifp .lines {
    margin: 0;
}

/* Logos Visa & Mastercard */
#visa,
#master {
    width: 120px;
    height: auto;
}

/* Bloc Lemonway */
.lemonway {
    width: 200px;
    font-size: 12px;
    text-align: justify;
}

.lemonway img {
    display: block;
    margin: 0 auto 5px;
    width: 150px;
}

/* Logo Made in France */
#made
{
    width: 150px;
    height: auto;
}


/* La partie question des clients */
#question
{
    font-weight:bold;
    font-size:23px;
    margin-bottom:10px;
}

/* Les input */
.message
{
    display:block;
    margin:0px auto 0 auto;
    width:400px;
    font-size:14px;
}

label
{
    font-size:13px;
}

#envoyer
{
    margin-top:15px;
    font-size:15px;
}

.error
{
    font-size:10px;
    color :pink;
}

h2
{
    margin-bottom:50px;
    font-size: 2em;
    text-align: center;
}

#pquoi2
{
    text-align: center;
}

.lines
{
    width:150px;
}

#lien_solid
{
    text-align: center;
    color:#1e711e;
    display: block;
    font-weight: bold;
    font-size:20px;
}

.grecaptcha-badge { visibility: hidden; }

#captcha
{
    font-size: 10px;
    margin-top:25px;
    padding:0 20px;
}

#captcha a
{
    color:#E7EAEF
}

/* ---------------------------Icone roses---------------------------- */
.home-icons {
    background: #fff5d7;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 10px 20px;
    flex-wrap: wrap;
    text-align: center;
}

.icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.icon-block img {
    height: 80px;
    margin-bottom: 5px;
}

.icon-block p {
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    padding: 0 5px;
}

.home-icons-title {
    width: 100%;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 0px;
}

/* --------------------Les avis des utilisateurs------------------- */
#avis_cadre {
    background: #fbf9f3;
    text-align: center;
    padding: 20px 20px;
    font-weight: normal;
    text-transform: none;
    font-size: 20px;
}

#avis_cadre_scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 0 10px;
    margin-top: 20px;

    /* Masquer la scrollbar */
    scrollbar-width: none;            /* Firefox */
    -ms-overflow-style: none;         /* Internet Explorer 10+ */
}

/* Scrollbar discrète (facultatif) */
#avis_cadre_scroll::-webkit-scrollbar {
    height: 8px;
}
#avis_cadre_scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

#avis_cadre_scroll::-webkit-scrollbar {
    display: none;                    /* Chrome, Safari, Opera */
}

.avis
{
    width: 260px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-block;
    vertical-align: middle;
    margin: 10px 1%;
    background: #fbf9f3;
    background: #fff5d7;
    font-size: 12px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


#avis_confiance
{
    font-size:20px;
}

#reput
{
    margin-bottom: 30px;
    font-size: 18px;
}


.avis_titre
{
    font-size:13px;
    font-weight: bold;
    margin-bottom:10px;
    text-align:start;
}

.avis_main
{
    margin-bottom:10px;
    text-align:justify;
}

.avis_sign
{
    font-size:11px;
    text-align:start;
}

#trust
{
    text-align: center;
    margin-top:20px;
}

#trustpilot
{
    height:auto;
    text-align: center;
    margin-top:20px;
    color:black;
}

/* Vous pouvez ajouter plus de styles ici selon vos besoins */

/*-------------------------------------------------Cagnottes publiques---------------------------------*/
#public
{
    text-align: center;
}

.titre
{
    font-size:1.2em;
    font-weight: 600;
    text-transform: capitalize;
    color:black;
    border:0px solid white;
    margin-bottom:40px;
    text-align:center; /*centre le texte inside the box */
}

a
{
    text-decoration:none;
    color:black;
}

/* Le cadre */
.mes_cagnottes
{
    padding: 0 40px;
}

.boite
{
    width:250px;
    height:300px;
    display: inline-block;
    vertical-align: middle;
    margin:0 30px 40px 30px;
    background: white;
    border-radius: 5px;

}

.image
{
    width: 250px;
    height: 180px;
    background-size: cover;
    background-position: 0;
    border-bottom:1px dotted black;
    border-radius: 5px 5px 0 0;
}

.boite .name
{
    height:35px;
    text-align:center;
    margin-top:10px;
    font-size:14px;
}

/* Le amount et la durée */
.boite .combo
{
    text-align: center;
    font-size:12px;
    margin-top:15px;
    text-transform : uppercase;
}

.boite .amount
{
    margin:0 20px;
    display: inline-block;
}

.boite .days
{
    display: inline-block;
    margin:0 20px;
}

.boite .barre
{
    border-right:1px solid black;
    display: inline-block;
    height:25px;
}


#search, #search-mob
{
    background: #003366;
    margin:30px auto;
    display: block;
    width:250px;
    padding: 12px 20px;
    color: #ffffff;
    border-radius: 8px;
    border:1px dotted grey;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 51, 102, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.3s ease;
}

#search:hover {
    background-color: #ffffff;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.4);
}

#search:focus {
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.3); /* effet focus doux */
}

.liens-mob{
    display:flex;
    flex-direction:column;      /* ou 'row' si tu préfères une ligne */
    align-items:center;         /* centre sur l’axe horizontal  */
    gap:0.6rem;                 /* espace entre les liens        */
}


#sous_footer1 /* permet de supprimer l'espace  uniquement sur la page d'acceuil */
{
    margin-top:40px;
}

.reveal-loaded .reveal [class*="reveal-"] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-loaded [class*="reveal"]{
    transition: 1s cubic-bezier(.5, 0, 0, 1);
}

/* On ajoute du délai */
.reveal-loaded .reveal-2 {
    transition-delay: .1s;
}

.reveal-loaded .reveal-3 {
    transition-delay: .2s;
}

.reveal-loaded .reveal-4 {
    transition-delay: .3s;
}



/*----------------------------------------------Format mobile------------------------------------*/
@media screen and (max-width:767px) {
    .brut {
        padding: 0px;
    }

    .contenu {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .boite {
        margin: 0 10px 40px 10px;
    }

    body {
        background: #fbf9f3;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-text, .hero-image {
        max-width: 100%;
    }

    .hero-image {
        margin-top: 30px;
    }

    .hero-image::before {
        display: none;
    }

    .titre {
        font-size: 1em;
    }

    #bloc_cadenas {
        font-size: 14px;
        padding: 20px 12px 40px 12px;
    }

    .link {
        display: block;
        margin: 20px 0;
    }

    .rslides {
        height: auto;
        margin-bottom: 20px;
    }

    /* Les ractangles d'intro */
    .contenu {
        display: block;
        width: 90%;
        margin: 15px auto;
        font-size: 13px;
        height: auto;
        padding-bottom: 30px;
    }

    #intro {
        padding: 0;
    }

    #try {
        display: none;
    }

    .noslide {
        height: auto;
        width: 100%;
        margin-bottom: 20px;
        padding: 40px 0px;
        text-align: center;
        line-height: 30px;
        background: #067AA6;
        color: white;
        font-weight: bold;
        font-size: 20px;
    }

    #logo_bank img {
        width: 130px;
    }

    .sup {
        text-align: justify;
        font-size: 13px;
        padding: 30px 20px;
    }

    #ethic {
        padding: 30px 20px;
        text-align: justify;
        line-height: 20px;
        font-size: 15px;
    }

    /*  --------------------------Les stats mob--------------------------------------------- */
    .home-icons {
        gap: 10px;
    }

    .home-icons-title {

        margin-bottom: 20px;
    }

}

/*----------------------------------------------Petit format------------------------------------*/
@media screen and (min-width:768px) and (max-width:979px)
{

        .contenu {
            flex: 1 1 45%;  /* 2 cartes par ligne */
            max-width: 48%;
            font-size: 14px;
            line-height: 24px;
            padding: 20px;
        }

        #intro {
            gap: 15px; /* un peu plus d'espace entre les blocs */
        }

    .hero-text h1 {
        font-size:1.5em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .hero-text {
        margin-top:0px;
    }


    .bouton-sobre, #search {
        font-size: 0.9rem;
    }

    .titre
    {
        font-size:1.3em;
    }

    .boite
    {
        width:230px;
        height:280px;
    }

    .image
    {
        width: 230px;
        height: 180px;
    }

    .boite .name
    {
        height:35px;
    }

    .boite .combo
    {
        font-size:11px;
    }

    .link
    {
        display: inline-block;
        margin:0 3%;
    }

    .txt_slide
    {
        font-size:12px;
    }
}

/*----------------------------------Moyen format -----------------------------------------------*/

@media screen and (min-width:980px) and (max-width:1199px)
{
    .titre
    {
        font-size:1.4em;
    }

    .hero-text h1 {
        font-size:2.2em;
    }

    .hero-text p {
        font-size: 1.1em;

    .contenu
    {
        font-size:14px;
        height:300px;
    }

    .txt_slide
    {
        font-size:15px;
    }

}

/* Grand format */
@media screen and (min-width:1439px) and (max-width:1919px)
{

    .contenu
    {
        font-size:14px
    }

    #ethic
    {
        font-size:17px
    }


    .avis_titre
    {
        font-size:14px
    }

    .avis
    {
        font-size:13px;
    }

    .sup
    {
        font-size:14px
    }
}


/* Très Grand format */
@media screen and (min-width:1920px)
{

    .hero-image
    {
        max-width: 900px; /* par exemple */
    }

    .contenu
    {
        font-size:15px
    }

    #ethic
    {
        font-size:18px
    }


    .avis_titre
    {
        font-size:15px
    }

    .avis
    {
        font-size:14px
    }

    .sup
    {
        font-size:15px
    }
}







