/* ==================== VOTRE CSS EXISTANT (conservé) ==================== */

/* Cacher le conteneur du téléphone 3D sur mobile (<= 768px) */
@media screen and (max-width: 768px) {
    #main-frame {
        display: none !important;
    }
    #fallback-img {
        display: block !important;
        width: 300px;
        height: auto;
        margin: 0 auto;
    }
} 
/* Effet au survol pour le bouton COMMENCER */
.BouttonCommencer {
    transition: all 0.3s ease;
}

.BouttonCommencer:hover {
    transform: scale(1.05);
    background: rgba(200, 200, 200, 0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #42C38F;
}
/* Style des titres de section */
.TitreSection {
    color: #4D4D4D;
    font-family: Poppins;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    margin-left: 11%;
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Effet au survol du titre */
.TitreSection:hover {
    transform: scale(1.02);
    color: #42C38F;
}
.section-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.TitreSection:hover .section-icon {
    transform: scale(1.1);
}

/* Ligne dégradée sur toute la largeur du texte */
.TitreSection {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.TitreSection::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #74EF7B 0%, #42C38F 100%, #74EF7B 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Effet au survol : la ligne s'agrandit légèrement */
.TitreSection:hover::after {
    width: 100%;
    background: linear-gradient(90deg, #42C38F 0%, #74EF7B 100%);
}

/* Version avec ligne qui part du centre (optionnel) */
.TitreSectionAlt::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.TitreSectionAlt:hover::after {
    width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .TitreSection {
        font-size: 18px;
        margin-left: 5%;
        display: flex;
        justify-content: center;
    }
    .section-icon {
        font-size: 22px;
    }
}
/*Pour Adapter le texte*/
.BlocTexte {
    padding-left: 50px;
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    .BlocTexte {
        padding-left: 20px;
        text-align: center;
        align-items: center !important;
    }
}

@media screen and (min-width: 1600px) {
    .BlocTexte {
        padding-left: 100px;
    }
}

.PremierTexte {
    font-size: clamp(24px, 4vw, 42px);
}

.DeuxiemeTexte {
    font-size: clamp(14px, 2.5vw, 22px);
}

.BouttonCommencer {
    padding: clamp(8px, 1.5vw, 15px) clamp(20px, 4vw, 40px);
    font-size: clamp(12px, 2vw, 18px);
}
/*Fin ----------*/

.ImageTelephoneVert{
    width: 596px;
    height: 596px;
    position: relative;
    left: 50px;
}

/*Modifier par Oury*/
/* ===== STYLES DE BASE (pour grand écran) ===== */

.PremierTexte {
    color: #4D4D4D;
    text-shadow: -2px 3px 2px 0px rgba(46, 46, 46, 0.20);
    font-size: 32px;
    font-family: Poppins;
    font-weight: 900;
    letter-spacing: 3.2px;
    margin-top: 170px;
}

.DeuxiemeTexte {
    color: #4D4D4D;
    text-shadow: -2px 3px 2px 0px rgba(46, 46, 46, 0.20);
    font-size: 20px;
    font-family: Poppins;
    font-weight: 900;
    letter-spacing: 2px;
    margin-left: 60px;
    line-height: 26px;
    margin-top: 0px;
}

.BouttonCommencer {
    border-radius: 43px;
    background: rgba(200, 200, 200, 0.15);
    box-shadow: -2px 3px 7px 0px rgba(31, 31, 31, 0.25);
    backdrop-filter: blur(10px);
    color: #000;
    text-align: center;
    font-family: Montserrat;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    
    /* Tailles adaptatives pour TOUS les écrans */
    width: clamp(160px, 20vw, 400px);
    height: clamp(35px, 4.5vw, 51px);
    font-size: clamp(12px, 1.8vw, 20px);
    
    /* Position adaptative */
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(10px, 3vw, 30px);
    margin-bottom: clamp(10px, 3vw, 30px);
}

/* Pour tablette uniquement */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .BouttonCommencer {
        width: clamp(200px, 25vw, 280px);
        margin-left: clamp(20px, 5vw, 60px);
        margin-right: auto;
    }
}

/* Pour ordinateur uniquement */
@media screen and (min-width: 1025px) {
    .BouttonCommencer {
        margin-left: clamp(60px, 8vw, 120px);
        margin-right: 0;
    }
}

.BlocTexte {
    position: relative;
    bottom: 40px;
}

/* ===== ORDINATEUR PORTABLE (écran entre 1024px et 1366px) ===== */
@media screen and (max-width: 1366px) {
    .PremierTexte {
        font-size: 24px;
        margin-top: 100px;
        letter-spacing: 2px;
    }

    .DeuxiemeTexte {
        font-size: 16px;
        margin-left: 40px;
        line-height: 22px;
    }

    .BouttonCommencer {
        width: 300px;
        height: 45px;
        font-size: 16px;
        margin-left: 40px;
    }

    .BlocTexte {
        bottom: 20px;
    }
}

/* ===== PETIT ORDINATEUR / GRANDE TABLETTE (entre 768px et 1024px) ===== */
@media screen and (max-width: 1024px) {
    .PremierTexte {
        font-size: 20px;
        margin-top: 80px;
        letter-spacing: 1.5px;
    }

    .DeuxiemeTexte {
        font-size: 14px;
        margin-left: 30px;
        line-height: 20px;
    }

    .BouttonCommencer {
        width: 250px;
        height: 40px;
        font-size: 14px;
        margin-left: 30px;
    }

    .BlocTexte {
        bottom: 15px;
    }
}
@media screen and (min-width: 992px) {
    .BouttonCommencer {
        margin-left: 110px;
        margin-top: 10px;
    }
}
@media screen and (max-width:1150px) {
    .ImageTelephoneVert{
        width: 480px;
        height: 480px;
        position: relative;
        left: 50px;
    }
}

@media screen and (max-width:991px) {
    .tel3d{
        display: none;
    }

    .PremierTexte{
        font-size:1.4em;
        margin-top: 20px;
        text-align: center;
    }

    .DeuxiemeTexte{
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        margin-left: 0px;
    }

    .BouttonCommencer{
        width: 210px;
        height: 38px;
        font-size: 17px;
        margin-top: 10px;
        display: block;
        margin-left: 100;
        margin-right: 0;
    }
}

@media screen and (max-width:761px) {
    .PremierTexte{
        font-size: 21px;
        margin-top: 15px;
        text-align: center;
    }

    .DeuxiemeTexte{
        font-size: 13px;
        line-height: 18px;
        text-align: center;
        margin-left: 0px;
    }

    .BouttonCommencer{
        width: 193px;
        height: 33px;
        font-size: 15px;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width:700px) {
    .PremierTexte{
        font-size: 19px;
        margin-top: 15px;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .PremierTexte{
        font-size: 17px;
        margin-top: 30px;
        text-align: center;
    }

    .DeuxiemeTexte{
        font-size: 12px;
        line-height: 16px;
        text-align: center;
        margin-left: 0px;
    }

    .BouttonCommencer{
        width: 176px;
        height: 30px;
        font-size: 13px;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .BlocTexte{
        margin-left: 0px;
    }
}

/* ===== AUTRES STYLES ================================================================= */
.Ensembles{
    width: 100%;
    height: 90px;
    position: relative;
    bottom: 60px;
}

.TroisiemeTexte{
    font-size: 12px;
    position: relative;
    left: 70px;
    bottom: 44px;
}

.QuatriemeTexte{
    font-size: 12px;
    position: relative;
    left: 20px;
    bottom: 44px;
}

.CinquiemeTexte {
    font-size: 12px;
    position: relative;
    right: 26px;
    bottom: 44px;
}

.SixiemeTexte {
    font-size: 12px;
    position: relative;
    right: 70px;
    bottom: 44px;
}

.DivBlockImage{
    background: url('/assets/blockimage.png') no-repeat center center / cover;
    width: 100%;
    height: 400px;
}

.BouttonTrouveTaPiece{
    width: 348px;
    height: 51px;
    flex-shrink: 0;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-family: Montserrat;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 337px;
    margin-top: 172px;
    border: none;
    cursor: pointer;
}

.position{
    margin-top: 40px;
}

.positiondeux{
    position: relative;
    bottom: 70px;
}

.CarouselAviss{
    display: flex;
}

.BlockAviss {
    background-color: #FFF;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 13px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;
    max-width: 260px;
    width: 100%;
}

.AvatarLettrine, .LogoContainer {
    margin: 0 10px; 
}

.LettreGoogleD {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #d32f2f; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.LettreGoogleZ {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e68626; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.LettreGoogleAr{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #6B8E23; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.LettreGoogleY{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #8A2BE2; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.LogoGoogle {
    width: 30px;
    height: auto;
    margin-left: 40px;
}

.BlockNomPrenom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1px; 
}

.NomPrenom, .Date {
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    margin: 0; 
    line-height: 14px; 
}

.NomPrenom{
    font-weight: bold;
    font-size: 12px;
}

.BlockImgNameGoogle {
    display: flex;
    align-items: center;
}

.LigneGrise{
    background-color: #d3d3d3;
    height: 2px;
    width: 95%;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.etoiles {
    color: #ffc107; 
    padding: 10px;
}

.Commentaire {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    padding-left: 10px;
    padding-right: 10px;
    width: 226px;
    height: 80px;
    overflow: auto;
    scrollbar-width: none;
}

.Commentaire::-webkit-scrollbar {
    display: none;
}


/* ==================== AJOUTS MODERNES (sans rien effacer) ==================== */

/* Forcer le fond blanc (en cachant les bulles vertes du template) */
.background, .ellipse, #rectangle {
    display: none !important;
}
body {
    background: #ffffff !important;
}

/* Bouton COMMENCER : version plus moderne */
.BouttonCommencer {
    background: #10b981 !important;
    color: white !important;
    backdrop-filter: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    border: none !important;
}
.BouttonCommencer:hover {
    background: #059669 !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4) !important;
    color: white !important;
}

/* Titres des sections : plus lisibles */
.TitreSection {
    color: #1e293b !important;
    border-bottom: 3px solid #10b981 !important;
    padding-bottom: 6px !important;
}
.TitreSection::after {
    display: none !important;
}
.TitreSection:hover {
    color: #10b981 !important;
    transform: none !important;
}
.TitreSection:hover .section-icon {
    transform: none !important;
}

/* Texte principal : meilleur contraste */
.PremierTexte {
    color: #1e293b !important;
    text-shadow: none !important;
}
.DeuxiemeTexte {
    color: #475569 !important;
    text-shadow: none !important;
}

/* Cartes transporteurs et avis : plus propres */
.BlockTransporteurs, .BlockAviss {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}
.BlockTransporteurs:hover, .BlockAviss:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.15) !important;
    border-color: #cbd5e1 !important;
}

