/*
    style.css - Style principal pour le site web
    Ce fichier contient tous les styles CSS pour la présentation et la mise en forme du site.
*/

/* Styles généraux */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6; /* Améliore la lisibilité */
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Coins arrondis pour un design plus moderne */
}

h1, h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px; /* Espace sous les titres */
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
}

p {
    margin-bottom: 15px; /* Espace entre les paragraphes */
}

/* Style pour les blocs de leads */
.lead-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Effet d'ombre subtil */
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s ease; /* Animation au survol */
}

.lead-block:hover {
    transform: translateY(-5px); /* Lève légèrement le bloc au survol */
}

.lead-block h3 {
    color: #27ae60; /* Vert pour l'impact */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.lead-block i {
    margin-right: 10px;
    color: #3498db; /* Bleu pour la technologie */
}

.lead-block p {
    margin-bottom: 10px;
}

.lead-block .price {
    font-size: 1.4em;
    font-weight: bold;
    color: #e74c3c; /* Rouge pour attirer l'attention */
    margin-top: 15px;
}

/* Boutons d'action */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
}

/* Grid pour l'organisation - COLONNES SUR PC */
.leads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur PC */
    gap: 30px; /* Espace entre les blocs */
}

/* Responsive design */
@media (max-width: 1200px) {
    .container {
        padding: 15px; /* Réduit le padding sur les écrans plus petits */
    }
}

@media (max-width: 992px) { /* Tablettes */
    .leads-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablettes */
    }
}

@media (max-width: 768px) { /* Mobiles */
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }
    .leads-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
}

/* Animations */
.animate__animated {
    visibility: hidden; /* Cache les éléments avant l'animation */
}

.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.7s;
    animation-fill-mode: both;
}

/* Animation fadeInUp */
@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}


/* Style pour les formulaires */
form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px; /* Coins arrondis pour les formulaires aussi */
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important pour la largeur */
    font-size: 1em; /* Police un peu plus grande */
}

textarea {
    resize: vertical; /* Permet le redimensionnement vertical */
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease; /* Animation de couleur au survol */
}

input[type="submit"]:hover {
    background-color: #45a049; /* Changement de couleur au survol */
}

/* Messages de confirmation/erreur */
.container p[style*="color: green;"] {
    color: green;
    font-weight: bold;
}

.container p[style*="color: red;"] {
    color: red;
    font-weight: bold;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 0.9em; /* Texte plus petit dans le footer */
    color: #777; /* Couleur plus discrète */
}

footer a {
    color: #3498db; /* Couleur des liens dans le footer */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Soulignement au survol des liens du footer */
}

/* Navigation - Facultatif, mais utile */
nav {
    background-color: #f0f0f0; /* Couleur de fond pour la navigation */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

nav a {
    display: inline-block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 4px; /* Coins arrondis pour les liens de navigation */
}

nav a:hover {
    background-color: #ddd;
}

/* Styles spécifiques aux pages (si nécessaire) */
/* Exemple :  Pour les mentions légales, vous pourriez ajuster les titres et paragraphes */
/*
#mentions-legales h2 {
    font-size: 1.6em;
}

#mentions-legales p {
    line-height: 1.8;
}
*/

/*  Personnalisation Plus Avancée:  Vous pouvez ajouter des classes spécifiques pour certains éléments (par exemple, une classe .lead-block-cible pour styliser différemment le bloc des leads ciblés).  */