/* --- Base Générale --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 3.5rem; /* Ajustement pour le menu fixe */
}

/* --- Header --- */
header {
    background-color: white;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
     background: linear-gradient(to right,rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),  
                url('objetCss/fenetreRaclette.jpg');
	/*background-image: url('objetCss/fenetreRaclette.jpg');*/ /* Remplacez par le chemin de votre image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'élément */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Évite que l'image se répète */
    height: 200px; /* Ajustez la hauteur selon vos besoins */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo et Titre Cliquables */
.logo-and-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo-and-title:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.header-image {
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.header-image:hover {
    transform: scale(1.1);
}

.site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1E90FF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    line-height: 1.2;
}

/* Bouton "Mon Compte" */
.account-button {
    background-color: #FF6F61;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #FF6F61;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.account-button:hover {
    background-color: #E65C54;
    transform: scale(1.1);
}

/* --- Menu Horizontal (Flottant) --- */
.menu-horizontal {
    background-color: #1E90FF;
    padding: 0.7rem 0;
    text-align: center;
    position: fixed; /* Fixe la barre au haut de la page */
    top: 0; /* Place la barre tout en haut */
    width: 100%; /* Prend toute la largeur de la page */
    z-index: 1000; /* Assure que la barre reste au-dessus des autres éléments */
}

.menu-horizontal ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.menu-horizontal li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.menu-horizontal li a:hover {
    color: #ddd;
}

/* --- Barre de Recherche --- */
.search-bar-container {
    background-color: #f9f9f9;
    padding: 1rem 2rem;
    text-align: center;
}

.search-bar {
    padding: 0.5rem;
    width: 50%;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.search-bar:focus {
    border-color: #1E90FF;
}

/* --- Bannière --- */
.banner {
    background: #1E90FF;
    color: white;
    text-align: center;
    padding: 1rem 1rem;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;  
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: white;
    color: #1E90FF;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #104E8B;
    color: white;
}

/* --- Services --- */
.services {
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
}

.service-cards, .frmStyleGenerale {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.card, .frmConnexion {
    background: linear-gradient(to top, #ffffff, #e0f7fa);
    padding: 1.5rem;
    border-radius: 5px;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #b3e5fc;
    transition: transform 0.3s ease;
}

.frmConnexion p   {
    padding: 1rem 0; /* Ajout d'un espace de 1rem en haut et en bas */
    font-size: 1.2rem; /* Ajustement éventuel de la taille de police */
    text-align: center; /* Centrage du texte */
}

 .g-recaptcha {
	margin-top: 1.5rem;
}

.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.card:hover {
    transform: translateY(-5px);
}

/* --- cardOrdi Section --- */

#cardOrdi {
    background: linear-gradient(to top, #ffffff, #ffd1cc);
    padding: 1.5rem;
    border-radius: 5px;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffada4;
    transition: transform 0.3s ease;
}

#cardOrdi img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

#cardOrdi:hover {
    transform: translateY(-5px);
}

/* --- cardPromotion Section --- */

#cardPromotion {
    background: linear-gradient(to top, #ffffff, #ffff80);
    padding: 1.5rem;
    border-radius: 5px;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #fdfd00;
    transition: transform 0.3s ease;
}

#cardPromotion img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

#cardPromotion:hover {
    transform: translateY(-5px);
}

/* --- About Section --- */
.about{
    background: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Testimonials Section --- */
.testimonials{
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dealSim {
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    border-top: 2px solid #1E90FF;
}

.footer-links a {
    color: #1E90FF;
    margin: 0 1rem;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* --- Style pour les h2 --- */
h2:not(.banner h2,.facture h2) {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    color: #1E90FF; /* Bleu correspondant au thème */
    text-align: center; /* Centre le texte */
    text-transform: uppercase; /* Texte en majuscules */
    margin-bottom: 1rem; /* Espace en bas */
    letter-spacing: 1.5px; /* Espacement des lettres */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Ombre douce */
    border-bottom: 1px solid #1E90FF; /* Ligne en bas pour souligner */
    display: inline-block; /* Pour que la ligne reste proche du texte */
    padding-bottom: 0.5rem; /* Espacement avec la ligne */
}

/* --- Style dealSim --- */
/* --- Facture --- */
.conteneur-facture {
    display: flex;
    flex-wrap: wrap; /* Permet l'ajustement en fonction de la taille de l'écran */
    justify-content: center; /* Centrer les factures */
}

.facture {
    margin-left: 0.5rem;
	margin-right: 0.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #1E90FF; /* Bordure bleue du thème */
    border-radius: 10px; /* Coins arrondis pour un look moderne */
    background: linear-gradient(to top, #ffffff, #e0f7fa); /* Fond dégradé subtil */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce */
    font-family: 'Poppins', sans-serif; /* Police harmonisée */
    color: #333; /* Couleur de texte standard */
}

.facture h2 {
	min-width: 400px;
    font-size: 1.5rem;
    color: #1E90FF; /* Bleu du thème */
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #1E90FF; /* Ligne décorative */
    display: inline-block;
    padding-bottom: 5px;
}

.factureExemple {
    width: 90%; /* Réduit la largeur à 90% de la largeur parent */
    max-width: 350px; /* Définit une largeur maximale plus petite */
    font-size: 0.9rem; /* Réduit légèrement la taille du texte */
    padding: 15px; /* Ajuste l'espacement intérieur */
    margin: 10px auto; /* Centre l'élément et réduit l'espacement autour */
}

/* Responsive - disposition en colonne pour les petits écrans */
@media (max-width: 768px) {
    .conteneur-facture {
        flex-direction: column; /* Empile les factures verticalement */
        align-items: center; /* Centre les factures */
    }

    .facture {
        width: 90%; /* Ajuste la largeur pour une meilleure apparence */
        max-width: 400px; /* Evite que les factures soient trop larges */
    }
	
    .facture h2 {
        min-width: 300px;  /* Réduit la largeur minimale */
        font-size: 1.3rem;  /* Réduit la taille de la police */
        border-bottom: 1.5px solid #1E90FF; /* Réduit l'épaisseur de la bordure */
    }
}

.facture p, .facture ul {
    text-align: left; /* Alignement à gauche pour une lecture facile */
    margin-bottom: 10px;
    line-height: 1.6; /* Espacement entre les lignes pour une meilleure lisibilité */
}

.facture ul li {
    margin-left: 20px; /* Décalage des listes */
}

/* --- Note --- */
.note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd; /* Jaune clair pour attirer l'attention sans être agressif */
    border: 1px solid #ffeeba; /* Bordure jaune plus foncée */
    border-radius: 10px; /* Coins arrondis */
    font-family: 'Poppins', sans-serif; /* Police harmonisée */
    color: #856404; /* Couleur de texte marron */
    font-size: 0.9rem; /* Taille de texte légèrement réduite */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
}

.note p {
    margin-bottom: 5px;
    line-height: 1.5; /* Espacement entre les lignes */
}

#promotionImg {
    width: 300px;
	 margin-bottom: 20px; 
}

#promotion p {
    color: #ff6404; /* Couleur de texte marron */
    font-size: 1.5rem; /
}

#promotionMenu a{
    color: #ffff80; /* Couleur de texte marron */
}

#promotionMenu a:hover {
    color: #ddd;
}




.service-cards a, .testimonials a, .about a {
    color: #1E90FF;  /* Même bleu que la bannière */
    text-decoration: none; /* Pas de soulignement */
    font-weight: 500; /* Légèrement en gras pour une meilleure visibilité */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.service-cards a:hover, .testimonials a:hover, .about a:hover {
    color: #104E8B; /* Bleu plus foncé au survol */
    text-decoration: underline; /* Ajout d'un soulignement */
}